/*** Global Modal ***/
.global-modal {
    opacity: 0;
    visibility: hidden;
    transition: ease all .3s;
    z-index: 1000000;
    position: relative;
}
.global-modal.open {
    opacity: 1;
    visibility: visible;
}
.global-modal .modal-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.8;
}

.global-modal .modal-track {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 1500px;
    max-width: 90%;
    height: 100%;
    /*overflow-y: scroll;*/
    opacity: 1;
}

.global-modal .modal-box {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin-top: 2%;
    margin-bottom: 2%;
    background-color: white;
    padding: 90px 8.333%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    overflow-y: scroll;
    max-height: 100vh;
}

@media(max-width: 991.98px) {
    .global-modal .modal-box {
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.global-modal .modal-box button.modal-close {
    position: absolute;
    font-size: 0;
    padding: 0;
    margin: 0;
    outline: 0;
    border: none;
    background-color: transparent;
    top: 30px;
    right: 30px;
    height: 30px;
    width: 30px;
    background-image: url('assets/close.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.global-modal .modal-box .image-container {
    width: 40%;
}
.global-modal .modal-box .content-container {
    width: 60%;
    padding-left: 8.3333%;
}
.global-modal .modal-box .content-container h2 {
    margin-bottom: 20px;
    /*margin-top: 35px;*/
}

@media(max-width: 1199.98px) {
    .global-modal .modal-box .content-container h2 {
        margin-top: 0px;
        margin-bottom: 10px;
    }
}

@media(max-width: 991.98px) {
    .global-modal .modal-box {
        padding: 60px 40px;
    }
    .global-modal .modal-box button.modal-close {
        height: 20px;
        width: 20px;
        right: 20px;
        top: 20px;
    }
    .global-modal .modal-box .image-container {
        width: 30%;
    }
    .global-modal .modal-box .content-container {
        width: 70%;
        padding-left: 8.3333%;
    }
}

@media(max-width: 767.98px) {
    .global-modal .modal-box {
        flex-wrap: wrap;
    }
    .global-modal .modal-box .image-container {
        width: 30%;
        margin-bottom: 30px;
    }
    .global-modal .modal-box .content-container {
        width: 100%;
        padding-left: 0;
    }
    .global-modal .modal-box {
        padding: 30px;
    }
}