/*
*
* Pope & Sons CSS
* ProfitFill Headless WP
*
*/



#masthead .cat-button a,
#masthead form input[type="submit"] {
    background-color: #00a4d3!important;
}
#masthead .cat-button a:hover {
    background-color: #ff501b !important;
} 
body #wp-site-blocks #secondary-nav,
body #wp-site-blocks #main-cta-banner {
    background-color: #293486 !important;
}
body #masthead form input[type='submit'],
#masthead nav ul.menu > li > a,
#all-services > ul > li > em, #footer-nav-menus > ul > li > em {
    font-family: 'Oswald', Arial, sans-serif;
}
body #twitter-link {
    margin-top: 5px;
}
body #wp-site-blocks .accordion:not(.row) {
    background-color: #efefef !important;
}
.accordion.open .accordion-header::before {
    min-width: 32px;
}
body #wp-site-blocks .heading-design {
    background-color: #00a4d3 !important;
}
#wp-site-blocks #three-icons-section > .sitewidth {
    border-bottom: 1px solid #333;
    padding-bottom: 40px !important;
}
#wp-site-blocks #three-icons-section > .sitewidth > .wp-block-group {
    justify-content: center;
    gap: 40px;
}
#main-footer > .sitewidth > div:first-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
#main-footer > .sitewidth > div:first-child > div:first-child {
    width: 100% !important;
    display: block;
    max-width: 100%;

}


@media All and (max-width: 650px) {
    body #wp-site-blocks.contact-2 #three-icons-section {
        background-color: #efefef !important;
        
    }
    body #wp-site-blocks #three-icons-section > .sitewidth,
    body #wp-site-blocks #circle-images-section > .sitewidth,
    body #video-section > .sitewidth,
    body #wp-site-blocks #checkmark-columns > .sitewidth,
    body #wp-site-blocks .faq-section > .sitewidth,
    body #wp-site-blocks .wte-section > .sitewidth,
    body #wp-site-blocks #content-section-ac-2 > .sitewidth {
        padding: 40px 0 !important;
    }
    body #wp-site-blocks #three-icons-section > .sitewidth > div,
    body #wp-site-blocks #circle-images-section .grid-half,
    body #wp-site-blocks #checkmark-columns > .sitewidth,
    body #wp-site-blocks .faq-section > .sitewidth > .wp-block-group-is-layout-grid {
        gap: 30px;
    }
    #menu-toggle {
        background-image: url(/img/bars.svg);
        background-size: 20px auto;
        background-position: center center;
        background-repeat: no-repeat;
    }
    body.mobile-menu-open #menu-toggle {
        background-image: url(/img/times.svg);
    }
    body #wp-site-blocks #cta-section-1 .wp-block-buttons {
        margin-top: 20px !important;
    }
    body #wp-site-blocks .faq-section .faq.accordion {
        flex-direction: column;

    }
    body #wp-site-blocks .faq-section .faq.accordion .accordion-header {
        flex-wrap: nowrap;
    }
    body #wp-site-blocks .faq-section .faq.accordion .accordion-header::before {
        min-width: 32px;
    }
    body #wp-site-blocks div.accordion:hover header.accordion-header, 
    body #wp-site-blocks div.accordion.open header.accordion-header {
        background-color: transparent !important;
    }
    body #wp-site-blocks .accordion-content {
        padding: 10px;
        font-size: 15px;
    }
    body #wp-site-blocks .faq-section > .sitewidth > .wp-block-columns {
        display: block;
    }
    body #wp-site-blocks .faq-section > .sitewidth > .wp-block-columns,
    body #wp-site-blocks .faq-section > .sitewidth > .wp-block-columns > .wp-block-column {
        width: 100%;
        gap: 0;
        max-width: 100%;
    }
    body #wp-site-blocks .faq-section > .sitewidth > .wp-block-columns > .wp-block-column {
        flex-basis: 100%;
    }
    body #wp-site-blocks .faq-section > .sitewidth > .wp-block-columns figure { display: none; visibility: hidden; }
}

@media All and (min-width: 650px) {
    #masthead nav ul.menu > li > a {
        padding-left: 10px; padding-right: 10px;
    }
    #masthead nav ul.menu > li:hover > a,
    #masthead nav ul.menu > li > ul.sub-menu > li > a {
        background-color: #efefef;
    }
    #masthead nav ul.menu > li > ul.sub-menu > li:hover > a {
        background-color: #fff;
    }
    #wp-site-blocks #masthead .wp-block-site-logo img {
        margin-top: 10px;
        height: 55px;
    }
    #about-us-section .thirds .wp-block-column h2 {
        display: block;
        width: 196px;
        height: 196px;
        border-radius: 100px;
        font-size: 50px;
        line-height: 196px;
        text-align: center;
        border: 2px solid #293486;
        color: #293486;
        margin-left: auto;
        margin-right: auto;
        float: none;
        position: relative;
        z-index: 2;
        background-color: #fff;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    }
    #about-us-section .thirds .wp-block-column {
        width: 32%;
        gap: 2%;
    }
    #about-us-section .thirds .wp-block-column figure {
        margin-left: 0;
        margin-right: 0;
    }
    #about-us-section .wp-block-columns > .wp-block-column > .divider-line {
        display: block;
        height: 100px;
        margin-top: -25px;
        margin-bottom: -25px;
        width: 1px;
        margin-left: auto;
        margin-right: auto;
        clear: both;
        z-index: 1;
        position: relative;
        border-left: 2px dotted #293486;
    }
    #about-us-section .thirds .wp-block-column figure img {

    }
    body #footer-logo img {
        height: 90px !important;
        width: auto !important;
    }
    #masthead nav ul.menu > li > a {
        color: #293486;
    }
    body .wp-block-group .scrolling-section {
        width: 100%;
        clear: both;
        display: block;
        overflow: hidden;
    }
    body .wp-block-group .scrolling-section > .slick-list {
        width: 100%;
        max-width: 100%;
        display: block !important;
        max-height: 1000px;
    }
    body .wp-block-group .scrolling-section > div {
        display: inline-block;
        max-width: 33%;
        positioN: relative;
        margin: 15px auto 0 auto;
        padding: 0;
        float: none;
        clear: none;
        height: auto;
        max-height: 300px;
    }
    body .wp-block-group .scrolling-section > div.wp-block-cover img {
        margin-left: auto;
        margin-right: auto;
        display: block;
        float: none;
    }
    body .wp-block-group .scrolling-section > div.wp-block-cover > .wp-block-cover__inner-container {
        position: absolute;
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: center;
        display: block;
        z-index: 2;
        top: 0;
    }
    body .wp-block-group .scrolling-section > div.wp-block-cover > .wp-block-cover__inner-container p {
        text-shadow: 0 0 10px rgba(0,0,0,0.8);
    }
    body #about-us-section > .sitewidth {
        flex-direction: column;
    }
    body #about-us-section > .sitewidth > div {
        width: 100% !important;
        max-width: 100%;
        display: block;
        clear: both;
    }
    #main-footer > .sitewidth > div:first-child > div:first-child > div:first-child {
        justify-content: space-between;
    }
    
}