.ok-popup-overlay {
    display: none;
    position: fixed;
    z-index: 99990;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .25);
}

.ok-popup-layer {
    display:none;
    position:absolute;
    top:50%;
    left:50%;
    background-color: var(--bs-primary);
    text-align:left;
    z-index: 99991;
    transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    max-width: 95%;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: 20px;
}

.ok-popup-layer.custom-x, .ok-popup-layer.custom-y {
    transform: none;
}

.ok-popup-layer--content {
    position: relative;
    text-align: left;
    padding: 48px;
    width: 100%;
    height: 100%;
    color: #000;
}

.ok-popup-layer--content > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.ok-popup-layer--content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ok-popup-layer--actions {
    position:relative;
    padding: 6px 12px 12px 12px;
    border-bottom:1px solid #dadada;
    background: #fff;
    display: none; /*Hide*/
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
}

.ok-popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ok-popup-btn {
    display: inline-block;
    height: 25px;
    padding: 0 14px 0;
    border: 1px solid #1874b9;
    background-color: #167ac6;
    font-size: 13px;
    color: #fff;
    line-height: 25px;
    background-image: none;
    margin-right: 12px;
}

.ok-popup-btn::before {
    background-image: none;
}

.ok-popup-btn:hover {
    color: #fff;
    background-image: none;
    border: 1px solid #167ac6;
    background-color: #1874b9;
}

.ok-popup-btn:last-child {
    margin-right: 0;
}

.ok-popup-layer--content .popup-content {
    background-color: #fff;
    background-image: url("../img/bg_popup_content.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    text-align: center;
    padding: 65px 44px;
    z-index: 1;
}

.ok-popup-layer--content .popup-content::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 110%;
    height: 110%;
    background-image: url("../img/bg_popup_content_overlay.png");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    z-index: 0;
}

.ok-popup-layer--content .popup-content > div {
    position: relative;
    z-index: 1;
}

.kt-popup-title {
    font-size: 44px;
    line-height: 52px;
    margin-bottom: 40px;
}

.kt-popup-subtitle {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
}

.kt-popup-description {
    font-size: 20px;
    line-height: 28px;
}

.kt-popup-button {
    padding: 12px 20px;
    border-radius: 8px;
    background-color: var(--bs-primary);
    color: #fff;
    display: inline-block;
    margin-top: 12px;
    cursor: pointer;
}

@media screen and (max-width: 576px) {
    .ok-popup-layer {
        width: 450px !important;
        height: 450px !important;
    }

    .ok-popup-layer--content {
        padding: 24px;
    }

    .ok-popup-layer--content .popup-content {
        padding: 32px 22px;
    }

    .kt-popup-title {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 18px;
    }

    .kt-popup-subtitle {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .kt-popup-description {
        font-size: 16px;
        line-height: 22px;
    }
}
