@media only screen and (max-width:1500px) {
  :root {
    --margin-qt: 1rem;
    --btn-row-height: 4rem;
  }
}
@media only screen and (min-width:1501px) {
  :root {
    --margin-qt: 2rem;
    --btn-row-height: 5rem;
  }
}


.test-half-container {
  flex: 1 1 10em;
  position: relative;
}
.test-half-container h2 {
  text-align: center;
  color: white;
}

.test-half-container textarea {
  width: calc(100% - var(--margin-qt) - var(--margin-qt));
  position: absolute;
  left: var(--margin-qt);
  top: var(--chat-top-pos);
  bottom: var(--btn-row-height);
}

.nrTokens {
  text-align: center;
  color: white;
  font-size: 12px;
  margin-top: -16px;
}

/*
.system-msg-container,
.questions-container {


}*/

.btns-row {
  position:absolute;
  top: calc(100% - var(--btn-row-height));
  left:0;
  right: 0;
  text-align: center;
}
.btns-row button {
  margin: 0.3rem;
}
.btns-row button.half {
  width:5rem;
}
.btns-row button.full {
  width:16.2rem;
}

.exp-col {
  width: 1.5em;
}

/********************* Warning page **********************/

#warningPage {
  position: absolute;
  top:0;
  left:0;
  right: 0;
  bottom: 0;
  background-color: black;
  opacity: 0;
  color:white;
  padding-top: 30vh;
  display: none;
  transition: opacity 1s linear;
}
#warningPage h1 {
  text-align: center;
}

/********************* Login page **********************/

#loginPage {
  position: absolute;
  top:0;
  left:0;
  right: 0;
  bottom: 0;
  background: url('../img/login.jpg') no-repeat fixed center center;
  background-size: cover;
  display: none;
}
#loginPage > div {
  margin-top: 45vh;
  text-align: center;
}
#loginPage input {
  margin-bottom: 1em;
  width: 20rem;
}
#lgnErrorTxt {
  color: red;
  text-align: center;
}

