/* -----------------------------------------
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 ///////////////////////////////////////////// */
body { 
background: #d6d6d6;
    background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#d6d6d6)); /* webkit */
    background: -moz-linear-gradient(top,  #f4f4f4,  #d6d6d6); /* FF */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#d6d6d6'); /* IE */
    font-size: 13px; 
    color: #222;
}
#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  {
   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: Georgia, "Times New Roman", serif;}

.html_item ul li {
    list-style: none outside none;
    margin-bottom: 4px;
}

/* -----------------------------------------
Header
----------------------------------------- */
header ul, header li { margin: 0;}
header .address, header .address a { font-family: Georgia, "Times New Roman", serif; text-align: right; padding: 10px 0; position: relative; color: #fff; font-size: 1.5rem;}
header .sales { clear:both; }
header .salesPhone, header .salesPhone a { font-size: 2.65rem; padding: 12px 0 8px;}
header .container { padding: 0 20px 0 0; 
    background: #0450a8 url(http://s3.amazonaws.com/dom-cms/Site/6774e8a2-8fc9-43e3-995d-fba2dd587a6a/images/background/Lawley_header.png) no-repeat 0 0; 
}
header .social-icons li {display: block; float:right; width: 38px; margin-left: 5px; margin-bottom: 8px;}
header .social-icons li.youtube {width: 67px;}


/* -----------------------------------------
NAVIGATION
----------------------------------------- */    
.navContainerItem { 
    z-index: 30; 
    position: relative; 
    background: #dadada;
    background: -webkit-gradient(linear, left top, left bottom, from(#dadada), to(#f1f1f1)); /* webkit */
    background: -moz-linear-gradient(top,  #dadada,  #f1f1f1); /* FF */
    border-bottom: 1px solid #E5E5E5;
 }

.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 10px; margin: 0 auto; list-style-type: none; z-index: 31; position: relative; font-size: 12px; 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 { font-family: arial, sans-serif; display: block; text-transform: uppercase; padding: 0 10px; width: auto; color: #0184E8;}
#nav-container a:hover { color: #666; }
#nav-container li, .nav li { display: block; position: relative; float: left; margin: 0; padding: 0;}
#nav-container li:hover, .nav li:hover{ background:#e5e5e5; color: #666; 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: #e8e8e8; 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 #cdcdcd;}
#nav-container li ul li:last-child, .nav li ul li:last-child {border-bottom: none; }
#nav-container li ul li a { color: #000; text-align: left; padding: 6px 8px; text-decoration: none; text-transform: none; }
#nav-container li ul li a:hover { text-decoration: none; background:#0184E8; 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; }


#mobileNav { display: none; }


/* -----------------------------------------
FOOTER
----------------------------------------- */
footer { 
    background: #f4f4f4;
    background: -webkit-gradient(linear, left top, left bottom, from(#d6d6d6), to(#f4f4f4)); /* webkit */
    background: -moz-linear-gradient(top,  #d6d6d6,  #f4f4f4); /* FF */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d6d6d6', endColorstr='#f4f4f4'); /* IE */
    padding: 8px; color: #666; }

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

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

footer h4 {
    font-size: 1.25rem;
    color: #5b5b5b;
}



/*==============
  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 : 980px) {
    #nav-container a, .nav a { text-transform: none;}
}

@media only screen and (max-width : 860px) {
    #nav-container a, .nav a { padding: 0 6px;}
}


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

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

#mobileNav span { 
    font-size: 0;
}

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

 header .social-icons { 
    width: 220px;
    margin: 0 auto;
  }

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

    footer { font-size: 1.4rem; }
    #footerPhone { font-weight: bold; } 

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

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:#454545!important;
}

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




