.flex-caption {
font-size: 24px !important;
background: rgba(0,0,0,.7) !important;
}


/* GLOBAL FONT */
body, .button{font-family:verdana, sans-serif !important;}
body{background: url('../images/main.jpg') no-repeat center 0 #fff;}
.InvContainer {font-family:verdana, sans-serif !important;}

h1,.h1, h2, .h2, h3, .h3, h4, .h4 {font-weight: bold;font-style: normal;color: #231F20;}
h5, .h5, h6, .h6 { font-weight: normal;font-style: italic;color: #231F20;}

h1, .h1 {font-size: 24px;}
h2, .h2 {font-size: 18px;}
h3, .h3 {font-size: 14px;}
h4, .h4 {font-size: 12px;}
h5, .h5 {font-size: 10px;}
h6, .h6 {font-size: 8px;}


.html_item ul {
    list-style: none;
    margin: 0px;
}

.column, .columns {
    margin-left: 4.4%;
}

#SiteContainer{
  max-width:960px;
  margin: 0 auto 20px;
  background-color:#fff;
  box-shadow: 0 4px 8px rgba(0,0,0,.35);
  border: 1px solid #ccc;
}
.container{padding:0;}
a, a:visited, a:hover{color:#C71444; text-decoration:none}
section p a{text-decoration:underline}
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;
}

div.ddsLogoProvider, .ddsLogoProvider a {
  text-align: right;
  margin: 10px;
  color: #333;
  text-decoration: none;
  font-size: 10px;
  font-size: 1.0rem;
  color: #666;
}
#InvResultsSearchTypeBoxSide{display:none}

/* 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%);
}
.nissanLogo {margin: 0 0 0 30px;}
.nissanLogo img {vertical-align: top;}
.hdrInfo {
    width: 70%;
    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: 30%;
    font-weight: normal;
    font-size: 11px;
    font-size: 1.1rem;
    line-height: 1.5;
    clear:none;
}
.hdrInfo a{color:#000}
header #hdrTag {
    clear: both;
    font-size: 20px;
    font-size: 2rem;
    padding-top: 5px;
    text-align: center;
}
.boldText {
    color: #c71444;
}

#hdrSocialIcons { xclear: both; float: right; }
#hdrSocialIcons img { max-height: 30px; }

.row.headingText {
    float: right;
    text-align: center;
}

/* NAVIGATION */
/* CHANGE COLORS HERE */
.nav {background: #ddd; border-top:1px solid #CCC; border-bottom:1px solid #ccc}
#nav-container a{color: #333;}
#nav-container a:hover, li.sfhover, #nav-container li.sfhover > a {
     background: #fff;
     color: #C71444;
}
#nav-container li ul li {border-bottom: 1px solid #ccc;}
#nav-container li ul{background:#f2f2f2}
#nav-container li ul li a {color: #242424;}
#nav-container li ul li a:hover{background:#fff; color:#c71444}

/* NAV STRUCTURE AND LAYOUT */

.nav {
     margin: 0 auto 10px;
     z-index: 30;
     position:relative;
}
#nav-container a.flyoutNav{display:none}
#nav-container, #nav-container ul {
     margin: 0 auto;
     z-index: 31;
     position: relative;
     line-height: 2;
     text-align:center;
}
#nav-container a, #nav-container a:visited {
     display: block;
     padding: 0 10px;
     text-decoration:none;
}
#nav-container li {
     display: inline-block;
     position: relative;
     margin: 0;
     font-size:12px;
     font-size:1.2rem;
}
.ie7 #nav-container li {
     zoom: 1;
     display: inline;
}
#nav-container li ul {
     z-index: 32;
     line-height: normal;
     position: absolute;
     width: 200px;
     display: none;
     box-shadow: 0 4px 4px rgba(0,0,0,.5);
  border: 1px solid #999;
}
#nav-container li ul li {width: 100%;}
#nav-container li ul li:last-child { border-bottom: none; }
#nav-container li ul li a {
     font-weight:normal;
     text-align: left;
     padding-left: 8px;
     font-size: 12px;
     font-size: 1.2rem;
     text-decoration: none;
     line-height:2;
}
#nav-container li ul li a:hover {text-decoration: none;}

/* Positioning for Third-level navigation */
#nav-container li ul ul {
     left: 0px;
     margin: -23px 0 0 10px;
}
.mobileQuickMenu { display:none}

/* ----------------------- */
#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; }



/* COMMON PAGE ELEMENTS*/
section{margin: 0 10px 10px;}
h1 {font-size: 20px; font-size:2rem}
p {
  font-size: 14px;
  font-size:1.4rem;
  line-height: 1.5;
  color:#333;
}
img{vertical-align:top}
.backpageImg{
  border:1px solid #333;
  margin-left: 20px;
  margin-bottom: 40px;
  box-shadow:0 4px 8px rgba(0,0,0,.5);
}
.imgLeft { padding-left: 10px; padding-bottom: 10px; }
.centered{margin:0 auto;}
.clearBoth{clear:both}
.leftMargin{margin-left: 30px}
.rightMargin{margin-right: 30px}
.allCaps{text-transform:uppercase}
.smallText{font-size:11px; font-size:1.1rem}
.largeText{font-size:20px; font-size:2rem}
.normalList li{
  font-size:12px;
  font-size:1.2rem;
  margin-left:30px;
  margin-bottom:0;
}
ul.normalList li{list-style:disc}
ul.disc{margin-left:10px;}

h1#InvTitleArea{display:none}
.SpecialFlag{display:none}
.redCol{color:#C71444 !important}
.nice.large.button{display:inline-block; background:#C71444 !important; border:none}
.nice.button{color:#fff !important}

/* FORM COLORS */
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), form li li:nth-child(2n+1) {background: #fff;}
form li li:last-child {border: none;}
form li:last-child{border-top:2px solid #999; background:none}
input[type="submit"] {background: #c71444; color: #fff;}
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:#c71444;
}

/* FORM STRUCTURE */
form {
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.25);
    xfloat: left;
    margin: 0 0 20px 20px;
    max-width: 600px;
    width: 96%;
}
form label, form input{font-family:verdana, sans-serif}
/* 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;}
input[type="radio"], input[type="checkbox"] {float: none;}

/* Style the submit button */
input[type="submit"] {
    border: none;
    border-radius: 6px;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.25);
    clear: both;
    cursor: pointer;
    font-size: 18px;
    margin: 20px 20% 0;
    padding: 10px 30px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.75);
    width: 60%;
}
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;
}


a.TestDrive{color:white; font-size:2em;}
#locationicon{  float: left;
  margin-left: 15px;}

/* For mobile, make form full width */
@media only screen and (max-width:767px){
  form {
    margin-left: 0px;
    box-shadow: none;
  }
  form input {
    float: none;
    display: block;
    width: 100%;
  }
}

/* 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}
.inline li, .inline dd, .form.inline li, .form.inline dd{margin-right:0}

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

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

/* FOOTER */
footer {
    background: #C1c1c1;
    border-top: 1px solid #999;
    font-size: 1rem;
    line-height: 3;
}
footer .four{padding-left:10px}
.ftrAddress span:after{content:", "}
.leftBorder {
    border-left: 1px solid #333;
    padding-left: 6px;
}
footer .leftBorder a {margin-right: 20px;}
footer .six {margin: 0;}
footer a, footer a:visited{color:#000}
footer img{margin-top: 8px;}

/* MEDIA QUERIES START HERE */

@media only screen and (max-width: 768px) {
  #SiteContainer{width:100%}
  body{background:#454545}
  p{margin: 0 10px 18px; }
  .nav{height:auto; border-top:none}
  /*#nav-container a.flyoutNav, a.flyoutNav, a.flyoutNav:active, a.flyoutNav:visited {
    background: #999;
    color: #fff;
    text-align: center;
    clear: both;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    font-size: 20px;
    text-shadow: 0 1px 2px #000;
    display:block;
    line-height:2;
    font-weight: bold;
  } */
  header{margin-bottom:10px;}
  #nav-container{
    border:1px solid #dadada;
    background:#f0f0f0;
    width:250px;
  }
  #nav-container li{
    text-align:left;
    display:block;
  }
  #nav-container > li{border-bottom:1px solid #dadada;background: #242424;}
  #nav-container > li:last-child{border-bottom:none;}
  #nav-container li ul{
    left:120px;
    top:0;
    border-top: 1px solid #ccc;
  }
  .nav{border-bottom:none}
  .hdrInfo h3{width:50%; text-align: left;}

  .nissanLogo{float:left}
  footer{line-height:1.5}
/*
  .row .row .column, .row .row .columns{text-align:center}
  .row .row ul.normalList{text-align:left}
*/
  .ftrAddress{margin-top:10px; font-size:1.8rem; line-height:1.2}
  .ftrPhone{font-size:2.5rem}
  footer .leftBorder{border:none; padding:0; display:block}
  footer .leftBorder a{margin-right:0; font-size:2rem}
  .four.ftrAddress, .two.ftrPhone, .six.ftrLinks{float:none; width: 100%; margin:0;}
footer .columns {
width: 100%;
text-align: center;
}
  nav{position:absolute; top: 2px; left:-238px}
  .sideShowing #SiteContainer {
    left: 236px;
    position: relative;
  }
  #nav-container {
    height: auto;
    left: 0px;
    padding: 0;
    position: absolute;
    text-align: left;
    top: 0px;
    width: 230px;
    z-index: 55;
  }
  #nav-container li ul, .nav li ul {display: block;}
  #nav-container li ul, .nav li ul {
    border: medium none;
    box-shadow: none;
    position: static;
    width: auto;
  }
  #nav-container > li a {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.8;
  }
  #nav-container a:hover, li.sfhover, #nav-container li.sfhover > a {
    background: none;
    text-decoration: none;
    color: #fff;
  }
  #nav-container li ul li a, .nav li ul li a {
    font-size: 1.4rem;
    padding-left: 10px;
    width: auto;
    line-height: 2;
  }
  #nav-container li ul li {border-bottom: none;}
  
  /* Navigation Quick Bar */
  .mobileQuickMenu {
  		text-align:center; 
		display:block;
		margin:2px auto;
	}
  .mobileQuickMenu li {
     display: inline-block !important;
     width: 22.66667%;
	  margin:0;
     background: #ccc;
  }
  .mobileQuickMenu a {
     background: #e2e2e2; /* Old browsers */
     background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6+ */
     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #e2e2e2), color-stop(50%, #dbdbdb), color-stop(51%, #d1d1d1), color-stop(100%, #fefefe)); /* Chrome,Safari4+ */
     background: -webkit-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* Chrome10+,Safari5.1+ */
     background: -o-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* Opera 11.10+ */
     background: -ms-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* IE10+ */
     background: linear-gradient(to bottom, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* W3C */
     font-size: 1.4rem;
     line-height: 2;
     text-align: center;
     display: block;
     margin: 1px;
     color: #666;
     font-weight: bold;
     padding: 2px 4px;
  }
  .mobileQuickMenu a span {
     color: inherit;
     font-size: inherit;
    text-shadow:none;
  }
  .mobileQuickMenu img { float: left; }
  li.phone{display:none !important}
  #nav-container a.flyoutNav{display:block;}
  
  .address {
    background: none repeat scroll 0 0 white;
    border: 1px solid #666;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    left: 9px;
    margin-top: 10px !important;
    padding: 2px !important;
}
}
  

@media only screen and (max-width: 680px) {
/* anything below 680px */
  .backpageImg{margin:0 0 15px; float:none; clear:both}
}
@media only screen and (max-width: 620px){
  .hdrInfo h3{
    width:100%;
    float:none;
  }

}
@media only screen and (max-width: 400px) {
/* anything below 320px */
  .nissanLogo{
    margin: 0;
    text-align: center;
    display: block;  
    float:none;
  }
  .hdrInfo{width:100%;}
  .hdrInfo h2{text-align:center; font-size: 2.4rem; font-weight:bold}
  .hdrInfo h3 {
    float: none;
    width: 100%;
    font-size: 1.8rem;
    line-height: 1.2;
    text-align:center;
  }
   .right {float: none;}
  .address {margin-top: 18px !important;}
#hdrSocialIcons {float: none; text-align:center;}
}
  @media only screen and (max-width: 360px) {
	.mobileQuickMenu a span { display: none; }
	.mobileQuickMenu img { float: none; }
}
