﻿/*----------------------------------------------------------
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.
----------------------------------------------------------*/
body {
    background-color: #5c87b2;
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

/* Remove borders around link images IE */
a img
{
    text-decoration: none;
    border: none;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    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;
}

/* 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, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* MAIN MENU   
----------------------------------------------------------*/
#MainMenu { display:block; margin:0 auto 2px; border:1px solid #222; position:relative; background-color:#6a6a6a; font:12px Tahoma, Sans-serif; }
#MainMenu ul { padding:0; margin:0; }
#MainMenu li { position:relative; float:left; list-style-type:none; }
#MainMenu ul:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
#MainMenu li a { display:block; padding:5px 10px; border-left:1px solid #999; border-right:1px solid #222; color:#eee; text-decoration:none; }
#MainMenu li a:focus { outline:none; text-decoration:underline; }
#MainMenu li:first-child a { border-left:none; }
#MainMenu li.last a { border-right:none; }
#MainMenu a span { display:block; float:right; margin-left:5px; }
#MainMenu ul ul { display:none; width:100%; position:absolute; left:0; background:#6a6a6a; z-index:10; }
#MainMenu ul ul li { float:none; }
#MainMenu ul ul a { padding:5px 10px; border-left:none; border-right:none; font-size:14px; }
#MainMenu ul ul a:hover { background-color:#555; }

#MainMenu li#AccountLinks{ float: right; }
#MainMenu li#AccountLinks a{ border-left:none; border-right:none; }

.borderradius #MainMenu { -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; }
.cssgradients #MainMenu { background-image:-moz-linear-gradient(0% 22px 90deg, #222, #999); background-image:-webkit-gradient(linear, 0% 0%, 0% 70%, from(#999), to(#222)); }
.boxshadow.rgba #MainMenu { -moz-box-shadow:2px 2px 2px rgba(0,0,0,.75); -webkit-box-shadow:2px 2px 2px rgba(0,0,0,.75); box-shadow:2px 2px 2px rgba(0,0,0,.75); }
.cssgradients #MainMenu li:hover { background-image:-moz-linear-gradient(0% 100px 90deg, #999, #222); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#222), to(#555)); }
.borderradius #MainMenu ul ul { -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -webkit-border-bottom-left-radius:4px; -webkit-border-bottom-right-radius:4px; border-bottom-left-radius:4px; border-bottom-right-radius:4px; }
.boxshadow.rgba #MainMenu ul ul { background-color:rgba(0,0,0,0.8); -moz-box-shadow:2px 2px 2px rgba(0,0,0,.8); -webkit-box-shadow:2px 2px 2px rgba(0,0,0,.8); box-shadow:2px 2px 2px rgba(0,0,0,.8); }
.rgba #MainMenu ul ul li { border-left:1px solid rgba(0,0,0,0.1); border-right:1px solid rgba(0,0,0,0.1); }
.rgba #MainMenu ul ul a:hover { background-color:rgba(85,85,85,.9); }
.borderradius.rgba #MainMenu ul ul li.last { border-left:1px solid rgba(0,0,0,0.1); border-bottom:1px solid rgba(0,0,0,0.1); -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -webkit-border-bottom-left-radius:4px; -webkit-border-bottom-right-radius:4px; border-bottom-left-radius:4px; border-bottom-right-radius:4px; }
.csstransforms ul a span { -moz-transform:rotate(-180deg);-webkit-transform:rotate(-180deg); }


/* 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;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

table.noborder, table.noborder td{
    border:none;
}


/* Optimized Table | jQuery DSI Plugin
----------------------------------------------------------*/
table.optimizedTable thead tr th.sortable-text-column
{
    /* Nothing to define - don't want to override defaults */
}
table.optimizedTable thead tr th.sortable-clickable-hover
{
    font-style: oblique;
    font-weight: bolder;
    background-color: ActiveCaption;
    color: InfoText;
    cursor: pointer;
}

table.optimizedTable thead .ASC:after
{
    content: " - \2191\2191";
}
table.optimizedTable thead .DESC:after
{
    content: " - \2193\2193";
}

table tr.alt
{
    background-color: whitesmoke;
}

/* Generic Panel Rules
----------------------------------------------------------*/
.row, .col{ overflow: hidden; position: absolute; }
.row{ left: 0; right: 0; }
.col{ top: 0; bottom: 0; }
.scroll-x{ overflow-x: auto; }
.scroll-y{ overflow-y: auto; }
/* Workaround: IN landscape mode, IEMobile makes bottom toolbar overlap the page, so shorten the page by 75px to compensate */
@media screen and (orientation:landscape) { .iemobile .page { bottom: 75px; } }

/* Listview and Tiles
----------------------------------------------------------*/
.listview{ padding: 0; margin: 0; font-weight: bold; color: #444; }
.listview li{ list-style-type: none; background: #eee; padding: 1em; border-top: 1px solid #aaa; border-bottom: 1px solid #fff; }
.listview li.selected{ background-color: #37F; color: White; }

.listview.inset{ margin: 1em 0; }
.listview.inset li { background: white; border: 2px solid #aaa; border-bottom-width: 0; }
.listview.inset li:first-child { border-radius: 1em 1em 0em 0em }
.listview.inset li:last-child { border-radius: 0em 0em 1em 1em; border-bottom-width: 2px; }

.tiles { overflow-y: hidden; }
.tiles > ul { width: 1175px; }
.tiles ul { margin: 0; padding: 0; white-space: nowrap; }
.tiles li { list-style-type: none; display: inline-block; background-color: #080; width:150px; height: 150px; padding: 1em; color: White; margin: 5px; font-weight: bold; zoom:1; *display: inline; }

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

/* 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;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

/* Misc styles
-----------------------------------------------------*/

.autosize 
{
    display: table; width: 1px;
}
.autosize > *
{
    display: table-cell;
}
.left
{
    float: left;
}
.right
{
    float: right;
}
.center
{
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}
.rounded
{
    border-radius: 4px 4px 4px 4px; 
    -webkit-border-radius: 4px 4px 4px 4px; 
    -moz-border-radius: 4px 4px 4px 4px;        
}
.box
{
    padding: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: #000;
}
.nomargin
{
    margin: 0;
}
.nopadding
{
    padding: 0;
}
.lightexpand
{
    margin: 4px;
    padding: 4px;
}
.padright
{
    padding-right: .5em;
}
.bold
{
    font-weight: bold;
}
.toupper
{
    text-transform: uppercase;
}
.tolower
{
    text-transform: lowercase;
}
.hidden
{
    display: none;
}
.shadow
{
    -moz-box-shadow: 3px 3px 4px #000;
    -webkit-box-shadow: 3px 3px 4px #000;
    box-shadow: 3px 3px 4px #000;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');    
}

.fullwidth
{
    width: 100%;
}

.fullheight
{
    height: 100%;
}

.warning
{
    color: Red;
}
.warning::selection
{
    background-color: Yellow;
}
.warning::-moz-selection
{
    background-color: Yellow;
}

.success
{
    color: Green;
}