#header{
 width:100%;
    height:40px;
}

body,textarea{
    font-family:arial;
    font-size:12.8px;
}

h1{
    font-weight:bold;
    font-size:1.2em;
    margin-bottom:10px;
    
}
#leftnav{
    width:200px;
    float:left;
    height:500px;
    
}
#leftnav ul li{
  
}

#leftnav ul li a{
    display:block;
    color:#333;  padding:5px;
    text-decoration:none;
    
    
}
#leftnav ul li a:hover{
    background-color:#333;
    color:white;
}
#leftnav ul li a.active,#leftnav ul li a.active:hover{
    background-color:#aaa;
    color:white;
}

#page_content{
    width:1024px;
    float:left;
    padding-left:20px;
}
.missingField{
    border-color:red;
}
.errorMsg{
    color:red;
    font-size:.8em;
}


.formTable tr td{
 height:1.5em;
 vertical-align:middle;
}
.odd{
    background-color:#eee;
}
.adminTable th{
    background-color:#aaa;
    color:white;
    padding:4px;
    text-align:center;
}
.adminTable tr td{
    margin-bottom:2px;
    padding:3px;
    text-align:center;
}
 .lefty th{
    background-color:#aaa;
    color:white;
    padding:4px;
    text-align:left;
}
 .lefty tr td{
    margin-bottom:2px;
    padding:3px;
    text-align:left;
}
.adminTable{
    width:100%;
}

.fakebutton,.ui-widget-content a.fakebutton{
   text-decoration:none;
color: white;
font-weight:bold;
padding: 2px 5px;
font-size:14px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: rgb(124, 124, 119);
background: -moz-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: -webkit-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: -o-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: -ms-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: linear-gradient(0deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
-webkit-box-shadow: 0px 2px 1px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 2px 1px rgba(50, 50, 50, 0.75);
box-shadow:         0px 2px 1px rgba(50, 50, 50, 0.75);
display:inline-block;
}

.fakebuttonthin{
    
    width:16px;
    height:16px;



}

#topnavlist li{
   display:inline; 
}
#topnav li a{
    display:block;
    width:120px;
    float:left;
    height:12px;
    padding:5px;
    border-right:1px solid white;
        background-color:#333;
    color:white;
    text-decoration:none;
    text-align:center;
    
}
#topnav li a:hover{
        background-color:#aaa;
    color:white;
}
#topnav li a#fright{
    float:right;
    border-left:1px solid white;
    border-right:0;
}
#topnav{
    height:22px;
    padding:0px 0;
    background-color:#333;
}
.results_clickable{
    padding:4px;
    display:block;
}
.results_clickable:hover{
    background-color:#333;
    color:white;
}
#results{
    padding-top:10px;
}
#sC{
    cursor:pointer;
    margin-bottom:1.3em;
    border:none;
      text-decoration:none;
color: rgb(255, 255, 255);
font-weight:bold;
padding: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: rgb(124, 124, 119);
background: -moz-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: -webkit-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: -o-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: -ms-linear-gradient(90deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
background: linear-gradient(0deg, rgb(124, 124, 119) 30%, rgb(147, 150, 150) 70%);
-webkit-box-shadow: 0px 2px 1px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 2px 1px rgba(50, 50, 50, 0.75);
box-shadow:         0px 2px 1px rgba(50, 50, 50, 0.75); 
}

table.adminTable tr td,table.formTable tr td{
    border:1px solid #ccc;
}
th{
    background-color:#333;
    color:white;
}
.viewTable{
    width:100%;
}
.fauxHead{
    padding:5px; 
    font-size:1.2em;
    font-weight:bold;
}



/******************************paging*******************************/

.paging-wrapper{
    padding:3px;
    clear:both;
    text-align: left;
    padding-bottom:10px;
}
.paging-title{
    font-weight: bold;
    margin-left:4px;
}
a.paging-prevLink, a.paging-prevLink-ajax, a.paging-nextLink,a.paging-nextLink-ajax{
    padding:2px 4px;
    /*color:red;*/
    
}
a.paging-currentpage{
    padding:2px;
    color:red;
}
.boldage{
    font-weight:bold;
}
#restable tr td, #restable tr th{
    padding:4px 6px;
    border:1px solid #ccc;
}
.naughty.ui-state-default a,.naughty.ui-state-default a:link, .naughty.ui-state-default a:visited {
    color:red;
}

.redbg { 
   background-color: #ff9999;
}

#ui-datepicker-div 
{
    z-index: 99999 !important; /* use #ui-datepicker-div in place of .ui-datepicker  */
}
.dropdown-box{
   z-index: 999 !important;      
}

.subTable { margin-top: 15px; margin-bottom: 15px; position: relative; margin-left: auto; margin-right: auto; }