/**
 * Ja-Mar Roofing - Page-Specific Styles
 * Conditional styles for specific page IDs
 * Load priority: Medium (after global styles)
 */

/* ========================================
   HOMEPAGE SPECIFIC
   ======================================== */

.parent-pageid-5891 .page-hero {
    background-color: none !important;
}

.fl-node-5a18902e4ca19 .fl-row-content-wrap,
.fl-node-5ca8aa9b09573 {
    padding-top: 30px !important;
}

.fl-node-5a188fb9a2ac8 .fl-row-content-wrap {
    padding-top: 20px !important;
}

.hp-btm-border .fl-module-content.fl-node-content {
    margin: 0px 0px 20px 0px;
    padding: 0px;
}

.fl-node-60fb099001134 .fl-testimonials-wrap.fl-testimonials-no-heading {
    padding-top: 40px;
}

.home .fl-callout-photo-left .fl-callout-photo {
    width: 20%;
}

/* ========================================
   SPECIFIC PAGE IDS - HIDE H1
   ======================================== */

.page-id-8924 h1,
.page-id-8860 h1,
.page-id-4482 h1,
.page-id-8519 h1,
.page-id-9155 h1,
.page-id-9177 h1 {
    display: none;
}

.page-id-9177 .show h1 {
    display: block;
}

/* ========================================
   PAGE ID 8860 SPECIFIC
   ======================================== */

.page-id-8860 .fl-col-group .fl-node-e5wkjus976i0 {
    text-align: center;
    padding-left: 50%;
}

@media screen and (max-width: 600px) {
    .page-id-8860 .fl-col-group .fl-node-d0rh6kms3zl7 {
        padding-left: 20px;
    }

    .page-id-8860 article .fl-module-content {
        margin: 20px 20px 20px 20px;
    }
}

/* ========================================
   PAGE ID 4800 - GALLERY
   ======================================== */

.page-id-4800 .gallery-item img {
    width: 300px;
    height: 150px;
}

@media screen and (max-width: 600px) {
    .page-id-4800 .gallery-item img {
        width: unset;
        height: unset;
    }

    .gallery-columns-3 .gallery-item {
        max-width: unset;
    }
}

/* ========================================
   PAGE ID 8095 & 10376 - FORM PAGES
   ======================================== */

.page-id-8095 .widget-area .widget,
.page-id-10376 .widget-area .widget {
    padding: 0px;
}

.page-id-8095 #text-36 .widget {
    background-color: #ffffff !important;
}

.page-id-8095 .gform_heading,
.page-id-10376 .gform_heading {
    background-color: #d35c58 !important;
    padding-top: 10px;
    text-align: center;
}

.page-id-8095 .gform_legacy_markup_wrapper,
.page-id-10376 .gform_legacy_markup_wrapper {
    background-color: #23282d !important;
}

.page-id-8095 .gform_body,
.page-id-10376 .gform_body {
    padding: 0 5px 0 20px;
}

.page-id-8095 .gform_footer,
.page-id-10376 .gform_footer {
    padding: 0 20px 25px;
}

#gform_submit_button_17 {
    padding: 10px;
    border-radius: 0;
}

.page-id-8095 #toc-widget-3,
.page-id-10376 #toc-widget-3 {
    padding: 25px !important;
}

.page-id-8095 #text-36,
.page-id-8095 #block-3,
.page-id-10376 #text-36,
.page-id-10376 #block-3 {
    background-color: unset !important;
}

/* ========================================
   PAGE ID 6702 & 10268 & 10259 - TOC HIDING
   ======================================== */

body.page-id-6702 #toc_container,
body.page-id-10268 #toc_container,
body.page-id-10259 #toc_container {
    display: none !important;
}

/* ========================================
   PARENT PAGE ID 1455
   ======================================== */

body.parent-pageid-1455 h1 {
    margin-top: 0px !important;
}

body.page-id-1455 .fl-callout-text h4 {
	font-size: 14px !important;
}

/* ========================================
   THANK YOU PAGE - PAGE ID 11
   ======================================== */

.page-id-11 h1 {
    display: none;
}

.page-id-11 .hero-section h1 {
    display: block;
    color: #ffffff;
}

/* ========================================
   THANK YOU FOR ENTRY PAGE - PAGE ID 12042
   ======================================== */

.page-id-12042 h1 {
    display: none;
}

.page-id-12042 .hero-section h1 {
    display: block;
    color: #ffffff;
}

/* ========================================
   SIDEBAR & WIDGET LAYOUTS
   ======================================== */

.fl-col.fl-node-5ca7bb15e5904 {
    width: 71%;
    margin-right: 40px;
    float: left;
}

.fl-col.fl-node-5ca7bb15e5942.fl-col-small {
    width: 25%;
    float: left;
}

body.page-id-1558 .fl-node-5caa722cd1ef4 > .fl-row-content-wrap {
    padding-top: 20px !important;
}

@media screen and (max-width: 600px) {
    .fl-col.fl-node-5ca7bb15e5904 {
        width: 100%;
        margin-right: 0px;
        float: none;
    }

    .fl-col.fl-node-5ca7bb15e5942.fl-col-small {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}

/* ========================================
   BIO & REVIEWS SECTIONS
   ======================================== */

.bio-reviews {
    text-align: center;
    margin-bottom: 30px;
}

.bio-reviews p {
    padding-left: 15%;
    padding-right: 15%;
}

.bio-reviews h2.fl-heading a {
    color: #606060;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    text-transform: none;
}

/* ========================================
   FOOTER SERVICES SECTION
   ======================================== */

.footer-services {
    max-height: 210px !important;
}

.footer-services .lgc-grid-66,
.footer-services .lgc-grid-33 {
    height: unset !important;
}

.fl-node-r4fq90b1o3pg,
.fl-node-5ezdb9lqgt38 {
    text-align: center !important;
}

.footer-services .hfeed.site.grid-container.container.grid-parent {
    max-width: 1200px !important;
}

@media screen and (max-width: 600px) {
    .footer-services {
        max-height: unset !important;
    }

    .footer-services ul.gps-list {
        margin: 0 0 0em 3em;
    }
}

/* ========================================
   GRID & COLUMN LAYOUTS
   ======================================== */

.post-image-aligned-left .inside-article {
    zoom: unset !important;
}

.lgc-column.lgc-grid-parent.lgc-grid-50.lgc-tablet-grid-50.lgc-mobile-grid-100.lgc-equal-heights.lgc-first,
.lgc-column.lgc-grid-parent.lgc-grid-50.lgc-tablet-grid-50.lgc-mobile-grid-100.lgc-equal-heights.lgc-last {
    height: unset !important;
}

.fl-node-5ec41fa6e61ae {
    padding: 0px 20px;
}

.google-map {
    width: 100% !important;
}

.fl-node-qefl8ghrnybz .fl-col {
    float: unset !important;
}

.fl-node-cjzw3frl4eg9 .fl-module-content {
    margin: 20px 0px 10px 0px !important;
}

/* ========================================
   FLEXIBLE GRID HELPERS
   ======================================== */

.half {
    width: 48%;
    margin-right: 2%;
    float: left;
}

.one-third {
    width: 33.3%;
    float: left;
}

.one-fourth {
    width: 25%;
    float: left;
}

.one-fifth {
    width: 20%;
    float: left;
}

@media screen and (max-width: 800px) {
    .one-third,
    .one-fourth,
    .one-fifth {
        width: 98%;
        margin: 0px auto;
        float: none;
    }
}

@media screen and (max-width: 600px) {
    .half {
        width: 100%;
        margin-right: 0;
        float: unset;
    }
}

/* ========================================
   FEATURE CARDS (FO-IMG / FO-DSC)
   ======================================== */

.fo-img {
    min-height: 180px;
    text-align: center;
}

.fo-dsc {
    min-height: 260px;
}

.fo-img .hfsapp {
    margin-top: 30px;
}

.fo-img .hfsapp2 {
    padding-top: 60px;
}

@media screen and (max-width: 600px) {
    .fo-img {
        min-height: 0px;
        margin-bottom: 20px;
    }

    .fo-dsc {
        min-height: 0px;
        margin-bottom: 20px;
    }

    .fo-img .hfsapp2 {
        padding-top: 0px;
    }
}
