/*
    Theme Name: ealdercote
    Theme URI: https://ealdercote.org/
    Description: This theme is customized for Ealdercote website
    Version: 1.0.0
    Author: J.T. Thorpe
*/

body { 
/*  background-color: white; */
  background-color: #f7eee7 ;
}

table, tr, td {
  border: 0px solid transparent;
  padding: 10px;
}

button {
  display: inline-block;
  padding: 15px 15px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: white;
  background-color: #0073de;
  border: none;
  box-shadow: 0 10px white;
}

button:hover {background-color: navy}

button:active {
  background-color: navy;
  box-shadow: 5px 5px darkgrey;
  transform: translateY(0px);
}

input[type=submit] {
  display: inline-block;
  padding: 15px 15px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: white;
  background-color: #0073de;
  border: none;
  box-shadow: 0 10px white;
}

input[type=submit]:hover {background-color: navy}

input[type=submit]:active {
  background-color: navy;
  box-shadow: 5px 5px darkgrey;
  transform: translateY(0px);
}

/*==============================================================
  ## CLASSES
  ==============================================================*/
.table-library {
  border: 2px solid blue;
  border-color: blue;
  border-collapse: collapse;
  th, tr, td{  border: 2px solid blue;}
}

.table-label {
  background-color: steelblue;
  color: white;
  font-weight: bold;
}

.page-header {
  background-color:#0073de;
  color: white;
  text-align: center;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 400px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 10;
  top: -5px;
  right: 105%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* FROM STACK OVERFLOW */
.loader {
  position: relative;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 70px;
  height: 70px;
  left:50%;
  top:50%;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}
#overlay{
    position: absolute;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    background: black;
    opacity: .5;
}
.container{
    position:relative;
    height: 300px;
    width: 200px;
    border:1px solid
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* styles to use for common menu bar */

/* Style the links inside the navigation bar */

.navbar {
  overflow: hidden;
  background-color: mediumblue; 
}

.navbar a {
  float: right;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: blue;
}

.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;
}

.dropdown-content a {
  float: none;
  color: mediumblue;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.page-bottom {
   background-color: mediumblue;
   color: white;
}