/*
Theme Name: Maid Brigade Theme
Author: SCS
Author URI: https://wearescs.com
Requires at least: WordPress 4.9.6
Version: 1
*/

body .blog-article .content-area .article-content p a {
    color: #0d6efd;
    text-decoration: underline;
}

.right-area a {
    color: #0d6efd;
    text-decoration: underline;
}

.right-area a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.w1-hero .content-area .text-area .h-1 {
    font-family: Montserrat, sans-serif;
    color: #243056;
    font-weight: 700;
    font-size: 52px;
    line-height: 66px;
    margin-bottom: 30px;
    padding-top: 0 !important;
}

.w1-hero .content-area .text-area .h-3 {
    font-family: Montserrat, sans-serif;
    color: #494849;
    font-weight: 500;
    line-height: 40px !important;
    font-size: 24px !important;
    margin-bottom: 20px;
}

body ol li, body ul li {
    margin-bottom: 5px !important;
}

@media(max-width: 991.98px) {
    .w1-hero.w1a .content-area .text-area .h-1 {
        font-size: 36px;
        line-height: 48px;
    }

    .w1-hero.w1a .content-area .text-area .h-3 {
        line-height: 40px !important;
        font-size: 22px !important;
        margin-bottom: 20px;
        padding-top: 50px;
    }
}
.w1-hero .content-area .hero-form-area .hero-form .wpcf7-form .form-box:nth-child(2) {
    border-radius: 0 50px 0 0;
}

.w1-hero .content-area .hero-form-area .hero-form .wpcf7-not-valid-tip {
    font-size: 16px;
}

.w1-hero .input-counter-area span.wpcf7-form-control-wrap {
    display: flex;
    height: min-content;
}

.w1-hero .error_message {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: .1px;
    color: rgb(255, 0, 0);
    margin-top: 5px;
    display: none;
}

.wpcf7-form-control-wrap.additional-home-details {
    display: block;
    width: 100%;
}

.wpcf7-form-control-wrap.additional-home-details .select2-container {
    width: 100% !important;
}

header .header-container .navbar .navbar-collapse .nav-top {
    margin-top: 0 !important;
    position: relative;
}

header .header-container .navbar .navbar-collapse .nav-top:before {
    background: linear-gradient(90deg, rgba(89,177,203,0) 0%, rgba(89,177,203,0.17) 90%, rgba(17,143,180,0.15) 100%);
    width: 506px;
    height: 43px;
    content: "";
    position: absolute;
    top: 0;
    z-index: -1;
    right: -80px;
}

header .header-container .navbar .navbar-collapse .nav-top a:last-of-type {
    font-weight: 700;
}

header .top-bar .location-selected .location-left a .location-left__text {
    font-size: 14px;
    color: #f49d1e;
    font-weight: 700;
    text-decoration: none;
}

header .top-bar .location-selected .location-left a .location-left__text::after {
    content: none;
}

body.remove_menu.add_covid_banner {
    padding-top: 120px;
}

.w5-three-column .content-area .three-column-area {
    width: 100%;
}

body .blog-recent-post.category {
    padding-top: 80px;
}

body.add_covid_banner .blog-recent-post.category {
    padding-top: 40px;
}

.w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile .text-area {
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
}

.w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile .text-area h3 a, 
.w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile .text-area a {
    color: #118fb4;
}

.w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile .text-area {
    display: block !important;
}

.w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile {
    border-bottom: 1px solid #eeeeee;;
    padding-bottom: 20px;
}

.w1-hero .content-area .hero-form-area .hero-form form .form-box .form-box-content .input-row .input-content input[type="number"]::-webkit-inner-spin-button {
    display: none;
}

body .w1-hero .zipcode-form form .input-area input {
    font-size: 16px;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}


@media (max-width: 1440.98px) {
    .w9-secondary-nav .content-area .right-area .content-secondary-nav iframe {
        height: 500px;
    }
}

@media (max-width: 1219.98px) {
    body header .top-bar .location-selected .location-contact a {
        background-color: #c0ce31;
        color:  #494849;
    }

    body header .top-bar .location-selected .location-contact a::before {
        background-image: url(images/icon-phone-color.png);
    }
}

@media (max-width: 991.98px) {
    header .header-container .navbar .navbar-collapse .nav-top:before  {
        display: none;
    }

    body.remove_menu {
        padding-top: 40px !important;
    }

    body.remove_menu.add_covid_banner {
        padding-top: 110px !important;
    }

    header .header-container .navbar {
        padding: 15px 40px 5px !important;
    }

    body.scrolled.scroll-up header .header-container,
    header .header-container {
        padding: 0 !important;
    }

    .w9-secondary-nav.press_releases .content-area .right-area {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .w1-hero .content-area .hero-form-area .hero-form form .form-box .form-box-content .input-content .wpcf7-radio .wpcf7-list-item input {
        opacity: 0;
        position: absolute;
        width: 100%;
        height: 20px!important;
    }

    .w1-hero .content-area .hero-form-area .hero-form form .form-box .form-box-content .input-content .wpcf7-radio .wpcf7-list-item  {
        cursor: pointer;
    }

}

@media (max-width: 767.98px) {
    header .header-container .navbar {
        padding: 15px 20px 5px !important;
    }

    .w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile .text-area a i {
        float: left;
        margin-right: 10px;
    }

    .w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile .text-area a {
        margin-top: 10px;
        display: block;
    }
    
    .w9-secondary-nav.press_releases .content-area .right-area .profiles_container .profile .text-area a span {
        line-height: 1.3;
        display: block;
    }

    header .header-container .navbar .navbar-collapse.show~.mobile-get-started {
        display: none !important;
    }

    .w1-hero.w1a .right-area .big-image {
        max-height: 40vh;
    }

}

.disable-click {
    pointer-events:none;
}
.wp-block-embed {
    width: 1320px;
    max-width: 100%;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
}


/* @media (max-width: 3200px) {
    .wp-block-embed iframe {
        width: 100%;
        height: 500px;
    }
} */

@media (max-width: 1480px) {
    .wp-block-embed iframe {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 1180px) {
    .wp-block-embed iframe {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 1919.98px) {
    .w9-secondary-nav .content-area .right-area .content-secondary-nav iframe {
        max-width: 560px;
    }
}

.blog-article .content-area .article-content .wp-block-image figure.alignleft {
    padding: 0;
    width: auto;
    float: left;
    margin: 0.5em 1em 0.5em 0;
    border-bottom: none;
}

.blog-article .content-area .article-content .wp-block-image figure.alignright {
    padding: 0;
    width: auto;
    float: right;
    margin: 0.5em 0 0.5em 1em;
    border-bottom: none;
}

.blog-article .content-area .article-content .wp-block-image figure.aligncenter {
    padding: 0;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    border-bottom: none;
}

.grecaptcha-badge {
	visibility: hidden !important;
}


/* Add offset for admin menu when logged in */
body.admin-bar > div#page > header {
    padding-top: 32px !important;
}

@media screen and ( max-width: 782px ) {
    body.admin-bar > div#page > header {
        padding-top: 46px !important;
    }
}

section.sidebar-map {
    position: relative;
    padding-top: 0;
    padding-bottom: 100px;
    margin-bottom:100px;
    min-height: 500px;

    @media (max-width: 991.98px) {
        padding-top: 150px;
        margin-top: 0;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    @media (max-width: 767.98px) {
        padding-top: 100px;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    >.content-area {
        position: relative;
        z-index: 2;
        padding:0;

        >.text-box {
            width: 60%;
            max-width: 100%;
            background: #FFFFFF;
            box-shadow: 10px 10px 30px #AEAEC066;
            border-radius: 10px;
            padding: 30px 34px;

            @media (max-width: 991.98px) {
                margin-left: auto;
                margin-right: auto;
                padding: 30px 17px;
                width: 75%;
            }

            @media (max-width: 767.98px) {
                margin-left: auto;
                margin-right: auto;
            }

            > h2 {
                margin-bottom: 20px;
                font-size:30px;
                @media (max-width: 991.98px) {
                    font-size: 26px;
                    line-height: 38px;

                }

                @media (max-width: 767.98px) {
                    font-size: 22px;
                    line-height: 34px;
                }
            }

            > p {
                font-size: 18px;
                line-height: 28px;
            }

            > .location-address {
                display: flex;
                flex-wrap: wrap;
                flex-direction: column-reverse;
                @media (max-width: 991.98px) {
                    row-gap: 8px;
                }

               > p {
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 20px;
                    letter-spacing: 0px;
                    color: #494849;
                    margin-bottom: 0;
                    padding-left: 40px;
                    position: relative;

                    @media (max-width: 991.98px) {
                        font-size: 14px;
                        line-height: 22px;
                        padding-left: 25px;
                    }

                    &:hover {
                        &::before {
                            top: -10px;
                        }
                    }

                    > &::before {
                        content: "";
                        position: absolute;
                        top: -5px;
                        left: 0;
                        display: block;
                        width: 24px;
                        height: 30px;
                        background-image: url(../../images/icon-location.png);
                        background-size: contain;
                        background-repeat: no-repeat;
                        background-position: center;
                        transition: all .5s;

                        @media (max-width: 991.98px) {
                            width: 18px;
                            height: 22px;
                            top: 0;
                        }
                    }
                }

                > a {
                    margin-left: 40px;
                    text-decoration: underline;
                    font-size: 14px;
                    line-height: 24px;
                    letter-spacing: 0;
                    color: #333;
                    width: max-content;

                    &:hover {
                        color: #243056;

                        & + p::before {
                            top: -10px;
                        }
                    }

                    @media (max-width: 991.98px) {
                        font-size: 14px;
                        line-height: 28px;
                        margin-left: 25px;
                    }
                }
            }

            > .button-area {
                margin-top: 15px;
                margin-bottom: 15px;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                justify-content: space-between;

                @media (max-width: 991.98px) {
                    row-gap: 16px;
                }

                @media (max-width: 767.98px) {
                    /*margin-top: 20px;*/
                    /*margin-bottom: 20px;*/
                }

                > .btn-call {
                    flex: 0 0 49%;
                    max-width: 49%;
                    width: 49%;
                    background: #FFFFFF;
                    border: 1px solid #D9D9D9;
                    border-radius: 100px;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 8px 20px;
                    text-decoration: none;

                    @media (max-width: 991.98px) {
                        flex: 0 0 82%;
                        max-width: 82%;
                    }

                    @media (min-width: 767.98px) {
                        &:hover {
                            background-color: rgba(217, 217, 217, .25);
                        }
                    }

                    @media (max-width: 767.98px) {
                        flex: 0 0 100%;
                        max-width: none;
                        margin-bottom: 11px;
                    }

                    > .icon-img {
                        flex: 0 0 17%;
                        max-width: 17%;

                        @media (max-width: 767.98px) {
                            flex: 0 0 14%;
                            max-width: 14%;
                        }

                       > img {
                            max-height: 32px;
                            max-width: 100%;

                            @media (max-width: 767.98px) {
                                max-height: 32px;
                            }
                        }
                    }

                    > .text-btn {
                        flex: 0 0 78%;
                        max-width: 78%;
                        align-items: flex-start;
                        display: flex;
                        flex-direction: column;

                        @media (max-width: 767.98px) {
                            flex: 0 0 82%;
                            max-width: 82%;
                        }

                        > span {
                            font-size: 12px;
                            line-height: 1.25;
                            font-weight: 500;
                            letter-spacing: 0px;
                            color: #494849;
                            white-space: nowrap;

                            &.number {
                                font-size: 18px;
                                line-height: 26px;
                                font-weight: bold;
                                letter-spacing: 0px;
                                color: #118FB4;
                               text-decoration: none;

                                @media (max-width: 991.98px) {
                                    font-size: 16px;
                                    line-height: 18px;
                                }

                                @media (max-width: 767.98px) {
                                    font-size: 14px;
                                    line-height: 18px;
                                }
                            }
                        }
                    }
                }
            }

            > .areas-serve {
                border-top: 1px solid #E8E7E7;
                padding-top: 15px;
                margin-top: 15px;

                @media (max-width: 767.98px) {
                    margin-top: 10px;
                    padding-top: 10px;
                }

                > .large {
                    @media (max-width: 991.98px) {
                        font-size: 20px;
                        line-height: 34px;
                    }
                    @media (max-width: 767.98px) {
                        font-size: 18px;
                        line-height: 30px;
                    }
                }

                > .small {
                    font-size: 16px;
                    line-height: 26px;
                    @media (max-width: 991.98px) {

                    }

                    @media (max-width: 767.98px) {
                        font-size: 12px;
                        line-height: 20px;
                    }
                }

                > p {
                    margin-bottom: 10px;
                }
            }
        }
    }

    .maps-image {
        position: absolute;
        width: 100%;
        max-width: 100%;
        height: 100%;
        margin-left:unset;
        transform: translateX(-50%);
        top: 0;
        padding-top:75px;
        left:50%;
        z-index: 1;
        margin-bottom: 50px;

        @media (max-width: 991.98px) {
            top:0;
            padding-top: 0;
            margin-bottom: 0;
        }

        >.img-box {
            margin-left: 15%;
            width: 85%;
            height: 100%;
            position: relative;
            padding-left: 15%;

            @media (max-width: 991.98px) {
                width: 100%;
                margin-left: 0;
                height: 100%;
                max-width: 607px;
            }

            @media (max-width: 767.98px) {
                width: 100%;
                margin-left: 0;
                height: 585px;
                max-width: unset;
            }

           >img {
                position: absolute;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                top: 0;
                left: 0;
                border: 1px solid #D9D9D9;
            }
        }
    }
}

.w11-maps.sidebar-map{
    margin-bottom:100px;
}

/*Adding for accessibility purposes and being able to tab through the menu items*/
header .header-container .navbar .navbar-collapse .navbar-nav .nav-item.dropdown:focus-within .dropdown-menu{
    opacity: 1;
    pointer-events: all;
    transition: all .35s;
}