html {
    font-size: calc(1em * .625);
    font-family: 'sans-serif';
}

.showSideNav {
    position: absolute;
    top: 55px;
    font-size: 0.9rem;
    left: 0px;
    z-index: 9;
    background: #7665a0;
    height: 100vh;
    transition: 0.5s;
}

.showSideNav > span > i {
    color: white;
    top: calc(50vh - 55px);
    position: relative;
}

body {
    color: #252423 !important;
    font-family: "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif !important;
    font-size: 1.4rem !important;
    background: #f3f2f1 !important;
}

.nav_active {
    background: #795548;
    padding: 25px 10px;
    top: 8px !important;
    position: relative;
    color: #ffffff;
    background: linear-gradient(180deg, rgb(0 0 0 / 3%), rgba(60, 62, 93, 0) 33%), linear-gradient(225deg, rgb(236 141 0) 33%, rgb(232 139 0) 70%), linear-gradient(270deg, rgb(255 152 0 / 22%) 70%, rgba(60, 62, 93, 0) 94%), linear-gradient(315deg, rgb(255 152 0 / 59%) 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(360deg, rgb(255 255 255 / 60%), rgba(60, 62, 93, 0) 33%), linear-gradient(90deg, #bf720000 6%, rgba(98, 100, 167, 0) 70%);
}

.sidenav {
    width: 5.2rem;
    position: fixed;
    z-index: 1;
    left: 0;
    background-color: #00adbc;
    overflow-x: hidden;
    padding-top: 0.8rem;
}

.sidenav-hide-btn {

}

.sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
}


.main {
    margin-left: 6.8rem;
    font-size: 28px;
    padding: 0px 1.5rem
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}


.topnav {
    overflow: hidden;
    background-color: #ffb02c;
    height: 5.8rem;
    color: #fff;
}

.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 1px 10px;
    text-decoration: none;
    font-size: 17px;
}

.topnav-title {
    font-weight: 500;
    font-size: 1.8rem !important;
    padding: 12px 14px !important;
    line-height: 1.3333333333333333333333333
}

.topnav a:hover {
    /*background-color: #ddd;*/
    color: #f2f2f2;
    text-decoration: none !important;
}


.sidenav-list {
    color: #fff;
    list-style-type: none;
    margin: 0;
    margin-top: 4rem !important;
    padding: 0;
}

.sidenav-list > li {
    display: block;
    font-size: 1.2rem;
    height: 4.8rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    color: #eaeaed;
    padding-top: 8px;
    cursor: pointer;
}


.sidenav-list > li > i {
    margin: 0 auto;
    display: table;
    height: 3rem;
    width: 4rem;
    color: #eaeaed;
    font-size: 1.8rem;
}

.sidenav-list > li:hover {
    /*background: linear-gradient(180deg, rgba(60, 62, 93, .6), rgba(60, 62, 93, 0) 33%), linear-gradient(225deg, rgba(60, 62, 93, .6) 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(270deg, rgba(60, 62, 93, .6) 70%, rgba(60, 62, 93, 0) 94%), linear-gradient(315deg, rgba(60, 62, 93, .6) 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(360deg, rgba(60, 62, 93, .6), rgba(60, 62, 93, 0) 33%), linear-gradient(90deg, rgba(98, 100, 167, .75) 6%, rgba(98, 100, 167, 0) 70%);*/
    background: linear-gradient(180deg, #00c1d5bf, rgba(60, 62, 93, 0) 33%), linear-gradient(225deg, rgba(60, 62, 93, .6) 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(270deg, #008a98bf 70%, rgba(60, 62, 93, 0) 94%), linear-gradient(315deg, #007d8abf 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(360deg, #008c9abf, rgba(60, 62, 93, 0) 33%), linear-gradient(90deg, #008694bf 6%, rgba(98, 100, 167, 0) 70%);
}

.sidenav-list > li > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    font-size: 0.8rem;
    text-rendering: optimizeLegibility;
    margin-top: -0.9rem;
    text-decoration: none;
    opacity: .63;
    text-align: center;
}


.selected {
    color: #fff;
    background: linear-gradient(180deg, #00c1d5bf, rgba(60, 62, 93, 0) 33%), linear-gradient(225deg, rgba(60, 62, 93, .6) 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(270deg, #008a98bf 70%, rgba(60, 62, 93, 0) 94%), linear-gradient(315deg, #007d8abf 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(360deg, #008c9abf, rgba(60, 62, 93, 0) 33%), linear-gradient(90deg, #008694bf 6%, rgba(98, 100, 167, 0) 70%);
    /*background: linear-gradient(180deg, rgba(60, 62, 93, .6), rgba(60, 62, 93, 0) 33%), linear-gradient(225deg, rgba(60, 62, 93, .6) 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(270deg, rgba(60, 62, 93, .6) 70%, rgba(60, 62, 93, 0) 94%), linear-gradient(315deg, rgba(60, 62, 93, .6) 33%, rgba(60, 62, 93, 0) 70%), linear-gradient(360deg, rgba(60, 62, 93, .6), rgba(60, 62, 93, 0) 33%), linear-gradient(90deg, rgba(98, 100, 167, .75) 6%, rgba(98, 100, 167, 0) 70%);*/


}

.selected::before {
    background: #e2e2f6;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: .4rem;
}


/*Custom CSS*/

.class-card {
    min-width: 234px;
    max-width: 363px;
    box-shadow: 0 0.4rem 0.4rem -0.075rem rgba(0, 0, 0, .1);
    background: #fff;
    border: 0;
    color: #252423;
    font-weight: 600;
    position: relative;
    border-radius: .2rem;
    width: 16.92rem;
    height: 16.92rem;
    float: left;
    margin: 0 2.1rem 2rem 0;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.class-card-extra {
    height: 18.92rem;
}

.class-card:hover {
    background: #edebe9;
    color: #252423;
}

.class-card:focus {
    background: #e1dfdd;
    box-shadow: none;
    color: #252423;
    outline: solid 1px black;
}

.class-card:active {
    background: #e1dfdd;
    box-shadow: none;
    color: #252423;
}

.class-card:before {
    content: '';
    position: absolute;
    top: .1rem;
    left: .1rem;
    right: .1rem;
    bottom: .1rem;
    border: .1rem solid transparent;
    border-radius: .2rem;
    pointer-events: none;
}

.profile-picture-container {
    width: 72px;
    margin-top: 4rem;
    margin-bottom: 0.92rem;
    user-select: none;
    position: relative;
    display: inline-block;
}

.team-name {

}

.team-name-text {
    user-select: none;
    font-size: 1.38rem;
    margin: 0 1.53rem;
    line-height: 1.33333;
    overflow-wrap: break-word;
    flex: 1;
    align-self: center;
    display: block;
    display: -webkit-box;
    overflow: hidden;
    max-height: 3.69rem;
    -webkit-line-clamp: 2;
    font-weight: 400;
    -webkit-box-orient: vertical;
    font-family: "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif !important;

}


.classes {
    margin-bottom: 5rem;
}

.class-img {
    margin-right: .88rem;
    border: #6c6c6c;
    border-radius: 6px;
    height: 3.5rem;
    image-rendering: auto;
    min-width: 3.5rem;
    width: 3.5rem;
    overflow: hidden;
}

.class-img > span {
    background-color: #6c6c6c;
    color: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    height: inherit;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 0.1rem;
}

.item-btn {
    width: 100%;
    background-color: transparent;
    border: .0625rem solid #dadce0;
    border-radius: .1875rem;
    color: inherit;
    display: -ms-flexbox;
    display: flex;
    height: 5rem;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 10px 0;
    padding: 0 2rem;
    text-align: left;
}

.item-btn:hover {
    background-color: #6264a7;
    color: #fff;
}

.item-btn > p {
    flex: 0 1 auto;
    line-height: 1.5;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 0.5rem;
}

.items {
    margin: .25rem 2.25rem 0rem 2.25rem;
}


.main {
    font-family: "Segoe UI Web", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.search-input {
    font-weight: 400 !important;
    font-size: 1.5rem;
    width: 100%;
    background: #f3f2f1;
    border: none;
    border-radius: 0.4rem;
    padding: 0.6rem;
    height: 3.5rem;
}

.model-header {
    margin: 2rem 2rem 1.5rem 2rem;
}

.header {
    border-bottom: 1px solid var(--color-outlines);
    padding-bottom: .25rem;
    margin: 0;
}

.header-title {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.5rem;
}

.class-section {
    box-shadow: 0 0.2rem 0.4rem -0.075rem rgba(0, 0, 0, .1);
    background-color: var(--white);
    border-radius: .2rem;
    max-width: 66rem;
    margin: 1rem auto;
    max-height: 95vh;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.page-heading {
    width: 27rem;
    background: white;
}

.page-btn {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    display: flex;
}

.icon-close {
    width: 1.5rem;
    transform: rotate(180deg);
    margin-top: 0.3rem;
    margin-right: 0.3rem;
}

.icon-open {
    transform: rotate(270deg);
    width: 1.5rem;

    margin-right: 0.4rem;
}


/*Classroom Screen*/


.group {
    width: 100%;
    padding-left: 2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;

}

.group:hover {
    background: #f3f2f1;
}

.group:active {
    background: #e1dfdd;
}

.group.active {
    background: #edebe9;
}

.group.active:hover {
    background: #e1dfdd;
}

.ajax-data {
    margin: 0rem 2rem;
}


.left-sidebar-section {
    position: absolute;
    background: white;
    /*height: calc(100vh - 4.43rem);*/
    height: calc(100vh);
    margin-left: -40px !important;
    /*margin-top: -1rem;*/
    margin-top: -25px;
    width: 22.5rem;
    font-size: 1.01rem !important;
    z-index: 9;
}

.main-body {
    margin-left: 21rem;
    font-size: 0.98rem;
}


.body-content {
    margin-left: -15px;
    font-size: 1.28rem;
    padding: 0 13px;
    width: 100%;
}


.breadcrumb-link {
    padding: 0.8rem 1rem;
}

.item-breadcrumb {
    display: -webkit-box;
}

.breadcrumb-icon {
    width: 2.5rem;
}

.breadcrumb-icon > svg {
    fill: #737373;
}

.breadcrumb-hyperlink {
    padding-top: 5px;
}

.breadcrumb-hyperlink > a {
    color: black;
    text-decoration: none;
}

.breadcrumb-hyperlink > a:hover {
    color: #6264a7;
    text-decoration: none;
}

.profile-picture {
    margin: 1.53rem 0.76rem;
}

.className {
    margin-top: 1.15rem;
    font-weight: 700;
    font-size: 1.38rem;
}

.ppImage {
    margin-right: .88rem;
    border: #6c6c6c;
    border-radius: 6px;
    height: 5rem;
    image-rendering: auto;
    min-width: 5rem;
    width: 2.69rem;
    overflow: hidden;
}

.lightredbg {
    background-color: #ff3131;

}

.redbg {
    background-color: #ec0e3f;

}

.bluebg {
    background-color: #0273eb;
}


.purplebg {
    background-color: #8151fd;
}

.greenbg {
    background-color: #178386;
}

.ppImage > span {
    color: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    height: inherit;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 4rem;
    line-height: 0.1rem;
}


.sidebar-header {

}

.nav-tabs {
    border-bottom: 1px solid #f3f2f1 !important;
}

.tabview {
    /*width: 80%;*/
    /*margin: 0 auto;*/
    margin: 0 0.76rem;
}

nav .nav-tabs .nav-item {
    background: white;
    border-left-style: outset;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    min-width: fit-content;
    text-align: center;
    color: #f3f2f1;
}

nav .nav-tabs .nav-link {
    color: #353535 !important;
    font-size: 1.1rem
}

nav .nav-tabs .nav-item.show .nav-link, nav .nav-tabs .nav-link.active {
    color: #3b3c5b !important;
    background-color: #f3f2f1 !important;
    border-color: #f3f2f1 #f3f2f1 #f3f2f1 !important;
}

nav .nav-tabs .nav-link:focus, nav .nav-tabs .nav-link:hover {
    border-color: #f3f2f1 #f3f2f1 #f3f2f1 !important;
    background: #f9f9f9;
}


.topbar-options > li {
    padding: 0 0.4rem;
    font-size: 1.6rem;
}

#stopLiveClass {
    position: absolute;
    font-size: 2.5rem;
    margin: 4.5rem -7.5rem;
    width: inherit;
}

#startLiveClass {
    font-size: 2.5rem;
    margin: 4.5rem -2.5rem;
    width: max-content;
}

.chat {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #B3A9A9;
}

.chat li .chat-body p {
    margin: 0;
    color: #777777;
}

.panel-body {
    overflow-y: scroll;
    height: 350px;
}


.chat-message {
    padding: 1rem;
    margin: 1rem;
    background-color: white;
    border-radius: 15px;
}

.chat-message > p {
    margin-bottom: .5rem;
}

.chat-message > small {
    color: blue;
}

.conversation-title {
    text-align: center;
    padding: 15px;
    background: linear-gradient(to bottom right, #fc4a1a, #f7b733);
    color: #fff;
}

.conversation-title h1 {
    font: 700 18px 'Noto Sans', sans-serif;
    margin: 0;
}

.conversation-title .status {
    font-size: 12px;
}

.conversation-wrapper {
    padding: 25px;
    width: inherit;
    overflow-y: scroll;
}


.conversation-wrapper-height18 {
    min-height: calc(100vh - 18.7rem);
    max-height: calc(100vh - 18.7rem);
}

.conversation-wrapper-height21 {
    min-height: calc(100vh - 21.7rem);
    max-height: calc(100vh - 21.7rem);
}


.message-sent, .message-received {
    padding: 0;
}

.message-received {
    text-align: left;
}

.message-sent {
    text-align: right;
}

.bubble {
    border-radius: 8px;
    background: #fff;
    padding: 12px 18px;
    border: 0.5px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    display: inline-block;
    text-align: left;
    font-size: 1rem;
}

.timestamp {
    margin: 8px 0;
}

.timestamp .avatar {
    border-radius: 15px;
    background: linear-gradient(to top right, #464775, #00c1d5);
    display: inline-block;
    width: fit-content;
    height: 20px;
    vertical-align: top;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    /*padding-top: 5px;*/
    padding-left: 1rem;
    padding-right: 1rem;
}

.avatar-name {
    position: relative;
    top: -8px;
}

.timestamp .time {
    display: inline-block;
    font-size: 12px;
    color: #999;
    margin: 0 5px;
}

.messaging-area {
    position: relative;
    box-shadow: 0 -2px 1px rgba(0, 0, 0, 0.03);
}

.messaging-area input {
    font: 1rem 'Noto Sans', sans-serif;
    border: none;
    padding: 1.6rem 1rem;
    width: 100%;
    /*margin-left: 4.5rem;*/
}

.messaging-area input:focus {
    outline: 0;
}

.messaging-area a.send {
    right: 45px;
    top: 0.2rem;
}

.messaging-area a.call {
    right: 7px;
    top: 0.2rem;
}

.messaging-area a.calling {
    right: 7px;
    top: 0.2rem;
    background: linear-gradient(to top right, #F44336, #944b64) !important;
}

.messaging-area a.chatbutton {
    background: linear-gradient(to top right, #464775, #00c1d5);
    color: #fff !important;
    border-radius: 0.8rem;
    width: max-content;
    height: max-content;
    position: absolute;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;

}

.messaging-area a.chatbutton:hover {
    text-decoration: none;
    background: blue;
    background: linear-gradient(to top right, #8788a2, #474ba0);
    background-image: linear-gradient(to right top, rgb(135, 136, 162), rgb(71, 75, 160));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
}

aside.context {
    text-align: center;
}

aside.context a {
    text-decoration: none;
    color: #111;
    padding: 3px 0;
    border-bottom: 1px dashed;
}

aside.context .explanation {
    max-width: 700px;
    margin: 2em auto;
}

footer {
    text-align: center;
    margin: 5em auto;
}

footer a {
    text-decoration: none;
    display: inline-block;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 1px dashed #111;
    color: #111;
    margin: 5px;
}

footer a:hover {
    background: rgba(0, 0, 0, 0.1);
}

footer a .fa {
    margin-top: 12px;
    display: inline-block;
    font-size: 20px;
}


.main-page-heading {
    margin-top: 0.5rem !important;
    position: absolute;
    left: 8rem;
}

/*Rem Updated*/
@media (min-width: 1500px) {
    .left-sidebar-section {
        width: 23.07rem !important;
    }

    .main-body {
        /*margin-left: 21.92rem !important;*/
        margin-left: 19.5rem !important;
    }

}

@media (min-width: 1350px) {
    .left-sidebar-section {
        width: 20.38rem;
    }

    .main-body {
        margin-left: 19.23rem;
    }
}


.error {
    color: red;
}


#assignment-load, #quiz-load {
    min-height: calc(100vh - 11.53rem);
}


#notifications-section > .heading {
    font-weight: 500;
    font-size: 1.23rem;
}

.notification {
    border: 1px dashed #f2f2f2;
    padding: 0.5rem;
    margin: 0.5rem 0;
}

.notification > a {
    color: #464775;
}

.notification-number {
    color: #00ffff !important;
    position: relative;
    top: -1rem;
    right: 0.8rem;
}

.notification > a:hover {
    color: #000;
    text-decoration: none;
}


.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    /* background-color: #f3f2f1; */
    color: darkgrey;
    text-align: center;
    font-size: 1.26rem;
    padding: 0.3rem;
    padding-left: 28rem;
}

.footer > a {
    color: darkgrey;
}

.footer > a:hover {
    color: #000;
}


nav.nav-tabs .nav-item {
    margin-right: .19rem;
    /*font-size: 1rem !important;*/

}


/****Activities Thumbnail****/
.activity-thumbnail {
    width: fit-content;
    margin-top: 0rem;
    user-select: none;
    position: relative;
    display: inline-block;
    max-height: 100px;
    overflow: hidden;
}

.activity-thumbnail-extra {
    max-height: 125px;
    min-height: 125px;

}

.activity_name {
    position: relative;
    display: table;
    width: 100%;
    height: 4.5rem;
}

.activity_category {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    max-height: 2.5rem;
    color: white;
}

.acitivties_block {
    display: flow-root;
}

.activity_skill {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    max-height: 2.5rem;
    color: white;
    text-align: left;
    padding-left: 1rem;
}

.activity_skill > img {
    height: 20px;
    float: right;
    margin-top: 0.25rem;
    margin-right: 0.9rem;
}

.lock-activity, .completed-activity {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0000006e;
    /*opacity: 0.4;*/
    z-index: 10;
    border-radius: 1rem;
}

.will_unlock {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0000006e;
    /*opacity: 0.4;*/
    z-index: 10;
    border-radius: 1rem;
}

.unlock_text {
    color: white;
    font-size: 1.28rem;
}


.lock-activity > i, .completed-activity > i, .will_unlock > i {
    color: white !important;
    margin: 3rem;
    font-size: 7rem !important;
}


.activity_category > span {
    font-size: 1rem;
    font-weight: bold;
    position: relative;
    top: -1rem;
}

.activity_skill > span {
    font-size: 1rem;
    font-weight: bold;
    position: relative;
    top: -1rem;
}

.activity_name_text {
    user-select: none;
    display: table-cell;
    font-size: 1.3rem;
    font-weight: bold;
    vertical-align: middle;
    margin: 0 0.5rem;
    font-family: "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif !important;
}

.activity-card {
    border-radius: 1rem !important;
}


#progress-bar {
    height: 12px;
    background-color: #42d319;
    text-align: center;
    line-height: 15px;
    color: #5c5c5c;
    font-size: 1rem;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-radius: 5px;
}


.activity_progress_bar {
    background: whitesmoke;
    margin: 0 0.5rem;
    border-radius: 5px;
    height: 12px;
}