/* 
    Created by 4Site for DTFA.
    Styles for the pushdown promotion generated by dtfa-promotion.js
*/
.dtfa-pushdown {
    width: 100%;
    height: auto;
    background-color: #4b6375;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}
.dtfa-pushdown.show-pushdown {
    max-height: 200vh;
}
.dtfa-pushdown__inner {
    width: 100%;
    height: 100%;    
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}
.dtfa-pushdown__inner__column {
    width: 50%;
    width: 100%;
    height: 100%;
}
.dtfa-pushdown__inner__column--image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.dtfa-pushdown__inner__column--text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    color: white;
    padding: 130px 20px;
}

/* Hide the utility and primary nav when the pushdown is active, but only when the hide-menu class is present on the pushdown wrapper */
body:has(.dtfa-pushdown.loaded-iframe.hide-menu) {
    padding-top: 0!important;
}
body:has(.dtfa-pushdown.loaded-iframe.hide-menu) .primary-nav-wrap {
    visibility: hidden!important;
}
body:has(.dtfa-pushdown.loaded-iframe.hide-menu) #masthead .header-lower {
    background-color: transparent!important;
}
body:has(.dtfa-pushdown.loaded-iframe.hide-menu) .utility-nav-wrap,
body:has(.dtfa-pushdown.loaded-iframe.hide-menu) .burger-wrap,
body:has(.dtfa-pushdown.loaded-iframe.hide-menu) .mobile-search {
    display: none!important;
}

/* Wrapper to constrain text width to the width of the form */
.dtfa-pushdown__inner__column__text-wrapper {
    max-width: 376px;
    width: 100%;
}
.dtfa-pushdown__inner__column--text h1 {
    color: white;
}
@media (max-width: 1100px)  {
    .dtfa-pushdown__inner__column--text {
        padding: 40px 20px;
    }
}
@media (max-width: 768px) {
    .dtfa-pushdown.show-pushdown {
        min-height: 300px;
    }
    .dtfa-pushdown__inner {
        flex-direction: column;
        display: flex;
    }
    .dtfa-pushdown__inner__column {
        width: 100%;
        height: unset;
    }
    .dtfa-pushdown__inner__column.dtfa-pushdown__inner__column--image {
        height: 30vh;
    }
}