/* Frame */
.frame {
    overflow: hidden;
}

.frame ul.main-news__items-wrapp {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
    display: flex;
}
 /* IE10+ */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
}

.frame ul.main-news__items-wrapp li {
    height: 100%;
    cursor: pointer;
    width: 320px;
    flex: 0 0 auto;
    margin: 0 10px 0 0
}

/* Scrollbar */
.slider_scrollbar {
    margin-top: 1.5rem;
    height: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #e1e3ef;
    line-height: 0;
}

.slider_scrollbar .handle {
    width: 100px;
    height: 100%;
    background: #b2b8da;
    border-radius: 8px;
    cursor: pointer;
}

.slider_scrollbar .handle .mousearea {
    position: absolute;
    top: -9px;
    left: 0;
    width: 100%;
    height: 20px;
}

/* Pages */
/* Controls */
.controls {
    padding: 25px 0;
    text-align: right;
}

.news-slider__item {
    position: relative;
    background: #FFFFFF;
    transition: all 0.3s;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1200px) {
    .news-slider__item {
        width: 314px;
    }
}

.news-slider__item:last-child {
    margin-right: 0;
}

.news-slider__item .news-slider__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    display: block;
}

.news-slider__item .news-slider__media {
    background-size: cover;
    width: 100%;
    height: 240px;
    position: relative;
    transition: all 0.5s;
}

.news-slider__item .news-slider__text-wrap {
    padding: 30px 40px;
}

@media only screen and (max-width: 1024px) {
    .news-slider__item .news-slider__text-wrap {
        padding: 26px 20px;
    }
}

.news-slider__item .news-slider__text-wrap .news-slider__title {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

.news-slider__item .news-slider__text-wrap .news-slider__title .news-slider__head {
    margin: 0;
    transition: all 0.3s;
    width: 70%;
    font-size: 18px;
}

@media only screen and (max-width: 1024px) {
    .news-slider__item .news-slider__text-wrap .news-slider__title .news-slider__head {
        font-size: 16px;
        padding: 0 10px 0 0;
    }
}

.news-slider__item .news-slider__text-wrap .news-slider__title .date {
    opacity: 0.3;
    color: #1D1D1D;
    font-size: 13px;
    line-height: 15px;
    font-weight: 500;
    width: 30%;
    margin-top: 7px;
    text-align: right;
    white-space: nowrap;
}

.news-slider__item .news-slider__text-wrap .news-slider__title .date span:nth-child(2) {
    margin: 0 3px;
}

@media only screen and (max-width: 1024px) {
    .news-slider__item .news-slider__text-wrap .news-slider__text {
        display: none;
    }
}

.news-slider__item--youtube:hover {
    box-shadow: none;
}

.news-slider__item--youtube:hover .news-slider__head {
    color: #000;
}

.news-slider__item--youtube .news-slider__youtube-link {
    background-size: cover;
    position: relative;
    transition: all 0.5s;
    font-size: 0;
    color: transparent;
    height: 240px;
    width: 100%;
    display: block;
    z-index: 9;
}

.news-slider__item--youtube .news-slider__youtube-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.5s;
}

.news-slider__item--youtube .news-slider__youtube-link:hover:before {
    background-color: transparent;
    transition: all 0.5s;
}

.news-slider__item--youtube .news-slider__text-wrap--youtube {
    display: block;
    text-decoration: none;
}

.news-slider__item--youtube .news-slider__text-wrap--youtube:hover .news-slider__head {
    color: #377CFD;
}

.news-slider__item--youtube .news-slider__youtube-button {
    position: absolute;
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
    background-color: transparent;
    top: 30%;
    left: 50%;
    transform: translateX(-8px) translateY(-10px);
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
    z-index: 10;
}

.news-slider__item--youtube .news-slider__youtube-button:hover {
    border-left: 18px solid #2B62FC;
}
