/*
===============================================================================
                            jQuery UI Button Simulacrum
===============================================================================
*/
.Button
{
    display: inline-block;
    padding: .4em 1em;
    margin-right: .1em;
    text-decoration: none !important;
    cursor: pointer;
    text-align: center;
    zoom: 1;
    overflow: visible;
    font-family: Verdana, Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
    font-size: 1em;
    border: 1px solid #cccccc;
    background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;
    font-weight: bold;
    color: #1c94c4;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
}

.Button:hover
{
    border: 1px solid #fbcb09;
    background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x;
    font-weight: bold;
    color: #c77405;
}

.ButtonSelected
{
    border: 1px solid #fbd850;
    background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
    font-weight: bold;
    color: #eb8f00;
}














/* Global Tags */
html
{
    display: table;
    width: 100%;
}

body{
    
    background-color: #343F52;
    padding: 0 .5em;
    font-family: Verdana; 
    font-size: 12px; 
}

a{ color: #188AD6; }

iframe{ border: 0; }

ul{ list-style-type: square; }

hr{
    border: 0; 
    height: 1px;
    background: #000;
    margin: .5em 0;
    padding: 0;
    opacity: 0.2;
    filter:alpha(opacity=20);
}

/* Forms */
form, .FormsetForm, .Form{
    display: inline-block;
    text-align: left;
    background-color: #fefefe;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 4px;
    border: 2px dashed #d0d0d0;
    vertical-align: top;
}
.Formset{ text-align: center; }
.FormsetForm{
    border-width: 1px;
    margin: .5em;
}
.FormsetControls{ text-align: right; }
.Formset .FormsetControls{ padding: 1px; }
.FormsetForm .FormsetControls{ padding-bottom: 4px; position: relative; }
.FormsetForm .FormsetControls h4{ position: absolute; left: 0; top: 0; }
form.Reset{
    background-color: transparent;
    border: 0;
    padding: 0;
}
form .Field{ margin: 1px 0; }
form .Field:nth-child(odd){ background: #fff; }

form .Field:nth-child(even){
    background: url("images/ui-bg_glass_100_f6f6f6_1x400.png") repeat-x scroll 50% 50% #F6F6F6;
}
form .Field:hover{ background: #F7F4CD; }
form .Field:hover>label{ color: #C77405; }
form ul>li{
    display: inline-block;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    background: url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") repeat-x scroll 50% 50% #F6F6F6;
    border: #ccc 1px solid;
    padding: 1px 1em;
    margin: 1px .5em;
    line-height: 2em;
}
form .Small ul{ display: inline-block; }
form .Small ul>li{
    padding: 1px .5em;
    line-height: 1.8em;
}
form ul>li *{ vertical-align: middle; }
form ul>li>label:hover{
    cursor: pointer;
    color: #C77405;
}
form ul>li>input:checked + label{ color: #C77405; }
form ul>li>input:disabled + label{ color: #61AAC7; cursor: default; }
form ul>li>input:checked:disabled + label{ color: #C4A172; }
label{
    font-weight: bold;
    color: #1C94C4;
    font-size: 1em;
    padding-left: 1px;
    vertical-align: top;
    text-align: left;
}
legend label{ color: inherit; }
input, select, textarea{
    font-size: inherit;
    vertical-align: top;
    font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; 
    font-size: 1em;
}
input[type=checkbox],input[type=radio]{
    margin: 1px;
    font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; 
    font-size: 1em;
}
select[multiple=multiple]{ height: 10em; }
optgroup>*{ margin-left: 1em; }
option{
    padding-left: 2px;
    padding-right: 8px;
    min-height: 14px;
}
button{
	font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; 
    font-size: 1em;
}
.FieldHelpText{
    color: #666;
    font-size: .9em;
    font-style: italic;
}

.EasyMultiSelect{
    padding: 0px 1em;
    text-align: center;
}

.EasyMultiSelectHeader{
    font-weight: bold;
}

.EasyMultiSelectHeader span{
    color: #1C94C4;
    display: inline-block;
    text-align: center;
}

.EasyMultiSelect ul{
    background: #fff;
    border: 1px solid #777;
    display: inline-block;
    height: 20em;
    padding: 4px;
    margin: 0;
    min-width: 16em;
    font-size: .8em;
    vertical-align: top;
    overflow: auto;
}

.EasyMultiSelect ul:last-child, .EasyMultiSelectHeader span:last-child
{
    margin-left: 2em;
}

.EasyMultiSelect li{
    border-radius: 0;
    border-color: #777;
    cursor: pointer;
    display: block;
    position: relative;
}

.EasyMultiSelect li:hover
{
    background: #F7F4CD;
    border-color: #C77405;
    color: #8F3A01;
}

.EasyMultiSelect ul.Selected li:hover:after
{
    color: #D12C42;
    content: '▶ ';
    padding-left: 2px;
    position: absolute;
    left: 100%;
}

.EasyMultiSelect ul.Unselected li:hover:after
{
    color: #6BB83E;
    content: ' 	◀ ';
    padding-right: 2px;
    position: absolute;
    right: 100%;
}


/* Headers */
h1, h2, h3, h4, h5, h6{
    color: #2D4F70;
    padding: .2em 5px;
    font-weight: bold;
    line-height: 100%;
}
h1 { font-size: 4em; }
h2 { font-size: 3em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.1em; }

table{
    border-collapse: collapse;
    font-size: 12px;
}
table:not(.Reset){ }

fieldset {
	margin: .5em 0; 
    padding: .5em;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border: 1px solid #ccc;
    background: url("images/opacity_50.png");
}

legend {
    background: url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") repeat-x scroll 50% top #FFE45C;
    border: 1px solid #FED22F;
	color: #363636; 
    font-weight: bold; 
    margin-left: 5%;
    padding: 0 .5em;
}
legend.Reset{
    background: transparent;
    border: none;
    color: #888;
    padding: 0;
}

/* Help */
#help{ display: none; }

#help h1, #help h2, #help h3, #help h4, #help h5{ margin-top: 1em; }

/* Header */

#mainHeader{
    color: #fefefe;
    padding: .2em 0;
    font-size: 3.5em;
    text-align: center;
    font-weight: bold;
}

#mainToolbar{
    position: relative;
    padding-top: .5em;
    padding-left: .5em;
}

#user_toolbar{
    position: absolute;
    top: 0;
    right: .5em;
}

#user_button, #logout_button, #help_button
{
    margin: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border-width: 0;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

#user_button
{
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
    border-left-width: 1px;
}

#logout_button
{
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
    border-right-width: 1px;
}

#help_button
{
    display: none; 
    margin-right: 1em; 
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-width: 1px;
    border-top-width: 0;
}

#main_nav
{
    font-size: 1em;
    white-space: nowrap;
}

#main_nav li{ position: relative; }

#main_nav>li{ display: inline-block; }

#main_nav>li>a[href="#"]{
    cursor: default;
}

#main_nav>li>a{
    -webkit-border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border-radius: 0px;
    margin: 0;
}

#main_nav>li:first-child>a{
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
}

#main_nav>li:last-child>a{
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
}

#main_nav>li:not(:last-child)>a{ border-right: 0; }

#main_nav ul{
    font-size: .95em;
    display: none;
    position: absolute;
    list-style-type: none;
    top: 100%;
    left: 0;
    margin-top: -1px;
    z-index: 100;
    text-align: left;
}

#main_nav li:hover>ul{ display: block; }

#main_nav ul li a{
    margin: 0;
    display: block;
    -webkit-border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border-radius: 0px;
}

#main_nav ul>li:not(:last-child)>a{ border-bottom: 0; }

#main_nav ul li ul{
    left: 100%;
    margin-left: -1px;
    top: 1px;
}

/* Content */
#content{
    padding: .5em;
    border-left: 1px solid #5E6775;
    border-right: 1px solid #5E6775;
    background-color: #fcfcfc;
}

/* Footer */

#footer{
    border-top: 1px solid #B6BFCF;
    border-left: 1px solid #5E6775;
    border-right: 1px solid #5E6775;
    background-color: #f1f1f1;
    padding: 1em 0;
    color: #555;
    text-align: center;
    font-size: .9em;
}

#quickLinks{ margin-bottom: 1em; }