/*
            /$$
    /$$    /$$$$
   | $$   |_  $$    /$$$$$$$
 /$$$$$$$$  | $$   /$$_____/
|__  $$__/  | $$  |  $$$$$$
   | $$     | $$   \____  $$
   |__/    /$$$$$$ /$$$$$$$/
          |______/|_______/
================================
        Keep calm and get rich.
                    Is the best.

---------------------------------------------
Theme Name: PandaPRO
Author: nicetheme
Author URI: https://www.nicetheme.cn/
*/

[v-cloak] {
    display: none;
}

:root {
    --swiper-theme-color: var(--bg-primary);
    --swiper-navigation-mini-size: 30px;
}

@media (min-width: 1200px) {
    .col-xl-8 {
        width: 70%;
    }

    .col-xl-4 {
        width: 30%;
    }
}

/*--------------------------------------------------------------
Font color style
--------------------------------------------------------------*/

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

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

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

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

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

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

.text-404 {
    text-shadow: 5px 5px 1px rgb(81 66 252 / 50%);
}

/*--------------------------------------------------------------
  Buttons
  --------------------------------------------------------------*/

.btn {
    font: inherit;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    padding: 0.625rem 1.625rem;
    white-space: normal;
    transition: all 0.3s ease-in-out;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
    box-shadow: none !important;
}

.btn.disabled,
.btn:disabled {
    color: var(--color-muted);
    border-color: var(--btn-light);
    background-color: var(--btn-light);
}

/*--------------------------------------------------------------
  btn style
  --------------------------------------------------------------*/

.btn-primary {
    color: #fff;
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: #fff;
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
    opacity: 0.8;
}

/*--------------------------------------------------------------
  btn secondary style
  --------------------------------------------------------------*/

.btn-secondary {
    color: var(--color-light);
    background-color: var(--btn-secondary);
    border-color: var(--btn-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.active,
.btn-secondary:active {
    color: #fff;
    background-color: var(--btn-dark);
    border-color: var(--btn-dark);
}

/*--------------------------------------------------------------
  btn light style
  --------------------------------------------------------------*/

.btn-light {
    background-color: var(--btn-light);
    border-color: var(--btn-light);
    color: var(--color-muted);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-light.active {
    background-color: var(--btn-light);
    border-color: var(--btn-light);
    color: var(--color-dark);
}

.btn-light.disabled,
.btn-light:disabled {
    background-color: var(--btn-light);
    border-color: var(--btn-light);
    color: var(--color-muted);
    cursor: not-allowed;
}

/*--------------------------------------------------------------
  btn dark style
  --------------------------------------------------------------*/

.btn-dark {
    background-color: var(--btn-dark);
    border-color: var(--btn-dark);
    color: var(--color-light);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark.active,
.btn-dark:active {
    background-color: var(--btn-secondary);
    border-color: var(--btn-secondary);
    color: #fff;
}

/*--------------------------------------------------------------
  btn danger style
  --------------------------------------------------------------*/

.btn-danger {
    background-color: var(--btn-danger);
    border-color: var(--btn-danger);
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger.active,
.btn-danger:active {
    background-color: var(--btn-danger);
    border-color: var(--btn-danger);
    color: #fff;
}

/*--------------------------------------------------------------
  btn link style
  --------------------------------------------------------------*/

.btn-link {
    color: var(--color-muted);
    text-decoration: none;
}

.btn-link:hover,
.btn-link:focus,
.btn-link.active,
.btn-link:active {
    color: var(--color-dark);
    background-color: var(--btn-light);
    border-color: var(--btn-light);
}

.btn-link:disabled,
.btn-link.disabled {
    background-color: var(--btn-light);
    border-color: var(--btn-light);
    color: var(--color-muted);
}

/*--------------------------------------------------------------
  btn link style
  --------------------------------------------------------------*/

.btn-success {
    background-color: var(--btn-success);
    border-color: var(--btn-success);
    color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success.active,
.btn-success:active {
    background-color: var(--btn-success);
    border-color: var(--btn-success);
    color: #fff;
}

.btn-success:disabled,
.btn-success.disabled {
    background-color: var(--btn-light);
    border-color: var(--btn-light);
    color: var(--color-muted);
}

/*--------------------------------------------------------------
  btn outline style
  --------------------------------------------------------------*/

.btn-outline-primary {
    color: #fff;
    background-color: var(--outline-primary);
    border-color: var(--outline-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: #fff;
    background-color: var(--outline-primary);
    border-color: var(--btn-primary);
}

/*--------------------------------------------------------------
  btn outline secondary style
  --------------------------------------------------------------*/

.btn-outline-secondary {
    color: var(--color-secondary);
    background-color: var(--outline-secondary);
    border-color: var(--outline-secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
    color: var(--color-muted);
    background-color: var(--outline-secondary);
    border-color: var(--btn-secondary);
}

/*--------------------------------------------------------------
  btn outline light style
  --------------------------------------------------------------*/

.btn-outline-light {
    color: var(--color-secondary);
    border-color: var(--outline-light);
    background-color: var(--outline-light);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active,
.btn-outline-light.active {
    color: var(--color-dark);
    border-color: var(--btn-light);
    background-color: var(--outline-light);
}

/*--------------------------------------------------------------
  btn size style
  --------------------------------------------------------------*/

.btn-xs {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.3125rem 1rem;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-md);
}

.btn-block {
    width: 100%;
    display: block;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .btn-sm {
        font-size: 0.8125rem;
    }

    .btn-lg {
        font-size: 0.9375rem;
    }
}

@media (max-width: 767.98px) {
    .btn-sm {
        font-size: 0.8125rem;
        padding: 0.25rem 0.75rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.625rem 1.75rem;
    }
}

/*--------------------------------------------------------------
  btn radius style
  --------------------------------------------------------------*/

.btn-rounded {
    border-radius: 5rem;
}

.rounded-1 {
    border-radius: var(--border-radius-xs) !important;
}

.rounded-2 {
    border-radius: var(--border-radius-sm) !important;
}

.rounded-3 {
    border-radius: var(--border-radius-md) !important;
}

/*--------------------------------------------------------------
  btn width style
  --------------------------------------------------------------*/

.btn-w-xs {
    min-width: 65px;
    padding-left: 0.375rem;
    padding-right: 0.375rem;
}

.btn-w-sm {
    min-width: 75px;
    padding-left: 0.375rem;
    padding-right: 0.375rem;
}

.btn-w-md {
    min-width: 95px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.btn-w-lg {
    min-width: 11rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.btn-w-xl {
    min-width: 12rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (max-width: 767.98px) {
    .btn-sm.btn-w-sm {
        min-width: 60px;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .btn-sm.btn-w-md {
        min-width: 80px;
    }

    .btn-lg.btn-w-lg {
        min-width: 135px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .btn-w-lg {
        min-width: 135px;
    }
}

@media (min-width: 768px) {
    .btn-sm.btn-w-md {
        min-width: 85px;
    }

    .btn-sm.btn-w-sm {
        min-width: 70px;
    }
}

/*--------------------------------------------------------------
  btn icon style
  --------------------------------------------------------------*/

.btn-icon {
    position: relative;
    width: 2.4375rem;
    height: 2.4375rem;
    padding: 0;
    font-size: 1.5rem;
    text-align: center;
}

.btn-icon span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon small {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.75rem;
    line-height: 1;
    padding: 0.125rem 0.4375rem;
    border-radius: 10px;
    color: #fff;
    background-color: var(--bg-danger);
    border: 2px solid #fff;
    transform: translate(35%, -30%);
}

.btn-icon:hover,
.btn-icon:active,
.btn-icon:focus {
    box-shadow: none;
}

.btn-icon.btn-xs {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.125rem;
}

.btn-icon.btn-sm {
    width: 2.1875rem;
    height: 2.1875rem;
    font-size: 1.25rem;
}

.btn-icon.btn-md {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
}

.btn-icon.btn-lg {
    width: 3rem;
    height: 3rem;
    font-size: 1.625rem;
}

@media (max-width: 767.98px) {
    .btn-icon.btn-md {
        width: 2.375rem;
        height: 2.375rem;
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .btn-icon.btn-md {
        width: 2.375rem;
        height: 2.375rem;
        font-size: 1.125rem;
    }

    .btn-icon.btn-lg {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.25rem;
    }
}

/*--------------------------------------------------------------
  background style
  --------------------------------------------------------------*/

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

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

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

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

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

.bg-dark-gradient {
    background: linear-gradient(to bottom, #000613, #343f48);
}

.bg-white-overlay {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
}

.bg-dark-overlay {
    color: #fff;
    background-color: rgb(0 0 0 / 30%);
}

.bg-img {
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.bg-overlay {
    position: fixed;
    height: 100%;
    right: -99%;
    top: 0;
    left: -99%;
    opacity: 0;
    background: rgba(120, 129, 147, 0.22);
    visibility: hidden;
    transform: translate3d(0px, 0px, 0px);
    transition: 0.3s ease-in-out;
    z-index: 998;
}

.bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bg-poster {
    -ms-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-fixed {
    background-attachment: fixed;
}

.bg-gonna {
    color: #fff;
    background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
}

.bg-ing {
    color: #fff;
    background-image: linear-gradient(to top, #fc6076 0%, #ff9a44 100%);
}

.bg-end {
    background-image: linear-gradient(to top, #868f96 0%, #596164 100%);
}

/*--------------------------------------------------------------
  border
  --------------------------------------------------------------*/

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

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

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

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

.border-1 {
    border-width: 1px !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-3 {
    border-width: 3px !important;
}

/*--------------------------------------------------------------
  form-control style
  --------------------------------------------------------------*/

.form-control {
    font-size: 1rem;
    height: calc(44px + 2px);
    padding: 0.375rem 1rem;
    border-color: var(--bg-light);
    background-color: var(--bg-light);
    color: var(--color-secondary);
    border-radius: var(--border-radius-sm);
    transition: all 0.15s ease-in-out;
}

.form-control:focus,
.form-control:active {
    color: var(--color-dark);
    border-color: var(--bg-light);
    background-color: var(--bg-light);
    box-shadow: none;
}

.form-control::-webkit-input-placeholder {
    color: var(--color-secondary);
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: var(--color-secondary);
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: var(--color-secondary);
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    color: var(--color-secondary);
    opacity: 1;
}

.form-control::placeholder {
    color: var(--color-secondary);
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    border-color: var(--bg-light);
    background-color: var(--bg-light);
    color: var(--color-muted);
    opacity: 1;
}

.form-control-lg {
    height: calc(47px + 2px);
    padding: 0.5rem 1.5rem;
    font-size: 1.125rem;
}

textarea.form-control {
    text-align: justify;
    height: auto;
    padding: 0.75rem 0.75rem;
}

/*--------------------------------------------------------------
    avatar style
  --------------------------------------------------------------*/

.flex-avatar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
    white-space: nowrap;
    font-weight: 500;
    border-radius: 100%;
    cursor: pointer;
}

@media (max-width: 767.98px) {

    .flex-avatar.w-24 {
        width: 20px !important;
        height: 20px !important;
    }
}

.flex-avatar img {
    width: inherit;
    height: inherit;
    border-radius: inherit;
    -o-object-fit: cover;
    object-fit: cover;
}

/*--------------------------------------------------------------
  ## Media
  --------------------------------------------------------------*/

.media {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0;
    flex-shrink: 0;
    border-radius: inherit;
}

.media:after {
    content: "";
    display: block;
    padding-top: 100%;
}

.media:not(:first-child):not(:last-child):not(:only-child) {
    border-radius: 0;
}

.media-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: #fff;
    z-index: 2;
}

a.media-overlay:hover,
a.media-overlay:focus,
a.media-overlay:link,
a.media-overlay:visited {
    color: #fff;
}

.media-overlay.overlay-top {
    bottom: auto;
    justify-content: start;
}

.media-overlay.overlay-bottom {
    top: auto;
    background: #272727;
    /* fallback for old browsers */
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, rgba(6, 6, 8, 0.66), rgba(6, 6, 8, 0));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.media-action {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.media-action.active {
    opacity: 1;
}

.media-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 0;
    border-radius: inherit;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: rgba(120, 120, 120, 0.03);
}

.media-21x9:after {
    padding-top: 42.857143%;
}

.media-16x9:after {
    padding-top: 56.25%;
}

.media-4x3:after {
    padding-top: 75%;
}

.media-2x3:after {
    padding-top: 150%;
}

.media-3x2:after {
    padding-top: 66.66666%;
}

.media-3x4:after {
    padding-top: 133.33333%;
}

.media-1x2:after {
    padding-top: 200%;
}

.media-2x1:after {
    padding-top: 50%;
}

.media-3x1:after {
    padding-top: 33%;
}

.media-4x1:after {
    padding-top: 25%;
}

.media-1-4:after {
    padding-top: 25vh;
    min-height: 10rem;
}

.media-1-3:after {
    padding-top: 33vh;
    min-height: 12.5rem;
}

.media-1-2:after {
    padding-top: 50vh;
    min-height: 15rem;
}

/*--------------------------------------------------------------
    custom style
  --------------------------------------------------------------*/

.custom-hover {
    position: relative;
}

.custom-hover .media-content {
    transition: all 300ms ease-in-out;
}

.custom-hover:hover .media-content {
    transform: scale(1.05);
}

/*--------------------------------------------------------------
    card style
  --------------------------------------------------------------*/

.card,
.block {
    position: relative;
    border: 1px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: all 300ms ease-in-out;
}

.card,
.block {
    position: relative;
    background-color: #fff;
    border-color: var(--border-light);
}

.card:hover,
.block:hover {
    border-color: var(--border-light);
    box-shadow: 0 10px 30px 0 rgb(62 61 80 / 3%);
}

.card-header,
.card-footer {
    background-color: transparent;
    border-color: transparent;
    background-clip: padding-box;
    border: 0;
    padding: 1.25rem;
}

.card-header:first-child {
    padding: 1.25rem 1.25rem 0;
    border-radius: 0;
    margin-bottom: -0.125rem;
}

.card-body {
    padding: 1.25rem;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.card-title {
    line-height: 1.5;
}

.card-md .card-header {
    padding: 2rem 2rem 0;
}

.card-md .card-body {
    padding: 2rem;
}

.card-md .card-footer {
    padding: 0 2rem 1.5rem;
    margin-top: -1rem;
}

@media (max-width: 767.98px) {
    .card-md .card-header {
        padding: 1.375rem 1.375rem 0;
    }

    .card-md .card-body {
        padding: 1.375rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .card-md .card-header {
        padding: 1.5rem 1.5rem 0;
    }

    .card-md .card-body {
        padding: 1.5rem;
    }
}

/*--------------------------------------------------------------
  ## List
  --------------------------------------------------------------*/


.list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
}

.list-item .media-content {
    transition: all 300ms ease-in-out;
}

.list-item:hover .media-content {
    transform: scale(1.05);
}

.list-item .badge-top {
    position: relative;
    display: inline-block;
    top: -2px;
    font-size: .75rem;
    font-weight: 400;
    color: #fff;
    padding: .1875rem .5625rem;
    margin-right: .3125rem;
    border-radius: var(--border-radius-xs);
    vertical-align: middle;
    background-image: linear-gradient(to right, #ff4740, #ffa069, #ffab55, #ff6c40);
    background-size: 300% 100%;
    transition: all .4s ease-in-out;
}

.list-item:hover .badge-top {
    background-position: 100% 0;
    transition: all .4s ease-in-out;
}


.list-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: center;
    padding: 1rem;
}

.list-body {
    flex: 1 1 auto;
}

.list-footer {
    margin-top: 12px;
}

.list-title {
    display: block;
    color: inherit;
    word-break: break-all;
    word-wrap: break-word;
}

.list-loadmore {
    text-align: center;
    margin-top: 2.25rem;
}

@media (max-width: 767.98px) {
    .list-item .badge-top {
        font-size: .625rem;
        padding: .125rem .375rem;
    }
}

/*--------------------------------------------------------------
    line-clamp style
  --------------------------------------------------------------*/

.h-1x {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.h-2x {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

/*--------------------------------------------------------------
    list style
  --------------------------------------------------------------*/
.list {
    padding: 0;
}

.list .list-item {
    flex-direction: row;
    align-items: center;
    margin: 0 0 1.25rem;
}

.list .list-item:last-child {
    margin: 0;
}

.list .list-item .list-content {
    padding: 0;
}

.list .list-item .media {
    margin-left: .75rem;
}

/*--------------------------------------------------------------
  ## List grid hover
  --------------------------------------------------------------*/

.list-grid .list-item {
    flex-direction: row;
    margin-bottom: 1rem;
}

.list-grid .list-item:last-child {
    margin-bottom: 0;
}

.list-grid .list-item .media:first-child {
    border-radius: 0;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    margin-right: 1rem;
}

.list-grid .list-item .list-catname {
    position: absolute;
    left: 0.375rem;
    top: 0.375rem;
    font-size: .625rem;
    padding: 0.125rem 0.5rem;
    color: #fff;
    background-color: rgb(0 0 0 / 40%);
    border-radius: 3rem;
}

.list-grid .list-item .list-content {
    padding: .5rem 0;
}

.list-grid.list-grid-padding .list-item {
    padding: 1rem;
}

.list-grid.list-grid-padding .list-item>.media {
    border-radius: var(--border-radius-xs);
    margin-right: 1.25rem;
}

.list-grid.list-grid-padding .list-content {
    padding: .25rem 0;
}

@media (max-width: 767.98px) {

    .list-grid .list-item .list-catname {
        left: 0.3125rem;
        top: 0.3125rem;
        font-size: .625rem;
        padding: 0.0625rem 0.375rem;
    }

    .list-grid .list-item .list-content {
        padding: .25rem 0;
    }

    .list-grid.list-grid-padding .list-item {
        padding: .75rem;
        margin-bottom: .75rem;
    }

    .list-grid.list-grid-padding .list-item>.media {
        margin-right: .625rem;
    }

    .list-grid.list-grid-padding .list-content {
        padding: 0;
    }


}

/*--------------------------------------------------------------
  ## nav brand
  --------------------------------------------------------------*/

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-brand .logo {
    max-height: 55px;
}

.navbar-brand .logo-dark {
    display: none;
}

@media (max-width: 767.98px) {
    .navbar-brand .logo {
        max-height: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand .logo {
        max-height: 45px;
    }
}

/*--------------------------------------------------------------
  ## header navbar
  --------------------------------------------------------------*/

.site-navbar {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: #fff;
    box-shadow: var(--shadow);
    transition: all 0.3s ease-in-out;
}

.site-navbar.sticked {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99;
}

.site-navbar.navbar-sticky {
    position: fixed;
    left: 0;
    right: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 99;
}

@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
    .site-navbar.navbar-sticky {
        -webkit-backdrop-filter: saturate(180%) blur(6px);
        backdrop-filter: saturate(180%) blur(6px);
    }
}

.site-main {
    padding: 2.25rem 0;
}

@media (max-width: 767.98px) {
    .site-navbar {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .site-main {
        padding: 1rem 0;
    }
}

/*-------------------------------------------------------------- 
  ## 2023 slogan 
  --------------------------------------------------------------*/
.site-2023-slogan {
    position: relative;
    height: 50px;
    margin-left: .5rem;
    margin-right: auto;
}

.site-2023-slogan::after {
    content: "";
    display: block;
    position: absolute;
    width: 25%;
    height: 100%;
    top: 0;
    left: -75%;
    background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, .2));
    transform: skewX(-25deg);
    pointer-events: none;
    -webkit-animation: shine 1s infinite alternate cubic-bezier(.455, .03, .515, .955);
    animation: shine 1s infinite alternate cubic-bezier(.455, .03, .515, .955);
    z-index: 2;
}

.navbar-sticky .site-2023-slogan::after {
    display: none;
}

.site-2023-slogan img {
    width: inherit;
    height: inherit;
    -o-object-fit: cover;
    object-fit: cover;
}


@media (max-width: 767.98px) {
    .site-2023-slogan {
        height: 40px;
    }
}

@-webkit-keyframes shine {

    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

/*-------------------------------------------------------------- 
  ## Main Navigation 
  --------------------------------------------------------------*/

.navbar-site li {
    position: relative;
}

.navbar-site>li {
    margin-right: .5rem;
}

.navbar-site>li:last-child {
    margin-right: 0;
}

.navbar-site li a {
    display: block;
    font-size: 1rem;
    color: var(--color-secondary);
    padding: 0.75rem .5rem;
}

.navbar-site>li:hover a,
.navbar-site>li.current-menu-item>a {
    color: var(--color-dark);
}

/* Submenu */
.navbar-site li ul.sub-menu {
    position: absolute;
    left: 0;
    top: 115%;
    z-index: 100;
    padding: 0.5rem;
    background: #fff;
    min-width: 220px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 500ms ease;
    border-radius: 0px;
    border: 0px solid;
    box-shadow: 0 0 15px rgb(0 0 0 / 7%);
    border-radius: var(--border-radius-md);
}

.navbar-site li ul.sub-menu li {
    display: block;
    position: relative;
}

.navbar-site li ul.sub-menu li:last-child {
    margin-bottom: 0;
}

.navbar-site li ul.sub-menu li a {
    position: relative;
    display: block;
    padding: 0.75rem;
    transition: all 0.3s ease-in;
    color: var(--color-muted);
    z-index: 1;
}

.navbar-site li ul.sub-menu li a:hover,
.navbar-site li ul.sub-menu li.current-menu-item>a {
    color: var(--color-dark);
}

.navbar-site li:hover ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0px);
}

.navbar-site li ul.sub-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -10px;
    z-index: 999;
    background: #fff;
    transition: 0.5s;
    transition-delay: 0.1s;
    transform: translateX(-20px);
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.navbar-site li ul.sub-menu .sub-menu {
    left: 100%;
    top: 0;
    transform-origin: left;
}

.navbar-site li ul.sub-menu li:hover>.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
    pointer-events: all;
}

/*-------------------------------------------------------------- 
  ## site submenu icon Navigation 
  --------------------------------------------------------------*/

.navbar-site li.menu-item-has-children>a .menu-sign {
    position: absolute;
    top: 50%;
    right: -6px;
    height: 6px;
    width: 6px;
    opacity: 0.3;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%) rotate(0deg);
}

.navbar-site li.menu-item-has-children>a .menu-sign:after {
    content: "";
    display: block;
    height: 6px;
    width: 6px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(315deg);
    transition: all 0.2s;
}

.navbar-site li.menu-item-has-children>a:hover .menu-sign {
    margin-top: 2px;
}

.navbar-site li.menu-item-has-children>a:hover .menu-sign:after {
    transform: rotate(135deg);
}

.navbar-site li ul.sub-menu li.menu-item-has-children>a .menu-sign {
    margin-top: 0;
    right: 10px;
}

.navbar-site li ul.sub-menu li.menu-item-has-children>a .menu-sign:after {
    transform: rotate(315deg);
}

.navbar-site li ul.sub-menu li.menu-item-has-children:hover .menu-sign:after,
.navbar-site li ul.sub-menu li.menu-item-has-children>a:hover .menu-sign:after {
    transform: rotate(225deg);
}

/*--------------------------------------------------------------
  swiper reset style
  --------------------------------------------------------------*/

.banner-nextprev .swiper-button-next,
.banner-nextprev .swiper-button-prev {
    width: var(--swiper-navigation-size);
    color: var(--swiper-pagination-color);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 100%;
    opacity: 0;
    visibility: hidden;
    transform-origin: 0 0 0;
    transition: all 0.3s ease-out 0s;
}

.banner-nextprev:hover .swiper-button-next,
.banner-nextprev:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
}

.banner-nextprev:hover .swiper-button-next {
    right: 3%;
}

.banner-nextprev:hover .swiper-button-prev {
    left: 3%;
}

.banner-nextprev .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-nextprev .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-nextprev .swiper-button-next:after,
.banner-nextprev .swiper-button-prev:after {
    position: relative;
    font-size: calc((var(--swiper-navigation-size) / 2.25));
}

.banner-nextprev .swiper-button-prev:after {
    left: -1px;
}

.banner-nextprev .swiper-button-next:after {
    left: 1px;
}

.banner-nextprev .swiper-pagination {
    display: flex;
    left: 50%;
    width: auto;
    padding: 0.625rem 1rem;
    border-radius: 3rem;
    transform: translateX(-50%);
    background-color: rgb(0 0 0 / 20%);
}

@media (max-width: 767.98px) {
    .banner-nextprev .swiper-pagination {
        --swiper-pagination-bullet-horizontal-gap: 2px;
        padding: 0.25rem .375rem;
        bottom: 5px;
    }
}

/*--------------------------------------------------------------
  index tabmenu style
  --------------------------------------------------------------*/

.posts-tabmenu {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.posts-tabmenu ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: .5rem;
}

.posts-tabmenu li {
    position: relative;
    flex-shrink: 0;
    padding: .5rem .5rem;
}

.posts-tabmenu li a {
    display: block;
}

.posts-tabmenu li a:hover,
.posts-tabmenu li.active a {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    color: #fff
}

@media (max-width: 767.98px) {
    .posts-tabmenu {
        margin-bottom: .75rem;
    }

    .posts-tabmenu ul {
        overflow-y: hidden;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .posts-tabmenu ul::-webkit-scrollbar {
        display: none;
    }
}

/*--------------------------------------------------------------
  post content
  --------------------------------------------------------------*/
.post {
    padding: 2rem;
}

.post-content {
    position: relative;
    font-size: 1rem;
    line-height: 1.85;
    word-break: normal;
    word-wrap: break-word;
}

.post-content>*:first-child {
    margin-top: 0;
}

.post-content>*:last-child {
    margin-bottom: 0;
}

.post-content a:hover,
.post-content a:focus {
    text-decoration: none;
}

.post-content p {
    margin: 0 0 1.5rem;
}

.post-content hr {
    margin: 4rem auto;
}

/* Font Families ----------------------------- */

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--color-dark);
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin: 2.5rem auto 1rem;
}

.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 2.5rem auto 1rem;
}

.post-content h2 {
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 767.98px) {
    .post {
        padding: 1.25rem;
    }

    .post .card-header .post-title {
        padding: 1.25rem;
    }

    .post-content h1,
    .post-content h2,
    .post-content h3 {
        margin: 2rem auto 1rem;
    }

    .post-content h4,
    .post-content h5,
    .post-content h6 {
        margin: 2rem auto 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .post-content h1,
    .post-content h2,
    .post-content h3 {
        margin: 1rem auto 1rem;
    }

    .post-content h4,
    .post-content h5,
    .post-content h6 {
        margin: 1rem auto 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .post-content h1,
    .post-content h2,
    .post-content h3 {
        margin: 1.5rem auto 1rem;
    }

    .post-content h4,
    .post-content h5,
    .post-content h6 {
        margin: 1.5rem auto 1rem;
    }
}

/*--------------------------------------------------------------
Ul - style 
--------------------------------------------------------------*/

.post-content ul,
.post-content ol {
    padding: 0 0 0 1.25rem;
    margin-bottom: 1.5rem;
}

.post-content ul {
    list-style: disc;
}

.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin-bottom: 1rem;
}

.post-content ul ul {
    list-style: circle;
    margin: .75rem 0;
}

.post-content ul ul ul {
    list-style: square;
}

.post-content ol {
    list-style: decimal;
}

.post-content ol ol {
    list-style: lower-alpha;
}

.post-content ol ol ol {
    list-style: lower-roman;
}

.post-content li {
    line-height: 1.5;
    margin: 0 0 1rem;
}

.post-content li li {
    margin: 0 0 .5rem;
}

.post-content li img {
    display: inline-block;
}


/*--------------------------------------------------------------
    post table style
--------------------------------------------------------------*/

.post-content>table {
    max-width: 100%;
    background-color: transparent;
    margin: 2rem 0;
}

.post-content>table th,
.post-content>table td {
    background: 0 0;
    padding: 6px 12px;
    border: .0625rem solid var(--gray-3);
    text-align: initial
}

.post-content>table th>*,
.post-content>table td>* {
    margin-top: 0;
    margin-bottom: 0
}

.post-content>table caption {
    padding: 0 0 8px;
    width: auto
}

.post-content>table tr:hover>th,
.post-content>table tr:hover>td {
    background-color: var(--gray-1);
}

/*--------------------------------------------------------------
  post tags
  --------------------------------------------------------------*/
.post-tags {
    display: flex;
    flex-wrap: wrap;
}

.post-tags a {
    display: inline-block;
    font-size: .8125rem;
    color: var(--color-primary);
    padding: .25rem .75rem;
    background-color: var(--outline-primary);
    border: 1px solid var(--outline-primary);
    border-radius: 100px;
    margin: .5rem 1rem 0 0
}

.post-tags a:hover {
    background-color: var(--bg-primary);
    border-color: var(--bg-primary);
    color: #fff;
}

.post-tags a .iconfont {
    top: -.0625rem;
}

/*--------------------------------------------------------------
  post prevnext
  --------------------------------------------------------------*/

.post-prevnext a {
    position: relative;
    flex: 1 1 auto;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
}

.post-prevnext .prevnext-prev {
    padding: 1.25rem 1.25rem 1.25rem 4rem;
}

.post-prevnext .prevnext-next {
    padding: 1.25rem 4rem 1.25rem 1.25rem;
}

.post-prevnext .prevnext-prev .prevnext-icon {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 2rem;
    opacity: .4;
}

.post-prevnext .prevnext-next .prevnext-icon {
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 2rem;
    opacity: .4;
}

/*--------------------------------------------------------------
  ## post actions
  --------------------------------------------------------------*/
.post-actions .like-taggle.active {
    background-color: #ff3f56 !important;
    border-color: #ff3f56 !important;
    color: #fff;
}

/*--------------------------------------------------------------
  ## post like
  --------------------------------------------------------------*/
.post-like.active {
    color: var(--bg-danger) !important;
}

/*--------------------------------------------------------------
  ## archive
  --------------------------------------------------------------*/

.archive-heading sup {
    top: -1em;
}

.archive-poster {
    position: relative;
    border-radius: var(--border-radius-sm);
}

.archive-poster .heading-content {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.archive-poster .heading-content sup {
    top: -1em;
}

@supports ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
    .archive-poster .heading-content {
        -webkit-backdrop-filter: saturate(180%) blur(4px);
        backdrop-filter: saturate(180%) blur(4px);
    }
}

@media (max-width: 767.98px) {
    .archive-poster .media-3x1:after {
        padding-top: 50%;
    }
}

/* -------------------------------- 
    widget
  -------------------------------- */
.widget-title {
    position: relative;
}

.widget-title .iconfont {
    font-weight: normal;
}

.widget-cats {
    display: flex;
    flex-wrap: wrap;
}

.widget-cats {
    margin: -.25rem;
}

.widget-cats li {
    padding: .25rem;
}

.widget-cats li small {
    position: relative;
    right: -.25rem;
    font-size: 65%;
    padding: .125rem .375rem;
    background-color: var(--gray-3);
    border-radius: var(--border-radius-sm);
}

.widget-tags {
    display: flex;
    flex-wrap: wrap;
}

.widget-tags {
    margin: -.25rem;
}

.widget-tags li {
    padding: .25rem;
}

.widget-tags li small {
    position: relative;
    right: -.25rem;
    font-size: 65%;
    padding: .125rem .375rem;
    background-color: var(--gray-3);
    border-radius: var(--border-radius-sm);
}

/* -------------------------------- 
    widget author
  -------------------------------- */
.widget-author {
    border-width: 0;
}

.widget-author .widget-author-cover {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.widget-author .widget-author-meta {
    position: relative;
    padding: 56px 32px 32px;
}

.widget-author .widget-author-avatar {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
}

/* -------------------------------- 
    widget random
  -------------------------------- */
.widget-random-post {
    position: relative;
    border-radius: var(--border-radius-sm);
}

.widget-random-post .random-post-content {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #fff;
    padding: 2rem 2rem 1.5rem;
    z-index: 2;
}

.widget-random-post .random-post-content a {
    color: #fff;
    opacity: .6
}

.widget-random-post .random-post-content a:hover {
    background: transparent !important;
    border-color: transparent !important;
    opacity: 1
}

.widget-random-post .random-post-date {
    flex: 1 1 auto;
}

.widget-random-post .random-post-title a:hover {
    color: #fff !important;
}

/*--------------------------------------------------------------
    widget style
--------------------------------------------------------------*/

.widget-socialcounter li {
    margin-top: .5rem;
}

.widget-socialcounter li:first-child {
    margin-top: 0;
}

.widget-socialcounter li a {
    display: flex;
    align-items: center;
    position: relative;
    padding: .5rem;
    border-radius: var(--border-radius-sm);
    background-size: 300% 100%;
    color: #fff;
    transition: all .3s ease-in-out
}

.widget-socialcounter li a .item-link,
.widget-socialcounter li a .item-icon {
    color: #fff;
}

.widget-socialcounter li a .item-link:hover,
.widget-socialcounter li a .item-link:focus,
.widget-socialcounter li a .item-icon:hover,
.widget-socialcounter li a .item-icon:focus {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}

.widget-socialcounter li a .item-text {
    flex: 1 1 auto;
}

.widget-socialcounter li a.weixin {
    background-color: #038f44;
}

.widget-socialcounter li a.weibo {
    background-image: linear-gradient(to right, #ff0000, #ff5565, #ff5565, #ff0000);

}

.widget-socialcounter li a.phone {
    background-image: linear-gradient(to right, #ff8127, #ffa463, #ffa463, #ff8127);
}

.widget-socialcounter li a.mail {
    background-image: linear-gradient(to right, #2561f9, #2599f9, #2599f9, #2561f9);
}

.widget-socialcounter li a.github {
    background-image: linear-gradient(to right, #070e21, #4a5779, #4a5779, #070e21);
}

.widget-socialcounter li a.bilibili {
    background-image: linear-gradient(to right, #ff3f84, #ff4053, #ff4053, #ff3f84);
}

.widget-socialcounter li a.youtube {
    background-image: linear-gradient(to right, #fe0000, #ff6b2b, #ff6b2b, #fe0000);
}

.widget-socialcounter li a.twitter {
    background-image: linear-gradient(to right, #1d9bf0, #9c70e9, #9c70e9, #1d9bf0);
}

.dark .widget-socialcounter li a.github {
    background-image: linear-gradient(to right, #070e21, #000000, #000000, #070e21);
}

.widget-socialcounter li a:hover {
    background-position: 100% 0;
    transition: all .4s ease-in-out
}

.widget-socialcounter li a:hover .item-link {
    transform: scale(1.5);
}

/* -------------------------------- 
    index tag grid
  -------------------------------- */

.index-tag-grid .media-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.index-tag-grid .tag-name {
    position: relative;
    text-align: center;
}

.index-tag-grid .tag-number {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 4rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .index-tag-grid .tag-number {
        font-size: 2.5rem;
    }
}

/* -------------------------------- 
    Footer 
  -------------------------------- */
.site-footer {
    background-color: #fff;
}

.site-footer .footer-content {
    display: flex;
    flex: 1 1 auto;
    justify-content: space-between;
    align-items: center;
}

.site-footer .footer-content .h4 {
    position: relative;
    color: #fff;
    padding-left: 1.25rem;
}

.site-footer .footer-content .h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 20px;
    background-color: var(--bg-primary);
    border-radius: 20px;
    transform: translateY(-50%);
}

.site-footer .footer-menu {
    display: flex;
    flex-wrap: wrap;
}

.site-footer .footer-menu li {
    margin: 0 1rem .5rem 0;
    position: relative;
    margin: .25rem 1rem .25rem 0;
    padding: 0 1rem 0 0;
}

.site-footer .footer-menu li:last-child {
    margin-right: 0;
    padding-right: 0;
}

.site-footer .footer-menu li:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 10px;
    background-color: var(--bg-primary);
    transform: translate(50%, -50%);
}

.site-footer .footer-menu li:last-child:after {
    display: none;
}

.site-footer .footer-menu li a {
    display: block;
}

.site-footer .footer-social {
    display: flex;
    flex-wrap: wrap;
}

.site-footer .footer-social a {
    margin: .25rem 0 .25rem .5rem;
}

.site-footer .footer-social a:first-child {
    margin-left: 0;
}

@media (max-width: 767.98px) {
    .site-footer {
        text-align: center;
    }

    .site-footer .footer-menu {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .site-footer .footer-content {
        flex-direction: column;
    }
}

/* -------------------------------- 
    footer friends
-------------------------------- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem 0 0;
    padding: .5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
}

.footer-links li {
    padding: .25rem .5rem;
}

.footer-links li a {
    display: block;
    color: var(--color-muted)
}

.footer-links li a:hover {
    color: var(--color-primary)
}

@media (max-width: 767.98px) {
    .footer-links {
        justify-content: center;
    }
}

/* -------------------------------- 
    page friends
-------------------------------- */
.friends-list {
    display: flex;
    flex-wrap: wrap;
    margin: -.5rem;
    padding: 1rem 0 0;
}

.friends-list .item {
    padding: .5rem;
}

.friends-list .item-content {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 3rem;
    padding: 0.5rem 1.5rem .5rem .625rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.friends-list .item-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 3rem;
}

@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
    .friends-list .item-content::before {
        -webkit-backdrop-filter: saturate(180%) blur(6px);
        backdrop-filter: saturate(180%) blur(6px);
    }
}

.friends-list .item .item-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: inherit;
    border-radius: 3rem;
    margin-right: .75rem;
    transition: all 0.3s ease-in-out;
}

.friends-list .item .item-name {
    position: relative;
    color: #fff;
}

.friends-list .item:hover .item-avatar {
    transform: rotate(20deg);
}

/* -------------------------------- 
    aside
-------------------------------- */
.mobile-active {
    overflow: hidden;
}

.mobile-aside {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 20rem;
    transition: all .2s ease-in-out;
    z-index: 999;
    transform: translateX(-100%);
    background-color: #fff;
}

.mobile-overflow {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
}

@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
    .mobile-overflow {
        -webkit-backdrop-filter: saturate(180%) blur(6px);
        backdrop-filter: saturate(180%) blur(6px);
    }
}

.mobile-active .mobile-overflow {

    opacity: 1;
    visibility: visible;
}

.mobile-active .mobile-aside {
    transform: translateX(0%);
}

@media (max-width: 767.98px) {
    .mobile-aside {
        width: 18rem;
    }
}

/*-------------------------------------------------------------- 
## Main Navigation 
--------------------------------------------------------------*/
.mobile-aside .aside-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

.mobile-aside .aside-menu {
    padding: 1rem;
}

.mobile-aside .aside-menu li {
    position: relative;
}

.mobile-aside .aside-menu>li {
    padding: .5rem 0;
}

.mobile-aside .aside-menu>li>a {

    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
}

.mobile-aside .aside-menu>li>a:hover,
.mobile-aside .aside-menu>li.current-menu-item>a,
.mobile-aside .aside-menu>li.active>a {
    color: var(--color-primary);
}

.mobile-aside .aside-menu li a {
    position: relative;
    display: block;
    padding: .75rem 1rem;
    transition: all .3s;
}

.mobile-aside .aside-menu li a:hover {
    opacity: 1;
}

.mobile-aside .aside-menu>li.current-menu-item>a {
    color: var(--color-primary);
    opacity: 1;
}

.mobile-aside .aside-menu>li>ul {
    display: none;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    padding: .5rem 0;
    margin: .5rem 0 0;
}

.mobile-aside .aside-menu>li.current-menu-parent>ul {
    display: block;
}

.mobile-aside .aside-menu li>ul li {
    padding-top: 0;
    padding-bottom: 0;
}

.mobile-aside .aside-menu li>ul li a {
    padding: .5rem 1rem;
}


.mobile-aside .aside-menu li>ul li.current-menu-item a {
    color: var(--color-primary);
    opacity: 1;
}

.mobile-aside .aside-menu li a .menu-sign {
    position: absolute;
    right: 15px;
    top: 50%;
    height: 8px;
    width: 8px;
    margin-top: -4px;
    opacity: .5;
}

.mobile-aside .aside-menu li a .menu-sign:after {
    content: "";
    display: block;
    height: 8px;
    width: 8px;
    border-left: 1px solid var(--border-secondary);
    border-bottom: 1px solid var(--border-secondary);
    transform: rotate(225deg);
    transition: all 0.2s;
}

.mobile-aside .aside-menu li a.active .menu-sign:after {
    transform: rotate(315deg);
}

/* -------------------------------- 
      ToTop 
  -------------------------------- */

.totop-progress-parent {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    color: var(--color-primary);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
}

.totop-progress-parent span {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.totop-progress-parent.backto-top-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.totop-progress-parent svg path {
    fill: none;
}

.totop-progress-parent svg.back-circle path {
    stroke: var(--color-primary);
    stroke-width: 5;
    transition: all 200ms linear;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    .totop-progress-parent {
        right: 15px;
        bottom: 60px;
        height: 40px;
        width: 40px;
        font-size: 1.125rem;
    }
}

/*--------------------------------------------------------------
    popup css
--------------------------------------------------------------*/

.nice-popup {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    overflow-x: hidden;
    overflow-y: auto;
}

.nice-popup-open {
    opacity: 1;
    visibility: visible;
}

.nice-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
}

.nice-popup-open .nice-popup-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/*--------------------------------------------------------------
    popup size
--------------------------------------------------------------*/

.nice-popup-body {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    transform: translateY(-40px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
}

.nice-popup-open .nice-popup-body {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.nice-popup-xl .nice-popup-body {
    max-width: 790px;
}

.nice-popup-lg .nice-popup-body {
    max-width: 750px;
}

.nice-popup-md .nice-popup-body {
    max-width: 540px;
}

.nice-popup-sm .nice-popup-body {
    max-width: 300px;
    width: auto;
}

.nice-popup-nopd .nice-popup-body {
    max-width: 340px;
}

@media (min-width:768px) and (max-width:991.98px) {

    .nice-popup-xl .nice-popup-body {
        max-width: 670px;
    }
}

@media (max-width:767.98px) {

    .nice-popup-body {
        width: 95%;
    }

    .nice-popup-xl .nice-popup-body {
        height: 100vh;
    }

    .nice-popup-nopd .nice-popup-body {
        width: 75%;
    }

}

/*--------------------------------------------------------------
    popup content
--------------------------------------------------------------*/

.nice-popup-content {
    background: #fff;
    padding: 1.75rem;
    position: relative;
    border-radius: 6px;
    border-radius: var(--border-radius-md);
}

.nice-popup-xl .nice-popup-content {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.nice-popup-sm .nice-popup-content {
    padding: 1.75rem 2.5rem;
}

.nice-popup-nopd .nice-popup-content {
    padding: 0;
}

@media (max-width:767.98px) {

    .nice-popup-xl .nice-popup-body .nice-popup-content {
        box-shadow: none;
        border-radius: 0;
        height: 100vh;
    }

    .nice-popup-xl .nice-popup-close .svg-white {
        width: 20px;
        height: 20px;
    }

    .nice-popup-xl .nice-popup-close .svg-dark {
        display: none;
        width: 20px;
        height: 20px;
    }
}


/*--------------------------------------------------------------
    error content
--------------------------------------------------------------*/
.nice-popup-error {
    align-items: flex-start;
}

.nice-popup-error .nice-popup-content {
    text-align: center;
    padding: .5rem 1.5rem;
    border: 0;
    color: #fff;
    border-radius: 50px !important;
    background-color: rgba(0, 0, 0, .9);
    transition: all .3s ease-in-out;
    transform: scale(.8);
}

.nice-popup-error.nice-popup-open .nice-popup-content {
    padding: 1rem 2.5rem;
    transform: scale(1.0);
}

@media (max-width: 991.98px) {
    .nice-popup-error .nice-popup-content {
        font-size: .75rem;
    }

    .nice-popup-error.nice-popup-open .nice-popup-content {
        padding: .75rem 2.5rem;
    }
}

/*--------------------------------------------------------------
    hidden body
--------------------------------------------------------------*/

.nice-popup-hidden {
    overflow: hidden;
}

/*--------------------------------------------------------------
    tips close btn
--------------------------------------------------------------*/

.nice-popup-close {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    cursor: pointer;
    text-align: center;
    transform: translateY(25%);
}

.nice-popup-close .svg-white {
    display: inline-block;
    background-image: url("../fonts/e8b82c01a3c14af488f13249e47a8bc7.woff");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 28px;
    height: 28px;
}

.nice-popup-close .svg-dark {
    display: none;
    background-image: url("../fonts/e700aabb8a70407ba0f3339a88312405.woff");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 28px;
    height: 28px;
}

@media (max-width:767.98px) {

    .nice-popup-xl .nice-popup-close {
        bottom: auto;
        left: auto;
        top: 10px;
        right: 10px;
        width: auto;
    }
}

/*--------------------------------------------------------------
    tags list
--------------------------------------------------------------*/

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin: -.5rem;
}

.tags-list li {
    padding: .5rem;

}

.tags-list a {
    position: relative;
}

.tags-list a span {
    position: relative;
    top: -.125rem;
    right: -0.25rem;
    font-size: 65%;
    padding: 0.125rem 0.375rem;
    background-color: var(--btn-light);
    border-radius: var(--border-radius-sm);
    color: var(--color-secondary);
}

/*--------------------------------------------------------------
    cats list
--------------------------------------------------------------*/
.cats-list {}

.cats-list .item {
    position: relative;
}

.cats-list .item-content {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.cats-list .item-content a {
    color: #fff;
}

@supports ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
    .cats-list .item-content {
        -webkit-backdrop-filter: saturate(180%) blur(4px);
        backdrop-filter: saturate(180%) blur(4px);
    }
}

@media (max-width: 767.98px) {
    .cats-list .media-2x1:after {
        padding-top: 50%;
    }
}

/*--------------------------------------------------------------
    timeline list
--------------------------------------------------------------*/

.timeline-list {
    position: relative;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--gray-3);
}

.timeline-list .item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.timeline-list .item:last-child {
    margin-bottom: 0;
}

.timeline-list .item-dot {
    position: absolute;
    left: 4px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: #fff;
    border: 2px solid var(--border-secondary);
}

.timeline-list .item:first-child .item-dot {
    box-shadow: 0 0 0 4px rgb(225 230 255);
    background-color: var(--bg-primary);
    border: 2px solid var(--bg-primary);
}

.timeline-card .item-date.year {
    position: relative;
    top: -.5rem;
}

.timeline-card .item-body {
    padding: 1rem 1.25rem;
    border-top-left-radius: 0;
}

/*--------------------------------------------------------------
    author info
--------------------------------------------------------------*/
.author-info .author-cover {
    position: relative;
    height: 240px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.author-info .author-meta {
    position: relative;
    padding: 0 2rem 2rem;
}

.author-info .author-avatar {
    position: relative;
    width: 128px;
    height: 128px;
    margin-top: -64px;
}

.author-info .author-content {
    padding: 1.25rem 0 0 2rem;
}

@media (max-width: 767.98px) {
    .author-info .author-cover {
        height: 120px;
    }

    .author-info .author-meta {
        position: relative;
        padding: 3rem 1.5rem 1rem;
        text-align: center;
    }

    .author-info .author-avatar {
        position: absolute;
        width: 80px;
        height: 80px;
        left: 50%;
        top: 0;
        transform: translate(-50%, 20%);
    }

    .author-info .author-content {
        padding: 0;
    }
}

/*--------------------------------------------------------------
    index cat column
--------------------------------------------------------------*/
.index-cat-column .item {
    position: relative;
    border-radius: var(--border-radius-sm);
}

.index-cat-column .item .item-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .25rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/*--------------------------------------------------------------
    post share
--------------------------------------------------------------*/
.share-link .btn {
    background-color: rgb(56 88 246 / 25%);
    border-color: rgb(56 88 246 / 25%);
    color: #3858F6;
}

.share-qq .btn {
    background-color: rgb(18 183 245 / 25%);
    border-color: rgb(18 183 245 / 25%);
    color: #12b7f5;
}

.share-weibo .btn {
    background-color: rgb(255 130 0 / 25%);
    border-color: rgb(255 130 0 / 25%);
    color: #ff8200;
}

.share-link .btn:hover,
.share-qq .btn:hover,
.share-weibo .btn:hover {
    opacity: .65;
}

/*--------------------------------------------------------------
 svg icons
--------------------------------------------------------------*/

.icon-svg {
    display: inline-block;
    vertical-align: middle;
}

.svg-sm {
    width: 96px;
    height: 96px;
}

.svg-lg {
    width: 180px;
    height: 180px;
}

@media (max-width: 767.98px) {
    .svg-lg {
        width: 140px;
        height: 140px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .svg-lg {
        width: 160px;
        height: 160px;
    }
}

.svg-404 {
    background-image: url('../fonts/22da9889e81244c2b6e305575f1fc670.woff');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.svg-empty {
    background-image: url('../fonts/f348bcb846134b09b16718e998719634.woff');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.svg-nocomment {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('../fonts/d6f1cf48d83b4c3f81462af65c64650c.woff');
}

.dark .svg-nocomment {
    opacity: .6;
    background-image: url('../fonts/a79a8cb97503443d895f66b2482840f0.woff');
}

.dark .svg-empty {
    opacity: .6;
    background-image: url('../fonts/9d5bf5f4c1614141bff5253f66412860.woff');
}

.svg-admin {
    position: relative;
    width: 18px;
    height: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../fonts/e6b34433db0c4a258a49b595773a6605.woff');
    margin: 0 0 0 .25rem;
}

/*--------------------------------------------------------------
 toc
--------------------------------------------------------------*/

.toc {
    max-height: 450px;
    overflow: hidden;
    overflow-y: auto;
}

.toc-list {
    position: relative;
}

.toc-list li {
    position: relative;
    margin: 0 0 .75rem;
    padding-left: 1.5rem;
}

.toc-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
    background-color: var(--bg-dark);
    opacity: .2;
}

.toc-list li:last-child {
    margin: 0;
}

.toc-list .toc-list li {
    margin: .75rem 0 0;
}

.toc-list .toc-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
}

.toc-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    opacity: .6;
}

.toc-link:hover,
.toc-link.is-active-link {
    color: var(--color-primary);
    opacity: 1
}

.toc-list .is-active-li::before {
    border-color: var(--bg-primary);
    background-color: var(--bg-primary);
    opacity: 1;
}

.toc::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}

.toc::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: var(--bg-secondary);
}

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

/*--------------------------------------------------------------
    Pagination
--------------------------------------------------------------*/
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.pagination .page-number,
.pagination .extend {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    padding: 0 0.375rem;
    margin: 0.25rem;
    background-color: var(--btn-light);
    color: var(--color-muted);
    border-radius: 100%;
}

.pagination .page-number:hover,
.pagination .extend:hover,
.pagination .page-number.current {
    color: #fff;
    background-color: var(--btn-primary);
}

/*--------------------------------------------------------------
    links
--------------------------------------------------------------*/
.links .item .link-avatar img {
    border: 2px solid #fff;
    transition: all 0.3s ease-in-out;
}

.links .item:hover .link-avatar img {
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
}

.links .item .link-desc {
    opacity: .8;
}

/*--------------------------------------------------------------
    moments
--------------------------------------------------------------*/
.moments-list .item {
    padding: 1.5rem 1.5rem 1.5rem 5rem;
}

.moments-list .item .author-avatar {
    width: 48px;
    height: 48px;
    position: absolute;
    left: 1.25rem;
}

.moments-list .item .author-avatar .avatar-badge {
    width: 20px;
    height: 20px;
    transform: translate(10%, 10%);
}

.moments-list .item .author-name {
    display: inline-block;
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.moments-list .item .moment-like-taggle.active {
    color: #ff307c
}

.moments-list .item .item-video {
    position: relative;
}

.moments-list .item .item-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.moments-list .item .item-video .play-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent white;
}

@media (max-width: 767.98px) {
    .moments-list .item {
        padding: 1rem 1rem 1rem 4rem;
    }

    .moments-list .item .author-avatar {
        width: 32px;
        height: 32px;
        position: absolute;
        left: 1.25rem;
    }
}

/*--------------------------------------------------------------
    site recommend
--------------------------------------------------------------*/
.site-recommend {
    position: relative;
}

.site-recommend img {
    max-width: 100%;
    width: 100%;
}

/*--------------------------------------------------------------
    photos-group
--------------------------------------------------------------*/

.photos-group:last-child {
    margin-bottom: 0 !important;
}

.photos-list .item {
    position: relative;
}

.photos-list .item .media-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.photos-list .item:hover .media-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
}

.photos-list .item .item-actions {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
}

.photos-list .item .item-actions a {
    color: #fff;
}

.photos-list .item .item-actions a:hover,
.photos-list .item .item-actions a:active,
.photos-list .item .item-actions a:focus {
    color: var(--color-dark);
    background-color: var(--bg-primary);
    background-color: var(--bg-primary);
}

.photos-list .item .item-catname {
    position: absolute;
    top: .75rem;
    left: .75rem;
    font-size: .75rem;
    padding: .1875rem .625rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 3rem;
    z-index: 2;
}

/*--------------------------------------------------------------
    hljs-ln-numbers
--------------------------------------------------------------*/
.hljs {
    border-radius: var(--border-radius-sm);
}

.hljs-ln-numbers {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    color: #ccc;
    vertical-align: top;
    padding-right: 5px !important;
}

.hljs .hljs-ln {
    margin: 0;
}

.hljs-ln-code {
    padding-left: 10px !important;
}

/*--------------------------------------------------------------
   Dark mode
--------------------------------------------------------------*/

.dark body {
    background-color: var(--dark-bg-body);
    color: var(--dark-color-body);
}

.dark a {
    color: var(--dark-color-dark);
}

.dark h1>a,
.dark h2>a,
.dark h3>a,
.dark h4>a,
.dark h5>a,
.dark h6>a,
.dark .h1>a,
.dark .h2>a,
.dark .h3>a,
.dark .h4>a,
.dark .h5>a,
.dark .h6>a {
    color: var(--dark-color-dark);
}

.dark h1>a:hover,
.dark h2>a:hover,
.dark h3>a:hover,
.dark h4>a:hover,
.dark h5>a:hover,
.dark h6>a:hover,
.dark .h1>a:hover,
.dark .h2>a:hover,
.dark .h3>a:hover,
.dark .h4>a:hover,
.dark .h5>a:hover,
.dark .h6>a:hover {
    color: var(--color-primary);
}

.dark th,
.dark td {
    border-color: var(--dark-bg-light);
}

.dark th {
    background: var(--dark-bg-light);
}

/* Inputs ------------------------------------ */
.dark input,
.dark textarea {
    border-color: var(--dark-bg-light);
    color: var(--dark-text-dark);
}

/* Quotes ------------------------------------ */
.dark blockquote {
    background-color: var(--dark-bg-light);
}

/*--------------------------------------------------------------
Font color style
--------------------------------------------------------------*/

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

.dark .text-secondary {
    color: var(--dark-color-secondary) !important;
}

.dark .text-muted {
    color: var(--dark-color-muted) !important;
}

.dark .text-light {
    color: var(--dark-color-light) !important;
}

/*--------------------------------------------------------------
  Buttons
  --------------------------------------------------------------*/
.dark .btn.disabled,
.dark .btn:disabled {
    color: var(--dark-bg-muted);
    border-color: var(--dark-bg-light);
    background-color: var(--dark-bg-light);
}

/*--------------------------------------------------------------
  btn secondary style
  --------------------------------------------------------------*/
.dark .btn-secondary {
    color: var(--dark-color-light);
    background-color: var(--dark-bg-secondary);
    border-color: var(--dark-bg-secondary);
}

.dark .btn-secondary:hover,
.dark .btn-secondary:focus,
.dark .btn-secondary.active,
.dark .btn-secondary:active {
    color: #fff;
    background-color: var(--dark-bg-light);
    border-color: var(--dark-bg-light);
}

/*--------------------------------------------------------------
  btn light style
  --------------------------------------------------------------*/
.dark .btn-light {
    background-color: var(--dark-bg-light);
    border-color: var(--dark-bg-light);
    color: var(--dark-color-muted);
}

.dark .btn-light:hover,
.dark .btn-light:focus,
.dark .btn-light:active,
.dark .btn-light.active {
    background-color: var(--dark-bg-light);
    border-color: var(--dark-bg-light);
    color: var(--dark-color-dark);
}

.dark .btn-light.disabled,
.dark .btn-light:disabled {
    background-color: var(--dark-bg-light);
    border-color: var(--dark-bg-light);
    color: var(--dark-color-muted);
    cursor: not-allowed;
}

/*--------------------------------------------------------------
  btn dark style
  --------------------------------------------------------------*/
.dark .btn-dark {
    background-color: var(--dark-bg-dark);
    border-color: var(--dark-bg-dark);
    color: var(--dark-color-light);
}

.dark .btn-dark:hover,
.dark .btn-dark:focus,
.dark .btn-dark.active,
.dark .btn-dark:active {
    background-color: var(--dark-bg-secondary);
    border-color: var(--dark-bg-secondary);
    color: #fff;
}

/*--------------------------------------------------------------
  btn link style
  --------------------------------------------------------------*/
.dark .btn-link {
    color: var(--dark-color-muted);
}

.dark .btn-link:hover,
.dark .btn-link:focus,
.dark .btn-link.active,
.dark .btn-link:active {
    color: var(--dark-color-dark);
    background-color: var(--dark-bg-light);
    border-color: var(--dark-bg-light);
}

.dark .btn-link:disabled,
.dark .btn-link.disabled {
    background-color: var(--dark-bg-light);
    border-color: var(--dark-bg-light);
    color: var(--dark-color-muted);
}

/*--------------------------------------------------------------
  btn outline light style
  --------------------------------------------------------------*/

.dark .btn-outline-light {
    color: var(--dark-color-muted);
    border-color: var(--dark-bg-light);
    background-color: var(--dark-bg-light);
}

.dark .btn-outline-light:hover,
.dark .btn-outline-light:focus,
.dark .btn-outline-light:active,
.dark .btn-outline-light.active {
    color: var(--dark-color-dark);
    border-color: var(--dark-bg-light);
    background-color: var(--dark-bg-light);
}

/*--------------------------------------------------------------
  btn outline light style
  --------------------------------------------------------------*/
.dark .btn-icon small {
    border-color: var(--dark-bg-secondary);
}

/*--------------------------------------------------------------
  border
  --------------------------------------------------------------*/

.dark .border-secondary {
    border-color: var(--dark-bg-secondary) !important;
}

.dark .border-light {
    border-color: var(--dark-bg-light) !important;
}

/*--------------------------------------------------------------
    card style
  --------------------------------------------------------------*/
.dark .card,
.dark .block {
    background-color: var(--dark-bg-secondary);
    border-color: var(--dark-bg-secondary);
}

.dark .card:hover,
.dark .block:hover {
    border-color: var(--dark-bg-secondary);
}

/*--------------------------------------------------------------
    Site Navigation style
  --------------------------------------------------------------*/
.dark .site-navbar,
.dark .site-footer {
    background-color: var(--dark-bg-white);
}

.dark .site-navbar {
    color: var(--dark-bg-secondary);
}

.dark .site-navbar.navbar-sticky {
    background-color: rgb(var(--dark-bg-secondary) / 80%);
}

.dark .navbar-site li a {
    color: var(--dark-color-secondary);
}

.dark .navbar-site>li:hover a,
.dark .navbar-site>li.current-menu-item>a {
    color: var(--dark-color-dark);
}

.dark .navbar-site li ul.sub-menu {
    background-color: var(--dark-bg-dark);
}

.dark .navbar-site li ul.sub-menu li a {
    color: var(--dark-color-muted);
}

.dark .navbar-site li ul.sub-menu li a:hover,
.dark .navbar-site li ul.sub-menu li.current-menu-item>a {
    color: var(--dark-color-dark);
}

.dark .navbar-site li ul.sub-menu .sub-menu {
    background: var(--dark-bg-secondary);
}

.dark .navbar-site li.menu-item-has-children>a .menu-sign:after {
    border-left-color: var(--color-muted);
    border-bottom-color: var(--color-muted);
}

.dark .navbar-site li.menu-item-has-children>a .menu-sign:after {
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

/*--------------------------------------------------------------
    Header style
  --------------------------------------------------------------*/
.dark .switch-dark-mode {
    color: var(--color-warning);
    background-color: transparent;
    border-color: transparent;
}

.dark .switch-dark-mode:hover {
    background-color: rgba(255, 132, 56, 0.1);
    border-color: rgba(255, 132, 56, 0.1);
    color: var(--color-warning);
}

/*--------------------------------------------------------------
    Tabmenu style
  --------------------------------------------------------------*/

.dark .posts-tabmenu li a:hover,
.dark .posts-tabmenu li.active a {
    background-color: var(--bg-primary);
    border-color: var(--bg-primary);
    color: #fff
}

/*--------------------------------------------------------------
    Post style
--------------------------------------------------------------*/

.dark .post-content h1,
.dark .post-content h2,
.dark .post-content h3,
.dark .post-content h4,
.dark .post-content h5,
.dark .post-content h6 {
    color: var(--dark-color-dark);
}

.dark .post-content h2 {
    border-color: var(--dark-bg-light);
}

/*--------------------------------------------------------------
    Post table style
--------------------------------------------------------------*/

.dark .post-content>table th,
.dark .post-content>table td {
    border: .0625rem solid var(--gray-6);
}

.dark .post-content>table tr:hover>th,
.dark .post-content>table tr:hover>td {
    background-color: #3e3e3e
}

/*--------------------------------------------------------------
  post prevnext
  --------------------------------------------------------------*/

.dark .post-prevnext a {
    background-color: var(--dark-bg-light);
}

/* -------------------------------- 
    widget
  -------------------------------- */

.dark .widget-tags li small,
.dark .widget-cats li small {
    background-color: var(--dark-bg-secondary);
}

/* -------------------------------- 
    aside
-------------------------------- */

.dark .mobile-aside {
    background-color: var(--dark-bg-dark);
}

.dark .mobile-aside .aside-menu>li>a,
.dark .mobile-aside .aside-menu>li>ul {
    background-color: var(--dark-bg-light);
}


.dark .mobile-aside .aside-menu li a .menu-sign:after {
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

/*--------------------------------------------------------------
   Widget tags list
--------------------------------------------------------------*/

.dark .tags-list a span {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-color-secondary);
}

/*--------------------------------------------------------------
    Widget timeline list
--------------------------------------------------------------*/

.dark .timeline-list::before {
    background-color: var(--dark-bg-light);
}

.dark .timeline-list .item-dot {
    background-color: var(--bg-secondary);
    border-color: #fff;
}

.dark .timeline-list .item:first-child .item-dot {
    box-shadow: 0 0 0 4px rgb(173 185 255);
    border-color: var(--bg-primary);
    background-color: var(--bg-primary);
}

/*--------------------------------------------------------------
    Widget halo style
--------------------------------------------------------------*/

.dark .toc-list li::before {
    border: 2px solid var(--dark-bg-light);
    background-color: var(--dark-bg-light);
    opacity: 1;
}

.dark .toc-list .is-active-li::before {
    border-color: var(--bg-primary);
    background-color: var(--bg-primary);
}

/*--------------------------------------------------------------
    dark pagination style
--------------------------------------------------------------*/
.dark .pagination .page-number,
.dark .pagination .extend {
    background-color: var(--dark-bg-light);
    color: var(--dark-color-muted);
}

.dark .pagination .page-number:hover,
.dark .pagination .extend:hover,
.dark .pagination .page-number.current {
    color: #fff;
    background-color: var(--btn-primary);
}

/*--------------------------------------------------------------
    logo style
--------------------------------------------------------------*/
.dark-logo {
    display: none;
}

.dark .light-logo {
    display: none;
}

.dark .dark-logo {
    display: block;
}

/*--------------------------------------------------------------
    popup style
--------------------------------------------------------------*/
.dark .nice-popup-content {
    background: var(--dark-bg-secondary);
}


/*--------------------------------------------------------------
    dark hljs style
--------------------------------------------------------------*/
.dark .hljs {
    background: var(--dark-bg-light);
}

/*--------------------------------------------------------------
    dark toc style
--------------------------------------------------------------*/

.dark .toc::-webkit-scrollbar-thumb {
    background-color: var(--bg-danger);
}

.dark .toc::-webkit-scrollbar-track {
    background-color: var(--dark-bg-light);
}

/*--------------------------------------------------------------
    dark photos style
--------------------------------------------------------------*/
.dark .photos-list .item .item-actions a {
    color: #fff;
}

.dark .photos-list .item .item-actions a:hover,
.dark .photos-list .item .item-actions a:active,
.dark .photos-list .item .item-actions a:focus {
    color: #fff;
    background-color: var(--bg-primary);
    border-color: var(--bg-primary);
}