/* Frame */
.frame {
  overflow: hidden;
  text-align: left;
  position:relative;
  z-index: 21;
}
.frame ul.main-news__items-wrapp {
  list-style: none;
  margin: 0;
  padding: 0;
  /*height: 100%;*/
  position: relative;
}
.frame ul.main-news__items-wrapp li {
  float: left;
  width: 370px;
  min-width: 350px;
  /*height: 100%;*/
  margin: 0 20px;
  padding: 10px;
  cursor: grab;
}
.frame ul.main-news__items-wrapp li:active{
  cursor: grabbing;
}
.frame ul.main-news__items-wrapp li.active {
}

.frame h3 {
  font-size: 28px;
  color: #F04E98;
  margin-bottom: 15px !important;
}

/* Scrollbar */
.scrollbar {
  margin: 1em auto;
  height: 8px;
  background: #DCDCDC;
  line-height: 0;
  width: 94px;
  border-radius: 9px;
  overflow: hidden;
}
.scrollbar .handle {
  width: 100px;
  height: 100%;
  background: #F04E98;
  cursor: pointer;
  border-radius: 9px;
}
.scrollbar .handle .mousearea {
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
  height: 20px;
}

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

.news-slider__item {
  position: relative;
  transition: all 0.3s;
  width: 350px;
  height: 500px;
  margin-right: 40px;
}
@media only screen and (max-width: 1200px) {
  .news-slider__item {
    width: 314px;
  }
}
.news-slider__item:last-child {
  margin-right: 0;
}
.news-slider__item:hover .news-slider__head {
 
}
.news-slider__item:hover {
  cursor: pointer;
}
.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;
  box-shadow: 0 16px 30px rgba(0,0,0,0.16);
  border-radius: 24px;
}
.news-slider__item .news-slider__text-wrap {
  padding: 30px 0px 0px;
  max-height: 200px;
}
@media only screen and (max-width: 991.98px) {
  .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%;
}
@media only screen and (max-width: 991.98px) {
  .news-slider__item .news-slider__text-wrap .news-slider__title .news-slider__head {
    font-size: 24px;
    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: 767.98px) {
  /* .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;
}
.news-slider__text.text {
  height: auto !important;
}
