html {
  font-family: Helvetica, Arial, sans-serif;
}

/*html, body {
  height: 100%;
}*/

body {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  min-height: 100vh;
  text-align: center;
  margin: auto;
  background: #b0bec5;
}

header {
  text-align: center;
  width: 100%;
  margin: auto;
  background: black;
  color: white;
}

header h1 {
  margin: 0px;
  padding: 0.5em;
}

/* Dropdown Button */
.dropbtn {
  color: white;
  padding: 0.5em;
  font-size: 16px;
  border: none;
  user-select: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: black;
  text-align: left;
  color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  text-align: left !important;
  box-sizing: border-box;
  width: 100% !important;
  color: black;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #ddd; color: black;}

main {
  flex: 1;
  padding: 1em;
  width: auto;
  max-width: 780px;
  margin: auto;
  background: white;
  height: auto;
}

footer {
  width: 100%;
  margin: auto;
  background: black;
  color: white;
}

#footer-caption {
  padding: 0.5em;
  color: grey;
}

h2 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  text-align: left;
}

img {
  width: 80%;
}

.country-flag {
  width: 33%;
}

/* Add a black background color to the top navigation */
.topnav {
  display: block;
  background-color: #333;
  width: 100%;
}

/* Style the links inside the navigation bar */
.topnav a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  padding: 0.5em;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
a.active {
  background-color: #4CAF50;
  color: white;
}

.basic-button {
  display: block;
  font-size: 1.25em;
  padding: 1em;
  background: powderblue;
  margin: auto;
  min-width: 50%;
  width: 50%;
  border: solid;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.basic-button:hover{
  background: cornflowerblue;
  cursor: pointer;
  color: inherit;
}

div.q-statement {
  font-size: 1.5em;
  font-weight: 550;
  color: black;
}

div.r-option {
  font-size: 1.5em;
  padding: 0.75em 0px;
}

@media screen and (max-width: 781px) {

  div.q-statement {
    font-size: 1.25em;
    padding: 0.75em inherit;
    color: black;
  }

  div.r-option {
    font-size: 1.25em;
    padding: 0.75em 0px;
  }

}

.score-box {
  background: #ffffe6;
  text-align: center;
  margin: 10px auto;
  padding: 10px;
  border: solid;
}

.instruction {
  text-align: center;
  width: auto;
  margin: 10px auto;
  padding: 0.5em;
}

.verbose-instruction {
  text-align: left;
}

.section-highlight {
  background: #ffc966;
  border: solid;
  border-width: medium;
  padding: 0px 0.5em;
}

ul {
  text-align: left;
}

.q-container {
  display: table;
  background: beige;
  width: 100%;
  text-align: center;
  max-width: 780px;
}

.q-statement {
  display: block;
  width: 90%;
  background: #ffc966;
  margin: 10px auto;
  padding: 1.5em 10px;
  border: solid;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
}

.r-option, .sd-radio {
  background: powderblue;
  margin: 10px auto;
  padding: 0.5em 0px;
  width: 90%;
  vertical-align: middle;
  border: dashed;
  font-size: 16pt;
  font-family: Arial, Helvetica, sans-serif;
}

.sd-radio {
  width: 100%;
  padding: 0px;
}

.sd-selectbase__label {
  width: 100%;
}

.sd-item__control-label {
  margin: 10px auto;
  text-align: center;
  padding: 0.75em 0px;
  font-weight: bold;
}

.sd-radio__decorator {
  display: none;
}

.r-option:hover, .sd-radio:hover {
  background: #98e698;
  cursor: pointer;
}

.radio-response {
  display: none;
}

#back-button {
  background: salmon;
}

#back-button:hover {
  background: IndianRed;
}

.highlight, .sd-item--checked {
  background: #1e7b1e;
  border: solid;
  border-color: black;
  color: white;
}

.hidden {
  display: none;
}

/* TABLE */
#container {
  width: 100%;
 }

table{
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border: solid;
  border-width: 2px;
  padding: 5px;
  height: 2em;
}

.table-h1{
  background: cornflowerblue;
}

#h1-middle{
  background: LightSkyBlue;
}

#h1-you{
  background: limegreen;
}

.table-h2{
  background: #ffc966;
  text-align: left;
}

.col1{
  text-align: left;
}

.subscale-name {
  font-weight: 550;
}

.subscale-description {
  font-size: 0.9em;
}

.col2 {
  text-align: center;
  background: #ceebfd;
}

.col3{
  background: #d6f5d6;
  text-align: center;
  font-size: 1.25em;
  font-weight: 550;
}

#tl-cell{
  background: white;
  border-top: 1px solid #FFFFFF;
  border-left: 1px solid #FFFFFF;
}

table.download-table {
  border: none;
  text-align: left;
  vertical-align: top;

}

td.download-cell {
  border: none;
  padding: 2em 1em;
  margin: auto;
  vertical-align: top;
}

.logo-cell {
  border: none;
  padding: 2em 1em;
  margin: auto;
  text-align: center;
}

.logo-cell img {
  display: block;
  margin: 0 auto;
}


/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  max-width: 240px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* TRANSLATION TAGES */

.translation-published {
  background-color: green;
  color: white;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}