@media (min-width: 1250px) {
    .main-news__pic {
        min-height: inherit;
    }
    .main-news__pic.main-news__pic--large {
        min-height: 363px;
    }
}
@media (max-width: 1249px) {
    .main-news__pic {
        min-height: 226px;
    }
    .page-header__logo {
        max-height: 74px;
    }
}
@media (max-width: 767px) {
    .main-news__pic {
        min-height: 320px;
    }
}
.main-news__title.main-news__title--large {
    color: #C70A6F;
    margin-bottom: 10px;
}
.main-news__text--large {
    height: auto;
    min-height: 255px;
}
.main-news__text--large .main-news__date {
    margin-bottom: 10px;
}
#mainNewsCountdown {
    margin-top: 10px;
}
.news-item__img-wrap {
    text-align: center;
}
.news-item__img-wrap #newsImgCountdown {
    margin-top: 15px;
}
#newscountdown, .newscountdown {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    margin: 10px 0 0 0;
    background-color: #c70a6f;
    border: 2px solid #c70a6f;
    color: #fff;
    text-transform: none;
}
#newscountdown:hover, .newscountdown:hover {
    background-color: #fff;
    color: #c70a6f;
}

.news-item__txt #newscountdown {
    margin: 20px 0;
    text-align: center;
}
.profile__activity-item.telelink {
    margin-bottom: 20px;
}
.profile__activity-item.telelink .profile__activity-date {
    margin-bottom: 0;
    color: black;
    text-decoration: none;
    font-weight: bold;
}
.profile__activity-item.telelink a {
    color: #C70A6F;
}
.profile__activity-item.telelink a:hover {
    text-decoration: none;
}
@media (min-width: 600px) and (max-width: 1249px) {
    .profile .nav-tabs li {
        display: table-cell;
        width: 25%;
        text-align: center;
    }
}
@media (max-width: 600px) {
    .profile .nav-tabs li {
        display: inline-block;
        width: 50%;
        margin: 0;
        float: left;
        text-align: center;
    }
}
.news-item__info-back a::before {
    content: url(/frontend/images/img/back-arrow.png);
}
.news-item__likes-btn p::before {
    content: url(/frontend/images/like-icon.png);
}

.library-inner__file-icon--pdf {
    background-image: url(/frontend/images/file-pdf-ico.png);
    background-size: contain;
}

.library-inner__file-icon--doc {
    background-image: url(/frontend/images/file-doc-ico.png);
    background-size: contain;
}

@media (min-width: 1230px) {
    .main-news__item.slide_pic{
        background-color: #fff;
    }
    .main-news__item.slide_pic {
        position: relative;
    }
    .main-news__item.slide_pic .main-news__text {
        max-height: 363px;
        height: auto;
    }
    .main-news__item.slide_pic .main-news__text-wrap {
        position: absolute;
        width: 363px;
        bottom: 0px;
        background: #F0F0F0;

        overflow-y: hidden;

        max-height: 0;
        transition-property: all;
        transition-duration: .5s;
        transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
        padding: 0px 30px;
    }
    .main-news__item.slide_pic:hover .main-news__text-wrap {
        max-height: 363px;
        padding: 20px 30px;
    }
    .main-news__item.slide_pic .main-news__pic {
        height: 363px;
        width: 100%;
    }
}


@media (max-width: 1249px) {
    .main-news__pic {
        min-height: 350px;
    }
    .main-news__text--large {
        min-height: none;
    }
    .press-center--img {
        background-size: cover;
    }
}
@media (max-width: 767px) {
    .manysize {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .main-news__pic {
        min-height: 100px;
        background-size: contain;
        background-repeat: no-repeat;
        height: auto !important;
    }
    .main-news__item {
        max-width: none;
    }
    .press-center--img__wrapper {
        max-width: none;
    }
    .main-news__text--large {
        height: auto;
        min-height: 50px;
    }
}

.test-block .news-item__wrap {
    padding-bottom: 50px;
}

.test-block a {
    color: #c70a6f;
}
.test-block a.btn {
    color: #fff;   
}
.test-block .test-q1 {
    padding: 30px 0;
}

.test-block img {
    max-width: 100%;
    height: auto;
}

.test-block .test-q4 {
    cursor: pointer;
}
.test-block .test-q4 {
    background-image: url('/css/rc.png');
    background-repeat: no-repeat;
    padding-left: 30px;
    min-height: 20px;
}
.test-block .test-q4.active {
    background-image: url('/css/rb.png');
}
.test-block #end_test, .test-block #start_test {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    margin: 10px 0 0 0;
    background-color: #c70a6f;
    border: 2px solid #c70a6f;
    color: #fff;
    text-transform: none;
}
.test-block .descr_text{
    font-size: 13.5pt;
    color: black;
}
.test-block .active{
    color: #993366;
}
