/* Edited by Patrick on 27-07-2018 */
.header_menu {
  background: #820201;
  width: 100%;
  position: relative;
  top: -1px;
  padding: 4px 12px 0px;
}

@-moz-document url-prefix() {
  .header_menu {
    top: -2px;
  }
}

#index_container {
  width: 100%;
  overflow: hidden;
}
#video_ad_container {
  background: #f6f6f6;
  padding-top: 40px;
  box-shadow: inset 0px -1px 1px rgba(226, 226, 226, 0.5);
}

.date_list {
  padding: 0px;
  margin: 0px;
  list-style: none;
  display: inline-block;
  padding-bottom: 0px;
  font-weight: 200;
}

.date_list li:first-child a {
  color: rgba(255, 255, 255, 1);
}

.date_list li {
  list-style: none;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin: 0 auto;
  text-align: center;
  border-bottom: solid 3px #820201;
  font-weight: bold;
}

.date_list li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 5px 7px 6px 7px;
  display: block;
}

.date_list .selected {
  border-bottom: solid 3px #fff;
}
.date_list .selected:after {
  box-shadow: none !important;
}
.date_list .selected a {
  color: rgba(255, 255, 255, 1);
}

.date_list .future a {
  color: rgba(255, 255, 255, 1);
}

.date_list li span:first-child,
#calander_table span:first-child {
  font-size: 1.05em;
  line-height: 1em;
}
.date_list li span:last-child,
#calander_table span:last-child {
  font-size: 0.75em;
  line-height: 1.5em;
}

.date_list li span {
  display: block;
}

.date_list li {
  box-shadow: 0 -2px 2px rgba(126, 34, 96, 0);
  position: relative;
  /* -webkit-transform: translateY(0); */
  -webkit-transition: all 0.65s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.65s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.date_list li:hover {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  color: rgba(255, 255, 255, 1);
  border-bottom: solid 3px #fff;
  opacity: 1;
}

.date_list li:hover a {
  color: rgba(255, 255, 255, 1);
}

#epg_ad_container {
  background: #f6f6f6;
  padding-top: 40px;
  box-shadow: inset 0px -1px 1px rgba(226, 226, 226, 0.5);
  min-height: 1200px;
}

.epg_table .media {
  background-color: #fff;
  color: #820201;
  font-size: 20px;
  padding: 15px 20px;
  margin-top: 0px !important;
  margin-bottom: 2px;
  align-items: center;
  box-shadow: 0px 0px 1px #d9d9d9;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.epg_table .media-left {
  width: 15%;
  color: #777;
  font-size: 0.85em;
  line-height: 1em;
  font-weight: 300;
  vertical-align: middle;
}
.epg_table .media-body {
  padding-left: 0px;
  vertical-align: middle;
}

.epg_table .media-body .episode {
  color: #820201;
  font-size: 0.85em;
  font-weight: 300;
}

.epg_table .media-body a {
  color: #9d4996;
}

.epg_table .media-body:hover a {
  color: #dc7ac0;
  text-decoration: none;
}

.epg_table .media-right div {
  display: inline-block;
}

.epg_table .media-right div:first-child {
  width: 100px;
  vertical-align: top;
}

.epg_table .media-right div:last-child {
  width: 64px;
  margin: auto auto;
  position: relative;
  vertical-align: middle;
}

.epg_table .media-right {
  min-width: 180px;
  text-align: left;
  vertical-align: middle;
}
.remark {
  color: #777;
  font-size: 0.75em;
  line-height: 1em;
  display: inline-block;
  font-weight: 300;
}

.playicon_img,
.liveicon_img,
.live_button {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}

.epg_container {
  width: 100%;
  padding-left: 10px;
  padding-right: 326px;
}

.ad_container {
  position: absolute;
  right: 8px;
  top: 0px;
}

.epg_table {
  font-family: Helvetica, "Helvetica Neue", "Century Gothic", Arial, "Noto Sans TC", Microsoft JhengHei;
  margin-bottom: 10px;
}

.left_shadow {
  background: url('../images/left_shadow.png') repeat-y;
  position: absolute;
  left: 0px;
  min-height: 42px;
  width: 14px;
  top: -4px;
  z-index: 2;
}

/* fade ALL out on parent hover */
.epg_table:hover > .media {
  opacity: 1;
}

/* fade ONE in on hover */
.epg_table > .media:hover {
  opacity: 1;
  box-shadow: 0px 0px 10px #aaa;
  background: #f8f8f8;
}

.epg_table .active {
  background: #f6eff6;
  opacity: 1 !important;
}

.first_week_dropdown,
.second_week_dropdown {
  display: none;
}
.live_button {
  background: #c250a1;
  color: #fff;
  font-size: 20px;
  padding: 5px 20px;
  border-radius: 8px;
}
.live_button:hover {
  color: #fff !important;
}

#calander_table {
  width: 100%;
}

.calander_table_row {
  display: table-row;
}

#calander_table .calander_table_cell:first-child a {
  color: rgba(255, 255, 255, 1) !important;
}

.calander_table_cell {
  display: table-cell;
  text-align: center;
}

.calander_table_cell a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-weight: bold;
}

.calander_table_row:last-child .calander_table_cell *,
.calander_table_row:first-child .calander_table_cell {
  color: rgba(255, 255, 255, 1);
}

#calander_table .calander_table_cell {
  padding-top: 4px;
  padding-bottom: 7px;
}
.calander_table_cell:nth-child(n + 2) a {
  color: rgba(255, 255, 255, 1);
}
#calander_table .selected {
  border-bottom: solid 3px #fff !important;
}

.calander_table_cell {
  box-shadow: 0 -2px 2px rgba(126, 34, 96, 0);
  position: relative;
  /* -webkit-transform: translateY(0); */
  -webkit-transition: all 0.65s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.65s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 3px 5px;
  border-bottom: solid 3px #820201;
  font-weight: 200;
}
.calander_table_cell:hover a {
  text-decoration: none;
}

.calander_table_row .selected {
  border-bottom: solid 3px #fff !important;
}

#calander_table span {
  display: block;
}

.prev {
  position: absolute;
  left: -9px;
  top: 2px;
}
.next {
  position: absolute;
  right: -9px;
  top: 2px;
}

.prev img,
.next img {
  width: 9px;
  height: 32px;
}
.slick-disabled {
  opacity: 0;
}

.mobile_ad {
  display: none;
  width: 100%;
  text-align: center;
  margin: 5px 0px;
}

.change_remark {
  margin-top: 20px;
  margin-left: 10px;
}
.icon_remark {
  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
}

@media screen and (max-width: 360px) {
  .calander_table_cell {
    font-size: 10px !important;
  }
}

@media (max-width: 990px) {
  .epg_container {
    width: 100%;
    padding-right: 10px;
  }

  .ad_container {
    position: relative;
    width: 100%;
    margin: 10px auto;
    text-align: center;
  }

  #epg_ad_container {
    padding-top: 10px !important;
  }

  .mobile_ad {
    display: none;
  }
  .ad_container {
    display: none;
  }
}

@media (max-width: 650px) {
  .epg_table .media {
    font-size: 16px;
    min-height: 20px !important;
    padding: 6px 6px 6px 12px;
  }

  .epg_table .media-left,
  .epg_table .media-body {
    padding: 0;
    vertical-align: middle;
  }

  .epg_table .media-right {
    padding-top: 0px;
  }

  .epg_table .media-right {
    min-width: 116px;
    text-align: left;
  }
  .epg_table .media-right div:first-child {
    width: 37px;
    vertical-align: top;
  }
  .epg_table .media-right div:last-child {
    width: 64px;
    height: 36px;
  }

  .epg_table .media-left {
    width: 18% !important;
    padding-right: 2px;
  }

  .playicon_img {
    width: 20px;
    height: 20px;
  }

  .header_menu {
    padding: 4px 0px 0px;
  }
}

@media (min-width: 651px) {
}

@media (max-width: 990px) {
}

@media (max-width: 1024px) {
  /*.date_list{display:none;}*/
}

@media (min-width: 1025px) {
  #calander_table {
    display: none;
  }
  .left_shadow {
    display: none;
  }
}

@media screen and (max-width: 420px) {
  .date_list li a {
    padding: 5px 5px 6px 5px;
  }
}
