@charset "utf-8";
/* CSS Document */
.new-banner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.new-banner-image {
  flex: 1 1 300px;
  min-width: 0;
}
.new-banner-image img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* report card modal */
.report-card-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.rpt-content {
  background-color: white;
  padding: 25px;
  width: 45rem;
  max-width: 90%;
  max-height: 50rem;
  overflow-y: scroll;
  border: 4px solid #4f7b99;
  border-radius: 10px;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
  display: block;
}

.rpt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  cursor: pointer;
}

.report-card-modal h2 {
  text-align: center;
}
p.rpt-notice {
  border-left: 5px solid #4f7b99;
  padding: 5px;
  margin-top: 10px;
  background-color: #edf1f5;
}
.user-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas: "visitor-name session-date";
}

.session-date {
  grid-area: session-date;
}

.visitor-name {
  grid-area: visitor-name;
}

.visitor-name .name {
  border: none; /* remove default border from element */
  border-bottom: 1px solid #ccc;
  width: 100%;
  &:focus {
    box-shadow: none;
    outline: none;
    border-bottom: 2px solid #4f7b99;
  }
}
.session-date {
  font-weight: 700;
  padding-left: 10px;
  align-self: end;
  border-bottom: 1px solid #ccc;
}

.visitor-name label {
  font-weight: 700;
  margin-bottom: 1rem;
}

#current_dateandtime,
.results span {
  font-weight: normal;
}
.results {
  margin-top: 15px;
  font-weight: 700;
}
.report-card-buttons {
  text-align: center;
  padding: 5px 5px;
}
button.btn.btn-info {
  margin-top: 10px;
  border: 1px solid #882d18;
  color: #fff;
  background: #882d18;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  text-decoration: none;
  &:hover {
    background: #c84f33;
    transition: ease 0.5s;
    color: #fff;
  }
}
button.btn.rpt-clear {
  border: 1px solid #c7c7c7;
  color: black;
  background: #e5e5e5;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 10px;
  &:hover {
    transition: ease 0.5s;
    border-color: #213140;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3),
      0 1px rgba(255, 255, 255, 0.1);
  }
}
.header-fm-logo {
  display: block;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 10px;
}
.rpt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#report-card h3 {
  font-size: 1.5rem;
  margin-top: 15px;
  text-decoration: underline;
  text-decoration-color: #4f7b99;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

#insights table {
  border-collapse: collapse;
  width: 100%;
}

#insights td {
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 0.9rem;
}

#insights tr td:not(:nth-child(1)) {
  text-align: center;
}

#insights tr:nth-child(even) {
  background-color: #edf1f5;
}

#insights th {
  background: #b7c9d6;
  color: #000101;
  border: 1px solid #ddd;
  padding: 8px;
}

#insights .sta-code {
  font-weight: bold;
}

#insights .table-results,
thead th:not(:first-child) {
  text-align: center;
}

/* Accordion styling*/

#insights details div {
  padding-top: 5px;
}

#insights details[open] summary ~ * {
  animation: open 1s ease-in-out;
}

@keyframes open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#insights summary:focus-visible {
  outline: 3px solid #c6e7a0 !important;
  outline-offset: 3px;
}

#insights details summary::-webkit-details-marker {
  display: none;
}

#insights details summary {
  width: 100%;
  padding: 0.5rem 0;
  position: relative;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: bold;
  list-style: none;
  outline: 0;
}

#insights details summary:after {
  content: "+";
  color: black;
  position: absolute;
  font-size: 1.75rem;
  line-height: 0;
  margin-top: 0.75rem;
  right: 0;
  font-weight: 200;
  transform-origin: center;
  transition: 200ms linear;
}
#insights details[open] summary:after {
  transform: rotate(45deg);
  font-size: 2rem;
}

/* printing help */
@media print {
  .no-print,
  .no-print *,
  summary:after {
    display: none !important;
  }
}
/* adjust display of report card on mobile */
@media screen and (max-device-width: 640px) {
  .header-fm-logo {
    width: 100%;
    height: auto;
  }
  .user-info {
    display: block;
  }
  .session-date,
  .visitor-name {
    margin: 0 auto;
    padding: 10px;
  }
}
/* Original Timeline Challenge Styling (credit: Shanice Morgan) */
@media screen and (min-width: 576px) {
.jumbotron {
    padding: 6.7rem 2rem;
  }
}
.jumbotron {
  background-color: #4f7b99;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.jumbotron h1 {
  font-weight: 700;
  font-size: 4.75em;
  line-height: 1;
  margin-bottom: .25em;
  text-align: center;
  text-shadow: 2px 2px 4px #000000;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.jumbotron p {
  color: #ccd0d4;
}
.content_header {
  display: flex;
  justify-content: center;
}
.content_header .title {
  text-align: center;
  -ms-flex-item-align: center;
  align-self: center;
  z-index: 500;
}
.content_header .split {
  height: 120px;
  width: 1px;
  background-color: #ccd0d4;
}
.content_header .intro {
  -ms-flex-item-align: center;
  align-self: center;
}
@media screen and (min-width: 1340px) {
  .content_header .title {
    width: 100%;
  }
}
@media screen and (max-width: 1340px) {
  .content_header {
    display: inline-block;
  }
}
.fontSizeMedium .content_header .title {
  width: 100%;
}
.DyslexicFont .content_header .title {
  width: 100%;
}
.fontSizeMedium.DyslexicFont .content_header .title {
  width: 100%;
}
#game_container {
  margin: 0 auto;
  display: block;
  padding: 0;
  user-select: none;
}
#game_container #draggable_container,
#game_container #droppable_container {
  width: 75%;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 10px 15px 5px;
  margin: 0 auto 20px;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
  overflow: hidden;
  place-content: center;
}
#game_container #draggable_container {
  height: 300px;
  display: grid;
  grid-auto-flow: column;
}
#game_container #droppable_container {
  height: 310px;
}
#game_container #score_container {
  display: none;
  border: 1px solid #999;
  border-radius: 10px;
  text-align: center;
  font-size: 22px;
  max-width: 400px;
  width: auto;
  margin: auto auto 15px auto;
  padding: 15px;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  background-color: #000;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #game_container #score_container {
    font-size: 16px;
  }
}
#game_container .dragthis {
  position: relative;
  display: inline-block;
  text-align: center;
  cursor: move;
  height: 250px;
  width: 185px;
  border: 2px solid #882d18;
  background-color: #fff;
  float: left;
  margin: 5px 4.6px 0;
  color: #333;
  -webkit-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  &:focus-visible {
    outline: 3px solid #c6e7a0;
    outline-offset: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
      rgba(0, 0, 0, 0.22) 0px 15px 12px;
  }
}
#game_container .dropped,
#game_container .correct,
#game_container .incorrect {
  cursor: move;
  height: 214px;
  width: 154px;
  font-weight: normal;
  text-align: center;
  border: 2px solid #882d18;
  background-color: #fff;
  margin: 10px auto;
  -webkit-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  &:focus-visible {
    outline: 3px solid #c6e7a0;
    outline-offset: 2px;
  }
}
#game_container .dragthis .card_image,
#game_container .dropped .card_image,
#game_container .correct .card_image,
#game_container .incorrect .card_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}
#game_container #droppable_container div.subcontainer {
  position: relative;
  text-align: center;
  width: calc(20% - 10px);
  height: 280px;
  color: #333;
  background-color: #e5e5e5;
  padding: 5px;
  margin: 5px;
  float: left;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  overflow-y: auto;
  overflow-x: hidden;
  &:focus-visible {
    outline: 3px solid #c6e7a0;
    outline-offset: 2px;
    box-shadow: inset 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
  }
}
.checkIcon {
  display: none;
}
.wrongIcon {
  display: none;
}
#game_container .correct .checkIcon {
  display: block;
  position: absolute;
  background-color: #3f9d3f;
  color: white;
  font-size: 24px;
  padding: 10px;
  border-radius: 0.25rem;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#game_container .incorrect .wrongIcon {
  display: block;
  position: absolute;
  background-color: #d53d39;
  color: white;
  font-size: 24px;
  padding: 10px;
  border-radius: 0.25rem;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.year_hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  background-color: #565656;
  color: #424242;
  /*changed from original color to meet contrast guidelines */
  text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  transition: top 0.3s ease-in-out, font-size 0.3s ease-in-out;
  /* to go with dropped CSS */
}
.year_hint.card-dropped {
  top: 90%;
  font-size: 15px;
  transition: top 0.3s ease-in-out, font-size 0.3s ease-in-out;
}
.img_container {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.5rem;
  align-items: center;
  display: flex;
  background-color: #fff;
}

.img_hint {
  background-color: #c6e7a0;
  bottom: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 55px;
  padding: 5px 0;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  display: table;
  vertical-align: middle;
}
.img_hint span {
  display: table-cell;
  vertical-align: middle;
  line-height: 1.2em;
  padding: 0 3.2px;
}
.subcontainer .dropped .img_hint,
.subcontainer .correct .img_hint,
.subcontainer .incorrect .img_hint {
  font-size: 11px;
}
.output_correct {
  display: none;
}
.qanswer.correct .output_correct,
.qanswer.incorrect .output_correct {
  display: block;
  position: absolute;
  padding-top: 5px;
  left: 0;
  width: 100%;
}
.qanswer.incorrect .output_correct #event-date {
  visibility: hidden;
  position: relative;
}
.qanswer.incorrect .output_correct #event-date::after {
  content: "Find the date:"; /* avoiding changing through JS, but is it accessible? */
  visibility: visible;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(50%);
  color: #d53d39;
}
.qanswer.correct .year_hint,
.qanswer.incorrect .year_hint {
  display: none;
}
#game_container #button_container {
  text-align: center;
  margin: 0 auto;
  /* button sections */
  display: grid;
  gap: 10px 5px;
  grid-auto-flow: row;
  grid-template-areas:
    "gameplay-buttons"
    "experience-buttons";
}
.gameplay-buttons {
  grid-area: gameplay-buttons;
}
.experience-buttons {
  grid-area: experience-buttons;
}
@media screen and (max-width: 443px) {
  #button_container .controls {
    margin: 0 auto 10px;
    display: block;
  }
}
#button_container .controls {
  border: 1px solid #882d18;
  color: #fff;
  background: #882d18;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
  &:hover {
    background: #c84f33;
    transition: ease 0.5s;
  }
}
button#check_button:disabled {
  background-color: #cfaba3;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.6;
  border: 1px solid #cfaba3;
}
#ok_button,
#ok_filter_button {
  border: 1px solid #882d18;
  color: #fff;
  background: #882d18;
  padding: 6px 10px;
  border-radius: 3px;
  margin-top: 10px;
  font-size: 18px;
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
  &:hover {
    border: 1px solid #882d18;
    color: #fff;
    background: #c84f33;
    padding: 6px 10px;
    border-radius: 3px;
    transition: ease 0.5s;
  }
}
button#change_settings_button,
button.open-rpt-card {
  border: 1px solid #c7c7c7;
  color: black;
  background: #e5e5e5;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  margin: 0 auto;
  cursor: pointer;
  &:hover {
    transition: ease 0.5s;
    border-color: #213140;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3),
      0 1px rgba(255, 255, 255, 0.1);
  }
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
/* control visibility when toggled */
.matchgame {
  display: none;
}
.container-popup {
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 650;
  display: none;
}
.popup_warning {
  width: 290px;
  height: min-content;
  background: #fff;
  color: black;
  font-size: 22px;
  text-align: center;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 50;
  box-shadow: 5px 10px 8px #2f2f2f;
  border-radius: 10px;
  border: 4px solid #4f7b99;
  -moz-animation: fadein 0.5s;
  -webkit-animation: fadein 0.5s;
  -o-animation: fadein 0.5s;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.popup_warning i {
  color: #eb8822;
  font-size: 40px;
}
@media screen and (max-width: 992px) {
  .popup_warning i.fa-exclamation {
    font-size: 30px;
  }
}
@media screen and (max-width: 1280px) and (min-width: 1140px) {

	.rpt-content {
		height: 95%;
	}
	
#game_container #draggable_container,
  #game_container #droppable_container {
    width: 85%;
  }
}
@media screen and (max-width: 1139px) and (min-width: 992px) {
  #game_container #draggable_container,
  #game_container #droppable_container {
    width: 100%;
  }
  #game_container .dragthis {
    height: 255px;
    width: 170px;
  }
  #game_container #droppable_container div.subcontainer {
	overflow: visible;
  }
  #game_container .dropped,
  #game_container .correct,
  #game_container .incorrect {
    height: 205px;
    width: 137px;
    margin-left: 3px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 991px) {
  #game_container #score_container {
    font-size: 18px;
  }
  #game_container #droppable_container {
    width: 100%;
    height: 220px;
    overflow-y: auto;
    padding: 10px;
  }
  #game_container #draggable_container {
    height: 220px;
    width: 100%;
  }
  .img_hint {
    font-size: 10px;
    height: 40px;
  }
  #game_container .dragthis {
    height: 200px;
    width: 131px;
  }
  #game_container #droppable_container div.subcontainer {
    width: calc(20% - 10px);
    height: 100%;
    overflow: visible;
  }
  #game_container .dropped,
  #game_container .correct,
  #game_container .incorrect {
    height: 150px;
    width: 111px;
    margin: 0 auto;
    top: 30%;
  }
  .qanswer.incorrect .output_correct #event-date::after {
    display: none;
  }
}
@media screen and (max-width: 785px) {
   #game_container .dragthis {
    height: 180px;
    width: 125px;
  }
}
@media screen and (max-width: 743px) {
   #game_container .dragthis {
    height: 175px;
    width: 120px;
  }
	.year_hint.card-dropped {
		font-size: 13px;
	}
}
@media screen and (max-width: 734px) {
   #game_container .dropped,
  #game_container .correct,
  #game_container .incorrect {
    height: 145px;
    width: 101px;
  }
}
@media screen and (max-width: 675px) {
  #game_container .dragthis {
    height: 165px;
    width: 110px;
  }

  #game_container .dropped,
  #game_container .correct,
  #game_container .incorrect {
    height: 140px;
    width: 95px;
  }

  .year_hint.card-dropped {
    top: 85%;
  }
}
@media screen and (max-width: 640px) {
	#game_container .dragthis {
    height: 130px;
    width: 100px;
  }
	
   #game_container .dropped,
  #game_container .correct,
  #game_container .incorrect {
    height: 125px;
    width: 90px;
  }

	.year_hint.card-dropped {
		top: 85%;
	}
}
/* For Mobile Portrait View */
@media screen and (max-width: 580px) and (orientation: portrait) {
  #game_container #draggable_container {
    height: auto;
    box-shadow: none !important;
	display: block;
  }
  #game_container #droppable_container {
    width: 100%;
    height: 444px;
    overflow-y: auto;
    padding: 10px;
    box-shadow: none !important;
    border-radius: 0;
    border-top: 2px solid black;
    margin-top: 15px;
  }

  #game_container #droppable_container div.subcontainer {
    width: 95%;
    height: calc(20% - 10px);
	overflow: visible;
  }

  #game_container .dragthis {
    height: 60px;
    width: 95%;
    margin: 10px 5px 5px 5px;
	border: none;
  }
  #game_container .dragthis .card_image,
  #game_container .dropped .card_image,
  #game_container .correct .card_image,
  #game_container .incorrect .card_image {
    height: 100%;
    width: 35%;
    object-fit: cover;
  }

  #game_container .dropped,
  #game_container .correct,
  #game_container .incorrect {
    height: 95%;
    width: 90%;
    float: left;
    border: none;
    position: relative;
    background: none;
    top: 0;
  }
  .year_hint.card-dropped {
    top: 50%;
    left: 80%;
  }
  .qanswer.correct .output_correct,
  .qanswer.incorrect .output_correct {
    position: absolute;
    display: flex;
    width: 35%;
    height: 100%;
    top: 0;
    left: 75%;
    font-size: 13px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .img_hint {
    width: 65%;
    height: 100%;
    float: right;
    position: relative;
    font-size: 13px;
  }

  .dropped .img_hint {
    width: 40%;
    height: 100%;
    float: right;
    position: relative;
    font-size: 13px;
  }
  
  .qanswer.correct .img_hint,
  .qanswer.incorrect .img_hint {
    width: 40%;
    height: 100%;
    float: right;
    position: relative;
    font-size: 9px;
  }

 .qanswer.incorrect .output_correct #event-date {
    display: none;
  }

  button#change_settings_button,
  button.open-rpt-card {
    margin-bottom: 10px;
  }
  
  .rpt-content {
    height: 90%;
  }
}
@font-face {
  font-family: "Inconsolata";
  src: url("/learn/classroom/game/fonts/Inconsolata-Regular.eot");
  src: url("/learn/classroom/game/fonts/Inconsolata-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("/learn/classroom/game/fonts/Inconsolata-Regular.woff2") format("woff2"),
    url("/learn/classroom/game/fonts/Inconsolata-Regular.woff") format("woff"),
    url("/learn/classroom/game/fonts/Inconsolata-Regular.ttf")
      format("truetype");
  font-weight: 500;
  font-style: normal;
}
/* horizontal nav */
.hz-nav ul {
  list-style: none;
  padding: 0;
  padding-top: 0.5em;
  display: flex;
  justify-content: center;
}

.hz-nav li {
  margin-left: 0.9em;
}

.hz-nav a {
  text-decoration: none;
  color: #909090;
  font-weight: 600;
  padding: 0.25em 0;
}

.hz-nav a:focus-visible {
  outline: 3px solid #c6e7a0 !important;
  border-radius: 3px;
  outline-offset: 3px;
}

.hz-nav .current-page a {
  border-bottom: 1px solid #bd5410;
}

.hz-nav .current-page:hover {
  color: #bd5410;
}

 @media (max-width: 895px) {
  .hz-nav ul {
    flex-direction: column;
  }
.hz-nav .current-page {
  border-bottom: none;
}
  .hz-nav li {
    margin: 0.5em 0;
  }
} 

.stuck .hz-nav {
	display: none;
}


/* caption and hint modals */
.openOutput {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #00509d;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  &:hover {
    color: #bd5410 !important;
  }
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
.hint,
.eventCaption {
  position: fixed;
  /* Stays in place even when scrolling */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 75%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* Initially hidden, shown with JavaScript */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.hint.show-hint,
.eventCaption.show-hint {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.25s, transform 0.25s;
}
.hint-content,
.caption-content {
  background-color: #fff;
  overflow-wrap: break-word;
  line-height: 1.5;
  padding: 0px 30px;
  width: 35rem;
  height: auto;
  border: 4px solid #4f7b99;
  border-radius: 10px;
  box-shadow: 0 19px 38px rgb(0 0 0 / 12%), 0 15px 12px rgb(0 0 0 / 22%);
  position: relative;
  text-align: center;
}
.caption-content h3 {
  margin: 20px 10px 10px 15px;
  font-size: 1.15rem;
  text-align: center;
}
.hint-text {
  padding: 10px;
  margin: 5px 25px 5px 25px;
}
.caption-title {
  margin: 5px 25px 5px 25px;
}
.btn-close {
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  background-color: #d3d3d3;
  border: none;
  font-weight: bold;
  padding: 5px;
  margin-bottom: 10px;
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
#rpt-close {
    border: 1px solid #c7c7c7;
    color: black;
    background: #e5e5e5;
    padding: 10px 20px;
    border-radius: 3px;
    display: block;
    margin: 10px auto;
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
.hint-overlay,
.caption-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.infoIcon {
  --radius: 30px;
  position: absolute;
  width: var(--radius);
  height: var(--radius);
  border: 2px solid #882d18;
  top: calc(var(--radius) / -3);
  left: calc(var(--radius) / -3);
  border-radius: 50%;
  background-color: #882d18;
  &:hover::before {
    background-color: #c84f33;
  }
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
    border-radius: 50%;
  }
}
.infoIcon .fa {
    font-size: 25px;
    color: #fff;
    transition: transform 0.5s, color 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
  &:hover & {
    color: #fff;
  }
}
/* SR Only */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
/* the settings modal */
.settings-modal {
  z-index: 400;
  width: 50rem; /* might adjust to 100% or larger rem for col-12 */
  max-width: 100%;
  height: auto;
  background-color: white;
  border: 4px solid #4f7b99;
  border-radius: 10px;
  position: relative; /* changed from aboslute to try to keep footer from coming up */
  margin: 0 auto;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px !important;
}
h2#title {
  text-align: center;
  padding-top: 15px;
}
p#view-selections {
  font-size: 1.17rem;
  font-weight: bold;
  text-align: center;
  margin: 2px;
}
.selections-box {
  padding: 15px;
  margin: 0px 40px;
  border-radius: 4px;
  background: #dae4ea;
  p {
    font-weight: bold;
  }
  span {
    font-weight: normal;
  }
}
.date-settings legend,
.grade-settings legend {
  padding: 0.5rem 0;
  display: block;
  font-size: 1.17rem;
  font-weight: bold;
  text-align: center;
}
.settings-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto auto auto;
  gap: 20px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "active-selections active-selections"
    "grade-settings grade-settings"
    "subject-settings subject-settings"
    "date-settings date-settings"
    "settings-actions settings-actions";
}

.active-selections {
  display: grid;
  grid-auto-columns: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  justify-self: center;
  align-self: center;
  grid-area: active-selections;
  width: 100%;
}

.subject-settings {
  justify-self: center;
  align-self: center;
  grid-area: subject-settings;
  width: 100%;
  position: relative;
}

.grade-settings {
  justify-self: center;
  align-self: center;
  grid-area: grade-settings;
  width: 100%;
  text-align: center;
}

.date-settings {
  justify-self: center;
  align-self: center;
  grid-area: date-settings;
}

.settings-actions {
  justify-self: center;
  align-self: center;
  grid-area: settings-actions;
  margin-bottom: 15px;
  position: relative;
  display: grid;
  align-content: center;
}

/* Dropdown Styles */
.cmp-dropdown {
  position: relative;
  flex: 0 1 auto;
}
.cmp-dropdown-label {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.17rem;
  font-weight: bold;
  text-align: center;
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
.cmp-dropdown-button {
  appearance: none;
  border: none;
  background-color: #4f7b99;
  color: #fff;
  padding: 0.75rem 2rem;
  width: 90%;
  height: 2.2rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 auto;
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
.cmp-dropdown-button-text {
  flex: 1;
}
/* Icon Styling */
.cmp-dropdown-button-icon {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* List Container */
.cmp-dropdown-list-container {
  background-color: #edf1f5;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 90%;
  box-sizing: border-box;
  display: none;
  padding: 1rem 1rem 0;
  position: absolute;
  max-height: 230px;
  overflow: scroll;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.cmp-dropdown-list-container.active {
  display: block;
}
/* List Search Container */
.cmp-dropdown-list-search-container {
  position: relative;
}
.cmp-dropdown-list-search-box {
  appearance: none;
  background-color: #fff;
  border-bottom: 1px solid black;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  outline: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem;
  text-indent: 2rem;
}
.cmp-dropdown-items-list {
  list-style: none;
  margin: 0;
  padding: 0; /* stops list items from being indented */
  min-height: 100%;
}
/* Search Box */
.cmp-dropdown-list-search-box:focus-visible {
  border: 1px solid #4f7b99;
}
/* Search Icon */
.cmp-dropdown-search-icon {
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  padding: 0.25rem;
  width: 1.5em;
  height: 1.5em;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" fill="%23009CA6" d="M8.346 13.794C8.346 8.394 12.76 4 18.183 4s9.838 4.395 9.838 9.794c0 5.398-4.415 9.793-9.838 9.793-2.418 0-4.509-.747-6.222-2.191l-7.547 7.513L3 27.5l7.547-7.513c-1.451-1.706-2.201-3.787-2.201-6.194Zm1.837 0c0 4.392 3.588 7.964 8 7.964s8-3.572 8-7.964c0-4.393-3.588-7.965-8-7.965s-8 3.572-8 7.965Z"></path></svg>');
}
/* Option Styles */
.option {
  position: relative;
  padding: 0.5rem 0.5rem;
  display: flex;
  gap: 20px 10px;
  cursor: pointer;
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}

/* Grade Tags for Subject Areas */
.gradeTag {
  color: #fff;
  background: #4f7b99;
  padding: 2px 6px;
  font-size: 0.75rem;
  border-radius: 4px;
}
/* Dropdown options */
.option:hover {
  background-color: #94aec1;
}
.option.filter-hidden {
  display: none;
}
.option.active {
  background-color: #94aec1;
  color: #fff;
}
/* Selected prompt for accessibility */
.a11y-selected-prompt {
  position: absolute;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  clip-path: rect(0, 0, 0, 0);
  display: none;
}

.option.multi:before {
  content: "";
  display: block;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.125rem;
  margin-top: 0.25rem;
  background-color: #fff;
}

.option.selected .a11y-selected-prompt {
  display: block;
}

.option.multi.selected:before {
  background-color: #fff;
}

.option.multi.selected:after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 0.25rem;
  height: 0.625rem;
  border: solid #4f7b99;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 600px) {
  .filters-container {
    gap: 15px;
  }
  .cmp-dropdown-list-container {
    max-height: 180px;
  }
}
/* Style for 'Select All' option */
.option.select-all {
  border-bottom: 1px solid #727272;
}
/* Visibly disable items in dropdown filter based on user selections */
.cmp-dropdown-list-container li.option.disabled,
.cmp-dropdown-list-container li.option[aria-disabled="true"] {
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  text-decoration: line-through;
}
/* Date mode toggle */
.date-settings .toggle {
  display: flex;
  justify-self: center;
  width: 100%;
}
.toggle input {
  width: 0;
  height: 0;
  position: absolute;
  appearance: none;
}
.toggle input + label {
  flex-grow: 1;
  margin: 0;
  padding: 0.75rem 2rem;
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #ddd;
  background-color: #e5e5e5;
  line-height: 50%;
  font-weight: 500;
  text-align: center;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.1s ease-in-out;
  cursor: pointer;
}
.toggle input + label:first-of-type {
  border-radius: 4px 0 0 4px;
  border-right: none;
}
.toggle input + label:last-of-type {
  border-radius: 0 4px 4px 0;
  border-left: none;
}
.toggle input:hover + label {
  border-color: #213140;
}
.toggle input:checked + label {
  background-color: #4f7b99;
  color: #fff;
  box-shadow: none;
  border-color: #4b9dea;
  z-index: 1;
}
.toggle input:focus-visible + label {
  outline: 3px solid #c6e7a0 !important;
  outline-offset: 3px;
}
/* Grade checkbox styling from W3 School */
.grade-option {
  display: inline-flex;
  gap: 8px;
  padding-left: 15px;
  padding-right: 15px;
  cursor: pointer;
  font-size: 1.05rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (max-width: 420px) {
  .grade-option {
    display: block;
  }
  .checkmark {
    margin-right: 10px;
  }
}
/* hide browser's default checkbox */
.grade-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  display: inline-block;
  height: 25px;
  width: 25px;
  background-color: #eee;
  position: relative;
}
/* On mouse-over, add a grey background color */
.grade-option:hover input ~ .checkmark {
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.grade-option input:checked ~ .checkmark {
  background-color: #4f7b99;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.grade-option input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.grade-option .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.grade-option:focus-visible,
.grade-option input:focus-visible + .checkmark {
  outline: none !important;
}

.grade-option input:focus-visible ~ .checkmark,
.grade-option input:focus-visible ~ span:not(.checkmark) {
  box-shadow: 0 0 0 3px #c6e7a0;
  border-radius: 4px;
}
/* buttons */
.reset-settings {
  border: 1px solid #c7c7c7;
  color: black;
  background: #e5e5e5;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  margin: 5px auto;
  &:hover {
    transition: ease 0.5s;
    border-color: #213140;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3),
      0 1px rgba(255, 255, 255, 0.1);
  }
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
.apply-settings {
  border: 1px solid #882d18;
  color: #fff;
  background: #882d18;
  padding: 10px 20px;
  border-radius: 3px;
  display: inline-block;
  margin: 5px auto;
  &:hover {
    background: #c84f33;
    transition: ease 0.5s;
  }
  &:focus-visible {
    outline: 3px solid #c6e7a0 !important;
    outline-offset: 3px;
  }
}
.apply-settings[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Using keyboard */
.kbMoveMenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 100;
    padding: 5px;
    border-radius: inherit; /* Match card rounded corners */
}

.kbMoveMenuHeader {
  font-size: 1em;
  margin: 0 0 8px 0;
  padding: 2px;
  font-weight: bold;
}

.kbMoveMenu-content {
  display: flex;
  flex-direction: column;
  margin: 5px auto;
  padding: 2px;
}

button.move-btn, button.cancel-btn, button.return-btn {
    cursor: pointer;
    padding: 4px;
    font-size: 0.85em;
    border: 1.5px solid #ccc;
    background: #fff;
    border-radius: 4px;
    margin: 1.5px;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
&:hover, &:focus {
    background: #C6E7A0;
    outline: none;
}
.qanswer:focus-within .hint-modal-icon {
	tabindex: 0;
}
.dropdown-option:focus-within {
    background-color: #94aec1;
}
a.dropdown-option[data-toggle="check-all"]:focus-visible {
    background-color: #94aec1; 
}
.subcontainer.has-card .qanswer .img_container {
    width: 183px; 
    margin: 0 auto; 
    display: block; 
}
.subcontainer.has-card .qanswer .img_container .img_hint {
    position: relative; /*helps stop it from strecthing to fit the subcontainer */
	transform: translateY(-100%); /* pull the span up by its own height */
}