body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
      'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
      sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 70%;
    height: 100%;
    margin: auto;
}

select {
    appearance: none;
    outline: none;
    border: 1px solid #4287f5;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 5px;
    border-radius: 0px;
}

select:focus {
    border: 2px solid #4287f5;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    padding-bottom: 4px;
}

select:hover {
    background-color: #edf4ff;
}

input {
    outline: none;
    border: 1px solid #4287f5;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 5px;
}

input:hover {
    background-color: #edf4ff;
}

input:focus {
    border: 2px solid #4287f5;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    padding-bottom: 4px;
}

input.success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid green;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

input:focus.success {
    border: 2px solid green;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    padding-bottom: 4px;
}

form.error input,
input.error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid red;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

form.error input:focus,
input:focus.error {
    border: 2px solid red;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    padding-bottom: 4px;
}

.login {
    display: block;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

h1 {
    text-align:center;
}

legend {
    margin-top: 30px;
    font-weight: bold;
}

div.adminPanel div.adminSelection table {
    width: 40%;
    border-collapse: collapse;
}

div.adminPanel div.adminSelection {
    width: 85%;
    margin: auto;
}

div.adminPanel nav ol li {
    font-size: 20px;
}

nav ol li {
    font-size: 25px;
    font-weight: bold;
    font-style: normal;
    display: inline-block;
    margin: 15px;
}

nav ol li a {
    font-style:normal;
    color: black;
    text-decoration: none;
    padding: 4px;
}

nav ol li a.selected {
    border-bottom: 2px solid #4287f5;
    border-radius: 0px;
}

nav ol li a:hover {
    background-color: #edf4ff;
}

iframe {
    border: solid 1px black;
    width: 100%;
    height: 100%;
}

#studentFilter {
    width: 60%; 
    margin-top: 30px;
    margin-bottom: 20px;
}

table {
    width: 100%;
}

th, td {
    padding: 10px;
    text-align: left;
}

table.ranksList th.studentId {
    width: 10%;
}

table.ranksList th.studentName {
    width: 20%;
}

table.ranksList td.rankField {
    width: 10%;
}

table.ranksList td input {
    width: 40px;
}

table.ranksList td.options input {
    visibility: hidden;
    min-width: 55px;
}

table.ranksList tr:hover td.options input {
    visibility: visible;
}

table.ranksList tr:hover td {
    background-color: #edf4ff;
}

table.ranksList {
    border-collapse: collapse;
}

table.ranksList  tr:last-child {
    border-bottom: none;
}

.modal {
    background-color: #fefefe;
    margin: 15% auto;
    width: 50%;
    max-height: 50%;
    border: 1px solid #4287f5;
    overflow: scroll;
}

.modal .studentNotes {
    height: 100px;
}

.modal .studentNotes input {
    width: 95%;
    font-size: 14px;
}

.modalBackground {
    display: none;
    position: fixed;
    z-index: 1;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.studentNotesContainer {
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.examAvg {
    display: inline;
    margin-left: 5px;
}

.examAvg.na {
    display: none;
}