:root {
    --primary-h: #222831;
    --primary-c: #393E46;
    --secondary-h: #383838;
    --secondary-c: #EEEEEE;
    --card: #00ADB5;

    --header-height: 4rem;
    --footer-height: 4rem;

    --primary-color: #222831;
    /*--primary-color: #1A1A2E;*/
    --background-color: #222831;
    /*--background-color: #16213E;*/
    --secondary-color: #393E46;
    /*--secondary-color: #602080;*/
    --misc-color: #03C988;
    /*--misc-color: #B030B0;*/
}

html, body {
    height: 100%;
}

nav {
    padding: 0 !important;
}

.header-height {
    height: var(--header-height);
}

.header-color {
    background: var(--secondary-h) !important;
}

.footer-height {
    height: var(--footer-height);
}

._header {
    height: var(--header-height);
    align-items: center !important;
    justify-content: space-between !important;
    display: flex !important;
    background: var(--primary-color) !important;
    width: 100%;
}

._header-mobile {
    display: none !important;
}

._navbar {
    display: block;
    background: var(--secondary-color);
    /*background-color: var(--bs-body-bg);*/
}

._navbar-canvas {
    display: none !important;
    background: var(--secondary-color);
}

.misc-bg-color {
    background: var(--secondary-color) !important;
}

.background-color {
    background-color: var(--background-color) !important;
}

.primary-color {
    background-color: var(--primary-color) !important;
}

footer {
    min-height: var(--footer-height);
    background: var(--primary-color) !important;
    /*margin-top: 1rem;*/
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sidenav {
    width: 6rem;
    position: fixed;
    margin-top: 1rem;
    right: calc((100% / 2) + 28rem);
}

.sidenav-mobile {
    position: fixed;
    bottom: 0;
    z-index: 100;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--secondary-h);
    display: none !important;
}

.l-item-summary {
    max-width: 18rem;
    width: 16rem;
}

.l-price-summary {
    width: 12rem;
}

.l-item-name {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

a:link {
    text-decoration: none;
}

.l-item-name:hover {
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    transition: color 200ms;
}

.deal-btn {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

hr {
    color: white;
}

.vr {
    color: white;
}

.item-img {
    margin-right: 1rem;
    width: 3rem !important;
}

.token-landing {
    max-width: 18rem !important;
    margin-left: auto;
    margin-right: auto;
    border-width: 0 !important;
    text-wrap: none !important;
}

@media only screen and (max-width: 460px) {
    .sidenav-mobile {
        display: flex !important;
    }

    .sidenav {
        display: none !important;
    }
}

.sidenav-link {
    margin-bottom: 0.5rem;
}

.c-not-allowed {
    cursor: not-allowed !important;
}

.logo {
    /*left: 0;*/
    /*position: absolute;*/
    /*top: 0;*/
    margin-left: 1rem;
    /*height: 4rem;*/
    /*padding-top: 0.5rem !important;*/
    padding: 0 !important;
}

.logo-img {
    display: block !important;
    height: 3rem !important;
}

.container {
    display: flex;
    align-content: space-around;
}

.search {
    display: flex !important;
    width: 30rem;
}

.search-mobile {
    display: none !important;
}

.search-input {
    border-radius: 1rem !important;
    background-color: var(--secondary-color) !important;
    color: white !important;

    border-width: 0.2rem !important;
    border-color: white !important;
}

.search-input::placeholder {
    color: white !important;
}

/*.search-input:focus {*/
/*    border-width: 0.2rem !important;*/
/*    border-color: white !important;*/
/*    transition: border-width 100ms !important;*/
/*}*/

.search-input:disabled:hover {
    cursor: not-allowed !important;
}

.search-list {
    border-top: 0.5rem solid transparent !important;
    width: 30rem;
    padding: 0 !important;
    z-index: 5;
}

.search-item {
    display: flex;
    align-items: center;
    min-height: 3rem;
    font-size: 1rem;
    background-color: white;
    padding: 0 0.5rem 0 0.5rem;
}

.search-item:hover {
    cursor: pointer !important;
    background-color: var(--secondary-c);
    transition: background-color 100ms;
}

.search-item-align {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-flow: column;
}

.search-item-class {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5) !important;
}

.search-item-img {
    width: 2rem;
    margin-right: 1.5rem;
}

.wrapper {
    display: flex;
    /*justify-content: center;*/
    flex-direction: column;
    align-items: center;
    /*height: calc(100vh - var(--header-height) - var(--footer-height) !*margin bottom*!);*/
    /*margin-bottom: 1rem;*/
}

.wrapper-height {
    min-height: calc(100vh - var(--header-height) - var(--footer-height) /*margin bottom*/);
    /*padding-bottom: 1rem;*/
}

.landing-top-text {
    padding-right: 1rem;
    padding-left: 1rem;
    text-align: center;
}

.card-style {
    max-width: 54rem;
    width: 100%;
    background: var(--secondary-c);
    padding: 1rem;
    margin-top: 1rem;
}

.deals-style {
    max-width: 60rem;
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
}

.item-btn {
    background-color: transparent;
    color: white;
    padding: 1rem;
    width: 6rem !important;
    text-align: center;
    text-decoration: none;
}

.item-btn-group {
    height: 2.5rem;
}

.item-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.active {
    border-bottom: 2px solid #0dcaf0;
}

.br-0 {
    border-radius: 0 !important;
}

.gold {
    width: 0.75rem;
    margin-left: 0.25rem;
}

.svg-green {
    filter: invert(60%) sepia(72%) saturate(2154%) hue-rotate(61deg) brightness(104%) contrast(80%);
}

.svg-red {
    filter: invert(35%) sepia(80%) saturate(901%) hue-rotate(321deg) brightness(108%) contrast(105%);
}

.gray {
    color: #c9c9c9 !important;
}

body {
    height: 100vh;
    background: var(--primary-c) !important;
}

.realm-select-el {
    width: 8rem !important;
}

.realm-search {
    width: 17rem !important;
}

.realm-search-list {
    border-top: 0.5rem solid transparent !important;
    padding: 0 !important;
}

.header-el {
    display: inline-block;
    max-width: 10rem !important;
    width: 8rem;
    text-overflow: ellipsis !important;
    overflow: hidden;
    white-space: nowrap;
}

.realm-button {
    /*position: fixed;*/
    /*right: 1rem;*/
    margin-right: 1rem;
}

.secondary-content-style {
    background-color: var(--secondary-color) !important;
}

.blog-text {
    color: #c9c9c9 !important;
}

.end-7 {
    right: -22px !important;
    font-size: 0.65rem !important;
}

.landing-container {
    max-width: 88rem;
    width: 100%;
    padding: 1rem;
}

.headnav-link:hover {
    color: rgba(var(--bs-info-rgb), 1) !important;
}

#sidebar {
    width: 16rem;
}

.collapsing {
    -webkit-transition: none;
    transition: none;
    display: none;
}

#sidebar-nav > .list-group-item {
    background-color: inherit;
}

#sidebar-nav > .list-group-item.active {
    background-color: var(--bs-list-group-active-bg);
}

#sidebar-nav > .list-group-item.active:hover {
    background-color: var(--bs-list-group-active-bg);
}

#sidebar-nav > .list-group-item:hover {
    background-color: var(--bs-list-group-action-hover-bg);
}

.poor {
    background-color: gray;
}

.common {
    background-color: white;
}

.uncommon {
    background-color: green;
}

.rare {
    background-color: #0070dd;
}

.epic {
    background-color: #a335ee;
}

.legendary {
    background-color: #ff8000;
}

.fit-content {
    height: fit-content;
}

.fs-65 {
    font-size: 0.65rem !important;
}

@media only screen and (min-width: 1024px) and (max-width: 1460px){
    .token-update-time {
        white-space: normal !important;
    }
}

@media only screen and (max-width: 1024px) {
    ._navbar {
        display: none !important;
    }

    ._navbar-canvas {
        display: block !important;
    }

    ._header {
        display: none !important;
    }

    ._header-mobile {
        display: flex !important;
        /*height: 10rem !important;*/
        align-items: center !important;
        justify-content: center !important;
        background: var(--primary-c);
        width: 100%;
        flex-direction: column;
        margin-bottom: 0.5rem;
    }

    .search-mobile {
        display: flex !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .search {
        display: none !important;
    }

    .token-group-landing {
        flex-flow: unset !important;
    }
}

.user-account-info {
    top: 100%;
    right: 1rem;
    position: absolute;
    z-index: 5000;
    visibility: visible;
    opacity: 1;
    width: auto;
    background-color: var(--primary-color);
    /*border-left: 1px solid #e5e5e5;*/
    /*border-bottom: 1px solid #e5e5e5;*/
    /*border-right: 1px solid #e5e5e5;*/
    /*border-top: 1px solid #e5e5e5;*/
    border: 1px solid white;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 6px -2px rgb(0 0 0 / 24%);
    line-height: 30px;
}

.user-account-menu > a span:hover, .hover-underline:hover {
    text-decoration: underline black;
}

#user-account ul > li {
    display: inline;
}

.btn-login-secondary {
    height: 3rem;
}

.btn-login-img {
    height: 100% !important;
}

@media only screen and (max-width: 460px) {
    ._navbar {
        display: none !important;
    }

    ._navbar-canvas {
        display: block !important;
    }

    ._header {
        display: none !important;
    }

    .realm-button {
        /*height: 3rem;*/
        /*width: 5rem;*/
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        margin: 0.5rem 0 0.5rem 0.5rem !important;
    }

    .search-mobile {
        display: flex !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    ._header-mobile {
        display: flex !important;
        /*height: 10rem !important;*/
        align-items: center !important;
        justify-content: center !important;
        background: var(--primary-c);
        width: 100%;
        flex-direction: column;
        margin-bottom: 0.5rem;
    }

    .search {
        display: none !important;
    }

    .search-list {
        max-width: 95% !important;
    }

    .search-item-align {
        flex-flow: column;
    }

    .search-item-class {
        font-size: 0.8rem;
    }

    .search-item {
        min-height: 2rem !important;
    }

    .blog-text {
        text-align: center !important;
    }

    footer {
        height: auto !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .crafting-reagent {
        flex-flow: column !important;
        gap: 0.5rem !important;
    }

    .l-item-name {
        white-space: normal !important;
    }
}