html {
  height: 100%;
  overscroll-behavior: none;
}

body {
  min-height: 100%;
  background-color: #F5FFFA;
  background-image:url('/images/marble-tan.jpg');
  margin: 0;
  touch-action: manipulation;
  overflow-y: scroll;
  overscroll-behavior: none;
}
/* Tangerine font */

@font-face {
  font-family: "tangerine";
  font-style: normal;
  font-weight: 600;
  src: local('tangerine-bold'), url('/fonts/tangerine-bold.ttf');
}

h4 {

        font-size:22px;

        margin-top:-100px;
        text-align:center;
        color:#000066;
        margin-left:5px;
}

main {
  position: absolute;
  top: 120px;
  left: 20%;
  width: 100%;
  height: calc(100% - 85px);
}
h1 {
  text-align: center;
  font: bold 28px New Roman Times;
  margin: 0;
}
#searchBox {
  position: relative;
  top: 160px;   /*sets position from top for the top of the input box:  org-130 */
 
  width: 90%; /*sets width of search box*/
  max-width: 1100px;
  height: 60%;
  background-color: #F5FFFA;
  border: 5px solid #cccccc;
}



#searchHeading svg {
  position: relative;
  top: 1px;
}

#textIndex {
  display: none;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
}



#textIndex > a, #inputX {
  cursor: pointer;
}

#textIndex > a {
  float: left;
  clear: left;
  max-width: 100%;
  color: blue;
  font: clamp(20px,(2px + 1vmin) + (2px + 1vmax),32px) Arial;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

#textIndex > a > i {
  color: black;
}

#textIndex > a:hover {
  color: red;
}

#search {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #014464;
  padding: 5px;
  border-radius: 12px;
}


#inputSearch {
  width: 250px;
  font-size: 18px;
  vertical-align: top; /* iOS Safari */
  padding: 5px 40px 5px 20px;
  border-radius: 8px;
  outline: none;
  border: none;
}

#inputX {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  width: 30px;
  height: 30px;
}


#inputX:before, #inputX:after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 2px;
  height: 22px;
  background-color: gray;
}

#inputX:before {
  transform: translate(-50%, -50%) rotate(45deg);
}


#inputX:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* tooltip */

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  position: absolute;
  top: 30px;
  left: -118px;
  width: 295px;
  color: black;
  background-color: #00ff55;
  border-color: black;
  border-style: solid;
  border-radius: 10px;
  line-height:1.5;
  text-align: left;
  font: bold 16px Arial, sans-serif;
  padding: 10px 10px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  margin-left: -150px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 93%;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
button {
	position:fixed;
	right:20%;
	color:#fff;
	background-color:#006400;
	line-height:2;
	width:5%;
	border: none;
    cursor: pointer;
    font-size:1em;
	font-weight:600;
	text-align:center;
	margin-left:5%;
	min-height:30px; 
    min-width: 120px;    
	}

button:hover {
  background-color: #7CFC00;
  color:#000;
}
