﻿

.modal:not(.modal.lightbox) {
    justify-content: center;
    align-items: center;
    background: rgba(4, 22, 28, 0.88);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 20px;
    overflow: auto;
}

    .modal:not(.modal.lightbox).show {
        display: flex !important;
    }

    .modal:not(.modal.lightbox) .modal-dialog {
        width: 100%;
        margin: auto;
        background: #0b1f27;
        border-radius: 24px;
        padding: 40px;
        position: relative;
    }

    .modal:not(.modal.lightbox) .modal-content {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        pointer-events: auto;
        background-color: transparent;
        border: none;
        outline: 0;
    }


    .modal:not(.modal.lightbox) .modal-header {
        padding: 0;
        position: relative;
        border: none;
        margin-bottom: 24px;
        align-items: flex-start;
    }

        .modal:not(.modal.lightbox) .modal-header h2 {
            font-style: normal;
            font-weight: 800;
            font-size: 40px;
            letter-spacing: -2px;
            text-transform: uppercase;
            color: #ffffff;
            line-height: 1.2;
            margin-right: 2em;
            word-wrap: break-word;
            width: 100%;
        }

        .modal:not(.modal.lightbox) .modal-header button {
            position: absolute;
            top: 0px;
            right: 0px;
            opacity: 0.6;
            transition: 0.3s;
            cursor: pointer;
            background: transparent;
            outline: none;
            border: none;
            width: auto;
        }

    .modal:not(.modal.lightbox) .modal-body {
        padding: 0 0 1.5em 0;
        border: none;
        color: white;
    }

    .modal:not(.modal.lightbox) .modal-footer {
        padding: 0;
        border: none;
    }

.modal .modal-header .close:hover img {
    box-shadow: rgba(37, 194, 217, 0.6) 0px 0px 22px 3px;
    background-color: rgb(37 194 217 / 22%);
}