.index {
    flex: 1;
    margin-top: 5px;

}
.bgimage {
    background-color: #11141b;
}
.pager {
    flex: 1;
    padding-left: 10px;
    padding-right: -500px;
    margin-left: 0px;
    margin-right: 20px;
    margin-top: 25px;
}

.main {
    max-width: 95rem;
    margin: auto;

}

.navbar {
    margin-bottom: 35px;
}
.nav-tabs{
    --bs-nav-tabs-border-color: none;
}

table{
    border:none;
}
td{
    font-size: 15px;
    padding-bottom:10px;
}
th{
    padding-bottom:10px;
}
tr{
    width: 100%;
    --bs-border-color:  #575757;
}

#footer {
    position:absolute;
    bottom:0;
    width:100%;
}

a {
    color:#fff;
    text-decoration: none !important;
    padding: 0;
    margin: 0;
}
a:hover{
    color: #d8d8d8;
}

body {
    color: #fff;
    font-family: BarlowCondensed-Medium;
    background-color: #11141b;
    display: flex;
    min-height: 100vh;
    flex-direction: column;

}

.container {
    max-width: 1200px;
}

.card {
    max-width: 100%;
    background-color: transparent;
}

.card-body{
    background-color: #32383e;
    width: 100%;
    min-width: 100%;
}
.card-header {
    background-color: #1a1b1f;
}

.card-group{
    align-content: center;
}

.btn {
    border:0;
    color: #fff;
    background-color: #313131;
}

.border-dark{
    border: 0;
}

.version{
    font-size: calc(0.55rem + 0.5vw);
    color: #fff;
}

.version-footer{
    font-size: calc(0.15rem + 0.75vw);
}

.chara-list {
    margin: 0 -.375rem
}

.gasha-list {
    display: none;
}

.crystal-list {
    display: none;
}
.ticket-list {
    display: none;
}
.event-list {
    display: none;
}
#loadmoreevents {
    width: 200px;
    color: #fff;
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: #353535;
    transition: .3s;
}

#loadmoreevents:hover {
    color: black;
    background-color: #fff;
    border: 1px solid black;
    text-decoration: none;
}
#loadMoreCrystals {
    width: 200px;
    color: #fff;
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: #353535;
    transition: .3s;
}
#loadMoreCrystals:hover {
    color: black;
    background-color: #fff;
    border: 1px solid black;
    text-decoration: none;
}

#loadMoreTicekts {
    width: 200px;
    color: #fff;
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: #353535;
    transition: .3s;
}
#loadMoreTicekts:hover {
    color: black;
    background-color: #fff;
    border: 1px solid black;
    text-decoration: none;
}



#loadMore {
    width: 200px;
    color: #fff;
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: #353535;
    transition: .3s;
}
#loadMore:hover {
    color: black;
    background-color: #fff;
    border: 1px solid black;
    text-decoration: none;
}

#loadMore2 {
    width: 200px;
    color: #fff;
    display: block;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background-color: #353535;
    transition: .3s;
}
#loadMore2:hover {
    color: black;
    background-color: #fff;
    border: 1px solid black;
    text-decoration: none;
}
.noContent {
    color: #000 !important;
    background-color: transparent !important;
    pointer-events: none;
}
.noContent2 {
    color: #000 !important;
    background-color: transparent !important;
    pointer-events: none;
}

@keyframes fade {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.image-header-top {
    width: 100%;
}
.image-header-top > img {
    margin-left: 0vw;
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.bg-dark {
    background-color: #1c1c1c !important;
}
.navbar ul {
    margin: 0;
    padding: 0 !important;
}


.modal-dialog {
    max-width: 1240px;
    margin: 2rem auto;
}
@font-face { font-family: BarlowCondensed-Light; src: url('/fonts/BarlowCondensed-Light.ttf'); }
@font-face { font-family: BarlowCondensed-Medium; src: url('/fonts/BarlowCondensed-Medium.ttf'); }
@font-face { font-family: BarlowCondensed-Regular; src: url('/fonts/BarlowCondensed-Regular.ttf'); }
@font-face { font-family: BarlowCondensed-SemiBold; src: url('/fonts/BarlowCondensed-SemiBold.ttf'); }
@font-face { font-family: BarlowCondensed-Bold; src: url('/fonts/BarlowCondensed-Bold.ttf'); }
@font-face { font-family: DBLegends; src: url('/fonts/DBLegends.otf'); }
@font-face { font-family: DragonLegends; src: url('/fonts/Dragon Legends.otf'); }

.video-container {
    position:relative;
    padding-bottom: 33%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

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

#expand-box
{
    width: 100%;
    padding: 0;
    margin: 7px 0 0 0;
}

#expand-box-header
{
    margin: 0;
    padding: 0 0 3px 2px;
}
.clear{
    clear:both;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#scrollToTopBtn:hover {
    background-color: #777;
}

.dropdown-menu {
    font-size: 20px; /* Default font size */
}

@media (max-width: 768px) {
    .dropdown-menu {
        font-size: 18px; /* Adjust the font size for smaller screens */
    }
}

@media (max-width: 576px) {
    .dropdown-menu {
        font-size: 16px; /* Adjust the font size for even smaller screens */
    }
}

.charamain,
.charaform,
.charasynchro,
.charamainimage,
.charaformimage,
.charasynchroimage{
    display: none;
}

.active {
    display: block;
}
#toggleImage:hover {
    cursor: pointer;
}
#toggleImage {
    transition: transform 0.2s;
}

#toggleImage {
    transition: transform 0.2s;
}

.bounce {
    animation-name: bounce;
    animation-duration: 0.25s;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.85);
    }
    100% {
        transform: scale(1);
    }
}
.charaBaseMain,
.charaBaseZenkai,
.charaFormMain,
.charaFormZenkai {
    display: none;
}

.charaBaseMain.active,
.charaBaseZenkai.active,
.charaFormMain.active,
.charaFormZenkai.active{
    display: block;
}

#toggleButton1:hover {
    cursor: pointer;
}

#toggleButton1 {
    transition: transform 0.2s;
}
#toggleButton2:hover {
    cursor: pointer;
}

#toggleButton2 {
    transition: transform 0.2s;
}
#toggleButton3:hover {
    cursor: pointer;
}

#toggleButton3 {
    transition: transform 0.2s;
}
.bannername {
    width: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 14px;
    text-align: left;
    transform: translate(0px, 0px);
}

.bannerzoom {
    transition: transform .2s;
    width: 190px;
}

.bannerzoom:hover {
    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari 3-8 */
    transform: scale(1.05);
}
.pagination {

    --bs-border-radius: none;
}
.pagination .page-link {
    background: #3f485d;
    border-color: #384c7e;
    color: white;
}

.gasha-details {
    position: relative;
}

.gasha-details .gasha-text-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -150%);
}
@media (min-width: 200px) {
    /* Adjust the position for mobile view */
    .gasha-details .gasha-text-banner {
        transform: translate(-50%, -170%);
    }
}
@media (min-width: 400px) {
    /* Adjust the position for mobile view */
    .gasha-details .gasha-text-banner {
        transform: translate(-50%, -150%);
    }
}
@media (min-width: 600px) {
    /* Adjust the position for mobile view */
    .gasha-details .gasha-text-banner {
        transform: translate(-50%, -150%);
    }
}
@media (min-width: 800px) {
    /* Adjust the position for mobile view */
    .gasha-details .gasha-text-banner {
        transform: translate(-50%, -150%);
    }
}

@media (min-width: 1000px) {
    /* Adjust the position for mobile view */
    .gasha-details .gasha-text-banner {
        transform: translate(-50%, -150%);
    }
}

.cropped-image {
    width: 100%;
    height: 400px; /* Set the initial height */
    object-fit: cover; /* Crop the image to cover the specified dimensions */
    object-position: center;

/* Media query for screens with a maximum width of 767px (typical mobile screens) */
    @media (max-width: 767px) {
        height:150px; /* Set a different height for mobile */
    }
}
.left-aligned-text {
    text-align: left !important;
}
.crystal-num {
    position: absolute;
    transform: translate(0px, 20px);
    font-size: 20px;
    text-shadow: 0 0 4px black, 0 0 4px black, 0 0 4px black, 0 0 4px black; /* Add multiple shadows to create the stroke effect */
}

.crystal-num2 {
    position: absolute;
    transform: translate(60px, 20px);
    font-size: 20px;
    text-shadow: 0 0 4px black, 0 0 4px black, 0 0 4px black, 0 0 4px black; /* Add multiple shadows to create the stroke effect */
}
.crystal-num3 {
    position: absolute;
    transform: translate(125px, 20px);
    font-size: 20px;
    text-shadow: 0 0 4px black, 0 0 4px black, 0 0 4px black, 0 0 4px black; /* Add multiple shadows to create the stroke effect */
}

.tix-num {
    position: absolute;
    transform: translate(-5px, 15px);
    font-size: 20px;
    text-shadow: 0 0 4px black, 0 0 4px black, 0 0 4px black, 0 0 4px black; /* Add multiple shadows to create the stroke effect */
}
.reward-num {
    position: relative;
    transform: translate(-12px, 20px);
    font-size: 20px;
    text-shadow: 0 0 4px black, 0 0 4px black, 0 0 4px black, 0 0 4px black; /* Add multiple shadows to create the stroke effect */
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    justify-items: center;
    align-content: center;
    text-align: center;
}

@media (max-width: 767px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1000px) {
    .bannerimage {
        width: 100%;
    }
}
.trait-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Adjust the minmax value as needed */
    grid-gap: 10px; /* Adjust the grid gap as needed */
    justify-content: center;
    text-align: center;
    margin: 10px; /* Add margin to the top of the container */
}

.trait-container-equip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Adjust the minmax value as needed */
    grid-gap: 10px; /* Adjust the grid gap as needed */
    justify-content: center;
    text-align: center;
    margin: 2px; /* Add margin to the top of the container */
}


.trait-thumb {
    position: relative;
    width: 180px; /* Make sure each trait-thumb takes the full width of the grid cell */
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.trait-thumb > div {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 180px; /* Set max-width to 100% to prevent overflowing */
}

.trait-thumb > .title {
    position: absolute;
    top: 0;
    left: 0;
    width: 180px; /* Set width to 100% to fill the trait-thumb */
    height: 45px; /* Adjust height as needed */
    background-size: 180px 45px; /* Adjust background size */
    transform: translate(-10px, -18px);
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.trait-thumb > .name {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #1a1b1f;
    font-family: BarlowCondensed-Bold;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */

    line-height: 1; /* Adjust the line-height for multiline text */
    min-height: 34px; /* Set min-height based on the font-size to prevent affecting single-line text */
    margin: auto; /* Center the element horizontally */

    /* Optional: If you want to center the element vertically as well */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-62%, -35%);
}





/* Media query for small screens */
@media (max-width: 576px) {
    .trait-thumb > .name {
        font-size: 16px; /* Adjust font size for small screens */
    }
}

/* Media query for extra small screens */
@media (max-width: 375px) {
    .trait-thumb > .name {
        font-size: 16px; /* Adjust font size for extra small screens */
    }
}

.trait-thumb > .title.standard {
    background-image: url('/assets/icon_elements/Cmn_pltFeatureClass_99.webp');
}
.trait-thumb > .title.bronze {
    background-image: url('/assets/icon_elements/Cmn_pltFeatureClass_00.webp');
}
.trait-thumb > .title.silver {
    background-image: url('/assets/icon_elements/Cmn_pltFeatureClass_01.webp');
}
.trait-thumb > .title.gold {
    background-image: url('/assets/icon_elements/Cmn_pltFeatureClass_02.webp');
}
.trait-thumb > .title.ultra {
    background-image: url('/assets/icon_elements/Cmn_pltFeatureClass_03.webp');
}

.traitzoom {
    transition: transform .2s;
    width: 200px;
}

.traitzoom:hover {
    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari 3-8 */
    transform: scale(1.05);
}
.newzooms {
    transition: transform .2s;
    width: auto;
}

.newzooms:hover {
    -ms-transform: scale(1.02); /* IE 9 */
    -webkit-transform: scale(1.02); /* Safari 3-8 */
    transform: scale(1.02);
}

.SPBasePush,
.SPSS1Push,
.SPSS2Push,
.SPSS3Push,
.SPSSGPush,
.SPSSGSSPush {
    cursor: pointer;
    transition: transform 0.2s;
}
#SPShallotBase,
#SPShallotSS1,
#SPShallotSS2,
#SPShallotSS3,
#SPShallotSSG,
#SPShallotSSGSS {
    display: none;
}

#SPShallotBase.active,
#SPShallotSS1.active,
#SPShallotSS2.active,
#SPShallotSS3.active,
#SPShallotSSG.active,
#SPShallotSSGSS.active {
    display: block;
}
#SPShallotBaseImage,
#SPShallotSS1Image,
#SPShallotSS2Image,
#SPShallotSS3Image,
#SPShallotSSGImage,
#SPShallotSSGSSImage {
    display: none;
}

#SPShallotBaseImage.active,
#SPShallotSS1Image.active,
#SPShallotSS2Image.active,
#SPShallotSS3Image.active,
#SPShallotSSGImage.active,
#SPShallotSSGSSImage.active {
    display: block;
}

.homenews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust the minmax value as needed */
    grid-gap: 15px;
}

.newszoom {
    transition: transform .2s;
    width: 100%; /* Make the width 100% to fit the container */
    max-width: 568px; /* Set a max-width to maintain a reasonable size on larger screens */
}

.newszoom:hover {
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .homenews-container {
        grid-template-columns: 1fr; /* Change to a single column layout on smaller screens */
    }

    .newszoom {
        max-width: none; /* Remove max-width on smaller screens */
    }
}

.newbanners {
    max-height: 280px;
    object-fit: cover;
}
.homebanners-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust the minmax value as needed */
    grid-gap: 5px;
}

.crzoom {
    transition: transform .2s;
    width: 100%; /* Make the width 100% to fit the container */
    max-width: 372px; /* Set a max-width to maintain a reasonable size on larger screens */
}

.crzoom:hover {
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .homebanners-container {
        grid-template-columns: 1fr; /* Change to a single column layout on smaller screens */
    }

    .crzoom {
        max-width: none; /* Remove max-width on smaller screens */
    }
    .newbanners {
        max-height: 185px;
    }

}

.home-header {
    background: 
        linear-gradient(to right, #11141b00, #11141b),
        url('/assets/indexbg.png'),
        linear-gradient(to left, #11141b00, #11141b80);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    height: 40px;
    text-align: left;
    position: relative;
  }
  .u-home-header {
    background: 
        linear-gradient(to right, #11141b00, #11141b),
        url('/assets/indexbg_u.png'),
        linear-gradient(to left, #11141b00, #11141b80);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    height: 40px;
    text-align: left;
    position: relative;
  }
  .lz-home-header {
    background: 
        linear-gradient(to right, #11141b00, #11141b),
        url('/assets/indexbg_llz.png'),
        linear-gradient(to left, #11141b00, #11141b80);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    height: 40px;
    text-align: left;
    position: relative;
  }
  .zenkai-ability-header {
    background: 
    linear-gradient(to right, #11141b00, #11141b),
      url('/assets/indexbg_zenkai.png'),
      linear-gradient(to left, #11141b00, #11141b80);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    height: 34px;
    text-align: left;
    position: relative;
  }
  .supporter-ability-header {
    background: 
    linear-gradient(to right, #11141b00, #11141b),
      url('/assets/supporter_ability.webp'),
      linear-gradient(to left, #11141b00, #11141b80);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    height: 34px;
    text-align: left;
    position: relative;
  }
  .home-name {
    position: absolute;
    top: 48%;
    left: 1%; /* Align text to the left edge of the container */
    transform: translateY(-50%);
    font-size: 30px;
    color: #fff;
  }
