
@charset "UTF-8";

body {
  padding: 0;
  margin: 0;
  background-color: #dfe0db;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.broadcast:hover + .broadcast__popup {
  display: block;
}

.broadcast:hover {
  text-decoration: underline;
  cursor: pointer;
}

.channel {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0.5em;
  width: 100%;
  background-color: #dfe0db;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media all and (min-width: 40em) {
  .channel {
    width: 50%;
  }
}

@media all and (min-width: 60em) {
  .channel {
    width: 33.33%;
  }
}

.container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 60em;
  margin: 0 auto;
  margin-top: 30px;
  text-align: left  !important;
}

.content {
  min-height: calc(100vh - 22px - 163px - 38px - 180px);
  min-height: -webkit-calc(100vh - 22px - 163px - 38px - 180px);
  min-height: -moz-calc(100vh - 22px - 163px - 38px - 180px);
  padding-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.header {
  background: white;
  height: 200px;
  width: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
}

@media all and (min-width: 60em) {
  .header {
    height: 130px;
  }
}

@media all and (min-width: 40em) {
  .header {
    height: 85px;
  }
}

#switch1:checked ~ * .broadcast {
  color: gainsboro;
}

#switch1:checked ~ * .broadcast_type_movie {
  color: #f7931e;
}

.line {
  height: 5px;
  width: 100%;
  background-color: #dfe0db;
}

.popup {
  display: none;
  position: absolute;
  z-index: 100;
  width: 300px;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.4);
}

.section {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding-left: 12vw;
  padding-right: 12vw;
}

@media all and (min-width: 60em) {
  .section {
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

@media all and (min-width: 40em) {
  .section {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* Important switch stuff */

.switch {
  display: none;
  margin-top: 10px;
}

.switch:checked + label {
  background: rgba(3, 155, 229, 0.5);
}

.switch:checked + label:before,
.switch:checked + label:after {
  left: 14px;
  background: #039be5;
}

.switch:disabled + label {
  opacity: 0.4;
  cursor: not-allowed;
}

.switch.red {
  display: none;
}

.switch.red:checked + label {
  background: rgba(244, 67, 54, 0.5);
}

.switch.red:checked + label:before,
.switch.red:checked + label:after {
  background: #f44336;
}

.broadcast__time {
  font-weight: 700;
}

.broadcast_now-playing_true {
  border: 2px solid red;
}

.channel__broadcast {
  margin-bottom: 5px;
}

.channel__content {
  background-color: #fff;
  padding: 1em;
  width: 100%;
}

.channel__list {
  list-style: none;
  padding: 0;
  font-size: 0.9em;
}

.channel__image {
  width: 64px;
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

.channel__title {
  display: inline-block;
  vertical-align: top;
  font-size: 1.2em;
  line-height: 48px;
  margin-left: 30px;
  font-weight: 300;
}

.popup__description {
  margin: 0 5px 5px 5px;
}

.popup__format {
  display: inline-block;
  padding: 5px;
  margin: 5px;
}

.popup__image {
  width: 100%;
  height: 200px;
  background-repeat: no-repeat;
  background-size: contain;
}

.slider__item {
  display: none;
}

.switch__label {
  width: 34px;
  height: 14px;
  background: lightgray;
  display: inline-block;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  margin: 10px;
}

.switch__label:before,
.switch__label:after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: white;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: 0;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.switch__label:after {
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
}

.switch__label:before {
  background: lightgray;
  -webkit-transform: scale3d(0, 0, 1);
  transform: scale3d(0, 0, 1);
}

.switch__label:active:before {
  -webkit-transform: scale3d(3, 3, 1);
  transform: scale3d(3, 3, 1);
  opacity: 0;
}

.switch__name {
  font-size: 0.9em;
  display: inline-block;
  line-height: 34px;
  vertical-align: top;
}

.switch_type_movie {
  display: none;
}

.switch_type_movie:checked + .switch__label {
  background: #f7931e;
}

.switch_type_movie:checked + .switch__label:before,
.switch_type_movie:checked + .switch__label:after {
  background: #f9b362;
}

.switch_type_movie:checked ~ * .broadcast {
  color: #bfbfbf;
}

.switch_type_movie:checked ~ * .broadcast_type_movie {
  color: #f7931e !important;
}

.switch_type_news {
  display: none;
}

.switch_type_news:checked + .switch__label {
  background: #00aeef;
}

.switch_type_news:checked + .switch__label:before,
.switch_type_news:checked + .switch__label:after {
  background: #4dc6f4;
}

.switch_type_news:checked ~ * .broadcast {
  color: #bfbfbf;
}

.switch_type_news:checked ~ * .broadcast_type_news {
  color: #00aeef !important;
}

.switch_type_series {
  display: none;
}

.switch_type_series:checked + .switch__label {
  background: #ef4230;
}

.switch_type_series:checked + .switch__label:before,
.switch_type_series:checked + .switch__label:after {
  background: #f47b6e;
}

.switch_type_series:checked ~ * .broadcast {
  color: #bfbfbf;
}

.switch_type_series:checked ~ * .broadcast_type_series {
  color: #ef4230 !important;
}

.switch_type_sport {
  display: none;
}

.switch_type_sport:checked + .switch__label {
  background: #009344;
}

.switch_type_sport:checked + .switch__label:before,
.switch_type_sport:checked + .switch__label:after {
  background: #4db37c;
}

.switch_type_sport:checked ~ * .broadcast {
  color: #bfbfbf;
}

.switch_type_sport:checked ~ * .broadcast_type_sport {
  color: #009344 !important;
}

.switch_type_talk-show {
  display: none;
}

.switch_type_talk-show:checked + .switch__label {
  background: #8A2BE2;
}

.switch_type_talk-show:checked + .switch__label:before,
.switch_type_talk-show:checked + .switch__label:after {
  background: #ad6beb;
}

.switch_type_talk-show:checked ~ * .broadcast {
  color: #bfbfbf;
}

.switch_type_talk-show:checked ~ * .broadcast_type_talk-show {
  color: #8A2BE2 !important;
}

.week-switch__button {
  position: absolute;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.week-switch__label {
  overflow: hidden;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: white;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin-bottom: 10px;
  margin-top: 10px;
  -webkit-transition: all .2s;
  transition: all .2s;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
}

.week-switch__label:hover {
  cursor: pointer;
  background-color: #fcff70;
}

.week-switch__button:checked + .week-switch__label {
  background-color: #FAFF33;
}

.week-switch__name {
  font-size: 0.9em;
  vertical-align: top;
  display: inline-block;
  line-height: 20px;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.channel__image_content_1 {
  background-image: url("images/channel__image_content_1.png");
}

.channel__image_content_2 {
  background-image: url("images/channel__image_content_2.png");
}

.channel__image_content_3 {
  background-image: url("images/channel__image_content_3.png");
}

.channel__image_content_4 {
  background-image: url("images/channel__image_content_4.jpeg");
}

.channel__image_content_5 {
  background-image: url("images/channel__image_content_5.png");
}

.popup__format_type_movie {
  background-color: #f7931e;
}

.popup__format_type_movie:after {
  content: 'Фильм';
}

.popup__format_type_news {
  background-color: #00aeef;
}

.popup__format_type_news:after {
  content: 'Новости';
}

.popup__format_type_series {
  background-color: #ef4230;
}

.popup__format_type_series:after {
  content: 'Сериал';
}

.popup__format_type_sport {
  background-color: #009344;
}

.popup__format_type_sport:after {
  content: 'Спорт';
}

.popup__format_type_talk-show {
  background-color: #8A2BE2;
}

.popup__format_type_talk-show:after {
  content: 'Ток-шоу';
}

.popup__image_type_movie {
  background-image: url("images/popup__image_type_movie.jpg");
}

.popup__image_type_news {
  background-image: url("images/popup__image_type_news.jpg");
}

.popup__image_type_series {
  background-image: url("images/popup__image_type_series.jpg");
}

.popup__image_type_sport {
  background-image: url("images/popup__image_type_sport.jpg");
}

.popup__image_type_talk-show {
  background-image: url("images/popup__image_type_talk-show.jpg");
}

.switch__label_type_movie:hover:before,
.switch__label_type_movie:hover:after {
  background: #f9b362;
}

.switch__label_type_news:hover:before,
.switch__label_type_news:hover:after {
  background: #4dc6f4;
}

.switch__label_type_series:hover:before,
.switch__label_type_series:hover:after {
  background: #f47b6e;
}

.switch__label_type_sport:hover:before,
.switch__label_type_sport:hover:after {
  background: #4db37c;
}

.switch__label_type_talk-show:hover:before,
.switch__label_type_talk-show:hover:after {
  background: #ad6beb;
}

.switch__name_type_movie:after {
  content: 'Фильмы';
}

.switch__name_type_news:after {
  content: 'Новости';
}

.switch__name_type_series:after {
  content: 'Сериалы';
}

.switch__name_type_sport:after {
  content: 'Спорт';
}

.switch__name_type_talk-show:after {
  content: 'Ток-шоу';
}

.week-switch__button_day_friday:checked ~ * .slider__item_day_friday {
  display: block;
}

.week-switch__button_day_monday:checked ~ * .slider__item_day_monday {
  display: block;
}

.week-switch__button_day_saturday:checked ~ * .slider__item_day_saturday {
  display: block;
}

.week-switch__button_day_sunday:checked ~ * .slider__item_day_sunday {
  display: block;
}

.week-switch__button_day_thursday:checked ~ * .slider__item_day_thursday {
  display: block;
}

.week-switch__button_day_tuesday:checked ~ * .slider__item_day_tuesday {
  display: block;
}

.week-switch__button_day_wednesday:checked ~ * .slider__item_day_wednesday {
  display: block;
}

.week-switch__name_day_friday:after {
  content: 'Пятница';
}

.week-switch__name_day_monday:after {
  content: 'Понедельник';
}

.week-switch__name_day_saturday:after {
  content: 'Суббота';
}

.week-switch__name_day_sunday:after {
  content: 'Воскресенье';
}

.week-switch__name_day_thursday:after {
  content: 'Четверг';
}

.week-switch__name_day_tuesday:after {
  content: 'Вторник';
}

.week-switch__name_day_wednesday:after {
  content: 'Среда';
}