/* -----------------------------------------
GLOBAL ITEMS
----------------------------------------- */
/* EFFECTS */
.position {
    position:relative;
    top:0;
}
.position:hover {
    position:relative;
    top:-8px;
}

.shadow:hover {     
    -webkit-box-shadow: -4px 4px 8px #7c94b0;/* WebKit */
       -moz-box-shadow: -4px 4px 8px #7c94b0;/* Firefox */
         -o-box-shadow: -4px 4px 8px #7c94b0;/* Opera */
            box-shadow: -4px 4px 8px #7c94b0;/* Standard */
}

.transition {  
    -webkit-transition: all .5s ease;/* WebKit */
       -moz-transition: all .5s ease;/* Firefox */
         -o-transition: all .5s ease;/* Opera */
            transition: all .5s ease;/* Standard */             
}

/* DDS LOGO AT BOTTOM OF SITES ///////////////////////////////////////////// */
div.ddsLogoProvider, .ddsLogoProvider a { text-align: right; margin: 10px 0; text-decoration: none; font-size: 10px; font-size: 1.0rem; color: #fff !important; }
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: #3a90d1; text-decoration: none; }
a:hover { text-decoration: underline;}

/* HTML, BODY, OTHER STRUCTURES ///////////////////////////////////////////// */
body { 
    font-family: 'PT Sans', arial, sans-serif; 
    font-weight: 400;
    font-size: 13px;
    letter-spacing: .2px;
    color: #08090c;
}

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

#main {
    /*background: rgba(255, 255, 255, 0.5);*/
    background: #fff;
    -moz-box-shadow: 0px -2px 6px #91a6bd;
    -webkit-box-shadow: 0px -2px 6px #91a6bd;
    box-shadow: 0px -2px 6px #91a6bd;
}

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

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

/* TYPOGRAPHY ///////////////////////////////////////////// */
ul, dl, ol { font-size: inherit; } /*ADJUST FONT-SIZE OF LIST-ITEMS*/
h1, h2, h3, h4 {font-family: 'Crimson Text', Arial, serif; font-weight: 600;}

.ptSansRegular {font-family: 'PT Sans', arial, sans-serif; font-weight: 400;}
.ptSansBold {font-family: 'PT Sans', arial, sans-serif; font-weight: 700;}


/* -----------------------------------------
Header
----------------------------------------- */
header .container { background: transparent; padding: 0;}
header ul, header li { margin: 0; list-style: none;}

header .address { padding-top: 20px;}
header .salesPhone, header .salesPhone a, header .mapLink, header .mapLink a { color:#08090c; font-size: 16px; font-size: 1.6rem; line-height: 1; text-decoration: none;}
header .address .mapLink { line-height: 2.0;}
header .address .mapLink:hover { color: #333;}
header .address .salesPhone { display: inline-block; white-space: nowrap; margin-left: 20px; }
header .address .salesPhone:first-child { margin-left: 0;}
header .address .salesPhone .phone { font-size: 20px; font-size: 2rem;}

header .hdrLogos { padding-top: 10px;}
header .dealerLogo img { max-width: 270px;}
header .makeLogo { margin-left: 15px;}
header .makeLogo img { margin-bottom: 10px; max-width: 95px;}


.topNav { 
    height: 32px; line-height: 32px; font-size: 10px; font-weight: bold; text-transform: uppercase; overflow: hidden; margin-bottom: 10px; background: rgba(255, 255, 255, 0.3);
    -moz-border-radius:0px 0px 4px 4px;
    -webkit-border-radius:0px 0px 4px 4px;
    border-radius:0px 0px 4px 4px;
}
.topNav ul { margin: 0; padding: 0; }
.topNav li { display: block; float: right; text-align: center; margin-left: 5px;}
.topNav li img { position: relative; top: 5px; margin: 0 2px;  }    
.topNav li a { color: #fff; display: block; width: auto; height: 100%; padding: 0 15px; }
.topNav li a:hover { text-decoration: none; background: #e5f1ff; }

.topNav li.mobileNav {  }
.topNav li.homeNav {  }
.topNav li.contactNav {  }     
.topNav li.directionNav {  }

  

/* -----------------------------------------
NAVIGATION
----------------------------------------- */    
.navContainerItem { z-index: 30; position: relative; background: #08090c url(https://s3.amazonaws.com/dom-cms/Site/964f1e93-98b4-4231-ac87-b99104c16f84/images/background/navBkg.jpg) repeat-x 0 0; }

.nav, div.nav { font-family: 'PT Sans', arial, sans-serif; font-weight: 400; 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: 35px; 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; text-transform: uppercase; padding: 0 18px; width: auto; color: #fff}
#nav-container a:hover { background: #08090c; color: #fff; }
#nav-container li, .nav li { display: block; position: relative; float: left; margin: 0; padding: 0;}
#nav-container li:hover, .nav li:hover{ background:#08090c; 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: #08090c; width: 180px; display: none; border: none;}
#nav-container li ul li, .nav li ul li { text-indent: 0; width: 100%; background: none; border: none;}
#nav-container li ul li:last-child, .nav li ul li:last-child {border-bottom: none; }
#nav-container li ul li a { color: #fff; font-weight: normal; text-align: left; padding: 8px 12px; text-decoration: none; text-transform: none; }
#nav-container li ul li a:hover { background: #3a90d1; text-decoration: none; color: #fff; }
#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; }


/* -----------------------------------------
FOOTER
----------------------------------------- */
footer { 
    background: #f6f8fb;
    background: -webkit-gradient(linear, left top, left bottom, from(#d6e1ef), to(#f6f8fb)); /* webkit */
    background: -moz-linear-gradient(top,  #d6e1ef,  #f6f8fb); /* FF */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d6e1ef', endColorstr='#f6f8fb'); /* IE */
    padding: 8px; 
    color: #5e6f88;
     -moz-box-shadow: 0px -2px 6px #91a6bd;
    -webkit-box-shadow: 0px -2px 6px #91a6bd;
    box-shadow: 0px -2px 6px #91a6bd; 
    font-size: 85%;
}

footer h4, footer h5, footer h6 { font-style:normal; }

footer .hours, footer .location1 { margin-bottom: 10px; }
footer a, footer a:active, footer a:visited { color: #5e6f88; text-decoration: none;}
footer a:hover { text-decoration: underline; }

footer h4 {
    font-size: 1.25rem;
    color: #6a788d;
}



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

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



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


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

@media only screen and (min-width: 481px) {    
   body { 
    background: #91b4dc url(https://s3.amazonaws.com/dom-cms/Site/964f1e93-98b4-4231-ac87-b99104c16f84/images/background/bgSkyGrass.jpg) repeat-x fixed center bottom;
  }
}

@media only screen and (max-width: 980px) {    
   header .container { padding: 0 0px;}
}

@media only screen and (max-width: 800px) {
    header .dealerLogo img { max-width: 250px;}
    header .makeLogo img { max-width: 55px;}   
   
}

@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) {   

header .address {clear: both;}
/*header .address .mapLink { line-height: 1;}*/
footer .three.columns:last-child {
    float: left !important;
}


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

}


@media only screen and (max-width: 480px) {
    body { 
    background: #91b4dc;
    }

    div.ddsLogoProvider, .ddsLogoProvider a { color: #333; }
   span.ddsLogoProvider {background: url(https://s3.amazonaws.com/dom-cms/GlobalImages/dds-logo-dk.png) no-repeat 0 0; }

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

    header .dealerLogo img {
    max-width: 200px;
    }

    header .makeLogo {
    margin-left: 0;
    }

    header .makeLogo img {
    max-width: 40px;
    }

    header .sales {
        text-align: center;
    }

}

@media only screen and (max-width: 360px) {    
  .formContainer form {box-shadow: none; margin: 0 auto 20px;  width: 100%;}
  input[type="submit"]{width:90%; margin: 10px auto 0;}

    header .address, header .hdrLogos {
        text-align: center;
    }
}