/* -----------------------------------------
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: #0184E8; text-decoration: none; }
a:hover { text-decoration: underline;}

/* HTML, BODY, OTHER STRUCTURES ///////////////////////////////////////////// */
html {
    height: 100%;
}
.html_item ul, .html_item li{list-style:none; margin:0px;}

body { 
  	background: url(https://s3.amazonaws.com/dom-cms/Site/7b0f8cf3-f805-4696-822f-84a7cc40b1d2/images/background/flag-background.jpg) center center no-repeat fixed;
  	/*background:url(http://s3.amazonaws.com/dom-cms/Site/6774e8a2-8fc9-43e3-995d-fba2dd587a6a/images/background/dark_wall.png) repeat 0 0;  
    background: #00152b;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#00152b), to(#003063));  
    background: -webkit-linear-gradient(top, #003063, #00152b);  
    background: -moz-linear-gradient(top, #003063, #00152b);    
    background: -ms-linear-gradient(top, #003063, #00152b);  
    background: -o-linear-gradient(top, #003063, #00152b); 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003063', endColorstr='#00152b');  
    background-attachment: fixed;*/
    font-size: 13px; 
    color: #444;
}

#SiteContainer { 
    max-width: 980px; 
    margin: 0 auto;
    background: #e9e9e9;
}

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

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

/* TYPOGRAPHY ///////////////////////////////////////////// */
ul, dl, ol { font-size: inherit; } /*ADJUST FONT-SIZE OF LIST-ITEMS*/
h1, h2, h3, h4 {font-family: Georgia, "Times New Roman", serif; color: #444; /*color: #b3d1f7;*/}

/* -----------------------------------------
Header
----------------------------------------- */
header ul, header li { margin: 0;}
header .container { 
    height: 182px; 
    background: #0450a8 url(http://s3.amazonaws.com/dom-cms/Site/7b0f8cf3-f805-4696-822f-84a7cc40b1d2/images/background/bg-header2.jpg) no-repeat 0 0; 
}
header .dealerLogo img { max-width: 225px; padding: 10px 0 0 60px;}
header .makeLogo {vertical-align: bottom; padding-left: 20px; color: #dbeafd;}

/* -----------------------------------------
NAVIGATION
----------------------------------------- */    
.navContainerItem { 
    z-index: 30; 
    position: relative; 
    background: #0450a8 url(https://s3.amazonaws.com/dom-cms/Site/7b0f8cf3-f805-4696-822f-84a7cc40b1d2/images/background/bg-nav2.jpg) no-repeat 0 0;
 }

 .navContainerItem.container { padding: 0px 10px; }

.nav, div.nav { z-index: 30; clear: both; margin: 0 auto; padding: 0; text-align: left; width: auto; height: auto; border: none; background: 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; line-height: 32px; zoom: 1; /*added*/}
#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: 0 8px; width: auto; color: #fff;}
#nav-container a:hover { color: #b3d1f7; }
#nav-container li, .nav li { display: block; position: relative; float: left; margin: 0; padding: 0; text-transform: none;}
#nav-container li:hover, .nav li:hover{ background: none; color: #fff; text-shadow: none;}
#nav-container li img { display: block; margin: 0; } 
#nav-container li ul, .nav li ul { z-index: 32; line-height: normal; padding: 0; position: absolute; background: #0184E8; width: 180px; display: none; border: none;}
#nav-container li ul li, .nav li ul li { text-indent: 0; width: 100%; background: none; border-bottom: 1px dotted #014f8a;}
#nav-container li ul li:last-child, .nav li ul li:last-child {border-bottom: none; }
#nav-container li ul li a { font-family: arial, sans-serif; color: #fff; font-weight: bold; text-align: left; padding: 8px 12px; font-weight: bold; text-decoration: none; text-transform: none; }
#nav-container li ul li a:hover { text-decoration: none; background:#144aa2; color: #fff; }
#nav-container li ul ul, .nav li ul ul {  left: 0px; margin: -23px 0 0 95px; border: 1px solid #000; background: rgba(0, 21, 43, .75); }
#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; }


/*==============
  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: #0453aa; 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: 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"] {
    border: none;
    border-radius: 4px;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.25);
    clear: both;
    cursor: pointer;
    font-size: 18px;
    margin: 20px 20% 0;
    padding: 6px 25px 8px;
    text-shadow: 0 1px 0px rgba(0, 0, 0, 0.50);
    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;}

#ProfileShortfrm > label {text-shadow:none !Important; color:#000 !Important;}
/*==============
  END OF FORM   
==============*/


/* -----------------------------------------
Media Queries
----------------------------------------- */
@media only screen and (max-width: 968px) {    
    #nav-container, #nav-container ul { font-size: 11px; }
    #nav-container a, .nav a {
        padding: 0px 8px;
    }
}


@media only screen and (max-width: 768px){
    .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: 767px) {   
/* anything below 767px */

#mobileNav { 
    display: block; 
    width: 38px;
    height: 38px;
    background: url(http://s3.amazonaws.com/dom-cms/Site/6774e8a2-8fc9-43e3-995d-fba2dd587a6a/images/icons/icon-menu.png) no-repeat 0 0;
    margin: 10px auto 0;
}

#mobileNav span { 
    font-size: 0;
}

header .dealerLogo, header .makeLogo { text-align: center; }

header .dealerLogo img {
    padding: 20px 0 0 0;
}

 #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: #000; 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: #202020; }
    #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;}

    .location1 { margin-bottom: 10px; margin-top: 10px; }

    header .DealerAddress {padding-bottom: 10px;}
    header .salesPhone { padding: 0;}
}


@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 .container {
    background: #296ca8;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#296ca8), to(#358DDB));  
    background: -webkit-linear-gradient(top, #358DDB, #296ca8);  
    background: -moz-linear-gradient(top, #358DDB, #296ca8);    
    background: -ms-linear-gradient(top, #358DDB, #296ca8);  
    background: -o-linear-gradient(top, #358DDB, #296ca8); 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#358DDB', endColorstr='#296ca8');  
    height: 152px;
    }
    .makeLogo {display: none;}
}