﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
@media (max-device-width: 1280px) and (orientation: landscape) {
}


body {
    background-color: #5c87b2; /*  font-size: 75%;  internet Explorer  */
    font-size: 13px; /* font-family: Verdana, Tahoma, Arial, "Helvetica Neue" , Helvetica, Sans-Serif;*/
    font-family: Verdana;
    margin: 0;
    padding: 0;
    /*background: -moz-linear-gradient(left, #ffffff, #003c66);*/
    /*background: -moz-linear-gradient(left, #ffffff, #94b8b8);*/
    background: -moz-linear-gradient(left, #ffffff, #1b4f72);
    /*background: -moz-linear-gradient(left, #ddd, #000000);*/
    /*   background: -moz-linear-gradient(left, #ddd, #003c66);*/ /* Chrome, Safari:*/
    /* background: -webkit-gradient(linear,left top, right top, from(#9e721b), to(#003c66)); /* MSIE */
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#9e721b', EndColorStr='#003c66', GradientType=1);
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}
a:visited
{
    color: #505abc;
}
a:hover
{
    color: #1d60ff;
    text-decoration: none;
}
a:active
{
    color: #12eb87;
}


p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 2em;
    color: #000;
}

h1
{
    font-size: 3em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none; /*  line-height: 2em; */
    font-size: 32px !important;
}

#main {
    /*padding: 50px 30px 15px 30px;*/
    padding: 50px 30px 15px 30px;
    background-color: #ffffff;
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
    border-radius: 10px;
}

#footer
{
    color: #999; /*  padding: 10px 0; */
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
    margin-bottom: 1px;
    bottom: 0px;
}

/* TAB MENU   
----------------------------------------------------------*/
/*ul#menu
{
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
}

ul#menu li a:hover
{
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
} */

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    min-height: 75px;
    font-family: Verdana;
    font-size: 13px;
}

/*input[type="text"]
{
    width: 200px;
    border: 1px solid #CCC;
}*/

input[readonly="readonly"]
{
    background-color: #E8E8E8;
}

input[type="submit"]
{
    padding-left: 10px;
    padding-right: 10px;
}

.datepicker
{
    width: 200px !important;
}

.ui-datepicker
{
    z-index: 1000 !important;
}


input[type="password"]
{
    width: 200px;
    border: 1px solid #CCC;
}

/* TABLE
----------------------------------------------------------*/

table
{
    border: solid 1px #DBDBDB /*#e8eef4*/;
    border-collapse: collapse;
}

table td,
{
    padding: 5px;
    border: solid 1px #DBDBDB;/*#e8eef4;*/
}

table th
{
    padding: 6px 5px;
    text-align: left;
    background-color: #DBDBDB;
    border: solid 1px #EBEBEB; /* background-color: #e8eef4;     border: solid 1px #e8eef4; */
}

.table-list, .editor-label .grid
{
    text-align: left;
    width: 100%;
    border-collapse: collapse;
}

.table-list th, .editor-label .grid th
{
    /*font-size: 9pt !important;     border-bottom: 2px solid #6678B1;*/
    text-align: center;
    color: #034af3;
}

.table-list th a:link
{
    /*font-size: 9pt !important;     border-bottom: 2px solid #6678B1;*/
    text-align: center;
    color: #034af3;
    text-decoration: none;
}

.table-list th a:visited
{
    /*font-size: 9pt !important;     border-bottom: 2px solid #6678B1;*/
    text-align: center;
    text-decoration: none;
    color: #034af3;
}

.table-list .sort_asc
{
    background-image: url('Images/sort_asc.gif');
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 15px;
}

.table-list .sort_desc
{
    background-image: url('Images/sort_desc.gif');
    background-repeat: no-repeat;
    background-position: right;
    padding-left: 15px;
}

.table-list .gridrow_alternate
{
    background-color: #f0f0f0;
}

.table-list .gridrow
{
    background-color: white;
}

.editor-label .grid .even, .table-list .even
{
    background-color: #f0f0f0;
}

.editor-label .grid .odd, .table-list .odd
{
    background-color: white;
}

.table-list .tr-item, .editor-label .grid tr-item
{
    background-color: #ffffff;
}

.table-list td
{
    border: solid 1px #DBDBDB;/*#e8eef4;*/
}

.table-list td, .editor-label .grid td
{
    padding: 3px 5px 3px 4px;
}

.editor-label .grid td
{
    border: solid 1px #DBDBDB;/*#e8eef4;*/
}

.table-list th:first-child, .editor-label .grid th:first-child
{
    border-top-left-radius: 5px;
}

.table-list th:last-child, .editor-label .grid th:last-child
{
    border-top-right-radius: 5px;
}

.table-list tr:last-child td:first-child, .editor-label .grid tr:last-child td:first-child
{
    border-bottom-left-radius: 5px;
}

.table-list tr:last-child td:last-child, .editor-label .grid tr:last-child td:last-child
{
    border-bottom-right-radius: 5px;
}

.editor-label .grid td
{
    font-weight: normal;
}

.table-list td:first-child, .editor-label .grid td:first-child
{
    color: #5c87b2;
    font-weight: bold;
}

fieldset .table-list  td
{
    padding: 5px;
    border: solid 1px #DBDBDB;/*#e8eef4;*/
}

/* TableSort  
----------------------------------------------------------*/
th.headerSortUp { 
    background-image: url('Images/sort_desc.gif'); 
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 15px;
} 

th.headerSortDown { 
    background-image: url('Images/sort_asc.gif');
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 15px;
} 

th.header { 
    /* background-image: url(../img/small.gif);     */
    cursor: pointer; 
    /*font-weight: bold; 
    background-repeat: no-repeat; 
    background-position: center left; 
    padding-left: 20px; 
    border-right: 1px solid #dad9c7; 
    margin-left: -1px; */
} 

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color: Red;
}

#menucontainer, #menucontainerempty
{
    margin-top: 72px;
}

div#title
{
    display: block;
    float: left;
    text-align: left;
}

#logindisplay
{
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label
{
    margin: 1em 0 0 0;
    font-weight: bold;
}

.display-field, .editor-field
{
    margin: 0.5em 0 0 0;
}

.editor-decimal
{
    width: 95px !important;
    text-align: right;
    padding-right: 5px;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}



/* **************************************************     Menu CSS ***************************** */

ul#topnav
{
    margin: 0;
    padding: 0;
    float: left;
    width: 100% /*970px*/;
    list-style: none;
    position: relative; /*--Set relative positioning on the unordered list itself - not on the list item--*/
    font-size: 1.2em;
    background: url(/Content/topnav_stretch.gif) repeat-x;
}
ul#topnav li
{
    float: left;
    margin: 0;
    padding: 0; /*border-right: 1px solid #555;*/ /*--Divider for each parent level links--*/
}
ul#topnav li a
{
    padding: 10px 15px;
    display: block;
    color: #f0f0f0;
    text-decoration: none;
}


ul#topnav li:hover
{
    background: #1376c9 url(/Content/topnav_active.gif) repeat-x;
}
/*--Notice the hover color is on the list item itself, not on the link. This is so it can stay highlighted even when hovering over the subnav--*/

ul#topnav li span
{
    float: left;
    padding: 15px 0;
    position: absolute;
    left: 0;
    top: 35px;
    display: none; /*--Hide by default--*/
    width: 100%; /* 970px; */
    background: #1376c9;
    color: #fff; /*--Bottom right rounded corner--*/
    -moz-border-radius-bottomright: 5px;
    -khtml-border-radius-bottomright: 5px;
    -webkit-border-bottom-right-radius: 5px; /*--Bottom left rounded corner--*/
    -moz-border-radius-bottomleft: 5px;
    -khtml-border-radius-bottomleft: 5px;
    -webkit-border-bottom-left-radius: 5px;
}
ul#topnav li:hover span
{
    display: block;
}
/*--Show subnav on hover--*/
ul#topnav li span a
{
    display: inline;
}
/*--Since we declared a link style on the parent list link, we will correct it back to its original state--*/
ul#topnav li span a:hover
{
    text-decoration: underline;
}

#nav
{
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*.textbox-editor
{
    margin-left: 100px;
}*/

.span-editor
{
    display: inline-block;
    width: 140px;
}


.tdHeader
{
    color: #5c87b2;
    font-weight: bold;
}


.ui-datepicker-calendar, .ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all
{
    background-color: White;
}


.ui-datepicker-header
{
    background-color: White;
}


.BaseFieldSet
{
    background-color: RGB(235,235,235);
    color: Black;
}

.ChildFieldSet
{
    background-color: White;
    color: Black;
}

legend
{
    color: #696969;
}

.btnSmall, .actions-region a
{
    cursor: hand;
    padding: 8px 4px 6px 4px;
    width: 50px;
    cursor: pointer;
    overflow: visible; /*  background-position: left bottom;     background-image: url(Images/sort_neutral.gif);     background-repeat: repeat-x; */
    color: #000;
    background-color: #CCCCCC;
    border-right: 1px solid #184979;
    border-bottom: 1px solid #184979;
    border-left: 1px solid #7daddb;
    border-top: 1px solid #7daddb;
    border-color: #CCCCCC #999999 #999999 #CCCCCC;
}


#pageControl, #searchFilter
{
    clear: both;
    border-style: none;
    border-width: 3px;
    background-color: white;
    width: 100%;
}
#pageControl div
{
    float: left;
    padding: 5px 5px 0px 5px;
    text-align: center;
}

#searchFilter div
{
    float: left;
    padding: 5px 5px 5px 0px;
    text-align: center;
}

#pageControl label, #searchFilter label
{
    float: left;
    display: block;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 5px;
    font-size: 0.9em;
}

#pageControl input, #searchFilter input
{
    float: left;
    display: block;
    padding-top: 2px;
    padding-bottom: 0px;
    padding-left: 5px;
    font-size: 0.9em;
}

#pageControl span, #searchFilter span
{
    clear: both;
    display: block;
    padding-top: 5px;
}

#pageControl #page, #pageControl #pageSize, #searchFilter #page
{
    width: auto;
}

#searchFilter input[type="text"]
{
    float: left;
    display: block;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    font-size: 0.9em;
    width: 150px;
}

#searchFilter select
{
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 5px;
    font-size: 0.9em;
}

#searchFilter fieldset
{
    border: 5px solid #ddd;
    padding: 0 0.4em 0 0.4em;
    margin: 0 0 0 0;
    border-radius: 10px;
}

fieldset table
{
    border: none 0px #efffe5 /*#e8eef4*/;
    border-collapse: collapse;
}

fieldset table td
{
    padding: 5px;
    border: none 0px #e8eef4;
}

.ui-tabs .ui-tabs-hide
{
    position: absolute;
    left: -10000px;
}

.grid td:first-child a:link, .table-list td:first-child a:link
{
    color: #5C87B2;
    text-decoration: none;
}
.grid td:first-child a:visited, .table-list td:first-child a:visited
{
    color: #5C87B2;
}
.grid td:first-child a:hover, .table-list td:first-child a:hover
{
    color: #5C87B2;
    text-decoration: underline;
}
.grid td:first-child a:active, .table-list td:first-child a:active
{
    color: #5C87B2;
}


/* css for timepicker */
.ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
.ui-timepicker-div dl{ text-align: left; }
.ui-timepicker-div dl dt{ height: 25px; }
.ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
