html {
    font-family: 'Poppins';
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

img {
    content: normal;
}

a {
    background-color: transparent;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0 !important;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 500;
}

@font-face {
    font-family: 'Poppins';
    src: url(/static/media/Poppins-Regular.35d26b78.ttf) format('truetype'),
        url(/static/media/Poppins-Regular.8fa8a88d.otf) format('otf'),
        url(/static/media/Poppins-Regular.ab6122bd.woff) format('woff');
}

@font-face {
    font-family: 'Poppins-Bold';
    src: url(/static/media/Poppins-Black.d8b850b9.ttf) format('truetype'),
        url(/static/media/Poppins-Black.44c1699c.otf) format('otf'), url(/static/media/Poppins-Black.c19d59e1.woff) format('woff');
}

@font-face {
    font-family: 'DIN Condensed';
    src: url(/static/media/DINCondensed-Regular.fb36e2a7.ttf) format('truetype'),
        url(/static/media/DINCondensed-Regular.80ff7f3d.woff) format('woff');
}

@font-face {
    font-family: 'DIN Condensed-Light';
    src: url(/static/media/DINCondensed-Light.158e800a.ttf) format('truetype'),
        url(/static/media/DINCondensed-Light.833dd9a9.woff) format('woff');
}

@font-face {
    font-family: 'ChangeOne';
    src: url(/static/media/ChangaOne-Regular.2753480d.ttf) format('truetype'), url(/static/media/ChangaOne-Regular.7563f41b.woff) format('woff');
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
        'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background: #15171e;
}

@font-face {
    font-family: 'Roboto';
    src: url(/static/media/Roboto.1d7bff95.otf) format('otf'), 
        url(/static/media/Roboto.54a91c21.woff) format('woff'),
        url(/static/media/Roboto.0fcd45fb.ttf) format('truetype'),
        url(/static/media/Roboto-Thin.a4d410df.ttf) format('truetype'),
        url(/static/media/Roboto-Thin.9b3e35eb.woff) format('woff');
}


@font-face {
    font-family: 'PangMenZhengDao';
    src: url(/static/media/PangMenZhengDao.93f5050a.otf) format('otf'),
        url(/static/media/PangMenZhengDao.c0af7f88.woff) format('woff'),
        url(/static/media/PangMenZhengDao.397a800a.ttf) format('truetype');
}

@font-face {
    font-family: 'Inter-VariableFont';
    src: url(/static/media/Inter-VariableFont_opsz,wght.e05c5f3d.ttf) format('truetype');
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

.App {
    text-align: center;
}

.App-logo {
    height: 40vmin;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .App-logo {
        animation: App-logo-spin infinite 20s linear;
    }
}

.App-header {
    background-color: #282c34;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    color: white;
}

.App-link {
    color: #61dafb;
}

@keyframes App-logo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rc-dropdown {
    font-family: 'Poppins';
}

.dropdownMenu .rc-dropdown-menu {
    background: #fff;
    border-radius: 8px;
    width: 140px;
    background: #262833;
    border: 1px solid #535458;
    opacity: 1;
    border-radius: 10px;
    padding: 10px;
    box-shadow: none;
    border: 0;
    margin-top: 10px;
}

.dropdownMenu .rc-dropdown-menu li {
    padding: 10;
    background: transparent;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.dropdownMenu .rc-dropdown-menu li:hover {
    background: transparent;
    color: #a9a9a9;
}

.dropdownMenu .rc-dropdown-menu li a {
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 16px;
    text-decoration: none;
    color: #959aa7;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.dropdownMenu .rc-dropdown-menu li a:hover {
    background: rgba(167, 172, 184, 0.1);
    color: rgba(77, 80, 249, 1);
}

.rc-dropdown-menu > .rc-dropdown-menu-item-selected:after {
    display: none;
}

.ReactModal__Overlay.classic-modal-overlay {
    opacity: 0;
    transition: all 300ms ease-in-out;
    position: fixed;
    inset: 0px;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    outline: 0;
    text-align: center;
}

.ReactModal__Overlay--after-open.classic-modal-overlay {
    opacity: 1;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.ReactModal__Overlay--before-close.classic-modal-overlay {
    opacity: 0;
}

.ReactModal__Overlay.classic-modal-overlay .ReactModal__Content {
    transition: all 400ms ease-in-out !important;
    transform: scale(1) !important;
}

.ReactModal__Overlay.classic-modal-overlay::before {
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
    content: '';
}

.ReactModal__Overlay.classic-modal-overlay.loading .ReactModal__Content {
    height: 300px !important;
}

.ReactModal__Overlay--after-open.classic-modal-overlay .ReactModal__Content {
    /* opacity: 1; */
    margin-top: 0 !important;
}

.ReactModal__Overlay--before-close.classic-modal-overlay .ReactModal__Content {
    /* opacity: 0; */
    transform: scale(1.2) !important;
}

/* init custom tooltip css */
.rc-tooltip.rc-tooltip-zoom-appear,
.rc-tooltip.rc-tooltip-zoom-enter {
    opacity: 0;
}

.rc-tooltip.rc-tooltip-zoom-enter {
    display: block;
}
.rc-tooltip.rc-tooltip-zoom-leave {
    display: block;
    opacity: 0;
    transition: all 0.5s;
}

.rc-tooltip-zoom-enter,
.rc-tooltip-zoom-appear {
    opacity: 0;
    display: none;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    /* animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28); */
    animation-play-state: paused;
}

.rc-tooltip-zoom-leave {
    animation-duration: 0.3s;
    /* animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05); */
    animation-play-state: paused;
}

.rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active,
.rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active {
    animation-name: rcToolTipZoomIn;
    animation-play-state: running;
}

.rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active {
    animation-name: rcToolTipZoomOut;
    animation-play-state: running;
}

@keyframes rcToolTipZoomIn {
    0% {
        opacity: 0;
        /* transform-origin: 50% 50%; */
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        /* transform-origin: 50% 50%; */
        transform: translateY(0);
    }
}

@keyframes rcToolTipZoomOut {
    0% {
        opacity: 1;
        /* transform-origin: 50% 50%; */
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        /* transform-origin: 50% 50%; */
        transform: translateY(-10px);
    }
}

.rc-tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    visibility: visible;
    line-height: 1.5;
    font-size: 12px;
    background: none !important;
    padding: 1px;
    opacity: 1;
    transition: all 0.5s;
}

.rc-tooltip-hidden {
    display: none;
    opacity: 0;
}

.rc-tooltip-custom-inner {
    padding: 8px 10px;
    color: #fff;
    text-align: left;
    text-decoration: none;
    background-color: rgb(40, 43, 50);
    border-radius: 3px;
    min-height: 34px;
    border: none;
    max-width: 300px;
    word-wrap: break-word;
}

.side-bar-tooltip .rc-tooltip-custom-inner {
    background-color: rgba(0, 0, 0, 0) !important;
}

.rc-tooltip-custom-arrow,
.rc-tooltip-arrow-inner {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    display: none;
}

.rc-tooltip-placement-top .rc-tooltip-custom-arrow,
.rc-tooltip-placement-topLeft .rc-tooltip-custom-arrow,
.rc-tooltip-placement-topRight .rc-tooltip-custom-arrow {
    bottom: -5px;
    margin-left: -6px;
    border-width: 6px 6px 0;
    border-top-color: rgb(40, 43, 50);
}

.rc-tooltip-placement-top .rc-tooltip-arrow-inner,
.rc-tooltip-placement-topLeft .rc-tooltip-arrow-inner,
.rc-tooltip-placement-topRight .rc-tooltip-arrow-inner {
    bottom: 1px;
    margin-left: -6px;
    border-width: 6px 6px 0;
    border-top-color: #ffffff;
}

.rc-tooltip-placement-top .rc-tooltip-custom-arrow {
    left: 50%;
}

.rc-tooltip-placement-topLeft .rc-tooltip-custom-arrow {
    left: 48px;
}

.rc-tooltip-placement-topRight .rc-tooltip-custom-arrow {
    right: 15%;
}

.rc-tooltip-placement-right .rc-tooltip-custom-arrow,
.rc-tooltip-placement-rightTop .rc-tooltip-custom-arrow,
.rc-tooltip-placement-rightBottom .rc-tooltip-custom-arrow {
    left: -5px;
    margin-top: -6px;
    border-width: 6px 6px 6px 0;
    border-right-color: rgba(0, 0, 0, 0.75);
}

.rc-tooltip-placement-right .rc-tooltip-arrow-inner,
.rc-tooltip-placement-rightTop .rc-tooltip-arrow-inner,
.rc-tooltip-placement-rightBottom .rc-tooltip-arrow-inner {
    left: 1px;
    margin-top: -6px;
    border-width: 6px 6px 6px 0;
    border-right-color: #ffffff;
}

.rc-tooltip-placement-right .rc-tooltip-custom-arrow {
    top: 50%;
}

.rc-tooltip-placement-rightTop .rc-tooltip-custom-arrow {
    top: 15%;
    margin-top: 0;
}

.rc-tooltip-placement-rightBottom .rc-tooltip-custom-arrow {
    bottom: 15%;
}

.rc-tooltip-placement-left .rc-tooltip-custom-arrow,
.rc-tooltip-placement-leftTop .rc-tooltip-custom-arrow,
.rc-tooltip-placement-leftBottom .rc-tooltip-custom-arrow {
    right: -5px;
    margin-top: -6px;
    border-width: 6px 0 6px 6px;
    border-left-color: rgba(0, 0, 0, 0.75);
}

.rc-tooltip-placement-left .rc-tooltip-arrow-inner,
.rc-tooltip-placement-leftTop .rc-tooltip-arrow-inner,
.rc-tooltip-placement-leftBottom .rc-tooltip-arrow-inner {
    right: 1px;
    margin-top: -6px;
    border-width: 6px 0 6px 6px;
    border-left-color: #ffffff;
}

.rc-tooltip-placement-left .rc-tooltip-custom-arrow {
    top: 50%;
}

.rc-tooltip-placement-leftTop .rc-tooltip-custom-arrow {
    top: 15%;
    margin-top: 0;
}

.rc-tooltip-placement-leftBottom .rc-tooltip-custom-arrow {
    bottom: 15%;
}

.rc-tooltip-placement-bottom .rc-tooltip-custom-arrow,
.rc-tooltip-placement-bottomLeft .rc-tooltip-custom-arrow,
.rc-tooltip-placement-bottomRight .rc-tooltip-custom-arrow {
    top: -5px;
    margin-left: -6px;
    border-width: 0 6px 6px;
    border-bottom-color: rgba(0, 0, 0, 0.75);
}

.rc-tooltip-placement-bottom .rc-tooltip-arrow-inner,
.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow-inner,
.rc-tooltip-placement-bottomRight .rc-tooltip-arrow-inner {
    top: 1px;
    margin-left: -6px;
    border-width: 0 6px 6px;
    border-bottom-color: #ffffff;
}

.rc-tooltip-placement-bottom .rc-tooltip-custom-arrow {
    left: 50%;
}

.rc-tooltip-placement-bottomLeft .rc-tooltip-custom-arrow {
    left: 15%;
}

.rc-tooltip-placement-bottomRight .rc-tooltip-custom-arrow {
    right: 15%;
}

/* end init custom tooltip css */

.clink-tooltip-overlay .rc-tooltip-custom-inner {
    max-width: 200px;
    padding: 10px;
    background-color: #49505a;
    border-radius: 4px;
}

.clink-tooltip-overlay .rc-tooltip-custom-arrow {
    border-top-color: #49505a !important;
    border-bottom-color: #49505a !important;
}

.choose-nft-tooltip .rc-tooltip-custom-inner {
    max-width: 448px;
    background: none !important;
}

.gas-tooltip-overlay .rc-tooltip-custom-inner {
    max-width: 182px;
    padding: 8px;
    background: #373941;
    border-radius: 10px;
    border: solid 1px #4b4c52;
}

.gas-tooltip-overlay .rc-tooltip-custom-arrow {
    display: none !important;
    border-top-color: none !important;
}

.new-tycoon-tooltip .rc-tooltip-custom-inner {
    max-width: 190px;
    padding: 16px;
    background: #323641;
    border-radius: 0;
    font-size: 18px;
    border: 2px solid #525766;
    font-family: 'Din Condensed';
}

.new-tycoon-tooltip-long .rc-tooltip-custom-inner {
    max-width: 252px !important;
}

.new-tycoon-tooltip .rc-tooltip-custom-arrow {
    display: none !important;
    border-top-color: none !important;
}

/* sweet alert styles */
.toastContainer .fadeIn {
    opacity: 1 !important;
    margin-bottom: 24px !important;
    margin-right: 48px !important;
    pointer-events: default !important;
}
.toastContainer .fadeOut {
    margin-bottom: 24px !important;
    margin-right: -48px !important;
    pointer-events: none !important;
}

.toastContainer.mobile .fadeIn {
    opacity: 1 !important;
    margin-bottom: auto !important;
    margin-right: auto !important;
    pointer-events: default !important;
}
.toastContainer.mobile .fadeOut {
    opacity: 0 !important;
    margin-bottom: auto !important;
    margin-right: auto !important;
    pointer-events: none !important;
}

.swal2-backdrop-hide {
    pointer-events: none !important;
}

.toastContainer > div {
    min-width: 288px;
    max-width: 438px;
    min-height: 116px;
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s;
    background: #232638;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    opacity: 0;
}

.toastContainer.mobile > div {
    background: #141517;
    border-radius: 4.44vw;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

/* .toastContainer > div::after {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #ffd778 0%, #ffb04b 100%);
} */
.swal2-close {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}
.swal2-close:focus {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}
.swal2-close:focus-visible {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}
/* .toastContainer.error > div {
    background: #f67002;
}

.toastContainer.success > div {
    background: #0f8f40;
} */

.toastContainer .swal2-content {
    padding: 0;
}

.toastContainer .swal2-content .swal2-html-container {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #fff;
    text-align: left;
}

.toastContainer .swal2-content .swal2-html-container > svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    margin-right: 12px;
}

/* end sweet alert styles */

/* overwrite rc-dropdown-animation */
@keyframes rcDropdownSlideUpIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rcDropdownSlideUpOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes rcDropdownSlideDownIn {
    0% {
        opacity: 0;
        transform-origin: 0% 100%;
        transform: scaleY(0);
    }

    100% {
        opacity: 1;
        transform-origin: 0% 100%;
        transform: scaleY(1);
    }
}

@keyframes rcDropdownSlideDownOut {
    0% {
        opacity: 1;
        transform-origin: 0% 100%;
        transform: scaleY(1);
    }

    100% {
        opacity: 0;
        transform-origin: 0% 100%;
        transform: scaleY(0);
    }
}

.rc-drawer-content {
    overflow: hidden !important;
    background: #18191c;
}
.rc-drawer-mask {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* tycoon css */
.header-user-dropdown .rc-menu {
    width: 204px;
    background: #2a2e37;
    border: 1px solid #565b67;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    padding: 0 16px 16px;
}

.header-notice-dropdown .rc-menu {
    width: 416px;
    height: 518px;
    background: #2a2e37;
    border: 1px solid #565b67;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    padding: 24px;
    padding-right: 0;
}

/* alliance-filter-dropdown */
.alliance-filter-dropdown .rc-menu {
    width: 166px;
    height: 88px;
    background: #2a2e37;
    border: 1px solid #565b67;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* start month picker */
.rc-picker {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rc-picker.rc-picker-focused {
    border: none;
}
.rc-picker-dropdown {
    z-index: 10;
}
.rc-picker-input {
    width: 88px;
    height: 24px;
    background: #78797d;
    border-radius: 0;
}
.rc-picker-input input {
    background: inherit;
    box-shadow: none;
    border: none;
    text-align: center;
    font-family: 'Din Condensed', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    margin-top: 3px;
    outline: none !important;
}
.rc-picker-range-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    width: 16px;
    height: 16px;
}
.rc-picker-clear {
    display: none;
}
.rc-picker-active-bar {
    display: none;
}
.rc-picker-header {
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.rc-picker-header-super-prev-btn,
.rc-picker-header-super-next-btn {
    background: none;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}
.rc-picker-panel {
    width: 250px;
    height: 200px;
    background: #202226;
    border: 1px solid #78797d;
    border-radius: 0;
    position: relative;
    padding: 10px;
}
.rc-picker-month-panel {
    height: 100%;
}
.rc-picker-range-arrow {
    display: none;
}
.rc-picker-year-btn {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    background: none;
}
.rc-picker-cell:after {
    border: none;
    border-left: none;
    border-right: none;
}
.rc-picker-cell-inner {
    width: 80px;
    height: 32px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 17px;
    color: #c2c2c2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rc-picker-cell-in-range > .rc-picker-cell-inner {
    background: rgba(246, 193, 68, 0.5);
    color: #000;
}
.rc-picker-cell-inner:hover {
    background: rgba(246, 193, 68, 0.5);
    color: #000;
}
.rc-picker-cell-range-start > .rc-picker-cell-inner,
.rc-picker-cell-range-end > .rc-picker-cell-inner,
.rc-picker-cell-selected > .rc-picker-cell-inner {
    background: #f6c144;
    color: #000;
}
/* end month picker */

/* end tycoon css */

