/* Top Bar */
div.column.one {
    max-height: 120px;
}

.top_bar_left {
    min-width: 100%;
}

/* Header / Hero Image */
#grid-container {
    width: 95%;
    max-height: 550px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 50% 50%;
}

.grid-column-1 {
    position: relative;
    background-color: rgb(231, 233, 238);
    margin: 0;
    padding: 0;
    z-index: 2;
    min-width: 100%;
    overflow: hidden;
}

.slider-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    animation: slide-up-text ease-in-out 1s;
    min-width: 80%;
}

.slider-heading {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 34px;
}

.slider-text {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 23px;
    line-height: 31px;
    font-weight: 400;
    color: black;
}

.grid-column-2 {
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 1;
    min-width: 100%;
    max-height: 525px;
    overflow: hidden;
}

/*The white box that animates on load*/
.slider-thing {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 200%;
    min-height: 100%;
    opacity: 0;
    z-index: 3;
    background-color: white;
    display: inline-block;
    animation-duration: 0.5s;
    animation-timing-function: ease-in;
    animation-name: fade-in-slide;
    transition: all ease-in-out .2s;
}

.slider-thing {
    z-index: 0;
}

.slider-thing-2 {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 200%;
    min-height: 100%;
    display: inline-block;
    animation-duration: 1.25s;
    animation-timing-function: cubic-bezier(0.550, 0.085, 0.680, 0.530);
    animation-name: slider-move-fade-iv;
    opacity: 0;
    z-index: 4;
    max-height: 500px;
    background-color: white;
}

/* Infinity Vault Page */
div.top_bar_right {
    padding-right: 0 !important;
    width: 1px !important;
    height: 100px !important;
}

#Top_bar .menu>li ul {
    background-color: white;
    transition: all ease-in-out .2s;
}

#Top_bar .menu li ul{
    top: 75%;
}

.pop-out-menu-iv {
    display: inline-block;
    border-radius: 4px;
    margin-left: 0;
    z-index: 205;
    padding: 0;
    transition: all ease-in-out .2s;
}

ul.pop-out-menu-iv > li {
    min-width: 100% !important;
    color: black;
    cursor: pointer;
    transition: all ease-in-out .2s;
}

.pop-out-menu-iv > li:hover {
    background-color: #0C3B5D;
}

.pop-out-menu-iv > li:active {
    background-color: #145091;
}

.pop-out-menu-iv > li > a {
    padding: 0 !important;
}

.pop-out-menu-iv > li > a > span {
    min-width: 100%;
    min-height: 100%;
    padding: 10px 10px 10px 20px;
    margin: 0;
}

.pop-out-menu-iv > li > a > span:hover {
    color: white;
}

.slider-text-container-iv {
    position: relative;
    padding: 8px;
    transform: translate(5%, 33%);
    max-height: 100%;
    max-width: 100%;
    transition: all ease-in-out .2s;
}

.logo-iv {
    animation: slide-up-text-iv ease-in-out .75s;
}

.slider-heading-iv {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    line-height: 32px;
    padding-top: 8px;
    animation: slide-up-text-iv ease-in-out .75s;
}

.tagline-iv {
    font-size: 29px;
    margin-bottom: 16px;
}

.slider-text-iv {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: black;
    width: 80%;
    margin-bottom: 4px;
    animation: slide-up-text-iv ease-in-out .9s;
}

.checkbox-container {
    display: grid;
    margin-top: 10px;
    grid-template-columns: 40% 40%;
    animation: slide-up-text-iv ease-in-out 1.5s;
}

.checkbox-text {
    font-size: 14px;
    line-height: 18px;
    color: black;
    margin-bottom: 18px;
}

.button-iv {
    margin: 24px 0;
    appearance: menulist-button; /* CSS3 */
    background-color: #145091;
    height: 55px;
    width: 175px;
    text-align: center;
    transition: all ease-out .2s;
    animation: fade-text linear 2s;
    cursor: pointer;
    z-index: 9;
}

.button-iv:hover, .button-iv:active, .button-iv:focus {
    background-color: #0C3B5D;
}

.btn-txt-iv {
    display: inline-block;
    padding-top: 10%;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.button-iv > span.btn-txt-iv {
    padding-top: 10%;
}

/* Keyframe animations */
@keyframes fade-in-slide {
    0%{
        opacity: 100%;
    }
    75%{
        opacity: 85%;
    }
    100%{
        opacity: 0;
    }
}

@keyframes slider-move-fade {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    45% {
        opacity: .9;
        transform: translateX(0);
    }

    65% {
        opacity: .8;
    }

    100% {
        transform: translateX(150%);
        opacity: .75;
    }
}

@keyframes slider-move-fade-iv {
    0% {
        z-index: 5;
        transform: translateX(0);
        opacity: 1;
        height: 100%;
    }

    45% {
        transform: translateX(0);
    }


    100% {
        z-index: 3;
        transform: translateX(150%);
        opacity: 1;
        height: 0;
    }
}

@keyframes slide-up-text {
    0% {
        opacity: 0;
        transform: translate(-50%, -35%);
    }
    100% {
        opacity: 100%;
        transform: translate(-50%, -55%);
    }
}

@keyframes slide-up-text-small {
    0% {
        opacity: 0;
        transform: translate(-50%, 15%);
    }
    100% {
        opacity: 100%;
        transform: translate(-50%, 0);
    }
}

@keyframes slide-up-text-iv {
    0% {
        opacity: 0;
        transform: translateY(60%);
    }
    100% {
        opacity: 100%;
        transform: translateY(0);
    }
}

@keyframes fade-text {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Handles the font size of the slider content */
@media screen and (max-width: 1300px) {
    .slider-text-container-iv {
        transform: translate(5%, 15%);
    }
}

@media screen and (max-width: 1135px) {
    .slider-text-container {
        margin-top: 3%;
        margin-left: 3%;
        animation: slide-up-text ease-in-out 1s;
    }

    .slider-heading {
        font-size: 30px;
    }

    .slider-text-container-iv {
        transform: translate(5%, 15%);
    }

    .button-iv > span.btn-txt-iv {
        padding-top: 3%;
    }
}

@media screen and (max-width: 1000px) {
    .slider-text-container {
        animation: slide-up-text ease-in-out 1.5s;
    }

    .slider-text-container-iv {
        transform: translateY(5%);
    }

    .slider-heading {
        font-size: 26px;
        line-height: 26px;
    }

    .slider-text {
        font-size: 25px;
        font-weight: 500;
        line-height: 25px;
    }

    .button-iv > span.btn-txt-iv {
        padding-top: 10%;
        margin-bottom: 3%;
    }
}

@media screen and (max-width: 985px) {
    #grid-container {
        position: relative;
        display: flex;
        margin: auto;
        flex-direction: column;
        width: 85%;
        max-height: 1500px;
        text-align: center;
        transform: translate(-3%, 0);
    }

    .grid-column-1 {
        max-width: 100%;
    }

    .slider-text-container {
        animation: slide-up-text ease-in-out 1s;
    }

    .slider-text-container-iv {
        transform: translate(3%, 3%);
    }

    .slider-text-iv {
        display: block;
        padding: 0;
        margin: 0 auto;
        text-align: center;
    }

    .checkbox-container {
        margin: 5% auto;
        max-width: 100%;
    }

    .button-iv > span.btn-txt-iv {
        padding-top: 10%;
    }
}

/*Handles the orientation of the slider content (row or column)*/
@media screen and (max-width: 850px) {
    .grid-column-1, .grid-column-2 {
        position: relative;
        min-width: 100%;
    }

    .slider-text-container {
        position: relative;
        line-height: 41px;
        padding: 3%;
        margin: 0;
        transform: translate(-50%, 0);
        transition: none;
        animation: slide-up-text-small ease-in-out 1.5s;
    }

    .slider-heading {
        position: relative;
        font-size: 28px;
        margin-bottom: 24px;
        text-align: center;
    }

    .slider-text {
        position: relative;
        text-align: center;
        font-size: 18px;
        font-weight: 500;
        line-height: 28px;
    }

    .slider-text-container-iv {
        margin-bottom: 40px;
        text-align: center;
    }

    .slider-heading-iv {
        text-align: center;
    }
}

@media screen and (max-width: 425px) {
    .slider-heading {
        text-align: center;
        font-size: 24px;
    }

    .slider-text {
        font-size: 22px;
    }
}