/* -----------------------------------------
GLOBAL ITEMS
----------------------------------------- */

/* DDS LOGO AT BOTTOM OF SITES ///////////////////////////////////////////// */
div.ddsLogoProvider, .ddsLogoProvider a { text-align: right; margin: 10px 0; color: #333; text-decoration: none; font-size: 10px; font-size: 1.0rem; color: #666; }
span.ddsLogoProvider { float: right; vertical-align: middle; position: relative; top: -3px; margin-left: 5px; width: 71px; height: 21px; 
    background: url(https://s3.amazonaws.com/dom-cms/GlobalImages/dds-logo-dk.png) no-repeat 0 0; }
/*UNCOMMENT FOR LIGHT VERSION 
span.ddsLogoProvider { background: url(https://s3.amazonaws.com/dom-cms/GlobalImages/dds-logo-lt.png) no-repeat 0 0; }*/


/* LINKS ///////////////////////////////////////////// */
a, a:active, a:visited { color: #c71444; text-decoration: none; }
a:hover { text-decoration: none;}

/* HTML, BODY, OTHER STRUCTURES ///////////////////////////////////////////// */
body { 
    background: #dcdcdc;
    color: #555;
    font: 13px Verdana, sans-serif;
}
.html_item ul {
  list-style: none !important;
  margin: 10px !important;
}

h1, h2, h3, h4, h5, h6 {color: #444;}

h1, h2 {font-weight: normal;}

#SiteContainer { 
    max-width: 980px; 
    margin: 0 auto;
    background: #fff;
    -moz-box-shadow: 0px -2px 6px #bfbfbf;
    -webkit-box-shadow: 0px -2px 6px #bfbfbf;
    box-shadow: 0px -2px 6px #bfbfbf;
}

#main > .container h1 {
   padding-top: 20px;
}

#main > .container {
    min-height: 400px;
}

.paddingTop {
    padding-top: 20px;
}

.allCaps { text-transform: uppercase;}


/* TYPOGRAPHY ///////////////////////////////////////////// */
ul, dl, ol { font-size: inherit; } /*ADJUST FONT-SIZE OF LIST-ITEMS*/


/* -----------------------------------------
Header
----------------------------------------- */
/* HEADER */
header {
  background: #ffffff;
  background: -moz-linear-gradient(top,  #ffffff 50%, #eaeaea 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#ffffff), color-stop(100%,#eaeaea));
  background: -webkit-linear-gradient(top,  #ffffff 50%,#eaeaea 100%);
  background: -o-linear-gradient(top,  #ffffff 50%,#eaeaea 100%);
  background: -ms-linear-gradient(top,  #ffffff 50%,#eaeaea 100%);
  background: linear-gradient(to bottom,  #ffffff 50%,#eaeaea 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea' ); 
}
.nissanLogo {margin: 0 0 0 30px;}
.nissanLogo img {vertical-align: top;}
.hdrInfo { width: 60%;  border-top: 4px solid #C71444; }
.hdrInfo h2 { font-weight: normal; font-size: 18px; font-size: 1.8rem; margin: 8px 0; border-bottom: 1px solid #ccc; padding-bottom: 8px;}
.hdrInfo h3 { width: 50%; font-weight: normal; font-size: 12px; font-size: 1.2rem; line-height: 1.7; clear:none; margin-bottom: 0;}
.hdrInfo a{color:#444;}


/* -----------------------------------------
NAVIGATION
----------------------------------------- */    
.navContainerItem { 
    z-index: 30; 
    position: relative; 
    background: #dadada;
    border: 1px solid #cecece;
    border-right:0;
    border-left:0;
    padding: 0;
 }

.nav, div.nav { z-index: 30; clear: both; margin: 0 auto; height: auto; border: none; background: #DDD; font-size: 12px; line-height: 30px; font-family: Verdana,Sans-Serif;} 
#nav-container, #nav-container ul, .nav ul { max-width: 980px; padding: 0 10px; margin: 0 auto; list-style-type: none; z-index: 31; position: relative; font-size: 12px; zoom: 1; }
#nav-container:before, #nav-container:after, #nav-container ul:before, #nav-container ul:after, .nav ul:before, .nav ul:after  { content:""; display:table; }
#nav-container:after, #nav-container ul:after, .nav ul:after { clear: both; }
#nav-container a, .nav a { display: block; text-transform: uppercase; padding: 0 9px; color: #333; width: auto; }
#nav-container a:hover { color: #C71444; }
#nav-container li, .nav li { display: block; position: relative; float: left; margin: 0; padding: 0; }       
.nav li:hover { background: none; text-shadow: none; }
#nav-container li img { display: block; margin: 0; } 
#nav-container li ul, .nav li ul {border: 1px solid #999; border-top: none; z-index: 5; line-height: normal; padding: 0; position: absolute; background: #F2F2F2; width: 160px; display: none;}
#nav-container li ul li, .nav li ul li { text-indent: 0; width: 100%;border-bottom: 1px solid #dcdcdc; background: none; }
#nav-container li ul li:last-child, .nav li ul li:last-child {border-bottom: none; }
.nav li ul li:hover { background: none; text-shadow:none; }
#nav-container li ul li:last-child, .nav li ul li:last-child {border-bottom: none; }
#nav-container li ul li a { color: #444; text-align: left; padding: 6px 8px; text-decoration: none; text-transform: none; width: 150px;}           
#nav-container li ul ul, .nav li ul ul {  left: 0px;margin: -23px 0 0 10px; }
#nav-container li:hover ul ul, #nav-container li:hover ul ul ul, #nav-container li:hover ul ul ul ul{ display:none; }
#nav-container li:hover ul, #nav-container li li:hover ul, #nav-container li li li:hover ul, #nav-container li li li li:hover ul{ display:block; }

#mobileNav { display: none; }

/* -----------------------------------------
FOOTER
----------------------------------------- */
footer {font-size: 85%; background: #bdbdbd; border-top: 1px solid #dfdfdf; padding:8px 0;}
footer a {color: #444;}

/*==============
  FORM STYLES   
==============*/

/* ===== COLORS ===== */
.formContainer form{
  background: #eaeaea; /* also color of even rows */
  border: 1px solid #bbb;
}
form li {border-bottom: 1px solid #ccc;}
form li:nth-child(2n+1) {background: #FFF;}
form > li:last-child{background:none;}
label + input[data-val="true"], label + textarea[data-val="true"] {border: 1px solid #c71444; /* Border on required fields */}
.field-validation-error { /* Validation error msgs */
  background: #ffebf0;
  color: #c71444;
  border-color:#f99;
}
form li ul {
   border: 1px solid #ccc;
   margin: 0 10px;
}
/* ===== STRUCTURE ===== */
.formContainer form {
    box-shadow: 1px 1px 2px #ccc; 
    -webkit-box-shadow: 1px 1px 2px #ccc;
    margin: 0 auto 20px;
    max-width: 600px;
    width: 96%;
    padding:0;
}

/* Put the input fields on the same line as their labels */
form label {
    font-weight: normal;
    line-height: 24px;
    display: inline;
}
form li {
    clear: left;
    height: auto;
    overflow:hidden;
    margin: 0;
    padding: 6px;
}
form li:last-child{border-bottom:none;}
input, select{float:right;}

/* Style the submit button */
input[type="submit"] {
    background: #5e5e5e; 
    color: #fff;
    border: none;
    border-radius: 4px;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.25);
    clear: both;
    cursor: pointer;
    font-size: 14px;
    margin: 20px 25% 0;
    padding: 6px 25px 8px;
    text-shadow: 0 1px 0px rgba(0, 0, 0, 0.50);
    width: 50%;
}

input[type="submit"]:active {
    background: #c71444; 
}

label + select, label + input[type="text"], label + input[type="email"], label + input[type="password"], label + input[type="checkbox"] {width: 50%;}
label + textarea {
  width: 100%;
  height:100px;
}

/* Validation errors */
.field-validation-error {
    float: left;
    clear: both;
    width: 100%;
    text-align: center;
    line-height: 2;
    border-style: solid;
    border-width:1px;
}

/* Reset for Secure Disclaimer */
.formContainer {
    background: none;
    border: none;
}
.formDisclaimer {
    background-color: transparent;
    background-position: 0 0;
    padding: 0;
    text-indent: 20px;
}

/* Reset for map form inputs */
dl.form input {float: none;}

/* Reset for Inv. Listings page */
#InvContainer form, #InvContainer li {
    background: none;
    border: none;
    box-shadow: none;
}
#InvContainer input, #InvContainer select {display: block; float:none;}

/* Reset for Inv. Details Page form */
#Profilefrm {margin: 0; float: none;}
#Profilefrm input {display: inline;}
#Profilefrm li {clear: none; padding: 0;}

/*==============
  END OF FORM   
==============*/

/* -----------------------------------------
  Coupons
----------------------------------------- */

/* reset */
.couponContainer {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    width: auto;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    box-shadow:none;
    background:none;
}
.couponContainer > .row .columns{width:100%;}

/* Design */
.couponContainer {border:dashed 2px #ccc; /*width:280px;*/padding: 6px;float: left;margin-right: 12px;}
.couponDialog.reveal-modal {width:650px; }
#couponImage{padding-bottom:0;}
#couponPrice h1{font-size:36px;margin-bottom: 0;}
#couponHeader h3{font-weight: normal;}
#couponInfo{border:none;}
#couponInfo,#couponDisclaimer, #couponExpiration {background:#444;color:#FFF;}
#couponDisclaimer, #couponDisclaimer p{font-size:11px;color:#CCC;font-style: italic;}
#couponDisclaimer p{padding:0 12px;}
#couponExpiration{padding-bottom: 12px;}
.couponExpiration .iconSm {width: auto;}
.couponPrint {background:#FFF;}
.couponPrint p{font-size:10px;}
.couponContainer .mapPrint, .couponPrintAll .print  {display: inline-block;padding-left: 20px;background:url(https://s3.amazonaws.com/dom-cms/Site/9b532b4b-7f05-4489-a7a9-4a1077ea5026/images/home/text-print.png) no-repeat transparent;}
.couponContainer .mapPrint:hover, .couponPrintAll .print:hover  {background:url(https://s3.amazonaws.com/dom-cms/Site/9b532b4b-7f05-4489-a7a9-4a1077ea5026/images/home/text-print_hover.png) no-repeat transparent;}       
.couponContainer .mapPrint{margin:6px 0 0 0;}


/* -----------------------------------------
  Vehicle Specials
----------------------------------------- */

.InvSpecialFlag h3, .InvSpecialPrice, .InvSpecialName a{font-family: Verdana, Arial, sans-serif}
.InvSpecialFlag h3 {border: none; background:#333;}
.InvSpecialPrice{color:#c71444}
.InvSpecialName a {color: #000;}


/* -----------------------------------------
   Media Queries
----------------------------------------- */
@media only screen and (max-width : 980px) {
    #nav-container a, .nav a { text-transform: none;}
}

@media only screen and (max-width : 860px) {
    #nav-container a, .nav a { padding: 0 8px;}
    footer .columns { margin-left: 1%;}
    footer .row .three { width: 18.9%;}
    footer .row .six { width: 60%;}
}


@media only screen and (max-width: 767px) {   
  
  .couponDialog.reveal-modal {display:none !important;}

header:first-child > .container {
    background: #ffffff;
    background: -moz-linear-gradient(top,  #ffffff 50%, #eaeaea 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#ffffff), color-stop(100%,#eaeaea));
    background: -webkit-linear-gradient(top,  #ffffff 50%,#eaeaea 100%);
    background: -o-linear-gradient(top,  #ffffff 50%,#eaeaea 100%);
    background: -ms-linear-gradient(top,  #ffffff 50%,#eaeaea 100%);
    background: linear-gradient(to bottom,  #ffffff 50%,#eaeaea 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea' ); 
    padding-bottom: 10px;
}

header .container {
    padding: 0;
    background-image: none;
}

#mobileNav { 
    margin-bottom:63px; 
    display: block; 
    width: 24px;
    height: 25px;
    background: #fff url(https://s3.amazonaws.com/dom-cms/Site/0b356c09-47ba-4fce-ad14-0fa7b3b54aa0/images/icons-logos/btn-mobileNav.png) no-repeat 5px 5px;
    padding: 2px; 
    position: absolute; 
    bottom: 2px; 
    right: 8px; 
    border-radius: 3px; 
    border: 1px solid #ccc; 
}

 #SiteContainer 
    {
        -webkit-transition: left 0.5s ease;
        -moz-transition: left 0.5s ease;
        -o-transition: left 0.5s ease;
        -ms-transition: left 0.5s ease;
        transition: left 0.5s ease;
    }
    .sideShowing #SiteContainer 
    {
        position: relative; left: 217px; 
        -webkit-transition: left 1s ease;
        -moz-transition: left 1s ease;
        -o-transition: left 1s ease;
        -ms-transition: left 1s ease;
        transition: left 1s ease;
    }       
    .navContainerItem { background: #444; padding: 0; text-align: left; position: absolute; top:0px; left: -217px; right: auto; z-index: 55; border-right: 1px solid #999; border-bottom: none; width: 215px; height:1240px; }
        
    #nav-container, #nav-container ul { font-size: 13px; line-height: 35px; padding: 0; }
    #nav-container a, .nav a { padding: 0 10px;}
    #nav-container a { background: none;}
    #nav-container li { width: 100%; display: block; border-right: none; border-left: none; margin: 0;}
    #nav-container li ul { position: static; width: auto; border: none; }
    .sideShowing #nav-container li ul { display:block; }
    #nav-container li ul li a { padding-left: 20px; width: auto; background:#ccc; color:#222;}
    #nav-container li ul li a:hover { padding-left: 20px; width: auto; background:#222; text-shadow:none; color:#ccc;}

    footer { font-size: 1.46rem; text-align: center; }
    footer span { padding: 10px 0; }
    footer .nissanLogo { padding-top: 15px; }
    footer .divide {display: none; }
}


@media only screen and (max-width : 588px) {
    .footerPhone { font-weight: bold;}

}

@media only screen and (max-width: 480px) {  

  .formContainer form {box-shadow: none; margin: 0 auto 20px;  width: 100%;}
  input[type="submit"]{width:90%; margin: 10px auto 0;}

  header .left { float: none; }
  .hdrInfo h2 { font-size: 1.7rem;}
  .hdrInfo h3 { font-size: 1.42rem; line-height: 1.4; width: 100%;}

   #mobileNav {
        margin-bottom: 70px;
    }

    .allCaps {
        text-transform: none;
    }
}

h1{font-size: 2em;}
h2{font-size: 1.5em;}
h3{font-size: 1.17em;}


header #InvSearchBoxWrapper {
    xbackground: #2C3134 none repeat scroll 0% 0%;
    width: 30%;
    float: right;
    margin: 5px 5px 0 0;
}
header #InvSearchBoxWrapper .invKeywordBtn{
background-color:#C82F44 !important;
}

header #InvSearchBoxWrapper .invKeywordBtn:hover{
background-color:#454545 !important;
}



