/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/
/*Phone number color in contacts on mobile devices*/
.dt-phone *,
.dt-phone:hover *{
color: inherit;
}
.dt-phone {
    margin: 45px 0px 0px 0px !important;
}
.mini-widgets .text-area a:not(.dt-btn), .mobile-mini-widgets .text-area a:not(.dt-btn) {
    text-decoration: none;
    text-decoration-color: rgba(0, 0, 0, 0.25);
}

.upperzindex {
    z-index: 40 !important; /* Adjust value as needed */
}
.pswp__caption h5 {display: none;}
.gform_wrapper .top_label .gfield_label {
    font-weight:500;
    font-size: 18px;
    color: #8bc441;
}
.tp-video-play-button { display: none !important; }
.rev_slider video { pointer-events: none; }


/* Reset fieldset borders for Gravity Forms within Revolution Slider */
.sudler_wrapper fieldset.gfield {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-inline-size: auto !important;
}

/* Ensure legends (labels) inside those fieldsets maintain their positioning */
.sudler_wrapper fieldset.gfield legend.gfield_label {
    padding: 0 !important;
    margin-bottom: 8px !important;
}
/* Hide Gravity Forms Honeypot Field inside Revolution Slider */
.sudler_wrapper .gfield--type-honeypot,
.sudler_wrapper .gform_validation_container,
.gform_wrapper .gform_validation_container,
.gform_wrapper .gfield--type-honeypot {
    display: none !important;
    position: absolute !important;
    left: -9000px !important;
    visibility: hidden !important;
}
/* Strip default fieldset borders from all Gravity Forms */
.gform_wrapper fieldset, 
.gform_wrapper fieldset.gfield {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-inline-size: auto !important;
}

.gform_wrapper fieldset legend.gfield_label {
    padding: 0 !important;
    margin-bottom: 8px !important;
}
/* Sudler Custom Modal Styles */
.sudler-modal-overlay {
    display: none;
    position: fixed;
    z-index: 999999 !important; /* Added !important here to beat The7's header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 5, 63, 0.85); /* Sudler dark blue tint */
    backdrop-filter: blur(5px);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sudler-modal-overlay.modal-active {
    display: block;
    opacity: 1;
}

.sudler-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.sudler-modal-close {
    color: #aaaaaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.sudler-modal-close:hover {color: #0e2140;}
.mobile-header-bar .mobile-branding img {margin-left: -30px}
.gform_wrapper .top_label .gfield_label {color: #112337;}
/* Ensure Gravity Forms Grid works inside our modal */
.sudler-modal-content .gform_wrapper {margin-top: 10px;}
/* Fix cut-off letters in Gravity Forms Dropdown */
.gform_wrapper .gfield_select,
.gform_wrapper .chosen-container .chosen-single,
.gform_wrapper .ts-control {
    line-height: normal !important;
    padding-bottom: 8px !important;
    height: auto !important;
}
.mini-contacts i {margin-right: 0px;}

/* Center the text vertically inside the custom portal button */
#sudler-portal-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 12px 28px !important;
    margin: 15px auto 0 auto !important;
}

/* Ensure the portal message box contents are perfectly centered */
#sudler-portal-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 1181px) {
    /* Make the outermost full-width header container the anchor point */
    body:not(.home) .masthead {
        position: relative;
    }
    
    /* Remove positioning constraints from the inner header */
    body:not(.home) .header-bar {
        position: static !important;
    }

    /* Anchor branding perfectly to the top-left, zeroing out default spacing */
    body:not(.home) .header-bar .branding {
        position: absolute;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 9999;
    }
    
    /* Ensure the link and image elements don't carry hidden native padding */
    body:not(.home) .header-bar .branding a.same-logo,
    body:not(.home) .header-bar .branding img {
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }

    /* Optional: Scale the logo down slightly so it doesn't dominate the corner */
    body:not(.home) .header-bar .branding .same-logo img {
        max-width: 140px; 
        height: auto;
    }
}
#bottom-bar.solid-bg {display: none;}

/* Prevent horizontal scrolling from the right-bleeding blue background */
html, body {
    overflow-x: hidden !important;
}

/* 1. Make the outermost footer the relative anchor and KILL the top gap */
#footer.solid-bg {
    background-color: transparent !important;
    border: none !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 10;
    padding-top: 0 !important; 
}

/* 2. Build a blue background layer that stretches infinitely to the right */
#footer.solid-bg::before {
    content: '';
    position: absolute;
    top: 0; 
    bottom: 0;
    right: -50vw; /* Forces the blue to bleed off the right screen edge */
    background-color: #1f3e66;
    border-top-left-radius: 60px;
    z-index: -1; 
}

/* Align the left curve with The7's 1280px grid on desktops */
@media screen and (min-width: 1281px) {
    #footer.solid-bg::before {
        left: 50%;
        margin-left: -640px; 
    }
}
@media screen and (max-width: 1280px) {
    #footer.solid-bg::before {
        left: 0;
    }
}

/* 3. Strip inner boundaries & kill transforms so elements break out on inner pages */
#footer .wf-wrap,
#footer .wf-container-footer,
#footer .wf-container,
#footer .wf-cell,
#footer .textwidget,
#footer .custom-html-widget {
    background-color: transparent !important;
    position: static !important; 
    overflow: visible !important; /* Kills the clipping fence */
    transform: none !important; /* Prevents inner grids from trapping absolute images */
}

#footer .wf-wrap {
    color: #ffffff;
}

#footer .wf-container-footer {
    padding-top: 40px !important; 
    padding-bottom: 40px !important;
}

/* 4. Hancock Building: Planted in lower right, shooting up the edge */
.hancock {
    position: absolute !important;
    bottom: 0 !important;
    right: 80px !important; /* Pushes the building 80px to the left */
    margin: 0 !important;
    padding: 0 !important;
    height: 950px !important; 
    width: auto !important;
    max-width: none !important; 
    z-index: 1 !important; 
    opacity: 0.15 !important;
    pointer-events: none;
}


/* 5. Sudler Logo: Offset from the very bottom-right corner */
.footerlogo {
    position: absolute !important;
    bottom: 30px !important; 
    right: 50px !important; 
    margin: 0 !important;
    padding: 0 !important;
    max-width: 250px !important; 
    height: auto !important;
    z-index: 5 !important; 
    pointer-events: none;
}

/* 6. Elevate the text so it stays clickable above the ghosted building */
#custom_html-2, 
#custom_html-3 {
    position: relative !important;
    z-index: 10 !important;
}

/* 7. Fix link colors */
#footer a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
}

/* 8. Hide the extra white gap at the very bottom */
#bottom-bar {
    display: none !important;
}
/* --- Welcome Section Header --- */
.sudler-welcome-section {
    margin-bottom: 30px;
}

/* Flexbox perfectly aligns the dot and the text vertically */
.welcome-heading-wrapper {
    display: flex;
    align-items: center; 
    gap: 15px; /* Exact space between the dot and the text */
    margin-bottom: 10px; 
}

.welcome-heading-wrapper h2 {
    margin: 0 !important; 
    color: #6c6c6d; /* Sudler Dark Blue/Gray */
    font-size: 38px; 
    font-weight: 400; 
    line-height: 1.2;
}

.sudler-red-text {
    color: #E31837; /* Replace with your exact Sudler Red hex code */
}

/* Forces the dot to stay perfectly round and sized */
.sudler-red-dot {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #E31837; 
    border-radius: 50%;
    flex-shrink: 0; /* Prevents the dot from squishing to an oval on mobile */
}

/* Indents the subtext so it perfectly aligns with the "W" in Welcome */
.welcome-subtext {
    color: #0E2036; 
    font-size: 22px; 
    margin: 0 0 0 50px !important; /* Left margin = Dot width (35px) + Gap (15px) */
    line-height: 1.4;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .welcome-heading-wrapper h2 { 
        font-size: 28px; 
    }
    .welcome-subtext { 
        font-size: 18px; 
        margin-left: 0 !important; /* Drops the indent on mobile for better reading */
        margin-top: 15px !important; 
    }
}

