body,td,th,input,textarea,select {
    font-family: Tahoma, sans-serif, arial, Verdana;
    font-size: 10pt;
    font-weight: normal;
}

body {
    padding: 38px 0px;
    margin: 0px;
    background-color: #ffffff;
    min-width: 990px;
}

div,td {
    padding: 0px;
    margin: 0px;
}

a {
    text-decoration: none;
    color: #004996;
}

a:hover {
    text-decoration: underline !important;
}

img {    
    border: 0px;
}

table {
    border-collapse: collapse;
}

form {
    margin: 0px;
}

/* header */
#header {
    background: #FFF url('../img/header-bg.gif') top left repeat-x;
    /*overflow: hidden;*/
    margin-top: -38px;
    clear: both;
    height: 268px;
    position: relative; 
    border: 1pxsolid red;
}

/* left column */
td.left_column {
    width: 145px;
    text-align: center;
    vertical-align: top;
}

div.logo_cms {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 234px;
    z-index: 10;
    top: 40px;
    left: 10px;
}

#CMS {
    position: absolute;
    top: 35px;
    left: 40%;
    font-size: 20px;
}

div.logo_cms {

}

div.logo_cms * {
    margin: 0;
    padding: 0;
}

div.auth {
    position: absolute;
    right: 20px;
    top: 26px;
    width: 100px;
}

div.logged {
    background-color: #d5d5d5;
    background-image: url("../img/bg_logged.gif");
    background-repeat: no-repeat;
    font-size: 9pt;
    text-align: left;
    padding: 10px;
}

div.logout {
    background-color: #c8c8c8;
    background-image: url("../img/bg_logout.gif");
    background-repeat: repeat-x;
    text-align: center;
    padding: 5px 0;
}






td.admin_menu div.selected{
    background-color: #004996;
}

/**DROP**/
div.menu ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
div.menu li{
    float: left;
    margin: 0;    
    white-space: nowrap;    
    background-color: #1D79A8;
    text-align: center;
    padding: 23px 15px 10px 15px;
    border-right: 1px solid #8CBDCE;
}
div.menu li.selected{
    background-color: #004996;
}
div.menu a{
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    padding: 0px;
    font-size: 11px;    
}
div.menu a:hover{
    text-decoration: underline;    
}

/* dropdown menu */
div.dropdown {
    position: relative;
    top: 10px;
    left: -15px;
    z-index: 100;
    padding: 0px;
    text-align: left;    
}
div.dropmenu_place { 
    visibility: hidden;
    position: absolute;
    top: 0px; 
    left: 0px;
    background-color: #1D79A8;   
}

div.dropmenu_place div {
    font-size: 12px;
    border-top: 1px solid #8CBDCE;    
    padding: 7px 5px 0px 5px;
}

div.dropmenu_place div a {
    white-space: nowrap;
    padding: 10px;
    text-align: left;
}



#menu {
    background: #1D79A8 url('../img/menu-bg.gif') bottom left repeat-x;
    position: absolute;
    top: 165px;    
    height: 60px;
    width: 100%;
    left: 0px;
    right: 0px;
    border: 1px solid #FFF;
    border-width: 1px 0px;
}

#menu table {
    border-collapse: collapse;
    margin-left: 264px;
    position: relative;
}

* html #menu table {
    margin-left: 263px;
}


div.logout a {
    font-size: 10pt;
    font-weight: bold;
    color: #ffffff;
    text-decoration: underline;
}

div.logout a:hover {
    text-decoration: none !important;
}

/* right column */
td.right_column {
    vertical-align: top;
}

div.masthead {
    overflow: hidden;
    border: 1px solid White;
    border-width: 1px 0;
    height: 120px;
    background-color: #2A86B5;
    background-image: url("../img/bg_header.jpg");
    background-repeat: no-repeat;
}

div.masthead img.cms {
    float: right;
    margin-top: 45px;
    margin-right: 25px;
}

div.head-sep {
    height: 20px;
    margin-bottom: 20px;
    background-color: #451279;
}

div.admin_header img {
    display: inline;
}

td.separator {
    width: 1px;
    height: 2px;
}

div.admin_menu table td {
    height: 54px;
    background-color: #451279;
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
}

div.admin_menu table td.separator {
    background-color: #ffffff;
    padding: 0px;
}

div.admin_menu table td.selected {
    background-color: #934FD8;
}

div.content {
    margin-left: 40px;
    min-width: 900px;
}


/* login */
div.login_form {
    border: 1px solid #2A86B5;
    padding: 20px 10px;
    background-color: #EBF6FC;
}

div.login_form table td {
    background-color: #EBF6FC;
    padding: 3px;
}

div.login_form a {
    color: #2A86B5;
}

div.error {
    color: #ff992a;
    font-weight: bold;
    padding-left: 27px;
    padding-top: 20px;
}

div.success {
    color: #5c7973;
}

div.login_form input {
    border: 1px solid #431377;
}

div.login_form input.submit {
    background-color: #2A86B5;
    color: #FFFFFF;
}

/*  list document  */
h1 {
    padding: 0px;
    margin: 5px 0px 5px 0px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    color: #004F96;    
}

div.top_comment {
    padding: 10px 0px 10px 0px;
    text-align: left;
}

div.top_comment img {
    position: relative;
    top: 3px;
    display: inline;
    margin-right: 3px;
}

div.top_comment,div.top_comment a {
    font-size: 14px;
    font-weight: bold;
    color: #004F96;
}

h2 {
    font-size: 13px;
    font-weight: bold;
    color: #004F96;
}

table.list {
    width: 90%;
    font-size: 8px;
}

table.list th {
    font-weight: bold;
    background-color: #1D79A8;
    height: 35px;
    color: #FFFFFF;
}

table.list td,table.list tr.hover td {
    height: 35px;
    padding-left: 5px;
    border-top: 1px solid #004996;
    border-bottom: 1px solid #004996;
    padding-right: 5px;
}

table.list tr.hover td,table.list tr:hover td {
    background-color: #F1F6F4;
}

table.list td img, table.list2 td img {
    border: none;
    display: inline;
    margin-right: 4px;
    position: relative;
    top: 2px;
}

table.list td a.section {
    font-weight: bold;
}

table.list td.up {
    width: 15px;
    text-align: left;
}

table.list td.delete, table.list2 td.delete {
    width: 40px;
    font-size: 8pt;
    vertical-align: middle;
    white-space: nowrap;
}

table.list td.delete a, table.list2 td.delete a {
    font-weight: bold;    
    font-size: 9pt;
    color: #777777;
}

table.list tr.total1 td{
    background-color: #dadfdd;
}

table.list tr.total2 td{
    background-color: #bbc0be;
}


table.list2 {
    border-top: 1px solid #004996; 
    border-bottom: 1px solid #004996;     
}
table.list2 th {
    font-weight: bold;
    background-color: #1D79A8;
    height: 35px;
    color: #FFFFFF;
}
table.list2 td, table.list2 th {
    height: 35px;
    padding-left: 5px;
    border-left: 1px solid #004996;
    border-right: 1px solid #004996;
    padding-right: 5px;
}


/* edit form */
table.edit_form {
    border: 1px solid #2A86B5;
}

table.edit_form th {
    text-align: right;
    padding-right: 5px;
    padding-left: 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #2A86B5;
    color: #ffffff;
    width: 15%;
}

table.edit_form th.separator {
    height: 1px !important;
    background-color: #ffffff;
    padding: 0px;
}

table.edit_form td {
    padding-left: 10px;
    padding-right: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #EBF6FC;
    color: #000000;
}

table.edit_form td.separator {
    height: 1px !important;
    background-color: #2A86B5;
    padding: 0px;
}

table.edit th {
    text-align: right;
    padding: 3px;
    font-weight: bold;
}

table.edit td {
    text-align: left;
    padding: 3px;    
}

div.searchform {
    padding-left: 200px;
}

td.buttom_form {
    text-align: right;
}

td.buttom_form input, input.batton {
    background-color: #2A86B5;
    border: 1px solid #431377;
    color: #FFFFFF;
}

/* footer */
#footer {
    background-color: #E3E3E3;
    height: 77px;
    position: relative;
    margin: 0px;
    padding: 0px;
    margin-top: 30px;
}

#footer #box {
    position: absolute;
    width: 330px;
    height: 90px;
    background-color: #006599;
    right: 30px;
    top: -13px;
}

#footer #lines {
    position: absolute;
    background: transparent url('../img/lines-bg.gif') top left no-repeat;
    width: 26px;
    height: 97px;
    top: -20px;
    left: 244px;
}

div.copyright {
    color: #848484;
    font-size: 7.5pt;
    text-align: right;
    padding-top: 35px;
    margin-right: 390px;
}

div.copyright img {
    display: inline;
    margin-left: 4px;
    position: relative;
    top: 12px;
}

div.pages {
    padding: 10px;
}

table.smallpadding td {
    padding: 5px;
}

table.smalllist th {
    font-weight: bold;
    padding: 5px;
    text-align: center;
}

table.smalllist td {
    padding: 5px;
}

div.overall {
    text-align: right;
    width: 90%;
}

.red {
    color: red;
}