/*fonts*/

@font-face {
    font-family: Lato-Regular;
    src: url(../fonts/Lato-Regular.ttf);        
}
@font-face {
    font-family: Lato-Bold;
    src: url(../fonts/Lato-Bold.ttf);        
}
@font-face {
    font-family: Lato-Italic;
    src: url(../fonts/Lato-Italic.ttf);        
}

/* this should never be used: this highlights unformatted text */
/*Below useful for testing and development*/

/*:root {
--sans-color: #d3d3d3;
--serif-color: #FF00CB;
}
 */
body {
	color: var(--serif-color);
	font-family:Lato-Regular, sans-serif;
	line-height:115%;    
}
h1,h2,h3,h4{
    color:#757575;
    font-family: Lato-Regular,sans-serif;
    /*font-family: NunitoBold,sans-serif;*/
    font-weight:bold;
    letter-spacing: .2em;
    }
h1{
    line-height:115%;
}
h2{
    font-size:120%;
    line-height: 115%;
}
h3{
    font-size:85%;
 }
h3.video-title {
    color:#333333;
}
h4{
    font-size:90%;
}
.space-above {
margin-top:8%;
}
.inline {
    font-family:NunitoBold,sans-serif;
    color:#ff5f57;
    font-size:85%;
    font-weight:bold;
}
p{
   color: var(--serif-color);
	font-family:Lato-Regular, sans-serif;
	/* font-family:serif; */
    line-height:155%; 
    font-size:1.2em;
    }
p.sans{
    color: var(--sans-color);
    font-family:Lato-Regular,serif;
    /*font-family:Nunito-Regular,sans-serif;*/
    /*font-family:LibreFranklin-Regular,sans-serif;*/
    /*font-family:Aldine721B-Roman,georgia,serif;*/
    line-height:155%; 
    letter-spacing:0em;
}
p.sans-bold{
   color:var(--sans-color);
    font-family:Lato-Bold,serif;
    /*font-family:Nunito-Regular,sans-serif;*/
    /*font-family:LibreFranklin-Regular,sans-serif;*/
    /*font-family:Aldine721B-Roman,georgia,serif;*/
    line-height:155%; 
    letter-spacing:0em;
}
p.sans-italic{
   color:var(--sans-color);
    font-family:Lato-Italic,sans-serif;
    line-height:155%; 
    letter-spacing:0em;
}
.sans-italic{
	color:var(--sans-color);
	font-family:Lato-Italic,sans-serif;
   
    line-height:155%; 
    letter-spacing:0em;
}
.sans-bold{
	color:var(--sans-color);
	color:red;
	font-family:Lato-Bold,sans-serif;
   line-height:155%; 
   letter-spacing:0em;
}
p.medium{
    font-size:90%;
}
p.small{
    font-size:85%;
}
p.bold-red{
    color:#ff5f57;
    font-family:Aldine721BT-Bold,georgia, serif;
    font-weight:bold;
}
p.italic-red{
    color:#ff5f57;
    font-family:Aldine721BT-Italic,georgia,serif;
    font-style:italic;
}
p.italic-red-center{
    color:#ff5f57;
    font-family:Aldine721BT-Italic,georgia,serif;
    text-align:center;
    font-style:italic;
}
.center{
    text-align:center;
    }
 .right{
 text-align:right;
  }
.italic{
	color: var(--serif-color);
	font-family:Lora-Italic, sans-serif;
   /* font-family: Aldine721BT-Italic,georgia,serif;*/
    font-style:italic;
}
i{
    color: var(--serif-color);
	font-family:Lora-Italic, sans-serif;
    /*font-family:Aldine721BT-Italic,georgia,serif;*/
    /*font-style:italic;*/
}
b{
	color: var(--serif-color);
	font-family:Lora-Bold, sans-serif;
   /*font-family:Aldine721BT-Bold,georgia,serif;*/
 
}
h3.menuMobile{
    text-decoration:none;
    font-family:Lato-Bold,serif;
    /*font-family:Adline721BT-Bold;*/
}
li.menuMobile{
    background:#333333;
    padding-left:10%;
}
li.sans{
    color: var(--sans-color);
    font-family:Lato-Regular,serif;
    /*font-family:Nunito-Regular,sans-serif;*/
    /*font-family:LibreFranklin-Regular,sans-serif;*/
    /*font-family:Aldine721B-Roman,georgia,serif;*/
    line-height:155%; 
    letter-spacing:0em;
}
a.menuMobile{
		font-family:Lato-Bold,sans-serif;
    /*font-family:Aldine721BT-Bold,georgia,serif;*/
    color:#ffffff;
    text-decoration:none;
    line-height:215%;
}	
a.menuMobile:hover{
	color:#FFCCCB;
}	   
/* css for responsive images & iframe videos */
img {
    width: 100%;
    height: auto;
    top: 2%;
    /*border-radius: 3px;*/
    /*box-shadow: 0 3px 6px rgba(0,0,0,0.9);*/
}
img.axs {
    width:1px;
    height:1px;
    border:0px;
    border-color:white;
}
/* use inside .videoWrapper */
/* adapted from https://www.sitepoint.com/css3-responsive-centered-image/ */
img.header-large {
    	position: absolute;
   /*to be sure centered subtract max-width from 100 and divide by 2, use that as left percent*/
	max-width: 95%;
	left: 2.5%;
}
img.center
{
	display: block;
   margin: auto;
   /*
	position:absolute;
	max-width: 95%;
	left: 2.5%;
*/
}
img.right
{
	float:right;
	max-width: 95%;
	left: 2.5%;
}
img.left
{
	float:left;
	max-width: 95%;
	left: 2.5%;

}
img.left-bio
{
	float:left;
	max-width: 35%;
	left: 2.5%;
	padding-right:1%;
	padding-bottom:1%;

}
img.right-bio
{
	float:right;
	max-width: 35%;
	left: 2.5%;
	padding-left:1%;
	padding-bottom:1%;

}
img.right-medal
{
	float:right;
	max-width: 55%;
	left: 2.5%;
	padding-left:1%;
	padding-bottom:1%;

}
img.left-medal
{
	float:left;
	max-width: 55%;
	left: 2.5%;
	padding-right:3%;
	padding-bottom:1%;

}
img.center-medal
{
	 display: block;
  margin-left: auto;
  margin-right: auto;
  width: 85%;

}
img.center-medal-narrow
{
	 display: block;
  margin-left: auto;
  margin-right: auto;
  width: 95%;

}
img.left-medal-narrow
{
	float:left;
	max-width: 25%;
	left: 2.5%;
	padding-right:3%;
	padding-bottom:1%;

}
/* Code below used to make iframe YouTube videos responsive */
/* from https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php */
.videoWrapper-16-9-landscape {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 landscape */
	padding-top: 0px;
	height: 0;
}
.videoWrapper-16-9-landscape iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*use to make images responsive. Images must be 16:9 landscape,
4:3 or 3:2 portrait or landscape */
/* Use for 16:9 landscape image */
.imageWrapper-16-9-landscape {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 0px;
	height: 0;
}
/* Use for aspect ratio 3:2 potrait */
.imageWrapper-3-2-portrait {
	position: relative;
	padding-bottom: 150%; /* 3:2 portrait */
	padding-top: 2%;
	height: 0;
}
.imageWrapper-3-2-landscape {
	position: relative;<!-- USE THIS TO DETERMINE IF JQUERY IS WORKING.-->
	padding-bottom: 66.66%; /* 3:2 landscape */
	padding-top: 25px;
	height: 0;
}
/* Use for aspect ratio 4:3 potrait */
.imageWrapper-4-3-portrait {
	position: relative;
	padding-bottom: 133%; /* 4:3 portrait */
	padding-top: 0px;
	height: 0;
}
.imageWrapper-4-3-landscape {
	position: relative;
	padding-bottom: 75%; /* 4:3 landscape */
	padding-top: 25px;
	height: 0;
}
/* Use for aspect ratio square images */
.imageWrapper-1-1-portrait {
	position: relative;
	padding-bottom: 100%; /* 1:1 square */
	padding-top: 0px;
	height: 0;
}
/* Use for ??x?? header image */
.imageWrapper-header-large-landscape {
	position: relative;
	padding-bottom: 12.5%; /* 2000:115 header */
	padding-top: 0px;
	height: 0;
}
.imageWrapper-header-medium-landscape {
	position: relative;
	padding-bottom: 11.25%; /* ??:?? header */
	padding-top: 0px;
	height: 0;
}
/* Use for 145x750 elements page header image */
.imageWrapper-header-large-landscape-elements {
	position: relative;
	padding-bottom: 13%; /* 750:145 header */
	padding-top: 0px;
	height: 0;
}
/* Use for informal potrait 253x450 landscape */
.imageWrapper-253-450-landscape{
	position: relative;
	padding-bottom: 56.22%; /* 253:450 */
	padding-top: 0px;
	height: 0;
}
.imageWrapper-500-893-landscape{
	position: relative;
	padding-bottom: 56%; /* 253:450 */
	padding-top: 0px;
	height: 0;
}
.imageWrapper-500-160-portrait{
	position: relative;
	padding-bottom: 312.5%; 
	padding-top: 0px;
	height: 0;
}
.imageWrapper-500-878-portrait{
	position: relative;
	padding-bottom: 57%; 
	padding-top: 0px;
	height: 0;
}
/* For hyperlinks on page -- not in sidebar navigation */
a:hover {
	color: black;
	}
a:link {
text-decoration:none;
	}
a.underline:link {
text-decoration:underline;}

/* For navigation that shows up in mobile at top of page */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #333333;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align:center;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    display: block;
    transition: 0.3s;

}

.sidenav a:hover{
    color: #ff5f57;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.space-evenly {
display: flex;
justify-content: space-evenly;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
.empty {
min-height: 1px}
.empty-pad01 {
min-height: 50px;}
/*See https://www.w3schools.com/css/css_dropdowns.asp for dropdown menu*/
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #b9b9b9;
  opacity: 1.0;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.decoration{
text-decoration: none;}
.dropdown-color{
color:#000000;}
.book-metadata{
    font-size:85%;
}
h3.chapter{
    color:#333333;
}
.gray-faraday{
    background-color:#d4d4d4;
}