.timer-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: .64s ease-in-out;
}

.timer-modal-inner {
    position: relative;
    bottom: -100vw;
    right: -100vh;
    display: flex;
    max-width: 90%;
    align-items: center;
    background-color: #fff;
    -webkit-transform: rotate(32deg);
    transform: rotate(32deg);
    transition: .64s ease-in-out;
    font-family: Roboto, sans-serif;
}

.timer-modal.-opened {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
}
.timer-modal.-opened .timer-modal-inner {
    bottom: 0;
    right: -2vw;
    -webkit-transform: rotate(0);
    transform: rotate(0);
}

.timer-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 26px;
    height: 25px;
    background: url(/themes/classic/img/timer-modals/modal-close.png) center no-repeat;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

.timer-modal-close:hover {
    transform: rotate(-180deg);
}


/* Личные страницы дикторов */

.-modal-dictor {
    border: #363636 1px solid;
    box-shadow: #76a3c6 0 0 15px;
}

.modal-dictor {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    width: 625px;
    min-height: 428px;
}

.modal-dictor--image {
    width: 278px;
    background: url(/themes/classic/img/timer-modals/modal-dictor-bg.jpg) center no-repeat;
    background-size: cover;
}

.modal-dictor--content {
    width: 347px;
    padding: 48px 76px 55px 66px;
    font-size: 22px;
    line-height: normal;
}

.modal-dictor--content-text {
    min-height: 268px;
    padding-left: 2px;
}

a.modal-dictor--btn {
    display: inline-block;
    min-width: 204px;
    padding: 0 10px;
    color: #fff;
    text-align: center;
    font-size: 26px;
    line-height: 50px;
    text-decoration: none;
    background: #fa6042;
    border: #fa6042 1px solid;
    border-radius: 3px;
    transition: all 0.2s ease;
}

a.modal-dictor--btn:hover {
    background: #fff;
    color: #fa6042;
}

@media (max-width: 650px) {
    .modal-dictor {
        flex-wrap: wrap;
        min-height: 0;
    }
    .modal-dictor--image {
        width: 100%;
        height: 120px;
    }
    .modal-dictor--content {
        width: 100%;
        padding: 20px;
        font-size: 20px;
    }
    .modal-dictor--content-text {
        min-height: 0;
        margin: 0 0 20px;
    }
    .modal-blog--image-script {
        height: 150px;
    }
    .modal-blog--image-ivr {
        height: 150px;
    }
    .modal-blog--image-voice {
        height: 150px;
    }
    .modal-blog--image-audio {
        height: 150px;
    }
}

/* Блог */

.-modal-blog {
    border: #a9a9a9 1px solid;
    box-shadow: #76a3c6 0 0 15px;
}

.modal-blog {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    width: 450px;
    min-height: 450px;
}

.modal-blog--image-script {
    width: 100%;
    height: 200px;
    background: url(/themes/classic/img/timer-modals/blog-img.jpg) center no-repeat;
    background-size: cover;
}
.modal-blog--image-aplus {
    width: 100%;
    height: 200px;
    background: url(/themes/classic/img/timer-modals/aplus-1.png) center no-repeat;
    background-size: cover;
}
.modal-blog--image-ivr {
    width: 100%;
    height: 200px;
    background: url(/themes/classic/img/timer-modals/blog-img-ivr.jpg) center no-repeat;
    background-size: cover;
}
.modal-blog--image-voice {
    width: 100%;
    height: 200px;
    background: url(/themes/classic/img/timer-modals/blog-img-voice.jpg) center no-repeat;
    background-size: cover;
}
.modal-blog--image-audio {
    width: 100%;
    height: 200px;
    background: url(/themes/classic/img/timer-modals/blog-img-audio.jpg) center no-repeat;
    background-size: cover;
}
.modal-blog--image-video {
    width: 100%;
    height: 200px;
    background: url(/themes/classic/img/timer-modals/blog-img-video.jpg) center no-repeat;
    background-size: cover;
}

.modal-blog--content {
    padding: 0 50px;
    text-align: center;
    width: 100%;
}

.modal-blog--content-text-1 {
    font-size: 33px;
    line-height: normal;
    margin-bottom: 20px;
    font-weight: bold;
    margin-top: 25px;
}
.modal-blog--content-text-2 {
    font-size: 22px;
    line-height: normal;
    margin-bottom: 40px;
}

a.modal-blog--btn {
    display: inline-block;
    min-width: 204px;
    padding: 14px 26px;
    color: #fff;
    text-align: center;
    font-size: 26px;
    line-height: 27px;
    text-decoration: none;
    background: #fa6042;
    border: #fa6042 1px solid;
    border-radius: 3px;
    transition: all 0.2s ease;
    margin-bottom: 30px;
}

a.modal-blog--btn:hover {
    background: #fff;
    color: #fa6042;
}

@media (max-width: 650px) {
    .modal-blog {
        flex-wrap: wrap;
        min-height: 0;
    }
    .modal-blog--image {
        width: 100%;
        height: 120px;
    }
    .modal-blog--content {
        width: 100%;
        padding: 20px;
        font-size: 20px;
    }
    .modal-blog--content-text {
        min-height: 0;
        margin: 0 0 20px;
    }
    .modal-blog--content-text-1 {
        font-size: 25px;
        margin-top: 5px;
    }
    .modal-blog--content-text-2 {
        font-size: 19px;
        margin-bottom: 30px;
    }
    a.modal-blog--btn {
        font-size: 23px;
        margin-bottom: 20px;
    }
}