﻿.sidebar {
    color: white;
    -webkit-transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
    transition: all 0.5s cubic-bezier(0.685, 0.0473, 0.346, 1);
    top: 60px;
    left: 5px;
    /*height: 100% !important;*/
    max-height: 93% !important;
    background: var(--bcot-background-gradient);
}

.sidebar .logo {
    margin-top: 10px;
}

.sidebar .logo a {
    color: white;
}

.sidebar .logo .h3 {
    margin-bottom: 10px;
}

.sidebar .row {
    margin-right: 0px;
    margin-left: 0px;
}

.sidebar .square {
    background: white;
    color: black;
    border: 2px solid gray;
}

.sidebar .sectionHeader,
.sidebar .courseButton {
    font-size: 150%;
    background: var(--bcot-darkblue);
    color: var(--bcot-light-text);
    border: 1px solid var(--bcot-primary);
    margin-bottom: 5px;
    border-radius: 5px;
}

.sidebar hr {
    border: none;
    border-top: 1px solid #ccb7d4;
}

.sidebar .icoAlerts img {
    max-width: fit-content;
    height: 40px;
}

.sidebar .icoAlerts i {
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
}

.sidebar-footer {
    /*background-color: var(--bcot-background-opaque);*/
    }

.sidebar-wrapper {
    height: 92vh !important;
    height: 89vh !important;
}

/*https://www.webpagefx.com/blog/web-design/circular-images-css/*/
.circular--portrait {
    display: inline-block;
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 2px solid gray;
}

.circular--portrait-sm {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 2px solid gray;
}

.avatarStaff .circular--portrait {
    width: 70px;
    height: 70px;
}

.avatarStaff-sm .circular--portrait {
    width: 40px;
    height: 40px;
}

.circular--portrait img {
    /*width: auto;
    height: 100%;*/
}

.avatar span {
    position: absolute;
    top: 90%;
    left: 40%;
}

.status-red, .square-red, .circle-red {
    background-color: red;
}

.status-green, .square-green, .circle-green {
    background-color: green;
}

.status-amber, .square-amber, .circle-amber {
    background-color: orange;
}

.status-grey, .square-grey, .circle-grey {
    background-color: lightgray;
}

.circle-primary {
    background-color: #007bff;
}

.status-transparent, .square-transparent, .circle-transparent {
    background-color: transparent;
}

.status-red, .status-green, .status-amber, .status-grey {
    height: 10px;
    width: 10px;
}

.square-red, .square-green, .square-amber, .square-grey, .square-transparent {
    display: block;
    height: 25px;
    width: 35px;
    margin: 0 auto;
}

.circle-red, .circle-green, .circle-amber, .circle-grey, .circle-transparent, .circle-primary {
    display: block;
    height: 30px;
    width: 30px;
    padding: 5px;
    margin: auto;
}

.status-transparent::after, .square-transparent::after {
    content: 'N/A';
}

.attendanceMedal
{
    position: absolute;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: x-large;
    background-color: green;
    width: 50px;
    height: 50px;
    padding: 5px;
    top: 45%;
    left: 65%;
}

/* Student */
.studentDetailsButton{
    white-space: normal; /* allow the student detail button to wrap*/
}

/* Courses */
.courseCard {
    background-color: #002c77;
    border-radius: 5px;
}

.courseCardSelected {
    background-color: #0098db;
}

.courseCard button, .courseCard a {
    background-color: #0098db;
    border-radius: 5px;
    color: white;
    padding: 2px 10px;
    font-weight: bold;
}

.courseCard button {
    font-size: 11px;
}

.courseCard button:hover, .courseCard a:hover {
    background-color: #7ab800;
}

.courseName {
    height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

.quicklink a,
.quicklink button {
    display: block;
    width: 230px;
    color: #d5d2ca;
    border-radius: 30px;
    padding: 10px 8px;
}

.quicklink i {
    width: 25px;
}

.quicklink a:hover,
.quicklink button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.reverse button,
.reverse a {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Quicklink favicon size */
.quicklink img {
    height: 18px;
    width: 18px;
    float: left;
    margin: 0px 10px;
}

.quicklink div {
    float: left;
    margin: 0px 10px;
}

.quicklink span {
    line-height: 20px;
    overflow: hidden;
    display: block;
}

/* Quicklink font awesome icon size */
.quicklink i {
    font-size: 18px;
}

/* Attendance, progress and value added charts */
#chartWkAttendance,
#chartWkStatus,
.chartAttDesc,
.chartProgDesc,
.chartValueAddedDesc,
#chartAttStatus,
#chartProgStatus,
#chartVAStatus {
    position: absolute;
    width: 100%;
    left: 0px;
    text-align: center;
}

#chartWkAttendance {
    top: 0px;
    left: 8px;
}

.chartAttDesc,
.chartProgDesc,
.chartValueAddedDesc {
    font-weight: bold;
    text-transform: uppercase;
}

.chartAttDesc {
    top: 60px;
}

.chartProgDesc {
    top: 250px;
}

.chartValueAddedDesc {
    top: 430px;
}

#chartAttStatus {
    top: 95px;
}

#chartProgStatus {
    top: 270px;
}

#chartVAStatus {
    top: 450px;
}

/*
    Empty panel for mouse enter and mouse leave event in order to
    change donut chart from overall attendance to 4-week attendance and vice versa    
*/
#pnlAtt {
    height: 160px;
    width: 160px;
    position: absolute;
    z-index: 999;
    border-radius: 120px;
    left: 40px;
    top: 10px;
}

.mbPanelChart {
    background-color: ghostwhite;
    background-image: linear-gradient(to right, rgba(0,44,119,1) 0%, rgba(212,212,212,1) 32%, rgba(212,212,212,1) 72%, rgba(0,44,119,1) 100%);
    background-image: -moz-linear-gradient(to right, rgba(0,44,119,1) 0%, rgba(212,212,212,1) 32%, rgba(212,212,212,1) 72%, rgba(0,44,119,1) 100%);
    background-image: -ms-linear-gradient(to right, rgba(0,44,119,1) 0%, rgba(212,212,212,1) 32%, rgba(212,212,212,1) 72%, rgba(0,44,119,1) 100%);
    border-radius: 3px;
}

.attendanceLink, .attendanceLink:visited
{
    color:white;
}

.attendanceLink:hover
{
    color:wheat;
}

.sidebar-wrapper {
    padding-bottom: 0px !important;
}