
.action-modal {
    padding: 0 !important;
    /*max-width: 1000px !important;*/
    /*display: none;*/
}

@media (min-width: 992px) {
    .action-modal {
        max-width: 70%;
    }
}

.action-modal.remodal {
    background: transparent;
}

.action-modal .remodal-close {
    right: 20px;
    top: 20px;
    left: auto;
    color: white;
    transition: transform ease 0.2s;
    z-index: 9;
}

.action-modal .remodal-close:hover{
    color: white;
    transform: scale(1.2);
}

.action-modal .remodal-close:before {
    font-family: FontAwesome !important;
    content: "\f00d";
}

.action-modal img {
    /*width: 100%;*/
    max-width: 1000px;
    height: 80vh;
    vertical-align: bottom;
    object-fit: cover;
}

.action-modal__link{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-modal__content{
    position: absolute;
    font-family: none;
}

.action-modal__name{
    color: #fff;
    font-size: 50px;
    font-weight: 600;
}
.action-modal__text{
    margin-top: 20px;
    color: #fff;
    font-size: 40px;
    line-height: 52px;
    font-weight: 600;

    /*text-shadow: 2px 1px 1px #fff;*/
}
.action-modal__phone{
    margin-top: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
}

/*Затемняющий фон*/
.bg-fon::before {
    content: "";
    background-color: #090909;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.30;
}

@media screen and (max-width: 768px) {
    .action-modal__name{
        font-size: 34px;
    }
    .action-modal__text{
        font-size: 25px;
    }
}
@media screen and (max-width: 576px) {
    .action-modal__name{
        font-size: 27px;
    }
    .action-modal__text{
        margin-top: 0;
        font-size: 13px;
    }
    .action-modal__phone {
        margin-top: 0;
        font-size: 25px;
    }
    .action-modal img{
        height: auto;
    }
}