.item-content {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-weight: 700;
}

.item-description {
    color: rgb(0,0,0,.4);
}

.sidebar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0 1em .7em;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-navigation .left.side,
.sidebar-navigation .left.side span
{
    display: flex;
    align-items: center;
    color: #3D0B71;
}

.sidebar-navigation .left.side i.icon {
    font-size: 1.5em;
    margin: 0 .3em;
}

/* Course menu header */
.course-menu-header {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    width: 100%;
    padding-left: 1em;
    height: 3em;
    align-items: center;
    margin-top: .5em;
    margin-bottom: .5em;
    line-height: normal;
}

.course-menu-header.student-header {
    color: var(--primary-color);

    justify-content: flex-start;
    gap: 2em;
}

.course-menu-header:hover a {
    text-decoration: none;
}

.course-menu-header .course-search-component {
    width: calc(100% - 2.5em);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
    padding-left: .5em;
    gap: .5em;
    padding-right: 0.5em;
}

.course-menu-header .course-search-component:hover {
    background: var(--primary-color);
    color: var(--gray_2);
}

.course-menu-header .course-search-segment {
    position: absolute;
    left: calc(var(--sidebar-open-width) + 1em);
    top: 0;
    min-width: 30em;
    display: none;
    scrollbar-color: inherit;
    scrollbar-width: inherit;
}

.course-menu-header #course-search-icon {
    display: flex;
    justify-content: center;
    margin: 0;
    transition: transform .1s ease,opacity .1s ease;
}

.course-menu-header #course-search-icon {
    transform: rotate(-90deg);
    height: 1em;
    width: 1em;
}


.course-menu-header #course-search-icon.active {
    transform: none;
}

.course-search-segment .course {
    display: flex;
    padding: .5em;
    justify-content: flex-start;
    gap: 1em;
    align-items: center;
    cursor: pointer;
    border: 1px solid transparent; /* So that height doesn't change when hovering */
    color: inherit;

}

.course-search-segment .course-wrapper:first-child {
    margin-bottom: 0;
}

.course-search-segment .course-wrapper {
    margin-top: 1em;
}

.course-search-segment .divider.fitted.divider {
    margin-top: 1em;
    margin-bottom: 1em;
}

.course-search-segment .course:hover {
    background: var(--primary-color);
    color: var(--gray_2);
    border: 1px solid #D4D1FC;
}

.course-search-segment .course:hover .item-description {
    color: var(--gray_2);
}

.course-search-segment .course:first-child {
    margin-top: 1em;
}

.course-search-segment img{
    width: 3em;
    border-radius: 50%;
}

.course-search-segment .ui.info.message:first-child {
    margin-top: 1em;
}

.mindz-custom-sidebar .menu-item .menu-icon {
    font-size: 1.8rem !important;
    min-width: unset;
}

.submenu-header {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 16px;
}

.submenu-header .menu-icon {
    font-size: 1.4em !important;
    margin: 0;
}

.submenu-header .submenu-title {
    display: flex;
    align-items: center;
    line-height: 1;
}

#sidebar-content .back-button {
    font-size: 1.2rem !important;
}