@charset "UTF-8";

html {
  height: 100vh;
  overflow-x: hidden;
}

body {
  font-size: 16px;
  font-family: 思源黑體, Source Han Sans, Noto Sans CJK TC, 蘋方-繁, PingFang TC, 微軟正黑體, Microsoft JhengHei, sans-serif;
  background: #000;
  padding-top: 56px;
  color: #f5f5f5;
}

h1 {
  font-size: 1.2em;
}

h2 {
  font-size: 1.2em;
}

h3 {
  font-size: 1em;
}

a {
  color: #f5f5f5;
}

p a {
  text-decoration: underline !important;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
}

.navbar-brand {
  font-weight: bold;
}

.small {
  font-size: 14px;
}

.copyright {
  font-size: 14px;
  padding-bottom: 20px;
}

.nav-scroller {
  position: fixed;
  z-index: 2;
  height: 2.75rem;
  right: 0;
  left: 0;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  padding-left: 0.25rem;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
  padding: .75rem .5rem;
  font-size: .875rem;
  color: #5f6368;
}

.nav-scroller .nav-link:hover {
  color: #15181c;
  transition: all 0.5s ease;
}

.nav-scroller .active {
  font-weight: 500;
  color: #15181c;
}

.cctv-stack,
.tv-stack {
  width: 25%;
  height: auto;
  position: relative;
  padding: 14.0625% 0 0;
  background: url('assets/loading.svg') no-repeat center;
}

.cctv-stack img,
.tv-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

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

  .cctv-stack,
  .tv-stack {
    width: 33.33333%;
    padding: 18.75% 0 0;
  }
}

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

  .cctv-stack,
  .tv-stack {
    width: 33.33333%;
    padding: 18.75% 0 0;
  }
}

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

  .cctv-stack,
  .tv-stack {
    width: 50%;
    padding: 28.125% 0 0;
  }
}

@media screen and (max-width: 575.98px) {
  .cctv-stack {
    width: 100%;
    padding: 56.25% 0 0;
  }

  .tv-stack {
    width: 50%;
    padding: 28.125% 0 0;
  }
}

.cctv-stack p {
  position: absolute;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  bottom: 0;
  padding: 1px 5px;
  margin: 10px;
  border-radius: 4px;
}

#cctv-container {
  display: -webkit-flex;
  /* Safari */
  display: flex;
  -webkit-flex-wrap: wrap;
  /* Safari */
  flex-wrap: wrap;
  -webkit-justify-content: left;
  /* Safari */
  justify-content: left;
  margin-top: 44px;
}

.cctv-info {
  margin-top: 60px;
  margin-bottom: 16px;
}

.cctv-info h1 {
  font-size: 1rem;
  margin: 0;
}

.cctv-info h2 {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.trigger {
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
  z-index: 1 !important;
}

.cctv-menu {
  margin: 1em 0;
}

.cctv-menu ul {
  margin: 0;
  padding: 0;
}

.cctv-menu ul li {
  display: inline-block;
  line-height: 20px;
  background: #15181c;
  border-radius: 15px;
  margin-bottom: 5px;
}

.cctv-menu ul li:hover {
  background: #343536;
  transition: all 0.5s ease;
}

.cctv-menu ul li a {
  color: #e7e9ea;
  display: block;
  padding: 10px 15px;
}

.cctv-menu ul li a:hover {
  color: #fff;
}

.image-container {
  text-align: center;
  margin-bottom: 0.5rem;
}

.image-container figcaption {
  color: #a0a0a1;
  width: 90%;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.image-container {
  position: relative;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .08), 0 -1px 3px 0 rgba(0, 0, 0, .06);
  overflow: hidden;
  background-color: #1c1c1c;
  padding-bottom: 56.25%;
  height: 0;
}

.image-container .loading-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  animation: pulse 1.5s ease-in-out infinite;
}

.image-container img,
.image-container iframe,
.image-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
}

@keyframes pulse {
  0% {
    background-color: #333;
  }

  50% {
    background-color: #444;
  }

  100% {
    background-color: #333;
  }
}

.small {
  color: #71767b;
}

small {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.cctv-search {
  margin: 1em 0;
  padding: 1em;
  background: #fff;
  border-radius: 8px;
}

.news-chanel {
  overflow: hidden;
  position: relative;
}

.news-chanel::after {
  padding-top: 56.25%;
  display: block;
  content: '';
}

.news-chanel iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.news-chanel p {
  position: absolute;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  bottom: 0;
  padding: 1px 5px;
  margin: 10px;
  -moz-animation: fadeAway 2s ease-in 5s forwards;
  -webkit-animation: fadeAway 2s ease-in 5s forwards;
  -o-animation: fadeAway 2s ease-in 5s forwards;
  animation: fadeAway 2s ease-in 5s forwards;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@keyframes fadeAway {
  to {
    width: 0;
    height: 0;
    overflow: hidden;
  }
}

@-webkit-keyframes fadeAway {
  to {
    width: 0;
    height: 0;
    visibility: hidden;
  }
}

.badge.live {
  background-color: #cc0000;
  color: #fff;
  bottom: 2px;
  position: relative;
}

.video-js {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-js .vjs-modal-dialog {
  background: none !important;
}

.vjs-error .vjs-error-display:before {
  display: none;
}

@font-face {
  font-family: 'icomoon';
  src: url('assets/fonts/icomoon.eot?rmv61b');
  src: url('assets/fonts/icomoon.eot?rmv61b#iefix') format('embedded-opentype'),
    url('assets/fonts/icomoon.ttf?rmv61b') format('truetype'),
    url('assets/fonts/icomoon.woff?rmv61b') format('woff'),
    url('assets/fonts/icomoon.svg?rmv61b#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: 'icomoon' !important;
  speak-as: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-search1:before {
  content: "\e900";
}

.bg-glass {
  background-color: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
}

#navbarHeader {
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.55);
}

#navbarHeader .list-unstyled li {
  color: #71767b;
  font-weight: bold;
  margin-bottom: 0.5em;
}

#navbarHeader .list-unstyled li:hover {
  color: #E7E9EA;
  text-decoration: underline;
}

.text-box {
  background: #15181c;
  border: 1px solid #343536;
  border-radius: 4px;
  transition: color .5s, fill .5s, box-shadow .5s;
  padding: 8px;
  padding-left: 16px;
  margin-top: 8px;
}

.text-box h2 {
  color: #f5f5f5;
}

.text-box p {
  color: #e7e9ea;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.single-button {
  border: none;
  padding: 8px 16px;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 8px;
  text-align: center;
}

.fixed-top {
  z-index: 999 !important;
}

.pbs_block {
  font-size: 12px;
  cursor: pointer;
  background: #1E1E1E;
  border: 2px solid #1E1E1E;
}

.pbs_block:hover {
  background: #242424;
  border: 2px solid #fff;
}

.pbs_modDttm {
  font-size: 12px;
}

.pbs_block p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.pbs_comment {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.pbs_credit {
  font-size: 12px;
}

.pbs_container {
  max-width: 600px;
}

.pbs_info {
  font-size: 12px;
  background: #1E1E1E;
  border-radius: 5px;
  margin: 60px 0 10px 0;
}

.pbs_info p {
  margin-bottom: 5px;
}

.menu-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 10rem);
  justify-content: space-between;
  padding-left: 0;
}

@media (max-width: 767px) {
  .menu-grid-container {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

.menu-grid-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;

  &::after {
    content: "";
    display: block;
    padding-bottom: 30%;
  }
}

.menu-grid-item>a,
.menu-grid-content,
.menu-grid-content img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: none;
}

.menu-grid-item>a {
  padding: 10px;
  line-height: 1;
}

.menu-grid-item .menu-grid-title {
  font-size: 14px;
  font-weight: bold;
  position: relative;
  color: #f5f5f5;
  z-index: 1;
}

.menu-grid-content img {
  margin: auto;
  display: block;
  object-fit: cover;
}

.cctv-buffer {
  display: none;
  width: 100%;
}

@media (max-width: 575.98px) {
  .cctv-buffer {
    display: block;
  }
}

ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}