.modal:after {
    top: 56px !important;
    right: calc(50% - 900px) !important;
    font-size: 36px !important;
    cursor: pointer;
    position: absolute !important;
    background-color: #333333 !important;
    content: "" !important;
    background-image: url("/../static/img/icon_close.png");
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    background-position: center center;
}

.modal-header {
    max-width: 100%;
    border: none !important;
    text-align: center;
    position: absolute;
    display: block;
    width: 100%;
    top: 35px;
    position: relative;
    margin: auto;
    padding: 15px 95px;
}

.modal-header h5 {
    font-size: 24px;
    padding-right: 200px;
    text-align: left;
}

.modal-header .pagination {
    position: absolute;
    right: 120px;
    top: 0;
    font-size: 24px;
}

.modal-dialog {
    width: 100% !important;
    max-width: 1920px;
    max-height: 100%;
}

.modal-dialog .modal-content {
    background: none !important;
    box-shadow: none !important;
    border: none !important
}

.modal-dialog  .swiper-slide {
    text-align: center;
}

.modal-dialog .swiper-slide .image {
    padding: 20px 80px 72px;
}

.modal-dialog .swiper-slide .image img {
    box-shadow: 0 0 20px rgba(66, 85, 100, 0.3);
    width: auto;
    max-width: 100%;
    max-height: 1080px;
}

.modal-dialog .swiper-button-prev,
.modal-dialog .swiper-button-next {
    background: none;
}

.modal-dialog .swiper-button-prev:before,
.modal-dialog .swiper-button-next:before {
    content: "";
    background: url("/../static/img/icon_chevron_left.png");
    background-repeat: no-repeat;
    display: block;
    width: 26px;
    height: 67px;
    position: absolute;
    color: white;
    top: 0;
    left: 0;
    padding: 0 15px;
}

.modal-dialog .swiper-button-next:before {
    background: url("/../static/img/icon_chevron_right.png");
    background-repeat: no-repeat;
    left: 0;
}

.modal-backdrop {
    background: white !important;
}

.modal-backdrop.fade.in {
    opacity: 0.96;
}

.modal-backdrop.fade {
    top: 115px;
    background: transparent;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

.modal-backdrop.fade.in {
    background: white;
    opacity: 0.8;
}

.modal {
    background: rgba(255, 255, 255, 0.98);
}

.modal .modal-dialog {
    margin: auto;
}

@media (max-width: 1920px) {
    .modal:after {
        right: 50px !important;
    }
    
    
}

@media (max-width: 1120px) {
    .modal .header .text {
        left: 20px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 1050px) {
    .modal::after {
        right: 25px !important;
        top: 40px !important;
    }
    
    .modal-header {
        max-width: 100%;
        padding: 5px 25px;
    }
    
    .modal-header h5 {
        padding: 0px 5px;
        font-size: 20px;
    }
    
    .modal-header .pagination {
        right: -25px;
        width: 100%;
        top: -50px;
    }
    
    .modal-dialog .swiper-slide .image {
        padding: 20px 10px;
    }
    
    .modal-dialog .swiper-slide .image img {
        box-shadow: 0 0 10px rgba(66, 85, 100, 0.3);
    }
    
    .modal-dialog .swiper-button-prev,
    .modal-dialog .swiper-button-next {
        display: none;
    }
    
    .modal-dialog {
        padding-top: 40px;
        margin: 0 0 30px 0 !important;
    }
}