/*DIMENSIONS FOR MS IDENTITY FIX*/
/*width: 300px*/
/*height: 455px*/


/*START MATCHKEY DESIGN*/

.match-game h2.text {
  margin-top: 2%;
  margin-bottom: 0%;
}

.match-game button.button {
  margin-top: 2%;
}

.match-game div.box.challenge-container {
  margin-top: -2%;
}

.match-game div.pip-container {
  margin-top: 0px;
}

.match-game p.key-frame-text.text {
  bottom: -10px;
  width: 200px;
}

.match-game-fail p.key-frame-text.text {
  bottom: -10px;
  width: 200px;
}

.match-game h2.text {
  margin-top: 3%;
  margin-bottom: 10%;
}

.match-game button.button {
  width: 100%;
}

/*match game fail*/
h2.match-game-alert.text {
  text-align: start;
  margin-top: 5%;
}

div.alert.box {
  background: transparent;
  padding: 4px 16px;
}

.match-game-fail p.text {
  font-weight: normal;
  margin-bottom: 2%;
}

/*END MATCHKEY DESIGN*/


/*Tile Game*/

.tile:hover {
  outline: 4px solid #f00;
}

.tile:focus {
  outline: 4px solid blue;
}

/*tile game*/
.tile-game h2.text {
  text-align: start;
  margin-top: 0%;
  font-size: 1em;
  font-weight: normal;
  margin-bottom: -2px;
}

.tile-game div.box.round-text-container {
  margin-bottom: 2px;
}

.tile-game p.text {
  font-size: 14px;
  margin: 0px;
}

/*tile game fail*/
.tile-game-fail button.button {
  width: 50%;
  margin-left: 50%
}

h2.tile-game-alert.text {
  text-align: start;
  font-weight: normal;
  margin-top: 5%;
  margin-bottom: 6%;
  text-align: left;
}


.tile-game-fail p.text {
  text-align: start;
  font-weight: normal;
}




/*Globals*/

div.box.container {
  border-color: #f7f7f7;
}



/*button*/
button.button {
  padding: 12px 30px;
  border: none;
  font-weight: normal;
  border-radius: 0px;
  width: auto;
}

/*progress*/
.progress div.progress-section-container,
.progress div.progress-section-fill {
  height: 16px;
}


div.progress.box.screen {
  background: #fff;
}



/*Loading*/
.loading svg.loading-spinner path {
  stroke: #0067b8;
  stroke-width: 4px;
}



/*audio-game*/
.audio-game h2.heading.text {
  font-weight: normal;
  margin-bottom: -5%;
}


h2.audio-game-alert.text {
  padding: 10px 0px;
  font-size: 18px;
}

.audio-game button.play-button {
  border: none;
}

.audio-game button.button {
  align-self: flex-end;
}

.audio-game input.answer-input {
  border: none;
  border-bottom: 1px solid #000;
  border-radius: 0px;
  width: 50%;
  position: absolute;
  top: 60%;
  right: 5%;
}

.navigation img {
  width: 24px;
}


.error p.text {
  max-width: 100%;
}


/*home*/
.home h2.heading.text {
  display: none;
}

.home img.logo {
  padding-top: 20%;
  padding-bottom: 20%;
  order: 2;
}

.home p.text {
  order: 1;
  text-align: start;
  margin-top: 5%;
  max-width: 100%;
  padding: 0px;
}

.home button.button {
  margin-left: 50%;
  order: 3;
}

.home p.embeddedSessionID {
  order: 4;
}

.home path {
  display: none;
}



/*audio mode*/
form.audio-mode.box.screen {
  padding-top: 15%;
}

h2.audio-mode-alert.text {
  margin-top: 5%;
  text-align: center;
  margin-bottom: -15%;
  font-size: 16px;
}



/* high contrast scenario*/
@media (forced-colors: active) {
  .progress-container {
    border: solid #DADADA;
  }

  .progress div.progress-section-fill {
    border: solid #DADADA 5px;
  }

  div.active.pip {
    background: #000 !important;
    color: #000;
    border: solid Highlight 5px;
  }
}

@media (-ms-high-contrast: active) {
  .progress-container {
    border: solid Highlight;
  }

  .progress div.progress-section-fill {
    border: solid Highlight 5px;
  }

  div.active.pip {
    background: #000 !important;
    color: #000;
    border: solid Highlight 5px;
  }
}


/*media queries for smaller devices*/

@media screen and (max-width: 375px) {
  .home button.button {
    padding: 12px 20px;
  }

  .home img.logo {
    padding-top: 10%;
    padding-bottom: 10%;
    margin-bottom: 0px;
    margin-top: 0px;
    order: 2;
  }

  .audio-game input.answer-input {
    top: 50%
  }

  .match-game h2.text {
    font-size: 14px;
    margin-bottom: 1%;
  }

  .match-game button.button {
    margin-top: 0px;
    margin-bottom: 0%;
    width: 100%;
  }

  .match-game div.pip-container {
    margin-bottom: 0px;
    margin-top: 0px;
  }

  h2.match-game-alert.text {
    font-size: 18px;
    margin-top: 8px;
  }

  .match-game-fail p.text {
    font-size: 14px;
  }
  
  .match-game-fail div.example-container.box {
    margin-top:0px;
}

  div.navigation.box {
    height: 48px;
  }

  .tile-game h2.text {
    margin-top: 8px;
    margin-bottom: -2%;
    font-size: 16px;
  }

  .tile-game p.text {
    font-size: 14px;
  }

  .tile-game-fail div.example-container.box {
    margin-bottom: 8px;
  }

  .tile-game-fail div.box {
    margin-bottom: 5%;
    width: 80%;
    margin-left: 7%;
  }

  h2.tile-game-alert.text {
    margin-top: 10%
  }

  .tile-game.screen {
    padding: 0;
  }

  .tile-game .challenge-container {
    width: 300px;
  }

  .tile-game div.box.challenge-container {
    transform: scale(0.8);
    margin-top: -5%;
  }

}

@media screen and (max-width: 321px) {

  h2.audio-game-alert.text {
    padding-bottom: 10%;
  }

  .left-arrow {
    transform: scale(0.8);
  }

  .right-arrow {
    transform: scale(0.8);
  }

  .match-game-fail div.example-container.box {
    margin-left: 0%;
    margin-right: 0%;
  }

  .match-game h2.text {
    margin-bottom: 5%;
  }
}



.match-game-fail p.key-frame-text.text {
  font-size:10px;
}

.match-game-fail p.embeddedSessionID {
  font-size:10px;
}