/* General classes ------------------------------------------------------------------------ */
.right {
  float: right;
}

.left {
  float: left;
}

.clickable {
  color: #E6B800;
}

.clickable:hover {
  cursor: pointer;
  text-decoration: underline;
}

.pointer:hover {
  cursor: pointer;
}

.shadow:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.underline:hover {
  text-decoration: underline;
}

.invisible {
  display: none;
}

.link {
  text-decoration: none;
  color: inherit;
  padding: 20px;
}

a.link:hover {
  text-decoration: underline;
}

.DIVonLeft {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% - 30px);
  padding: 15px;
}

.DIVonRight {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(50% - 30px);
  padding: 15px;
}

/* Tables ------------------------------------------------------------------------------------------- */ 

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

.classic-table th {
  background-color: #aaa !important;
}

.classic-table th, .classic-table td {
  border: 1px solid black;
  padding:  8px 16px;
}

.classic-table tbody tr:nth-child(even) td {
  background: #ddd;
}

/* Scrollable table -------------------------------- */

.scrollTableDIV {
  overflow-y: auto; 
  max-height: 200px;
  box-shadow: 1px 0 #000;
}

.scrollTableDIV table {
  box-shadow: inset 1px -1px #000;
  
}

.scrollTableDIV table tbody tr td {
  box-shadow: inset 1px -1px #000;
  border: none !important;
}

.scrollTableDIV table thead tr th {
  position: sticky; 
  top: 0; 
  box-shadow: inset 1px 1px #000, 0 1px #000;
  border: none !important;
}

/* different heights for the scrollable table */

.scrollHeight100 {
  max-height: 100px !important;
}

.scrollHeight150 {
  max-height: 150px !important;
}

.scrollHeight200 {
  max-height: 200px !important;
}

.scrollHeight250 {
  max-height: 250px !important;
}

.scrollHeight300 {
  max-height: 300px !important;
}

.scrollHeight350 {
  max-height: 250px !important;
}

.scrollHeight350 {
  max-height: 350px !important;
}

.scrollHeight400 {
  max-height: 250px !important;
}

.scrollHeight400 {
  max-height: 250px !important;
}

.scrollHeight450 {
  max-height: 450px !important;
}

.scrollHeight500 {
  max-height: 500px !important;
}

.scrollHeight550 {
  max-height: 550px !important;
}

.scrollHeight600 {
 max-height: 600px !important;
}

.scrollHeight700 {
  max-height: 700px !important;
}

.scrollHeight800 {
  max-height: 800px !important;
}

/* Header and body ------------------------------------------------------------------------------------ */
.header {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 78px;
  background-color: #E6B800;
  border-bottom: 2px solid black;
}

.titleHeader {
  text-align: center;
}

.body {
  position: absolute;
  top: 80px;
  left: 0px;
  right: 0px;
  padding: 20px;
}

.backButton {
  position: absolute;
  top: 15px;
  left: 15px;
  border: 2px solid black;
  border-radius: 3px;
  padding: 5px;
  padding-bottom: 3px;
}

.imgLink {
  display: block;
}

/* Forms ------------------------------------------------------------------------------------------ */

.classic-form {
  border: 2px solid lightgray;
  border-radius: 5px;
  padding: 10px;
}

.classic-form input[type=text], .classic-form input[type=password], .classic-form .long {
  width: calc(100% - 12px);
  padding: 3px;
  margin: 3px;
  border: 2px solid #A0A0A0;
  -webkit-transition: border 0.5s;
  transition: border 0.5s;
  outline: none;
}

.classic-form input[type=text]:focus, .classic-form input[type=password]:focus, .classic-form .long:focus {
  border: 2px solid #E6B800;
}

.classic-form textarea {
  width: calc(100% - 2px);
  height: 80px;
  padding: 3px;
  margin: 3px;
  box-sizing: border-box;
  border: 2px solid #A0A0A0;
  -webkit-transition: border 0.5s;
  transition: border 0.5s;
  resize: none;
  outline: none;
}

.classic-form textarea:focus {
  border: 2px solid #E6B800;
}

.classic-form input[type=submit] {
  width: 100%;
  background-color: #E6B800;
  padding: 10px;
  margin: 10px 0px 0px 0px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.classic-form #questionsDIV, .classic-form #answersDIV {
  width: 50%;
  float: left;
}

/* Background colors for answer checking ------------------------------------------------------------------------ */

tr.rightAnswer td {
  background-color: #36cc0c !important;
}

tr.rightByJoker td {
  background-color: #fccf17 !important;
}

tr.wrongAnswer td {
  background-color: #ff2b2b !important;
}