/* TYPOGRAPHY
///////////////////////////////////////////// */
body, p, label, ul, ol, dl { font-size: 11px; color: #000; }

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

h1, h2, h3, h4, h5, h6 { font-family: Helvetica, Arial, sans-serif; }

	h1 { font-size: 24px; font-size: 2.4rem; margin-bottom: 6px;}
	h2 { font-size: 18px; font-size: 1.8rem; margin-bottom: 4px; }
	h3 { font-size: 13px; font-size: 1.3rem; margin-bottom: 4px; }
	h4 { font-size: 12px; font-size: 1.2rem; margin-bottom: 3px; }
	h5 { font-size: 11px; font-size: 1.1rem; font-weight: normal; margin-bottom: 2px;  }
	h6 { font-size: 10px; font-size: 1.0rem; font-weight: normal; }

.button, .large.button { padding: 6px 9px; }
/* LINKS
///////////////////////////////////////////// */
a:link, a:visited { color: #4C4C4E; }
a:hover { color: #003399; }

a.button.black { color: #efefef; }
a.button.black:visited { color: #e0e0e0; }
a.button.blkGrad {
	background: #7d7e7d; /* Old browsers */
	background: -moz-linear-gradient(top,  #7d7e7d 0%, #0e0e0e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7d7e7d), color-stop(100%,#0e0e0e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7d7e7d 0%,#0e0e0e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7d7e7d 0%,#0e0e0e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7d7e7d 0%,#0e0e0e 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7d7e7d 0%,#0e0e0e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
	
}

/* HEADER
///////////////////////////////////////////// */

header {
	background: #808284; 
	font-size: 12px;
}

.hdrDealerInfo { line-height: 24px; }
#hdrPhone{margin-left:21.4%}

.row .three.hdrRoundel {
    width: 22%;
}
.hdrRoundel.columns{margin-left:1%;}
.hdrRoundel .container{padding:0 20px 0 0;}
.hdrRoundel .block-grid.two-up {margin-left: 0;}
.hdrRoundel .block-grid.two-up > li {
    margin-left: 0;
    width: 50%;
}

.hdrNavAddress {margin-top:20px;}
.hdrNavAddress a { color:#FFF; }



.hdrDealerInfo a, .hdrDealerInfo a:visited, .hdrDealerInfo span {color: #FFFFFF;}
.hdrDealerInfo a:hover {color: #003399;}

#HdrMobileMenu { display: none; }
#HdrMobileMenu { margin-bottom: 4px; }
#HdrMobileMenu ul, #HdrMobileMenu li { margin-bottom: 0; padding: 0; }

#BMW_Header{ position: relative; }
#BMW_Header ul { position: absolute; top: -3px }
#BMW_Header li { xxmin-width: 98px; }
.hdrShadowbox{
   background:transparent url('https://s3.amazonaws.com/dom-cms/Site/aa60847f-a389-4b95-96bc-1a05083546f8/images/hdr-shadowbox.png') no-repeat scroll 0 0;
   height:98px;      
   width:98px;
   margin: 0 auto;
   
}
#HdrNameBlock .innerShadowBox {
   padding: 8px;
}
#HdrLogoBox { text-align: center; }
#HdrNameBlock div, .authorizedCenter {font-size:10px !important; line-height: 12px !important}

.hdrDealerName{font-weight:bold;}
.authorizedCenter {color:#808284;display:block;}


/* BASE
///////////////////////////////////////////// */
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; }
/*FOR LIGHT VERSION span.ddsLogoProvider { background: url(https://s3.amazonaws.com/dom-cms/GlobalImages/dds-logo-lt.png) no-repeat 0 0; }*/

body { background: #fff; }

#SiteContainer { background: #fff; max-width: 980px; margin: 0 auto; padding: 10px 0; }

header .address { text-align: right; padding-bottom: 10px; position: relative; }
		
.navContainerItem { z-index: 30; position: relative; margin-top:6px; }	
.nav, div.nav { z-index: 30; clear: both; margin: 0 auto; padding: 0; text-align: left; width: auto; height: auto;border: none; } 
#nav-container, #nav-container ul, .nav ul { max-width: 980px; padding: 0; margin: 0 auto; list-style-type: none; z-index: 31; position: relative;  font-size: 12px; font-weight: bold;}
#nav-container{border-top: solid 1px #FFF; line-height:34px;}
    #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; padding-right:14px; width: auto; color:#fff; }
        #nav-container a:hover, #nav-container > li.sfhover > a { color: #003399; }
    #nav-container li, .nav li { display: block; position: relative; float: left; margin: 0; padding: 0; color:#808284;}
	.nav li:hover{background:none;text-shadow: none;}
        #nav-container li img { display: block; margin: 0; } 
        #nav-container li ul, .nav li ul { z-index: 32;  border: 1px solid #808284; border-top: none; line-height: normal; padding: 0; position: absolute; background: #ededed; width: 130px; display: none; }
            #nav-container li ul li, .nav li ul li { text-indent: 0; width: 100%; border-bottom: 1px dotted #ccc; background: none; }
                #nav-container li ul li:last-child, .nav li ul li:last-child {border-bottom: none; }
                #nav-container li ul li a { color: #333; font-weight: bold; text-align: left; padding: 8px 5px; font-size: 10px; font-size: 1.2rem; font-weight: bold; text-decoration: none; width: 120px;}
                    #nav-container li ul li a:hover { background: #fff; text-decoration: none; color: #003399; }
            #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; }

.navItemHome, li.navItemHome, .navItemHome a {font-weight:normal; }

/*#mobileNav { display: block; background: #666; color: #fff; text-transform: uppercase; font-weight: bold; font-size: 10px; font-size: 1.0rem; padding: 5px; margin: 6px auto; border-radius: 3px; xborder: 1px solid #333; text-shadow: 1px 1px 0px #000; }*/


#main { margin-top: 20px; }

/* FOOTER
///////////////////////////////////////////// */
footer {border-top: 2px solid #EAEAEB;
    color: #4C4C4E;
    margin-top: 10px;
    padding-top: 10px; }
	
footer .container { padding: 0; }
footer p{font-size:11px;}

footer .ftrSocials { text-align: left; padding-bottom: 10px; position: relative; }
.ftrSocials li {
    margin-left: 5px;
    margin-bottom:5px;
    display:inline;
}

.ftrAddress a:link, .ftrAddress a:visited {color: #4C4C4E;}
.ftrAddress a:hover {color: #003399;}

.ftrLogo{text-align:right}

/*==============
  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}
input[type="submit"] {background: #1B5E93; color: #fff;}
label + input[data-val="true"], label + textarea[data-val="true"] {border: 1px solid #C00; /* Border on required fields */}
.field-validation-error { /* Validation error msgs */
  background: #ffebf0;
  color: #C00;
  border-color:#f99;
}
form li ul {
   border: 1px solid #ccc;
   margin: 0 10px;
}
/* ===== STRUCTURE ===== */
.formContainer form {
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.25);
    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"] {
    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;
}

/* 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   
==============*/


.InvSpecialFlag h3 {
	text-shadow: 1px 1px 1px #00z0;
	
	border-top: 1px solid #000;
	background-image: none;
background: #333333; /* Old browsers */
background: -moz-linear-gradient(top,  #333333 0%, #6d6d6d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(100%,#6d6d6d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #333333 0%,#6d6d6d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #333333 0%,#6d6d6d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #333333 0%,#6d6d6d 100%); /* IE10+ */
background: linear-gradient(to bottom,  #333333 0%,#6d6d6d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#6d6d6d',GradientType=0 ); /* IE6-9 */

}
.InvSpecialPrice { color: #039; }
/* -----------------------------------------
   CUSTOM
----------------------------------------- */
.center{text-align:center;}
#ShareThisContainer{margin:5px auto; width:170px !important;}

/* -----------------------------------------
   Media Queries
----------------------------------------- */


@media only screen and (max-width: 965px) {		
	/* anything below 965px */
.hdrContainer{background:#808284;}
}

@media screen and (min-width: 767px) and (max-width: 965px) {
    
	
	.row .nine.hdrNavAddress{width:100%}
    .row .three.hdrRoundel{width:30%}
    .hdrRoundel.columns{margin-left:70%;}
	
	#BMW_Header ul { position: relative; top: 0; }

    }

@media only screen and (max-width: 800px) {
	
	#HdrMobileMenu { display: block;
	}
	#hdrAddress a span { display: block; }
	
}
@media only screen and (max-width: 767px) {		
	/* anything below 767px */

	.welcomeHead, .hdrAddress, .hdrPhone{ text-align: center; }
    .hdrContainer{background:#808284;}
    #hdrAddress{text-align:right; margin-left: 0;}
	#HdrPhone { text-align: left; }
	#BMW_Header ul { position: inherit; }
    #BMW_Header {margin-top:10px;}
    #nav-container, .nav ul { display: none; border: 1px solid #fff; background: #929292; }
	#nav-container a, .nav a { padding: 0 8px; }
	#nav-container li, .nav li { display: block; text-align: left; float: none;}
	#nav-container li ul, .nav li ul { position: static; width: auto; }
	#nav-container li ul li a { width: auto; }

  footer { text-align: center; display:block;}
  footer .ftrSocials{ text-align: center;}
  .ftrLogo{ text-align: center;}
  footer .location1, footer .hours { margin-bottom: 10px; }
    .formcontainer form{box-shadow:none;margin-left:0}
    form input{display:block;float:none;width:100%}
    label + select{float:none}
}
@media only screen and (max-width: 480px) {    
	/* anything below 480px */
	.hdrRoundel.columns{margin-left:20%;}
  .formContainer form {box-shadow: none; margin: 0 auto 20px;  width: 100%;}
  input[type="submit"]{width:90%; margin: 10px auto 0;}	

}
@media only screen and (max-width: 320px) {    
	/* anything below 480px */
	.hdrRoundel.columns{margin-left:16%;}

}