/**
 * Theme Name: Foundation
 * Author: ZURB.Foundation
 * Author URI: http://foundation.zurb.com/
 * Version: 5.5.0
**/


/* -----------------------------------------
   WordPress Core Classes
----------------------------------------- */
.alignnone {margin: 0 1em 1em 0;}
.alignright {float:right; margin:0 0 1em 1em}
.alignleft {float:left; margin:0 1em 1em 0}
.aligncenter {display: block; margin-left: auto; margin-right: auto}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption img {
    border: 0 none;
    height: auto;

    padding: 0;
    width: auto;
}
.wp-caption.alignnone {margin: 0 1em 1em 0;}
.wp-caption.alignleft {float:left; margin:0 1em 1em 0}
.wp-caption.alignright {float:right; margin:0 0 1em 1em}

/* -----------------------------------------
   General fixes
----------------------------------------- */
#wpadminbar {
    opacity: 0.3;
    transition: 0.2s opacity linear;
    -webkit-transform: translateZ(0);
}
#wpadminbar:hover, 
#wpadminbar:focus{ opacity: 1; }
body {-webkit-font-smoothing: antialiased;}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=button] {	
    -webkit-appearance: none;
    -moz-appearance:none;
}
[class*="column"]+[class*="column"]:last-child{
    float: left;
}
/* Placeholder Styling */
::-webkit-input-placeholder { color: #d1d1d1; }
::-moz-placeholder { color: #d1d1d1; }
::-o-placeholder { color: #d1d1d1; }
:-ms-input-placeholder { color: #d1d1d1; }
input:-moz-placeholder { color: #d1d1d1; }

/* Input Styling */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea { /* STYLES GO THERE */ }
embed, iframe, object { max-width: 100%; }

/* Align Middle */
.align-middle {
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}


/* -----------------------------------------
   Typography
----------------------------------------- */
a:focus {outline:none;}
p:empty {display: none;}
body,h1,h2,h3,h4,h5,h6,p,a {font-family: 'Open Sans', sans-serif;}
h1,h2,h3,h4,h5,h6{font-weight: 400;}
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
body, p {color: #333333; font-size: 16px;}
a {color: #006f9e;}
a:hover {color: #dd042b;}
h1 {font-size: 30px;}
h2 {font-size: 26px;}
h3 {font-size: 22px;}
/* -----------------------------------------
    Clearfix
----------------------------------------- */
.clearfix:before, .clearfix:after {
    content: "\0020";
    display: block; 
    height: 0; 
    overflow: hidden;
}
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* ------------------------------------
    Slider
------------------------------------- */
#home-slider .slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    text-align: center;
    background: rgba(0, 0, 0, .6);
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    padding: 5px 10px;
}
#home-slider .slider-caption p,
#home-slider .slider-caption h3 {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.slider-caption h2 {
    font-size: 24px;
}

@media only screen and (max-width: 640px) {
    #home-slider .slider-caption{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        background: #000;
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
    }
    #home-slider .slick-prev, .slick-next{
        display: none !important;
    }
    #home-slider .slider-caption p{
        font-size: 12px;
        text-shadow: none;
        font-weight: 600;
    }

}
/* ------------------------------------
    Basic Styles
------------------------------------- */
body.mainpage{
    background: rgba(65,144,197,1);
    background: -moz-radial-gradient(center, ellipse cover, rgba(65,144,197,1) 0%, rgba(65,144,197,1) 15%, rgba(39,128,188,1) 88%, rgba(22,119,184,1) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(65,144,197,1)), color-stop(15%, rgba(65,144,197,1)), color-stop(88%, rgba(39,128,188,1)), color-stop(100%, rgba(22,119,184,1)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(65,144,197,1) 0%, rgba(65,144,197,1) 15%, rgba(39,128,188,1) 88%, rgba(22,119,184,1) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(65,144,197,1) 0%, rgba(65,144,197,1) 15%, rgba(39,128,188,1) 88%, rgba(22,119,184,1) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(65,144,197,1) 0%, rgba(65,144,197,1) 15%, rgba(39,128,188,1) 88%, rgba(22,119,184,1) 100%);
    background: radial-gradient(ellipse at center, rgba(65,144,197,1) 0%, rgba(65,144,197,1) 15%, rgba(39,128,188,1) 88%, rgba(22,119,184,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4190c5', endColorstr='#1677b8', GradientType=1 );
}
body.interiorpage{
    background: url(images/innerback.png);
    line-height: 1.2;
}
.wrapper{
    margin-top: 48px;
    border: 4px solid #999999;
    background: #fff;
    border-radius: 5px;
    max-width: 1100px;
}
.nopadcol{
    padding-left: 0;
    padding-right: 0;
}
.hentry p, .hentry{
    line-height: 1.2;
}
/* ------------------------------------
    Header Styles
------------------------------------- */
header{
    padding-top: 20px;
}
.homeheader{
    padding-top: 30px;
}
.homeheadermobile{
        display: none;
}
.interiorpage header{
    background-image:  url(images/headback.png);
    background-position: top right;
    background-repeat: no-repeat;
}
.homelogopos{
    text-align: center;
}
.leftheadpos{
    text-align: right;
}
.rightheadpos{
    text-align: left;
}
.leftheadpos p, .rightheadpos h1, p.headtext, .homeheadermobile h1{
    text-transform: uppercase;
    line-height: 36px;
    font-size: 26px;
    color: #888888;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 15px;
    padding-right: 15px;
    font-family: 'EB Garamond', serif;
    font-weight: 600;
}
.homeheadermobile h1{
    font-size: 25px;
}
p.headtext{
    padding-left: 0;
}
p.headtext.black{
    color: #333333;
}
#logo{
    transform: scale(1.2);
    margin-top: -40px;
}
.greyline{
    height: 40px;
    width: 100%;
    background: #eeeeee;
    margin-top: -20px;
}
.interiorpage #logo{
    transform: scale(1);
}
.interiorpage .greyline{
    margin-top: -20px;
}
nav.top-bar{
    float: right;
    padding-right: 0.9375em;
}
nav.top-bar a{
    line-height: 40px!important;
    color: #006f9e!important;
    font-weight: bold!important;
    font-size: 20px!important;
    background: none!important;
    padding-left: 30px!important;
    padding-right: 30px!important;
}
nav.top-bar a:hover, nav.top-bar li.current-menu-item a, .widget ul li.current-menu-item a{
    background: none!important;
    color: #dd042b!important;
}
nav.top-bar li:last-child a{
    padding-right: 0!important;
}

@media screen and (max-width: 1050px)
{
    .homeheader .leftheadpos p{
        margin-bottom: 25px;
        font-size: 20px;
        line-height: 24px;
    }
    .homeheader .rightheadpos h1{
        margin-bottom: 25px;
        font-size: 20px;
        line-height: 24px;
    }
}
@media screen and (max-width: 900px)
{
    .interiorpage .greyline{
        margin-top: 0;
    }
    nav.top-bar a{
        font-size: 18px!important;
    }
}
@media only screen and (max-width: 40em)
{
    .interiorpage header{
        background: none!important;
    }
    .wrapper{
        border: none;
        margin-top: 0;
    }
    nav.top-bar{
        float: none;
        padding-right: 0;
        width: 100%;
        background: transparent;
    }
    .interiorpage .greyline{
        height: auto;
    }
    .mainpage .greyline{
        margin-top: 0;
    }
    .top-bar.expanded .title-area, .top-bar-section ul li{
        background:  transparent;
    }
    .top-bar-section .menu-top-menu-container ul li:hover > a{
        background: #ccc!important;
    }
    .menu-icon span{
        color: #00709c;
        font-size: 33px;
        line-height: 33px;
    }
    .menu-icon span i{
        padding-right: 0.9375em;
    }
    .top-bar .toggle-topbar.menu-icon a span::after{
        display: none;
    }
    #logo{
        margin-top: 0;
    }
    header .small-9{
        padding: 0;
    }
    .leftheadpos p, .rightheadpos h1, p.headtext{
        font-size: 25px;
    }
    .homeheader{
        display: none;
    }
    .homeheadermobile{
        display: block;
    }
}
@media only screen and (max-width: 435px)
{
    .leftheadpos p, .rightheadpos h1, p.headtext, .homeheadermobile h1{
        font-size: 20px;
        line-height: 22px;
    }
}

/* ------------------------------------
    Content Styles
------------------------------------- */

ul.sidenav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 200px;
    background-color: #f1f1f1;
}

ul.sidenav li a {
    display: block;
    color: #000;
    padding: 8px 0 8px 16px;
    text-decoration: none;
}

/* Change the link color on hover */
ul.sidenav li a:hover {
    background-color: #555;
    color: white;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.homecolumn{
    margin-top: 40px;
}
.centerhome{
    text-align: center;
}
.homecolumn h2{
    font-weight: bold;
}
.homecolumn a{
    font-weight: bold;
}

.listings{
    margin-top: 10px;
}
.listings .bottomgreyline{
    margin-bottom: 20px;
    margin-top: 10px;
}
.listings h2{
    font-size: 26px;
    font-weight: bold;
    margin-top: 0;
}
.listings .large-3{
    margin-bottom: 20px;
}
.listimage{
    margin-bottom: 12px;
}
h3.listtitle{
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
}
.listteaserone{
    margin-bottom: 15px;
    font-size: 14px;
}
.listteasertwo{
    margin-bottom: 15px;
    font-size: 14px;
}
a.listlink{
    font-weight: bold;
}

.attachedgallery img{
    display: table;
}

p.imgcaption{
    font-size: 14px;
    line-height: 16px;
    margin-top: 5px;
}

.sidebar iframe{
    width: 100%;
}
.gform_wrapper .cform .top_label .gfield_label{
    display: none;
}
.cform ::-webkit-input-placeholder { /* WebKit browsers */
    color:    #333333;
}
.cform :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #333333;
   opacity:  1;
}
.cform ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #333333;
   opacity:  1;
}
.cform :-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #333333;
}
.textinput input, .textareainput textarea{
    padding-left: 12px!important;
    border: 1px solid #333333!important;
}
.selectinput select{
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 12px!important;
    border: 1px solid #333333!important;
    background-color: #fff;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
	width:100% !important;
}

.cform button{
    background: #006f9e!important;
    font-weight: bold;
    font-size: 16px!important;
    padding-left: 16px;
    padding-right: 16px;
    padding-top:  12px;
    padding-bottom: 12px;
}
.cform button:hover{
    background: #dd042b !important;
}
.cform button i{
    margin-left: 5px;
}



.details{
    margin-top: 20px;
}
.details h2{
    margin-bottom: 20px;
}
.onerowdet h3{
    font-size: 18px;
    font-weight: bold;
}
.detailtable{
    margin-top: 20px;
    padding-right: 0.9375em;
    padding-left: 0.9375em;
}
.detailtable table{
    width: 100%;
}
.detailtable table th{
    background: #eeeeee;
    border: 1px solid #333333;
    text-align: center;
}
.detailtable table th span{
    font-size: 12px;
}
.detailtable table td{
    background: #fff;
    border: 1px solid #333333;
    font-size: 12px;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
.tablelink{
    height: 14px;
    width: 14px;
    background: #006f9e;
    text-align: center;
    border-radius: 2px;
}
.tablelink i{
    color: #fff;
    -ms-transform: rotate(50deg);
    -webkit-transform: rotate(50deg);
    transform: rotate(50deg);
    display: inherit;
    font-size: 14px;
}
ul.threcolul{
    width : 100%;
    float: left;
}
.hentry ul li{
    font-size: 14px;
}
ul.threcolul li{
    float: left;
    width: 33.3%;
    font-size: 14px;
}


.anchor {
	float:right;
	margin-top:-45px;
	background: #006f9e!important;
	color: #fff !important;
    font-weight: bold;
    font-size: 16px!important;
    padding-left: 16px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
	transition: background-color 300ms ease-out;
}

.anchor:hover{
    background: #dd042b !important;
	color: #fff !important;
}

.anchor a {
    color: #fff;
}

@media screen and (max-width: 900px)
{
    ul.threcolul li{
        width: 50%;
    }
    .detailtable{
        overflow-x: scroll;
    }
}
@media screen and (max-width: 550px)
{
    ul.threcolul, ul.threcolul li{
        float: none;
        width: 100%;
    }
}
h3.wtitle{
    font-weight: bold;
}
.widget ul{
    margin-left: 0;
}
.widget ul li{
    list-style-type: none;
    list-style-position: outside;
}
.sidebar{
    padding-top: 10px;
}
.sidebar .widget_nav_menu ul li a:after{
    content: "\f0a9";
    font-family:'FontAwesome';
    padding-left: 5px;
}

.slidingmenus p{
    margin-bottom: 0;
}
ul.childmenu{
    margin-left: 20px;
    margin-bottom: 0;
}




table.sl_header{
    margin-bottom: 30px!important;
}

button.submitmap{
    background: 
}

button.submitmap{
    background: #006f9e!important;
    font-weight: bold;
    font-size: 16px!important;
    padding-left: 16px;
    padding-right: 16px;
    padding-top:  9px;
    padding-bottom: 9px;
    height: 37px;
}
button.submitmap:hover{
    background: #dd042b !important;
}
button.submitmap i{
    margin-left: 5px;
}

.sl_header ::-webkit-input-placeholder { /* WebKit browsers */
    color:    #333333;
}
.sl_header :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #333333;
   opacity:  1;
}
.sl_header ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #333333;
   opacity:  1;
}
.sl_header :-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #333333;
}
#searchForm #addressInput{
    padding-left: 10px!important;
    background:none!important;
    border:1px solid #585858!important;
}
#searchForm select{
    background-color: #fff;
    background-image: url(images/selectarrow)!important;
    background-size: contain;
    border:1px solid #585858;
}
.sl_header tr.even, .sl_header tr.alt, .sl_header tr:nth-of-type(even){
    background: #fff!important;
}
#sl_div #sl_map{
    border: 2px solid #333333;
}
#cm_mapTR{
    border-top: 4px solid #333333!important;
    background: #fff!important;
}
#map_sidebar .results_entry{
    padding: 0;
    border-bottom: none!important;
    background: #f6f6f6;
}
#map_sidebar .results_entry:hover{
    background: none;
}
#map_sidebar .results_entry table.searchResultsTable tr td{
    border: 1px solid #333333!important;
    float: none!important;
    border-top: 0!important;
    font-family: 'Open Sans', sans-serif!important;
    font-size: 14px!important;
    line-height: 18px;
    padding: 10px!important;
    vertical-align:middle!important;
}
.searchResultsTable td.results_row_left_column, .searchResultsTable td.results_row_right_column{
    
}
.results_row_right_column a.storelocatorlink{
    color: #006f9e!important;
}
#sl_div td a.storelocatorlink{
    color: #333333;
}
.results_row_left_column .location_name{
    font-weight: normal!important;
    font-family: 'Open Sans', sans-serif!important;
}



.widget_dealer-locator select{
    border: 2px solid #c7c7c7;
    border-radius: 10px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    background-color: #f8f8f8;
    background-image: url(images/arrowstopdown.png);
    background-position: 95% 50%;
    background-size: 15px;
    padding-right:20px;
    margin-bottom: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 80%;
    margin-left: -2px;
}
.widget_dealer-locator button{
    background: transparent;
    color: #006f9e;
    padding: 0;
    padding-left: 5px;
}
.widget_dealer-locator button:hover{
    color: #dd042b;
}

.widget_dealer-locator a{
    display: inline-block;
}

/* ------------------------------------
   404 Styles
------------------------------------- */


.error {
margin-left: 40px;
margin-top: 10px;
}

/* ------------------------------------
    Footer Styles
------------------------------------- */
.bottomgreyline{
    width: 100%;
    height: 1px;
    background: #cfcfcf;
    margin-top: 35px;
}
footer .columns{
    margin-top: 20px;
}
footer .columns img{
    margin-bottom: 0;
}
footer .columns p{
    line-height: 18px;
}
footer, footer p{
    font-size: 14px;
}
footer .footbottom{
    background: #eeeeee;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0;
}
p.copyright{
    float: left;
    display: inline-block;
    margin-bottom: 0;
    font-size: 12px;
    margin-top: 2px;
}
.footbottom ul{
    list-style-type: none;
    margin: 0;
    float: right;
}
.footbottom ul li{
    display: inline-block;
}
.footbottom ul li a{
    color: #333333;
    padding-left: 12px;
    padding-right: 12px;
    border-right: 1px solid #333333;
    font-size: 12px;
    line-height: 14px;
}
.footbottom ul li:last-child a{
    padding-right: 0;
    border-right: none;
}