/* margin and padding reset */
* {
  margin: 0;
  padding: 0;
}

body { 
    text-align: center;
    background-color: #EAEAEA;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Tahoma", "Verdana", "Arial", sans-serif;
    font-size: 12px;
}

p { padding: 4px; line-height: 1.5em; }
p.nopadding { padding: 0; }
h1, h2, h3 { padding: 5px 0; }
div.padded { padding: 10px; position: relative; }
div.padded-50 { padding: 20px 50px 10px; }
div.padded-50 p { padding-left: 0; }
div.padded-20 { padding: 20px 0px 10px 20px; }
div.centered { text-align: center; }

ul li { line-height: 1.75em; }

table, th, td, select, input, textarea { 
    font-size: 11px;   
}

.clear { clear: both; height: 0; }

#user-flash { 
    border: 1px solid #000;
    border-top: 0;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    background-color: #DDD;
    padding: 10px;
    width: 200px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -100px;
}
#user-flash.default {
    background-color: #EEFFEE;
    border-color: #00DD00;
}
#user-flash.error {
    background-color: #FEDDDD;
    border-color: #FF0000;
}
#user-flash a.closer {
    position: absolute; 
    right: 5px;
    padding: 16px;
    background: url(/images/icons/cancel.png) no-repeat;
}
#user-flash a.closer span { display: none; }

/* slate wrapper */
div#wrapper-top {
    text-align: left;
    margin: 10px auto 0;
    width: 920px;
    height: 11px;
    background: url(/common/images/wrapper-bg-top.gif) no-repeat top left;   
}
div#wrapper-middle {
    text-align: left;
    margin: 0 auto;
    padding: 0px 20px;
    width: 880px;
    background: url(/common/images/wrapper-bg-middle.gif) repeat-y top left;
}
div#wrapper-bottom {
    clear: both;
    text-align: left;
    margin: 0 auto 10px;
    width: 920px;
    height: 20px;
    background: url(/common/images/wrapper-bg-bottom.gif) no-repeat bottom left;   
}
/* end slate wrapper */

/* header styling */
div#header {
    height: 80px;
}
div#header h1.logo {
    float: left;
    background: url(/common/images/logo.gif) no-repeat top left;
    width: 208px;
    height: 60px;
    margin: 15px 25px;
    padding: 0;
}
div#header h1.logo span { display: none; }
/* end header styling */


/* main navigation styling */
div#nav ul {
    float: right;
    list-style: none;
    height: 22px;
    margin-top: 68px;
    *margin-top: 58px;
    margin-right: 10px;
}
div#nav ul li {
    float: left;
    line-height: 22px;
    margin: 0 1px;
    padding: 0;
    border-left: 1px solid #CDCDCD;
}
div#nav li.current {
    background: no-repeat url(/common/images/nav-tab-right.gif) bottom right;
    border-left: 0;
    margin-right: -6px;
}
div#nav li:first-child {
    border: 0;   
}
div#nav a {
    float: left;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: #858585;
    text-decoration: none;
    padding: 0 10px;
}
div#nav a:hover, div#nav a:visited hover {
    color: #CC0000;
}
div#nav li.current a, div#nav li.current a:hover {
    background: no-repeat url(/common/images/nav-tab-left.gif) bottom left;
    color: #000;
}
/* end main navigation styling */


/* subnav styling */
div#subnav ul {
    list-style: none;
    padding: 8px 5px;
}
div#subnav li {
    padding: 5px;
    display: inline;
    border-left: 0px solid #CCC;
    line-height: 20px;
}
div#subnav li:first-child { border: none; }
div#subnav a {
    color: #333;
    text-decoration: none;
    font-size: 1.1em;
}
div#subnav li.current {
    padding: 4px;
    padding-right: 2px;
    border: 1px solid #AAA;
    background-color: #FFF;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
}
div#subnav li.current a { color: #DD0000; }
div#subnav li.current a:hover { color: #DD0000; }
div#subnav a:hover { color: #DD0000; }
/* end subnav styling */

/* content container styling */
div#content {
    clear: both;
    background: repeat-x url(/common/images/nav-gradient.gif) top left; 
    min-height: 350px;
}
/* end content container stying */


/* footer styling */
div#footer {
    margin-top: 10px;
    border-top: 1px solid #CCC;
    background-color: #EAEAEA;
    color: #787878;
    font-size: 0.9em;
    float: left;
    clear: both;
    width: 100%;
}
div#footer ul {
    list-style: none;
    margin: 5px 15px 5px 5px;
}
div#footer ul li { line-height: 200%; min-width: 100px; }
ul.footer-links-left  { float: left; }
ul.footer-links-right { float: right; }
#footer a:link, #footer a:visited {
    color: #787878;
    text-decoration: none;
}
#footer a:hover, #footer a:visited:hover {
    color: #CC0000;   
}
#footer .copyright {
    clear: both; 
    float: right;
    color: #999;   
}
/* end footer styling */

/* tabs */
ul.tabs { 
    position: relative;
    float: left; 
    list-style: none;
    margin-bottom: -1px;
    padding-left: 12px;
}
ul.tabs li { 
    float: left; 
}
ul.tabs a { 
    display: block; 
    padding: 3px 5px; 
    margin: 0 1px;
    color: #333;
    text-decoration: none; 
    border: 1px solid #CCC;
    border-radius: 4px 4px 0 0;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    
    background-color: #EEE;
}
ul.tabs li.current a { 
    background: #FFF; 
    border-bottom-color: #FFF;
}
ul.tabs a:hover { color:#DD0000; }
ul.tabs li.current a { color: #CC0000; }

/* end tabs */

div.tab-content {
    display: block;
    clear: both;
    margin: 0; 
    padding: 5px;
    border: 1px solid #CCC;
    border-radius: 4px 4px 0 0;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
}

table.chart {
    width: 100%;
    border: 1px solid #CCC;
    border-collapse: collapse;
    margin: 10px 0;
}
table.chart thead th, table.chart tfoot th { background: #CCC; text-align: left; }
table.chart tr.even {
    background-color: #FFF;
}
table.chart tr.odd {
    background-color: #EEE;
}
table.chart th, table.chart td  {
    border-bottom: 1px solid #CCC;
    line-height: 18px;
}
table.right-align td, table.right-align th, table td.numeric, table th.numeric {
    text-align: right !important;
}
table td.centered, table th.centered {
    text-align: center !important;
}
table.cellpadding td, table.cellpadding th {
    padding: 4px;
}
table.highlight tr.current {
    border: 2px solid #87AAC3 !important;
    background-color: #BEDCF5 !important;
}

fieldset {
    margin: 10px 0;
    padding: 5px;
}
fieldset legend {
    font-weight: bold;
}
fieldset p {
    line-height: 1.75em;
    clear: both;
}
fieldset p label {
  float: left;
  display: block;
  width: 150px;
}

.half { width: 48.5%; float: left; margin: 0; padding: 0; margin-right: 1%; }

.paginator { font-size: 1.3em; vertical-align: middle; }
.paginator img { width: 16px; height: 16px; border: 0; margin: 0; padding: 0; vertical-align: middle; }

a.icon {
    line-height: 18px;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: left center;
    color: #CC0000;
}
a.icon-right {
    padding-left: 1px;
    padding-right: 20px;
    background-position: 100% 2px;   
}
img.icon {
    border: 0;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
ul.icon { margin-left: 0px; }
ul.icon li { 
    list-style: none;
    padding-left: 20px;
    background-repeat: no-repeat;
    line-height: 18px;
    vertical-align: middle;
    margin: 5px 0;
}

.col-wrapper:after { content: '.'; display: block; height: 0; visibility: hidden; clear:both; }
.col-left, .col-left-30, .col-left-33, .col-left-50, .col-left-70 { float: left; width: 49%; clear: left; }
.col-right, .col-right-70, .col-right-30 { float: right; width: 49%; clear: right; }
.col-left-25 { width: 25%; }
.col-right-75 { width: 74%; }
.col-left-30 { width: 30%; }
.col-left-70, .col-right-70 { width: 70%; }
.col-left-33 { width: 33%; clear: none; }
.col-right-50 { width: 49%; float: right; clear: right;}
.home-col-left { float:left; width:500px }
.home-col-right { 
    float:right; 
    width:285px; 
    background: #CCC url(/images/sidebar_bottom.png) bottom left no-repeat; 
    padding:0 0 10px;
    margin:0; 
}

ul.indented {
    margin-left: 30px;	
}
ul.striped {
    margin: 0;
    list-style: none;
    padding: 0; 	
}
ul.striped li { 
    padding: 3px;
}
ul.striped li.odd, p.odd {
    background-color: #DBDBDB;	
}

.loading { display: none; }
.loading-16 {
    width: 16px;
    height: 16px;
    background: url(/common/images/loading-16.gif) no-repeat;
    float: left;
    padding: 0 2px;
}

.progressbar-small {
    width: 100px;
    max-height: 15px;
    height: 15px;
    position: relative;
}
.progressbar-small .ui-progressbar-value {
    max-height: 15px;
}
.progressbar span.label {
    position: absolute;
    margin-top: -15px;
    margin-left: 2px;
    font-size: 10px;
}

.rounded-box {
    padding: 10px;
    background: #F9FFDF;
    border: 1px solid #CCC;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

form.login-form {}
form.login-form label { float: left; width: 150px; display: block; }
form label.checkbox { float: none; display: inline; width: auto; }
form.login-form p { clear: left; }
form input[type=submit] { font-size: 120%; padding: 4px; }
form.biginputs input[type=text] { width: 250px; }

legend a { text-decoration: none; padding-right: 3px; }
a.collapse { 
    background-image: url(/images/icons/bullet_toggle_minus.png);
}
a.expand {
    background-image: url(/images/icons/bullet_toggle_plus.png);   
}

fieldset.error { border: 1px solid #FF0000; background-color: #FEDDDD; }
fieldset.error legend { 
    font-size: 150%; 
    margin-left: 45%; 
    margin-top: -1.80em; 
    padding: 5px; 
    border: 1px solid #FF0000; 
    border-bottom: 0;
    background: #FEDDDD; 
}
fieldset ul { margin-left: 20px; }

.rounded-border {
    border: 1px solid #CCC;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#ajax-loader {
    width: 20px;
    height: 20px;
    background: url(/common/images/loading-16.gif) no-repeat;
    display: none;
    left: -9999px;
    top: -9999px;
}
.ui-datepicker { z-index:9999; }
ul.ui-autocomplete { max-width: 170px; *width: 170px; list-style: none; text-align: left; padding: 3px;}


form label.required:after { content: " *"; color: #FF0000; font-size: 120%; }
form p.error { border: 1px solid #DD0000; margin: 2px 0; text-align: center; }

input[type=submit],input[type=reset],button { 
    padding: 4px;
    font-size: 1.25em;
    margin-right: 1em;
}
input.icon, button.icon {
    background-repeat: no-repeat;
    background-position: 5px 50%;
    background-color: #EEE;
    color: #666;
    padding: 4px 4px 4px 25px !important;
    border: 1px solid #666;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 2px;
}
input.icon:hover, button.icon:hover { 
    cursor: url; 
    background-color: #FFF; 
    color: #000;
    border-width: 2px;
    margin: 1px;
}
input.save { background-image: url(/common/images/icons/disk.png); }
input.cancel { background-image: url(/common/images/icons/cancel.png); }
input.add, button.add { background-image: url(/common/images/icons/add.png); }
input.login { background-image: url(/common/images/icons/lock.png); }
input.delete { background-image: url(/common/images/icons/delete.png); }
input.confirm { background-image: url(/common/images/icons/accept.png); }
input.save:hover, input.cancel:hover, button:hover {
    background-color: #e2e2e2;
}


.icon-help { background-image: url(/common/images/icons/help.png); }
p.help { float: right;}
.helpbox p { text-align: left; }
