/*
 * New style for TruWindshield.com.
 * 
 * Feel free to learn from this site,
 *   but please don't steal this design.
 * 
 */

.clear { clear: both; }

body {
    font-family: Verdana,sans-serif;
    padding: 0;
    margin: 0;
}

#wrap {
    margin: 0 auto;
    width: 1020px;
    background-color: #fbfbfb;
}

/* Top */

#top-nav {
    background: #FFFFFF url('/media/images/ui/topbar-bg.gif') repeat-x top left;
    padding-left: 30px;
    padding-right: 0;
    height: 76px;
    width: 990px;
    position: relative;
}

#top-title {
    display: block;
    color: #062440;
    font-weight: normal;
    font-size: 32px;
    line-height: 76px;
    margin: 0;
}

#top-title a {
    color: #062440;
    text-decoration: none;
}

#top-title span {
    color: #0a69ad;
}

#top-nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    height: 24px;
    left: 23em;
    top: 30px;
}

#top-nav-list li {
    float: left;
    position: relative;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
    margin-right: 8px;
}

#top-nav-list li a span {
    position: absolute; left: 0; top: 0; z-index: 1;
    margin: 0; padding: 0;
    display: block;
    background-position: 0px 0px;
    background-repeat: no-repeat;
    height: 24px;
}

#top-nav-list li.active a span {
    background-position: 0 -24px;
}

#top-nav-list li a span:hover {
    background-position: 0px -24px;
}

#certificates {
    position: relative;
    z-index: 5;
    top: -57px;
    right: -10px;
}

/* Center */

div#content-banner {
    width: 100%;
    background-color: #092240;
    height: 83px;
    line-height: 83px;
    border-bottom: 5px solid #086bb0;
    text-align: center;
}

div#content-banner span {
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
}

div#content-banner img {
    border: none;
}

#quote-block {
    background: #0f3d71 url('/media/images/ui/quote-block-bg.jpg') no-repeat top left;
    height: 375px;
    width: 960px;
    padding-top: 36px;
    padding-left: 60px;
    position: relative; /* This makes it easier to position elements inside. */
}

.area-page {
    background: #0f3d71 !important;
    height: 408px !important;
    width: 1018px !important;
    padding: 1px !important;
    color: #ffffff;
}

.area-page h1 {
    font-size: 64px;
    position: relative;
    top: 36px;
    left: 60px;
    width: 530px;
    margin-top: 20px;
}

.area-page #area-tagline {
    width: 473px;
    height: 76px;
    border-top: 3px solid #0f1c2b;
    background-color: #08223f;
    position: absolute;
    top: 331px;
    padding-left: 85px;
    padding-right: 462px;
    margin-left: -1px;
}

#quote-form-box {
    width: 344px;
    height: 304px;
    background-color: #ffffff;
    padding: 18px;
    float: left;
    position: relative;
    color: #09213d;
    z-index: 100;
}

.area-page #quote-form-box {
    position: absolute;
    right: 40px;
    top: 35px;
}

#quote-form-box * {
    margin: 0;
    padding: 0;
}

#car-image-boxes {
    position: absolute;
    left: 13px;
    top: 50px;
}

#car-image-boxes div {
    height: 65px;
    border: /*solid 1px #d8d8d8*/none;
    margin-right: 9px;
    padding-right: 1px;
    float: left;
}

/*#car-image-boxes div:hover {
    border: solid 1px #d8d8d8;
}*/

#car-image-boxes div.active,
#car-image-boxes div:hover {
    border: solid 1px #d8d8d8;
    padding-right: 0px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

#car-image-boxes div.active {
    border-color: #cccccc;
}

#car-image-desc {
    position:absolute;
    top:115px;
    left: 13px;
    font-size:14px;
}

#car-image-desc p {
    float: left;
    position: relative;
    text-align: center;
}

#form-table {
    margin-top: 110px;
    width: 100%;
}

#form-table td:first-child {
    width: 110px;
    height: 48px;
    line-height: 48px;
}

#form-table select, #form-table input {
    width: 100%;
    font-size: 16px;
    background-color: #eeeeee;
    border: 1px solid #d7d7d7;
    height: 33px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    padding-left: 1em;
    padding-right: 12px;
    padding-top: 4px;
}

input#get-quote-button {
    width: 114px !important;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
}

#form-table input {
    width: 220px;
}

#quote-block-text {
    float: left;
    margin-left: 80px;
    margin-top: 0;
    width: 450px;
    height: 250px;
    color: #ffffff;
    font-size: 20px;
}

#quote-block-text h1 {
    font-weight: normal;
    font-size: 36px;
}

#quote-block-text ul {
    list-style: none;
}

#quote-block-text ul li span {
    font-size: 14px;
    position: relative;
    top: -2px;
}

#next-button {
    position: absolute;
    right: 60px;
    bottom: 20px;
}

/* Main Content */
div#main-content {
    padding: 0 60px;
}

div#popular-cars {
    position: relative;
    margin-bottom: 48px;
}

div#popular-cars > a {
    font-size: small;
    margin-bottom: 1em;
    position: absolute;
    right: 30px;
}

div.popular-car-images {
    
}

div.popular-car-image {
    float: left;
    margin: 0 9px;
    padding: 1px;
}

div.popular-car-image:hover {
    padding: 0px;
    border: #cccccc 1px solid;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
}


div.popular-car-image img {
    width: 130px;
    height: 80px;
    border: none;
    padding-top: 12px;
}

div.popular-car-image p {
    color: #0f3d71;
    text-align: center;
    margin-top: 0;
}

div.popular-car-image p span {
    display: block;
    font-weight: bold;
    font-size: 20px;
}

div.side-by-side-container {
    display: table-row;
    margin: 0 auto;
}

div.side-by-side {
    display: table-cell;
    vertical-align: top;
}

div.info-box {
    font-size: 12px;
    background-color: #efefef;
    padding: 10px;
    padding-top: 36px;
    position: relative;
    border: 1px solid #dcdcdc;
}

div.info-box.shop {
    min-height: 1px;
}

div.shop-box {
    float: left;
    width: 305px;
}

div.side-by-side > div.info-box {
    width: 420px;
    min-height: 290px;
}

div#contents > div.info-box {
    min-height: 200px;
    width: 920px;
    margin-top: 20px;
    margin-left: 40px;
}

div#contents > div.info-box blockquote {
    width: 380px;
    float: left;
    margin: 20px;
}

div.info-box h2 {
    font-size: 16px;
    font-weight: normal;
    display: block;
    height: 36px;
    line-height: 36px;
    background-color: #0f3d71;
    color: #ffffff;
    position: absolute;
    left: 0px;
    top: -14px;
    padding-left: 8px;
}

div.info-box h2 a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

div.info-box h2 a:hover {
    text-decoration: underline;
}

div.side-by-side > div.info-box h2 {
    width: 432px;
}

div#contents > div.info-box h2 {
    width: 932px;
}

div.special-page > div.info-box {
    margin: 20px 0;
}

div.special-page > div.info-box > h2 {
    width: 891px;
}

blockquote p {
    color: #076cb2;
    font-style: italic;
}

blockquote {
    background: transparent url(/media/images/ui/quotes.gif) top left no-repeat;
    margin: 20px 20px 0;
    padding: 0;
    padding-left: 30px;
    padding-top: 10px;
    font-size: 14px;
    text-align: center;
}

blockquote p.source {
    font-style: normal;
    color: #000000;
    text-align: right;
}

div#flatpage-content {
    padding: 0 60px;
    width: 900px;
}

div#flatpage-content h1:first-child {
    font-weight: normal;
    color: #092241;
}

div#flatpage-content div.info-box {
    min-height: 1px;
    width: 900px;
    padding: 36px 20px 20px;
    margin-top: 30px;
}

div#flatpage-content div.info-box h2 {
    width: 932px;
}



td.popular-cars-image {
    width: 130px;
}

td.popular-cars-image img {
    border: none;
}

td.popular-cars-name {
    width: 262px;
}

td.popular-cars-name a {
    color: #0F3D71;
    text-decoration: none;
}

td.popular-cars-name a span {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

td.popular-car {
    width: 392px;
}
td.popular-car a {
    color: #0F3D71;
    text-decoration: none;
}
td.popular-car img {
    float: left;
    border: 0;
}
td.popular-car span {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

div#car-collection {
    margin-top: 20px;
}
div#car-collection .car-box {
    width: 276px;
    height: 90px;
    padding: 1px 12px;
    float: left;
    margin-right: 20px;
    margin-left: 20px;
}
div#car-collection .car-box:hover {
    width: 274px;
    height: 88px;
    border: 1px solid #cccccc;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    padding: 0 13px 2px 11px;
}
div#car-collection a > .car-box {
    color: #0F3D71;
    text-decoration: none;
}
div#car-collection a > .car-box img {
    border: none;
    float: left;
    padding-right: 1em;
}
div#car-collection a > .car-box span {
    display: block;
    font-size: 20px;
    font-weight: bold;
    padding-top: 1ex;
    text-decoration: none;
}

/* Bottom */
#bottom-nav {
    background-color: #092240;
    border-top: 10px solid #076cb2;
    height: 185px;
    margin-top: 32px;
}

#bottom-title {
    text-align: center;
    color: #a5a5a5;
    font-size: 2em;
    font-weight: normal;
}

#bottom-title span {
    font-weight: bold;
    color: #ffffff;
}

#bottom-nav-list {
    list-style-type: none;
    padding: 0;
    width: 660px;
    margin: 0 auto;
}

#bottom-nav-list li { display: inline; }

#bottom-nav-list li a {
    color: #ffffff;
    font-size: small;
    text-decoration: none;
    margin: 0 0.1em;
}

#bottom-image {
    margin-left: 448px;
    margin-top: 10px;
}

/* Styles for fancy <select> boxes */
select.replaced {
    width: 1px;
    position: absolute;
    left: -999em;
}

ul.selectReplacement {
    background: url(/media/images/ui/dropdown-bg.png) top left no-repeat; 
    margin: 0 0 10px;
    padding: 0;
    height: 37px;
    width: 238px;
    position: absolute;
    top: -18px;
    left: 0px;
    /*z-index: 1000*/
    padding-top: 1px !important;
    max-height: 500px;
}

ul.selectFocused {
    background-image: url(top-focus.jpg);
}

ul.selectReplacement li:first-child {
    margin-top: 1px !important;
}

ul.selectReplacement li {
    background: /*#0f3d71*/#eeeeee;
    /*color: #fff;*/
    cursor: pointer;
    display: none;
    list-style: none;
    margin: 0;
    margin-left: 16px !important;
    padding: 1px 12px !important;
    width: 181px;
    height: 15px;
    line-height: 15px;
    overflow: hidden;
}

ul.selectOpen li {
    display: block;
}

ul.selectReplacement li.selected {
    background: bottom left no-repeat;
    /*border-bottom: 1px solid #fff;*/
    /*color: #fff;*/
    display: block;
    margin-top: 8px !important;
}

ul.selectOpen li.selected {
    background: #eeeeee;
    border: 0;
    display: block;
    margin-top: 0 !important;
}

ul.selectOpen li:hover,
ul.selectOpen li.hover,
ul.selectOpen li.selected:hover {
    background: #0f3d71;
    color: #eeeeee;
}

.selection {
    /*position: relative;*/
    top: 0;
    left: 0;
}

ul.selectOpen {
    height: 200px;
    overflow-y: scroll;
}

.throbber {
    background-image: url('/media/images/ui/input-throbber.gif');
    background-repeat: no-repeat;
    background-position: 210px center;
}

/* New jQuery SelectBox script styles */

div.selectbox-wrapper {
  position:absolute;
  width:400px;
  background-color:white;
  border:1px solid #ccc;
  margin:0px;
  margin-top:-37px;
  padding:0px;
  font-size:0.8em;
  text-align:left;
  max-height:200px;
  overflow:auto;
  z-index:200;
  left: 138px;
}
div.selectbox-wrapper ul {
  list-style-type:none;
  margin:0px;
  padding:0px;
}
div.selectbox-wrapper ul li.selected { 
  background-color: #FBFBFB;
}
div.selectbox-wrapper ul li.current { 
  background-color: #FFFFFF;
}
div.selectbox-wrapper ul li {
  background-color: #EEEEEE;
  list-style-type:none;
  display:block;
  margin:0;
  padding:2px;
  cursor:pointer;
  font-size: 16px;
}

label {
  display: block;
}
.selectbox /* look&fell of  select box*/
{
  margin: 0px 5px 10px 0px;
  padding-left:2px;
  font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size:0.8em;
  width : 10em; 
  display : block;
  text-align:left; 
  /*height:18px;*/
  cursor: pointer;
  color:#333;
  border: 1px solid #D7D7D7;
  background: none;
  background-color: #EEEEEE;
}
.selection {
  background: url("/media/images/ui/dropdown-arrow.png") no-repeat right center transparent;
  width: 239px;
  z-index: 250;
}
