html,
body,
.page {
    height: 100%;
}

/*@font-face {*/
/*    font-family: 'TTNorms Medium';*/
/*    src: url('../../fonts/mkgu/TTNorms-Medium.woff'),*/
/*         url('../../fonts/mkgu/TTNorms-Medium.ttf');*/

/*    font-weight: 500;*/
/*}*/

/*@font-face {*/
/*    font-family: 'TTNorms Bold';*/
/*    src: url('../../fonts/mkgu/TTNorms-Bold.woff'),*/
/*    url('../../fonts/mkgu/TTNorms-Bold.ttf');*/

/*    font-weight: bold;*/
/*}*/

.btn-widget {
    border: none;
    margin: 0;
    padding: 20px 10px;
    outline: none;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 21px;
    /* transform: scale(-1, -1); */
    height: max-content;
    font-family: "TTNorms Medium", serif;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: 350ms;
    z-index: 1;
    background: url(/themes/mdocs/images/mkgu/mkgu_widget-btn.png) 50% 50% no-repeat;
    background-color: #fc7363;
    width: 28px;
    height: 160px;
}

.btn-widget:hover {
    background-color: #f14b34;
}

.btn-widget--pos {
    position: fixed;
    top: 280px;
    bottom: 0;
    right: 0;
    margin-bottom: auto;
}

.popup-widget-wrapper {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
}

.popup-widget-wrapper--show {
    display: block;
}

.popup-widget,
.popup-widget__container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: rgb(39 39 39 / 10%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.popup-widget {
    display: none;
    position: fixed;
    z-index: 4;
}

.popup-widget--show {
    display: block;
    animation: animPopupShow 400ms ease-in-out;
}

.popup-widget__container {
    box-sizing: border-box;
    position: absolute;
    width: 775px;
    height: 475px;
    padding: 100px 40px 40px 40px;
    text-align: center;
    background: #fff;
    border-radius: 6px;
}

.popup-widget__cont {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.popup-widget__desc {
    max-width: 480px;
    margin-bottom: 40px;
    font-family: 'TTNorms Bold';
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3;
    color: #000;
}

.popup-widget__btn-go {
    border: none;
    outline: none;
    width: 230px;
    height: 72px;
    border-radius: 36px;
    background-color: #a0ca37;
    font-family: 'TTNorms Bold';
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    transition: 350ms;
}

.popup-widget__btn-go:hover {
    background: #81a32b;
}

.popup-widget__btn-close {
    position: absolute;
    top: 30px;
    right: 30px;

    display: inline-flex;
    align-content: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #67a71d;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 350ms;
}

.popup-widget__btn-close:hover {
    background: #4c7c15;
}

.close-icon {
    display: block;
    background: url("/themes/mdocs/images/mkgu/close-ico.svg") no-repeat;
    width: 20px;
    height: 20px;
    margin: auto;
}

@keyframes animPopupShow {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        /*transform: translateY(0);*/
    }
}

@keyframes animPopupHide {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media only screen and (min-width: 0px) and (max-width: 599px){
    
    .popup-widget__container {
        margin: auto 12px;
        width: auto;
        height: 400px;
    }
    
    .popup-widget__btn-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .popup-widget__desc {
        font-size: 24px;
    }
    
    .popup-widget__btn-go {
        font-size: 14px;
    }
    
    
}


