/* index.css */
body {
  font-family: Arial, Helvetica, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
@media print {
  .noprint {
    display: none;
  }
}
.hide {
  display: none;
}
.centered {
  margin: auto;
  text-align: center;
}
.centered-header h1,
.centered-header h2,
.centered-header h3,
.centered-header h4,
.centered-header h5 {
  text-align: center;
}
.topbutton {
  text-align: center;
}
.topbutton a {
  color: #000;
  background-color: #FFDA68;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  border: 3px #4245D1 solid;
  overflow-wrap: break-word;
  display: inline-block;
}
.logoutbutton,
.cmabutton {
	text-align: center;
}
.logoutbutton,
.cmabutton a {
	color: #ffffff;
	background-color: #e5a000;
  font-family: sans-serif;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	text-decoration: none;
	padding: 12px;
	border-radius: 4px;
	border: 2px solid transparent;
  overflow-wrap: break-word;
  display: inline-block;
}
.logoutbutton:hover,
.cmabutton a:hover {
  background-color: #568ebf;
  cursor: pointer;
}

/* Navigation menu based on https://hogonext.com/how-to-create-an-animated-navigation-menu-with-html5/ */

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  /* background-color: #333333; */
	background-color: #ffffff;
}

nav li {
  display: inline-block;
}

nav a {
  display: block;
  padding: 6px 8px;
  /* color: white; */
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
}

nav a:hover {
  /* background-color: #555555; */
  /* background-color: #ffffff; */
  /* opacity: 0.8; */
  /* transform: scale(1.1); */
}

nav li>ul {
  display: none;
  position: absolute;
  /* background-color: #333333; */
  background-color: #f9f9f9;
  border: 1px solid darkblue;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  width: 300px;
  z-index: 1;
}

nav li:hover>ul {
  display: block;
  transition: max-height 0.5s ease-in-out;
  max-height: 800px;
}

nav li>ul li {
  display: block;
  margin-left: 0.8em;
}

#hamburger {
  border: none;
  display: none;
  cursor: pointer;
  padding: 15px;
  background-color: #ffffff;
}

#hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #000000;
  margin: 5px 0;
  transition: 0.3s ease-in-out;
}

#hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#hamburger.active span:nth-child(2) {
  opacity: 0;
}

#hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1100px) {
  nav a:hover {
    /* opacity: 1.0; */
    transform: scale(1.0);
  }
  nav ul {
    display: none;
  }
  nav li>ul {
    display: block;
    position: relative;
  }
  nav ul.show {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
  }
  #hamburger {
    display: block;
  }
}

form.normal {
  display: inline-block;
  /* Form outline */
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 1em;
}

ul.normal {
  list-style: none;
  padding: 0;
  margin: 0;
}

form.normal li + li {
  margin-top: 1em;
}

label.normal {
  /* Uniform size & alignment */
  display: inline-block;
  padding-right: 10px;
}

input.normal,
textarea.normal {
  /* To make sure that all text fields have the same font settings
     By default, textareas have a monospace font */
  font: 1em sans-serif;
  /* Uniform text field size */
  width: 300px;
  box-sizing: border-box;
  /* Match form field borders */
  border: 1px solid #999;
}

input.normal:focus,
textarea.normal:focus {
  /* Additional highlight for focused elements */
  border-color: #000;
}

textarea.normal {
  /* Align multiline text fields with their labels */
  vertical-align: top;
  /* Provide space to type some text */
  height: 5em;
}

button.normal {
  /* This extra margin represent roughly the same space as the space
     between the labels and their text fields */
  margin-left: 0.5em;
}
.self-found h1 {
  background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url("/static/images/2011/header_Fotolia_18275100_Subscription.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #FFCC66;
  background-size: 240%;
  /* background-position: 0 0; */
  color: black;
  padding: 16px 16px 16px 16px;
}
.self-found h1 a {
  color: black;
}
.self-found h2 {
  border: 2px solid black;
  border-collapse: collapse;
  margin-bottom: 16px;
  text-align: center;
  padding: 8px 16px 8px 16px;
  clear: both;
}
.self-found .img-padding-top {
  margin: 16px 0px 0px 0px;
}
.self-found .img-padding-left {
  margin: 0px 16px 16px 0px;
}
.self-found .img-padding-right {
  margin: 0px 0px 16px 16px;
}
.self-found .outline {
  border: 2px solid black;
  padding: 16px;
  margin: 16px 24px 16px 24px;
  width: fit-content;
}
.playdiv {
  position: fixed;
  bottom: 10px;
  left: 10px;
}
#mytime {
  border: 1px solid darkblue;
  border-radius: 5px;
  background: white;
  font-weight: bold;
  text-align: center;
  padding: 0.25em;
  margin: 0.25em;
}
#transcript span {
  cursor: pointer;
}
#transcript span:hover,
#transcript span:hover {
  background-color: #CCFFCC; /* slightly lighter than lightreen */
}
p span.highlight {
  background-color: #CCFFCC; /* slightly lighter than lightreen */
}
/* Alignment */
.align-left   {
  text-align: left;
  margin-right: auto;
}
.align-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.align-right  {
  text-align: right;
  margin-left: auto;
}
.align-top    { vertical-align: top; }
.align-middle { vertical-align: middle; }
.align-bottom { vertical-align: bottom; }
h5 {
  font-size: 100%;
  font-style: italic;
}
#quick-summary-guide h3,
#quick-summary-guide h4 {
  font-size: 150%;
}
#quick-summary-guide h5 {
  font-size: 130%;
}
.disable-select {
  user-select: none;  /* Chrome, Opera */
  -webkit-user-select: none;  /* Safari */
  -khtml-user-select: none;  /* Konqueror */
  -moz-user-select: none;  /* Firefox */
  -ms-user-select: none;  /* Internet Explorer, Edge */
}
@media print {
  .disable-select {
    display: none;
  }
}
.black {
  color: black;
}
.bold {
  font-weight: bold;
}
.bolditalic {
  font-weight: bold;
  font-style: italic;
}
.blue {
  /* color: #0b5ab2; */
  color: #0a30c2;
}
.bluebold {
  color: #0a30c2;
  font-weight: bold;
}
.blueitalic {
  color: #0a30c2;
  font-style: italic;
}
.green {
  color: green;
}
.italic {
  font-style: italic;
}
.quote {
  font-style: italic;
}
.quotebold {
  font-weight: bold;
  font-style: italic;
}
.purple {
  color: #4d0fa7;
}
.red {
  color: darkred;
}
.redbold {
  color: darkred;
  font-weight: bold;
}
.reditalic {
  color: darkred;
  font-style: italic;
}
.reditalicunderline {
  color: darkred;
  font-style: italic;
  text-decoration: underline;
}
.rounded-blue-box {
  font-weight: bold;
  background-color: #e3e7ff;
  border-radius: 50px;
  border: 2px solid #4d0fa7;
  padding: 20px;
  width: 420px;
  max-width: 100%;
  margin: auto;
  text-align: center;
}
.frequency-table td {
  border: collapse;
  border: 0px;
  font-weight: bold;
}
.frequency-table td:first-child {
  color: #4d0fa7;
  font-weight: normal;
}
.ratio-4-3 {
  margin: auto;
  position: relative;
  padding: 75% 0 0 0;
}
.ratio-3-2 {
  margin: auto;
  position: relative;
  padding: 66.667% 0 0 0;
}
.ratio-16-9 {
  margin: auto;
  position: relative;
  padding: 56.25% 0 0 0;
}
.description {
  font-style: italic;
}
#error {
  font-weight: bold;
  color: darkred;
  font-size: 120%;
}
#message {
  font-weight: bold;
  font-size: 120%;
}
table.normal {
  table-layout: fixed;
}
table.normal td, table.normal th {
  border: thin solid black;
}
table.normal th {
  background-color: PeachPuff;
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
  z-index: 2;
}
table.normal td:nth-child(1) {
  background-color: #ffffff;  /* white */
}
table.normal td:nth-child(n+2):nth-child(-n+3) {
  background-color: #bfc7ff;  /* blue */
}
