/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #bfd0df;
}
::-webkit-scrollbar-thumb {
    background: #1a4971; 
    cursor: grabbing;
}


/* Font Override */
body {
    font-family: "Poppins";
}

.text-strikethrough {
    text-decoration: line-through;
    opacity: 0.25;
}
.text-strikethrough label {
    text-decoration: line-through;
}


/* Navbar & Logo */
.topbar-nav .navbar {
    background: #000;
}
.brand-logo {
    border: 0px;
    background: #000;
    text-align: left;
    padding-left: 1em;
}
.logo-text {
    font-size: 1.95em;
    letter-spacing: -0.025em;
    font-family: "Oswald";
}
.logo-text span {
    color: #6cbadf;
}


/* Sidebar Toggles */
.sidebar-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.6;
}
.sidebar-toggle i {
    font-size: 1.4em;
}


/* Content Container - Loaders */
.container-ajax-loader {
    height: calc(100dvh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.container-ajax-loader .loader {
    width: 50px;
    aspect-ratio: 1;
    --c:no-repeat radial-gradient(farthest-side,#fff 92%,#0000);
    background: 
        var(--c) 50%  0, 
        var(--c) 50%  100%, 
        var(--c) 100% 50%, 
        var(--c) 0    50%;
    background-size: 10px 10px;
    animation: call1 1s infinite;
    position: relative;
    opacity: 0.8;
}
.container-ajax-loader .loader::before {    
    content:"";
    position: absolute;
    inset:0;
    margin: 3px;
    background: repeating-conic-gradient(#0000 0 35deg,#fff 0 90deg);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 0);
    border-radius: 50%;
    opacity: 0.8;
}
@keyframes call1 { 
    100%{transform: rotate(.5turn)}
}
.ajax-mini-loader {
    width: 25px;
    aspect-ratio: 1;
    --c:no-repeat radial-gradient(farthest-side,#fff 92%,#0000);    
    animation: aml1 1s infinite;
    position: relative;
    opacity: 0.8;
    margin: auto;
}
.ajax-mini-loader::before {    
    content:"";
    position: absolute;
    inset:0;
    margin: 3px;
    background: repeating-conic-gradient(#0000 0 35deg,#fff 0 90deg);
    -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 0);
    border-radius: 50%;
    opacity: 0.8;
}
.ajax-mini-loader-absolute {
    position: absolute;
    top: calc(50% - 1.5em);
    left: calc(50% - 1.5em);
    width: 3em;
    opacity: 1;    
}
@keyframes aml1 { 
    100%{transform: rotate(.5turn)}
}
.container-content {
    padding-bottom: 60px;
}


/* Back to Top */
.back-to-top {
    font-size: 2em;
    width: 1em;
    height: 1em;
    background: none;
    opacity: 0.75;
}
.back-to-top:hover {
    background: none;
    opacity: 0.95;
}


/* Opacity Utilities */
.opacity-25 {
    opacity: 0.25;
}
.opacity-50 {
    opacity: 0.5;
}
.opacity-75 {
    opacity: 0.75;
}

/* Small devices (landscape phones, 576px and up)*/ @media (min-width: 576px) { .w-sm-auto { width:auto!important; } .w-sm-100 { width:100%!important; } .w-sm-75 { width:75%!important; } .w-sm-50 { width:50%!important; } .w-sm-25 { width:25%!important; } .h-sm-100 { height:100%!important; } .h-sm-75 { height:75%!important; } .h-sm-50 { height:50%!important; } .h-sm-25 { height:25%!important; } }

/* Medium devices (tablets, 768px and up)*/ @media (min-width: 768px) { .w-md-auto { width:auto!important; } .w-md-100 { width:100%!important; } .w-md-75 { width:75%!important; } .w-md-50 { width:50%!important; } .w-md-25 { width:25%!important; } .h-md-100 { height:100%!important; } .h-md-75 { height:75%!important; } .h-md-50 { height:50%!important; } .h-md-25 { height:25%!important; } }

/* Large devices (desktops, 992px and up)*/ @media (min-width: 992px) { .w-lg-auto { width:auto!important; } .w-lg-100 { width:100%!important; } .w-lg-75 { width:75%!important; } .w-lg-50 { width:50%!important; } .w-lg-25 { width:25%!important; } .h-lg-100 { height:100%!important; } .h-lg-75 { height:75%!important; } .h-lg-50 { height:50%!important; } .h-lg-25 { height:25%!important; } }

/* Extra large devices (large desktops, 1200px and up)*/ @media (min-width: 1200px) { .w-xl-auto { width:auto!important; } .w-xl-100 { width:100%!important; } .w-xl-75 { width:75%!important; } .w-xl-50 { width:50%!important; } .w-xl-25 { width:25%!important; } .h-xl-100 { height:100%!important; } .h-xl-75 { height:75%!important; } .h-xl-50 { height:50%!important; } .h-xl-25 { height:25%!important; } }



/* Card Listing Filters */
.cardlisting-filter-icon-left {
    border: 2px solid #0000001a;
    background: #00000029;
    border-radius: 0.3em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}
.cardlisting-filter-icon-right {
    border: 2px solid #0000001a;
    background: #00000029;
    border-radius: 0.3em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    margin-left: auto;
}
.cardlisting-filter-icon {
    width: 3em; 
    height: 3em; 
    cursor: pointer; 
    opacity: 0.5;
    border: 2px solid transparent;
    border-radius: 0.3em;
    margin-left: 0.125em;
    margin-right: 0.125em;
}
.cardlisting-filter-smaller img {
    width: 2.25em;
    height: 2.25em;
    margin-top: 0.25em;
    margin-left: 0.25em;
}
.cardlisting-filter-icon:hover {
    opacity: 1;
}
.cardlisting-filter-icon-selected {
    border: 2px solid #0a0a0a8f;
    opacity: 0.9;
    background: #0000008c;
}
.cardlisting-filters .select2-container--bootstrap-5 {
    width: 100%!important;
}
.cardlisting-filters .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #fff;
}
.cardlisting-filters .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    text-wrap: nowrap;
    background: #00000080;
    border-color: #000;
    color: #fffc;
}

.gslide-image img {
    border-radius: 2.2em;
    transition: 0.25s;
}
.gLightbox-rotated {
    transform: rotate(90deg);
    max-height: 100vw!important;
}

/* Small devices (landscape phones, 576px and up)*/ @media (min-width: 576px) { .gLightbox-rotated { max-height: 100vw!important; } }

/* Medium devices (tablets, 768px and up)*/ @media (min-width: 768px) { .gLightbox-rotated { max-height: 100vw!important; } }

/* Large devices (desktops, 992px and up)*/ @media (min-width: 992px) { .gLightbox-rotated { max-height: 100vh!important; } }

/* Extra large devices (large desktops, 1200px and up)*/ @media (min-width: 1200px) { .gLightbox-rotated { max-height: 100vh!important; } }


.select2-container {
    border-radius: 0.25em;
}
.select2-container--bootstrap-5 .select2-selection {
    border: 0px solid #e5eaef;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    overflow: hidden;
    padding: 1em !important;
}
.select2-container--focus {
    background-color: rgba(0, 0, 0, .2);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.45);
}
.select2-container--focus .select2-selection {
    background-color: transparent!important;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: 1.1em !important;
}
.select2-container--bootstrap-5 .select2-dropdown {
    border: 2px solid #0000009e;
    background-color: rgb(0 0 0 / 80%);
    color: #ffffffd6 !important;
    border-top: 2px !important;
    border-radius: 0.25em !important;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
    color: #fff;
    background-color: #ab5bb9a8;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    color: #fff;
    background-color: #4b1355a8;
}
.select2-selection__choice__remove {
    width: 1em !important;
    height: 1em !important; 
    margin-right: 0.5em !important;
    filter: invert(1) hue-rotate(121deg);
}
select option {
    font-size: 0.9em;
}
select optgroup {
    background: #000000de !important;
    font-size: 0.95em;
}


/* COLLECTION CARD LISTING */
.collection-card-container {
    background: #0000004f;
}
.collection-config-button {
    position: absolute; 
    top: 7.5%; 
    right: 0em; 
    padding: 0.2rem 0.75rem 0.1rem; 
    background: #060606c9; 
    border-top-left-radius: 0.25em; 
    border-bottom-left-radius: 0.25em; 
    cursor: pointer; 
    color: #ffffffa1; 
    line-height: 2rem; 
    font-size: 1rem;
    user-select: none;
    width: 2.5em;
}
.collection-config-button:hover {
    background: #060606e6;
    color: #fff;
}
.collection-dreamborn-button {
    position: absolute; 
    top: 17%; 
    right: 0em; 
    padding: 0.2rem 0.75rem 0.1rem; 
    background: #060606c9; 
    border-top-left-radius: 0.25em; 
    border-bottom-left-radius: 0.25em; 
    cursor: pointer; 
    color: #ffffffa1; 
    line-height: 2rem; 
    font-size: 1rem;
    user-select: none;
    width: 2.5em;
}
.collection-dreamborn-button:hover {
    background: #060606e6;
    color: #fff;
}

.collection-config-menu {
    display: none;
    position: absolute; 
    top: 7.5%; 
    left: 0; 
    width: 100%; 
    background: #000; 
    padding: 0em;
    user-select: none;
}
.collection-config-menu-item {
    padding: 1em;
    cursor: pointer;
    font-size: 1rem;
}
.collection-config-menu-item:hover {
    background: #71287d;
}
.collection-config-menu-cancel {
    color: #db6464;
    padding: 1em;
    cursor: pointer;
    font-size: 1rem;
}
.collection-config-menu-cancel:hover {
    background: #db6464;
    color: #FFF;
}
.collection-card-count-container-regular {
    flex-wrap: wrap; 
    font-size: 1.25em; 
    text-align: center; 
    font-weight: 600; 
    padding: 0.25em; 
    background: #000;
    border-top-left-radius: 0.25em;
    border-bottom-left-radius: 0.25em;
    border-top-right-radius: 0em;
    border-bottom-right-radius: 0em;
    margin-top: 0.25em;
    width: 50%;
}
.collection-card-count-container-foil {
    flex-wrap: wrap; 
    font-size: 1.25em; 
    text-align: center; 
    font-weight: 600; 
    padding: 0.25em; 
    background-image: linear-gradient(to right top, #f8b600, #b5b820, #7ab145, #46a464, #1b9479, #009394, #118fa6, #4889ad, #7d8fc3, #b593c7, #e398bb, #ffa6a6);
    border-top-left-radius: 0em;
    border-bottom-left-radius: 0em;
    border-top-right-radius: 0.25em;
    border-bottom-right-radius: 0.25em;
    margin-top: 0.25em;
    width: 50%;
}
.collection-card-count-button {
    opacity: 0.75;
    cursor: pointer;
}
.collection-card-count-button:hover {
    opacity: 1;
}
.collection-card-count-price {
    font-size: 0.7em; 
    font-weight: 400;
    border-top: 1px solid #ffffff3b;
}


.collection-card-count-container-addToDeck {
    flex-wrap: wrap; 
    font-size: 1.25em; 
    text-align: center; 
    font-weight: 600; 
    padding: 0.25em; 
    width: 100%;
    justify-content: center;
}
.collection-card-count-container-addToDeck .collection-card-count-inCollection {
    text-transform: uppercase;
    font-size: 0.5em;
    line-height: 1.25em;
    width: 100%;
}


#suggestedCardImages-container {
    display: none;
    position: fixed;
    padding: 2em;
    z-index: 99999;
    background: #000;
    width: 100vw;
    left: 0;
    overflow-y: scroll;
    max-height: 100vh;
    overscroll-behavior: contain;
    top: 0em;
}
/* Small devices (landscape phones, 576px and up)*/ @media (min-width: 576px) { #suggestedCardImages-container { top: 0!important; } }

/* Medium devices (tablets, 768px and up)*/ @media (min-width: 768px) { #suggestedCardImages-container { top: 6em!important; } }

/* Large devices (desktops, 992px and up)*/ @media (min-width: 992px) { #suggestedCardImages-container { top: 6em!important; } }

/* Extra large devices (large desktops, 1200px and up)*/ @media (min-width: 1200px) { #suggestedCardImages-container { top: 6em!important; } }

#suggestedCardImages-container img {
    border-radius: 2em;
    cursor: pointer;
}
.suggestedCardImages-cancelButton {
    position: absolute; 
    top: 0.5em; 
    right: 1em; 
    color: #999999; 
    font-size: 1.5em; 
    cursor: pointer;
}


#deckBuilder-deckDescription {
    border: 0px solid #e5eaef;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    height: 75vh;
    resize: none;
}

.deckBuiilder-totalCards {
    text-align: center;
    border: 1px solid #00000038;
    padding: 0.5em;
    border-radius: 0.25em;
    background: #00000047;
    color: #FFF;
}
.deckBuilder-deckContainer {
    overflow-y: scroll;
    overscroll-behavior: contain;
    padding-right: calc(1rem - 6px);
}
.deckBuilder-deckContainer::-webkit-scrollbar {
    width: 6px;
}
.deckBuilder-deckContainer::-webkit-scrollbar-track {
    background: transparent;
}
.deckBuilder-deckContainer::-webkit-scrollbar-thumb {
    background: #1a4971; 
    cursor: grabbing;
    border-radius: 0.25em;
}

.dbc-card-block-container {
    position: relative; 
    overflow: hidden; 
    margin-top: 0.25em; 
    border: 1px solid #00000038; 
    padding: 0.75em; 
    border-radius: 0.25em; 
    background: #00000047; 
    letter-spacing: -0.005em; 
    font-size: 0.9rem; 
    line-height: 1.25em;
}
.dbc-card-block-inkimage {
    width: 5em; 
    margin-right: 0.5em; 
    position: absolute; 
    z-index: -1; 
    opacity: 0.2; 
    top: -1.5em;
    right: -1.5em;
}
.dbc-collection-status {
    font-size: 0.8em; 
    font-weight: 500;
    font-size: 0.8em;
    font-weight: 500;
    position: relative;
    right: -1.2em;
    margin-left: 17%;
}
.dbc-card-block-cardname {
    text-wrap: nowrap; 
    overflow: hidden;
}
.dbc-card-block-cardname span {
    background: #00000082;
    color: #fff;    
    border-radius: 0.5em;
    padding: 0.2em 0.5em;
    font-size: 0.8em;
    line-height: 2em;
    margin-right: 0.5em;
}
.dbc-card-block-cardset {
    font-size: 0.85em; 
    text-wrap: nowrap;
    overflow: hidden;
}
.dbc-card-builder-cardcountcontainer {
    text-align: center; 
    background: #ffffff29; 
    padding: 0.25em; 
    margin-top: 0.4em; 
    border-radius: 0.25em; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}
.dbc-card-builder-countincrement {
    margin-left: 0.5em; 
    opacity: 0.75; 
    cursor: pointer; 
    font-size: 1.5em;
}
.dbc-card-builder-collectedcount {
    text-transform: uppercase; 
    font-size: 0.75em; 
    line-height: 1.5em;
}
.dbc-card-builder-countdecrement {
    margin-right: 0.5em; 
    opacity: 0.75; 
    cursor: pointer; 
    font-size: 1.5em;
}


/* ===== SlideBar CSS ===== */
.slideBar {
    position: fixed; 
    top: 0; 
    right: 0; 
    width: 0; 
    height: 100vh; 
    z-index: 9999; 
    box-shadow: -7px 1px 20px 0px #00000026; 
    transition: width 0.1s;
  }
  .slideBar-background {
    position: absolute; 
    background: #150318ed; 
    top: 0; 
    left: 0; 
    width: 100%;
    height: 100%; 
    border-left: 1px solid #000;
  }
  .slideBar-close {
    color: #fff;
    position: relative;
    padding-right: 1em;
    cursor: pointer;
    z-index: 10000;
    width: 100%;
    text-align: right;
    top: 1em;
    font-size: 1.5em;
  }
  .slideBar-content {
    position: absolute; 
    color: #ffffffb0; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 1em; 
    height: calc(100vh - 4em); 
    overflow-y: auto;
  }
  .slideBar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4em;  
    padding: 0em 1em 0em 1em;
  }
  .slideBar-heading {
    font-size: 1.75em;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.02em;
  }
  .slideBar-paddedContent {
    padding: 0.25em;
    margin-top: 0.5em;
  }