@font-face {
    font-family: 'RalewayS';
    src: url('Raleway-SemiBold.ttf');
}

@font-face {
    font-family: 'RalewayR';
    src: url('Raleway-Regular.ttf');
}

@font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 700;
    src: url('Anton-Regular.ttf');
}

.calendar-container {
    display: flex;
    flex-direction: column;
}
.calendar-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.calendar-item {
    border-radius: .5em;
    border: 2px solid;
    padding: 0.3em;
    width: 8vw;
    margin-left: 0.2em;
    margin-right: 0.2em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.calendar-item-stack {
    position: relative;
    border-radius: .5em;
    border: 2px solid;
    padding: 0.3em;
    width: 8vw;
    margin-left: 0.2em;
    margin-right: -9vw;
    margin-top: 2em;
    margin-bottom: 0em;
}

#headbox {
    background-color:#003f5f;
    margin-top: 5vh;
    margin-bottom: 5h;
    margin-left:5vw;
    margin-right:5vw;
    padding-left: 1vw;
    padding-right: 1vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
    width: 68vw;
    text-align: right;
}

#welcome-img {
    width: 70%;
    margin-top: 2vh;
    margin-right: 2vw;
    margin-bottom: 2vh;
    float: left;
}

.divimg {
    height: 100%;
}

#top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    border-bottom: 1px solid lightblue;
    max-height: 8vh;
}

#top-1 {
    width: 10vw;
    height: 8vh;
}

#top-2 {
    border-left: 1px solid  #DBDFED;
    height: 4vh;
}

#top-3 {
    margin-left:auto;
    height: 4vh;
    margin-right: 2vw;
}

#site-title {
    width: 81vw;
    border-bottom: 1px solid #3D51A3;
    text-align: left;

}

#site-title a {
    font-weight: 700;
    font-size: 1.3em;
    color: #3D51A3;
    text-decoration: none;
    font-family: "RalewayS";
}

body {
    background-color: white;
}

table {
    width: auto;
}

#sidebar {
    background-color: white;
    padding-left:1vw;
    padding-right:1vw;
    padding-top:1vh;
    padding-bottom: 1vh;
    margin: 0px;
    width: 15vw;
    min-height:96vh;
}

#leftbar {
    margin: 0px;
    padding: 0px;
    width: 85vw;
}

#content {
    width: 81vw;
    border-left: 1px solid  #DBDFED;
    margin-left: 1vw;
}

#sidebar-content {
    width: 95%;
}

.menuitem {
    font-family: "RalewayS";
    border: none;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

.menusel {
    color: #F7B92E;
}

.menuitem a {
    color: #3D51A3;
    text-decoration: none;
}

.menuitem a:hover {
    color:grey;
    text-decoration: none;
}

#sidebar-content div:nth-last-child(2) {
    border: none;
}

.important_box {
    padding: 0px;
    margin:0.2em auto;
    position: relative;
    color: #F0893B;
    font-family: "Anton";
    text-align: left;
    border-bottom: 1px solid #3D51A3;
    border-left: none;
    border-right: none;
    border-top: none;
    background-color: transparent;
}

.overlay {
    z-index: 1;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
}

.popup h2 {
    margin-top: 0;
    color: #F0893B;
    font-family: "Anton";
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
    cursor: default;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
    color: #3D51A3;
    font-family: "RalewayR";
    z-index: 99;
}

.bignumber {
    color: #F0893B;
    font-family: "Anton";
    font-size: large;
    text-align: center;
}

.important_box h2 {
    margin: 0.2em;
}

table {
    color: #3D51A3;
    font-family: "RalewayR";
}

th {
    background-color: transparent;
}

.charts {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    border-bottom: 1px solid lightblue;
}

.chart {
    position: relative;
}

.issues {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    border-bottom: 1px solid lightblue;
}

.issue {
    position: relative;
    align-content: center;
    text-align: center;
}

.issueicon {
    max-width: 4vw;
    align-content: center;
    padding: 0.8em;
}

.issuetitle {
    font-family: "RalewayR";
    color: #3D51A3;
    text-decoration: none;
    padding: 0.8em;
}

.issuetitle a {
    font-family: "RalewayR";
    color: #3D51A3;
    text-decoration: none;
}

#bottom {
    color:white;
    background-color: #3D51A3;
    padding: 2em;
    text-align:left;
}

.bottom-logo {
    display: block;
    width: 6vw;
}

.grade {
    padding: 0px;
    margin:0.2em auto;
    position: relative;
    color: #F0893B;
    font-family: "Anton";
    font-size: 5em;
    text-align: left;
    padding-left: 4px;
    padding-right: 4px;
    background-color: transparent;
}

.points {
    padding: 0px;
    margin:0.2em auto;
    position: relative;
    color: #F0893B;
    font-family: "Anton";
    font-size: 3em;
    text-align: left;
    padding-left: 4px;
    padding-right: 4px;
    background-color: transparent;
}

.gradeboard {
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
}

.explanation_box {
    width: 30vw;
    background-color: #dbdfed;
    max-width: 60vw;
    padding: 1em;
    border-radius: 20px;
    font-family: "RalewayR";
    color: #3D51A3;
}

.qmark {
    max-width: 0.7vw;
    margin-bottom: 0.6em;
}
