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

div.aspot-creator {
    overflow: hidden;
}

/*navigation bar----------------------------------------------------------*/

@media only screen and (min-width: 1024px) {
    .header2 ul.main.nav li a {
        color: #333 !important;
        font-size: 1em;
    }

    .header2 nav.utilities-nav {
        background-color: #053651;
    }

    .header2 header {
        background: rgba(255, 255, 255, 0.6) !important;
    }

    .home section.video-header {
        margin-top: -95px;
    }

    .header2 h1 {
        text-indent: -999em;
        background-size: cover;
        display: block;
        width: 352px;
        height: 136px;
        vertical-align: top;
        top: 0;
        background: white;
        background-repeat: no-repeat;
        left: 0;
        background-position: 56% 62%;
        margin: 0 !important;
        z-index: 60;
    }

    .header2 ul.main.nav ul {
        background: #09A6B5;
    }

    .header2 ul.main.nav ul a {
        color: white !important;
    }

    .header2 nav.utilities-nav ul li {
        border: none !important;
    }

}

.header2 a.the-search-icon {
    border: none;
}

a.cart {
    display: none !important;
}

.sliding {
    transform: skew(-15deg, 0deg);
    content: "";
    position: absolute;
    width: 100px;
    height: auto;
    left: 278px;
    top: 0;
    bottom: 1px;
    background: #fff;
    z-index: 1;
}

.aspot_anchor li {
    display: none;
}

@media only screen and (min-width: 1024px) {
    .header2 ul.main.nav ul li span {
        background-image: url("https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/plus-sign-icon_160.png");
    }

    .header2 ul.main.nav ul li.active > span:first-of-type {
        background-image: url("https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/icon-minus-01_160.png");
    }
}


.header2 ul.main.nav ul li a:hover {
    background-color: #82DAE2;
}

@media only screen and (min-width: 1024px) and (max-width: 1300px) {
    .header2 ul.main.nav li a {
        font-size: 0.75em;
    }

    .header2 nav.utilities-nav ul li a {
        font-size: .7em;
    }
}

@media only screen and (min-width: 1024px) {
    .header2 header.desktop.nav {
        -webkit-box-shadow: 1px 1px 8px #bcbcbc;
        -moz-box-shadow: 1px 1px 8px #bcbcbc;
        box-shadow: 1px 1px 8px #bcbcbc;
    }

    .sliding {
        -webkit-box-shadow: 1px 1px 8px #bcbcbc;
        -moz-box-shadow: 1px 1px 8px #bcbcbc;
        box-shadow: 1px 1px 8px #bcbcbc;
    }
}
.header2 ul.main.nav ul ul li a{
        font-size: 20px;
}

/*navigation bar----------------------------------------------------------*/




/*-------------------------aspot section*---------------------------------*/
@media only screen and (min-width: 1024px) {

    .video-header .overlay .container .the-content h3 {
        POSITION: relative;
        font-size: 4em;
        max-width: 100%;
        top: 50%;
        margin: 0 auto;
    }

    .video-header .overlay .container .the-content .the-links,
    .img-pan .overlay .container .the-content .the-links {
        padding-right: 0em;
        position: relative;
        right: 0;
        bottom: 1.5em;
        width: 100%;
        top: 55%;
    }

    .video-header .overlay .container .the-content .the-links a,
    .img-pan .overlay .container .the-content .the-links a {
        display: inline-block;
        width: 30%;
        margin-left: 2% !important;
    }

    .video-header .overlay .container .the-content,
    .img-pan .overlay .container .the-content {
        padding-right: 0;
    }


    .front,
    .back {
        border-radius: 54px;
    }

    .video-header .overlay .container .the-content .the-links a {
        line-height: 38px;
    }

    video.video-bg {
        height: 100%;
    }
}




/*-------------------------aspot section*---------------------------------x*/



/*------------------------------------serving-soutwest-------------------*/


@media only screen and (min-width: 1024px) {
    img.img-serving {
        float: right;
    }

    .serving-content {
        position: relative;
        top: 50%;
        transform: perspective(1px) translateY(50%);
        max-width: 625px;
    }


    section.general.block {
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .container-serving {
        max-width: 80%;
        margin: 0 auto;
        margin-top: -140px;
        background: white;
    }
}

.container-serving h4 {
    font-size: 2.4em;
}


/*------------------------------------serving-soutwest-------------------*/



/*-*------------------------test section*--------------------------------*/

section.general.block.section-block.perfect_quiz {
    background: url("https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/perfect-ht-quiz.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.perfect_quiz .inner {
    background: none;
}

.home span.gform_description {
    display: none;
}

.home div#gf_page_steps_68 {
    display: none;
}

.home .perfect_quiz .gform_wrapper h3.gform_title {
    color: #333;
    text-transform: capitalize;
}

.home .perfect_quiz ul.gform_fields.top_label li h3 {
    color: #333;
    text-transform: capitalize;
}

.home .perfect_quiz .gform_column li ul li label {
    color: #333;
    text-transform: capitalize;
}

.perfect_quiz .gfield_checkbox input {
	position: relative;
    left: 0;
    display: initial;
}

.perfect_quiz .gfield_checkbox label {
	display: initial;
}

.perfect_quiz .gform_wrapper .gform_page_footer .button.gform_button,
.gform_wrapper .gform_page_footer .button.gform_next_button {
    background-color: #043651;
    border-radius: 35px !important;
}

@media only screen and (max-width: 1023px) {
    .home div#gform_wrapper_68 {
        background: white;
        max-width: 508px;
        left: 10%;
        position: relative;
        padding-top: 1em;
        padding-bottom: 1em;
        width: 80%;
    }

    .home #input_68_4 {
        margin: 1em auto;
        max-width: 100%;
    }

    .container-serving .large-5 {
        text-align: center;
    }
}

.home .perfect_quiz ul.gform_fields.top_label li {
    margin: auto;
}

@media only screen and (min-width: 1024px) {
    .home div#gform_wrapper_68 {
        background: white;
        max-width: 508px;
        left: 10%;
        position: relative;
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .home #input_68_4 {
        margin: 0em auto;
        max-width: 100%;
    }
}

.our-gallery a {
    color: white !important;
    text-align: center;
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-weight: 900;
    background: #053651;
    padding: .5em 1em;
    border-radius: 35px;
    border: 3px solid white;
}

.perfect_quiz .gform_body ul {
    max-width: fit-content !important;
}

/*-*------------------------test section*--------------------------------*/


/*PRODUCTS SECTION------------------------------------------------------*/

.products-block h4 {
    text-align: center;
}

.container-products img {
    padding: 0 !important;
    width: 100%;
    height: auto;
}

p.products-p {
    position: absolute;
    bottom: 6%;
    color: white;
    left: 50%;
    transform: translate(-50%, 0);
}



.home .perfect_quiz .copy * {
    color: #333;
}

.home section.general.block.section-block.products-block {
    width: 80%;
    margin: 0 auto;
    padding: 3em 0;
}

/*PRODUCTS SECTION------------------------------------------------------*/



/*------------------------our gallery------------------------------------*/
@media only screen and (max-width: 640px) {
    img.gallery-img {
        margin-bottom: 1em;
    }
}

.our-gallery .gb-header {
    padding: 0 !important;
}

section.general.block.section-block.our-gallery {
    width: 100%;
    position: relative;
    z-index: 5;
    background: url("https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/gallery-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 3em;
    padding-bottom: 3em;
    background-position: 50%;
}

h4.gallery-h4 {
    color: white;
}

p.gallery-p {
    color: white;
}

.gallery-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3em;
}


img.gallery-img {
    padding: 0 !important;
    width: 100%;
    height: auto;
    border: 5px solid white;
}

@media only screen and (min-width: 641px) {
    .container-gallery .row {
        margin-bottom: 3em;
    }
}

@media only screen and (min-width: 1024px) {
    .container-gallery .row {
        margin-bottom: 3em;
    }

    .container-gallery {
        width: 80%;
        margin: 0 auto;
    }


}



/*------------------------our gallery------------------------------------*/



/*-------------------------footer-+-------------------------------------*/
footer nav {
    background: #09A6B5;
}



footer.footer2 {
    background-color: #333;
    background: url("https://www.hughespools.com/wp-content/uploads/2024/12/footer-img.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
}

div.copy.social p {
    padding: 0;
}



@media only screen and (min-width: 1024px) {
    .copy.social {
        height: 120px;
    }

    .menu-footer-lower-footer-container {
        float: left;
        margin-right: .5em;
    }

    .footer2-lower-menu a {
        float: left;
        margin-right: .5em;
    }

    p.copy-right {
        float: left;
        margin-right: .5em;
    }

    .copy.social {
        background: none !important;
    }



    .copy.social {
        max-width: 1465px;
        margin: 0 auto;
    }

    .social-button.footer2 {
        margin-bottom: 15px;
        width: auto;
        float: right;
    }

    .social-button.footer2 {
        margin-top: -10px;
        margin-bottom: none;
    }
}

.footer2-container {
    background: #053651 !important;
}

div.copy.social {
    background: none;
}

.facebook-social {
    background: url("https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/Path-114.png");
}

.twitter-social {
    background: url("https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/Path-115.png");
}

/*-------------------------footer-+-------------------------------------*/


/*----------------------mobile-----------------------------------------------------------*/

div.mobile.nav #nav-toggle span,
div.mobile.nav #nav-toggle span:before,
div.mobile.nav #nav-toggle span:after {
    background: #fff;
}

@media only screen and (max-width: 1023px) {
    div.mobile.nav header h1 {
        margin: 0 !important;
        height: 65px;
        overflow: hidden;
        /* width: auto; */
        width: 175px;
        display: inline-block;
        padding: 0 !important;
        padding-left: 42px !Important;
        padding-top: 15px !Important;
    }

    .hide-text img {
        padding: 0 !important;
    }

    div.mobile.nav header.mobile {
        margin-top: -10px;
    }

    ul#menu-extra-menu {
        display: none;
    }

    div.mobile.nav header.mobile {
        background-color: #053651 !important;
        height: 90px;
    }

    .cart-search-combo {
        display: none !important;
    }

    section.general.block.section-block.hero_quiz {
        position: absolute;
        top: 150px;
        background: white;
        opacity: 0.9;
        width: 90%;
        margin-left: 5%;
    }

    .perfect_quiz .ginput_container.ginput_container_radio {
        width: 100%;
    }

    .perfect_quiz .ginput_container.ginput_container_checkbox {
        width: 100%;
    }


    .perfect_quiz #input_68_13 {
        max-width: 100%;
        margin: 1em auto;
    }

    .perfect_quiz .gform_wrapper input[type="text"] {
        color: #333 !important;
    }

    a.start_quiz {
        font-size: .8em;
    }

    .hero_quiz h1.text_quiz span {
        font-size: 30px !important;
    }
}

.home .perfect_quiz .copy * {}

.home .perfect_quiz .gform_wrapper input[type=text] {
    color: black !important;
}

.home div#gform_confirmation_message_68 {
    text-align: center;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px #484848;
}

div.mobile.nav #nav-toggle.active span:before {
    transform: rotate(45deg);
    background: white;
}

div.mobile.nav #nav-toggle.active span:after {
    transform: rotate(-45deg);
    background: white;
}

.main.nav.brown-left {
    width: 50%;
    float: left;
    background: #4B2C09;
}

ul.main.nav.brown-right {
    width: 50%;
    float: left;
    background: #4B2C09;
}

li#menu-item-1018737 {
    width: 200%;
    margin-left: -100%;
    background: #4B2C09;
}

div.mobile.nav ul li a {
    color: white !important;
    border: 1px solid white;
    font-size: 14px;
}

ul.main.nav.green {
    background: #82A650;
}

ul.menu.nav.green {
    background: #82A650;
}

div.mobile.nav ul {
    width: 100%;
    margin: 0;
/*     height: 162px; */
}

/*----------------------mobile-----------------------------------------------------------*/

/*---------------------------mobile navigation-----------------------*/
div.mobile.nav ul.menu.utilities li a {
    background: #053651;
}

div.mobile.nav ul.menu.utilities li {
    width: 50%;
    float: left;
}

div.mobile.nav ul li a {
    background: #09A6B5;
}



div.mobile.nav nav.mobile.nav {
    background-color: rgba(0, 0, 0, 0.35);
}



@media screen and (max-width: 1023px) {

    ul.sub-menu {
        display: none;
    }


    .ds-mobile > li.active > ul.sub-menu {
        display: block;
        background: #82DAE2;
    }

    .ds-mobile > li.active > ul.sub-menu span {
        margin-top: 10px;
    }

    .ds-mobile > li.active > ul.sub-menu > li.active > ul.sub-menu {
        display: block;
        background: #82DAE2;
    }

    .ds-mobile > li.active > ul.sub-menu > li.active > ul.sub-menu > li.active > ul.sub-menu {
        display: block;
        background: #82DAE2;
    }

/*     li.menu-item span {
        height: 16px !important;
        width: 16px !important;
        position: absolute !important;
        background: url("http://deterdings.designstudio.host/wp-content/themes/dealer-child/dist/img/dropdown-triangle.png");
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        margin-top: 10px;
        left: 0;
        right: 0;
        margin-left: 90%;
        top: 0%;
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: 25px;
    }

    li.menu-item.active > span {
        -ms-transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
 */
    div.mobile.nav ul li {
        position: relative;
    }

    li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children.menu-item-1019155 .sub-menu {
        width: 100%;
    }

    li#menu-item-1004116 span {
        margin-top: 175px;
    }

}

@media screen and (max-width: 1024px) {
    div.mobile.nav nav.mobile.nav {
        background-color: #0066a4;
    }
}

div.mobile.nav ul li a {
    color: white !important;
}



.three-col-vl .vl-item:nth-of-type(1) {
    padding-top: 1em;
}

@media only screen and (min-width: 1025px) {
    .three-col-vl .vl-item .fifty-50 {
        width: 100%;
        float: left;
    }

    .three-col-vl.the-vl.cf {
        max-width: 1500px;
        margin: 0 auto;
    }

    .three-col-vl .vl-item.cf {
        float: left;
        margin: 0 0.5%;
        max-width: 32.3%;
    }
}

@media only screen and (min-width: 450px) and (max-width: 1024px) {
    .three-col-vl .vl-item.cf {
        float: left;
        margin: 0 0.5%;
        max-width: 49%;
    }
}

@media only screen and (max-width: 449px) {
    .three-col-vl .vl-item.cf {
        float: left;
        margin: 0 0.5%;
        max-width: 99%;
    }
}

/*---------------------------mobile navigation-----------------------*/


/* Pools/Get-Started */

.block.pools-shape-size .container .custom .row {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 3em;
    padding-bottom: 3em;
}

.block.pools-get-started-bullet-points {
    padding-top: 3em;
    padding-bottom: 3em;
}

.block.pools-get-started {
    padding-bottom: 3em;
}


.pool-shapes-images {
    display: flex;
    flex-wrap: wrap;
}

.pool-shapes-images img {
    margin: 7px;
}

.block.pools-shape-size ul li,
.block.pools-get-started-bullet-points ul li {
    list-style-type: none;
    padding-left: 30px;
    margin-top: 12px;
    background: url('https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/bull.gif') no-repeat left top;
    font-size: 20px;
    line-height: 24px;
}

.block.pools-get-started-bullet-points ul li ul li {
    list-style-type: none;
    padding-left: 20px;
    margin-top: 8px;
    margin-left: 0px;
    background: url('https://csp-clients.s3.amazonaws.com/hughes/wp-content/uploads/2018/09/bull-small.gif') no-repeat left top;
}

body.get-started .block ul {
    margin-left: 0;
}

.block.pools-get-started-bullet-points h3,
.block.pools-shape-size h3 {
    text-align: left !important;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
}


body.get-started .block .container {
    padding-left: 15px;
    padding-right: 15px;
}

body.get-started section.general.block {
    /* padding-top: 2em; */
    /* padding-bottom: 2em; */
    width: 960px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

body.get-started div.aspot-content {
    min-height: auto;
    top: 0 !important;
    bottom: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.get-started .general.block div.gb-header div.content {
    padding: 0;
}

body.get-started .page-50-50-content {
    padding-top: 0;
    padding-bottom: 0;
}


/* Liner Pools */

.liner-pools-logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.liner-pools-logos img {
    width: 300px;
    max-width: 100%;
}

.liner-pools-logos a {
    margin: 15px;
}


/* Contact US */

.contact__accordion td,
ul,
li,
p,
a {
    font-size: 20px;
    line-height: 24px;
}

.contact__accordion,
.contact__accordion table {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.contact__accordion h3 {
    border: 1px solid #ccc;
    outline: 0;
    cursor: pointer;
    border-radius: 4px;
    background: #fafafa;
    padding: 5px;
    margin-bottom: 0;
}

.contact__accordion h3.ui-accordion-header-active {
    background-color: #053651;
    color: #fff;
}

.contact__accordion .ui-accordion-content {
    padding-top: 30px;
    padding-bottom: 30px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

body.contact .body_container .row {
    width: 1200px;
    max-width: 100% !important;
}

body.contact #gform_wrapper_1 label {
    font-size: 18px;
}

body.contact #input_1_11 {
    display: flex;
    flex-direction: row;
}

body.contact div.aspot-content {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    top: 0 !important;
}

body.contact .top-block-50-50 {
    padding-bottom: 0;
}


/*-------------------------------fixed issues on ticket https://projects.designstudio.com/projects/473/tasks/18683?back_path=my_work*/
@media only screen and (max-width: 1024px) {

    .page-id-1003105 .hide-on-tablet {
        display: block;
    }

    .page-id-1003105 div.aspot-content {
        margin: 0;
        width: 100% !important;
        height: 100% !important;
    }

    .page-id-1003105 div.aspot-content > div {
        top: 50%;
        transform: translateY(-50%);
    }

    .page-id-1018830 .hide-on-tablet {
        display: block;
    }

    .page-id-1018830 div.aspot-content {
        margin: 0;
        width: 100% !important;
        height: 100% !important;
    }

    .page-id-1018830 div.aspot-content > div {
        top: 50%;
        transform: translateY(-50%);
    }

    .page-id-22 .hide-on-desktop {
        margin-top: 20%;
    }

    li#menu-item-1018832 > span {
        top: 155px;
    }

    .home section.general.block.section-block.products-block {
        width: 100%;
    }
}






/*-------------------------------fixed issues on ticket https://projects.designstudio.com/projects/473/tasks/18683?back_path=my_work*/

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .serving-content {
        transform: perspective(1px) translateY(35%);
    }
}

@media only screen and (max-width: 1023px) {
    .container-serving {
        padding-top: 1em;
        padding-bottom: 2em;
    }
}

img.img-serving {
    transform: perspective(1px) translateY(5%);
}

.serving-content {
    transform: perspective(1px) translateY(5%);
}


.container-serving {
    padding-top: 2em;
}
.video-header .overlay .container .the-content h3{
	text-align: center;
}
@media only screen and (min-width: 1024px){
	.header2 ul.main.nav ul li a{
		padding: .5em 1em;
	}
	.header2 ul.main.nav ul li span{
		top: 5px;
	}
}
@media only screen and (min-width: 1024px) and (max-width: 1400px){
	.container-serving {
		margin-top: -80px;
	}
}

.hide-on-desktop {
    position: absolute;
    top: 50%;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    left: 50%;
}
div.aspot-content {
    padding: 1em;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center !important;
    min-height: auto;
    z-index: 2;
    width: 100% !important;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin: 0;
}

.header2 ul.main.nav ul li a {
    font-size: .7em;
}



/*-----------------------------------header logo changes ----------------------------*/

.header2 h1 {
    background-color: #053651;
}
span.sliding {
    background-color: #053651;
}
/*-----------------------------------header logo changes ----------------------------*/


.aspottext.cta-button{
	font-size: 17px;
}



@media only screen and (min-width: 1024px){
	.line-qty-3.h3-medium {
		top: 50% !important;
		transform: translateY(-50%);
		left: 0;
	}	
}



.prod-description div.tabs div.tab-content a {
    color: yellow !important;
}



.product-price-button {
    font-size: 1em;
}
/* 
.ds-mobile > li.active > ul.sub-menu span
{
	display: none;
} */

div.mobile.nav nav.mobile.nav{
	top: 80px;
}
div.mobile.nav .the-navigation{
	margin-top: 0;
}


@media only screen and (max-width: 1024px){
	.menu-item-has-children{
		position: relative;
	}
	.menu-item-has-children > .sub-menu{
		display: none;
	}
	.menu-item-has-children.active > .sub-menu{
		display: block;
	}
	.menu-item-has-children > span:after{
		position: absolute;
		top: 15px;
		right: 10px;
		font-family: "FontAwesome";
		content: "\f078";
		color: #fff;
		cursor: pointer;
	}
	.menu-item-has-children.active > span:after{
		content: "\f077";
	}
	.menu-item-has-children > .sub-menu > .menu-item-has-children > span:after{
		top: 10px;
	}
}
.double-chevron-wrapper{
	padding: 0 10px;
}
.paged .prev, .paged .next{
	padding: 0 10px;
}
.header2 nav.utilities-nav ul li a{
    padding: 0.45em 1em;
}

.dsBlogUtilBar .dropdown ul.children {
	position: relative;
top: 0;
border: none !important;
	
}
#gform_95 .gfield_checkbox {
  position: relative;
}
#gform_95 input[type="checkbox"] + label {
	text-align: left;
	margin-left: 2.3em;
}
#gform_95 .gfield_checkbox input {
  margin: 0.4rem 0 0.5rem 0;
}
.gform_wrapper .gform_page_footer .button.gform_previous_button {
	background-color: #043651;
border-radius: 35px !important;
}