#v-pills-prizes{
  margin-top: 50px;
}
.dataTables_scrollHeadInner{
  width: 100% !important;
}
table{
  width: 100% !important;
}

.Main{
  padding-left: 100px; 
  padding-right: 100px;
}
@media (max-width: 1000px){
  .Main{
    padding-left: 0px; 
    padding-right: 0px;
  }
}
#page-header{
  background-image: url('https://sea.pennacool.com/theme/boost/pix/Math%20&%20English%20123%201.jpg');
  background-size: cover;
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: color;
}
#page-header .card{
  background-color: transparent;
}

.dataTables_scrollHeadInner table{
  background: rgb(254, 201, 13);
}
.dataTables_scrollHeadInner th{
  color: white;
}
#page-header{
  display: none;
}
#region-main{
  padding: 0;
}
#region-main-box{
  padding: 0;
}

.Base{
    width: 100%;
    height: calc(100vh - 52px);
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.Slider{
    width: 100%;
    height: auto;
    display: none;
}
.Background{
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
}
.Overlay{
    background: linear-gradient(0deg, rgba(0,0,0,0) 80%, rgba(0,0,0,.8) 100%) no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
.Heading{
    width: 100%;
    height: 50px;
    margin-top: 10px;
    position: absolute;
    top: 0;
}
.Home{
    height: 100%;
    width: auto;
    margin-left: 25px;
    position: relative;
    cursor: pointer;
    border-radius: 2.5px;
}
#xHome{
    transition: .15s;
}
#xHome.Fixed{
    height: 40px;
    position: fixed;
    margin-top: 0;
    padding-bottom: 0;
    background: transparent;
    z-index: 1;
    animation: Show .15s linear forwards;
    transition: .15s;
}
@keyframes Show {
    0% {
        margin-top: 0;
    }
    100% {
        margin-top: calc(50px + .5rem);
    }
}
#HomeMask{
    display: none;
}
#xHome.Fixed #HomeMask{
    display: block;
    width: 100%;
    height: .5rem;
    background: white;
    position: absolute;
    margin-top: -.5rem;

    display: none;
}
#xHome.Fixed #HomeBand{
    display: block;
    width: 100%;
    height: .5rem;
    background: white;
    position: absolute;
    margin-bottom: -.5rem;
    bottom: 0;

    display: none;
}
#xHome img{
    transform: scale(1.1);
}
.Menu{
    float: right;
    right: 0;
    position: absolute;
    height: 100%;
    width: auto;
    top: 0;
    display: flex;
    padding-right: 50px;
}
.Menu .Item{
    line-height: 50px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: .15s;
    border-bottom: 0px solid #73308A;
    text-shadow: 0 0 2.5px white;
    line-height: 40px;
    height: 40px;
    margin-top: 0px;
    text-decoration: none;;
}
#xHome.Fixed .Menu .Item{
    color: white;
    text-shadow: 0 0 2.5px white;
    transition: .15s;
}
#xHome.Dark .Menu .Item{
    color: black;
    text-shadow: 0 0 2.5px black;
    transition: .15s;
}
.Menu .Item:hover{
    color: #73308A !important;
    transition: .15s;
    border-bottom: 2px solid #73308A;
    text-shadow: 0 0 2.5px #73308A !important;
}

.Menu .Item.Select{
    color: #73308A !important;
    transition: .15s;
    border-bottom: 2px solid #73308A;
    text-shadow: 0 0 2.5px #73308A !important;
    pointer-events: none;
}
@media (max-width: 700px){
    .Home{
        padding-left: 0px;
        margin-left: 0px;
    }
    .Menu{
        padding-right: 5px;
    }
    .Menu .Item{
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
        margin-top: 5px;
    }
    .Overlay{
        background: linear-gradient(0deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.8) 100%) no-repeat;
    }
}
@media (max-width: 365px){
    .Heading{
        margin-top: 0px;
    }
    .Home{
        height: calc(100% - 20px);
        margin-top: 10px;
    }
    .Menu .Item{
        padding-left: 5px;
        padding-right: 5px;
        font-size: 10px;
        height: 50px;
        line-height: 50px;
        margin-top: 0;
    }
}
.Base{
    background: black;
}
.slide {
    width: 100%;
    height: calc(100vh - 52px);
    overflow: hidden;
    position: relative;
    background-color: #000;
}
.slide > div {
    width: 100%;
    height: 100%;
    background-size: cover;
    position: absolute;
    animation: slide 40s infinite;
    opacity: 0;
    background-position: center;
    background-size: auto 100%;
    background-size: cover;
    /*
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition-property: background-position;
    transition: 0.5s ease;
    transform: translate3d(0, 0, 0);
    scroll-behavior: smooth;
    */
}
.slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    position: absolute;
    animation: slide 40s infinite;
    opacity: 0;
    background-position: center;
    background-size: auto 100%;
    background-size: cover;
}
.slide > div.top{
    background-position-y: 0;
}
.slide > div:nth-child(2) {
    animation-delay: 10s;
}
.slide > div:nth-child(3) {
    animation-delay: 20s;
}
.slide > div:nth-child(4) {
    animation-delay: 30s;
}
.slide > div:nth-child(5) {
    animation-delay: 40s;
}
@media (max-width: 1000px){
    .slide > div:nth-child(5) {
        background-image: url('/theme/boost/pix/landing/microsite_poster/paria-5-mobile.jpg');
    }
}
@keyframes slide {
    10% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0;
        transform: scale(1.05);
    }
}

#v-pills-prizes .row .col-md-8{
  flex: 0 0 100%;
  max-width: 100%;
}
#v-pills-prizes .row .col-md-12{
  padding-left: 75px;
  padding-right: 75px;
}
@media (max-width: 765px){
  #v-pills-prizes .row .col-md-12{
    padding-left: 50px;
    padding-right: 50px;
  }
}

#About{
  width: 100%;
}

table::-webkit-scrollbar {
    width: 10px; /* Mostly for vertical scrollbars */
    height: 10px; /* Mostly for horizontal scrollbars */
}
table::-webkit-scrollbar-thumb {
    background: #999; /* Thumb foreground color */
}
table::-webkit-scrollbar-track {
    background: #333; /* Track background color */
}

.img-fluid{
  margin: auto;
}
#v-pills-tabContentC #v-pills-prizes{
  margin-top: 0;
}
#Scoreboard, #Prizes{
  padding-left: 0;
  padding-right: 0;
}
#Scoreboard{
  margin-top: 50px;
}
.paginate_button:hover{
  transition: .3s;
  filter: brightness(95%);
  background-color: white !important;
  background: white !important;
  border-color: white !important;
}
.paginate_button a{
  border-color: #F88D2B !important;
  background-color: #F88D2B !important;
  color: white !important;
}
.paginate_button.disabled a{
  color: #6c757d !important;
  background-color: #fff !important;
  border-color: #dee2e6 !important;
}
form .btn-primary{
  border-color: rgb(254, 201, 13) !important;
  background-color: rgb(254, 201, 13) !important;
  border-radius: 5px;
}
table th{
    background: rgb(254, 201, 13)
}
.nav-link{
  border-radius: 5px;
}
#Scoreboard table.no-footer {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.paginate_button.previous a {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.paginate_button.next a {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
#Rules #v-pills-prizes{
  margin-top: 0;
}

#nav-monthly_teachers .col-md-12{
  margin-bottom: 0;
}

#nav-pennywise_voucher .col-md-12, #nav-rbl_rightstart_accounts .col-md-12 {
  display: none !important;
}

.paginate_button{
  padding: 0 !important;
}
.paginate_button.active{
  filter: brightness(0.85);
  pointer-events: none;
}

.tab-content p {
    margin-top: 1rem;
    margin-bottom: 0;
}
.tab-content .tab-pane .col-md-12{
  display: none !important;
}

#nav-pennywise_voucher-tab{
    display: none;
}

/* Make slides look consistent */
.gallery-item,
.gallery-item.video {
    position: relative;
    overflow: hidden;
    border-radius: .75rem;
    box-shadow: 0 2px 6px rgb(0 0 0 / .15);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    text-align: center;
    padding: .5rem .25rem;
    background: #fff;
}
/* ----- overlay caption at the bottom of the media ----- */
#xGallerySection .gallery-item {
    position: relative;      /* anchor for absolute caption */
    background: rgb(254, 201, 13);
}

#xGallerySection .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .5rem .75rem;
    background: rgba(0,0,0,.55);  /* semi-transparent black */
    color: #fff;
    text-align: center;
    font-size: .95rem;
}
.gallery-caption h4 {
  color: white;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.4);
    border: none;
    padding: .25rem .5rem;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
}
.owl-carousel .owl-nav button.owl-prev { left: -12px; }
.owl-carousel .owl-nav button.owl-next { right: -12px; }
.owl-carousel .owl-dots { margin-top: .75rem; }
/* (Optional) Fancier arrows — tweak as you like */
.carousel-arrow {
    display: inline-block;
    font-size: 2rem;       /* arrow size */
    line-height: 1;        /* vertical centring */
    color: #fff;
}
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    background: rgba(0,0,0,.5);
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
}
/* ============================== */
/*  Desktop-only gallery tweaks   */
/* ============================== */
@media (min-width: 992px) {

    /* 1️⃣  Centre the entire carousel block */
    #xGallerySection .gallery-carousel {
        max-width: 820px;          /* or whatever width cap you chose */
        margin-left: auto;
        margin-right: auto;        /* ⬅️ this pair centres it */
    }

    /* 2️⃣  Limit height *and* centre each slide inside the track */
    #xGallerySection .owl-carousel .item {
        display: flex;             /* lets us centre vertically too */
        justify-content: center;   /* horizontal centring */
        align-items: center;       /* vertical centring (optional) */
    }

    #xGallerySection .gallery-item img,
    #xGallerySection .gallery-item video {
        max-height: 480px;         /* keep it short */
        width: auto;               /* maintain aspect ratio */
        object-fit: contain;       /* or cover, your call */
    }
}

#Poster video{
      width: 100%;
      height: 100%;
      border: none;
      position: absolute;
      object-fit: cover;
    }


/* Game Section Styles */
#xGamesSection .owl-carousel .item {
    padding: 10px;
}

#xGamesSection .game-card {
    border-radius: .75rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

#xGamesSection .game-card:hover {
    transform: scale(1.03);
}

#xGamesSection .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Navigation buttons */
#xGamesSection .owl-nav button.owl-prev,
#xGamesSection .owl-nav button.owl-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
}

#xGamesSection .owl-nav button.owl-prev { left: -15px; }
#xGamesSection .owl-nav button.owl-next { right: -15px; }
#xGamesSection .owl-dots { margin-top: .75rem; text-align: center; }
