/*!
* Cyber Game Tabler Theme
*/

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset Scrollbar */
html, body {
  scrollbar-color: unset;
}


.brand {
  font-size: 2em;
}
@media (min-width: 992px) {
  .navbar-vertical.navbar-expand-lg {
    overflow-y: auto;
  }
}

.placeholder-inline-content {
  display: inline-block;
  background: var(--tblr-bg-surface);
  height: 1em;
  border-radius: 5px;
}

.aspect-ratio-widescreen,
.ar-16-9 {
  aspect-ratio: 16 / 9;
}

.carousel-caption-reset {
  top: 0px;
  left: 0px;
  text-align: left;
  padding: 1.25rem;
  right: 0px;
  /*text-shadow: #000 1px 0 10px;*/
}

/* Set minimum page content size so that footer is always at the bottom */
.page-content {
  min-height: calc(100vh - 56px - 120px);
}
.page-wrapper-fullscreen {
  height: calc(100vh - 56px - 120px);
}
.page-wrapper-fullscreen .page-body {
  height: 100%;
}
@media (min-width: 992px) {
  .page-content {
    min-height: calc(100vh - 56px - 84px);
  }
  .page-wrapper-fullscreen {
    height: calc(100vh - 56px - 84px);
  }
}
.page-wrapper > .page-body {
  margin-bottom: 0;
}

/* Module Iframe
 * ------------------------------------------------------ */
.iframe-container {
  height: 100%;
  padding-left: 16px;
  padding-right: 16px;
  max-width: calc((100vh - 56px - 84px - 4px) * 16 / 10);
  max-height: calc((100vw - 32px) * 10 / 16);
}
.iframe-container .iframe-module-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}
.iframe-container .iframe-module-wrapper.iframe-module-wrapper-loading {
  position: absolute;
  top: -99999px;
  left: -99999px;
}

.iframe-container .iframe-module-wrapper .iframe-module-control {
  position: absolute;
  bottom: 0px;
  left: 0px;
  opacity: 0.5;
  transition: opacity 1s ease-out;
}
.iframe-container .iframe-module-wrapper .iframe-module-control:hover {
  opacity: 1;
}
.iframe-container .iframe-module-wrapper .iframe-module-control button {
  background: transparent;
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  color: #fff;
}


.iframe-container .iframe-module,
.iframe-container .iframe-loading {
  height: 100%;
  width: 100%;
  border: 0px;
  border-radius: 6px;
}
.iframe-container .iframe-loading {
  background-color: #0e1621;
  position: relative;
}
.iframe-container .iframe-loading .loading-screen {
  position: absolute;
  bottom: 4rem;
  left: 4rem;
  right: 4rem;
}
@media (min-width: 576px) {
  .iframe-container .iframe-loading .loading-screen {
    left: 50%;
  }
}
@media (min-width: 992px) {
  .iframe-container {
    max-height: calc((100vw - 240px - 32px) * 10 / 16);
  }
}


/* Transparent Tabs
 * ------------------------------------------------------ */
.card.card-nav-tabs {
  border: none;
}
.card.card-nav-tabs .card-header .nav-tabs {
  padding-right: 0 !important;
  padding-left: 0 !important;
  padding-top: 4px !important;
}
.card.card-nav-tabs .card-body {
  border: 1px solid #1f2f41;
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.card.card-nav-tabs .card-header .nav-tabs .nav-item a:hover {
  background: #182433;
  color: white;
}


/* Transparent Tabs
 * ------------------------------------------------------ */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
}
.loading-overlay.active {
  display: block;
}
.loading-overlay .loading-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
}


/* Animations
 * ------------------------------------------------------ */

.animated-cursor:after {
  content: "_";
  opacity: 0;
  animation: animation-blink 1s infinite;
}
.animated-cursor-block:after {
  content: "█";
  opacity: 0;
  animation: animation-blink 1s infinite;
}
@keyframes animation-blink {
  0% {opacity: 0;}
  40% {opacity: 0;}
  50% {opacity: 1;}
  90% {opacity: 1;}
  100% {opacity: 0;}
}

.fade-in {
  animation: animation-fade-in 0.3s ease-in both;
}
@keyframes animation-fade-in {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

.fade-out {
  animation: animation-fade-out 0.5s ease-out both;
}
@keyframes animation-fade-out {
  0% {opacity: 1;}
  100% {opacity: 0;}
}
