@charset "utf-8";

/** CSS Section 
 - Top Chart
 - List Head
 - Card
 - Schedule
 - View
 - Responsive
*/

/*** Top Chart ***/
.chart-section {
  background-color: #181818;
}

.chart-inner {
  width: 1280px;
  margin: 0 auto;
}

.chart-slider {
  display: flex;
  z-index: 10;
}

.chart-item {
  width: 33.3333%;
}

.chart-date {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border-bottom: 3px solid #444;
  padding: 16px 0;
}

.chart-item .chart-date::after {
  position: absolute;
  bottom: -10px;
  right: 1px;
  display: block;
  width: 3px;
  height: 18px;
  background-color: #02983b;
  content: "";
}

.chart-date.active em {
  font-size: 13px;
  padding: 2px 4px;
  border-radius: 3px;
  background-color: #666;
  margin-left: 0.6em;
  vertical-align: 1px;
}

.chart-item-link {
  display: block;
  padding: 38px 18px;
}

.chart-item-hover {
  display: none;
  position: absolute;
  top: 25px;
  right: 15px;
  width: 150px;
  border: 1px solid #02983b;
  z-index: 1;
  box-shadow: 0 5px 10px 5px rgb(0 0 0 / 20%);
}

/* .chart-item-hover::after {
  position: absolute;
  left: -5px;
  top: 50%;
  display: block;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background-color: #02983b;
  transform: rotate(315deg);
  border-width: 0 1px 1px 0;
  content: "";
  z-index: -1;
} 화살표 처리 */
.chart-item-link:hover .chart-item-hover {
  display: block;
}

.chart-item-clock {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 6px;
}

.chart-item-clock p {
  color: #a5a5a5;
  font-size: 18px;
  font-weight: 600;
  margin-right: 8px;
}

.chart-item-clock .mark-player {
  height: 22px;
}

.chart-item-subject {
  font-size: 18px;
  line-height: 1.5em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* .chart-nav-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.chart-nav.chart-nav-next {
  left: inherit;
  right: -25px;
  transform: translate3d(100%, -50%, 0);
} */
#chart-live .slick-arrow, #schedule-live .slick-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 0;
  cursor: pointer;
}

#chart-live .slick-prev, #schedule-live .slick-prev {
  left: -48px;
  transform: translate(-50%, -50%);
  background: url('../images/chart-nav-prev.svg') 0 no-repeat;
}

#chart-live .slick-next, #schedule-live .slick-next {
  left: inherit;
  right: -48px;
  transform: translate(50%, -50%);
  background: url('../images/chart-nav-next.svg') 0 no-repeat;
}

#chart-live .slick-arrow.slick-disabled, #schedule-live .slick-arrow.slick-disabled {
  opacity: .4;
}

.schedule-slider {
  display: flex;
}

.schedule-item {
  width: 20%;
}

.schedule-date {
  display: block;
  font-size: 24px;
  font-weight: 600;
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid #4d4d4d;
}

.schedule-date:hover {
  color: #999;
}

.schedule-date em {
  display: block;
  color: #999;
  font-size: 16px;
  font-weight: 400;
  margin-top: 0.25em;
}

.schedule-date.active {
  background-color: #444;
}

.schedule-slider .slick-track .slick-slide:last-child a {
  border-right-width: 0;
}

/*** TV List Head ***/
.tv-list-head {
  display: flex;
  justify-content: space-between;
  margin: 50px 0 30px 0;
  align-items: center;
}

.tv-list-tab {
  display: flex;
  gap: 10px;
}

.tv-list-tab a {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid #777;
  border-radius: 4px;
  color: #EEE;
  font-size: 16px;
  font-weight: 600;
}

.tv-list-tab a:hover {
  background-color: #777;
}

.tv-list-tab a.active {
  color: #FFF;
  border-color: #02983b;
  background-color: #02983b;
}

.tv-list-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-list-sort span {
  margin-right: 1.0em
}

.tv-list-select {
  color: #d2d2d2;
  font-size: 15px;
  padding: 12px;
  border: none;
  background-color: #333333;
  border-radius: 4px;
  outline: none;
}

h2.tv-list-title {
  color: #1ab153;
  font-size: 24px;
  font-weight: 600;
}

.btn-list-more {
  width: 52px;
  height: 52px;
  margin: 35px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #999;
  border-radius: 50%;
  background-color: #3b3b3b;
  cursor: pointer;
}

/*** Player Card Responesive ***/
.tv-player {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.2%;
  overflow: hidden;
  background-color: #000;
}

a.tv-player:hover::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 content: "";
  z-index: 1;

  background-color: rgba(0 0 0 / 50%);
  box-sizing: border-box;
}

.tv-player .watch-tv {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/*** Card ***/
.card-tv-content {
  padding-top: 0;
}

.card-tv-title {
  color: #FFF;
  font-size: 18px;
  margin: 0.8em 0;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
  height: 2.8em;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tv-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-tv-cat {
  color: #5bd88a;
  font-size: 14px;
}

.card-tv-date {
  color: #888;
  font-size: 14px;
}

/*** Schedule ***/
.timeline-list {

  /* */
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 38px 0;
}

.timeline-item::after {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100vw;
  height: 1px;
  left: 50%;
  background-color: #666;
  transform: translateX(-50%);
  content: "";
}

.timeline-item:first-child::before {
  display: block;
  position: absolute;
  top: 0;
  width: 100vw;
  height: 1px;
  left: 50%;
  background-color: #666;
  transform: translateX(-50%);
  content: "";
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-date {
  width: 200px;
  text-align: center;
  flex-shrink: 0;
}

.timeline-date p {
  font-size: 26px;
}

.timeline-date p em {
  display: block;
  color: #999;
  font-size: 16px;
  margin-top: 0.3em;
}

.timeline-label {
  display: flex;
  margin-top: 24px;
  justify-content: center;
}

.timeline-label-ico {
  height: 20px;
}

.timeline-alarm {
  display: flex;
  align-items: center;
  padding: 4px 6px;
  color: #999;
  font-size: 13px;
  justify-content: center;
  gap: 4px;
  border: 1px solid #999;
  border-radius: 3px;
  cursor: pointer;
}

.timeline-alarm img {
  height: 16px;
  opacity: .6;
}

.timeline-alarm.active {
  background-color: #1ab153;
  border-color: #1ab153;
  color: #FFF;
}

.timeline-alarm.active img {
  opacity: 1;
}

.timeline-tv {
  width: 280px;
  flex-shrink: 0;
}

.timeline-title {
  padding-left: 20px;
  font-size: 24px;
  line-height: 1.5em;
  word-break: keep-all;
}

.timeline-mark {
  display: flex;
  margin-left: auto;
  gap: 8px;
  flex-shrink: 0;
}

/*** View ***/
.view-live-section {
  width: 100%;
  background: #333 url('../images/main-player-patt.png') repeat 50% -50%;
}

.view-live-container {
  width: 1280px;
  margin: 0 auto;
  padding: 32px 0;
}

.view-live-tab {
  display: flex;
  width: 100%;
  margin-top: 16px;
  justify-content: space-between;
}

.view-live-tab a {
  display: flex;
  width: 100%;
  text-align: center;
  padding: 18px 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid #535353;
  border-right-width: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.view-live-tab a:last-child {
  border-right-width: 1px;
}

.view-live-tab a img {
  height: 26px;
}

.view-live-tab a.active, .view-live-tab a:hover {
  background-color: #444;
}

.view-live-body {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 48px 0 24px 0;
  align-items: flex-end;
}

.view-live-title {
  font-size: 32px;
  line-height: 1.5em;
  margin-bottom: 0.8em;
  word-break: keep-all;
}

.view-live-desc {
  font-size: 18px;
  line-height: 1.5em;
  margin-bottom: 1.5em;
}

.view-live-cat {
  display: flex;color: #1ab153;
  font-size: 16px;
gap: 12px;}

.view-live-cat span {
  display: inline-block;
  /* margin-left: 1.2em; */
  color: #888;
}

.view-live-share {
  display: flex;
  gap: 14px;
}

.view-share-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.view-share-button p {
  color: #FFF;
  font-size: 14px;
  margin-top: 0.7em;
  text-align: center;
  white-space: nowrap;
}

.ico-share {
  display: block;
  background-color: #FFF;
  padding: 4px;
  width: 40px;
  border-radius: 6px;
}

.ico-share.like {
  background-color: #da3b3b;
}

.ico-share.down {
  background-color: #747474;
}

.share-active {
  position: absolute;
  bottom: 100%;
  right: -10px;
  z-index: 10;
  width: 60px;
  padding: 18px 4px;
  margin-bottom: 18px;
  background-color: #FFF;
  box-shadow: 0px 12px 16px 0px rgb(0 0 0 / 35%);
  border-radius: 8px;
  text-align: center;
  display: none;
}

.share-active::after {
  position: absolute;
  left: 50%;
  bottom: -5px;
  display: block;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background-color: #FFF;
  transform: rotate(45deg);
  border-width: 0 1px 1px 0;
  content: "";
  z-index: -1;
}

.share-active a {
  display: block;
  margin-bottom: 12px;
}

.share-active a:last-child {
  margin-bottom: 0;
}

.share-active a img {
  width: 36px;
}

.view-comment-section {
  background-color: #181818;
}

.view-comment-container {
  width: 1280px;
  margin: 0 auto;
  padding: 38px 0;
}

.comment-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1.0em;
}

.comment-title em {
  display: inline-block;
  font-size: 16px;
  margin-left: 0.2em;
}

.comment-field {
  display: flex;
  padding: 8px;
  background-color: #444;
  border-radius: 4px;
}

.comment-field textarea {
  resize: none;
  background: none;
  padding: 12px;
  border: none;
  color: #EEE;
  font-size: 16px;
  line-height: 1.4em;
  outline: 0;
  flex-grow: 1;
}

.comment-field textarea::placeholder {
  color: #BBB;
}

.comment-field button {
  width: 92px;
  border: none;
  border-radius: 4px;
  background-color: #FFF;
  color: #333;
  font-size: 16px;
  flex-grow: 0;
}

.comment-account {
  display: flex;
  margin: 12px 0;
  gap: 12px;
  align-items: center;
}

.comment-account .with-facebook {
  display: flex;
  align-items: center;
  color: #361414;
  font-size: 15px;
  line-height: 1.6em;
  padding: 12px 18px;
  border: none;
  border-radius: 4px;
  gap: 11px;
  background-color: #FAE400;
}

.comment-account .with-facebook img {
  /* width: 24px; */
}

.comment-account-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-account-name span {
  color: #AAA;
  font-size: 16px;
}

.comment-account-name em {
  color: #FFF;
  font-weight: 600;
  margin-right: 0.1em;
}

.comment-account-name button.logout {
  display: flex;
  align-items: center;
  color: #e6e6e6;
  font-size: 13px;
  line-height: 1.2;
  padding: 8px 12px;
  border: 1px solid #686868;
  border-radius: 4px;
  background-color: transparent;
}

.comment-account input {
  color: #FFF;
  font-size: 15px;
  padding: 16px 12px;
  width: 200px;
  border: none;
  border-radius: 4px;
  background-color: #444;
}

.comment-sort {
  display: flex;
  margin-top: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid #666;
}

.comment-sort a {
  font-size: 16px;
}

.comment-sort a:not(:last-child)::after {
  display: inline-block;
  width: 1px;
  height: 13px;
  margin: 0 16px;
  background-color: #5a5a5a;
  content: "";
  vertical-align: middle;
}

.comment-sort a.active {
  color: #1ab153;
}

.comment-view {
  display: flex;
  padding: 24px 12px;
  border-bottom: 1px solid #666;
  align-items: flex-end;
}

.comment-view-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.comment-view-name {
  color: #c3c3c3;
  font-size: 16px;
  font-weight: 600;
}

.comment-view-text {
  color: #EFEFEF;
  font-size: 18px;
  line-height: 1.6em;
  margin-bottom: 0.6em;
}

.comment-view-date {
  color: #999;
  font-size: 14px;
}

.comment-view-date a::before {
  display: inline-block;
  width: 1px;
  height: 13px;
  margin: 0 0.6em;
  background-color: #5a5a5a;
  content: "";
  vertical-align: middle;
}

.comment-view-buttons {
  display: flex;
  gap: 8px;
}

.comment-view-buttons a {
  display: block;
  padding: 4px 4px;
}

.comment-view-buttons a img {
  width: 18px;
}

.comment-view-buttons a em {
  color: #FFF;
  font-size: 13px;
  margin-left: 6px;
}

.comment-view-buttons a:hover img {
  opacity: .5;
}

.comment-delete {
  position: absolute;
  top: 20px;
  right: 8px;
  display: flex;
}

.comment-delete a {
  display: block;
  padding: 8px;
  color: #999;
  font-size: 14px;
}

.comment-delete a:hover {
  color: #FFF;
  text-decoration: underline;
}

/** Slider Paging **/
.chart-dots-container {
  margin-top: -30px;
  padding-bottom: 20px;
}

.chart-dots-container.position-top {
  margin-top: -10px;
}

ul.chart-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}

ul.chart-dots li button {
  display: block;
  font-size: 0;
  line-height: 0;
  width: 8px;
  height: 8px;
  padding: 2px;
  border: 1px solid rgba(255 255 255 / 50%);
  background-color: transparent;
  border-radius: 50%;
}

ul.chart-dots li.slick-active button {
  background-color: #FFF;
  border-color: rgba(255 255 255 / 100%);
}

.cat-btn-inner {
  width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
text-align: center;}

.cat-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 32px 0;
}

.cat-btn-group a {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 4px;
  color: #181818;
  background-color: #FFF;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.cat-btn-group a:hover, .cat-btn-group a.active {
  background-color: #137237;
  border-color: #137237;
  color: #FFF;
}

.cat-btn-group a.cat-tag {
  color: #181818;
}

.cat-btn-group a.cat-tag:hover, .cat-btn-group a.cat-tag.active {
  color: #FFF;
  background-color: #137237;
}

/***
 * Responsive 
 ***/
@media screen and (max-width:1320px) {

  /** TV Chart **/
  .chart-inner {
    width: 100%;
    padding: 0 24px;
  }

  /** LIVE view **/
  .view-comment-container {
    width: 100%;
    padding: 38px 24px;
  }

  /** Cat Group **/
  .cat-btn-inner {
    width: 100%;
    padding: 0 24px;
  }

}

@media screen and (max-width:1280px) {

  /** LIVE view **/
  .view-live-container {
    width: 100%;
    padding: 24px;
  }

}

@media screen and (max-width:1024px) {

  /** TV Chart **/
  .chart-section {
    margin-top: 50px;
  }

  .chart-item-link:hover .chart-item-hover {
    display: none;
  }

  .chart-date {
    border-bottom-width: 1px;
  }

  .chart-item:not(:last-child) .chart-date::after {
    display: none;
  }

  .chart-item-link {
    padding: 18px 16px;
  }

  /** LIVE view **/
  .view-live-section {
    margin-top: 50px;
  }

  /** Schedule **/
  .chart-inner {
    padding: 0;
  }

  .timeline-title {
    font-size: 18px;
    padding-left: 0;
  }

  .timeline-date {
    width: 20%;
  }

  .timeline-tv {
    width: 24%;
  }

}

@media screen and (max-width:800px) {

  /** Chart **/
  .chart-date {
    font-size: 14px;
  }

  .chart-item-clock p {
    font-size: 14px;
  }

  .chart-item-clock .mark-player {
    height: 18px;
  }

  .chart-item-subject {
    font-size: 16px;
    line-height: 1.4;
    height: 2.8em;
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /** TV List **/
  .tv-list-head.main-list {
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
  }

  h2.tv-list-title {
    font-size: 18px;
  }

  .tv-list-tab {
    width: 100%;
    margin-top: 12px;
  }

  .tv-list-tab a {
    flex-grow: 1;
    font-size: 14px;
    text-align: center;
    padding: 10px 6px;
  }

  .tv-list-select {
    padding: 8px;
    font-size: 13px;
  }

  .tv-list-col {
    width: 50%;
  }

  .btn-list-more {
    width: 40px;
    height: 40px;
    padding: 4px;
    margin: 15px auto 30px auto;
  }

  /** TV View **/
  .view-live-tab a {
    padding: 12px;
    gap: 8px;
    font-size: 12px;
  }

  .view-live-tab a img {
    height: 18px;
  }

  .view-live-title {
    font-size: 24px;
  }

  .view-live-desc {
    font-size: 14px;
  }

  /** Comment **/
  .comment-view-buttons a:hover img {
    opacity: 1;
  }

  /** Schedule **/
  .schedule-date {
    font-size: 18px
  }

  .schedule-date em {
    font-size: 12px;
  }

  .timeline-date p {
    font-size: 20px;
  }

  /* Btn Group */
  .cat-btn-group {
    padding-right: 16px;
  }

}

@media screen and (max-width:600px) {

  /** TV List **/
  .tv-list-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .tv-list-sort {
    width: 100%;
    justify-content: flex-end;
  }

  .tv-list-sort span {
    position: absolute;
    left: 0px;
    margin-right: 1.0em;
    font-size: 13px;
  }

  .tv-list-select {
    padding: 8px 4px;
  }

  .tv-list-wrapper {
    margin: 0 -6px;
  }

  .tv-list-col {
    padding: 0px 6px;
    margin-bottom: 35px;
  }

  .card-tv-title {
    font-size: 16px;
  }

  .card-tv-cat, .card-tv-date {
    font-size: 12px;
  }

  /** TV View **/
  .comment-view {
    flex-direction: column;
    align-items: start;
    padding: 24px 8px 12px 8px;
    gap: 8px;
  }

  .comment-view-buttons {
    align-self: flex-end;
  }

  .comment-delete {
    top: 4px;
    right: -4px;
  }

  /** Schedule **/
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0;
  }

  .timeline-date {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 8px;
  }

  .timeline-date p {
    font-size: 18px;
    text-align: left;
  }

  .timeline-date p em {
    display: inline-block;
    margin-top: 0;
    margin-left: 0.5em;
  }

  .timeline-label {
    margin-top: 0;
  }

  .timeline-label-ico {
    height: 18px;
  }

  .timeline-alarm {
    font-size: 12px;
    padding: 4px;
  }

  .timeline-tv {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0 8%;
  }

  .timeline-title {
    font-size: 18px;
    text-align: center;
    padding-left: 0;
  }

  .timeline-mark {
    width: 100%;
    justify-content: flex-end;
    margin-left: inherit;
  }

  .timeline-mark img {
    height: 24px;
  }

  /** Cat Group */
  .cat-btn-group {
    padding: 24px 0;
  }

  .cat-btn-group a {
    font-size: 13px;
    padding: 10px 12px;
  }

}

@media screen and (max-width:480px) {

  /** Chart **/
  .chart-item-subject {
    font-size: 14px;
  }

  /** TV View **/
  .view-live-container {
    padding: 16px;
  }

  .view-live-tab a {
    font-size: 0;
    padding: 10px;
  }

  .view-live-body {
    flex-direction: column;
    gap: 18px;
    margin: 20px 0 0 0;
  }

  .view-live-content {
    width: 100%;
  }

  .view-live-title {
    font-size: 18px;
  }

  .view-live-cat {
    font-size: 13px;
  }

  .ico-share {
    width: 32px;
  }

  .view-share-button p {
    font-size: 12px;
  }

  .share-active {
    right: -8px;
    width: 50px;
    padding: 12px 4px;
    border-radius: 8px;
  }

  .share-active a img {
    width: 32px;
  }

  /** comment **/
  .view-comment-container {
    padding: 24px 16px;
  }

  .comment-field {
    flex-direction: column;
  }

  .comment-title {
    font-size: 16px;
  }

  .comment-account .with-facebook {
    font-size: 13px;
    line-height: 1.0;
    padding: 8px;
  }

  .comment-field textarea {
    font-size: 14px;
    height: 100px;
    padding: 6px;
  }

  .comment-field button {
    width: auto;
    font-size: 14px;
    padding: 12px 24px;
    align-self: flex-end;
  }

  .comment-sort a {
    font-size: 14px;
  }

  .comment-view-name {
    font-size: 12px;
  }

  .comment-view-text {
    font-size: 16px;
  }

  .comment-view-date {
    font-size: 13px;
  }

  /** schedule **/
  .schedule-date {
    font-size: 16px;
    padding: 12px;
  }

}