/* ---------------------------------------------------------------------------------------------
    Divide & Gate STYLING
--------------------------------------------------------------------------------------------- */

#divide-and-gate {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    overflow: auto;
    position: fixed;
        bottom: 0;
        left: -99999px;
        right: 99999px;
        top: 0;
    transition: opacity .25s ease-in, left 0s .25s, right 0s .25s;
    z-index: 9999999;
}

#divide-and-gate.active {
    background-color: rgba(0, 0, 0, 0.8);
    left: 0;
    opacity: 1;
    right: 0;
    transition: opacity .25s ease-out;
}

#divide-and-gate #divide-and-gate-content {
    background: #FFF;
    border: 1px solid #DDD;
    display: block;
    max-height: 100%;
    max-width: calc(100% - 60px);
    outline: 10px solid white;
    overflow: auto;
    position: fixed;
        bottom: auto;
        left: 50%;
        right: auto;
        top: 50%;
    transform: translateX( -50% ) translateY( -50% );
    width: 750px;
}

#divide-and-gate-content .divide-and-gate-inner {
    margin: 0 auto;
    max-width: calc(554px + 40px);
    padding: 30px 20px 23px 20px;
    text-align: center;
}

#divide-and-gate-content .divide-and-gate-inner p {
    color: #2B2B2B;
    font-size: 14px;
    letter-spacing: -0.08px;
    line-height: 21px;
    text-align: center;
    margin-bottom: 24px;
}

#divide-and-gate-content .divide-and-gate-inner p:last-child {
    margin-bottom: 0;
}

#divide-and-gate-content img.divide-and-gate-faux-image {
    display: none;
}

#divide-and-gate-content .divide-and-gate-faux-image {
	background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0 auto;
    margin-bottom: 32px;
    max-width: 204px;
    position: relative;
}

#divide-and-gate-content .divide-and-gate-faux-image:after {
	content: "";
	display: block;
	padding-top: 20%;
	width: 100%;
}

#divide-and-gate-content .divide-and-gate-button {
    border: none;
    font-size: 15px;
    padding: 15px 23px;
    transition: opacity .15s linear;
}

#divide-and-gate-content .divide-and-gate-button:hover {
    cursor: pointer;
    opacity: .9;
}

.divide-and-gate-read-more-inner {
    text-align: center;
}

.divide-and-gate-read-more {
    color: #676767;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 21px;
    margin-left: -20px;
    position: relative;
    display: inline-block;
    transition: margin 0.4s linear;
}

.divide-and-gate-read-more.active {
    border-bottom: 1px solid #676767;
    margin-bottom: 2rem;
}

.divide-and-gate-read-more:after {
    background-size: contain;
    background: url(../images/arrow-down.svg) no-repeat center;
    content: "";
    display: block;
    height: 10px;
    position: absolute;
        right: -20px;
        top: calc( 50% - 5px );
    transition: transform .15s linear;
    width: 12px;
}

.divide-and-gate-read-more-text {
    background-color: #FFF;
    border-top: 1px solid #DDD;
    display: none;
    font-size: 11px;
    margin-top: 21px;
    margin: 0 auto;
    padding: 16px;
    position: relative;
    text-align: center;
}

.divide-and-gate-read-more-text:before {
    background: #FFF;
    content: "";
    display: block;
    height: 16px;
    position: absolute;
        left: 0;
        right: 0;
    top: 0px;
    z-index: 2;
}

.divide-and-gate-read-more-text:after {
    background: #fff;
    border: 1px solid #e1e1e5;
    content: "";
    display: block;
    height: 18px;
    position: absolute;
        left: calc(50% - 9px);
        top: -5px;
    transform: rotate(45deg);
    width: 18px;
    z-index: 1;
}

@media ( max-width: 320px ) {

    #divide-and-gate-content .divide-and-gate-inner p,
    #divide-and-gate-content .divide-and-gate-button {
        font-size: 12px;
    }

}

@media ( min-width: 700px ) {


    .divide-and-gate-read-more-inner {
        margin-bottom: 35px !important;
    }

    .divide-and-gate-read-more {
        font-size: 16px;
        margin-bottom: 0;
    }

    .divide-and-gate-read-more-text {
        border: 1px solid #DDD;
        max-width: 650px;
        margin-bottom: 15px !important;
    }
    
    .divide-and-gate-read-more .divide-and-gate-read-more-text-wrapper {
        transition: transform .15s linear;
    }

    .divide-and-gate-read-more.active .divide-and-gate-read-more-text-wrapper {
        padding-bottom: 50px !important;
    }

    #divide-and-gate-content .divide-and-gate-inner p{
        font-size: 18px;
        letter-spacing: -0.1px;
        line-height: 28px;
        margin-bottom: 45px;
    }

    #divide-and-gate-content .divide-and-gate-button {
        font-size: 18px;
    }

    #divide-and-gate-content .divide-and-gate-faux-image {
        margin-bottom: 36px;
    }

    #divide-and-gate-content .divide-and-gate-faux-image {
        max-width: 265px;
    }

    #divide-and-gate-content .divide-and-gate-inner {
        max-width: calc(554px + 40px);
        padding: 50px 20px 35px 20px;
    }

    #divide-and-gate-content .divide-and-gate-button {
        padding: 18px 23px 18px 23px;
    }

}