/* Add generic styles here! */
/* CROSS BROWSER SCROLL BAR */
*.no-scrollbar {
  scrollbar-width: none;
}
*.no-scrollbar::-webkit-scrollbar {
  width: 0px;
}
*.no-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
*.no-scrollbar::-webkit-scrollbar-thumb {
  background-color: transparent;
  border: 1px solid transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 30, 30, 0.5) #f6f8fa;
}
*::-webkit-scrollbar {
  width: 8px;
}
*::-webkit-scrollbar-track {
  background: #f6f8fa;
}
*::-webkit-scrollbar-thumb {
  background-color: rgba(30, 30, 30, 0.5);
  border: 1px solid #f6f8fa;
}

*.dark-scroll {
  scrollbar-color: rgba(225, 225, 225, 0.5) #1e1e1e;
}
*.dark-scroll::-webkit-scrollbar-track {
  background: #1e1e1e;
}
*.dark-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(225, 225, 225, 0.5);
  border: 1px solid #1e1e1e;
}

*.cat-section-scroll {
  scrollbar-color: #e4e4e4 #fbfbfb;
}
*.cat-section-scroll::-webkit-scrollbar-track {
  background: #fbfbfb;
}
*.cat-section-scroll::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #e4e4e4;
}

body {
  background-color: #f6f8fa;
}

#go-back {
  left: 0;
  right: 0;
  bottom: 0;
  position: fixed;
  padding-bottom: 24px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgb(30, 30, 30)), to(rgba(30, 30, 30, 0.5)));
  background: linear-gradient(0deg, rgb(30, 30, 30) 0%, rgba(30, 30, 30, 0.5) 100%);
}
#go-back a {
  width: 48px;
  height: 48px;
  margin: auto;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: opacity 350ms ease;
  transition: opacity 350ms ease;
  background-image: url("/resource/icon/ui/close.svg");
}
#go-back a:active, #go-back a:hover {
  opacity: 0.65;
}
@media screen and (min-width: 768px) {
  #go-back {
    padding-bottom: 48px;
  }
  #go-back a {
    width: 56px;
    height: 56px;
  }
}

div[data-type=no-json] {
  padding-top: 32px;
  position: relative;
}
div[data-type=no-json] > img {
  display: block;
  margin: auto;
  width: 96px;
  height: 96px;
}
div[data-type=no-json] > h2, div[data-type=no-json] > p, div[data-type=no-json] > a {
  display: block;
  margin: 8px auto;
  color: #1e1e1e;
  text-align: center;
  font-family: "Hind Siliguri", sans-serif;
}
div[data-type=no-json] > h2 {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}
div[data-type=no-json] > p {
  font-size: 14px;
  font-weight: 600;
}
div[data-type=no-json] > a {
  width: 96px;
  height: 24px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  padding: 8px 24px;
  line-height: 24px;
  border-radius: 4px;
  color: #FFFFFF;
  background-color: #1e1e1e;
}

.info-wrapper {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 24px;
  max-width: 450px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 12px;
  width: calc(100% - 72px);
  background: #FFFFFF;
  -webkit-filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.16));
          filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.16));
}
.info-wrapper[data-type=no-json] {
  position: fixed;
  padding-top: 24px;
}
@media screen and (min-width: 1200px) {
  .info-wrapper {
    left: 320px;
  }
}

.info-wrapper-live {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 24px;
  max-width: 450px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 12px;
  width: calc(100% - 72px);
  background: #FFFFFF;
  -webkit-filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.16));
          filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.16));
}
.info-wrapper-live[data-type=no-json] {
  position: fixed;
  padding-top: 24px;
}
.info-wrapper-live h2 {
  color: #e50914 !important;
}
.info-wrapper-live .red-btn {
  background-color: #e50914 !important;
}

#photo-gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 20px 0;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
}
#photo-gallery > div {
  width: 100%;
  height: 50vw;
  display: block;
  cursor: pointer;
  overflow: hidden;
  max-height: 380px;
  margin-bottom: 8px;
  border-radius: 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid #c3c3c3;
  background-color: rgba(30, 30, 30, 0.5);
}
#photo-gallery > div::after {
  left: 0;
  bottom: 0;
  content: "";
  width: 100%;
  height: 25%;
  position: absolute;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#1e1e1e));
  background: linear-gradient(transparent, #1e1e1e);
}
#photo-gallery > div .view-icon {
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: block;
  cursor: pointer;
  position: absolute;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/resource/icon/ui/view-photo-01.svg");
}
#photo-gallery > div .meta-content {
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 48px;
  cursor: pointer;
  position: absolute;
}
#photo-gallery > div .meta-content p, #photo-gallery > div .meta-content h2 {
  margin: auto;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #FFFFFF;
  width: calc(100% - 24px);
  font-family: "Baloo Da 2", cursive;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#photo-gallery > div .meta-content p {
  font-size: 14px;
  font-weight: 400;
}
#photo-gallery > div .meta-content p[data-visibility=false] {
  visibility: hidden;
}
#photo-gallery > div .as-image {
  width: 100%;
  height: auto;
  display: block;
  min-height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(30, 30, 30, 0.5);
  -webkit-transition: -webkit-transform 350ms ease;
  transition: -webkit-transform 350ms ease;
  transition: transform 350ms ease;
  transition: transform 350ms ease, -webkit-transform 350ms ease;
  background-image: url("/resource/image/preloader-placeholder-logo.svg");
}
#photo-gallery > div .as-image:hover {
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
}
@media screen and (min-width: 768px) {
  #photo-gallery > div {
    height: 300px;
    width: calc(50% - 6px);
  }
  #photo-gallery > div:nth-child(even) {
    margin-left: 4px;
  }
  #photo-gallery > div:nth-child(odd) {
    margin-right: 4px;
  }
  #photo-gallery > div .view-icon {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
  #photo-gallery > div .meta-content {
    height: 60px;
  }
  #photo-gallery > div .meta-content p, #photo-gallery > div .meta-content h2 {
    padding: 0 16px;
    font-size: 19px;
    line-height: 24px;
    width: calc(100% - 32px);
  }
  #photo-gallery > div .meta-content p {
    font-size: 15px;
  }
}
@media screen and (min-width: 1200px) {
  #photo-gallery > div {
    height: 400px;
    border-radius: 8px;
  }
}