body.popup-show::after {
    opacity: 1
}

.modal-thanks-for-request .fancybox-close-small { color: #fff; }

.modal-thanks-for-request {
    display: none;
    max-width: 900px;
    padding: 0;
    width: 100%;
    border-radius: 15px;
}

[class*=-ibg] img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10000;
    padding: 30px 10px;
    -webkit-transition: visibility .8s ease 0s;
    -o-transition: visibility .8s ease 0s;
    transition: visibility .8s ease 0s;
    visibility: hidden
}

.popup_show {
    visibility: visible;
    overflow: auto
}

.popup__close {
    outline: 0;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: 0 0
}

.popup_show .popup__content {
    visibility: visible;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.popup__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center
}

.popup__content {
    visibility: hidden;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform .3s ease 0s;
    transition: -webkit-transform .3s ease 0s;
    -o-transition: transform .3s ease 0s;
    transition: transform .3s ease 0s;
    transition: transform .3s ease 0s,-webkit-transform .3s ease 0s;
    background-color: #eee;
    padding: 20px;
    width: 100%;
    max-width: 900px
}

.lock .popup__content {
    visibility: visible
}

.popup__title {
    font-weight: 700
}


.popup_massagename-message .popup__content {
    padding: 0;
    overflow: hidden;
    border-radius: .9375rem;
    background: #fff
}

.popup_massagename-message .popup-body {
    display: -ms-grid;
    display: grid
}

.popup_massagename-message .popup-body__content {
    padding: 1.25rem
}

.popup_massagename-message .popup__title {
    color: #458afb
}

.popup_massagename-message .popup__name {
    margin-top: 1.875rem
}

.popup_massagename-message .popup__post {
    color: #acacac
}

.popup_massagename-message .popup-body__img-ibg {
    min-height: 15.625rem;
    position: relative;
}


@media only screen and (min-width: 1024px) {

    .popup_massagename-message .popup-body {
        -ms-grid-columns: 2fr 1fr;
        grid-template-columns: 2fr 1fr
    }

    .popup_massagename-message .popup-body__content {
        padding: 2.5rem
    }

    .popup__title {
        font-size: 2.125rem
    }

    .popup__title {
        margin-bottom: .625rem
    }

    .popup__text {
        font-size: 1rem
    }

    .popup__text {
        margin-bottom: 1.875rem
    }
	
    .popup_massagename-message .popup__description {
        font-size: 1.125rem
    }

    .popup_massagename-message .popup__name {
        font-size: 1.5rem
    }
}

@media only screen and (max-width: 1023px) {

    .popup_massagename-message .popup__close path {
        fill: #000!important
    }
}

@media (max-width: 20em) {

    .popup__title {
        font-size: 1.5rem
    }

    .popup__title {
        margin-bottom: .625rem
    }

    .popup__text {
        font-size: .875rem
    }

    .popup__text {
        margin-bottom: 1.875rem
    }
}

@media (min-width: 20em) and (max-width:75em) {

    .popup__title {
        font-size: calc(1.5rem + .625 * (((100vw - 20rem))/ ((55))))
    }

    .popup__title {
        margin-bottom: calc(.625rem + 0 * (((100vw - 20rem))/ ((55))))
    }

    .popup__text {
        font-size: calc(.875rem + .125 * (((100vw - 20rem))/ ((55))))
    }

    .popup__text {
        margin-bottom: calc(1.875rem + 0 * (((100vw - 20rem))/ ((55))))
    }

    .popup_massagename-message .popup__description {
        font-size: calc(1rem + .125 * (((100vw - 20rem))/ ((55))))
    }

    .popup_massagename-message .popup__name {
        font-size: calc(1.125rem + .375 * (((100vw - 20rem))/ ((55))))
    }
}