:root {
    --animate-delay: .5s;
    --fs-weight: 0;
    --color-glassed: rgba(255, 255, 255, 0.1);
}

.errorlist {
    text-align: initial;
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #ff6056;
}

.errorlist.nonfield {
    color: white;
    background: rgb(220 53 69 / 50%);
    border-radius: .5rem;
    margin: 0;
    padding: .5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Quicksand, sans-serif;
}

.scroll-light {
    overflow: overlay !important;
    margin-right: 2px !important;
    padding-right: calc(var(--bs-gutter-x) * .5);
}

.btn-paypal img {
    height: 2.5rem;
}

/*.scroll-light.container-custom-mx-h {*/
/*    margin: calc(var(--menu-items-size) / 2);*/
/*    padding-right: 6px !important;*/
/*    margin-right: 6px;*/
/*    overflow-x: hidden;*/
/*}*/
.scroll-light.flex-nowrap {
    padding-right: 0 !important;
}


.scroll-light::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent;
}

.scroll-light::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: var(--color-glassed);
}

.scroll-light::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--color-glassed);
}

.scroll-dark {
    overflow: overlay !important;
    margin-right: 2px !important;
    padding-right: calc(var(--bs-gutter-x) * .5);
}

.scroll-dark.container-custom-mx-h {
    padding-right: 6px !important;
    margin-right: -14px;
}

.scroll-dark.flex-nowrap {
    padding-right: 0 !important;
}

.scroll-dark::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent;
}

.scroll-dark::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #c0c0c0;
}

.scroll-dark::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #d9d9d945;
}


.dataTables_scrollBody.scroll-light,
.dataTables_scrollBody.scroll-dark {
    overflow: overlay !important;
    padding-right: 0 !important;
}

.scroll-ghost {
    overflow: auto;
}

.scroll-ghost::-webkit-scrollbar {
    width: 0;
    height: 0;
    background-color: transparent;
}

.dataTables_wrapper thead th {
    padding-right: 8px !important;
}

.scroll-light::-webkit-scrollbar-corner,
.scroll-dark::-webkit-scrollbar-corner,
.scroll-ghost::-webkit-scrollbar-corner {
    background-color: transparent;
}

body.scroll-light,
body.scroll-dark {
    padding-right: 0 !important;
}

body.scroll-light::-webkit-scrollbar,
body.scroll-dark::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.container-custom {
    padding: var(--menu-height) var(--menu-padding);
}

.bg-violet-gd {
    background: linear-gradient(347deg, #323d50 35%, #556277);
}

.bg-space-gd {
    background: linear-gradient(145deg, rgb(0 0 0 / 33%) 0%, rgb(73 87 107 / 40%) 100%);
    color: white;
}

.bg-glassed {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-height {
    padding: var(--menu-padding) 0;
}

.banner {
    min-height: 60vh;
}

.text-glow-white {
    text-shadow: 0 0 25px #ffffff96;
}

.text-glow-white-hover {
    transition: text-shadow 150ms ease-in-out;
}

.text-glow-white-hover:hover {
    text-shadow: 0 0 6px #ffffff96;
}

.lazy {
    filter: blur(8px);
}

.text-pulse-white {
    animation: white-glow 500ms infinite alternate;
}

@keyframes white-glow {
    to {
        text-shadow: 0 0 6px #ffffff96;
    }
}


.input-group-rounded > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: 0 1rem 1rem 0;
}

.input-group-rounded:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group-rounded:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-radius: 1rem 0 0 1rem;
}

.blur {
    backdrop-filter: blur(2px);
}

.blur-2 {
    backdrop-filter: blur(4px);
}

.blur-3 {
    backdrop-filter: blur(6px);
}

.spacer {
    margin: 15vh 0;
}

.spacer-lg {
    margin: 20vh 0;
}

.spacer-xl {
    margin: 25vh 0;
}

.spacer-p {
    padding: 15vh 0;
}

.spacer-p-lg {
    padding: 25vh 0;
}

.spacer-p-xl {
    padding: 50vh 0;
}

.border-glassed {
    border: 1px solid rgb(255 255 255 / 30%);
}

.section {
    border-radius: 1rem;
}

.section-md {
    border-radius: .75rem;
}

.section-sm {
    border-radius: .5rem;
}

.section-lg {
    border-radius: 1.25rem;
}

.section-xl {
    border-radius: 1.5rem;
}

.form-glassed .form-control,
.form-glassed .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 0;
    font-weight: 500;
}

.form-glassed .form-control::placeholder,
.form-glassed .form-select::placeholder {
    color: rgb(255 255 255 / 40%);
}

.form-glassed .form-control::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.form-glassed label {
    font-size: large;
    font-weight: bolder;
    margin: 0;
}

.form-glassed select.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-glassed select.form-select option {
    color: initial;
}

.form-glassed .iti__country-list {
    background: linear-gradient(347deg, #323d50 35%, #556277);
    border: 0;
}

.nav-tabs.nav-glassed {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.nav-glassed .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.nav-tabs.nav-glassed .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 0;
    font-weight: 600;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.nav-glassed .nav-link:hover {
    border-color: transparent;
}

.nav-pills.nav-glassed .nav-link {
    cursor: pointer;
}

.nav-pills.nav-glassed .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.nav-fill.nav-pills.nav-glassed .nav-link {
    flex: 1;
}

.fw-light-bold {
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 0.2rem rgb(255 255 255 / 25%);
}

.iti-w-100 .iti {
    width: 100%;
}

.floater {
    position: absolute;
    right: 2rem;
    margin-top: -1.5rem;
    padding-left: 2rem;
    z-index: 100;
}

.focus-0:focus {
    box-shadow: none;
}

.modal-backdrop {
    background-color: transparent;
}

.invalid-feedback {
    color: #ff6056;
    font-weight: 600;
}

.spinner-border.spinner-border-xsm {
    width: 1.4rem;
    height: 1.4rem;
    border-width: 0.1em;
}

.btn-outline-glassed:not(:disabled):not(.disabled).active:focus, .btn-outline-glassed:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-glassed.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-outline-glassed:not(:disabled):not(.disabled).active, .btn-outline-glassed:not(:disabled):not(.disabled):active, .show > .btn-outline-glassed.dropdown-toggle {
    background-color: rgb(255 255 255 / 30%);
}

.btn-outline-glassed.focus, .btn-outline-glassed:focus {
    /*background-color: rgb(255 255 255 / 50%);*/
    /*box-shadow: 0 0 0 0.2rem rgb(255 255 255 / 25%);*/
    box-shadow: none;
}

.btn-outline-glassed:hover {
    color: rgb(255 255 255);
    background-color: rgb(255 255 255 / 30%);
    border: 1px solid transparent;
}

.btn-outline-glassed {
    color: rgb(255 255 255);
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 30%);
}

.shadow {
    -webkit-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important
}

.shadow-sm {
    -webkit-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important
}

.shadow-lg {
    -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important
}

.shadow-0, .shadow-none {
    -webkit-box-shadow: none !important;
    box-shadow: none !important
}

.shadow-1 {
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .07) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .07) !important
}

.shadow-2 {
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .07), 0 1px 2px 0 rgba(0, 0, 0, .05) !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .07), 0 1px 2px 0 rgba(0, 0, 0, .05) !important
}

.shadow-3 {
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -1px rgba(0, 0, 0, .05) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -1px rgba(0, 0, 0, .05) !important
}

.shadow-4 {
    -webkit-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .07), 0 4px 6px -2px rgba(0, 0, 0, .05) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .07), 0 4px 6px -2px rgba(0, 0, 0, .05) !important
}

.shadow-5 {
    -webkit-box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .07), 0 10px 10px -5px rgba(0, 0, 0, .05) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .07), 0 10px 10px -5px rgba(0, 0, 0, .05) !important
}

.shadow-6 {
    -webkit-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .21) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .21) !important
}

.shadow-1-soft {
    -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .05) !important;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .05) !important
}

.shadow-2-soft {
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .05) !important;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .05) !important
}

.shadow-3-soft {
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .05) !important;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .05) !important
}

.shadow-4-soft {
    -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .05) !important;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .05) !important
}

.shadow-5-soft {
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .05) !important;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .05) !important
}

.shadow-6-soft {
    -webkit-box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .05) !important;
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .05) !important
}

.shadow-1-strong {
    -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .21) !important;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .21) !important
}

.shadow-2-strong {
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .21) !important;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .21) !important
}

.shadow-3-strong {
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .21) !important;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .21) !important
}

.shadow-4-strong {
    -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .21) !important;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .21) !important
}

.shadow-5-strong {
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .21) !important;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .21) !important
}

.shadow-6-strong {
    -webkit-box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .21) !important;
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .21) !important
}

.shadow-inner {
    -webkit-box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06) !important;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06) !important
}

.navbar .navbar-profile {
    width: 3rem;
}

/*
Scroll Down Arrows
*/
body {
    background: #0b1d2a;
}

.scroll-arrows {
    width: 30px;
    height: 36px;
    cursor: pointer;
}

.scroll-arrows path {
    stroke: #fff;
    fill: transparent;
    stroke-width: 1px;
    animation: scroll-arrow 2s infinite;
    -webkit-animation: scroll-arrow 2s infinite;
}

@keyframes scroll-arrow {
    0% {
        opacity: 0
    }
    40% {
        opacity: 1
    }
    80% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

@-webkit-keyframes scroll-arrow /*Safari and Chrome*/
{
    0% {
        opacity: 0
    }
    40% {
        opacity: 1
    }
    80% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

.scroll-arrows path.a1 {
    animation-delay: -1s;
    -webkit-animation-delay: -1s; /* Safari 和 Chrome */
}

.scroll-arrows path.a2 {
    animation-delay: -0.5s;
    -webkit-animation-delay: -0.5s; /* Safari 和 Chrome */
}

.scroll-arrows path.a3 {
    animation-delay: 0s;
    -webkit-animation-delay: 0s; /* Safari 和 Chrome */
}

.staggered {
    animation-name: staggeredIn;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    animation-delay: calc(var(--staggered-order) * 250ms);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
}

@keyframes staggeredIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

hr.staggered,
hr.staggered-v2 {
    opacity: 100%;
    background-color: rgb(255 255 255 / 25%);
}

.staggered-v2 {
    animation-duration: calc(250ms + var(--staggered-speed));
    animation-delay: calc(var(--staggered-order) * 50ms);
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
}

.staggered-v2.cascade-fade-scale {
    animation-name: animate-cascade-fade-scale;
}

.staggered-v2.cascade-fade {
    animation-name: animate-cascade-fade;
}

@keyframes animate-cascade-fade-scale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
    }
}

@keyframes animate-cascade-fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.player {
    max-width: 3.5rem;
    position: fixed;
    right: 4rem;
    top: 6rem;
    z-index: 10;
    transition: all 150ms ease-in-out;
    border-radius: 1.4rem;
}

.player:hover,
.player:focus,
.player:focus-visible,
.player:focus-within,
.player:active,
.player:visited,
.player:target {
    max-width: 15rem;
    background: var(--color-glassed);
}

@media (max-width: 1200px) {
    :root {
        --fs-weight: -4px
    }

    legend {
        font-size: calc(1.275rem + 0.3vw + var(--fs-weight));
    }

    label {
        font-size: calc(1.12rem + 0.25vw + var(--fs-weight)) !important;
    }

    h1, .h1 {
        font-size: calc(1.375rem + 1.5vw + var(--fs-weight));
    }

    h2, .h2 {
        font-size: calc(1.325rem + 0.9vw + var(--fs-weight));
    }

    h3, .h3 {
        font-size: calc(1.3rem + 0.6vw + var(--fs-weight));
    }

    h4, .h4 {
        font-size: calc(1.275rem + 0.3vw + var(--fs-weight));
    }

    h5, .h5 {
        font-size: calc(1.1rem + 0.25vw + var(--fs-weight));
    }

    .display-1 {
        font-size: calc(1.725rem + 5.7vw + var(--fs-weight));
    }

    .display-2 {
        font-size: calc(1.675rem + 5.1vw + var(--fs-weight));
    }

    .display-3 {
        font-size: calc(1.575rem + 3.9vw + var(--fs-weight));
    }

    .display-4 {
        font-size: calc(1.475rem + 2.7vw + var(--fs-weight));
    }

    .close {
        font-size: calc(1.275rem + 0.3vw + var(--fs-weight));
    }
}

@media (max-width: 992px) {
    .navbar.bg-glassed {
        background: transparent;
        font-weight: 700;
        box-shadow: none !important;
    }

    .navbar-collapse {
        position: absolute;
        right: 0;
        top: 0;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border-end-start-radius: 1rem;
        border: 1px solid var(--color-glassed);
    }

    .navbar-collapse a {
        margin: 0;
    }

    .navbar-collapse .navbar-nav {
        margin-top: var(--menu-height);
    }

    .navbar .navbar-profile {
        width: 2.5rem;
    }

    .player {
        right: 1rem;
        bottom: 1rem;
        top: initial;
    }

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

    .player:hover,
    .player:focus,
    .player:focus-visible,
    .player:focus-within,
    .player:active,
    .player:visited,
    .player:target {
        backdrop-filter: blur(4px);
    }

    .btn-paypal img {
        height: 2rem;
    }

    .floater {
        position: initial;
        margin: 0;
        padding: 1rem;
    }

    .blur {
        backdrop-filter: none;
    }

    .blur-2 {
        backdrop-filter: none;
    }

    .blur-3 {
        backdrop-filter: none;
    }
}