/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


header.main-header {
    position: absolute;
    width: 100%;
}

header.main-header:before{
background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
display:block;
content:'';
height:100%;
width:100%;
position:absolute;
top:0px;
}
header#masthead header.main-header nav ul.sub-menu a {
    padding: 15px 20px !important;
}
section.hero-section h1.n2-ss-text span {
    color: #25aae1;
}
section.welcome-sections {
    position: relative;
}

section.welcome-sections:after {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    height: 287px;
    background: url(images/bottom-curvve.png) center top no-repeat;
    top: -286px;
}





div#welcome_img_boxes .elementor-image-box-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
}

div#welcome_img_boxes .elementor-image-box-content {
    position: absolute;
    bottom: 0;
    background: #fff !important;
}

div#welcome_img_boxes .elementor-image-box-content h3.elementor-image-box-title {
    padding-top: 18px;
    padding-bottom: 18px;
    margin: 0px;
}


div#welcome_img_boxes .elementor-image-box-wrapper:hover  .elementor-image-box-content  {
    background: #5b7a8f !important;
    color:#fff !important
}
div#welcome_img_boxes .elementor-image-box-wrapper:hover  .elementor-image-box-content h3{
    color:#fff !important}

div#welcome_img_boxes figure.elementor-image-box-img {
    width: 100% !important;
    height: 100% !important;
    position: relative;
}

div#welcome_img_boxes figure.elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
}

div#welcome_img_boxes figure.elementor-image-box-img:before {
    content: '';
    display: block;
    padding-bottom: 75%;
}






div#pool_projects .elementor-image-box-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
}

div#pool_projects .elementor-image-box-content {
    position: absolute;
    bottom: 0;
    background: #0006 !important;
}

div#pool_projects .elementor-image-box-content h3.elementor-image-box-title {
    margin: 0px;
}


div#pool_projects .elementor-image-box-wrapper:hover  .elementor-image-box-content  {
    background: #fff !important;
    color:#fff !important
}
div#pool_projects .elementor-image-box-wrapper:hover  .elementor-image-box-content h3{
    color:#000 !important}

div#pool_projects figure.elementor-image-box-img {
    width: 100% !important;
    height: 100% !important;
    position: relative;
}

div#pool_projects figure.elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
}

div#pool_projects figure.elementor-image-box-img:before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

div#pool_projects .elementor-widget-image-box {
    overflow: hidden;
}



div#home_services figure.elementor-image-box-img {
    background: #fff;
    border-radius: 50%;
    width: 105px;
    height: 105px;
    line-height: 105px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

div#home_services figure.elementor-image-box-img img {
    width: auto;
    height: auto;
    line-height: 105px;
    display: inline-block;
}

div#home_services  .elementor-image-box-wrapper {
    display: grid;
    justify-items: anchor-center;
}

div#home_services h3.elementor-image-box-title {
    margin: 0px;
}

footer#colophon {
    position: relative;
    background: #002035;
}
footer#colophon:before {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    height: 287px;
    background: url(images/bottom-curvve.png) center top no-repeat;
    top: -287px;
    z-index: 1;
}


div#get_in_touch .elementor-icon-box-wrapper  .elementor-icon-box-icon {
    background: #4d565a;
    padding: 15px;
    border-radius: 50%;
}

div#get_in_touch .elementor-icon-box-wrapper:hover  .elementor-icon-box-icon {
    background: #fff;
}


div#lets_connect_form .hf p {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

div#lets_connect_form span.wpcf7-form-control-wrap {
    width: 100%;
}

div#lets_connect_form span.wpcf7-form-control-wrap input {
    background: #15465b;
    border: 0px !important;
    height: 57px;
    line-height: 57px;
    border-radius: 5px;
    color:#fff;
    width:100%;
}

div#lets_connect_form span.wpcf7-form-control-wrap textarea {
    background: #15465b;
    border: 0px !important;
    max-height: 140px;
    line-height: 57px;
    border-radius: 5px;
    color:#fff;
    width:100%;
}

div#lets_connect_form span.wpcf7-form-control-wrap input::placeholder,
span.wpcf7-form-control-wrap textarea::placeholder{color:#fff}

div#lets_connect_form label {
    width: 100%;
}

div#lets_connect_form .hf p br {
    display: none;
}

div#lets_connect_form input.wpcf7-form-control.wpcf7-submit {
    background: #25aae1;
    border: 0;
    font-size: 16px;
    line-height: 45px;
    padding: 0px 15px;
    color: #ffffff;
}

/*section.our_services_home:after {
    content: '';
    height: 175px;
    background: url(images/service_top_wave.png) center top no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}*/

/*section.our_services_home {
    padding-top: 175px !important;
}*/

section.pool_projects:after {
    width: 350px;
    height: 365px;
     background: url(images/splash.png) center top no-repeat;
    position: absolute;
    left: 0;
    bottom: -200px;
    content:'';
    z-index:1
}

section.pool_projects{
    position:relative;
}

div#pool_projects {
    position: relative;
    z-index: 2;
}


@media (min-width:1600px){
section.our_services_home:after{
        background-size:100% 100%;
    }
}

@media (min-width:1920px){
    footer#colophon:before, 
section.welcome-sections:after{
        background-size:100% 100%;
    }
}

.elementor.elementor-edit-area.elementor-edit-mode.elementor-edit-area-active + footer#colophon::before {
    top: 0;
}
.about-Missionstatement {
    background-size: 50% 100% !important;
}
.page-id-29 footer#colophon  .footeruprow {
    display: none;
}



div#icon_boxes img {
    filter: invert(1);
    border: solid 1px #000;
    padding: 10px;
    border-radius: 5px;
    margin-top: -55px;
    width: 75px !important;
    height: 75px;
    background:#a1a1a1;
}

div#icon_boxes figure.elementor-image-box-img {
    width: 75px !important;
}

span.elementor-icon-list-icon svg.e-font-icon-svg.e-fas-check {
    margin-top: 5px;
}

#bf_box .elementor-element.e-con-full {
    overflow: hidden;
}

.co2_img_invert img {
    filter: invert(1);
}

#why_choose_inside .elementor-element.e-con-full.e-flex.e-con.e-child {
    width: calc(100% + 150px);
}


#project_gallery_section .e-n-tabs-heading {
}

#project_gallery_section figure.gallery-item a {
    position: relative;
    display: block;
    border: solid 2px #fff;
    border-radius: 10px;
    overflow: hidden;
}

#project_gallery_section figure.gallery-item a:before {
    content: '';
    padding-bottom: 66%;
    display: block;
}

#project_gallery_section figure.gallery-item a img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0px;
    max-width: inherit !important;
}


/*Blogs*/
main#content.site-main.blog_cats {
    max-width: 100%;
}

main#content.site-main.blog_cats .page-header {
    background-image: url(https://deckwebtech.com/dev/stainless-pools/wp-content/uploads/2025/07/about-banner.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 250px;
    padding-bottom: 150px;
    text-align: center;
    position: relative;
}

main#content.site-main.blog_cats .page-header:before {
    content: '';
    background-color: #0b2543;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .53;
}

main#content.site-main.blog_cats h1.entry-title {
    position: relative;
}

main#content.site-main.blog_cats .page-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 280px;
    padding-top: 80px;
}


/*
body.single main#content {
    max-width: 100%;
}

body.single main#content  .page-header {
    background-image: url(https://deckwebtech.com/dev/stainless-pools/wp-content/uploads/2025/07/about-banner.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 250px;
    padding-bottom: 150px;
    text-align: center;
    position: relative;
}

body.single main#content  .page-header:before {
    content: '';
    background-color: #0b2543;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .53;
}

body.single main#content  h1.entry-title {
    position: relative;
}

body.single main#content  .page-content {
        max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 280px;
    padding-top: 80px;
}


main#content.site-main.blog_cats .page-content article.post {
    width: calc(33.33% - 14px);
    background: #293f5a;
    padding: 15px;
    border-radius: 10px;
    border: solid 1px #4b6381;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

main#content.site-main.blog_cats .page-content article.post h2.entry-title a {
    font-family: 'Poppins';
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

main#content.site-main.blog_cats .page-content article.post h2.entry-title {
    font-size: 20px;
}




main#content.site-main.blog_cats a.cat_thumb {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    margin-bottom: 20px;
}
*/
main#content.site-main.blog_cats a.cat_thumb:before {
    content: '';
    padding-bottom: 66%;
    display: block;
}

main#content.site-main.blog_cats a.cat_thumb img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100% !important;
    height: 100%;
    object-fit: cover !important;
    transform: translate(-50%,-50%);
}
body.single footer#colophon{margin-top:290px !important;}

.blog-post-listing article .eael-grid-post-holder {
    overflow: hidden;
}

/*Rsponsive Start*/
@media (max-width:1240px){
    main#content.site-main.blog_cats .page-content, 
    body.single main#content .page-content, 
    main#content.site-main.blog_cats  .page-header,
    body.single main#content .page-header {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (min-width:1024px) and (max-width:1200px){
    .hfe-nav-menu.hfe-layout-horizontal li a {
        font-size: 13px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

}

@media (max-width: 1024px){
    .topbar-right-contact .elementor-icon-box-wrapper a {
        font-size: 14px !important;
    }
    .n2-ss-slider {
        height: 100vh !important; /* Adjust as needed */
      }
      .hfe-active-menu.hfe-active-menu-full-width + .hfe-nav-menu__layout-horizontal {
        top: calc(100% + 25px) !important;
    }
    main#content.site-main.blog_cats .page-content article.post {
        width: calc(50% - 10px);
    }
}

@media (max-width: 767px){
    .topbar-right-contact .elementor-icon-box-wrapper {
        display: flex !important;
        gap: 8px;
        align-items: center;
    }

    .topbar-right-contact .elementor-icon-box-icon {
        margin-bottom: 0px !important;
        display: flex;
        align-self: center;
        height: 100%;
    }

    .topbar-right-contact.e-flex.e-con.e-child {
        justify-content: center;
    }

      .n2-ss-slider {
        height: 100vh !important; /* Adjust as needed */
      }
      section.welcome-sections:after{
        display: none;
      }

      div#n2-ss-2  .n2-ss-layer-row-inner {
        width: auto !important;
        margin-top: 100px !important;
    }

    div#get_in_touch .elementor-icon-box-wrapper .elementor-icon-box-icon {
        display: inline-flex;
    }

    div#get_in_touch .elementor-icon-box-wrapper .elementor-icon-box-icon {
        display: inline-flex;
    }

    footer .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
        display: block;
        text-align: center;
    }

    footer .hfe-nav-menu__layout-horizontal .hfe-nav-menu li a {
        text-align: center;
        display: block;
    }

    .elementor-icon-box-wrapper {
        text-align: left !important;
    }

    .footeruprow  div#get_in_touch {
        order: 2;
        padding-top: 50px !important;
    }

    #why_choose_inside .elementor-element.e-con-full.e-flex.e-con.e-child {
        width: 100%;
    }
    .about-Missionstatement {
        background-size: cover!important;
    }

    div#lets_connect_form .hf p {
        display: grid;
    }

    main#content.site-main.blog_cats .page-content article.post {
        width:100%;
    }

    .elementor-element.gallery-spacing-custom.elementor-widget.elementor-widget-image-gallery {
        float: left;
        width: 100%;
    }
    .topbar-right-contact {
        gap: 0px 20px;
    }

    div#lets_connect_form span.wpcf7-form-control-wrap input {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }

    div#lets_connect_form span.wpcf7-form-control-wrap textarea {min-height: 40px;
        line-height: 40px;
        font-size: 14px;}

    div#lets_connect_form input.wpcf7-form-control.wpcf7-submit{font-size: 14px;}
}


@media (max-width: 420px){
    section.pool_projects:after{
        max-width: 320px;
    }
}