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

@font-face {
    font-family: "Oswald";
    src: url("/fonts/Oswald-VariableFont_wght.ttf");
}
@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-VariableFont_wght.ttf");
}
/* @font-face {
    font-family: "Montserrat";
    font-style: "italic";
    src: url("/fonts/Montserrat-Italic-VariableFont_wght.ttf");
} */
#what-we-recommend,
#wp-site-blocks.full-hvac-system-pope-sons .faq-section,
#wp-site-blocks #social-media-links a::before {
    display: none !important;
    visibility: hidden !important;
}
#wp-site-blocks .sitewidth .accordion:not(.row) h2.accordion-header { font-family: 'Montserrat' !important; }
#wp-site-blocks #testimonials-section .testimonial-name p { text-wrap: nowrap !important;  }
body #services-list-section ul.menu > li.menu-item > a, body #services-list-section ul li > a { display: inline-block; }
body #wp-site-blocks a.cat-button, 
body #wp-site-blocks .wp-block-buttons > .wp-block-button > a { min-width: 100px; padding-left: 10px; padding-right: 10px;  }
#masthead .cat-button a,
body #wp-site-blocks #hero form#contact-form input[type="submit"],
#main-cta-banner,
#wp-site-blocks .accordion-header::before {
    background-color: #213d6b !important;
}
#wp-site-blocks #social-media-links a { align-items: center; justify-content: flex-start; }
#circle-images-section {
    background-color: #efefef !important;
}
#wp-site-blocks .accordion-header:hover {
    cursor: pointer;
}
#masthead .cat-button a:hover,
body #wp-site-blocks #secondary-nav  {
    background-color: #be1d21 !important;
}
body .faq-section div.accordion.open .accordion-content {
    margin-top: 0px;
}

body #masthead form input[type='submit'],
#masthead nav ul.menu > li > a,
#all-services > ul > li > em, #footer-nav-menus > ul > li > em,
#wp-site-blocks h2, #wp-site-blocks h3, #wp-site-blocks h2 strong, #wp-site-blocks h3 strong, #wp-site-blocks #hero h1 strong, .heroform input[type="submit"] {
    font-family: 'Oswald', Arial, sans-serif;
}
body #twitter-link {
    margin-top: 5px;
}
#wp-site-blocks div#what-we-recommend .wp-block-image, 
#wp-site-blocks div#what-we-recommend .wp-block-image img {
    min-width: auto;
}
.sitewidth h2,
#circle-images-section h3 strong,
#circle-images-section h3,
#masthead div:not(#secondary-nav) ul.menu > li > a {
    color: #213d6b;
}
#wp-site-blocks #circle-images-section h3 {
    font-size: 16px !important;
    text-transform: uppercase;
}
.accordion-header::before { min-width: 32px; }
#all-services > .flex-row {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 30px;
}
#all-services > .flex-row ul.menu {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 30px;
}
#all-services > .flex-row ul.menu > li {
    display: block;
    width: auto;
    max-width: 300px;
    padding: 0;
    margin: 0;
}
#all-services > .flex-row ul.menu > li > ul,
#all-services > .flex-row ul.menu > li > ul > li {
    display: block;
    list-style-type: none;
}
body figure,
body figure img {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
}
#circle-images-section img,
#circle-images-section figure {
    width: 100px;
    min-width: 100px;
    height: auto;
}
figure { margin: 0 auto; }
@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;
    }
    
    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;
    }
    #hero .heroform {
        float: right;
        clear: right;
    }
    #wp-site-blocks #footer-nav-menus ul li a {
        font-size: 14px;
    }
    body #wp-site-blocks > #hero {
        overflow-y: hidden;
        height: 700px;
    }
    #pf-dynamic-content > .sitewidth {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 40px;
        padding: 50px 0 !important;
        
    }
    #all-services ul,
    #all-services li {
        padding: 0;
        display: block;
        list-style: none;
    }
    #all-services > .flex-row,
    #all-services > .flex-row > ul.menu {
        flex-direction: row;
    }
    body .wp-block-columns.wp-container-core-columns-is-layout-2 > .wp-block-column {
        max-width: 45%;
        width: auto;
    }
    body #wp-site-blocks #masthead #microsite-secondary-nav ul.menu > li.menu-item > a {
        line-height: 40px;
        transition: line-height 0.2s ease;
    }
    #masthead .wp-block-site-logo img {
        transition: all 0.2s ease;
    }
    body.scrolled #wp-site-blocks #masthead #microsite-secondary-nav ul.menu > li.menu-item > a {
        line-height: 25px;
    }
    #wp-site-blocks #microsite-main-nav ul.menu > li > ul.sub-menu > li > a {
        background-color: #efefef;
        border: 1px solid transparent;
        font-weight: bold;
        transform: scale(1);
        transition: all 0.2s ease;
    }
    #wp-site-blocks #microsite-main-nav ul.menu > li > ul.sub-menu > li:hover > a {
        transform: scale(1.05);
        border: 1px solid #ccc;
        background-color: #fff;
    }
    #wp-site-blocks #footer-nav-menus ul li:hover > a {
        padding-left: 4px;
    }
}
#three-icons-section > .wp-block-group > .wp-block-group { align-items: flex-start; }
body #wp-site-blocks .heading-design { background-color: #1776d3 !important; }
body #wp-site-blocks .heading-design .inner-design { background-color: #213d6b !important; }
body #all-services ul.menu > li > a { font-size: 22px; }
body #wp-site-blocks #all-services ul.menu > li  a:hover { color: #be1d21 !important; }
body #all-services > .flex-row ul.menu > li { font-weight: normal; max-width: 200px; }
.has-contrast-background-color p { color: #fff; }
p { color: #333; }
#all-services ul.menu > li.menu-item > a { text-transform: uppercase; }
body #wp-site-blocks .wp-block-site-logo { margin-top: 10px; }
.cta-row img { filter: #fff; }
html body div.sitewidth { display: block;  } 
body #wp-site-blocks .cta-section p.has-large-font-size { font-size: 16px !important; }
.cta-row .sitewidth {  width: 100%; justify-content: center; align-items: middle;  }
body .fullwidth { width: 100%; max-width: 100%;  }
body #wp-site-blocks img.wp-image-3827 {  filter: invert(15%) sepia(58%) saturate(5868%) hue-rotate(349deg) brightness(101%) contrast(84%); }
#wp-site-blocks #checkmark-columns img.wp-image-3827 {
    width: 120px; max-width: 120px; height: auto;
}
body #wp-site-blocks .faq-section .sitewidth .accordion,
body #wp-site-blocks #what-to-expect .sitewidth .accordion:not(.row) .accordion-header {
    padding: 10px;
}
body #wp-site-blocks .faq-section .sitewidth .accordion .accordion-header h3, body #wp-site-blocks .faq-section .sitewidth .accordion .accordion-header p { color: #1a3e6d; font-size: 20px; font-weight: bold; }
body #wp-site-blocks .sitewidth .accordion:not(.row) .accordion-header { padding: 20px; background-color: transparent !important; }
body #wp-site-blocks .faq-section .sitewidth .accordion .accordion-content,
body #wp-site-blocks .faq-section .sitewidth .accordion .accordion-content p { color: #1a3e6d;  }
#wp-site-blocks #social-media-links img { vertical-align: center; }
body #wp-site-blocks .accordion { border: 2px solid #1a3e6d; }
body #wp-site-blocks .faq-section .sitewidth .accordion { margin-top: 0; margin-bottom: 10px; }
#wp-site-blocks .sitewidth .accordion .accordion-header::before { background-color: #2bace3; font-weight: bold; font-size: 26px; }
#wp-site-blocks .wte-section .sitewidth .accordion .accordion-header::before { line-height: 32px !important; font-weight: bold; }
#wp-site-blocks .wte-section .sitewidth .accordion .accordion-header h2 { font-weight: bold; }
#wp-site-blocks #masthead ul.menu li:hover > a { text-decoration: none; }
#wp-site-blocks #main-footer p a { color: #fff; font-weight: bold; }
#wp-site-blocks #checkmark-columns > .sitewidth,

body #wp-site-blocks #three-icons-section > .sitewidth { padding-bottom: 40px; border-bottom: 2px solid #2bace3 !important; }
body.home #wp-site-blocks #three-icons-section > .sitewidth,
body.about-us #wp-site-blocks #three-icons-section > .sitewidth { padding-bottom: 0px; border-bottom: 0px !important; }
#wp-site-blocks #checkmark-columns img { max-width: 100px !important; height: auto; }
.wte-section .sitewidth .wp-block-buttons.is-content-justification-left { justify-content: flex-start; }
body #wp-site-blocks .faq-section .sitewidth .accordion .accordion-content a, body #wp-site-blocks .faq-section .sitewidth .accordion .accordion-content p a {
    color: #1a3e6d;
    text-decoration: underline;
}
#main-footer > .wp-block-group { display: flex; flex-direction: column; }
#all-services ul.menu > li.menu-item > a, #wp-site-blocks #footer-nav-menus ul.menu > li > a { font-family: 'Oswald'; margin-bottom: 15px; display: block; font-weight: bold; }
body .has-accent-2-background-color p { color: #fff; }
body .wte-section ul li, body .wte-section ol li { color: #333; }
body #services-list-section ul.menu > li.menu-item > a, body #services-list-section ul li > a { color: #fff; }
#main-footer .wp-block-separator { height: 2px; background-color: #fff; width: 100%; }
@media All and (min-width: 650px) {
 body .is-content-justification-center {
    justify-content: center;
 }
 body #secondary-nav ul.menu {
    justify-content: flex-end;
 }
 body #masthead #secondary-nav ul.menu > li {
    width: auto;

 }
 #wp-site-blocks .faq-section .wp-block-columns { gap: 20px; }
 #wp-site-blocks .faq-section .wp-block-columns > .wp-block-column:first-child { max-width: 48% !important; } 
 body #masthead div:not(#secondary) ul.menu > li.menu-item > a {
    padding-left: 8px; padding-right: 8px;
 }
 #masthead .wp-block-buttons .wp-block-button { word-wrap: nowrap; }
 body #masthead #secondary-nav ul.menu > li > a,
 body #masthead div:not(#secondary-nav) ul.menu > li.menu-item > a {
    padding-left: 20px;
    padding-right: 20px;
    flex-wrap: nowrap;
    word-wrap: nowrap;
    font-family: 'Oswald';
    text-transform: uppercase;
 }
 body #masthead #microsite-secondary-nav { width: 100%; display: flex; justify-content: space-between; }
 #masthead #microsite-main-nav ul.menu > li.menu-item > a { padding: 0 10px; }
 #masthead #microsite-main-nav ul.sub-menu > li > a { color: #333; font-weight: 400; }
 body #masthead #microsite-main-nav ul.menu > li.menu-item:hover > a { background-color: #efefef; }
 

   body #masthead #microsite-secondary-nav ul.menu > li.menu-item > a { color: #fff; }
   body #masthead #microsite-secondary-nav ul.menu { width: 100%; display: flex; flex-direction: row; justify-content: space-between; }
   body #masthead #microsite-secondary-nav ul.menu > li.menu-item:hover > a, body #masthead #microsite-secondary-nav ul.menu > li > a:hover { background-color: rgba(0,0,0,0.5); color: #fff; }
 body #hero .heroform { float: right; }
 body #wp-site-blocks a.cat-button { padding-left: 20px; padding-right: 20px; }
 body.scrolled #masthead .wp-block-site-logo img { height: 50px; width: auto; }
 body #wp-site-blocks #social-media-links a { display: flex; font-family: 'Oswald'; }
 body .wp-block-columns .wp-block-buttons .wp-block-button, .wp-block-buttons { float: left; display: inline-block;  }
 body .wp-block-columns .wp-block-buttons, #contact-section .wp-block-buttons, body .wte-section .sitewidth .wp-block-buttons { justify-content: flex-start;  }
 #checkmark-columns > .sitewidth { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: flex-start;  }
 #checkmark-columnns img { width: 120px; height: auto;  }
 #wp-site-blocks #checkmark-columns h3, #wp-site-blocks #checkmark-columns h3 strong {  font-size: 20px; }
 body #wp-site-blocks #social-media-links{ width: auto; max-width: 300px; }
 body #wp-site-blocks #social-media-links > div { flex-direction: row; flex-wrap: wrap; display: block; }
 #testimonials-section > .sitewidth > div { align-items: flex-start; }
 #testimonials-section > .sitewidth > div  > div > div > p { display: inline-block; max-width: 100%; width: 100%; font-weight: bold; }
 #circle-images-section .grid-half .wp-block-group p { margin-top: 0; }
 #circle-images-section .grid-half > .is-layout-flex { align-items: flex-start; }
 #content-section-ac-2 .wp-block-columns > .wp-block-column { flex-basis: 45%; gap: 10%; }
 #content-section-ac-2 .wp-block-columns > .wp-block-column figure.size-full > img { width: 100% !important; max-width: 100%; }
}

@media All and (max-width: 650px) {
    #wp-site-blocks #circle-images-section img, #wp-site-blocks #content-section-1 .wp-block-columns > .wp-block-column:last-child img { display: none !important; visibility: hidden !important; }
    body #wp-site-blocks #circle-images-section h3 { font-size: 28px !important; }
    body #hero .wp-block-columns > .wp-block-column, #wp-site-blocks .faq-section .accordion { align-items: center; display: flex; flex-direction: column; justify-content: center; }
    #what-to-expect img {  width: 150px; height: auto;  }
    body #wp-site-blocks .sitewidth .accordion:not(.row) .accordion-header { justify-content: center; padding-left: 10px; padding-right: 10px; gap: 20px; align-items: center; display: flex; flex-direction: column; text-align: center; }
    #wp-site-blocks .faq-section .faq.accordion { border-radius: 20px; } 
    body #wp-site-blocks .accordion-header::before { float: none; }
    body.contact #hero{ height: auto !important; max-height: 100% !important; }
    body.contact #hero > .sitewidth { width: 100%; max-width: 94% !important; margin-left: auto; margin-right: auto; } body.contact #hero > .sitewidth > .sitewidth { margin-left: 0; margin-right: 0; }
    body.contact #hero .sitewidth > .rightside { display: block !important; visibility: visible !important; float: none; }
    body.contact #hero .sitewidth > .rightside .heroform { right: auto; position: relative !important; margin: 0; }
    .cta-section .cat-button { margin-top: 20px; }
    body #wp-site-blocks > #main-cta-banner > .sitewidth, .faq-section > .sitewidth, .wte-section > .sitewidth { padding-top: 30px !important; padding-bottom: 30px !important; }
    #checkmark-columns .third { margin-top: 10px; margin-bottom: 5px; }
    #social-media-links > div,
    #social-media-links > div > div { gap: 20px; }
    #social-media-links > div > div > div { gap: 10px; }
}

@media All and (min-width: 1000px) {

    #wp-site-blocks .cta-section .wp-block-buttons .wp-block-button a,  #wp-site-blocks .cta-section .wp-block-buttons .wp-block-button a strong { white-space: nowrap; }
    #wp-site-blocks > .wp-block-group .wp-block-columns { justify-content: space-between; }
    #wp-site-blocks > .wp-block-group .rightside figure img { float: right; }
}

@media All and (max-width: 1000px) {
    #menu-toggle { background-image: url(img/bars.svg) !important; }
    body.mobile-menu-open #menu-toggle { background-image: url(img/times.svg) !important; }
    #menu-toggle {
        background-image: url(/img/bars.svg);
        background-size: 20px auto;
        background-position: center center;
        background-repeat: no-repeat;
        display: block !important;
        visibility: visible !important;
    }
    body.mobile-menu-open #menu-toggle {
        background-image: url(/img/times.svg);
    }
    body.mobile-menu-open #mobile-nav { display: block !important; visibility: visible !important; }
    #mobile-nav > ul.menu::before {
        content: 'Pope & Sons';
    }
}
@media All and (max-width: 650px) {
    .desktop, #circle-images-section img, body #footer-address, #all-services ul.menu > li > a { display: none; visibility: hidden; }
    #wp-site-blocks #masthead > .wp-block-group:first-child { width: 80%; margin-left: auto; margin-right: auto; }
    #masthead > .wp-block-group:first-child > .wp-block-group { justify-content: center; }
    #hero .wp-block-columns > .wp-block-column, #wp-site-blocks .wp-block-columns > .wp-block-column { width: 100%; max-width: 100%; }
    #hero .wp-block-columns, #main-cta-banner > .wp-block-group, .cta-section > .wp-block-group, .faq-section > .wp-block-group, .wte-section > .wp-block-group, .alignfull > .wp-block-group { max-width: 80%; margin-left: auto; margin-right: auto; }
    #checkmark-columns > .wp-block-group { gap: 20px; }
    #hero.alignfull > .wp-block-group, .wp-block-group .leftside, .wp-block-group .rightside { width: 100%; max-width: 100%; }
    body #wp-site-blocks div.accordion header.accordion-header { flex-wrap: nowrap; }
    #circle-images-section .wp-block-group.is-vertical { align-items: center; flex-direction: column; text-align: center; }
    .cta-section h3 { text-align: center; }
    .cta-section > .wp-block-group > .wp-block-group { align-items: center; justify-content: space-between; flex-direction: column; text-align: center; gap: 30px; }
    #hero-banner { padding-top: 10px; padding-bottom: 10px; }
    .faq-section, .cta-section, #circle-images-section, .wte-section, #checkmark-columns > .wp-block-group, #contact-section > .wp-block-group,
    #testimonials-section > .wp-block-group, #main-footer > .wp-block-group, #video-section > .wp-block-group { padding-top: 30px !important; padding-bottom: 30px !important; }
    body #wp-site-blocks #social-media-links .flex-row { flex-direction: row; }
    body.contact #wp-site-blocks #hero .heroform { right: auto; position: relative; }
    html body #wp-site-blocks #social-media-links { columns: 2 !important; gap: 20px; }
    html body #wp-site-blocks #hero { min-height: 200px; height: auto; }
    body.contact #hero .wp-block-column .alignright { width: 100%; margin: 0 auto; padding-bottom: 40px; }
    .wp-block-columns > .wp-block-column figure, .wp-block-columns > .wp-block-column figure > img { margin-left: auto; margin-right: auto; float: none; display: block; text-align: center; }
}

@media All and (min-width: 651px) and (max-width: 999px) {
    #microsite-main-nav { display: none; visibility: hidden; }
    #wp-site-blocks #masthead > .wp-block-group:first-child,
    #wp-site-blocks #hero .wp-block-columns,
    #wp-site-blocks #hero-banner,
    #wp-site-blocks > .wp-block-group > .wp-block-group,
    #wp-site-blocks > .wp-block-group > .wp-block-columns { width: 80%; margin-left: auto; margin-right: auto; }
    #wp-site-blocks #hero > .wp-block-group { width: 100%; }
}
