/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.2.0
build: 2676
*/

/************** YUI RESET **************/

html{
	color:#000;
	background:#fff;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
fieldset,img {
	border:0;
}
/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
/*
	TODO Figure out where this list-style rule is best set. Hedger has a request to investigate.
*/
li {
	list-style:none;
}

caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym {
	border:0;
	font-variant:normal;
}
/* to preserve line-height and selector appearance */
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
input,textarea,select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
}
/*to enable resizing for IE*/
input,textarea,select {
	*font-size:100%;
}
/*because legend doesn't inherit in IE */
legend {
	color:#000;
        font-size: 1.5em;
}

/************** YUI BASE **************/

/* base.css, part of YUI's CSS Foundation */
h1 {
	/*18px via YUI Fonts CSS foundation*/
	font-size:138.5%;
}
h2 {
	/*16px via YUI Fonts CSS foundation*/
	font-size:123.1%;
}
h3 {
	/*14px via YUI Fonts CSS foundation*/
	font-size:108%;
}
h1,h2,h3 {
	/* top & bottom margin based on font size */
	margin:1em 0;
}
h1,h2,h3,h4,h5,h6,strong {
	/*bringing boldness back to headers and the strong element*/
	font-weight:bold;
}
abbr,acronym {
	/*indicating to users that more info is available */
	border-bottom:1px dotted #000;
	cursor:help;
} 
em {
	/*bringing italics back to the em element*/
	font-style:italic;
}
blockquote,ul,ol,dl {
	/*giving blockquotes and lists room to breath*/
	margin:1em;
}
ol,ul,dl {
	/*bringing lists on to the page with breathing room */
	margin-left:2em;
}
ol li {
	/*giving OL's LIs generated numbers*/
	list-style: decimal outside;	
}
ul li {
	/*giving UL's LIs generated disc markers*/
	list-style: disc outside;
}
dl dd {
	/*providing spacing for definition terms*/
	margin-left:1em;
}
th,td {
	/*borders and padding to make the table readable*/
	border:1px solid #000;
	padding:.5em;
}
th {
	/*distinguishing table headers from data cells*/
	font-weight:bold;
	text-align:center;
}
caption {
	/*coordinated margin to match cell's padding*/
	margin-bottom:.5em;
	/*centered so it doesn't blend in to other content*/
	text-align:center;
}
p,fieldset,table,pre {
	/*so things don't run into each other*/
	margin-bottom:1em;
}
/* setting a consistent width, 160px;
   control of type=file still not possible */
input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}

/************** YUI FONTS **************/

/**
 * Percents could work for IE, but for backCompat purposes, we are using keywords.
 * x-small is for IE6/7 quirks mode.
 */
body {
	font:13px/1.231 arial,helvetica,clean,sans-serif;
	*font-size:small; /* for IE */
	*font:x-small; /* for IE in quirks mode */
}

/**
 * Nudge down to get to 13px equivalent for these form elements
 */ 
select,input,button,textarea {
	font:99% arial,helvetica,clean,sans-serif;
}

/**
 * To help tables remember to inherit
 */
table {
	font-size:inherit;
	font:100%;
}

/**
 * Bump up IE to get to 13px equivalent for these fixed-width elements
 */
pre,code,kbd,samp,tt {
	font-family:monospace;
	*font-size:108%;
	line-height:100%;
}
/******************** END YAHOO COPYRIGHT & BSD LICENSE ********************/

/*********** HEADER & FOOTER ***********/
/*
 * IE is Bad Box
 */
#ie6nomore {
    border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; margin: 0 auto; width: 580px; position: relative;
}

#ie6nomore .close {
    position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;
}

#ie6nomore .warning {
    width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;
}

#ie6nomore .browser {
    width: 75px;
    float: left;
}

#top-bar {
    height: 4px;
    background: #2c3f69;
}
#header {
    width: 916px;
    margin: 8px auto 40px;
    height: 75px;
}

#header-actions {
    font-size: 11px;
    color: #2c3f69;
    text-align: right;
    width: 100%;
}
#header-quote, #header-actions .seperator, #header-account { float: right; }
#header-actions .icon, #header-actions .text { float: left; }
#header-actions .icon.phone { background-position: 0 0; }
#header-actions .icon.lock { background-position: -20px -1px; }
#header-actions .text { padding: 5px 0; }
#header-actions .seperator { padding: 5px 10px; }

#logo, #results-logo {
    margin-left: -40px;
    float: left;
}
#results-logo {
    margin-left: 0;
}
#nav, #results-nav {
    float: right;
    margin: 25px 0 0;
}
#results-nav {
    margin: 5px 0 0;
}
#nav li, #results-nav li {
    float: left;
    list-style: none;
    margin: 10px 0 0 30px;
}
#results-nav li {
    margin: 10px 0 0 15px;
}
#nav li a {
    display: block;
    height: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: #2c3f69;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Cabin', arial, sans-serif;
}
#results-nav li a {
    display: block;
    text-decoration: none;
    color: #fff;
    height: 11px;
    font-size: 12px;
    font-family: 'Cabin', arial, sans-serif;
}
#results-nav li a:hover { text-decoration: underline; }
#nav li a:hover, #nav li.current a, #nav li a:hover, #nav li.current a { color: #1f98b4; }

#sub_nav {
    float: left;
    width: 150px;
    margin: 20px 50px 20px 0;
    font-size: 14px;
}

#sub_nav li a {
    color: #3a3a3a;
    text-decoration: none;
}
/*
#sub_nav li a:hover {
    text-decoration: underline;
}
*/
#sub_nav li {
    list-style-type: none;
    border-bottom: 1px solid #eee;
    padding: 10px 15px;
}

#sub_nav li.current {
    border: 1px solid #2d3f62;
    background-color: #183164;
    background-image: -moz-linear-gradient(100% 100% 90deg, #12285c, #365a8e);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#365a8e), to(#12285c));
    border-radius: 5px;
    -moz-border-radius: 5px;
}

#sub_nav li.current a {
    font-weight: bold;
    color: #fff;
}

.content.sub_nav .content {
    float: left;
    width: 716px;
    padding-bottom: 20px;
}

.content.sub_nav { margin-top: 10px; }
.content.sub_nav .content .left { float: left; margin-top: 10px; width: 390px;}
.content.sub_nav .content .right { float: left; margin: 10px 0 0 45px; width: 280px; }

#footer {
    clear: both;
    background: #11275a;
    background-image: -moz-linear-gradient(100% 60% 90deg, #11275a, #41689d);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 60%, from(#41689d), to(#11275a));
    border-top: 1px solid #2d3f62;
    height: 200px;
}
#footer .content {
    margin: 25px auto;
    color: #fff;
}
#footer .content a {
    text-decoration: none;
    color: #fff;
}
#footer .content a:hover {
    text-decoration: underline;
}
#footer-nav {
    font-size: 12px;
    float: left;
}
#footer-social {
    font-size: 11px;
    float: right;
    margin: 0;
}
#footer-social li {
    list-style-type: none;
    padding-bottom: 10px;
}
#footer .icon {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin: -2px 10px 0 0;
}
#footer .icon.twitter { background-position: -41px -3px; }
#footer .icon.facebook { background-position: -61px -3px; }

/********** BOX *********/
#box #wrap {
    width: 400px;
    margin: 100px auto 0;
}
#box.popup #wrap {
    width: auto;
    margin: 20px;
}
#box #logo {
    float: none;
    text-align: center;
}

#box #heading {
    background-color: #183164;
    background-image: -moz-linear-gradient(100% 100% 90deg, #12285c, #365a8e);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#365a8e), to(#12285c));
    color: #fff;
    font-size: 14px;
    height: auto;
    padding: 10px 20px;
    border: 1px solid #1a366b;
    border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    margin: 40px 0 0;
}

#box #content {
    border-radius: 8px;
    -moz-border-radius: 8px;
    background-color: #eee;
    background-image: -moz-linear-gradient(100% 100% 90deg, #e5e5e5, #fff);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#e5e5e5));
    border: 1px solid #a5a5a5;
    margin-top: 40px;
    padding: 20px;
}
#box #content.has_heading {
    margin-top: 0;
    border-top-width: 0;
    border-radius: 0 0 8px 8px;
    -moz-border-radius: 0 0 8px 8px;
}
#box .content {
    width: auto;
}
#box.login #content .field {
    padding-bottom: 20px;
}

#box.login #content .field label {
    display: block;
    float: left;
    width: 110px;
    padding: 1px;
}

#box.login #content .field input {
    width: 230px;
    padding: 1px;
}

#box.login #content .button {
    padding: 10px 30px;
}

#box.login .error {
    margin-top: 0;
}

/************* MAIN BODY ***********/
#main { }
body { color: #3a3a3a; }
a, a:visited { color: #1f98b4; }
a:hover { text-decoration: none; }

h2 {
    font-size: 22px;
    font-weight: normal;
}

.hr {
    margin: 10px 0;
    height: 0;
    border-bottom: 1px solid #eaeaea;
    clear: both;
}
.hr.dotted { border-bottom-style: dotted; }

.icon {
    width: 20px;
    height: 20px;
    background: url('/img/sprite.png') no-repeat;
}
.icon.twitter { background-position: -120px 0; }
.icon.linkedin { background-position: -140px 0; }
.icon.cvc { background-position: -80px -1px; }
.icon.cart { background-position: -100px 0; }
.icon.check { background-position: -160px 0; }
.icon.secure { width: 30px; height: 30px; background-position: -200px 0; }

.content {
    width: 916px;
    margin: 0 auto;
}
.content .admin {
    width: 1200px;
}
#heading {
    background: #137EA6;
    /* Can't we all just get along and use A SINGLE GODDAMN GRADIENT SPEC */
    background-image:
        -moz-linear-gradient(100% 5% 90deg, rgba(0,0,0,0), rgba(0,0,0,0.3)),
        -moz-radial-gradient(75% 140px, circle, rgba(30,200,233,0.8) 0, rgba(30,200,233,0) 250px),
        -moz-radial-gradient(25% -20px, circle, rgba(20,140,215,1) 0, rgba(20,140,215,0) 250px),
        -moz-linear-gradient(100% 83% 90deg, #1690a5, #0e6297);
    background-image:
        -webkit-gradient(linear, 0% 0%, 0% 5%, from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0))),
        -webkit-gradient(radial, 75% 140, 0, 75% 140, 250, from(rgba(30,200,233,0.8)), to(rgba(30,200,233,0))),
        -webkit-gradient(radial, 25% -20, 0, 25% -20, 250, from(rgba(20,140,215,1)), to(rgba(20,140,215,0))),
        -webkit-gradient(linear, 0% 0%, 0% 83%, from(#0e5e91), to(#1690a5));
    height: 100px;
}
#heading h1 {
    width: 916px;
    margin: 0 auto;
    padding-top: 30px;
    height: 70px;
    font-size: 36px;
    color: #fff;
    text-shadow: 1px 1px #000;
}
#heading-bottom {
    background: #12295c;
    background-image: -moz-linear-gradient(100% 100% 90deg, #12295c, #35588c);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#35588c), to(#12295c));
    height: 16px;
    border: 1px solid #2d3f62;
    border-width: 1px 0;
}

.clear {
    clear: both;
}

.button {
    cursor: pointer;
    border-radius: 6px;
    -moz-border-radius: 6px;
    text-transform: uppercase;
    font-size: 15px;
    padding: 10px 20px;
    font-weight: bold;
}

.button.green {
    -moz-box-shadow: 1px 1px 5px #222, inset 3px 3px 3px #addc5b;
    -webkit-box-shadow: 1px 1px 5px #222, inset 3px 3px 3px #addc5b;
    box-shadow: 1px 1px 5px #222, inset 3px 3px 3px #addc5b;

    background-color: #7cb914;
    background-image: -moz-linear-gradient(100% 100% 90deg, #97e218, #7dbb14);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#7dbb14), to(#97e218));

    border: 1px solid #8caf50;
    color: #fff;
    text-shadow: 1px 1px rgba(0,0,0,0.4);
}

.button.grey {
    -moz-box-shadow: 1px 1px 5px #222, inset 3px 3px 3px #fff;
    -webkit-box-shadow: 1px 1px 5px #222, inset 3px 3px 3px #fff;
    box-shadow: 1px 1px 5px #222, inset 3px 3px 3px #fff;

    background-color: #bbb;
    background-image: -moz-linear-gradient(100% 100% 90deg, #fff, #bbb);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#bbb), to(#fff));

    border: 1px solid #aaa;
    color: #173063;
    text-shadow: 1px 1px rgba(255,255,255,0.5);
}

#extra_info {
    background-color: #f1f1f1;
    border-top: 1px solid #eaeaea;
    padding: 10px 0 30px;
}

#extra_info h2 {
    color: #1b3569;
    font-size: 22px;
    font-weight: normal;
}

#extra_info .left-col, #extra_info .right-col {
    float: left;
    width: 420px;
}
#extra_info .left-col {
    margin-right: 40px;
}

.content h1 {
    font-size: 24px;
    font-weight: normal;
}

h1, h2, h3, h4 {
    color: #1b3569;
}

th {
    color: #5e5e5e;
    font-weight: normal;
    font-size: 11px;
    text-align: left;

    background-color: #f2f2f2;
    background-image: -moz-linear-gradient(100% 100% 90deg, #f2f2f2, #fff);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#f2f2f2));
}

td {
    font-size: 12px;
}
td, th {
    border: 1px solid #ccc;
    padding: 15px;
}
tr:nth-child(odd) {
    background: #f4fbfd;
}

.error { color: #900; }
.accepted { color: #090; }
input.error { border: 1px solid #900; }

.tooltip_content {
    display: none;
}

form .field {
    margin: 15px 0;
    clear: left;
}
form .field label {
    display: block;
    float: left;
    width: 90px;
    padding: 3px 0 0;
    margin-right: 10px;
}
form .wide label {
    width: 180px;
}

#ss_holder {
    float: right;
    width: 400px;
}
.priority-form {
    display: none;
}

.note {
   display: block;
   float: right;
   width: 300px;
   min-height: 40px;
}
.note-container {
   display: block;
   float: right;
   width: 300px;
   min-height: 40px;
}
.note-form {
   display:none;
}
.note-display {
   display: inline;
}
td.note, td.priority-container {
   border-right: 1px solid green;
}
