html { width:100%; }
body {
    font-family: Tahoma;
    font-size: 12px;
    padding: 20px;
    margin: auto;
    border: 0px;
    vertical-align: middle;
    color: #4F4F4F;
}

img {
    border: 0px;
    margin: 0px;
}

table, td, th, tr {
    /* border: 1px solid black; */
    border: 0px;
    border-collapse: collapse;
/*    margin: 0px; */
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
}
table {
    empty-cells: show;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 18px;
    padding: 0px;
    margin-top: 0px;
}

/* Size */
.wide {
    width: 100%;
}

/* Alignment */
.center {
    text-align: center;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
.justify {
    text-align: justify;
}
.middle {
    vertical-align:  middle;
}
.top {
    vertical-align:  top;
}
.bottom {
    vertical-align:  bottom;
}

/* Border */
.border {
    border: 1px solid black;
}

.bg {
/*    background-color: #c7e3f9; */
    background-color: #EFEFEF;
}
.bg_highlight {
/*    background-color: #c7e3f9; */
    background-color: #F6FF97;
}

.p2px {
    padding: 2px;
}
.p3px {
    padding: 2px 3px;
}

.m2px {
    margin: 2px;
}

/* Color */
.white {
    color: white;
}
.black {
    color: black;
}
.lgray {
    color: gray;
}

/* Font */
.f12 {
    font-size: 12px;
}
.f8 {
    font-size: 8px;
}
.bold {
    font-weight: bold;
}
.small {
    font-size: 10px;
}

/* Some stuff */
.error {
    font-weight: bold;
    color: red;
}

.hand {
    cursor: pointer;
    cursor: hand;
}

.nobr {
    white-space: nowrap;
}

/* Elements */
.top_menu_hl, .top_menu_hl a {
    color: white;
    font-weight: bold;
}
.top_menu_item, .top_menu_item_hl {
    display:inline-block;
    text-align:center;
    font-size: 14px;
    position:relative;
    top: -14px;
}

.top_menu_item_color {
/*    color: #a8cae3; */
    color: white;
}

.top_menu_item_hl {
    font-weight: bold;
}

.form_item {
    border:1px solid gray;
    height:14px;
    margin-top:3px;
    margin-bottom:3px;
}

select.form_item {
    height:18px;
    font-size:11px;
}

.hint {
    font-size: 10px;
    color: gray;
}

.pager, .pager_selected  {
    text-align: center;
    vertical-align: middle;
}

.pager {
    background-image:url('/img/tpl/2/pagemenu-bg.png');
    color: white;
    font-weight: regular;
    cursor: pointer;
    cursor: hand;
}

.pager_selected {
    background-image:url('/img/tpl/2/pagemenu-bg-selected.png');
    color: black;
    font-weight: bold;
}

.button { text-decoration:none; }
.button * {
    border:0;
    height:16px;
    cursor:pointer;
    vertical-align:middle;
    text-decoration:none;
    height: 20px;
    min-height: 20px;
    max-height: 20px;
}

.button img.head {
    background:url("/img/tpl/2/button-left-g.png") no-repeat;
    width:8px;
}

.button img.tail {
    background:url("/img/tpl/2/button-right-g.png") no-repeat;
    width:8px;
}

.button input {
    background-image:url("/img/tpl/2/button-bg-g.png");
    background-repeat: repeat-x;
    vertical-align: middle;
    font-weight: bold;
    color: black;
    font-size: 12px;
    padding-bottom: 2px;
    border: 0px;
    margin: 0px;
}
.button:hover .head { background:url("/img/tpl/2/button-left-g-over.png") no-repeat; text-decoration:none; }
.button:hover input { background:url("/img/tpl/2/button-bg-g-over.png") repeat-x; text-decoration:none; }
.button:hover .tail { background:url("/img/tpl/2/button-right-g-over.png") no-repeat;  }

.top_button { text-decoration:none; }
.top_button * {
    border:0;
    cursor:pointer;
    vertical-align:middle;
    text-decoration:none;
    height:41px;
}

.top_button img.head {
    background:url("/img/tpl/2/topmenu-left-g.png") no-repeat;
    width:5px;
}

.top_button img.tail {
    background:url("/img/tpl/2/topmenu-right-g.png") no-repeat;
    width:5px;
}

.top_button input {
    background-image:url("/img/tpl/2/topmenu-bg-g.png");
    background-repeat: repeat-x;
    vertical-align: middle;
    font-weight: bold;
    color: black;
    font-size: 12px;
    border: 0px;
    margin: 0px;
}
.top_button:hover .head { background:url("/img/tpl/2/topmenu-left-g.png") no-repeat; text-decoration:none; }
.top_button:hover input { background:url("/img/tpl/2/topmenu-bg-g-selected.png") repeat-x; text-decoration:none; }
.top_button:hover .tail { background:url("/img/tpl/2/topmenu-right-g.png") no-repeat;  }

.topmenu { background: url("/img/tpl/2/topmenu-bg-g.gif") repeat-x #fff; height:50px; vertical-align:middle;align:center;border:1px solid gray}
.topmenu_list {margin:0px auto}
.topmenu a { display:inline-block; color:#000000; font-size:10px; text-transform:uppercase; font-weight:bold; text-decoration:none; position:relative;top:-12px}
.topmenu a:hover { text-decoration:underline }
.topmenu_splitter {margin-top:6px}