@import 'base.css';

.js #banner form { display: none; }

/* !---------- Divs ---------- */
body { background: #f0f0f0 url(../img/bg-body.png) 0 0 repeat-x; }
#container, #header, #main, #footer { width: 849px; margin: 0 auto; }

#header { position: relative; }
#banner { margin: 0 6px; border-top: 1px solid #fff; background: #143966 url(../img/bg-banner.png) 0 0 repeat-x; }
#container { margin-bottom: 25px; background: transparent url(../img/bg-container.png) 0 0 repeat-y; }
#base { padding: 0 6px 10px 6px; background: transparent url(../img/bg-container.png) -1698px 100% no-repeat; }
#main {  }
#footer { border-top: 1px solid #d8d8d8; }

/* !---------- Header ---------- */
#header h1 { font-size: 18px; line-height: 1; margin: 0; width: 157px; height: 48px; position: absolute; top: 14px; left: 32px; text-indent: -9999px; z-index: 100; background: transparent url(../img/logo.png) 0 0 no-repeat; }
#logout, #logout span { background: transparent url(../img/buttons.png) 100% -196px repeat-x; }
#logout { display: block; float: right; position: relative; z-index: 100; line-height: 35px; height: 30px; font-weight: bold; margin: 50px 28px -5px 0; padding: 0 20px 0 5px; }
#logout span { display: block; position: absolute; top: 0; width: 32px; height: 30px; margin-left: -37px; background-position: 0 -196px; }
#logout, #logout:visited { color: #a5a5a5; }
#logout:hover, #logout:active, #logout:focus { color: #133865; background-position: 100% -256px; text-decoration: none; }
#logout:hover span, #logout:active span, #logout:focus span { background-position: 0 -256px; }

/* !---------- Main Navigation ---------- */
#nav { clear: both; background: #011b3a url(../img/bg-nav.png) 0 0 repeat-x; }
#nav .holder { position: relative;  margin-left: 17px; background: transparent url(../img/bg-nav.png) 100% 0 no-repeat; }
#nav ul { margin: 0; padding: 5px 0 4px; list-style-type: none; text-transform: uppercase; font-weight: bold; font-size: 11px; }
#nav li { display: block; float: left; background: transparent url(../img/bg-nav.png) 100% -48px no-repeat; text-shadow: 1px 1px 2px #557499, -1px -1px 1px #011b3a; }
#nav a { display: block; float: left; line-height: 39px; padding: 0 12px 0 10px; }
#nav a, #nav a:hover, #nav a:active, #nav a:focus { text-decoration: none; }
#nav a, #nav a:visited { color: #a4b8d1; }
#nav a:hover, #nav a:active, #nav a:focus { color: #fff; }
#nav li.at a { color: #f8e07a; }

/* !---------- Footer ---------- */
#footer { padding-top: 24px; min-height: 120px; }
#footer .left { float: left; }
#footer .right { float: right; }
#footer p, #footer ul { margin: 0 0 10px 0; padding: 0; font-size: 11px; color: #a4a4a4; }
#footer ul { float: left; list-style-type: none; border-left: 1px solid #c0c0c0; text-transform: uppercase; }
#footer li { float: left; display: inline; line-height: 1; border-right: 1px solid #c0c0c0; }
#footer li a { float: left; display: block; padding: 3px 5px; }
#footer a, #footer a:visited { color: #8d8d8d; }
#footer a:hover, #footer a:active { color: #474747; text-decoration: none; }
#footer img { float: right; margin-right: 15px; }

/*
------------------------------------------
---------- Intro Pages Specific ----------
------------------------------------------
*/

/* !---------- Header ---------- */
#header.intro { height: 150px; }
#header.intro h1 { width: 209px; height: 64px; top: 14px; left: 32px; background-position:  0 -48px; }
#header.intro h2 { font-size: 14px; line-height: 1; margin: 0; width: 236px; height: 65px; position: absolute; top: 119px; left: -15px; text-indent: -9999px; z-index: 200; background: transparent url(../img/arrow-header.png) 0 0 no-repeat; }
#header.intro h2 { display: none; }
body.index_view #header.intro h2 { display: block; }


/* !---------- Navigation ---------- */
#nav.tabs { position: absolute; width: 100%; top: 75px; background: #f0f0f0 url(../img/bg-nav.png) 0 -87px repeat-x; }
#nav.tabs .holder { margin-left: 17px; background: transparent url(../img/bg-nav.png) 100% -87px no-repeat;  }

#nav #tabs { float: right; margin: 0 -10px 0 0; padding: 0; height: 75px; }
#nav #tabs li { float: left; height: 30px; margin: 0; padding: 0; text-shadow: none; background-image: none; }
#nav #tabs li a { display: block; float: left; position: relative; height: 30px; margin: 0 28px -5px -15px; padding: 0 50px 0 35px; line-height: 35px; background: transparent url(../img/buttons.png) 100% -196px no-repeat; }
#nav #tabs li a span { display: block; position: absolute; top: 0; width: 32px; height: 30px; margin-left: -67px; background: transparent url(../img/buttons.png) 0 -196px no-repeat; }
#nav #tabs ul {  float: right; position: absolute; top: 30px; margin: 0; padding: 0; height: 45px; right: 0; padding-right: 5px; }
#nav #tabs ul li { height: 45px; margin: 0; background: transparent url(../img/bg-nav.png) 0 -192px no-repeat; text-shadow: 1px 1px 2px #557499, -1px -1px 1px #011b3a; }
#nav #tabs ul li a { background: none; margin: 0; padding: 0 20px; height: 45px; text-indent: 0; line-height: 45px; }
#nav #tabs ul li.at a { text-decoration: underline; }

#nav #tabs a, #nav #tabs a:hover, #nav #tabs a:active, #nav #tabs a:focus { text-decoration: none; }
#nav #tabs a, #nav #tabs a:visited { color: #a5a5a5; }
#nav #tabs a:hover, #nav #tabs a:active, #nav #tabs a:focus { color: #133865; background-position: 100% -226px; }
#nav #tabs a:hover span, #nav #tabs a:active span, #nav #tabs a:focus span { background-position: 0 -226px; }
#nav #tabs .menu-live a { color: #133865; background-position: 100% -226px; }
#nav #tabs .menu-live a span { background-position: 0 -226px; }
#nav #tabs .at a, #nav #tabs .menu-at a { color: #133865; background-position: 100% -256px; }
#nav #tabs .at a span, #nav #tabs .menu-at a span { background-position: 0 -256px; }

#nav #tabs ul a, #nav #nav ul a:visited { color: #a4b8d1 !important; }
#nav #tabs ul a:hover, #nav #nav ul a:active { color: #fff !important; }
#nav #tabs li a { z-index: 100; }
#nav #tabs li.menu-at a { z-index: 150; }
#nav #tabs li.menu-live a { z-index: 200; }

/* !---------- Banner Photos ---------- */
#photo { }
#personal #photo, #personal.auto #photo { background: transparent url(../img/banners/personal/auto.jpg) 100% 0 no-repeat; }
#personal.business #photo { background: transparent url(../img/banners/personal/business.jpg) 100% 0 no-repeat; }
#personal.health #photo { background: transparent url(../img/banners/personal/health.jpg) 100% 0 no-repeat; }
#personal.home #photo { background: transparent url(../img/banners/personal/home.jpg) 100% 0 no-repeat; }
#personal.life #photo { background: transparent url(../img/banners/personal/life.jpg) 100% 0 no-repeat; }

#business #photo, #business.commercial_auto #photo { background: transparent url(../img/banners/business/auto.jpg) 100% 0 no-repeat; }
#business.group_health #photo { background: transparent url(../img/banners/business/health.jpg) 100% 0 no-repeat; }
#business.general_liability #photo { background: transparent url(../img/banners/business/liability.jpg) 100% 0 no-repeat; }

/* !---------- Homepage Form Styling ---------- */
#frm-quote { width: 279px; height: 200px; background: transparent url(../img/bg-form.png) 0 0 no-repeat; border-right: 1px solid #fff; }
#frm-quote input, #frm-quote select { display: block; font-size: 12px; font-weight: bold; color: #1b1b1b; -ms-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-box-sizing:border-box; }
#frm-quote fieldset { position: relative; padding: 0; margin: 0 24px; border: none; }

#frm-type { margin-bottom: 7px !important; }
#frm-type h3 { float: left; font-size: 14px; line-height: 1; width: 225px; height: 19px; margin: 32px 0 7px 0; text-indent: -9999px; background: transparent url(../img/buttons.png) 0 -177px no-repeat; }
#frm-zip { margin-bottom: 15px !important; }
#frm-zip input { padding: 5px 10px; background: #fff url(../img/buttons.png) 0 -100px repeat-x; border: 1px solid #24466f; border-top-color: #122f52; border-bottom-color: #6885a7; }
#frm-submit input { margin: 0; padding: 0; width: 109px; height: 42px; background: transparent url(../img/buttons.png) 0 -135px no-repeat; }
#frm-submit input:hover { background-position: -109px -135px; }

/* !---------- Javascript Specific Form Styling ---------- */
#ins-type_input { position: relative; z-index: 400; margin: 0; padding: 8px 12px; border: none; width: 229px; background: transparent url(../img/buttons.png) 0 0 no-repeat; cursor: pointer; }
#ins-type_input.select-over { background-position: 0 -30px; }
#ins-type_input.select-at { background-position: 0 -60px; }
#ins-type_input.select-default { color: #909090; font-weight: normal; }

.selectbox-wrapper { position: absolute; left: 4px; width: 198px; padding: 7px 0 0 0; background-color: #fff; margin: -7px 0 0 0; z-index: 300; font-size: 11px; text-align: left; border: 1px solid #d4d4d4; max-height: 200px; overflow: auto; }
.selectbox-wrapper ul { list-style-type: none; margin: 0;  }
.selectbox-wrapper ul li { list-style-type: none; display: block; margin: 0; padding: 2px 10px; cursor: pointer; }
.selectbox-wrapper ul li.selected { background-color: #f0f4f9; }
.selectbox-wrapper ul li.current { background-color: #e2eaf4; }
.selectbox-wrapper ul li.notanoption { color: #909090; }

#frm-zip label.infield { padding: 5px 0 0 12px; font-size: 12px; color: #909090; font-weight: normal; position: absolute; top: 0; left: 2px; }

/* !---------- 3 Steps ---------- */
#steps { margin: 0 6px; border-top: 1px solid #fff; background: transparent url(../img/bg-steps.png) 0 0 repeat-x; }
#steps ol { list-style-type: none; margin: 0 -6px; padding: 0 6px 10px 6px; background: transparent url(../img/bg-container.png) -1698px 100% no-repeat; }
#steps li { float: left; width: 280px; margin: 0; font-style: italic; color: #6c737c; background: transparent url(../img/bg-steps-li.png) 100% 0 no-repeat; }
#steps li span { display: block; padding: 25px 27px 21px 66px; background: transparent url(../img/bg-steps-li.png) 0 50% no-repeat; }
#steps li strong { color: #133865; }

#steps li.s-one span { background-position: 0px 50%; }
#steps li.s-two span { background-position: -350px 50%; }
#steps li.s-three { width: 251px; background: none; }
#steps li.s-three span { padding-right: 0; background-position: -700px 50%; }


/* !---------- Form Filter Pages ---------- */

.form-content { padding: 0 20px; }
.form-content h2 { padding-top: 10px; }
.form-content .left { float: left; width: 48%; }
.form-content .right { float: right; width: 48%; }

form p { min-height: 55px; }
form p select { margin-top: 9px; margin-bottom: 9px; }

p.buttons { margin: 0; }
p.buttons input, .button { font-size: 1.1em; }

.check_list td { vertical-align: middle; }
.check_list input {  vertical-align: middle; }
.check_list input { margin-top: -6px; }

/* forms.css */
label {font-weight:bold;}
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
legend {font-weight:bold;font-size:1.2em;}
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
input.text, input.title {width:300px;padding:5px;}
input.title {font-size:1.5em;}
textarea {width:390px;height:250px;padding:5px;}
.error, .notice, .success {padding:.8em;margin:0;margin-bottom:1em;border:2px solid #ddd;}
.error li, .notice li, .success li {list-style:none;}
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
.error a {color:#8a1f11;}
.notice a {color:#514721;}
.success a {color:#264409;}
