* {
  box-sizing: border-box;
  font-family: Montserrat;
}

*:fullscreen,
*:-webkit-full-screen,
*:-moz-full-screen {
  background-color: rgba(255, 255, 255, 0) !important;
  padding: 20px;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.tv-container {
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
}

.fix-loading {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  overflow: hidden;
  z-index: 0;
  background-color: white;
}

.tv-container > .video-content:nth-child(2) {
  z-index: 4;
}

.video {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  object-fit: cover;
}

.wrapper-select-screen {
  height: 50px;
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
}

.wrapper-select-screen > select {
  height: 40px;
  width: 200px;
  font-size: 16px;
  border-radius: 8px;
}

.wrapper-layout {
  width: 100%;
  height: 100%;
  gap: 4px;
  padding: 4px;
  background-color: "white";
}

.box-layout {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

#screen2 > .wrapper-layout {
  display: flex;
  flex-direction: column;
}

#screen2 .box-layout {
  height: 50%;
}

#screen3 > .wrapper-layout {
  display: flex;
}

#screen3 .box-layout {
  width: 50%;
}

#screen4 > .wrapper-layout {
  display: flex;
}

#screen4 .box-layout:first-child {
  width: 65%;
  flex-direction: column;
  gap: 4px;
  display: flex;
}

#screen4 .box-layout:last-child {
  width: 35%;
}

.box-layout-child {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

#screen4 .box-layout-child {
  height: 50%;
  width: 100%;
}

#screen5 > .wrapper-layout {
  display: flex;
}

#screen5 .box-layout:first-child {
  width: 35%;
}

#screen5 .box-layout:last-child {
  width: 65%;
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.box-layout-child {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

#screen5 .box-layout-child {
  height: 50%;
  width: 100%;
}

#screen6 > .wrapper-layout {
  display: flex;
  flex-direction: column;
}

#screen6 .box-layout:first-child {
  width: 100%;
  height: 50%;
}

#screen6 .box-layout:last-child {
  height: 50%;
  gap: 4px;
  display: flex;
}

.box-layout-child {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

#screen6 .box-layout-child {
  height: 100%;
  width: 50%;
}

#screen7 > .wrapper-layout {
  display: flex;
  flex-direction: column;
}

#screen7 .box-layout:first-child {
  height: 50%;
  gap: 4px;
  display: flex;
}

#screen7 .box-layout:last-child {
  width: 100%;
  height: 50%;
}

.box-layout-child {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

#screen7 .box-layout-child {
  height: 100%;
  width: 50%;
}

.toggle-element {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  border: none;
  object-fit: cover;
}

.toggle-active {
  display: block;
}

#fullscreen-btn {
  position: fixed;
  visibility: hidden;
  z-index: 99;
}

.row-head {
  padding: 10px;
  font-size: 25px;
  color: #213970;
}

.row-tbl {
  padding: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 32px;
  font-weight: 600;
  line-height: 26px;
  color: #3367b1;
}

.row-border {
  border: 1px solid #eeeef0;
}

.animation-ping {
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1);
}

.description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 48px;
}

.zIndex {
  z-index: 999999999999999999999999999999999;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.modal-content {
  background: #f7fafe;
  border-radius: 8px;
  width: 90%;
  height: 80%;
  max-width: 70%;
}

.outline-btn {
  border: 2px solid red;
  border-radius: 4px;
  color: red;
  padding: 4px;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.fade-out {
  animation: fadeOut 1s forwards;
}

.fade-out-loading {
  animation: fadeOutLoading 1s forwards;
}

.fade-out2 {
  animation: fadeOut 1.5s forwards;
}

.tab-active {
  border-color: blue !important;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    display: none;
  }
}

@keyframes fadeOutLoading {
  0% {
    opacity: 1;
  }
  98% {
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
  }
  100% {
    opacity: 0;
    width: 0;
    height: 0;
  }
}

#scrollingBanner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #213970;
  color: #fff;
  font-size: 20px;
  padding: 16px;
  white-space: nowrap;
  display: none;
  z-index: 9999;
}

#scrollingBanner p {
  transform: translateX(100%);
  min-width: 100%;
  width: fit-content;
  animation: scrollBanner 10s linear infinite;
}

@keyframes scrollBanner {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* @keyframes scrollBannerParent {
    0% {
      opacity: 0;
    }
    2% {
      opacity: 1;
    }
  
    90% {
      opacity: 0.95;
    }
    100% {
      opacity: ;
      display: none;
    }
  } */

.category-item {
  height: 124px;
  width: 130px;
  cursor: pointer;
  box-shadow: 4px 0px 12px 0px #0000000d;
  padding: 16px;
  border-radius: 24px;
  background: white;
}

.category-item-active {
  border: 2px solid #f26522;
  background-color: #fef6ee;
}
