.test-popup{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(50,50,50,.5);
    opacity: 0;
    -webkit-transition: opacity 200ms ease;
    -moz-transition: opacity 200ms ease;
    -ms-transition: opacity 200ms ease;
    transition: opacity 200ms ease;
    z-index: 1;
    left: 0;
    top: 0;
}

.test-popup.active{
    display: block;
}

.test-popup.shown{
    opacity: 1;
}

.is-ios .test-popup{
    position: absolute;
    height: 100vh;
    overflow: auto;
    min-height: 568px;
}

.test-popup>*{
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 360px;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 40px 15px 45px;
}

@media (max-width: 360px){

    .test-popup>*{
        border-radius: 0;
    }

}

.test-popup .close{
    position: absolute;
    width: 60px;
    height: 60px;
    right: 0;
    top: 0;
    cursor: pointer;
    opacity: 1;
    -webkit-transition: opacity 200ms ease;
    -moz-transition: opacity 200ms ease;
    -ms-transition: opacity 200ms ease;
    transition: opacity 200ms ease;
    will-change: opacity;
}

.test-popup .close:hover{
    opacity: 0.75;
}

.test-popup .close:before,
.test-popup .close:after{
    content: '';
    display: block;
    position: absolute;
    width: 20px;
    height: 2px;
    top: 29px;
    left: 20px;
    background: #9f9f9f;
    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.test-popup .close:before{
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.test-popup .close:after{
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


.test-popup .comment{
    font-size: 16px;
    margin-top: 15px;
}
.test-popup>*:before{
    content: 'Тест';
    display: block;
    text-align: center;
    font-family: GothamProNarrowMedium;
    font-size: 24px;
    line-height: 28px;
}

.test-popup .field{}

.-popup .field+.field{
    margin-top: 20px;
}

.test-popup .field.email{
    /*margin-top: 30px;*/
    margin-top: 20px;
}

.test-popup .field.email .input>div:before{
    content: 'Электронная почта'
}

.test-popup .signin{
    display: block;
    width: auto;
    margin-top: 10px;
}

.test-popup .signin:before{
    content: 'Пройти тест';
}
