/*
 Theme Name:   Dealer Child
 Theme URI:    https://www.designstudio.com/
 Description:  Dealer Theme Child Theme
 Author:       Design Studio
 Author URI:   https://www.designstudio.com/
 Template:     dealer-theme
 Version:      1.3.0
*/

/* CUSTOM CSS */
@font-face {
    font-family: 'prelomedium';
    src: url('dist/fonts/prelo-medium-webfont.woff2') format('woff2'),
         url('dist/fonts/prelo-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
section h3:first-of-type,
.home .perfect_quiz .gform_wrapper h3.gform_title,
.home .collection-video-reviews h2.title,
footer.footer2 h2 {
    font-family: prelomedium;
    font-size: 2.5em;
    line-height: normal;
}
.custom-button,
.home .gform_wrapper .gform_page_footer .button.gform_previous_button, 
.home .gform_wrapper .gform_page_footer .button.gform_next_button {
    background: #f57955 none repeat scroll 0 0;
    color: #fff !important;
    display: inline-block;
    font-family: prelobold;
    font-size: 24px;
    margin-top: 0.8em;
    padding: 0.4em 2.5em;
}
.content-container h2 {
    font-family: prelomedium;
    font-size: 2.5em;
    line-height: normal;
    margin-bottom: 0.8em;
    text-transform: uppercase;
}

.anchor-links-bar a {
    color: #ffffff !important;
}
.content-container p,.home section .general-block-inner > p {
    color: #4c4c4c;
    font-size: 22px;
    line-height: normal;
}
strong, b {
    font-family: prelosemibold;
    font-weight: bold;
}

/* HEADER CUSTOM CSS */
.header5 nav.utilities {
    box-shadow: none;
}
.header5 .util_left_nav {
    float: left;
    width: 50%;
}
.header5 .util_right_nav {
    float: right;
    width: 50%;
}
.header5 .utilities ul.left-menu {
    text-align: left;
    top: 0;
}
.header5 .utilities ul.right-menu {
    text-align: right;
    top: 0;
}
.header5 .utilities .util_left_nav .themenu {
    display: inline-block;
}
.header5 .utilities .util_right_nav .themenu {
    display: inline-block;
    float: right;
}
.header5 .utilities ul.left-menu, .header5 .utilities ul.right-menu {
    width: auto;
}
.header5 .utilities .util_left_nav .themenu {
    height: 25px;
}
.header5 .utilities ul li, .header5 .utilities ul li:first-of-type {
    border: medium none;
}
.header5 .utilities ul li a, .header5 .utilities ul li a:hover {
    color: #ffffff;
    font-family: prelomedium;
    font-size: 1.2em;
    padding: 0.2em 1.2em 0;
}
.header5 .utilities .phone-number {
    color: #fff;
    display: inline-block;
    font-family: prelomedium;
}
.phone-number a {
    color: #fff!important;
}
.header5 .global.nav ul.main.nav li a {
    font-family: prelosemibold;
    font-size: 1.2em;
    font-weight: normal;
    text-transform: uppercase;
    padding: 3em 1em 0;
}
.header5 .global.nav ul.main.nav li ul li a {
    font-size: 1em;
}
.header5 header h1 a img {
    margin: 0.7em auto;
    width: auto;
    right: 0;
}
.header5 nav.global ul li ul {
    min-width: 250px;
}
.header5 nav.global ul li:hover ul li ul {
    left: 100%;
    position: absolute !important;
    top: 0;
    display: none;
}

.header5 .desktop .global .main:nth-child(3) ul li ul {
	left: -100% !important;
}

.header5 ul.main.nav ul li:hover > ul:first-of-type {
    display: block !important;
    padding-left: 0;
}
.home .video-header .overlay {
    background-image: url("dist/img/video-bottom-curve.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
}
.video-header .overlay .container .the-content, .img-pan .overlay .container .the-content {
    bottom: 10em;
}
.video-header .overlay .container .the-content h3, .img-pan .overlay .container .the-content h3 {
    bottom: 1.8em;
    font-family: prelosemibold;
    font-size: 3.5em;
    left: 0;
    max-width: 100%;
    right: 0;
    text-align: center;
}
.video-header .overlay .container .the-content .the-links, .img-pan .overlay .container .the-content .the-links {
    bottom: 1em;
    padding-right: 0;
    width: 100%;
}
.video-header .overlay .container .the-content a, section.img-pan .the-content a {
    display: inline-block;
}
.home .video-header .overlay .container .the-content .the-links a:first-child,
.home section.aspot.img-pan .the-content .the-links a:first-child {
    position: relative;
    right: 10px;
}
.home .video-header .overlay .container .the-content .the-links a:last-child {
    left: 10px;
    position: relative;
}
.home .video-header .overlay .container .the-content a, section.img-pan .the-content a {
    background-color: #f57955;
}
.home .video-header .overlay .container .the-content a, .home section.img-pan .the-content a {
    font-family: prelobold;
    font-size: 1.8em;
    line-height: 30px;
    padding: 0 2em 0.9em;
    width: 250px;
    text-align: center;
}
.home section.aspot.img-pan .the-content .the-links {
    text-align: center;
}

/* HOME CUSTOM CSS */
.general.block.section-block.WLA_bspot_section .gb-header {
    position: absolute;
}
.general.block.section-block.WLA_bspot_section div.gb-header div.overlay {
    z-index: 0 !important
}
.general.block.section-block.WLA_bspot_section .gblocks.wrapper {
    padding: 16em 0 4em;
}
.general.block.section-block.WLA_bspot_section .gblocks .general-block {
    padding: 0 0.8em;
}
.general.block.section-block.WLA_bspot_section .gblocks .general-block-inner img {
    padding: 0;
    -webkit-transition: all 2s ease 0s;
    -moz-transition: all 2s ease 0s;
    transition: all 2s ease 0s;
    width: 100%;
}
.general.block.section-block.WLA_bspot_section .general-block-inner:hover .imgwithtitletop img,
.general.block.section-block.WLA_bspot_section .general-block-inner:hover .imgwithtitle img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
}
.general.block.section-block.WLA_bspot_section .imgwithtitletop,
.general.block.section-block.WLA_bspot_section .imgwithtitle {
    border: 2px solid #fff;
    overflow: hidden;
    position: relative;
}
.general.block.section-block.WLA_bspot_section .imgwithtitletop h3,
.general.block.section-block.WLA_bspot_section .imgwithtitle h3 {
    background-color: #1895df;
    font-family: prelosemibold;
    font-size: 1.5em;
    padding: 0.6em 0;
    z-index: 99;
}
.general.block.section-block.WLA_bioguard_dealer .general-block-0 img {
    margin-top: -2em;
    padding: 0;
}
.general.block.section-block.WLA_bioguard_dealer .general-block-0 {
    padding-left: 0;
}
.general.block.section-block.WLA_bioguard_dealer .general-block-1 .general-block-inner {
    margin-top: 5em;
    max-width: 600px;
}
.general.block.section-block.WLA_bioguard_dealer .general-block-1 .general-block-inner h3 {
    text-align: left;
}
.general.block.section-block.WLA_services {
    background-attachment: fixed;
    background-image: url("dist/img/services-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.general.block.section-block.WLA_services .gb-header {
    background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
    float: left;
    width: 100%;
    padding: 5em 0;
}
.general.block.section-block.WLA_services .custom {
    margin: 0 auto;
    max-width: 800px;
}
.general.block.section-block.WLA_services .custom h2 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 0.8em;
    text-align: center;
    text-transform: uppercase;
}
.general.block.section-block.WLA_services .custom p {
    color: #fff;
    font-size: 22px;
    line-height: normal;
}
.general.block.section-block.WLA_services .custom ul li {
    color: #fff;
    float: left;
    font-size: 22px;
    width: 50%;
}
.general.block.section-block.WLA_test_soak .general-block-0 .general-block-inner {
    float: right;
    max-width: 620px;
    padding: 2em 0 3em;
    position: relative;
    z-index: 99;
}
.general.block.section-block.WLA_test_soak .general-block-1 img {
    margin-top: -8.5em;
    padding: 0;
    position: absolute;
    right: 0;
    width: 65%;
}
.general.block.section-block.WLA_test_soak .general-block-1 {
    padding-right: 0;
}
.general.block.section-block.WLA_test_soak .general-block-0 .general-block-inner h3 {
    text-align: left;
}
.general.block.section-block.WLA_test_soak .custom-button:last-child {
    padding: 0.4em 1em;
    margin-left: 20px;
}
.home .perfect_quiz .inner {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}
.home .perfect_quiz ul.gform_fields.top_label li h3 {
    font-family: prelolight;
    text-transform: capitalize;
    font-size: 1.5em;
    margin-bottom: 1em;
}
.home .perfect_quiz .gform_column li ul li label {
    font-size: 20px;
}
.home .perfect_quiz .gchoice_68_4_0, 
.home .perfect_quiz .gchoice_68_4_1, 
.home .perfect_quiz .gchoice_68_4_2, 
.home .perfect_quiz .gchoice_68_4_3,
.home .perfect_quiz #input_68_13 {
    max-width: 200px;
    padding-left: 10px;
}
.home .perfect_quiz .gform_wrapper .gform_page_footer .button.gform_button, 
.home .gform_wrapper .gform_page_footer .button.gform_next_button {
    font-family: prelobold;
    font-size: 24px;
    padding: 0.4em 2.5em;
}
.home .perfect_quiz #input_68_31 {
    max-width: 220px;
}
.home .collection-video-reviews {
    background: transparent none repeat scroll 0 0;
}
.home .collection-video-reviews h2.title {
    color: #333333;
    text-transform: uppercase;
}
.home .collection-video-reviews .quote-section blockquote p {
    color: #333;
    font-size: 20px;
} 
.home .collection-video-reviews .quote-section p.quote-author {
    color: #333;
    font-size: 22px !important;
    font-style: normal !important;
}
.home .collection-video-reviews .quote-section p.quote-author:before {
    content: "- ";
}
.home .collection-video-reviews .quote-section .left-quote,
.home .collection-video-reviews .quote-section .right-quote {
    margin-top: 8%;
    padding: 0 !important;
}

/* FOOTER CUSTOM CSS */
footer.footer2 {
    padding: 50px 0 0;
}
footer.footer2 h2 {
    text-transform: uppercase;
}
footer.footer2 .gencontent-wrap {
    padding: 2em 1em;
}
footer.footer2 .maps > p {
    text-align: center;
    line-height: normal;
}
footer.footer2 .gencontent h3 {
    font-family: prelosemibold;
    font-size: 24px;
}
footer.footer2 .gencontent p {
    font-size: 20px;
    margin-bottom: 15px;
}

footer.footer2 nav {
    height: 70px;
}
footer.footer2 nav ul {
    height: 70px;
    max-width: 1400px;
}
footer.footer2 nav ul li a {
    color: #333 !important;
    font-family: prelosemibold;
    font-size: 1.4em;
    height: 70px;
    padding: 0.8em;
}
footer.footer2 nav ul li:first-of-type {
    border-left: medium none;
}
footer.footer2 nav ul li {
    border-right: medium none;
    height: 70px;
}
footer.footer2 div.social-button .social-icon {
    background: transparent none repeat scroll 0 0;
    font-family: fontawesome;
    font-size: 30px;
}
footer.footer2 div.social-button .facebook-social::after {
    content: "\f09a";
}
footer.footer2 div.social-button .twitter-social::after {
    content: "\f099";
}
footer.footer2 div.social-button .youtube-social::after {
    content: "\f16a";
}
footer.footer2 .gmap {
    border-radius: 0;
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
}
.footer2 iframe#map,.footer2 div#map-overlay {
    border-radius: 0;
}
.footer2 iframe#map {
    top: 0;
}
.footer2 div.copy.social p {
    font-size: 20px;
    padding-top: 0;
}
.footer2 div.copy.social {
    padding: 1em;
}
.footer2 .content-wrapper .gencontent-wrap a:hover {
    color: #ffff00 !important;
}

/* CUSTOM MOBILE CSS */
div.mobile.nav #nav-toggle span, div.mobile.nav #nav-toggle span::before, div.mobile.nav #nav-toggle span::after {
    background: #f57955 none repeat scroll 0 0;
}
div.mobile.nav nav.mobile.nav {
    background-color: rgba(36, 140, 202, 0.95);
}
div.mobile.nav ul li a {
    color: #ffffff !important;
	text-align: left;
	padding-left: 1em;
}
.header5 .mobile .cart-search-combo {
    display: inline-block;
    position: relative;
    width: 90%;
    float: right;
}
.mobile-header-search {
    width: 100%;
}
.mobile-header-search input {
    background-position: 5px 7px;
    float: none;
    padding: 2px 2px 2px 28px;
    width: 75%;
}
div.mobile.nav ul li a:hover {
    color: #333 !important; 
}
div.mobile.nav ul ul.sub-menu {
    display: none;
}

/* CUSTOM MEDIA CSS */
@media only screen and  (min-width:1600px) {
.general.block.section-block.WLA_bioguard_dealer .general-block-1 .general-block-inner {
    margin-top: 6em;
}
}
@media only screen and  (max-width:1300px) {
    .general.block.section-block.WLA_test_soak .general-block-1 img {
        bottom: 0;
    }
    footer.footer2 nav ul li a {
        font-size: 1.2em;
        padding: 1em 0.8em;
    }
}
@media only screen and  (max-width:1200px) {
    .header5 .utilities ul li a, .header5 .utilities ul li a:hover {
      font-size: 1em;
      padding: 0.4em 1.2em 0;
    }
    .header5 .utilities .phone-number {
        font-size: 1em;
    }
    .general.block.section-block.WLA_bspot_section .imgwithtitletop h3 {
        font-size: 1.2em;
    }
    .header5 .global.nav ul.main.nav li a {
        padding: 3em 0 0;
    }
    .general.block.section-block.WLA_bioguard_dealer .general-block-1 .general-block-inner {
        margin-top: 1em;
    }
    footer.footer2 nav ul li a {
        padding: 1.2em 0.6em;
        font-size: 1.1em;
    }
}
@media only screen and  (max-width:1024px) {
    .video-header .overlay .container .the-content {
        left: 0;
        padding: 0 1em;
        width: 100%;
    }
    .video-header .overlay .container .the-content h3, .img-pan .overlay .container .the-content h3 {
        font-size: 3em;
    }
    .general.block.section-block.WLA_bspot_section .gblocks .general-block {
        padding: 1em 0.8em;
    }
    .general.block.section-block.WLA_bspot_section .imgwithtitletop h3 {
        font-size: 1.4em;
    }
    .general.block.section-block.WLA_test_soak .custom-button:last-child {
        margin-left: 0;
    }
    .general.block.section-block.WLA_bspot_section .gb-header {
        background-position: 100% center;
    }
}
@media only screen and  (max-width:960px) {
    footer.footer2 nav,footer.footer2 nav ul {
        height: auto;
    }
}
@media only screen and  (max-width:767px) {
    .general.block.section-block.WLA_bioguard_dealer article,
    .general.block.section-block.WLA_test_soak article,
    .general.block.section-block.WLA_services .custom ul li {
        width: 100%;
    } 
    .general.block.section-block.WLA_services .custom {
        padding: 0 1em;
    }
    .general.block.section-block.WLA_bioguard_dealer .general-block-1 .general-block-inner {
        margin-top: 5em;
        max-width: 100%;
    }
    .general.block.section-block.WLA_test_soak .general-block-0 .general-block-inner {
        max-width: 100%;
    }
    .general.block.section-block.WLA_test_soak .general-block-1 img {
        margin-top: -5em;
        position: relative;
        width: 100%;
    }
}
@media only screen and  (max-width:560px) {
    .home .video-header .overlay .container .the-content h3, .home section.aspot.img-pan .the-content h3 {
        font-size: 2.5em;
    }
    .home .video-header .overlay .container .the-content .the-links a:first-child,
    .home section.aspot.img-pan .the-content .the-links a:first-child {
        right: 0;
    }
    .home .video-header .overlay .container .the-content .the-links a:last-child,
    .home section.aspot.img-pan .the-content .the-links a:last-child {
        left: 0;
    }
    .home .video-header .overlay .container .the-content a, .home section.img-pan .the-content a,
    .home section.aspot.img-pan .the-content a {
        display: inline-block;
        width: 150px;
        padding: 0 0 0.9em;
    }
    .general.block.section-block.WLA_bspot_section .gblocks.wrapper {
        margin-top: -10em;
    }
    .content-container h2,section h3:first-of-type, .home .perfect_quiz .gform_wrapper h3.gform_title, .home .collection-video-reviews h2.title, footer.footer2 h2 {
        font-size: 2em;
        line-height: normal;
    }
    .custom-button, .home .gform_wrapper .gform_page_footer .button.gform_previous_button, .home .gform_wrapper .gform_page_footer .button.gform_next_button {
        font-size: 20px;
    }
    .home .video-header .overlay .container .the-content a .front, 
    .home .video-header .overlay .container .the-content a .back,
    .home section.aspot.img-pan .the-content a .front,
    .home section.aspot.img-pan .the-content a .back {
        font-size: 22px;
    }
}

@media only screen and  (max-width:400px) {
    .home .video-header .overlay .container .the-content h3, .home section.aspot.img-pan .the-content h3 {
        font-size: 2em;
    }
    .home section.aspot.img-pan .the-content {
        bottom: 20px;
    }
}


@media only screen and (min-width: 1024px){
	.header5 .global.nav ul li.menu-item-has-children.active > ul:first-of-type{
		display: none !important; 
    	padding-left: 0em; 
	}	
	.header2 h1 {
		background-size: contain;
		background-repeat: no-repeat;
		height: 50px;
	}
	.header2 ul.main.nav li.mega-menu:hover .sub-menu {
  display: flex;
  width: max-content;
  right: 0;
  position: absolute;
}
	
	.header2 ul.main.nav li.mega-menu ul ul {
		display: block !important;
  position: relative !important;
  width: 100%;
  margin: 0 !important;
  top: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
	.header2 ul.main.nav > li.mega-menu > .sub-menu  {
	box-shadow: 0px 0px 6px 0px #eee;
		padding: 1.5em;
}
	.header2 ul.main.nav li.mega-menu ul ul li a, .header2 ul.main.nav li.mega-menu ul li a {
		padding-left: 0;
	}
	.header2 ul.main.nav li.mega-menu  ul li {
		width: 200px;
	}
	.header2 ul.main.nav li.mega-menu ul li span {
		display: none;
	}
	.header2 ul.main.nav li.mega-menu ul li .menu-image {
		background: #f7f8fa;
		padding: 0.6em;
	}
	.header2 li.mega-menu .sub-menu .mega-menu-head > a:hover {
  color: #000 !important;
}
	
	.header2 ul.main.nav > li.mega-menu:hover > .sub-menu {
		  right: auto;
		  left: 0;
		transform: translateX(-20%);
		}
	.header2 ul.main.nav li.mega-menu:nth-child(4):hover > .sub-menu {
		  transform: translateX(-38%);
		} 
	.header2 ul.main.nav li.mega-menu:nth-child(5):hover > .sub-menu {
		  transform: translateX(-38%);
		} 
	.header2 ul.main.nav li ul::before {
		opacity: 0;
	}
}
@media only screen and (min-width: 1024px) {
	.header2 ul.main.nav > li {
		width: auto;
		text-align: center;
		padding: 0;
	}
	.header2 ul.main.nav li a {
		font-size: 1em;
	}
	
}
@media only screen and (min-width: 1320px) {
	.header2 ul.main.nav > li {
		width: auto;
		text-align: center;
		padding: 0;
	}
	.header2 ul.main.nav > li a {
		font-size: 1.1em;
	}
}
@media only screen and (min-width: 1525px) { 
.header2 ul.main.nav > li {
		width: auto;
		text-align: center;
		padding: 0 0.5em;
	}
}
@media only screen and (min-width: 1800px) { 
.header2 ul.main.nav > li {
		width: auto;
		text-align: center;
		padding: 0 1.5%;
	}
}
@media only screen and (min-width: 1024px) and (max-width: 1180px) {
  .header2 ul.main.nav li a {
    font-size: 16px;
  }
}
#footer, .close-quiz {
	display: none;
}
#gform_wrapper_3 input[type="checkbox"] + label {
	margin-left: 2.5em;
	text-align: left;
}
@media only screen and (min-width: 1024px) {
  .header2 a.the-search-icon {
	  background-image: url('https://watkinsdealer.s3.amazonaws.com/Images/Icons/lupa.png'); 
	}
	.disabled > a {
    pointer-events: none;
		text-transform: uppercase;
}
}