body {
    background-color: #fafafa;
    padding: 0px;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    margin-top: 64px;
    width: 100%;
    margin: 0px;
    text-align: center;
    background-color: rgb(255, 255, 255);
    line-height: 26.4px;
    overflow: hidden;
}

#content {
    line-height: 18px;
}

.monthly {
    box-shadow: 0 13px 40px rgba(0, 0, 0, 0.5);
    font-size: 0.8em;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                               supported by Chrome, Edge, Opera and Firefox */
}

#vertical_border0 {
    height: 600px;
    width: 2px;
    border-left: 1px solid rgb(200, 200, 200);
    position: absolute;
    left: 360px;
    top: 50px;
}

#content_left {
    text-align: center;
    position: absolute;
    top: 0;
    left: 20px;
    width: 320px;
    height: 600px;
}

#content_right {
    position: absolute;
    top: 50px;
    left: 360px;
    width: 520px;
    height: 600px;
    padding: 20px;
}

#upcoming_classes {
    max-height: 560px;
    overflow-y: auto;
    overflow-x: hidden;
}

.upcoming_class {
    border: none;
    background: transparent;
    border-radius: 10px;
    width: 320px;
    padding: 10px;
    padding-left: 20px;
    text-align: left;
    position: relative;
}

.upcoming_class[active='true'] {
    color: rgb(71, 57, 231);
}

.upcoming_class:hover {
    background-color: rgb(245, 245, 245);
}

.upcoming_class[active='true']:hover {
    color: rgb(71, 57, 231);
}

.fake_upcoming_class {
    border-radius: 10px;
    width: 320px;
    padding: 10px;
    padding-left: 20px;
    text-align: left;
    position: relative;
}

.fake_upcoming_class[active='true'] {
    color: rgb(71, 57, 231);
}

.fake_upcoming_class:hover {
    background-color: rgb(245, 245, 245);
}

.fake_upcoming_class[active='true']:hover {
    color: rgb(71, 57, 231);
}

.upcoming_class_name {
    font-weight: 700;
    font-size: 15px;
}

.upcoming_class_name:hover {
    cursor: pointer;
}

.upcoming_class_teacher {
    overflow-wrap: break-word;
    max-width: 400px;
}

.upcoming_class_code {
    position: absolute;
    top: 10px;
    right: 20px;
}

.copy_wrapper {
    display: flex;
    align-items: center;
    margin-top: 4px;
    height: 20px;
}

.copy_invite_link {
    cursor: pointer;
    color: rgb(14, 113, 235);
}

.copied_feedback {
    position: relative;
    display: none;
    font-size: 11px;
    background-color: #eee;
    border-radius: 4px;
    padding: 0 4px;
    margin-left: 10px;
    color: #000;
}

.copied_feedback::after {
    position: absolute;
    left: -5px;
    top: 1px;
    content: '';
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 11px solid #eee;
    z-index: -1;
}

#modal_background {
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 10;
}

.modal {
    background-color: rgb(255, 255, 255);
    position: absolute;
    z-index: 11;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

#loading_modal {
    background-color: rgb(255, 255, 255);
    position: absolute;
    z-index: 11;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.current_class_name {
    font-size: 22px;
    font-weight: 600;
}

.current_class_code {
    position: absolute;
    top: 16px;
    right: 0px;
}

.current_class_date {
    position: absolute;
    top: 50px;
    right: 40px;
}

#current_class_content {
    position: relative;
    text-align: left;
    padding: 20px;
    display: none;
}

.current_class_button {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 7px;
    border: 1px solid rgb(100, 100, 100);
    margin-left: 6px;
}

.current_class_button:hover {
    cursor: pointer;
}

.current_class_button_blue {
    background-color: #0e71eb;
    color: #ffffff;
}

#header {
    position: relative;
    height: 50px;
    background-color: rgb(245, 245, 245);
    width: 100%;
    border-bottom: 1px solid rgb(220, 220, 220);
    display: flex;
    justify-content: center;
    align-items: center;
}

#header_buttons {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.mac-spacer {
    height: 15px;
    background-color: rgb(245, 245, 245);
}

.header_button {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5px;
    font-size: 11px;
    width: 85px;
}

#header_buttons > button {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border: none;
    background-color: transparent;
    align-items: center;
}

.header_button > span {
    line-height: 1.1;
    margin-top: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#header_user_button {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 30px;
    width: 30px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 7px;
    padding-top: 2px;
    background-color: #4739e7;
    border-style: none;
}

#header_user_button:hover {
    cursor: pointer;
}

.header_button:hover {
    cursor: pointer;
}

#header_user_button_status {
    position: absolute;
    z-index: 4;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 4px;
    background-color: rgb(0, 255, 0);
    border: 2px solid rgb(255, 255, 255);
}

.header_button:hover {
    cursor: pointer;
}

#header_user_button_status {
    position: absolute;
    z-index: 4;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 4px;
    border: 2px solid rgb(255, 255, 255);
    background-color: rgb(0, 255, 0);
}

#header_user_button_status[status='active'] {
    background-color: rgb(0, 255, 0);
}

#header_user_button_status[status='away'] {
    background-color: rgb(160, 160, 160);
}

#header_user_button_status[status='dnd'] {
    background-color: rgb(255, 0, 0);
}

#user_dropdown {
    display: none;
    position: absolute;
    z-index: 20;
    top: 46px;
    right: 12px;
    width: 250px;
    text-align: left;
    border: 1px solid #eff0f2;
    background-color: rgb(255, 255, 255);
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.user_dropdown_option_inactive {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
    color: rgb(0, 0, 0);
}

.user_dropdown_option {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
    color: rgb(0, 0, 0);
}

#user_dropdown > button {
    width: 100%;
    text-align: left;
    padding: 10px;
    border: none;
    background-color: transparent;
}

#user_dropdown > button:hover {
    cursor: pointer;
    background-color: #4739e7;
    color: rgb(255, 255, 255);
}

.user_dropdown_option:hover {
    cursor: pointer;
    background-color: #4739e7;
    color: rgb(255, 255, 255);
}

.user_dropdown_hr {
    width: 250px;
    border-bottom: 1px solid #eff0f2;
    margin-top: 6px;
    margin-bottom: 6px;
}

@media (max-height: 700px) {
    .sticky {
        position: relative;
    }
}

@media (max-width: 600px) {
    .resize {
        display: none;
    }
}

.monthly-event-indicator {
    font-size: 11px !important;
}

#calendar_holder {
    position: absolute;
    bottom: 10px;
    right: 36px;
    height: 450px;
}

.calendar {
    margin-left: auto;
    margin-right: auto;
    width: 425px;
}

#current_class_buttons {
    text-align: right;
    position: relative;
    top: -80px;
}

.class_icon_buttons {
    margin-left: 4px;
    margin-bottom: 16px;
}

.class_icon_button {
    display: inline-block;
    cursor: pointer;
}

.class_icon_button_img {
    width: 14px;
    margin: 2px;
    margin-bottom: 4px;
}

.header_home_img {
    height: 14px;
    width: 14px;
    align-self: center;
}

.header_schedule_img {
    height: 14px;
    width: 14px;
    align-self: center;
}

.header_templates_img {
    height: 14px;
}

.header_schedule_title {
    color: rgb(71, 57, 231);
}

#roster-button {
    background-color: white;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 7px;
    border: 1px solid rgb(100, 100, 100);
    margin-left: 6px;
}

#calendar-button {
    background-color: white;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 7px;
    border: 1px solid rgb(100, 100, 100);
    margin-left: 6px;
}

#content_right[aria-busy='true'] {
    background-image: url('/loading_circle.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42px;
}

#content_right[aria-busy='true'] > * {
    display: none;
}

@media only screen and (min-device-width: 600px) {
    #content {
        display: grid;
        grid-template-columns: 30% 70%;
    }

    #content_left {
        position: static;
        grid-column: 1/2;
        padding: 0 0 0 5px;
        width: 100%;
        height: 100%;
        border-right: 1px solid rgb(200, 200, 200);
    }

    #vertical_border0 {
        display: none;
    }

    #content_right {
        position: static;
        grid-column: 2/3;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #current_class_content {
        position: static;
    }

    #current_class_buttons {
        position: static;
        margin-top: 20px;
    }

    #calendar_holder {
        margin-top: 20px;
        position: static;
    }

    .current_class_wrapper {
        display: grid;
        grid-template-columns: 50% 50%;
        min-height: 115px;
    }

    .calendar {
        width: 95% !important;
    }

    .monthly-event-list {
        width: 60% !important;
        height: 35% !important;
        top: 30% !important;
    }

    #upcoming_classes {
        overflow-wrap: break-word !important;
    }

    .upcoming_class {
        width: 100% !important;
    }
}

@media only screen and (min-device-width: 801px) {
    #content {
        display: grid;
        grid-template-columns: 30% 70%;
        height: calc(100vh - 50px);
    }

    #content_left {
        position: static;
        grid-column: 1/2;
        padding: 0 0 0 5px;
        width: 100%;
        height: 100%;
        border-right: 1px solid rgb(200, 200, 200);
    }

    #vertical_border0 {
        display: none;
    }

    #content_right {
        position: static;
        grid-column: 2/3;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #current_class_content {
        position: static;
    }

    #current_class_buttons {
        position: static;
        margin-top: 20px;
    }

    #calendar_holder {
        margin-top: 20px;
        position: static;
    }

    .current_class_wrapper {
        display: grid;
        grid-template-columns: 50% 50%;
        min-height: 95px;
    }

    .calendar {
        width: 60% !important;
    }

    .monthly-event-list {
        margin-right: auto !important;
        width: 45% !important;
        height: 55% !important;
        top: 260px !important;
    }

    #upcoming_classes {
        overflow-wrap: break-word !important;
        max-height: calc(100vh - 50px);
    }

    .upcoming_class {
        width: 100% !important;
    }
}

#close-monthly-event-list {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 6px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    border: 1px solid rgb(240, 240, 240);
    text-align: center;
    font-size: 12px;
    color: rgb(0, 0, 0);
    z-index: 5;
}

#close-monthly-event-list:hover {
    cursor: pointer;
}
