/* DESKTOP */
@media (min-width: 768px) {
    #content.shrink aside {
        width: 80px;
    }

    #content.shrink .shrink_toggle {
        transform: rotate(180deg);
    }

    #content.shrink .top_row_logo {
        display: none;
    }

    #content.shrink nav {
        padding-left: 80px;
    }

    #content.shrink aside .legal-link {
        overflow-x: hidden;
        padding: 2px 0;
        font-size: 10px;
        text-align: center;
    }

    #content.shrink aside .title {
        padding: 7px 0;
        text-align: center;
        border: 0;
        display: block;
    }

    #content.shrink aside .title .menu-item-label {
        display: none;
    }

    #content.shrink aside .menu-item .sidebar-badge {
        margin-right: 10px;
        margin-left: -30px;
    }

    #content.shrink aside .subtitles.show_shrink {
        display: block;
    }

    #content.shrink aside .subtitles a {
        padding: 17px 15px 17px 15px;
        transition: 0s;
    }

    .shrink_toggle {
        cursor: pointer;
        text-align: center;
        color: #fff;
        font-size: 25px !important;
        flex-grow: 1;
    }

    #content.shrink aside a.title i {
        font-size: 18px;
        margin-right: 0;
    }

    #content.shrink #search_results {
        left: 80px !important;
        width: calc(100vw - 80px) !important;
    }

    #content.shrink main {
        padding-left: 120px;
    }

    #content.shrink .submenu_item {
        border: 0;
        font-size: 11px;
        padding: 8px 5px;
        text-align: center;
        line-height: 14px;
    }

    #content.shrink .top_row img {
        display: none;
    }

    .mobile_search {
        display: none;
    }

    .close_mobile_search {
        display: none;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    #hamburger {
        float: right;
        padding: 14px 15px 15px 0;
    }

    #search_icon {
        display: none;
    }

    .shrink_toggle .shrink_arrow {
        display: none;
    }

    .badge_name {
        display: none !important;
    }

    aside {
        height: 100% !important;
        transition: .3s ease;
        left: -250px !important;
        max-width: calc(100vw - 60px);
        z-index: 11 !important;
    }

    aside .title {
        padding: 15px 15px 15px 20px !important;
    }

    nav {
        padding: 15px !important;
        width: 100vw !important;
    }

    .nav_mar_r {
        margin-right: 10px !important;
    }

    .top_row img {
        margin: 0 25px !important;
        width: 80%;
    }

    .top_row {
        justify-content: space-between;
    }

    .top_row .mobile_closer {
        color: #fff;
        font-size: 18px !important;
        cursor: pointer;
        display: block !important;
        margin: 0 0 0 18px;
    }

    .search_input_container {
        position: absolute !important;
        top: -100px;
        width: 100% !important;
        max-width: 100% !important;
        transition: all .4s;
        left: 0;
        margin: 0 !important;
        padding: 15px;
        background-color: var(--ci-color);
    }

    .search_input_container.show {
        top: 0;
        transition: all .3s;
        height: 70px;
        justify-content: space-between;
        z-index: 1;
        gap: 30px;
    }

    .mobile_overlay {
        position: absolute;
        top: 0;
        left: 0;
        background: rgb(0 0 0 / 70%);
        z-index: 8;
        height: 100%;
        width: 100vw;
    }

    .mobile_search .top-bar-icon {
        float: left;
        margin-left: 5px;
    }

    .ti-search.top-bar {
        display: none;
    }
}

.top-bar-icon-badge {
    display: inline-block;
    height: 20px;
    width: 20px;
    font-size: 11px;
    border-radius: 50%;
    margin-top: -20px;
    margin-right: -20px;
    text-align: center;
    padding: 3px 0 0 0;
    position: absolute;
    color: var(--ci-color);
    background: var(--ci-color2);
}

.top_row .mobile_closer {
    display: none;
}

.menu_separator {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 20px 10px 10px 15px;
    color: var(--ci-color3);
}

.badge_container {
    display: flex;
    float: right;
    cursor: pointer;
    gap: 20px;
}

.badge_name {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge_full_name {
    color: var(--ci-color3);
    font-size: 15px;
}

.badge_username {
    color: #ddd;
    font-size: 12px;
    line-height: 12px;
    margin-top: 2px;
}

.profile-icon.rotate {
    transform: rotate(180deg);
}

#profile_badge_details {
    position: absolute;
    right: 30px;
    top: -100vh;
    max-width: 100vw;
    padding: 25px 30px 15px;
    z-index: 5;
    background: var(--ci-color);
    width: 350px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.1), 0 11px 6px -7px rgba(43, 43, 43, 0.1);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.1), 0 11px 6px -7px rgba(43, 43, 43, 0.1);
}

#profile_badge_details.show {
    top: 80px;
}

.profile_badge_details__head {
    display: flex;
    align-items: center;
    font-size: 19px;
    font-weight: bold;
    color: var(--ci-color3);
}

.profile_badge_details__item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: #eee;
    line-height: 21px;
}

.profile_badge_details__item i {
    color: var(--ci-color3);
}

a.profile_badge_details__item:hover {
    color: var(--ci-color3);
}

.profile_badge_details__item:not(:last-child) {
    border-bottom: 1px solid var(--ci-color3);
}

.profile_badge_details__item .inner {
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.profile_badge_details__item .inner i {
    padding: 7px;
    margin-right: 15px;
    border-radius: 100%;
    background: var(--ci-color3);
    color: var(--ci-color);
    font-size: 12px;
}

@media (max-width: 767px) {
    #profile_badge_details {
        right: 10px;
    }

    #profile_badge_details:before {
        right: 15px;
    }
}

@media (max-width: 440px) {
    #profile_badge_details {
        max-width: 100%;
        width: calc(100% - 20px);
    }
}

/* SIDEBAR */
aside {
    min-height: 100vh;
    position: absolute;
    width: 250px;
    z-index: 5;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--ci-color);
    padding-bottom: 30px;
    overflow-y: auto;
    overflow-x: hidden;
}

aside.sidebar_open {
    left: 0 !important;
}

.top_row {
    height: 70px;
    display: flex;
    align-items: center;
}

.top_row i {
    font-size: 17px;
}

.top_row_logo {
    flex: 4;
}

.top_row_logo img {
    aspect-ratio: 186 / 50;
}

aside a.title {
    color: #fff;
    font-size: 15px;
    padding: 10px 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .5s, color .5s;
    line-height: 1;
    display: flex;
    align-items: center;
}

aside a.title .menu-item-label {
    flex-grow: 1;
}

aside .legal-nav {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #ffffff33;
    border-bottom: 1px solid #ffffff33;
}

aside .legal-nav * {
    color: #fff;
    font-size: 14px;
    padding: 5px 15px;
    display: block;
    white-space: nowrap;
}

aside a.legal-link:hover {
    color: var(--ci-color2);
}

aside .menu-item.active a.title {
    background: var(--ci-color2);
    color: white;
}

aside .menu-item:hover a.title:not(.active) {
    color: white;
    background: var(--ci-color2);
}

aside a.title:not(.active):hover {
    transition: all .3s;
}

aside a.title i {
    margin-right: 20px;
    font-size: 15px;
    color: inherit;
}

aside.subtitles {
    overflow: hidden;
    transition: all .5s;
    height: 0;
    background-color: #212d3a;
    display: block;
}

aside .subtitles.show {
    height: auto;
    transition: all .5s;
}

aside .subtitles a {
    color: #fff;
    padding: 15px 15px 15px 57px;
    display: block;
    font-size: 13px;
    border-left: 3px solid transparent;
}

aside .subtitles a:hover {
    background-color: #253240;
    border-left-color: #215a88;
}

aside .subtitles i {
    font-size: 11px;
    margin-bottom: 2px;
}

aside .title i.rotate {
    transform: rotate(90deg);
}

nav .mobile_hamburger {
    flex: 1;
    cursor: pointer;
}

nav .mobile_hamburger .top-bar-icon {
    margin-left: 0;
}

@media (min-width: 768px) {
    nav .mobile_hamburger {
        display: none;
    }
}

/* TOP NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 70px;
    z-index: 5;
    padding: 15px 40px 15px 251px;
    -webkit-box-shadow: 0 2px 4px 0 rgba(43, 43, 43, 0.1);
    box-shadow: 0 2px 4px 0 rgba(43, 43, 43, 0.1);
    background: var(--ci-color);
}

.top-bar-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    transition: all .3s ease;
    border: 1px solid;
    border-radius: 30px;
    height: 42px;
    width: 42px;
    border-color: var(--ci-color3);
    color: var(--ci-color3) !important;
    position: relative;
}

.top-bar-icon i {
    color: var(--ci-color3) !important;
}

.top-bar-icon.active {
    background-color: var(--ci-color2);
    color: var(--ci-color);
}

.top-bar-icon .count-badge {
position: absolute;
    top: 0;
    right: 0;
    height: 19px;
    width: 19px;
    color: #fff;
    background: red;
    border-radius: 100%;
    font-size: 12px;
    margin-top: -5px;
    margin-right: -5px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.menu-item .sidebar-badge {
    height: 16px;
    width: 16px;
    color: #fff;
    background: red;
    border-radius: 100%;
    font-size: 11px;
    line-height: 17px;
    text-align: center;
    float: right;
    font-weight: bold;
}

/* MENU */
form.global-search {
    width: 300px;
    align-items: center;
    position: relative;
    margin-left: 40px;
    display: flex;
    flex: 10;
}

form.global-search .form-control-container {
    margin-bottom: 0;
    margin-top: 0;
}

form.global-search button {
    background: transparent;
    border-color: var(--ci-color3);
    color: var(--ci-color3);
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 12px;
    margin-top: 0;
}

form.global-search button:hover {
    background: transparent;
    border-color: var(--ci-color3);
    color: var(--ci-color2);
}

form.global-search button i {
    font-size: 16px;
}

form.global-search .form-control-container .form-control {
    background-color: transparent;
    color: #fff;
    border-color: var(--ci-color3);
    padding-right: 40px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    outline: 0;
}

@media (max-width: 767px) {
    .top_row .brand {
        font-size: 24px;
        margin-left: 27px;
    }

    form.global-search {
        margin-left: 20px;
    }
}

.brand {
    margin-left: 10px;
    line-height: 70px;
    font-size: 17px;
    letter-spacing: 1px;
    font-weight: bold;
    color: var(--ci-color2);
}

.sub_nav_times_container {
    border-left: 5px solid var(--ci-color3);
    display: none;
}

.menu-item.active .sub_nav_times_container {
    display: block;
}

.menu-item .submenu_item {
    color: var(--text);
    font-size: 13px;
    padding: 8px 17px;
    cursor: pointer;
    display: block;
    background-color: #fff;
    transition: .5s ease all;
}

.menu-item .submenu_item:hover {
    color: #000;
}

.menu-item .submenu_item:not(:last-child) {
    border-bottom: 1px solid var(--ci-color2);
}

.mobile_search {
    cursor: pointer;
}

.close_mobile_search {
    cursor: pointer;
}

.close_mobile_search .top-bar-icon {
    margin: 0;
}