* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
}

body {
  	background-color: #FFAA00;
  	margin: 0;
  	font-size: 2em;
}
h1 {
  	text-align: center;
  	color: #ffffff;
  	font-size: 2em;
  	padding: 20px 0 20px 0;
  	border-bottom: 5px solid #dee0e4;
    background-color: #CC2200;
    margin: 0;
}
h2 {
  	color: #000055;
  	font-size: 1.7em;
  	padding: 0px 15px 20px 15px;
  	border-bottom: 3px solid #dee0e4;

}
p {
  	padding: 0px 20px;
}
a {
    color: #000000;
    text-decoration: underline dotted blue;
}
a:hover{
    text-decoration: underline;
}


button, input[type="submit"] {
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
  	font-size: 1em;
  	margin: 2px;
  	padding: 3px;
}
button:hover, input[type="submit"]:hover {
	background-color: #000055;
  	transition: background-color 0.2s;
}
footer {
    text-align: center;
  	color: #000000;
  	font-size: 0.8em;
  	padding-top: 20px ;
}

.panel {
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 10px auto;
  	padding: 10px;
  	display: flex;
  	flex-direction: column;
  	justify-content: center;
  	text-align: center;
  	flex-wrap: wrap;
  	justify-content: center;
}

.panel h3 {
  	color: #000055;
  	background-color: #ffff99;
  	font-size: 1.2em;
}
.panel form {
  	display: flex;
    flex-direction: column;
  	justify-content: center;
}
.panel form label {
  	text-align: left;
  	width: 100%;
}
.panel input[type="password"], .panel input[type="text"] {
  	width: 100%;
  	border: 1px solid #000055;
  	padding: 0  15px;
  	/*margin-bottom: 20px; */
  	font-size: 1em; /* required to move from default */
}
.panel input[type="checkbox"], .panel input[type="radio"] {
  	width: 30px;
  	height: 30px;
  	border: 1px solid #000055;
  	margin-right: 20px;
  	font-size: 1em; /* required to move from default */
  	vertical-align: -5%;
}
.panel select {
  	width: 100%;
  	border: 1px solid #000055;
  	padding: 0 15px;
  	font-size: 1em; /* required to move from default */
}
.panel input[type="datetime-local"] {
    width: 50%;
  	border: 1px solid #000055;
  	padding: 0 15px;
  	font-size: 1em; /* required to move from default */
}

.panel button, .panel input[type="submit"] {
  	width: 100%;
 	margin-top: 100px;
 	padding: 15px;
}

.teacher_table {
    border: 1px solid;
    border-collapse: collapse;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.teacher_table th, .teacher_table td {
    border: 1px solid;
    border-collapse: collapse;
    padding: 0px 4px;
}
.teacher_table th {
    background-color: #FFAA00;
    color: white;
    border-color: #000000;
    padding: 4px 4px;
}
.teacher_table tr:nth-child(even) {
    background-color: #f2f2f2;
}
.teacher_table tr:nth-child(odd) {
    background-color: #FFFFFF;
}
.teacher_table_split td  {
    border-top: 5px solid;
}
.teacher_table button {
 	margin: 2px;
 	padding: 2px;
}

.ui-dialog-titlebar {
    text-align: center;
    background-color: #FF3333;
    padding:0px 5px;
}
.ui-dialog-titlebar-close {
    display: none;
}
.ui-dialog {
    text-align: center;
    border-width: 3px;
    border-style: solid;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
}
.ui-dialog-buttonset{
    text-align: center;
    border-width: 1px 0 0 0;
    padding: 5px 10px;
}
.ui-dialog-buttonset button{
    margin: 2px 5px;
    padding: 2px 5px;
}
#login { 
    width: 99%;
    max-width: 500px;
}
/* Settings for the free_choice page */
#revise { 
    width: 99%;
    max-width: 800px;
}
#revise_entries {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
}
#revise_entry {
  background-color: #f1f1f1;
  border: 1px solid black;
  padding: 10px;
  text-align: left;
}
#revise_red {
  background-color: red;
  color: red;
  border: 1px solid black;
  padding: 10px;
  text-align: center;
}
#revise_amber {
  background-color: yellow;
  color: yellow;
  border: 1px solid black;
  padding: 2px;
  text-align: center;
}
#revise_green {
  background-color: green;
  color: green;
  border: 1px solid black;
  padding: 10px;
  text-align: center;
}
#main { 
    width: 99%;
    max-width: 1300px;
}
#main img {
    vertical-align:middle;
    width: 400px;
    padding:10px;
}
#player_info {
    width: 99%;
    max-width: 1000px;
}
#add { 
    width: 99%;
    max-width: 500px;
}
#school_add { 
    width: 99%;
    max-width: 800px;
    text-align: left;
}
#player_edit { 
    width: 99%;
    max-width: 1500px;
}

#incorrect {
    color: #ff1111;
}
#quiz {
    width: 99%;
  	max-width: 600px;
}
#question, #answer {
      	  	font-size: 3em;
}
@media only screen and (max-width: 600px) { 
    #question,#answer {font-size: 2em;}
}

#quiz_results {
  	display: none;
  	width: 99%;
  	max-width: 600px;
}
#teacher_tracker {
  	width: 1600px;
}
#privacy, #instructions {
  	width: 99%;
  	max-width: 800px;
  	text-align: left;
}
#instructions img {
    width: 400px;
}
#teacher_info {
    width: 1200px;
}

.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background-color: white;
}
.skip:focus {
  position: static;
  width: auto;
  height: auto;
}

/* Navbar container */
.navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 18px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  margin: 0;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover,  .dropdown:hover .dropbtn {
  background-color: red;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  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 {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}