﻿/*----------------------------------------------------------
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: .75em;
    font-family: Arial, Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #034af3;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

a.b { color:Blue; }
a.d { color:#696969; }

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

div.sidelinks a { display:block; padding-bottom:10px; }

/* 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: 90%;
    margin-left: auto;
    margin-right: auto;
    min-width:1000px;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
    min-width:1000px;
}

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;
    min-width:1000px;
}

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;    
}

/* 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: 6px 10px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.1em;
    background-color: #e8eef4;
    color: #034af3;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

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;
}
textarea.addr { height:60px; width:200px; min-height: 61px; padding: 2px; font-size: 1.2em; color: #444; }
textarea.lng { margin-top:2px; height:121px; width:200px; }

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: 2px;
}
input[type="reset"] {
    font-size: 1.2em;
    padding: 2px;
}

input.readonly { background-color:#FFFFCC}
input.disabled, textarea.disabled, select.disabled { background:#eee; border:1px solid #ccc }

label.chk {display: block;padding-left: 13px;text-indent: -15px; padding-bottom:2px;}
label.chk input {width: 19px; height: 13px; padding: 0; margin:0;vertical-align: bottom; position: relative; top: -1px; *overflow: hidden;}

/* TABLE
----------------------------------------------------------*/

table {
    border-collapse: collapse;
}

table td {
    padding: 5px;
}

table td.container { padding:0px; vertical-align:top; }

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
}

table.plain { width:100%; }
table.plain td {
    padding: 5px;
    border:1px solid #e8eef4;
}
table.plain td a.ma { display:block; color:Blue; padding:4px 0; }
table.plain tr.odd { background-color: #F6F6F6; }
table.webform td { vertical-align:top; }
table.customerinput {width:99%; }
table.customerinput input {width:99%;}
table.customerinput textarea {width:99%;}
table.workorder {border:1px solid #E8EEF4;}
table.workorder td.cnt { text-align:center; width:75px; }

div.hdr {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 40px;
}

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;
}

/* --- Form Activity Add --- */
#frmActivitySent .error { display:block; }
#frmActivitySent label.chk input.error { display:inline; }

/* 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;
}

table.tablesorter thead tr .header {
	background-image: url(/images/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
	min-width:95px;
}   
table.tablesorter thead tr .headerSortUp {
	background-image: url(/images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(/images/desc.gif);
}

/*  -----------------------  MODAL ------------------------  */  
#simplemodal-overlay {background-color:#000;}
#simplemodal-container {background-color:#333; padding:10px;}
#simplemodal-container a.modalCloseImg {background:url(/images/x.png) no-repeat;width:25px;height:29px;display:inline;z-index:3200;position:absolute;top:-15px;right:-18px;cursor:pointer;}

.modal_empty { width:500px; background:#f4f4f4; border:10px solid #ffffff; float:left; padding:10px; }
.modal_empty .close { float:right; color:#1c1c1c; text-decoration:underline;  }

div.sidelinks a { display:block; line-height:1.4em;}


#confMsg { color:Green; padding-left:25px; }

div.estore_detail p { margin-bottom:5px; line-height:1.4em; }

div.restrictedserial { font-size:14px; font-weight:bold; color:Red; background:#EFEFEF; margin-bottom:10px; padding:10px; }

div.mattress-data-activity { display:none; }
input.serial-number-box { text-transform: uppercase; }
.ui-dialog { z-index: 1005 !important ;}
.ui-widget-overlay { z-index: 1004 !important ;}
#tblNotes tr td { white-space: pre;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
}
.dispatch-cancel { margin-top: 20px; }