/* ===========================================================
 Decorative Style Sheet -> Interport Maintenance (for CSS2-capable browsers.)
 ============================================================ */

/* --->  Doc Root (and 'imaginary' Doc Root for IE)   <---  */

html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: Lucida Grande, Verdana, Arial, Helvetica, sans-serif;
  font-size: .9em;
  background: #333;
}


/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */
/* --- ////////////////////////  +++++++++++++++++++++++ Generic (x)HTML Selectors +++++++++++++++++++++++ //////////////////////// --- */
/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */

h1 { font-size: 150%; }
h2 { font-size: 130%; }
h3 { font-size: 115%; }
h4, h5, h6 { font-size: 110%; }

h4, h5, h6 { padding: .25em 0;  }


h1 {
  margin: .25em 0 .5em 0;
  padding: .25em 0;
  border-bottom: 4px solid #ffdb19;
    color: #22227a;
}


h2 {
   margin: .25em 0 0 0;
   padding: .25em 0 0 0;
   color: #1f1f1f;
}

/*
h2 sup {
  line-height: 100%;
  vertical-align: middle;
  font-weight: normal;
}
*/

h3 {
  color: #444444;
  margin: 1em 0 -.5em 0;
  padding: 0 0;
}

a { color: #22227a; }
a:visited { color: #7c7ca4; }
a:hover { color: #d62121; }


ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

td ul {
  margin: 0 auto;
}

hr {
  clear: both;
  display: none;
  height: 1px;
  overflow: hidden;
  color: #F7941C;
  background: #F7941C;
  border: 0;
}

img { border: 0; }

acronym, abbr {
  cursor: help;
  border-bottom: 1px dotted #999;
}

address {
  font-style: normal;
}

sup {
  font-size: 80%;
}

/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */
/* --- ////////////////////////  +++++++++++++++++++++ Unique IDs, Classes & Children ++++++++++++++++++++++ //////////////////////// --- */
/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */

.wrap {
  padding: 0 16px;
}


/* --- Core Elements --- */


#wrapper {
  position: relative;
}

#top {
  display: inline;
  z-index: 1000;
  width: auto;
  height: 16px;
  overflow: hidden;
  color: #eee;
  font-size: .65em;
  text-align: center;
  text-transform: uppercase;
  background: transparent;
  border: 0px solid #ff0000;
}

#top span {
  display: none;
}

a#top:hover {
  color: #9c9c9c;
  font-weight: bold;
  text-decoration: none;
}

a#top:hover span {
  display: inline;
}

#top span {
  position: relative;
  top: 2px;
}


/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */
/* --- ////////////////////////  ++++++++++++++++++++++ Masthead & Branding, etc. ++++++++++++++++++++++++ //////////////////////// --- */
/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */


#masthead {
  position: relative;
  height: 85px;
  border-top: 0px solid #fff;
background: url('../images/bg_outerpagewrapper.jpg') top left repeat-x;

}

#mi {
  position: relative;
  height: 113px;
}

#logo {
  position: absolute;
  top: 23px;
  left: 0;
  display: block;
  width: 293px;
  height: 55px;
  background: url(../images/admin/logo.png) no-repeat 0 0;
}

#logo img {
  display: none;
}

/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */
/* --- ////////////////////////  ++++++++++++++++++++++++++ Global Navigation +++++++++++++++++++++++++++ //////////////////////// --- */
/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */

#nav {
  position: absolute;
    top: 55px;
    left: 350px;
  font-size: .8em;
  font-weight: bold;
    width: 50em;
}

#nav hr {
  display: none;
}

#ni {
  position: relative;
}

#na {
  min-height: 16px;
  margin: 0 0 0 -8px;
  padding: 0;
  list-style: none;
  color: #ccc;
}

#nav li {
  display: inline;
  float: left;
    margin: 0 3px;
}

#nav li.active a {
  color: #22227a;
    background: transparent url('../images/bg-button-right.gif') center -30px no-repeat;
    padding: 9px;
}

#nav li a {
  color: #fff;
  text-decoration: none;
    background: transparent url('../images/bg-button-right.gif') top center no-repeat;
    padding: 9px;
  display: block;
}

#nav li a:hover {
  color: #22227a;
    background: transparent url('../images/bg-button-right.gif') center -30px no-repeat;
}





/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */
/* --- ////////////////////////  +++++++++++++++++++++++ Content / Main Regions +++++++++++++++++++++++++ //////////////////////// --- */
/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */

#content {
  min-height: 632px;
  margin: 0;
  padding-top: .25em;
  background: #fff url('../images/bg-wht-grad.jpg') top left repeat-x;
  border-top: 2px solid #fff;
  border-bottom: 1px solid #999;
}

body.standard #content,
body#login #content {
  min-height: 600px;
}


/* ---> Main Content Region <--- */

#main {
  margin: 15px 0 50px 0;
}

#main hr, #ci hr {
  display: block;
  clear: both;
  margin: .25em 0;
}

#main hr.seperator, #ci hr.seperator {
  visibility: hidden;
  margin: 0 0 .15em 0;
  clear: both;
}

p#login_info {
  text-align: right;
  padding: 0;
  margin: -30px 0 0 0;
  line-height: 23px;
  font-size: .8em;
}


/* ---> Tabular Results Styles <--- */

table {
  margin: 5px 0 20px 0;
  padding: 0;
  background: #fff;
  border-collapse: collapse;
  empty-cells: show;
    font-size: .9em;
    text-align: left;
}
th, td {
  padding: 12px;
  }
th {
  width: auto;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
  background: #171717 url(../images/admin/th-bg.png) repeat-x 0 0;
  vertical-align: top;
  border-left: 1px solid #5d5d5d;
  border-bottom: 1px solid #5d5d5d;
}
th:first-child {
  border-left: none;
}
td {
    vertical-align: top;
}
tr.alt td {
  background: #f1f3ff;
}

tr.shade {
  background: #eee;
}

/* Specific Table Styles */
table.results {
  width: 50%;
  border: none;
  font-size: 100%;
}

table.results th, table.results td {
  border: none;
  background: none;
  color: #000;
  border-bottom: 1px solid #eee;
}

table.results th {
  border-right: 1px solid #eee;
  padding-right: 10px;
  width: 200px;
  text-align: right;
}

td.amt {
text-align: right;
}

td.ttlamt {
text-align: right;
font-weight: bold;
background: #585858;
color: #fff;
font-size: 1.1em;
border-top: 5px solid #585858;
}


td.empty {
border-left: none;
border-right: none;
border-bottom: none;
border-top: 5px solid #585858;
background: #fff;
}

/* ---> Form Elements <--- */

fieldset {
  border: 1px solid #dfb800;
  padding: 10px 10px 15px 10px;
  background: #ffde42 url('../images/bg-fieldset.gif') top left repeat-x;
  width: 97%;
  margin: 0 0 20px 0;
}

* html fieldset {
  border: none;
}

legend {
  color: #22227a;
  font-size: 130%;
  font-weight: 900;
}

label {
  float: left;
  width: 100%;
  font-weight: 900;
  clear: both;
  margin: 15px 0 5px 0;
  padding: 5px;
  border-left: 1px solid #dfb800;
  background: transparent url('../images/bg-label.gif') bottom left no-repeat;
}

input, select, textarea {
  clear: both;
  position: relative;
  margin: 2px 5px 0 10px;
}

input.button {
  margin: 10px 5px 0 0;
}

fieldset hr {
  clear: both;
  display: none;
  height: 1px;
  overflow: hidden;
  color: #fafafa;
  background: #fff
  border: 0;
}

/* Specific Form Styles */
#login form {
  width: 50%;
  margin: 30px 0;
}

.form3Col {
  float: left;
  width: 30%;
  display: inline;
}

/* Form Error styles */
.errorExplanation {
  border: 1px solid #f79623;
  padding: 10px;
  margin: 0 0 20px 0;
  background: #fff1e1;
  width: 50%;
  display: block;
}

.errorExplanation h2 {
  border: none;
  font-size: 120%;
}

.errorExplanation p {
  font-weight: 900;
}

.errorExplanation li {
  list-style: disc;
  margin: 0 0 0 20px;
}

.fieldWithErrors {
  clear: both;
  margin: 0;
  float: left;
}

/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */
/* --- ////////////////////////  +++++++++++++++++++++++ Page Footer Regions +++++++++++++++++++++++++ //////////////////////// --- */
/* --- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// --- */

#footer {
  min-height: 116px;
  font-size: .8em;
  text-align: left;
  background: transparent url(../images/admin/footer-bg.png) repeat-x 0 0;
}

#footer p {
  margin: 0;
  padding: 30px;
}
#footer, #footer a {
  color: #a5a5a5;
}



/* ---> Some remaining IE issues... <---*/

* html #userlinks {
  bottom: 4px;
}


/* Request for Quote area */
/* !===forms=== */
form { padding-top: 10px; }
fieldset { border:none; margin:0 0 1.5em; padding:0; width: 100%; background-image: none; background-color: transparent; }
form div { float: left; width: 100%; margin-bottom: 16px; clear: left; }
input, select, textarea, .label, .input { float: left; clear: none; }
input, select, textarea { margin: 0 8px 0 0; }
form div div, input, select, textarea { margin-bottom: 0; }
input { padding: 1px; }
form div label, .label { width: 90px; float: left; text-align: right; margin: 0 8px 0 0; padding: 0; cursor: default; position: relative; background-image: none; border: none; clear: none; }
form div label.auto { width: auto; }
form .check_radio label { width: auto; text-align: left; }
form .check_radio input { padding: 0; margin: 0 2px 0 0; }
.check_radio { padding-top: 0; padding-bottom: 0; float: none; }
.check_radio div { float: left; width: auto; margin-bottom: 8px; }
.check_radio label.normal { font-weight: normal; }


.check_radio:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
/* Hides from IE-mac \*/
* html .check_radio {height: 1%;}
.check_radio {display: block;}
/* End hide from IE-mac */


form h2 { margin-bottom: 10px; clear: both; }
form h3, form h4 {
clear: both;
margin-bottom: 10px;
}
form div label.hide {
display: block;
text-align: left;
text-indent: -32767px;
overflow: hidden;
}
div.indent {
margin-left: 98px;
width: auto;
clear: left;
}

.rfq div.state-lists div {
clear: left;
margin-bottom: 8px;
}
.rfq div.state-lists div.state-col {
float: left;
width: 100px;
clear: none;
}
.rfq div.state-lists div.state-col-container,
.rfq div.state-lists div.province-col {
margin: 10px 0 10px 22px;
}
.rfq div.state-lists div.state-col label,
.rfq div.state-lists div.province-col label {
font-weight: normal;
}
#main .rfq fieldset hr, #main hr {
margin: 10px 0;
clear: both;
background: #F7941C;
color: #F7941C;
}
.rfq .actions div {
margin-bottom: 8px;
}
.rfq form div.name-email-lists {
margin-left: 98px;
width: 40em;
}
.rfq .name-email-lists label {
float: none;
position: relative;
top: -8px;
}
.rfq form div.name-email-lists label.hide {
width: 1px;
height: 1px;
top: 0;
}
.rfq form div.name-list, .rfq form div.email-list {
float: left;
width: 190px;
clear: none;
}
.rfq form div.name-email-lists input {
float: none;
}
.rfq form div.name-email-lists h3 {
position: relative;
left: -50px;
}
body.app #mi {
height: auto;
}
.rfq ul {
margin-left: 20px;
}
.rfq li {
margin: 12px 0;
}
.rfq th.two { width: 270px; }
.rfq th.three, .rfq th.four { width: 160px; }
.rfq th.five { width: 40px; }
.rfq th.six { width: 160px; }
.rfq th.num, .rfq td.num { text-align: center; }

dl.table { margin-bottom: 10px; }
dl.table:after { content: "."; clear: both; height: 0; visibility: hidden; display: block; }
dl.table { display: inline-block; /* Fixes IE Mac */ }
/* Hides from IE Mac \*/ * html dl.table { height: 1%; } dl.table { display: block; } /* End hide from IE Mac */
dl.table dt, dl.table dd { padding: 6px 0; }
dl.table dt { width: 90px; float: left; clear: left; font-weight: bold; text-align: right; }
dl.table dd { margin-left: 98px; }
dl.table dd:after { content: "."; display: block; height: 1px; clear: both; visibility: hidden; }

table td.actions a,
div.buttons input, div.buttons a {
display: block;
float: left;
margin-right: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #02056e;
color: #fff;
background: #070b76 url(../images/admin/button-bg-2.png) repeat-x 0 50%;
font-weight: bold;
text-decoration: none;
padding: 5px 10px;
white-space: nowrap;
}
div.buttons input {
font-size: .9em;
cursor: pointer;
}
table td.actions a:first-child,
div.buttons input {
color: #1f2322;
border-color: #fecb0e;
background-color: #fecb0e;
background-image: url(../images/admin/button-bg-1.png);
}
a.add-button {
display: inline-block;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #fecb0e;
color: #1f2322;
background: #fecb0e url(../images/admin/add-rule-bg.png) repeat-x 0 60%;
line-height: 30px;
font-weight: bold;
text-decoration: none;
padding-left: 36px;
padding-right: 15px;
}
table td.actions a:hover, table td.actions a:focus, table td.actions a:active,
div.buttons input:hover, div.buttons input:focus, div.buttons input:active,
div.buttons a:hover, div.buttons a:focus, div.buttons a:active,
a.add-button:hover, a.add-button:focus, a.add-button:active {
text-decoration: underline;
}

/* Error Messages
==============================*/
form div.fieldWithErrors {
clear: none;
float: left;
width: auto;
padding: 0;
}
form .check_radio div.fieldWithErrors {
margin-right: 0;
}
form div.fieldWithErrors input, form div.fieldWithErrors select, form div.fieldWithErrors textarea {
border: 1px solid red;
background: #FFE9E9;
padding: 2px;
}
.errorExplanation, .flash .error, .flash .notice {
margin-bottom: 20px;
border: 1px solid #d31111;
background: #ffe9e9;
color: #000;
clear: left;
float: none !important;
clear: none !important;
}
.flash .notice {
background: #d1f66c;
border-color: #3c983a;
}
.flash .error, .flash .notice {
padding: 10px;
}
.errorExplanation p, .flash h2 {
margin: 0 0 10px 0;
color: #fff;
background: #d31111;
padding: 4px 10px;
font-weight: bold;
font-size: 100%;
}
.flash h2 {
margin-bottom: 0;
}
.errorExplanation ul {
margin-bottom: 10px;
margin-left: 14px;
}
.errorExplanation ul li {
margin-bottom: 8px;
}
div.formError {
float: none !important;
clear: none !important;
margin: 0 !important;
}
form .errorExplanation h2, form .errorExplanation p {
margin-left: 0;
}
form .errorExplanation h2,
.flash h2 {
padding: 6px 10px;
}
