body {
  color: black;
	background-color: #4a464f;

}

.fairy-header { width: 200px; }
.otg-header { width: 200px; }


.mySlides {display: none;}

/* Slideshow container */
.slideshow-container {
  max-width: 599px;
  position: relative;
  margin: auto;
}

.slideshow-dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.slideshow-fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.badge-table {
	display: table;
}

.badge-table td {
  padding: 12px 15px;
  border: 1px solid #2e81b8;
  border-radius: 5%;
  background-color: #ccc;
  width: 90px;
  font-size: small;
}

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

.tooltip .tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: small;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

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

.styled-table {
	display: table;
	width:100%; 
}

.styled-table th {
  background-color: #196f21;
  color: #fff;
  text-align: left;
  padding: 12px 15px;
}

.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #333;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #3c104c;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #ebab3e;
}


.styled-table-v {
	display: table;
	width:100%; 
}

.styled-table-v th {
  background-color: #196f21;
  color: #fff;
  text-align: left;
  vertical-align: top;
  padding: 12px 15px;
}

.styled-table-v td {
    padding: 12px 15px;
    vertical-align: top;
}

.styled-table-v tbody tr {
    border-bottom: 1px solid #333;
}

.styled-table-v tbody tr:nth-of-type(even) {
    background-color: #3c104c;
}

.styled-table-v tbody tr:last-of-type {
    border-bottom: 2px solid #ebab3e;
}


div#page {
	width: 770px;
  padding: 10px;
	text-align: center;
	margin: auto;
	font-family: 'Labrada', serif;
  color: #fff;
  background-color: #22083e;
  border-radius: 5px;
  background-image: url(img/backdrop.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 790px auto;
  box-shadow: 0px 0px 25px black;
}
div#content {
	text-align: left;
  padding: 20px;
  margin-bottom: 380px;
}

div#footer {
	font-size: x-small;
	background-color: rgba(65, 59, 64, 0.4);
	border-radius: 4px;
	padding: 5px;
}

a {
  color: #5b9fff;
}

a:hover {
  color: #95baee;
}

a:visited {
  color: #c795ee;
}

input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=password], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}


.special {
  text-align: center;
  width: auto;
}

.science {
  text-align: center;
  background-image: url('/img/science.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  height: 59px;
  width: auto;
  vertical-align: middle;
}

p.science {
	color: #be2b2b;
}

h2.special {
	color: yellow;
}

div#nav ul {
  border-radius: 4px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #14732c;
}

div#nav li {
  float: left;
}

div#nav li a {
  display: inline-block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
div#nav li a:hover {
  background-color: #4cb165;
}

div#nav li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

div#nav li a:hover, .dropdown:hover .dropbtn {
  background-color: #4cb165;
}

div#nav li.dropdown {
  display: inline-block;
}


div#nav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #14732c;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

div#nav .dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

div#nav .dropdown-content a:hover {background-color: #2e81b8;}

div#nav .dropdown:hover .dropdown-content {
  display: block;
}

div#hero {
	text-align:center;
	margin: 5px;
	padding: 0px;
}

h2.blog {
	background-color: #ddd;
	border-radius: 4px;
	padding: 5px;
}

.blog-date {
	padding-top: 0px;
	float:right;
	font-size: small;
}
.blog-entry {
	clear: both;
}

.collapsible-content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
}

div.collapsible:before {
  padding-right: 15px;
  content: url("/img/collapsed.png");
}

div.active:before {
  padding-right: 15px;
  content: url("/img/expanded.png");
}

div.collapsible a {
  color: black;
}

.colourbox {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 0, 0, .2);
}

div.fairy-status {
    font-size: x-large;
    color: white;
    text-align: center;
    padding: 20px;
    border:5px solid #312302;
    border-radius: 5px;
    margin: 20px 0 20px 0;
    background-image: url(img/dust_bg.jpg);
}

 /* Style the tab */
 .tab {
  overflow: hidden;
  border: 1px solid #0c4616;
  background-color: #155226;
  border-radius: 5px 5px 0 0;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  color: #fff;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #022206;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #4eb77c;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #0c4616;
  border-top: none;
  border-radius: 0 0 5px 5px;
} 

.notice {
  width: auto;
  border: 4px solid #19531c;
  border-radius: 5px;
  background-color: #cfffd1;
  color: #19531c;
  text-align: center;
  padding: 20px;
}

.error {
  width: auto;
  border: 4px solid #531919;
  border-radius: 5px;
  background-color: #ffbfbf;
  color: #531919;
  text-align: center;
  padding: 20px;
}

.silver-badge-bar-border {
  border: 1px solid #888;
  border-radius: 5px;
  height: 15px;
  width: 200px;
}

.gold-badge-bar-border {
  border: 1px solid #9b993e;
  border-radius: 5px;
  height: 15px;
  width: 200px;
}

.purple-badge-bar-border {
  border: 1px solid #86308c;
  border-radius: 5px;
  height: 15px;
  width: 200px;
}

.fairy-img {
  display: block;
  text-align: center;
  padding: 20px 0 20px 0;
  border: 5px solid #0c5410;
  border-radius: 5px;
  background-image: url(img/img_bd.jpg);
  margin: 20px 0 20px 0;
}

.fairy-img-front {
  float: left;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.fairy-img-eye {
  float: right;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.tree ul {
  width: max-content;
  padding: 0;
	padding-top: 20px; 
  position: relative;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; 
  text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without 
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and 
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

.tree li a.female {
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: black;
  background-color: #fa9efa;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li a.male {
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: black;
  background-color: #a8e5ff;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
	background: #abfeab; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}
