@keyframes moveUpDown {
    0% { transform: translateY(0); }

    50% { transform: translateY(-20px); }

    100% { transform: translateY(0); }
}

.up-down-animation { animation: moveUpDown 2s ease-in-out infinite; }

.bg-charts {
    background-image: url('/assets/images/bg-charts.svg');
    background-repeat: repeat-x;
    background-position-y: 128px;
}

.line-height-48px { line-height: 48px !important; }

ul.bullet li {
    list-style: disc;
    margin: 10px 0;
}

.popover-body { text-align: justify; }

.pair-asset {
    position: relative;
    width: 32px;
    height: 32px;
}

.pair-asset .base-asset {
    position: absolute;
    width: 32px;
    height: 32px;
}

.pair-asset .quote-asset {
    position: absolute;
    bottom: -10px;
    left: -10px;
    border: solid 3px #fff;
    width: 28px;
    height: 28px;
    border-radius: 1000px;
}

.mobile-market-bottom-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    box-shadow: 0px 0px 4px #c0c0c0;
    z-index: 5;
}

.nav.nav-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
}

.tooltip-inner { max-width: fit-content !important; }

.number-separator { z-index: 0 !important; }

.market-item:hover {
    background: #fafafa;
    cursor: pointer;
}

/* scrollbar style::start */

::-webkit-scrollbar {
    width: 4px;
    height: 0px;
}

::-webkit-scrollbar-track {
    /*box-shadow: inset 0 0 5px grey;*/
    background: none;
}

::-webkit-scrollbar-thumb {
    background: #eaeaea;
    border-radius: 32px;
}

::-webkit-scrollbar-thumb:hover { background: grey; }

/* scrollbar style::end */

.card-header {
    border-top-right-radius: 16px !important;
    border-top-left-radius: 16px !important;
}

.orderbook-ask div, .orderbook-bid div, #trades-content-wrapper div div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    direction: ltr;
}

.rate { font-variant-numeric: tabular-nums; }

.orderbook-ask {
    color: inherit;
    vertical-align: middle;
    outline: 0px;
    cursor: pointer;
    display: flex;
    background-position: 100% 0px;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgb(255, 235, 238), rgb(255, 235, 238));
    cursor: pointer;
}

.orderbook-ask:hover { border-top: dashed thin gray; }

.orderbook-ask:hover,
.orderbook-ask:hover ~ .orderbook-ask {
    background-image: linear-gradient(#f0e9ea, #f0e9ea);
    background-color: #f2f3f5 !important;
}

.orderbook-bid {
    color: inherit;
    vertical-align: middle;
    outline: 0px;
    cursor: pointer;
    display: flex;
    background-position: 100% 0px;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgb(229, 250, 243), rgb(229, 250, 243));
    cursor: pointer;
}

.orderbook-bid:hover { border-bottom: dashed thin gray; }

.orderbook-bid:hover,
.orderbook-bid:hover ~ .orderbook-bid {
    background-image: linear-gradient(#e4efef, #e4efef);
    background-color: #f2f3f5 !important;
}

.flex-1 { flex: 1 !important; }

.flex-2 { flex: 2 !important; }

.nowrap { white-space: nowrap !important; }

.container-xxl.wide-xxl { max-width: 1650px !important; }

.thumbnail {
    object-fit: cover;
    border-radius: 8px;
}

.post-card-title {
    background: #808080c2;
    width: 100%;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 5px 10px;
    color: white;
    text-align: justify;
}

.box-shadow-none { box-shadow: none !important; }

@media only screen and (min-width: 600px) {
    .nav-menu-mega { width: max-content !important; }

    .nav-menu-mega > li {
        display: inline-block;
        padding: 0 8px;
    }

    .nav-menu-mega .nk-menu-item:hover > a { border-radius: 8px; }
}



img.article {
    border-radius: 32px;
    border: solid thin #eaeaea;
}

.text-usdt { color: #0fac81 !important; }

.text-trx { color: #e85347 !important; }

.text-eth { color: #8094ae !important; }

.text-bnb { color: rgb(244, 189, 14) !important; }

@media only screen and (max-width: 600px) {
    .btn-mobile-block {
        width: 100% !important;
        justify-content: center;
    }

    .user-aside .card {
        box-shadow: none;
        border-radius: 0;
    }
}

.swap-banner-title { line-height: 40px; }

@media only screen and (min-width: 1000px) {
    .card-aside { min-height: 0 !important; }

    .nk-tb-item a.d-hover { opacity: 0; }

    .nk-tb-item:hover a.d-hover { opacity: 1; }

    .swap-banner-title { line-height: 64px; }
}

.bubble-green {
    width: 350px;
    height: 350px;
    left: 25%;
    position: absolute;
    opacity: 0.15;
    background: rgb(68, 255, 143);
    filter: blur(100px);
    z-index: -1;
}

.bubble-yellow {
    width: 350px;
    height: 350px;
    left: 35%;
    top: 250px;
    position: absolute;
    opacity: 0.15;
    background: rgb(255, 213, 64);
    filter: blur(100px);
    z-index: -1;
}

.cursor-default { cursor: default; }

.cursor-pointer { cursor: pointer; }

.nav-tabs .nav-item.activated .nav-link:after { opacity: 1; }

.nav-tabs .nav-item.activated a { color: #854fff; }

.summary-box .btn {
    flex-grow: 1;
    width: 50%;
}

.user-aside { max-width: fit-content; }

.bullet-list li {
    list-style: disc;
    text-align: justify;
}

.direction-ltr { direction: ltr !important; }

.direction-rtl { direction: rtl; }

.max-w-100 { max-width: 100% !important; }

.fs-24px { font-size: 24px !important; }

.fs-26px { font-size: 26px !important; }

.fs-28px { font-size: 28px !important; }

.fs-30px { font-size: 30px !important; }

.fs-32px { font-size: 32px !important; }

.fs-34px { font-size: 34px !important; }

.fs-36px { font-size: 36px !important; }

.ff-math { font-family: math; }

.fw-300 { font-weight: 300; }

.border-radius-0 { border-radius: 0 !important; }

.border-radius-8 { border-radius: 8px !important; }

.h-85 { height: 85%; }

.h-fit-content { height: fit-content !important; }

.nk-tb-head .nk-tb-col { border-radius: 0 !important; }

.accordion, .accordion-item:first-of-type, .accordion-item:last-of-type { border-radius: 16px; }

.withdrawal-receipt {
    width: 100%;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    padding: 1.25rem;
}

.text-justify { text-align: justify; }

.mith-header {
    background: radial-gradient(#854fff, #6f46cd);
    border-radius: 16px;
}

.offcanvas {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    z-index: 999999999999 !important;
}

.btn { border-radius: 8px; }

.card { border-radius: 16px; }

.buysell-title { margin-bottom: 1.5rem; }

.buysell-title .title { font-weight: 400; }

.buysell-nav { margin-bottom: 2rem; }

.buysell-cc-dropdown { width: 100%; }

.buysell-cc-dropdown .dropdown-indicator:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 56px;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8094ae;
    opacity: 0.5;
}

.buysell-cc-dropdown .dropdown-menu { top: -78px !important; }

.buysell-cc-item:not(:last-child) { border-bottom: 1px solid #e5e9f2; }

.buysell-cc-choosen,
.buysell-cc-chosen {
    display: block;
    width: 100%;
    border: 1px solid #dbdfea;
    border-radius: 4px;
    background: #fff;
}

.buysell-cc-opt { display: block; }

.buysell-pm-list {
    border: 1px solid #dbdfea;
    background: #fff;
    border-radius: 4px;
}

.buysell-pm-item { position: relative; }

.buysell-pm-item:not(:last-child) { border-bottom: 1px solid #e5e9f2; }

.buysell-pm-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 16px 60px 16px 20px;
    cursor: pointer;
}

.buysell-pm-label:before,
.buysell-pm-label:after {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    border-radius: 50%;
}

.buysell-pm-label:before {
    content: "";
    border: 2px solid #dbdfea;
}

.buysell-pm-label:after {
    font-family: "Nioicon";
    content: "\e9be";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0971fe;
    transition: opacity 0.3s;
    opacity: 0;
}

.buysell-pm-label .pm-name {
    font-size: 14px;
    color: #364a63;
}

.buysell-pm-label .pm-icon {
    display: inline-flex;
    font-size: 24px;
    color: #8094ae;
}

.buysell-pm-control {
    position: absolute;
    top: 0;
    height: 1px;
    width: 1px;
    opacity: 0;
}

.buysell-pm-control:checked ~ .buysell-pm-label { cursor: default; }

.buysell-pm-control:checked ~ .buysell-pm-label:after { opacity: 1; }

.buysell-overview { padding: 1rem 0 1.5rem; }

.buysell-overview-list {
    border: 1px solid #dbdfea;
    border-radius: 4px;
}

.buysell-overview-list + .sub-text-sm { margin-top: 0.5rem; }

.buysell-overview-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.buysell-overview-item:not(:last-of-type) { border-bottom: 1px solid #e5e9f2; }

.buysell-overview-item .pm-currency {
    align-items: center;
    display: flex;
}

.buysell-overview-item .pm-currency .icon {
    font-size: 24px;
    margin-left: 0.5rem;
    color: #8094ae;
}

.buysell-field:not(:last-child) { margin-bottom: 1.75rem; }

.buysell-field.form-action { padding-top: 0.5rem; }

.nk-tb-item:last-child .nk-tb-col:first-child { border-bottom-right-radius: 16px; }

.nk-tb-item:last-child .nk-tb-col:last-child { border-bottom-left-radius: 16px; }

.prices .btn-group a {
    min-width: 72px;
    justify-content: center;
}

.prices .nk-tb-col-action a {
    min-width: 144px;
    justify-content: center;
}

.horizontal-bar-wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    backdrop-filter: blur(10px);
    z-index: 999999999999;
}

.loader {
    color: #854fff;
    font-size: 10px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    animation: mulShdSpin 1.3s infinite linear;
    transform: translateZ(0);
}

@keyframes mulShdSpin {
    0%, 100% { box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; }

    12.5% { box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }

    25% { box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em; }

    37.5% { box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em; }

    50% { box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em; }

    62.5% { box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em; }

    75% { box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0; }

    87.5% { box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em; }
}