/* Remove underline on links */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

h1 {
    font-weight: 100;
    font-size: 3rem;
    color: black;
}

h2 {
    font-weight: 100;
    font-size: 1.8rem;
    color: black;
}

h3 {
    font-weight: 100;
    font-size: 1.8rem;
    color: black;
}

h5 {
    font-weight: 300;
    font-size: 20px;
    color: black;
}

a {
    /* text-decoration: none,     */
    color: black;
}

/* TOP NAV */

/* Expanded state */
@media (min-width: 768px) {
    .navbar-expanded {
        display: block;
    }

    .navbar-collapsed {
        display: none;
    }
}

/* Collapsed state */
@media (max-width: 768px) {
    .navbar-expanded {
        display: none;
    }

    .navbar-collapsed {
        display: block;
    }
}

.account-dropdown {
    /* Keep dropdown from expanding navbar */
    position: absolute !important;
}


/* SIDE NAV */
@media (min-width: 768px) {
    .sidebar-nav {
        display: block;
        width: 200px;
    }
}

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

.sidebar-item {
    font-size: normal;
}

.sidebar-active {
    font-size: larger;
    font-weight: bolder;
}

/* COURSE NAV */
@media (min-width: 768px) {
    .course-nav {
        display: block;
        width: 250px;
    }
}

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

.course-nav-module {
    font-weight: 400;
    font-size: 1rem;
    border-width: 10px;
    border-color: var(--bs-primary);
    /* background-color: #C0C0C0; */
}

.course-nav-lecture {
    font-weight: 200;
    font-size: 1rem;
}

.course-nav-active {
    font-weight: bold;
    font-size: 1rem;
}

/* Course list */
.image-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-list-item {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    width: 300px;
    height: 300px;
    overflow: hidden;
    margin: 10px;
    border-radius: 5px;
    border: 1px solid gray;
}

.image-list-thumbnail {
    display: flex;
    justify-content: center;
    width: 300px;
    height: 200px;
}

.image-list-placeholder-icon {
    color: #c0c0c0;
    padding-top: 30px;
}

.image-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-list-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    padding: 10px;
}

/* Profile pages */
.circle-initials {
    background: var(--bs-primary);
    color: white;
    padding: 20px;
    border-radius: 50%;
    font-size: 48px;
}

/* Media */
.media-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
}

.media-info {
    font-size: 0.8em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Utils */
.circle-icon {
    background: var(--bs-primary);
    color: white;
    padding: 10px;
    border-radius: 50%;
}

.vertical-center {
    /* margin: 0; */
    top: 50%;
}

.pointer {
    cursor: pointer;
}

.grab-cursor {
    cursor: grab;
}

.div-hover:hover {
    background: #f5f5f5;
}

.impersonation-box {
    position: absolute;
    top: 0%;
    right: 70px;
    background-color: #e01010;
    padding: 3px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: white;
    font-size: 14px;
    opacity: 0.7;
}

/* Video player */
.xvideo .status-background {
    position: relative;
    border-radius: 5px;
    background: #e0e0e0;
    aspect-ratio: 16 / 9;
}

.xvideo .xycenter {
    position: absolute;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}