.t-body_popupshowed {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    position: relative
}

.t-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 9999999;
    opacity: 0;
    -webkit-transition: opacity ease-in-out .3s;
    -moz-transition: opacity ease-in-out .3s;
    -o-transition: opacity ease-in-out .3s;
    transition: opacity ease-in-out .3s;
    display: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, .6)
}

    .t-popup.t-popup_show {
        opacity: 1
    }

.t-popup__container {
    background: #fff;
    margin: 0 auto;
    width: auto;
    position: absolute;
    top: 50%;
    right: 20px;
    left: 20px;
    z-index: 1;
    cursor: default;
    -moz-transform: translate3d(0, -30%, 0) scale(.9);
    -ms-transform: translate3d(0, -30%, 0) scale(.9);
    -webkit-transform: translate3d(0, -30%, 0) scale(.9);
    -o-transform: translate3d(0, -30%, 0) scale(.9);
    transform: translate3d(0, -30%, 0) scale(.9)
}

.t-popup__container-animated {
    -webkit-transition: transform ease-in-out .3s;
    -moz-transition: transform ease-in-out .3s;
    -o-transition: transform ease-in-out .3s;
    transition: transform ease-in-out .3s
}

.t-popup_show .t-popup__container {
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0)
}

.t-popup__container.t-popup__container-static {
    margin: 65px auto;
    top: 0;
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    -moz-transform: translate3d(0, 30%, 0) scale(.9);
    -ms-transform: translate3d(0, 30%, 0) scale(.9);
    -webkit-transform: translate3d(0, 30%, 0) scale(.9);
    -o-transform: translate3d(0, 30%, 0) scale(.9);
    transform: translate3d(0, 30%, 0) scale(.9)
}

.t-popup_show .t-popup__container.t-popup__container-static {
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.t-popup__close {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 23px;
    height: 23px;
    cursor: pointer;
    -webkit-transition: opacity ease-in-out .3s;
    -moz-transition: opacity ease-in-out .3s;
    -o-transition: opacity ease-in-out .3s;
    transition: opacity ease-in-out .3s;
    z-index: 9
}

    .t-popup__close:hover {
        opacity: .7
    }
