/* PC BIG Lower */
@media only screen and (max-width: 1650px) {
}

/* PC BIG Lower */
@media only screen and (max-width: 1601px) {
    .details-search {
        width: 22%;
    }
}

@media only screen and (max-width: 1441px) {
    .details-sort__show {
        display: block;
    }

    .details-sort__more {
        height: 0px;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.4s,
            height 0.4s,
            visibility 0.4s;
    }

    .details-sort__option {
        flex-direction: column;
    }

    .details-sort__more.active {
        margin-top: 14px;
        height: 62px;
        opacity: 1;
        visibility: visible;
    }
}

@media only screen and (max-width: 1366px) {
}

@media only screen and (max-width: 1283px) {
}

@media only screen and (min-width: 63.9375em) and (max-width: 1240px) {
    .horizontal-menu .bottom-navbar .header-nav__list {
        width: 59%;
    }
}

/* Mobile & tablet */
@media only screen and (max-width: 63.9375em) {
    .details-sort__filter {
        flex-direction: column-reverse;
    }

    .details-search {
        width: 100%;
    }

    .details-table__header {
        display: none;
    }

    .details-table__cover {
        position: relative;
        flex-direction: column;
    }

    .details-mobile__text {
        --sizeStt: 30px;
        width: var(--sizeStt);
        height: var(--sizeStt);

        display: flex;
        align-items: center;
        justify-content: center;

        color: var(--main-color);
        font-weight: 600;
        border-radius: 50%;
        background-color: #65afff1c;
    }

    .details-table {
        border: 0;
    }

    .details-table__text {
        z-index: 1;
        width: 100% !important;
    }

    .details-table__text:nth-child(1) {
        position: absolute;
        right: 0px;
        top: 2px;
        z-index: 0;

        min-height: auto;
        justify-content: flex-end !important;
    }

    .details-mobile__sub {
        display: block;
    }

    .details-table__text,
    .details-table__title {
        padding: 3px 14px;
        justify-content: flex-start !important;
    }

    .details-table__cover {
        padding: 10px 0 0;
    }

    .details-table__more {
        padding: 0 14px 16px !important;
        visibility: visible;
        opacity: 1;
        height: auto;
        justify-content: flex-end;
    }

    .details-table__item:hover .details-table__more {
        height: auto;
    }

    .details-table__item:hover {
        background-color: transparent;
    }

    .details-table__item {
        border-radius: 8px;
        border: 1px solid var(--bs-border-color);
        /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
    }

    .details-table__item + .details-table__item {
        margin-top: 10px;
    }

    .details-sort__option {
        width: 100%;
    }

    .details-sort__default {
        width: 100%;
        /* flex-wrap: wrap; */
    }

    .details-sort__filter {
        position: sticky;
        top: 55px;
        z-index: 10;
        background-color: #fff;
    }

    .details-sort__date .input-group {
        width: 100% !important;
    }

    .details-sort__date + .details-sort__date {
        margin-left: 10px;
    }

    .header-nav__cover {
        flex-direction: column-reverse;
    }

    .header-nav__list {
        flex-direction: row;
    }

    .header-search {
        width: 100%;
        margin: 12px 0 0px;
    }

    .header-search__input {
        padding: 8px 12px 8px 32px;
    }

    .header-nav__cover {
        margin-bottom: 6px;
    }

    .horizontal-menu .bottom-navbar .page-navigation > .nav-item {
        width: 50%;
    }

    .horizontal-menu .bottom-navbar .header-nav__list {
        width: 100%;
    }

    .horizontal-menu .bottom-navbar .page-navigation > .nav-item > .nav-link {
        padding: 16px 10px;
    }
}

/* Tablet */
@media only screen and (min-width: 46.25em) and (max-width: 63.9375em) {
    .details-mobile__sub {
        min-width: 165px;
    }

    .details-sort__time + .details-sort__money {
        margin-left: 10px;
    }

    .details-table__activity {
        justify-content: flex-end;
    }
}

/* Mobile */
@media only screen and (max-width: 46.1875em) {
    .details-mobile__sub {
        min-width: 90px;
        width: 90px;
        line-height: 1.3;
        margin-top: 2px;
    }

    .details-sort__more.active {
        margin-top: 10px;
        height: 132px;
        flex-direction: column;
    }

    .details-sort__more.special.active {
        height: 71px;
    }

    .details-table__text {
        align-items: flex-start;
    }

    .details-table__more {
        padding: 12px 14px 13px !important;
    }

    .details-sort__other {
        font-size: 12px;
        padding: 8px 6px;
    }

    .details-sort__other span {
        display: none;
    }

    .details-sort__other svg {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }

    .details-sort__show {
        display: flex;
    }

    .details-sort__show span {
        display: block;
    }

    .details-sort__link {
        font-size: 13px;
        padding: 6px 12px 10px;
    }

    .details-sort__select {
        width: 100%;
    }

    .details-sort__default {
        flex-wrap: nowrap;
    }

    .details-sort__cover {
        margin-top: 14px;
        padding: 14px 14px 4px;
    }

    .details-sort__add {
        font-size: 12px;
        padding: 7px 10px 7px 10px;
    }

    .details-sort__add svg {
        width: 18px;
        height: 18px;
        margin-right: 2px;
    }

    .details-sort__nav {
        margin-right: 12px;
    }

    .details-search {
        margin-top: 14px;
    }

    .details-table {
        margin-top: 16px;
    }

    .details-table__text,
    .details-table__title {
        padding: 5px 14px;
    }

    .details-table__footer {
        flex-direction: column-reverse;
    }

    .details-table__footer > div {
        width: 100%;
    }

    .details-table__position {
        width: 100%;
    }

    .details-table__position .details-table__select {
        width: 56px;
    }

    .details-table__footer .pagination {
        justify-content: center;
    }

    .details-sort__cover {
        padding: 14px 14px 26px;
    }

    .details-edit__label {
        min-width: 114px;
    }

    .details-add .modal-dialog {
        max-width: 98%;
    }

    .details-table__bank {
        text-align: left;
    }

    .details-table__cover {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0;

        height: 100%;
        overflow-y: hidden;
        transition: max-height 0.4s;
    }

    /* .details-table__cover.show {
        max-height: 100%;
    } */

    .details-table__text:nth-child(5) {
        grid-row: 4/5;
    }

    .details-table__create span,
    .details-table__bank span {
        margin-top: 1px;
        display: block;
    }

    .details-table__extra {
        display: flex;
    }

    .details-add__title {
        line-height: 1.4;
        font-size: 14px;
        align-items: flex-start;
    }

    .details-add__title svg {
        display: none;
    }

    .details-edit .modal-header {
        padding: 16px 12px 12px;
    }

    .details-edit__group {
        align-items: center;
    }

    .details-edit__group:last-child {
        flex-direction: column;
        align-items: flex-start;
    }

    .details-edit__group .details-edit__label {
        margin-top: 4px;
        margin-bottom: 6px;
    }

    .details-edit__group textarea {
        min-height: 110px !important;
    }

    .category-card__link .card-body {
        padding: 14px 16px;
    }

    .category-card__link .card-body svg {
        margin-top: 0 !important;
    }

    .category-card__title {
        min-height: auto;
    }

    .category-card .stretch-card {
        margin-bottom: 14px;
    }

    .horizontal-menu .navbar .navbar-content .navbar-nav .nav-item.theme-switcher-wrapper h6 {
        display: none;
    }

    .category-card__cover {
        flex-direction: row !important;
        justify-content: space-between !important;
    }
}
