/*<---------------------------------------PRELOAD-------------------------------------------------- */
body {
  margin: 0;
}

canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #292929;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

/* ---- stats.js ---- */

.count-particles{
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #cccccc;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles{
  font-size: 1.1em;
}

#stats,
.count-particles{
  -webkit-user-select: none;
}

#stats{
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles{
  border-radius: 0 0 3px 3px;
}

.preload-text {
  font-family: 'Lucida Grande';
  color: #fcd101;
  text-transform: uppercase;
  top: 22%;
  position: absolute;
  opacity: 0;
  animation: appear .5s ease-in forwards;
/*   animation: disappear .5s ease-out 2s; */
}

.preload-title {
  font-family: PT Serif;
  color: #ffffff;
  font-size: 4em;
  top: 50%;
  transform: translate(0, -75%);
  position: absolute;
  text-align: center;
  line-height: 1.5;
  opacity: 0;
  animation: appear .5s ease-in forwards;
/*   animation: disappear .5s ease-out 2s; */
}

.preload-text2 {
  font-family: 'Lucida Grande';
  color: #fcd101;
  text-transform: lowercase;
  top: 70%;
  position: absolute;
  opacity: 0;
  animation: appear .5s ease-in forwards;
/*   animation: disappear .5s ease-out 2s; */
}

@keyframes appear {
  from {
    opacity: 0;
  }
  to {
   	opacity: 1;
  }
}

@keyframes disappear {
  from {
    opacity: 1;
    display: flex;
  }
  to {
   	opacity: 0;
    display: none;
/*     color: #292929; */
  }
}

.preload-line {
 	border-bottom: 2px solid #fcd101;
  top: 30%;
  height: 1px;
  position: absolute;
  width: 500px;
  text-align:center;
  animation: line .5s ease-in forwards;
}

.preload-line2 {
 	border-bottom: 2px solid #fcd101;
  top: 65%;
  position: absolute;
  width:0%;
  animation: line .5s ease-in forwards;
}

@keyframes line {
  from {
    width: 0;
  }
  to {
    width:60%;
  }
}

#preloader {
  align-items: center;
  justify-content: center;
  display: flex;
	width: 100%;
 height: 100%; 
}

#preloader-background {
/*  background-color: #292929; */
 display: flex;
 height: 100%;
 left: 0;  
  border-bottom: 1px solid #fcd101;
  position: fixed;
	top: 0; 
  width: 100%;
  z-index: 9999;
} 

#loader {
  position: absolute;
  left: 50%;
  top: 70%;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: -76px 0 0 -76px;
}

/*<---------------------------------------GENERAL-------------------------------------------------- */
html {
  overflow-x: hidden;
}

body {
  background-color: #292929;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
  margin: 40px;
}

#page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background-color: #292929;
  overflow-x: hidden;
  padding: 40px;
}

.topnav {
  overflow: hidden;
  position: absolute;
  right: 3%;
  color: #292929;
  background-color: #292929;
  z-index: 1;
}

.topnav a {
  float: right;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px 14px 16px;
  text-decoration: none;
  font-size: 12px;
}

.topnav a:hover {
  color: #fcd101;
  background: none;
}

h1 {
  color: #fcd101;
  text-align: left;
  position: absolute;
  font-family: 'PT Serif','serif';
  font-weight: lighter;
  font-size: 24px;
}

h2 h3 h4 {
  color: #fcd101;
  text-align: left;
  font-family: 'PT Serif','serif';
  font-size: 24px;
}

p a {
  color: #ffffff;
  text-align: left;
  position: relative;
  margin-top: 4em;
  font-family: 'Lucida Grande', 'sans-serif';
  font-weight: lighter;
  font-size: 16px;
  line-height: 2;
}

u {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #fcd101;
}

.text {
  color: #ffffff;
}

.key-dot {
  display: inline-block;
  height: 10px;
  margin-right: 0.5em;
  width: 10px;
}

.instructions {
  color: #ffffff;
  text-align: left;
  position: absolute;
  margin-top: 6em;
  font-family: 'Lucida Grande','sans-serif';
  font-weight: lighter;
  font-size: 16px;
  line-height: 2;
  padding: 0 14% 0 0;
  display: inline-block;
}

/*<---------------------------------------HOME PAGE-------------------------------------------------- */

.homepage-title {
  color: #fcd101;
  text-align: left;
  position: absolute;
  font-family: 'PT Serif','serif';
  font-weight: lighter;
  font-size: 24px;
}

.toggleButtonHome {
  text-align: left;
  position: absolute;
  border: 1px solid white;
  cursor: pointer;
  font-size: 10px;
  padding: 8px;
  margin-top: 18em;
  background: none;
  text-align: center;
  width: 50px;
  height: 30px;
  color: white;
}

.toggleButton {
  text-align: left;
  position: absolute;
  border: 1px solid white;
  cursor: pointer;
  font-size: 10px;
  padding: 8px;
  background: none;
  text-align: center;
  width: 50px;
  height: 30px;
  color: white;
}

.drop-up {
  position: relative;
  display: inline-block;
}

.selectLegacy {
  background-color: #292929;
  color: #ffffff;
  font-size: 12px;
  text-align: left;
  border: 1px solid #fcd101;
  cursor: pointer;
  height: 24px;
  width: 200px;
}

.filters {
  display: flex;
}

.filtersText {
  margin: 6px 12px 0 12px;
  color: white;
  font-size: 12px;
}

.legend {
    margin-right:20px;
}

hr {
   	border:none;
 		border-bottom: 4px dotted #fcd101;
  	background-color: #292929;
  	color: #292929;
  	height: 1px;;
}

.key-dot {
    display: inline;
    height: 10px;
    margin-right: .5em;
    width: 10px;
}

#legend1{
    overflow:hidden;
    position: absolute;
  	margin-top: 8em;
  	color: white;
}

.legend1 {
    float:left;
    margin-right: 1em;
  	margin-top: 1em;
}


.key-dot {
  border-radius: 50%;
}

.chart-labels {
  position: fixed;
  width: 98%;
  top: 48%;
  text-align: center;
  font-family: 'Lucida Grande', 'sans-serif';
  font-size: 16px;
  z-index: -1;
  color: #fcd101;
}

.chart-labels2 {
  position: fixed;
  width: 50%;
  left: 0;
  top: 48%;
  text-align: center;
  font-family: 'Lucida Grande', 'sans-serif';
  font-size: 16px;
  z-index: -1;
  opacity: 0;
  color: #fcd101;
}

.name, .name2 {
  display: inline-block;
  width: 200px;
  justify-content: space-around;
  color: #fcd101;
}


.credit {
  color: #fcd101;
  text-align: right;
  position: absolute;
  right: 2%;
  font-family: 'PT Serif','serif';
  font-weight: lighter;
  font-size: 10px;
  margin-top: 15px;
}

.read-more-button {
  font-size : 12px;
}

circle {
  stroke: black;
}

circle.node-hover {
  fill: #fcd101 !important;
}

circle.node-active {
  fill: #fcd101 !important;
}

@media screen and (min-width: 1441px) {
  .sidenav {
    right: calc((100vw - 1600px) / 2);
  }

  .read-more-button {
  font-size : 12px;
  }

  .name, .name2 {
  color: #fcd101;
}

}

/*<---------------------------------------ABOUT PAGE-------------------------------------------------- */

.about-heading {
  font-family: 'PT Serif','serif';
  margin: 100px 10% 0 10%;
  display: inline-block;
  width: 75%;
  position: relative;
  padding: 0 24px 0 24px;
}

.welcome-heading {
  color: #fcd101;
  text-align: left;
  position: absolute;
  font-family: 'PT Serif','serif';
  font-weight: lighter;
  font-size: 32px;
  display: inline-block;
}

.AA-definition {
  color: #fcd101;
  text-align: left;
  position: relative;
  font-family: 'PT Serif','serif';
  font-weight: lighter;
  font-size: 24px;
  display: inline-block;
}

.faq-block {
  margin: 32px 10% 0 10%;
  display: inline-block;
  width: 75%;
  padding: 0 24px 0 24px;
  position: relative;
}

.about-heading-p {
  color: #ffffff;
  text-align: left;
  position: relative;
  margin-top: 4em;
  font-family: 'Lucida Grande', 'sans-serif';
  font-weight: lighter;
  font-size: 16px;
  line-height: 2;
}


.about-p {
  color: #ffffff;
  text-align: left;
  position: relative;
  margin-top: 4em;
  font-family: 'Lucida Grande', 'sans-serif';
  font-weight: lighter;
  font-size: 16px;
  line-height: 2;
}

.map-block {
  margin: 32px 10% 0 10%;
  display: inline-block;
  width: 80%;
  position: relative;
}

.map-plus {
  color: #fcd101;
  text-align: center;
  position: absolute;
  font-family: 'PT Serif','serif';
  font-size: 56px;
  width: 100%;
  top: 40%;
  z-index: -1;
}

.usa-block {
  display: inline-block;
  width: 75%;
  position: relative;
  left: 32%;
}

.usa-map {
  position: absolute;
  transform: scale(.45);
  z-index: -2;
  margin: 0 0 0 100px;
  display: inline-block;
}

.demonyms {
  text-align: center;
  width: 100%;
}

.hidden {
   display: none;
 }

div.asiaLabel {
  color: #ffffff;
  border-radius: 2px;
  opacity: 0.9;
  position: relative;
  text-align: left;
 } 


/*<---------------------------------------SUBMIT-------------------------------------------------- */

div.submit-form {
    display: block;
    text-align: left;
  	border: 1px solid #fcd101;
  	padding: 40px;
}

form {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    width: 45%;  
  	color: white;
}

#mc_embed_signup {
  padding-top: 4em;
}

.submit {
  line-height: 0; 
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ffffff;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #ffffff;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #ffffff;
}

.submit-header {
  color: #fcd101;
  position: relative;
  font-family: 'PT Serif','sans-serif';
  font-weight: lighter;
  font-size: 24px;
  padding-top: 1em;
  text-align: center;
}

.submit-disclaimer {
  color: #ffffff;
  text-align: center;
  position: relative;
  margin-top: 4em;
  font-family: 'Lucida Grande';
  font-weight: lighter;
  margin-bottom: 4em;
  font-size: 12px;
  font-style: italic;
}

label {
  color: #ffffff;
  text-align: left;
  font-family: 'Lucida Grande','sans-serif';
  font-weight: lighter;
  font-size: 12px;
}

.indicates-required {
  color: #ffffff;
  text-align: left;
  font-family: 'Lucida Grande','sans-serif';
  font-weight: lighter;
  font-size: 12px;
}

.asterisk {
  color: #fcd101;
  text-align: left;
  font-family: 'Lucida Grande','sans-serif';
  font-weight: lighter;
  font-size: 12px;
}

.submit-button {
  background: none;
  border: 1px solid #fcd101;
  color: #ffffff;
  text-align: center;
  padding: 5px 20px 5px 20px;
}

.submit-button:hover {
  background: #fcd101;
  border: none;
  color: #000000;
  font-family: 'Lucida Grande','sans-serif';
}

.title {
  position: relative;
  content: '' ;
  display:block;
  color: white;
}

.firstNameofPerson , .lastNameofPerson, .url, .required-email, {
  color: white;
  border-bottom: 1px solid #fcd101;
}

input, .lastName {
  color: white;
}



/* ---------------------------------------Display Person's Page Info On Homepage--------------------- */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  transition: 0.5s;
  padding-top: 60px;
  background-color: #292929;
}

	.sidenav a {
		display: block;
		padding: 20px;
		text-decoration: none;
		font-size: 18px;
		color: #ffffff;
		transition: 0.3s;
	}
	
	.sidenav a:hover{
		color: #fcd101;
	} 

	.sidenav .closebtn{
		position: absolute;
		top: 0;
		right: 1px;
		font-size: 35px;
		margin-left: 50px;
	}
  

#myImg {
    display: inline;
    background: none;
    margin-left: 100px;
}

.single-page-name {
  color: #fcd101;
  margin: 50px 50px 0 100px;
}

.single-page-description {
  color: #ffffff;
  font-size: 14px;  
  margin: 20px 50px 0 100px;
  font-weight: 100;
}

 .single-page-body-text {
  color: #ffffff;
  text-align: left;
  position: relative;
  font-family: 'Lucida Grande', 'sans-serif';
  font-weight: lighter;
  margin: 10px 50px 10px 100px;
}

#wiki-url {
  font-size: 14px;
  padding: 8px;
}

.read-more-button {
  background-color: #292929;
  border: 1px solid #fcd101;
  color: #ffffff;
  font-family: 'Lucida Grande', 'sans-serif';
  margin: 10px 50px 100px 100px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.read-more-button:hover {
  background-color: rgba(252, 209, 1, 0.56);
  border: 1px solid #000000;
  color: #ffffff;
  font-family: 'Lucida Grande', 'sans-serif';
  margin: 10px 50px 100px 100px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

@media screen and (min-width: 2000px) {
  .sidenav .closebtn{
		top: 16px;
		right: 32px;
		font-size: 24px;
	}
  
  #myImg {
    margin: 150px 0 32px 150px;
	}
  
	.single-page-name {
    font-size: 48px;
    margin: 1em 150px 0 150px;
  }
  
  .single-page-description {
    font-size: 24px;  
    margin: 48px 150px 0 150px;
}

 .single-page-body-text {
    font-size: 24px;
    margin: 48px 100px 10px 150px;
}
  
	#wiki-url {
    font-size: 32px;
    padding: 24px;
	}
  
  .read-more-button {
    margin: 48px 50px 100px 150px;
    font-size: 12px;
  }

 .read-more-button:hover {
 		margin: 48px 50px 100px 150px;
    font-size: 12px;
  }
}

/* -------------------------------------------------DIRECTORY---------------------------------------------- */
.directory-title {
  color: #fcd101;
  text-align: left;
  font-family: 'PT Serif','serif';
  font-weight: lighter;
  font-size: 40px;
  margin:  0 48px 48px;
  padding: 106px 0 0 0;
  position: relative;
}

#filterOn {
  background-color: #292929;
  border: 1px solid #fcd101;
  color: #ffffff;
  font-size: 12px;
  font-family: 'Lucida Grande', sans-serif;
  height: 24px;
  width: 300px;
  padding: 4px 8px;
  margin: 0 0 32px 48px;
}

#filteredList {
  font: 16px sans-serif;
  color: #ffffff;
  margin:  0 48px 48px;
}

#filteredList:hover {
  font: 16px sans-serif;
  color: #ffffff;
  margin:  0 48px 48px;
}

.library-name {
  color: #ffffff;
}

.library-name:hover {
  color: #fcd101;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto;
}

table {
  border-collapse: collapse;
  font: 16px sans-serif;
  margin: 56px 48px 40px 48px;
  width: 100%;
}

td {
  padding: 10px 0 10px 0;
  color: #ffffff;
}

td:hover {
  color: #fcd101;
}

th {
  display: none;
  padding: 5px;
}

tfoot {
  border-top: 3px double black;
}

a.active {
  background-color: #fcd101;
  color: white;
}

form input {
  padding: 8px 16px 8px 16px;
  width: 480px;
  border: 2px solid var(--placeholder);
  color: var(--main-color);
}

input:placeholder {
  color: var(--placeholder);
}

/* ---- Directory A-Z Layout ---- */
.letter-section {
  margin: 0 48px 40px 48px;
}

.letter-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.letter-label {
  color: #fcd101;
  font-family: 'PT Serif', serif;
  font-size: 28px;
  font-weight: lighter;
  flex-shrink: 0;
}

.letter-rule {
  display: block;
  flex-grow: 1;
  border-bottom: 1px dotted #fcd101;
  opacity: 0.5;
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 24px;
}

.name-grid .library-name {
  color: #ffffff;
  font-size: 14px;
  font-family: 'Lucida Grande', sans-serif;
  padding: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name-grid .library-name:hover {
  color: #fcd101;
}

/* ---- A-Z Nav ---- */
#az-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 48px 32px 48px;
  flex-wrap: nowrap;
}

.az-label {
  color: #ffffff;
  font-size: 12px;
  font-family: 'Lucida Grande', sans-serif;
  flex-shrink: 0;
  opacity: 0.6;
}

#az-letters {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
}

.az-letter {
  color: #ffffff;
  font-size: 12px;
  font-family: 'Lucida Grande', sans-serif;
  text-decoration: none;
  padding: 4px 6px;
  border: 1px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.az-letter:hover {
  color: #fcd101;
  border-color: #fcd101;
}