/**handles:child-style**/
/*
Theme Name:   Boutros Child
Description:  Child theme for Boutros
Author:       Strategy Collective
Template:     boutros
Version:      1.0.8
*/
footer {
    display:block;
    flex-direction: column;
}

footer .top-footer {
    display: flex;
    flex-direction: column;
}

footer .bottom-footer {
    color: #4f4263;
    padding-top: 20px;
    text-align: center;
}

footer .bottom-footer a {
    text-decoration: none;
    color: #4f4263;
}

footer .bottom-footer a:hover,
footer .bottom-footer a:active,
footer .bottom-footer a:focus,
footer .bottom-footer a:focus-within {
    font-weight: 600;
}

footer .top-footer .fcol1, footer .top-footer .fcol2, footer .top-footer .fcol3 {
    max-width: 100%;
}

footer .top-footer .fcol1 img { display:block; max-width: 100% !important; }

footer .top-footer .fcol2 {
    flex-direction: column;
}

footer .top-footer .locations {
    align-items: flex-start;
    flex-direction: column;
}

footer .top-footer ul.locations li {
    display: flex;
    justify-content: flex-start;
    margin-bottom:10px;
}

footer .top-footer ul.locations li span {
    display:inline-block;
    width: 14px;
    height: auto;
    padding-top: 3px;
}

footer .top-footer ul.locations li span svg {
    display: block;
    max-width:100%;
    height: auto;
}

footer .top-footer .locations li a {
    font-size:16px;
    font-weight:600;
    text-align:left;
    width:calc(100% - 14px);
    padding-left:4px;
}

footer .fsocial { 
    display: flex;
    gap: 18px;
}

footer .fsocial a svg { width: 22px; height: 22px; }
footer .fsocial a svg path { fill: #4f4263; color: #4f4263; }
footer .fsocial a:hover svg path { fill:#6D8DCE; color: #6D8DCE; }
nav#top-navigation .bottom-bar-wrapper .site-branding a { display:none; }

@media screen and (max-width: 990px) {
    .logoburger { 
        display: flex; 
        justify-content:space-between;
        gap: 16px; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        background: #4f4263; 
        background: linear-gradient(135deg, #4f4263 0, #34254c 100%); 
        padding: 30px 15px; 
        max-height: 155px; 
        z-index: 9; 
    }
    
    .logoburger .site-logo { width: 260px; }
    .logoburger .right-header-bar { display:flex; }
    
    .logoburger a svg { display: block; max-width: 100%; height: auto; }
    .logoburger a.phonemobile svg { width: 24px; }
    .admin-bar .logoburger {
        margin-top:32px;   
    }
    
    .logoburger .burger { cursor: pointer; }
    .logoburger .burger .bar1, .logoburger .burger .bar2, .logoburger .burger .bar3 { width: 38px; height: 3px; background-color: #fff; margin: 4px 0; transition: .4s; border-radius: 5px; }
    .logoburger .burger .bar2 { margin-left: 7px; }
    .iheadingwrap { height: auto; min-height: 6em; }
}

@media screen and (max-width: 991px) {
    .pages .iheadingwrap { height: auto !important; min-height: 6rem; }
}

@media screen and (max-width:1023px) {
    footer .top-footer address {
        padding: 0 15px;
    }
    
    footer .top-footer .fcol1 {
        margin-bottom: 20px;
    }
    
    footer .top-footer .fcol1 img {
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }
    
    footer .top-footer .fcol3 {
        text-align: center;
    }
    
    footer .top-footer .fsocial { justify-content: center; }
}

@media (min-width:768px) {
    footer .top-footer .fcol2 .fhours {
        padding-left:18px;
    }   
}

@media (min-width:991px) {
    nav#top-navigation { min-height:80px; height:auto; bottom: auto; padding-top:0; transform: unset; }
    .admin-bar nav#top-navigation { padding-top: 32px; }
    nav#top-navigation a { border-bottom:0; }
    nav#top-navigation .closenav, .homeheader .logoburger .burger, .logoburger .fixedphone { display:none; }
    .logoburger { margin-top:53px; }
    nav#top-navigation ul:not(.sub-menu) { display:flex; justify-content: space-between; max-width: 100%; padding-left:20px; }
    nav#top-navigation li { position: relative; width: auto; white-space:nowrap; }
    nav#top-navigation li:hover a { font-weight: 600; transition: all 0.4s ease-out; }
    
    nav#top-navigation li:has(.sub-menu):hover a::after,
    nav#top-navigation li:has(.sub-menu):hover a:after { 
        content:''; 
        position: absolute; 
        width:0; 
        height:0; 
        border-top:0; 
        border-left:10px solid transparent; 
        border-right: 10px solid transparent; 
        border-bottom: 8px solid #ffffff; 
        transition: all 0.4s ease-out; 
        bottom: 0; left:50%; 
        transform: translateX(-50%); 
    } 
    
    nav#top-navigation li:has(.sub-menu):hover .sub-menu a::after,
    nav#top-navigation li:has(.sub-menu):hover .sub-menu a:after,
    nav#top-navigation li:has(.sub-menu):hover .sub-menu a:hover::after,
    nav#top-navigation li:has(.sub-menu):hover .sub-menu a:hover:after { 
        content: unset;
        border:0;
    }
    
    nav#top-navigation li ul li:hover a::after { border:0; }
    nav#top-navigation li a { font-size:13px; font-family: sans-serif; padding: 20px 5px; height: auto; border-bottom:0; }
    nav#top-navigation .sub-menu { position: absolute; background-color: #ffffff; }
    nav#top-navigation .sub-menu li a { white-space:nowrap; color: #000000; text-align: left; height: auto; line-height: 1.8; padding: 10px 20px; border-bottom:0; }
    nav#top-navigation .sub-menu li a:hover, nav#top-navigation .sub-menu li a:focus, nav#top-navigation .sub-menu li a:focus-within, nav#top-navigation .sub-menu li a:active {
        background-color: #34254C; color: #ffffff;
    }
    nav#top-navigation li:hover > ul.sub-menu { display:block; }
    nav#top-navigation .sub-menu:hover .sub-menu { left: 100%; margin-top:-40px; }
    nav#top-navigation .menu-item-has-children button { position: absolute; top:12px; width: 18px; height:18px; transform: rotate(90deg); }
    .logoburger .site-logo, .homeheader .logoburger { display: none; }
    .homeheader .left, .homeheader .right, .homeheader .headerend { padding-top:53px; }
    .homeheader .logoburger.is-fixed { display:none; opacity:0;margin-top:-800px; }
    
    nav#top-navigation .bottom-bar-wrapper { display: flex; justify-content:flex-start; max-width:1450px; margin-left:auto; margin-right:auto; padding: 0 20px; }
    nav#top-navigation .bottom-bar-wrapper .site-branding a { display:block; padding: 0 20px; }
    nav#top-navigation .bottom-bar-wrapper .site-branding a img { display:block; max-width: 100%; max-height: 100%; }
}

@media (min-width:1024px) {
    footer { flex-direction: column; }
    
    footer .top-footer {
        flex-direction: row;
        justify-content: space-between;
    }
    
    footer .top-footer .fcol1, footer .top-footer .fcol2 {
        width: 40%; 
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    footer .top-footer .fcol2 { padding-left: 20px; }
    
    footer .top-footer .fcol3 {
        width: 20%;
        padding-left: 20px;
    }
    
    .content.breadcrumb {
        text-align: left;
    }
}

@media (min-width:1180px) {
    nav#top-navigation li a { padding:20px 20px; }
}

.homeheader.gallery-header {
    min-height: 348px;
}

.homeheader.gallery-header h1 {
    max-width: 90%;
    margin: 0 auto;
}

@media screen and (min-width: 767px){
    .homeheader.gallery-header h1 {
        max-width:600px;
    }
}

@media screen and (min-width:1280px) {
    .homeheader.gallery-header h1 {
        max-width: 820px;
    }
}

.iheadingwrap.scgc-title-wrapper {
    max-width:50vw;
}

.iheadingwrap.scgc-title-wrapper .scgc-gallery-title,
.iheadingwrap.scgc-title-wrapper .scgc-patient-title,
.iheadingwrap.scgc-title-wrapper .scgc-gallery-title {
    color: #ffffff;
    margin-bottom: 0;
}

@media screen and (min-width: 980px) {
    .iheadingwrap.scgc-title-wrapper .scgc-gallery-title,
    .iheadingwrap.scgc-title-wrapper .scgc-patient-title {
        font-size: 76px;
    }
}

.homeheader.gallery-header,
.homeheader.gallery-header.insidenav .overlay {
    height: auto;
}

.homeheader.gallery-header.insidenav .bgheaderimage {
    height: 100%;
}

.scgallery .content.breadcrumb {
    padding-top: 10px;
}

.scgc-procedure-section .scgc-photo-grid.scgc-columns-3 {
    gap: 40px;
}

.scgc-procedure-title,
.content .scgc-procedure-title {
    text-align: left;
    font-weight: normal;
    border-bottom: 0;
    margin-bottom: 0;
}

.content .scgc-photo-grid.scgc-count-1, 
.content .scgc-photo-grid.scgc-count-2 {
    justify-content: flex-start;
}

.content .scgc-case-number {
    margin: 50px 0 8px 0;
}

.content .scgc-card-grid .scgc-before-after-container {
    height: calc( 100% - 110px);
    gap: 5px;
}

.content .scgc-before-after-container .scgc-photo-set-info {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.content .scgc-before-after-container .scgc-photo-set-info a {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0);
    z-index:20;
}

.content .scgc-before-after-container .scgc-photo-set-info a .scgc-description,
.content .scgc-before-after-container .scgc-photo-set-info .scgc-view-patient-btn,
.content .scgc-before-after-container .scgc-photo-set-info a .scgc-view-patient-btn {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    opacity: 0;
    transition: all 0.4s ease-out;
}

.content .scgc-before-after-container .scgc-photo-set-info a .scgc-description {
    font-size: 24px;
    text-align: center;
}

.content .scgc-before-after-container .scgc-photo-set-info .scgc-view-patient-btn,
.content .scgc-before-after-container .scgc-photo-set-info a .scgc-view-patient-btn {
    background: transparent;
    font-weight: 400;
    
}

.content .scgc-before-after-container .scgc-photo-set-info a:hover {
    background: rgba(129, 161, 226, 0.6);
}

.content .scgc-before-after-container .scgc-photo-set-info a:hover .scgc-description,
.content .scgc-before-after-container .scgc-photo-set-info a:hover .scgc-view-patient-btn {
    opacity: 1;
    z-index: 22;
}

.scgc-patient-detail .scgc-patient-sets {
    flex-direction: row-reverse;
    gap: 60px;
}

.scgc-patient-detail .scgc-patient-sets .scgc-patient-set {
    padding: 0;
}

.scgc-patient-sets .scgc-patient-set .scgc-before-after-pair {
    gap: 15px;
}

.scgc-photo-view .scgc-view-title {
    background: transparent;
    text-align: left;
    margin: 0 0 10px 0;
    padding: 0;
    border-bottom: 0;
    border-radius: 0;
}

.scgc-sidebar .scgc-sidebar-inner { 
    padding: 0;
}

.scgc-sidebar-inner h3,
.content .scgc-sidebar-inner h3 {
    text-align: left;
    margin-top: 0;
}

.content .scgc-photo-set-card {
    box-shadow: unset;
}

.content .scgc-photo-set-card:hover {
    box-shadow: unset;
}

@media screen and (min-width:1024px) {
    .content .scgc-photo-set-card {
        margin-bottom: 89px;
    }
}

.scgc-view-more .scgc-view-more-button {
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    padding: 0;
    margin: 0;
}

.scgc-patient-detail .scgc-patient-header {
    margin-bottom: 30px;
}

.scgc-patient-detail .scgc-navigation-bar {
    margin-bottom: 0;
}

.scgc-navigation-bar .scgc-patient-title {
    margin-top: 0;
}

.scgc-patient-detail .scgc-back-link {
    padding: 0 0 30px;
    margin-top: 0;
}

.scgc-navigation-bar .scgc-patient-nav {
    width: 75%;
    justify-content: space-between;
}

.scgc-patient-detail .scgc-back-link .scgc-back-button,
.scgc-procedure-header .scgc-back-link .scgc-back-button,
.scgc-navigation-bar .scgc-back-link .scgc-back-button,
.scgc-navigation-bar .scgc-patient-nav .scgc-nav-button {
    background: transparent;
    color: #81A1E2 !important;
    font-family: 'lato', sans-serif;
    font-size: 18px;
    border: 0;
    padding: 0;
}

.scgc-procedure-header .scgc-back-link .scgc-back-button:hover,
.scgc-navigation-bar .scgc-back-link .scgc-back-button:hover {
    color: #4775d4 !important;
}

.scgc-patient-detail .scgc-back-link .scgc-back-button:before,
.scgc-patient-detail .scgc-back-link .scgc-back-button::before,
.scgc-procedure-header .scgc-back-link .scgc-back-button:before,
.scgc-procedure-header .scgc-back-link .scgc-back-button::before,
.scgc-navigation-bar .scgc-back-link .scgc-back-button:before,
.scgc-navigation-bar .scgc-back-link .scgc-back-button::before,
.scgc-navigation-bar .scgc-patient-nav .scgc-nav-button.scgc-prev:before,
.scgc-navigation-bar .scgc-patient-nav .scgc-nav-button.scgc-prev::before,
.scgc-navigation-bar .scgc-patient-nav .scgc-nav-button.scgc-next:after,
.scgc-navigation-bar .scgc-patient-nav .scgc-nav-button.scgc-next::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 14px;
    background: url(/wp-content/uploads/2025/03/chevron-left.svg) no-repeat;
    background-size: contain;
}

.scgc-navigation-bar .scgc-patient-nav .scgc-nav-button.scgc-next:after,
.scgc-navigation-bar .scgc-patient-nav .scgc-nav-button.scgc-next::after {
    transform: scaleX(-1);
}

.scgc-view-more .scgc-view-more-button:hover,
.scgc-view-more .scgc-view-more-button:focus,
.scgc-view-more .scgc-view-more-button:focus-within,
.scgc-view-more .scgc-view-more-button:active {
    background: transparent;
    color: #BEA7E3;
    font-weight: 500;
}

@media screen and (max-width:1280px) {
    .homeheader.gallery-header h1 { 
        font-size: 54px;
    }
}

@media (max-width: 991px) {
    
    .insidenav.gallery-header {
        justify-content: center;
        align-items: center;
        min-height: 240px;
        margin-top: 60px;
    }
    
    .insidenav.gallery-header div {
        height: auto;
    }
    
    .scgc-navigation-bar .scgc-patient-nav {
        width: 100%;
    }
    
    .insidenav.gallery-header .left {
        padding: 0;
    }
    
    .pages.sc-gallery .breadcrumb {
        display: none;
    }
    
    .iheadingwrap.scgc-title-wrapper {
        margin-top: -80px;
    }
    
    .scgc-patient-detail .scgc-patient-sets {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .scgc-patient-detail .scgc-before-after-pair {
        grid-template-columns: 1fr 1fr;
    }
    
    .scgc-patient-detail .scgc-navigation-bar .scgc-back-link {
        order: 1;
    }
    
    .scgc-patient-detail .scgc-navigation-bar .scgc-patient-nav {
        order: 2;
        padding-bottom: 30px;
    }
    
    .scgc-patient-detail .scgc-navigation-bar .scgc-patient-title {
        order: 3;
        text-align: center;
    }
    
    .insidenav.gallery-header .left {
        width: 100%;
        flex-basis: auto;
    }
    
    .scgc-title-wrapper.sc-gallery {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .scgc-patient-detail .scgc-navigation-bar {
        align-items: center;
        margin-bottom: 0;
    }
    
    .scgc-patient-detail .scgc-patient-header {
        margin-top: 40px;
        margin-bottom: 0;
    }
    
    .scgc-patient-detail .scgc-navigation-bar .scgc-patient-title {
        margin-top: 40px;
    }
    
    .iheadingwrap.scgc-title-wrapper {
        margin-top: -90px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 680px){
    .homeheader.gallery-header h1 {
        font-size:44px;
    }
}

@media (max-width: 620px) {
    .iheadingwrap.scgc-title-wrapper {
        margin-top: -120px;
    }
}