.t-popup__container {
    transform: none !important;
    margin-top: 0 !important;
}

.t-popup {
   transition: none !important; 
}

.t-popup.t-popup_show {
    display: flex !important;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    transition: none !important;
}

.t-popup_show .t-popup__container {
    max-width: 560px !important;
    width: 100% !important;
    position: static !important;
    transform: none !important;
}

.t-popup__block-close {
    max-width: 560px !important;
    width: 100% !important;
    position: static !important;
    display: flex;
    justify-content: flex-end;
    background: #fff;
}

.t-popup__block-close-button {
    display: flex !important;
    width: auto !important;
    align-items: center !important;
    margin-right: 20px !important;
    padding: 0 !important;
}
    
.t-popup__block-close-button g {
    fill: #000;
}
    
.t-popup__close:hover {
    opacity: 1  !important;
}
    
.t-popup__close-wrapper.t-popup__block-close-button:hover {
    opacity: .7;
}

.t-popup__block-close-button:before {
    content: 'Закрыть' !important;
    font-size: 14px !important;
    color: #000 !important;
    margin-right: 10px !important;
}

@media screen and (max-width: 560px) {
    
    .t-popup.t-popup_show {
        display: flex  !important;
        align-items: center  !important;
        flex-direction: column-reverse  !important;
        justify-content: center  !important;
        padding: 0  !important;
    }
    
    .t-popup_show .t-popup__container {
        padding-top: initial !important;
        min-height: initial !important;
        width: calc(100% - 40px) !important;
        margin: 0  20px !important;
    }
    
    .t-popup__block-close {
        width: calc(100% - 40px) !important;
        margin: 0  20px !important;
        background: #fff !important;
    }
    
    
    .t945__popup {
    background-color: rgba(0,0,0,.6) !important;
    z-index: 9999999 !important;
    top: 0 !important;
}

.t945__popup .t945__container {
    background: #fff;
    margin: 0 20px !important;
    padding: 20px !important;
}

.t945 .t-popup__close-icon {
        width: 16px !important;
    height: 16px !important;
}
}

.t945 .t-popup__close-icon {
    width: 23px;
    height: 23px;
}

.t945 .t-popup__block-close {
    height: 50px;
    display: flex;
    align-items: center;
}