* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  color: #fff;
  font: 300 1rem/1.5 Helvetica Neue, sans-serif;
  margin: 0;
  min-height: 100%;
  background-color: #2e2e2e;
}

.align {
  align-items: center;
  display: flex;
  flex-direction: row;
}

.align__item--start {
  align-self: flex-start;
}

.align__item--end {
  align-self: flex-end;
}

.site__logo {
  margin-bottom: 2rem;
}

.isc {
  max-width: 64px;
  cursor: auto;
}


input,
checkbox,
select,
label {
  border: 0;
  font: inherit;
  margin-bottom: 0.5rem;
}

input::placeholder {
  color: rgb(255, 255, 255);
  opacity: 0.70;
}

.form__field {
  margin-bottom: 0.5rem;
}

.form input {
  outline: 0;
  color: #ccc;
  padding: 0.5rem 1rem;
}

.form input[type="email"],
input[type="text"],
.form input[type="password"] {
  width: 100%;
}

.grid {
  margin: 0 auto;
  max-width: 25rem;
  width: 100%;
}

h2 {
  font-size: 2.25rem;
  font-weight: 100;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1.75rem;
  font-weight: 100;
  text-decoration: underline;
  margin: 0 0 1rem;
}

svg {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: #c4c5c7;
}

.register {
  text-align: center;
  padding: 4rem 2rem;
  box-shadow: 0 150px 250px #000;
}

.register input {
  border: 1px solid #eaebef;
  border-radius: 99px;
  background-color: transparent;
  text-align: center;
}

.register input[type="email"],
.register input[type="password"] {
  background-repeat: no-repeat;
  background-size: 1.5rem;
  background-position: 1rem 50%;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.container {
  border-style: 2 px solid white;
  border-radius: 10px;
  background-color: #3434348c;
  box-shadow: 5px 5px #6d6d6d;
  margin-bottom: 2em;
  margin-top: 1em;
}

.register input[type="submit"] {
  background-image: linear-gradient(160deg, #e7e379 0%, #e9df00 100%);
  color: rgb(0, 0, 0);
  width: 50%;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}

.placeholder-error::placeholder {
  color: red;
  opacity: 0.7;
}

.placeholder-error::-ms-input-placeholder {
  color: red;
  opacity: 0.7;
}

.error-message {
  color: red;
}

.success-message {
  color: green;
}

.grid-quiz {
  margin: 0 auto;
  max-width: 45rem;
  width: 100%;
  background-color: #2e2e2e;
}

select {
  min-width: 10rem;
  max-width: 20rem;
}
.middle-nav {
  margin-right: 10rem;
}

.flex-div {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-top: 0;
}

nav.primary-navigation {
  text-align: center;
  font-size: 20px;
  background-color: #e9df00;
  height: 3rem;
  margin-bottom: 2rem;
  z-index: 200;
  position: relative
;}

nav.primary-navigation ul li {
  list-style: none;
  margin: 0 10;
  /* border-left: 2px solid #3ca0e7; */
  display: inline-block;
  padding: 0 30px;
  position: relative;
  text-decoration: none;
  text-align: center;
}

nav.primary-navigation li a {
  color: #fff;

}

nav.primary-navigation li a:hover {
  color: #3ca0e7;
}

nav.primary-navigation li:hover {
  cursor: pointer;
}

nav.primary-navigation ul li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding-left: 0;
  left: 0;
  display: none;
  background: white;
}

nav.primary-navigation ul li:hover>ul,
nav.primary-navigation ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  min-width: 250px;
  text-align: left;
  padding-top: 20px;
  -webkit-box-shadow: 0px 3px 5px -1px #ccc;
  box-shadow: 0px 3px 5px -1px #ccc;
}

nav.primary-navigation ul li ul li {
  clear: both;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  border-style: none;
}

nav.primary-navigation ul li ul li a:hover {
  padding-left: 10px;
  border-left: 2px solid #3ca0e7;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

a {
  text-decoration: none;
  font-size: 25px;
}

a:hover {
  color: #3CA0E7;
}

ul li ul li a {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.myButton {
  box-shadow: 3px 4px 0px 0px #899599;
  background: linear-gradient(to bottom, #ededed 5%, #bab1ba 100%);
  background-color: #ededed;
  border-radius: 15px;
  border: 1px solid #d6bcd6;
  display: inline-block;
  cursor: pointer;
  color: #3a8a9e !important;
  /* font-family: Arial; */
  font-size: 17px;
  padding: 5px 15px !important;
  margin: 0 !important;
  text-decoration: none;
  text-shadow: 0px 1px 0px #e1e2ed;
}

.myButton:hover {
  background: linear-gradient(to bottom, #bab1ba 5%, #ededed 100%);
  background-color: #bab1ba;
}

.myButton:active {
  position: relative;
  top: 1px;
}

.marginTop2Rem {
  margin-top: 2rem;
}

#simulation {

  margin-top: 1.5rem;
  text-decoration: none;
  color: #d2eb45;
}

#timer {
  margin-top: 5rem;
  text-decoration: none;
  font-size: 18px;
}

.title {
  position: relative;
}
.title::after {
  content: "\003F";
  position: absolute;
  top: -5px;
  right: -7px;;
  font-size: 16px;
}
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: center;
  padding: 8px;
}
tr {
  text-align: center;
}
tr:nth-child(even) {
  background-color: #a39b12;
}


#quizmain {
  font-family: "Segoe UI",Arial,sans-serif;
  width:100%;
  background-color:#fff;
}
#qtext {
  font-size:18px;
  margin-bottom:40px;
}
#altcontainer {
  background-color:#fff;
  font-size:120%;
  line-height:1.7em;
}
#answerbuttoncontainer {
  position:relative;
  padding:20px 0;
}
.answerbutton {
  background-color:#04AA6D;
  padding:12px 30px !important;
  font-size:17px;
  border-radius: 5px;
}
#timespent {
  position:absolute;
  right:0;
  text-align:right;
  border:none;
  font-family: "Segoe UI",Arial,sans-serif;
  font-size:16px;
  width:80px;
}
.linktotutdiv {
  color:#555;
  background-color: #FFF4A3;
}
.linktotutdiv a {
  color:#555;
}
.linktotutdiv a:hover,.linktotutdiv a:active {
  color: black;
}
@media screen and (max-width:600px) {
  .quizresultbtn {
    display:block;
    width:100%;
  }
}

.sidenav {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 3.5rem;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
}

.sidenav a:hover {
  color: #f1f1f1;
}

@media screen and (max-width: 800px) {
  .sidenav {
    width: 125px;
  }
  .sidenav a {font-size: 18px;}
}
@media screen and (max-width: 650px) {
  .sidenav {
    display: inline;
    height: auto;
    background-color: inherit;
    position: inherit;
    padding-top: 0;
  }
  .sidenav a {font-size: 18px;}
  #logo {
    display: none;
  }
}

.hidden-options {
  display: none;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: rgb(255, 255, 255);
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #e2e611;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}