.dsc-blockI {
  float: left;
  max-height: 35px;
  margin-right: 15px;
  border-right: solid 2px white;
  padding-right: 15px;
}

.btn-dsc {
  background-color: #dd3403;
  color: white;
}

.dsc-bar {
  display: inline-block;
  height: 90px;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  padding-top: 20px;
}

.dsc-label {
  display: inline-block;
  min-height: 90px;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  padding-top: 20px;
  padding-left: 10px;
}

.dsc-error-hidden {
  opacity: 0;
  transition: all 1s linear 0s;
}

/* Button CSS */
.dsc-mcq-button {
  width: 100%;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: bold;
  background-color: #dd3403;
  color: white;
}

.dsc-mcq-button.gray {
  background-color: gray;
  border-color: gray;
}

/* Unused table css for previous MCQ results page */
/* table {
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 72px;
  height: 85vh;
  border: solid 1px black;
}
tr {
  vertical-align: bottom;
}
td {
  width: 20%;
  padding: 0px 15px;
} */

/* Body + headers CSS */
body {
  height: 100%;
  background-color: #f8f8fb;
}

h1,
h2 {
  font-weight: bold;
  font-family: "Montserrat";
}

h1 {
  color: #333;
  font-size: 42px;
}

h2 {
  font-size: 36px;
  margin-top: 30px;
}

/* Font */
.content {
  font-family: "Archivo", sans-serif;
  font-size: 18px;
}

.content a {
  color: #dd3403;
}

/* Nav Bar CSS */
.navbar {
  padding-top: 2px;
  padding-bottom: 2px;
}

.navbar-brand {
  font-family: "Share Tech Mono", monospace;
  font-weight: bold;
  color: orange !important;
  line-height: 90%;
  text-transform: uppercase;
  font-size: 20px;
}

/*
header {
  background-color: white;
  border-bottom: dotted 1px #333;
}
  */

/* This css is for the the results page for MC type questions */
.bar-chart {
  display: flex;
  flex-direction: column;
}

.bar {
  display: flex;
  align-items: center;
  margin-bottom: 3%;
}

.bar-label {
  min-width: 100px;
  padding-right: 10px;
  font-weight: bold;
  font-size: 38px;
}

.bar-progress {
  color: white;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 30px;
}

/* This is for the small badege that appears next to the question to represent type (mcq or numeric) */
.badge {
  margin-left: 10px;
}

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;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline;
}
.htmx-request.htmx-indicator {
  display: inline;
}

.htmx-request .text-to-hide {
  display: none;
}

.htmx-swapping {
  opacity: 0;
  transition: opacity 1s ease-out;
}

/* == v2 == */

@media (max-width: 767.98px) {
  .landing-logo {
    background: linear-gradient(90deg, rgba(0, 159, 212, 1) 0%, rgba(29, 88, 167, 1) 50%);
    font-size: 40px;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 20px;
    padding-top: 40px;
    width: 100%;
    padding-bottom: 10px;
  }

  .landing-content {
    padding: 0px 20px;
    width: 100%;
  }
  .display-box {
    border-radius: 5px;
    width: 315px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    font-size: 16px;
    font-family: Montserrat;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .content-display {
    flex: 0 0 100%;
    width: 100%;
  }
  .page-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .numeric-display {
    width: 100%;
    height: 70vh;
    overflow: scroll;
    margin-left: 0;
    gap: 20px;
  }
  #canvas-container {
    height: 70%;
  }
  #result-display {
    justify-content: center;
  }
  .back-link-arrow {
    display: block;
  }
  .back-link-header {
    font-family: Montserrat;
    display: none;
  }
  #question-timer {
    font-size: 18px;
  }
  #join-code-main {
    font-size: 32px;
  }
  #csv-link-header {
    font-size: 20px;
  }
  #csv-link-text {
    all: unset;
    font-size: 10px;
  }
  #copy-icon {
    width: 10px;
  }
  #csv-link {
    align-self: center;
  }
  #qr-code-main {
    align-self: center;
  }
  #display-question-sidebar {
    margin-top: 24px;
  }
  #numeric-controls {
    font-size: 10px;
  }

  .form-control {
    font-size: 8px;
  }
  .mobile-input {
    width: 100%;
  }
}

#content {
  padding-left: 5.6%;
  padding-right: 5.6%;
}

@media (min-width: 768px) {
  .landing-logo {
    font-size: 70px;
    align-items: center;
    width: 50%;

    background: rgb(29, 88, 167);
    background: linear-gradient(90deg, rgba(29, 88, 167, 1) 0%, rgba(0, 159, 212, 1) 100%);

    height: 100vh;
    display: flex;
    line-height: 100%;
    letter-spacing: 3px;
  }

  .landing-logo > h1 {
    color: white;
    font-size: 4vw;
  }

  .landing-content {
    width: 50%;
    padding: 0px 30px;
    background-color: white;

    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .landing {
    display: flex;
  }
  #copy-icon {
    width: 40px;
  }
  .display-box {
    border-radius: 5px;
    width: 315px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    font-size: 20px;
    font-family: Montserrat;
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  #csv-link-header {
    font-size: 36px;
  }
  #csv-link-text {
    all: unset;
    font-size: 24px;
  }
  .page-display {
    display: flex;
    flex-direction: row;
    gap: 36px;
  }
  .content-display {
    flex-basis: 80%;
  }

  .numeric-display {
    width: 90%;
    margin-left: -2vh;
    height: 70vh;
    gap: 40px;
  }

  #canvas-container {
    height: 100%;
  }

  .back-link-arrow {
    display: none;
  }
  .back-link-header {
    font-size: 24px;
    margin-bottom: 28px;
    margin-top: 28px;
  }

  #question-timer {
    font-size: 42px;
  }
  #join-code-main {
    font-size: 60px;
  }
  #display-question-sidebar {
    margin-top: 24px;
  }
  .mobile-input-small {
    width: 30%;
  }
  .mobile-input-medium {
    width: 50%;
  }
}

.qr-code {
  display: flex;
}

body {
  background-color: white;
}

.landing-logo {
  font-family: Montserrat;
  text-transform: uppercase;
}

.landing-logo > h1 {
  margin: 0px auto;

  font-family: Montserrat;
  font-weight: 600;
  line-height: 100%;
}

.landing-logo > h1 > b {
  font-weight: 900;
}

h2 {
  font-family: Montserrat;
  font-size: 20px;
  color: #13294b;
}

input[type="text"].large {
  border: 0px;
  border-bottom: solid 1px #c8c6c7;
  text-transform: uppercase;
  font-family: Montserrat;
  width: 100%;
  font-size: 24px;
}

input[type="text"].edit-field {
  border: 0px;
  padding: 10px 14px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  font-family: Montserrat;
  margin-top: 10px;
  width: 100%;
  font-size: 16px;
}

button,
.toggle-button {
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  text-align: center;
  margin: 0px auto;
  border-radius: 10px;
  font-size: 16px;
  padding: 10px 40px;
  font-weight: 600;

  background-color: white;
  color: #13294b;
  border: solid 1px #13294b;
  margin-bottom: 10px;
}

button:hover {
  background-color: #f8f8ff;
}

.toggle-button {
  padding: 10px 20px;
  border-radius: 0px;
  width: 140px;
}
.toggle-button-blue:hover {
  background-color: #13294b;
}
.toggle-button-blue {
  background-color: #13294b;
  margin: 0px;
  color: white;
}
.toggle-button-white {
  margin: 0px;
  background-color: white;
}
.toggle-button-white:hover {
  background-color: white;
}
.classroom button {
  width: 100%;
  filter: drop-shadow(0px 0px 1px);
}

button.btn-primary {
  background-color: #13294b;
  color: white;
  border: 0px;
}

.error {
  color: #cf232c;
}

.success {
  color: rgba(0, 159, 212, 1);
}

main {
  display: flex;
  width: 100%;
}

.classroom {
  padding: 0px 10px;

  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 80vh;
}

.classroom h2 {
  margin-top: 10px;
}

.message {
  justify-content: space-around;

  text-align: center;

  display: flex;
  flex-direction: column;
}

/* Nav */
header {
  padding-left: 5%;
  padding-right: 5%;
  background: linear-gradient(90deg, rgba(29, 88, 167, 1) 0%, rgba(0, 159, 212, 1) 100%);
}

.navbar-brand {
  background: white;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  font-family: Montserrat;
  font-weight: 600;
  line-height: 100%;

  text-transform: uppercase;
  font-size: 20px;
}

.navbar-brand > img {
  max-height: 32px;
  float: left;
  margin-right: 13px;
  filter: drop-shadow(2px 2px 2px rgba(29, 88, 167, 1));
  /*
  float: left;
  margin-right: 15px;
  border-right: solid 2px white;
  padding-right: 15px;
  */
}

.navbar-brand > div {
  margin-top: -2px;
  min-width: 200px;
}

.blue-bold {
  color: rgba(0, 159, 212, 1);
  font-weight: bold;
}

.blue-button {
  background-color: rgba(0, 159, 212, 1);
  color: white;
  padding-top: 4px;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 4px;
  border-radius: 6px;
  margin-bottom: 6px;
  text-align: center;
}
.blue-button:hover {
  background-color: rgba(29, 88, 167, 1);
}
.back-button-text {
  font-family: Montserrat;
}

.questionCategory {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.questionRow {
  display: flex;
  width: 100%;
  padding: 0px 10px 0px 0px;
  justify-content: space-between;
  flex-direction: row;
  border-radius: 6px;
  border: #c8c6c7 solid 1px;
  font-family: Montserrat;
  box-shadow: 0 0 2px #c8c6c7;
  background-color: white;
}

#numeric-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  gap: 10px;
  font-family: Montserrat;
  height: fit-content;
  margin-top: 1%;
  margin-left: 2%;
  margin-bottom: 1%;
  width: 80%;
  padding: 2% 8% 2% 8%;
  border-radius: 6px;
  border: solid 1px rgba(0, 0, 0, 0.4);
}

.toggle-result-display {
  all: unset;
  cursor: pointer;
  display: flex;
}

#response-dropdown {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 200px;
  overflow: hidden;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  z-index: 1;
}

#response-dropdown button {
  all: unset;
  width: 100%;
  color: black;
  padding: 6px;
  font-size: 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
}
#response-dropdown button:hover {
  background-color: #f1f1f1;
}

.tableView {
  margin-top: 30px;
  border-collapse: collapse;
  border: 1.5px #13294b solid;
  table-layout: fixed;
  width: 100%;
  font-family: "Montserrat";
  margin-bottom: 30px;
}

.tableView th,
.tableView td {
  text-align: left;
  padding: 12px;
}

.tableView tr {
  border-bottom: 1px solid #ddd;
}

.tableView th,
.tableView tr:hover {
  background-color: #f1f1f1;
}

.classroomAlert {
  font-family: "Montserrat";
  font-size: 20px;
  font-weight: bold;
  border-left: solid 5px #880;
  background-color: #ffe;
  padding: 20px;
  border-radius: 0px 10px 10px 0px;
}

.loader {
  width: 12px;
  height: 12px;
  border: 5px solid #000;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
