/*
	Typography mixin
 */
/* CSS Document */
#container {
  background-color: #afdff9;
  font-family: twinkl, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; }

.foreground-container {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 103;
  position: absolute;
  pointer-events: none; }

:focus {
  outline: none; }

.border-radius {
  border-radius: 8px; }

.text-button.play {
  width: 40%;
  line-height: 1.15;
  padding: 2.5% 1.5% 2.5% 1.5%;
  font-size: 2vw;
  border: none; }

#lets-go-button {
  width: 20%;
  font-size: 3vw;
  height: 12%;
  padding: 0.6%; }

.fit-me-button {
  height: 100%;
  width: 80%;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.title-text {
  font-size: 14vw;
  width: 50%;
  left: 25%;
  height: 40%;
  margin-top: 5%;
  top: 0 !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; }

#titlePage {
  width: 100%;
  height: 100%; }

#subContainer {
  position: absolute;
  height: auto;
  top: 55%;
  width: 100%;
  color: white;
  padding: 1%;
  font-weight: 600;
  font-size: 3vw;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; }

.jodal .jodal-title {
  font-size: 5vw;
  margin: 0 auto; }

.jodal .jodal-text {
  font-size: 2.6vw; }

.jodal .answer-text {
  text-align: center;
  z-index: 100;
  width: 90%;
  height: 15%;
  margin: 0 auto;
  margin-bottom: 5%; }

.jodal .jodal-sub-text {
  font-size: 2.6vw; }

.crosswordDisplay {
  top: 5rem;
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }

.clueBlock {
  position: relative;
  margin-bottom: 5em; }

.clueDirection {
  text-align: left;
  margin: 1em 0 0.25em 122px;
  font-size: 1.5em;
  font-weight: bold;
  color: #000; }

.word, .clue, .lineNum {
  display: inline-block;
  height: 1.4em;
  padding: 0 5px; }

.word {
  text-align: right;
  width: 100px;
  margin: 0 20px 0 0; }

.clue {
  width: 500px;
  margin: 0 0 4px 0; }

.lineNum {
  font: 1em calibri;
  line-height: 1.8em; }

.clueReadOnly {
  border-color: rgba(0, 0, 0, 0);
  margin: 0;
  outline: 0;
  color: #303030;
  background: none; }

.crossword {
  display: block;
  height: auto;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: absolute; }

.square {
  margin: 0 4px 4px 0;
  display: inline-block;
  position: relative;
  font-size: 24px;
  min-width: 3em;
  width: 3em;
  height: 3em;
  line-height: 3em;
  vertical-align: top;
  font-family: twinkl, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif"; }

.char:focus {
  -webkit-box-shadow: 0 0 0 2px #0085b4;
  box-shadow: inset 0 0 0 2px #0085b4; }

.char {
  border: 4px solid #5F283B;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  outline: 0;
  padding: 0;
  width: 3em;
  height: 3em;
  text-align: center;
  background-color: white;
  font-family: twinkl, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif" !important; }

.charReadOnly:focus {
  -webkit-box-shadow: 0 !important;
  box-shadow: 0 !important;
  border-color: rgba(0, 0, 0, 0);
  margin: 0;
  outline: 0;
  color: #303030; }

.num {
  position: absolute;
  top: 0;
  left: 0;
  text-align: left;
  color: black;
  font-size: 0.5em;
  line-height: 1em;
  pointer-events: none; }

.hide {
  visibility: hidden; }

.disabled {
  display: none !important; }

.btn:hover {
  cursor: pointer;
  background-color: #969696; }

#btnCheck {
  position: absolute;
  right: 2rem;
  cursor: pointer; }

#btnReset {
  position: absolute;
  left: 2rem;
  top: 1rem;
  cursor: pointer; }

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row; }

#keyboard .row {
  margin: 1% auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }

#keyboard .row div:last-of-type {
  margin: unset; }

.containment-restrain {
  pointer-events: none; }

.mystyle {
  border: 4px solid #e94e14;
  background-color: white !important;
  opacity: 1 !important; }

.temp-hide {
  opacity: 0.6; }

.clue-box {
  width: 35%;
  height: 35%;
  background-color: white;
  position: absolute;
  z-index: 10000;
  border-radius: 12px;
  padding: 1.5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-shadow: 0px 0px 18px -1px rgba(0, 0, 0, 0.33);
          box-shadow: 0px 0px 18px -1px rgba(0, 0, 0, 0.33);
  z-index: 10000000001; }

.text-clue-text {
  font-size: x-large;
  margin: 4% 0; }

.text-only {
  height: auto;
  width: auto;
  max-width: 30%; }

.image-only {
  width: 25%; }

#mainPanel {
  -webkit-transition: -webkit-transform 0.5s ease 0s;
  transition: -webkit-transform 0.5s ease 0s;
  -o-transition: transform 0.5s ease 0s;
  transition: transform 0.5s ease 0s;
  transition: transform 0.5s ease 0s, -webkit-transform 0.5s ease 0s; }

.main-content {
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important; }

.long-button-out {
  outline: 4px solid #E4DBCF !important; }

.clue-box-text-only {
  height: 20%; }

#keyBoard {
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  position: absolute;
  z-index: 10000;
  bottom: 1rem;
  -ms-flex-item-align: center;
      align-self: center;
  background: #5F283B !important; }
  #keyBoard svg {
    fill: white;
    -webkit-filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.29)) !important;
            filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.29)) !important; }

.close-con-small {
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  color: #5F283B;
  font-size: xx-large;
  outline: 4px solid #E4DBCF !important;
  position: absolute;
  top: -80px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-line-pack: center;
      align-content: center;
  background: #FAFAF8 !important;
  text-align: center;
  line-height: 0;
  font-weight: bolder; }
  .close-con-small:hover {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
    cursor: pointer; }

.check-button-cont {
  position: absolute !important;
  bottom: 0;
  right: 0; }

.button-panel-left {
  width: 10% !important;
  left: 0; }

.check-button {
  -webkit-box-shadow: 3px 4px 11px -3px rgba(0, 0, 0, 0.78);
          box-shadow: 3px 4px 11px -3px rgba(0, 0, 0, 0.78); }
  .check-button .long-button {
    top: 0;
    position: absolute; }

#btnCheck {
  position: absolute;
  z-index: 1000;
  bottom: 1rem; }

.clue-image-box {
  width: 100%;
  height: 70%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat; }

#keyboard {
  background: #FAFAF8 !important;
  height: 44%;
  outline: 4px solid #E4DBCF;
  width: 100%;
  margin: auto;
  border-radius: 12px 12px  0 0;
  z-index: 30000;
  font-size: 1.5rem;
  bottom: 0; }

.keyboard-cont {
  border-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  width: 100%;
  height: 45%; }

:host {
  height: var(--keyboard-height); }

#keyboard {
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 1%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

#keyboard .long-button-out {
  scale: 0.9; }

#keyboard .row {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  height: 30%;
  max-height: 33%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  margin: 1% 0;
  -ms-flex-wrap: nowrap !important;
      flex-wrap: nowrap !important;
  /* https://stackoverflow.com/questions/46167604/ios-html-disable-double-tap-to-zoom */ }

#keyboard .row .key-item {
  font-family: inherit;
  font-weight: bold;
  font-size: larger;
  border: 0;
  padding: 1%;
  margin: 0.7%;
  border-radius: 4px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: #5F283B !important;
  height: 100%;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
  position: relative;
  outline: 5px solid #E4DBCF; }
  #keyboard .row .key-item .inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-line-pack: center;
        align-content: center;
    text-align: center; }

.key-item {
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; }
  .key-item:hover {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05); }

.zoom-icon {
  margin: 15% 6% 15% 15%; }

.unlock-display {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  border: unset !important;
  outline: 4px solid #E4DBCF !important;
  -webkit-box-shadow: 3px 3px 8px -3px rgba(0, 0, 0, 0.78);
          box-shadow: 3px 3px 8px -3px rgba(0, 0, 0, 0.78);
  margin: 9% auto 4% auto !important; }

.back-button {
  font-size: xxx-large !important;
  font-weight: 600;
  margin: 0.5%; }

#keyboard .row div:focus {
  outline: none; }

#keyboard .row div.fade {
  -webkit-transition: background-color 0.1s ease, color 0.1s ease;
  -o-transition: background-color 0.1s ease, color 0.1s ease;
  transition: background-color 0.1s ease, color 0.1s ease; }

#keyboard .row div:last-of-type {
  margin: 0; }

.half {
  -webkit-box-flex: 0.5;
      -ms-flex: 0.5;
          flex: 0.5; }

.one {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1; }

.one-and-a-half {
  -webkit-box-flex: 1.5;
      -ms-flex: 1.5;
          flex: 1.5;
  font-size: 12px; }

.two {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2; }

.green-correct {
  border-color: #7BC143; }

#answerWasText {
  margin-top: 2%; }

.bring-forward {
  z-index: 10000000000 !important; }

.cork-image {
  pointer-events: none; }
