/* ================================================================
   MASTER UNLOCK CODE - HOME SERVICE GROUPS V1
   Modernizes only the service groups rendered below the Home intro.
   Existing progressive loading, group folding, service URLs, prices
   and order behavior remain unchanged.
   ================================================================ */

#gsm-home-services-v79-root {
    --muc-hs-navy:#173d5c;
    --muc-hs-blue:#23678f;
    --muc-hs-orange:#ef8514;
    --muc-hs-muted:#718697;
    --muc-hs-line:#d8e3e9;
}

/* Each service group is now one clean Master card. */
#gsm-home-services-v79-root .gsm-home-service-v79-slot > .divTableR {
    overflow:hidden !important;
    margin:0 0 12px !important;
    border:1px solid var(--muc-hs-line) !important;
    border-radius:10px !important;
    background:#fff !important;
    box-shadow:0 5px 16px rgba(23,61,92,.035) !important;
}

/* Remove the old dark/blue group banner. */
#gsm-home-services-v79-root .gsm-home-service-v79-slot > .divTableR > .divHeaderR {
    position:relative !important;
    min-height:44px !important;
    padding:11px 126px 10px 14px !important;

    border:0 !important;
    border-top:3px solid var(--muc-hs-orange) !important;
    border-bottom:1px solid #e1e8ed !important;
    border-radius:0 !important;

    background:
        linear-gradient(105deg,rgba(239,133,20,.055),transparent 44%),
        #f8fafb !important;
    background-image:
        linear-gradient(105deg,rgba(239,133,20,.055),transparent 44%) !important;

    color:var(--muc-hs-navy) !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:15px !important;
    line-height:20px !important;
    font-weight:700 !important;
    text-shadow:none !important;
    box-shadow:none !important;
}

#gsm-home-services-v79-root .gsm-home-service-v79-slot > .divTableR > .divHeaderR * {
    color:inherit !important;
    text-shadow:none !important;
}

/* Fold controls fit the new light header. */
#gsm-home-services-v79-root .gsm-home-v79-toggle {
    min-width:96px !important;
    height:27px !important;
    border:1px solid #c7d8e3 !important;
    border-bottom:2px solid var(--muc-hs-orange) !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#285f82 !important;
    font-size:9.5px !important;
    line-height:24px !important;
    box-shadow:0 2px 5px rgba(23,61,92,.04) !important;
}

#gsm-home-services-v79-root .gsm-home-v79-toggle:hover,
#gsm-home-services-v79-root .gsm-home-v79-toggle:focus {
    border-color:#9ebfd4 !important;
    background:#f6fafc !important;
    color:#174e72 !important;
}

/* Content area */
#gsm-home-services-v79-root .divContentR {
    padding:0 !important;
    background:#fff !important;
}

/* Old CMS promotional blocks become a simple information note. */
#gsm-home-services-v79-root .divContentR > .divTableC {
    margin:12px 13px 9px !important;
    border:0 !important;
    background:transparent !important;
}

#gsm-home-services-v79-root .divContentR > .divTableC .divContentG {
    padding:11px 13px !important;
    border:1px solid #dce5eb !important;
    border-left:3px solid var(--muc-hs-orange) !important;
    border-radius:8px !important;
    background:#f8fafb !important;
    color:#456173 !important;
    font-size:10.5px !important;
    line-height:16px !important;
    box-shadow:none !important;
}

/* Neutralize legacy blue/green nested banners in old CMS content. */
#gsm-home-services-v79-root .divContentR > .divTableC .divContentG > *,
#gsm-home-services-v79-root .divContentR > .divTableC .divContentG > * > * {
    background-color:transparent !important;
    background-image:none !important;
    color:inherit !important;
    text-shadow:none !important;
    box-shadow:none !important;
}

#gsm-home-services-v79-root .divContentR > .divTableC .divContentG strong,
#gsm-home-services-v79-root .divContentR > .divTableC .divContentG b {
    color:var(--muc-hs-navy) !important;
}

/* Service table */
#gsm-home-services-v79-root .table-service {
    margin:0 !important;
    border:0 !important;
    border-top:1px solid #edf1f4 !important;
    border-radius:0 !important;
}

/* Subgroup heading */
#gsm-home-services-v79-root .table-service
> tbody > .tr-header > td[colspan="6"] {
    padding:10px 12px 8px 13px !important;
    border:0 !important;
    border-bottom:1px solid #e3eaf0 !important;
    background:#fbfcfd !important;
}

#gsm-home-services-v79-root .table-service
> tbody > .tr-header > td[colspan="6"] .h-type0,
#gsm-home-services-v79-root .table-service
> tbody > .tr-header > td[colspan="6"] .h-type1,
#gsm-home-services-v79-root .table-service
> tbody > .tr-header > td[colspan="6"] .link-subgroup {
    color:#245d80 !important;
}

/* First subgroup's Show/Hide button also follows Master style. */
#gsm-home-services-v79-root .gsm-home-v79-subgroup-toggle {
    min-width:92px !important;
    height:25px !important;
    border:1px solid #c9d9e3 !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#356b8b !important;
    font-size:9px !important;
    line-height:23px !important;
    box-shadow:none !important;
}

#gsm-home-services-v79-root .gsm-home-v79-subgroup-toggle:hover,
#gsm-home-services-v79-root .gsm-home-v79-subgroup-toggle:focus {
    border-color:#a8c5d7 !important;
    background:#f7fafc !important;
    color:#174e72 !important;
}

/* Column heading row */
#gsm-home-services-v79-root .table-service
> tbody > .tr-header > td:not([colspan]) {
    padding:8px 6px !important;
    border:0 !important;
    border-bottom:1px solid #e2e9ee !important;
    background:#f6f9fb !important;
    color:#597285 !important;
    font-size:9.5px !important;
    line-height:14px !important;
    font-weight:700 !important;
}

#gsm-home-services-v79-root .table-service
> tbody > .tr-header > td:first-child:not([colspan]) img,
#gsm-home-services-v79-root .table-service
> tbody > .tr-header > td:last-child:not([colspan]) img {
    opacity:.35 !important;
}

/* Service rows */
#gsm-home-services-v79-root .table-service .tr-detail-list,
#gsm-home-services-v79-root .table-service .tr-detail-list.bg0,
#gsm-home-services-v79-root .table-service .tr-detail-list.bg1 {
    background:#fff !important;
}

#gsm-home-services-v79-root .table-service .tr-detail-list:hover {
    background:#fffaf4 !important;
}

#gsm-home-services-v79-root .table-service .tr-detail-list > td {
    border-bottom:1px solid #edf1f4 !important;
}

#gsm-home-services-v79-root .table-service
.tr-detail-list .col-style-1 > a:first-child,
#gsm-home-services-v79-root .table-service
.tr-detail-list .col-style-1 > a:first-of-type {
    color:#1f5577 !important;
    font-weight:700 !important;
}

#gsm-home-services-v79-root .table-service
.tr-detail-list .col-style-1 > a.hidden-xs,
#gsm-home-services-v79-root .table-service
.tr-detail-list .col-style-1 > a.hidden-xs span {
    color:#8193a0 !important;
}

#gsm-home-services-v79-root .table-service .tr-detail-list .col-style-2 {
    color:#d87413 !important;
}

/* Order CTA */
#gsm-home-services-v79-root .table-service
.tr-detail-list > td:last-child > a {
    min-width:66px !important;
    height:28px !important;
    border:1px solid #8dbbd6 !important;
    border-bottom:2px solid var(--muc-hs-orange) !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#17608d !important;
}

#gsm-home-services-v79-root .table-service
.tr-detail-list > td:last-child > a:hover,
#gsm-home-services-v79-root .table-service
.tr-detail-list > td:last-child > a:focus {
    border-color:#1f709d !important;
    background:#1f709d !important;
    color:#fff !important;
}

/* The old yellow divider no longer belongs to Master. */
#gsm-home-services-v79-root .line3,
#gsm-home-services-v79-root .line3 td {
    border:0 !important;
    background:transparent !important;
}

/* Mobile */
@media(max-width:767px) {
    #gsm-home-services-v79-root .gsm-home-service-v79-slot > .divTableR {
        border-radius:8px !important;
        margin-bottom:10px !important;
    }

    #gsm-home-services-v79-root .gsm-home-service-v79-slot > .divTableR > .divHeaderR {
        min-height:41px !important;
        padding:9px 106px 8px 11px !important;
        font-size:14px !important;
        line-height:19px !important;
    }

    #gsm-home-services-v79-root .gsm-home-v79-toggle {
        min-width:88px !important;
        height:25px !important;
        font-size:9px !important;
        line-height:22px !important;
    }

    #gsm-home-services-v79-root .divContentR > .divTableC {
        margin:9px 8px 7px !important;
    }

    #gsm-home-services-v79-root .divContentR > .divTableC .divContentG {
        padding:9px 10px !important;
        font-size:9.5px !important;
        line-height:15px !important;
    }
}
