﻿@charset "UTF-8";
/********************************************************************
* Common
*******************************************************************/
.lvl2 {
  background-color: #4d4d4d;
}

.lvl2nav {
  position: relative;
  height: auto;
}

.lvl2nav > ul > li > a:hover {
  color: #e1e1e1;
  background-color: #4d4d4d;
  text-decoration: none;
  border-bottom-color: #e1e1e1;
}

.lvl2nav > ul > li.active > a {
  color: #e1e1e1;
  background-color: #4d4d4d;
  text-decoration: none;
  border-bottom-color: #e1e1e1;
}

.lvl2nav > ul > li > span {
  font-style: italic;
  background-color: #4d4d4d;
}

.whiteBackground {
  background-color: white;
}

.course-progress-donut-wrapper {
  height: 20rem;
}

.flexWrapper {
  display: flex;
}

.flexFull {
  flex: 100%;
}

.flexDual {
  flex: 0 0 50%;
}

.title {
  background-color: #4d4d4d !important;
  margin: 0 2%;
  padding: 0.5% 2%;
  display: flex;
  justify-content: space-between;
}

.tiptext {
  color: #4d4d4d !important;
  font-size: 0.9em;
  margin: 0 2%;
  padding: 0.5% 2%;
  display: flex;
  justify-content: space-between;
}

.instructorStudentDisplayName {
  color: black;
}

.improvementOverTime-lineDiv {
  margin-left: 2%;
  margin-right: 2%;
}

.student-dashboard-improvementOverTime-canvas-wrapper {
  width: 100%;
  height: 15em;
}

.student-dashboard-emphasisAreas-canvas-wrapper {
  width: 100%;
  height: 30em;
}

.instructor-improvementOverTime-column {
  column-width: 1100px;
}

.student-dashboard-scrollable-content {
  overflow-y: auto;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 80px;
}

.leaderboard-scrollable-content {
  overflow-y: auto;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 80px;
}

.student-scores-scrollable-content {
  overflow-y: auto;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 80px;
  font-size: 0.9em;
}

.student-details-scrollable-content {
  overflow-y: auto;
  height: 70vh;
}

.scrollable-content {
  overflow-y: auto;
  height: 70vh;
}

.scores-attempt-value {
  font-size: 1.25em;
  color: black;
  box-shadow: none;
}

.scores-highscore-value {
  font-size: 1.5em;
  color: white;
  text-shadow: -1px 1px 3px black;
}

.scores-great {
  background-color: var(--scores-great-color);
}

.scores-good {
  background-color: var(--scores-good-color);
}

.scores-medium {
  background-color: var(--scores-medium-color);
}

.scores-fair {
  background-color: var(--scores-fair-color);
}

.scores-poor {
  background-color: var(--scores-poor-color);
}

.scores-unattempted {
  background-color: var(--myscores-unattempted-color);
}

.scores-table {
  background-color: #4d4d4d;
  width: 100%;
}

.scores-table thead {
  position: sticky;
  top: 0;
  background-color: #4d4d4d;
}

.scores-table thead td {
  border-right: 1px solid lightgray;
}

.leaderboard-table {
  background-color: #4d4d4d;
  width: 100%;
}

.leaderboard-table thead {
  /* head takes the height it requires, and it's not scaled when table is resized */
  flex: 0 0 auto;
  width: calc(100% - 0.9em);
}

.leaderboard-table tbody {
  /* body takes all the remaining available space */
  flex: 1 1 auto;
  display: block;
}

.leaderboard-table tbody tr {
  width: 100%;
}

.leaderboard-table thead, .leaderboard-table tbody tr {
  display: table;
  table-layout: fixed;
}

.leaderboard-column-header {
  border-left: 1px solid lightgray;
  min-width: 75px;
}

.scores-attempt {
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid lightgray;
}

.scores-highScore {
  padding-left: 40px;
  padding-right: 40px;
  border: 1px solid lightgray;
}

.scores-scenarioName {
  background-color: #4d4d4d;
  border-right: 1px solid lightgray;
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
}

.leaderboard-myEntry {
  background-color: red;
  font-weight: bold;
  font-size: 1.3em;
}

.hide {
  display: none;
}

#loadingSplash {
  padding: 5rem;
  height: 25rem;
}

.max-width-none {
  max-width: none;
}

.studentsTableContainer {
  display: flex;
  justify-content: center;
  background-color: #4d4d4d;
}

.studentsTable {
  background-color: white;
  margin-left: 1%;
  margin-right: 1%;
}

.studentsTable thead {
  position: sticky;
  top: 0;
  background-color: #1e1e1e;
}

.studentsTable td {
  width: fit-content;
  vertical-align: middle;
}

.studentsTable th {
  width: fit-content;
  border: 0;
}

.emphasisAreasTreeDiv {
  margin-left: 2%;
  margin-right: 2%;
}

.loggedInAs {
  text-align: right;
  margin-right: 10px;
  color: #e1e1e1;
}

/* Global styles */
html {
  font-size: 15px;
}

body {
  font-size: 1.15rem;
  font-family: "Arial Condensed", sans-serif;
  background: white;
  text-align: center;
  min-width: 320px;
  background: #1e1e1e !important;
  color: #e1e1e1;
}

.clearfix {
  clear: both;
}

a {
  color: #66c0f4;
  text-decoration: none;
}

a:visited {
  color: #66c0f4;
}

a:hover {
  color: #e1e1e1;
  text-decoration: underline;
}

header {
  padding-top: 4px;
  padding-bottom: 10px;
  padding-left: 10px;
  background-color: #4d4d4d;
}

nav {
  background-color: #4d4d4d;
  width: 100%;
  height: 43px;
}

nav ul {
  float: right;
  padding-right: 20px;
}

nav ul li {
  display: inline-block;
}

nav > ul > li > a,
nav > ul > li > span {
  display: inline-block;
  width: 9rem;
  text-transform: uppercase;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

nav > ul > li > span {
  font-style: italic;
  background-color: #1e1e1e;
}

nav > ul > li > a:hover {
  background-color: #1e1e1e;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: #1e1e1e !important;
}

input[type=button],
input[type=submit] {
  cursor: pointer;
}

#masthead-banner-image {
  height: 40px;
  margin-top: 10px;
  margin-left: 4px;
}

.admin-task-list {
  list-style: none;
  text-align: justify;
  padding: 0 0;
  margin: auto 16px;
}

.admin-task-list div {
  margin-bottom: 16px;
}

.alert a {
  color: #004085;
  font-weight: bold;
  text-decoration: none;
}
.alert a:hover {
  color: #004085;
  text-decoration: underline;
}
.alert a:visited {
  text-decoration: underline;
}

.modal .modal-content {
  background: transparent;
}
.modal .modal-content .modal-header {
  color: #fff;
  background-color: #007bff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.modal .modal-content .modal-header .modal-title {
  font-size: 1.5rem;
  font-weight: bold;
}
.modal .modal-content .modal-header .close {
  color: white;
  vertical-align: central;
}
.modal .modal-content .modal-footer {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.modal .modal-content .modal-header,
.modal .modal-content .modal-body,
.modal .modal-content .modal-footer {
  border-width: 0;
}
.modal .modal-content .modal-body,
.modal .modal-content .modal-footer {
  background-color: #2e2e2e;
}

.blurb {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  width: 700px;
}

.textbox {
  padding: 4px 8px;
  margin-bottom: 8px;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  width: 300px;
}

.login-failure {
  padding: 4px 8px;
  margin-bottom: 8px;
  border-radius: 3px;
  width: 300px;
  display: inline-block;
}

.submit-button {
  padding: 4px 8px;
  color: #e1e1e1;
  background-color: #4d4d4d;
  border: 0;
  border-radius: 3px;
  width: 300px;
  text-transform: uppercase;
  margin: 0px auto;
  display: block;
}

.submit-button:hover {
  background-color: #d3d3d3;
  color: #2e2e2e;
}

.oauth-button {
  padding: 4px 8px;
  color: #e1e1e1;
  background-color: #4d4d4d;
  border: 0;
  border-radius: 3px;
  width: 300px;
  text-transform: uppercase;
  margin: 0px auto;
  display: block;
}

.oauth-button:hover {
  background-color: #d3d3d3;
  color: #2e2e2e;
}

.copyright {
  position: relative;
  display: block;
  font-size: 0.85em;
  margin: 0 auto;
  margin-top: 12px;
  text-align: center;
  color: #e1e1e1;
}

.data-table {
  background: #2e2e2e;
  padding-left: 2px;
  padding-right: 2px;
  margin: auto 4px;
  overflow-x: hidden;
}
.data-table .row {
  padding-top: 1px;
  padding-bottom: 1px;
  overflow-wrap: break-word;
}
.data-table .row:nth-child(odd) {
  background: #4d4d4d;
}

.admin-table {
  width: 100%;
  margin-top: 20px;
  background: #2e2e2e;
}
.admin-table th {
  font-size: 1.25em;
  font-weight: normal;
  text-transform: uppercase;
  background: #4d4d4d;
}
.admin-table td {
  vertical-align: top;
  padding-bottom: 4px;
}
.admin-table .text-right {
  text-align: right;
  padding-right: 10px;
}
.admin-table .text-left {
  text-align: left;
  padding-left: 10px;
}
.admin-table .one-cell {
  width: 100%;
}
.admin-table .two-cell {
  width: 50%;
}
.admin-table .one-third-cell {
  width: 33%;
}
.admin-table .two-third-cell {
  width: 67%;
}
.admin-table .one-fourth-cell {
  width: 25%;
}
.admin-table .three-fourth-cell {
  width: 75%;
}
.admin-table .field-name {
  text-transform: capitalize;
}
.admin-table .field-value {
  font-style: italic;
}

.settings-table tr td {
  padding: 8px 8px;
}
.settings-table tr td input {
  width: 100%;
  height: 34px;
  /*margin: 4px auto;*/
}
.settings-table tr td input[type=text] {
  border: 0px;
  border-radius: 3px;
  padding: 2px 6px;
}

.update-message {
  text-align: left;
  font-size: 1.2em;
}

.sub-action {
  font-size: 0.85rem;
  text-transform: lowercase;
  margin-left: 16px;
}

.sub-action-left {
  font-size: 0.85rem;
  text-transform: lowercase;
  margin-left: auto;
}

.sub-content {
  font-size: 0.9em;
  margin-top: 6px;
  color: #d3d3d3;
}

.user-list {
  margin-left: 24px;
  margin-bottom: 24px;
}

.user-list-item {
  margin-bottom: 12px;
}

.user-list-item-title {
  font-size: 1.2em;
}
.user-list-item-title strong {
  font-size: 1.3em;
  font-weight: bold;
  text-transform: uppercase;
}

.cta-btn {
  position: relative;
  display: block;
  width: 250px;
  text-transform: uppercase;
  margin-top: 12px;
  border: 0px solid #66c0f4;
  background-color: #2e2e2e;
  text-align: center;
  border-radius: 4px;
  line-height: 2em;
}

.cta-btn::after {
  content: "";
  position: absolute;
  display: inline-block;
  margin: auto 0;
  border: 5px solid transparent;
  right: -10px;
  top: 0.75em;
  padding-left: 20px;
  border-left-color: #66c0f4;
}

.cta-btn:hover {
  background-color: #4d4d4d;
  text-decoration: none;
}

.cta-btn:hover::after {
  border-left-color: #e1e1e1;
}

.validation-summary-errors ul {
  color: red;
  list-style-type: none;
  margin: 0;
  padding: 8px 16px;
  font-style: italic;
  font-size: 0.8em;
}

@media screen and (max-width: 768px) {
  body {
    padding: 0;
  }
  header {
    padding-top: 0px;
    background-color: #4d4d4d;
    height: 70px;
  }
  main {
    padding-top: 10px;
  }
  /* Nav */
  nav {
    position: relative;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    background-color: transparent;
  }
  nav::before {
    content: "— Navigation —";
    display: block;
    text-align: center;
    color: #a0a0a0;
    font-size: 1.1em;
    text-transform: uppercase;
  }
  nav > ul {
    float: none;
    display: block;
    top: 0;
    height: auto;
  }
  nav > ul > li {
    display: block;
  }
  nav > ul > li > a,
  nav > ul > li > span {
    width: 100%;
    float: none;
    background-color: #2e2e2e;
    transition: background-color linear 0.05s;
    border-radius: 0px;
  }
  nav > ul > li > a:hover {
    border-radius: 0;
    background-color: #4d4d4d;
  }
  .banner {
    top: -10px;
    line-height: 2em;
  }
  .blurb,
  .textbox,
  .submit-button {
    width: 85%;
  }
  .cta-btn {
    width: 85%;
  }
}
