/* Ensure, that content is scrollable in y-dimension */
html {
  overflow-x: hidden !important;
}
html.a-fullscreen body {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}

form.form-fullwidth {
  width: 100%;
}

/* Instruction screen styling */
.text-instruction {
  margin-right: 20%;
  margin-left: 20%;
}
.text-instruction p {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
}
.text-instruction ul {
  list-style-position: inside;
  text-align: left;
}

/* Image Classes for styling */
img.image-large {
  width: 300px;
}

img.image-inline-small {
  width: 50px;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
}

img.image-inline-auto {
  width: auto;
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Form Sytling likert scale according to: https://codepen.io/Buttonpresser/pen/poXVod */
form .question {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 20px;
  margin-left: 20%;
  width: 60%;
  text-align: left !important;
}
form .likert5 {
  list-style: none;
  width: 50%;
  margin: 0;
  margin-left: 25%;
  padding: 0 0 35px;
  display: block;
  border-bottom: 2px solid #efefef;
}
form .likert5:last-of-type {
    border-bottom: 0;
}
form .likert5:before {
  content: '';
  position: relative;
  top: 11px;
  left: 9.5%;
  display: block;
  background-color: #efefef;
  height: 4px;
  width: 78%;
}
form .likert5 li {
  display: inline-block;
  width: 19%;
  text-align: center;
  vertical-align: top;
}
form .likert5 li input[type=radio] {
  display: block;
  position: relative;
  top: -5px;
  left: 50%;
  /* Ugly fix for alligning dot with lines */
  margin-left: -13px;
}
form .likert5 li label {
    width: 100%;
}
form .likert7 {
  list-style: none;
  width: 50%;
  margin: 0;
  margin-left: 25%;
  padding: 0 0 35px;
  display: block;
  border-bottom: 2px solid #efefef;
}
form .likert7:last-of-type {
    border-bottom: 0;
}
form .likert7:before {
  content: '';
  position: relative;
  top: 11px;
  left: 9.5%;
  display: block;
  background-color: #efefef;
  height: 4px;
  width: 78%;
}
form .likert7 li {
  display: inline-block;
  width: 12.5%;
  text-align: center;
  vertical-align: top;
}
form .likert7 li input[type=radio] {
  display: block;
  position: relative;
  top: -5px;
  left: 50%;
  /* Ugly fix for alligning dot with lines */
  margin-left: -13px;
}
form .likert7 li label {
    width: 100%;
}
form .likert4 {
  list-style: none;
  width: 50%;
  margin: 0;
  margin-left: 25%;
  padding: 0 0 35px;
  display: block;
  border-bottom: 2px solid #efefef;
}
form .likert4:last-of-type {
    border-bottom: 0;
}
form .likert4:before {
  content: '';
  position: relative;
  top: 11px;
  left: 10.9%;
  display: block;
  background-color: #efefef;
  height: 4px;
  width: 76%;
}
form .likert4 li {
  display: inline-block;
  width: 24.4%;
  text-align: center;
  vertical-align: top;
}
form .likert4 li input[type=radio] {
  display: block;
  position: relative;
  top: -5px;
  left: 50%;
  /* Ugly fix for alligning dot with lines */
  margin-left: -13px;
}
form .likert4 li label {
    width: 100%;
}
form .borderbottom {
  list-style: none;
  width: 50%;
  margin: 0;
  margin-left: 25%;
  padding: 0 0 35px;
  display: block;
  border-bottom: 2px solid #efefef;
}

/* Span recall screen styling */
table.table-span-recall {
  width: auto;
  align-items: center;
}

table.table-span-recall input{
  border: 2px solid #888888 !important;
}

table.table-span-recall tr:first-child button {
  width: 100px;
  height: 140px;
  font-size: 2.25rem;
  /* Animate opacity */
  transition: opacity 2.25s ease-in-out 0;
}

table.table-span-recall tr:first-child button:disabled {
  opacity: 0.25;
}
.tmt-wrapper {
    position: absolute;
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
    height: 50%;
    min-height: 400px;
    box-sizing: border-box;
    border: 1px solid #000000;
}
.tmt-wrapper-large {
    position: absolute;
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
    height: 85%;
    box-sizing: border-box;
    border: 1px solid #000000;
}
.tmt-svg-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
}
.tmt-svg-wrapper svg {
    width: 100%;
    height: 100%;
}
.tmt-row {
    width: 100%;
    float: left;
    position: relative;
    z-index: 100;
}
.tmt-row-6x8 {
    height: 16.6666%;
}
.tmt-row-15x10 {
    height: 6.6666%;
}
.tmt-cell {
    height: 100%;
    float: left;
    box-sizing: border-box;
    z-index: 100;
}
.tmt-cell-6x8 {
    width: 12.5%;
}
.tmt-cell-15x10 {
    width: 10%;
}
.tmt-dot {
    background-color: #46B6AB;
    border-radius: 50%;
    display: inline-block;
    z-index: 100;
    cursor: pointer;
}
.tmt-dot h1 {
    width: 100%;
    text-align: center;
    font-family: arial, sans-serif;
}
.tmt-dot-6x8 {
    height: 75px;
    width: 75px;
}
.tmt-dot-6x8 h1 {
    font-size: 24pt;
}
.tmt-dot-15x10 {
    height: 50px;
    width: 50px;
}
.tmt-dot-15x10 h1 {
    font-size: 16pt;
}
.tmt-finish-button {
  position: relative;
  float: left;
  z-index: 100;
}