@import url('https://fonts.googleapis.com/css?family=Girassol|Nunito:300,400,700|PT+Serif:400,700&display=swap');
@import url('flexboxgrid.min.css');

@font-face {
  font-family: "JMH Typewriter";
  src: url('fonts/JMH-Typewriter.eot');
  src: url('fonts/JMH-Typewriter.eot') format('embedded-opentype'),
       url('fonts/JMH-Typewriter.woff2') format('woff2'),
       url('fonts/JMH-Typewriter.woff') format('woff'),
       url('fonts/JMH-Typewriter.ttf') format('truetype');
}
* {
  box-sizing: border-box;
}

/*
Dark Salmon
#E1925E

Brick Red
#C6402C

Black
#3C252D

Brown
#A73E2E

Brown
#802E2B
*/
:root {
  --color1: #E1925E;
  --color2: #C6402C;
  --color3: #A73E2E;
  --color4: #802E2B;
  --headerHeight: 80px;
}

html {
	scroll-behavior: smooth;
}

body::before {
content: "small";
display: none; }
@media (min-width: 320px) {
body::before {
  content: "x-small"; } }
@media (min-width: 768px) {
body::before {
  content: "small"; } }
@media (min-width: 992px) {
body::before {
  content: "medium"; } }
@media (min-width: 1200px) {
body::before {
  content: "large"; } }

.container {
  margin: auto;
  max-width: 90vw;
}

.row + .row {
  margin-top: 44px;
  margin-top: 2.75rem; 
}


.exclusive {
	/*text-align: center;*/
	padding: 2em;
	background-color: rgba(225, 146, 94, 0.5);
	border-radius: 4px;
}

.longlink {
	white-space: wrap;
}
strong {
	color: #C6402C;
}
#backTop {
  position: fixed;
  bottom: 0;
  right: 5px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  width:  75px;
  height:  69px;
  background: no-repeat top left url(../img/backtop-xs.png);
  /*background-color: var(--color1);*/
  color: white;
  cursor: pointer;   
  visibility: hidden;
  opacity: 0;
  transition: all 250ms ease;
}


#backTop.visible {
  visibility: visible;
  opacity: .85;
  transition: all 250ms ease;
}

#backTop:hover {
	opacity: 1;
  /*background-color: var(--color2);*/
}

#backTop .text {
	color: black;
    font-weight: 600;
    transform: rotate(323deg);
    position: absolute;
    top: -2px;
    left: 0;
	  font-size: .56em;
}

@media screen and (min-width: 768px) {
	#backTop {
	  width:  150px;
	  height:  130px;
	  background: no-repeat top left url(../img/backtop.png);
	}

	#backTop .text {
	  font-size: 1em;
	}

}
 

body {
	font-family: 'Nunito', sans-serif;
	font-size: 1.15em;
	line-height: 1;
	padding: 0;
	margin: 0;
}

/*@media screen and (min-width: 768px) {
	body {
		text-align: left;
	}
}*/

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.img-responsive { 
	max-width: 100%;
}
a {
	color: var(--color3);
	&:hover {
		color: var(--color4);
	}
}

p { 
	/*overflow: hidden;*/
	font-size: 1em;
	line-height: 1.25;
}

main {
	margin-top: 6em;
	padding: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Girassol';
  margin: 0 0 .25em;
}

h1 {
  text-align: center;
}

h2 {   
	color: var(--color2);
	font-weight: 600;
}

hr {
  background: var(--color2);
  color: var(--color2);
  border: 0 none transparent;
  height: 1px;
  border-color: var(--color2);
  margin: .5em 0;
}

@media screen and (min-width: 768px) {
	.align-left {
		float: left;
		text-align: left;
	}

	.align-right {
		float: right;
		text-align: right;
	}

	.align-center {
		margin: 0 auto;
		text-align: center;
	}
}

.video-container {
	overflow: hidden;
	height: 0;
	padding-top: 56.25%;
	position: relative;
}

.video-container video,
.video-container iframe, 
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	background: #000;
}


ul, 
ol { 
	text-align: left;
}

ul li, 
ol li {
	margin: .5em 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 1em;
	text-align: center;
	z-index: 100;
	box-shadow: 0 10px 20px -20px rgba(0,0,0,.2);
}

@media screen and (min-width: 768px) {
	nav { 
		padding: 1em 0;
		flex-direction: row;
		justify-content: space-around;
		z-index: 100;
		box-shadow: 0 10px 5px -10px rgba(0,0,0,.2);
	}
}

nav .logo {
	display: block;
	text-align: center;
	border: none;
	color: #C6402C;
	text-decoration: none;
	padding: 0;  
	font-size: 1em;
	font-weight: 600; 
  font-family: 'Girassol';
}

@media screen and (min-width: 768px) {
	nav .logo { 
	font-size: 1.75em;
	}
}
nav .logo.current {
	background: transparent;
	border: none;
}

nav .logo img {
	display: inline-block;
	height: 65px;
	width: auto;
	margin: auto;
  vertical-align: middle;
}

.menu {
	position: absolute;
	background: #FFF; 
	left: 0;
	transform: translate(100%);
	width: 100%;
	height: 100vh;
	z-index: 0;
	padding: 1em;
	opacity: 0;
	top: 85px;
	/*animation-name: example;
	animation-duration: 250ms;*/
}
.show-nav .menu {
/*	animation-name: example;
	animation-duration: 250ms;*/
	opacity: 1;
	transform: translate(0);
	transition: transform 250ms ease;
	z-index: 100;
}
.menu a {
	display: block; 
	color: #C6402C; 
	text-decoration: none;
	padding: 1em; 
	border-top: 1px solid #C6402C;
  border-radius: 4px;
}
.menu a:last-of-type {
	border-bottom: 1px solid #C6402C;
}
 
.menu a:hover {
	color: #FFF;
	background: #802E2B; 
	text-decoration: none;
}


@media screen and (min-width: 992px) {
	.menu { 
		position: static;
		left: 0;
		opacity: 1;
		transform: translate(0);
		width: auto;
		padding: 0;
		height: auto;
		transition: transform 250ms ease;
		display: flex;
		align-items: center;
		justify-content: space-between;
		/*animation-name: example;
		animation-duration: 250ms;*/
	}
	.menu a {
		color: #C6402C;
		border-top: none;
		border-bottom: none;
		transition: background 250ms ease;
		text-decoration: none;
		padding: .5em 1em; 
	}
	.menu a + a {
		margin-left: 12px;
		border: none;
	}
	.menu a:last-of-type {
		border: none;
	}
	.menu a:hover {
		color: #FFF;
		background: #802E2B; 
		text-decoration: none;
	}

	.menu a.current {
		color: #FFF;
		background: #802E2B; 
		text-decoration: none;
	}
}


footer {
	display: flex;
	padding: 1em;
  font-size: .85rem;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
}
/* AUDIO PLAYER */
audio {
	width: 100%;
	outline-style: none; 
	background-color: var(--color3);
	z-index: 99;
}

/* Figures */
figure {
  text-align: center;
  object-fit: cover; 
} 
figcaption {
  font-style: italic;
}

.volumeIX {
	display: inline-block;
}

#playlist { 
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
}

/* START BLOCKQUOTE */

blockquote {
  border-left: 3px solid #802E2B;
/*  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;*/
  background: #F6F6F6;
  /*box-shadow: 10px 0px 10px -10px rgba(0,0,0,1) inset;*/
  padding: 1em 1.5em;
}

blockquote p {
  font-size: 1.15em;
  color: #802E2B;
  font-family: 'Girassol', Cambria, 'Hoefler Text', Utopia, 'Liberation Serif', 'Nimbus Roman No9 L Regular', Times, 'Times New Roman', serif;
}

blockquote cite {
  font-size: .75em;
}

/* END BLOCKQUOTE */
#playlist li {
	transition: all 250ms ease;
	color: black;
	display: block;
	border-radius: 4px;
	position: relative;
	padding: .25em 1em .25em .5em;
}
#playlist li.active {  
	background-color: lightgray;
}

#playlist li.active a {
	color: black;
}

#playlist li.active::after {
	border-radius: 50%;
	height: 20px;
	width: 20px;
	text-indent: -9999em;
	top: 50%;
	right: .35em;
	transform: translateY(-50%);
	position: absolute;
	background: darkgray;
	z-index: 1;
}

#playlist li.active::after {
	content: '';
	display: inline-block;
}
#playlist li.active::before {
	position: absolute;
	top: 50%;
	right: .65em;
	transform: translateY(-50%);
	content: '';
	display: inline-block;
	box-sizing: border-box;
	height: 8px;
	width: 8px;
	border-style: solid;
  	border-width: 4px 0px 4px 7px;
    border-color: transparent transparent transparent white;
    z-index: 2;
}

#playlist li a {
	color: currentColor;
	text-decoration: none;
	display: inline-block;
	padding: .25em 1em;
}

#playlist li:hover {
	border-radius: 4px;
	background-color: lightgray;
}

/* HAMBURGER MENU */
.hamburger {
  outline: none;
  font: inherit; 
  overflow: visible;
  margin: 0;
  padding: 15px;
  cursor: pointer;
  transition-timing-function: linear;
  transition-duration: .15s;
  transition-property: opacity,filter;
  text-transform: none;
  color: inherit;
  border: 0;
  background-color: transparent;
  position: absolute;
  top: 50%;
  right: 1em;
  display: block;
  visibility: visible;
  opacity: 1;
  transform: translateY(-50%);
  z-index: 999;
}
@media screen and (min-width: 992px) {
	.hamburger {
		visibility: hidden;
		display: none;
	}
}

.hamburger.is-active:hover,
.hamburger:hover {
    opacity: 1;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
    background-color: #C6402C;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

.hamburger-inner {
    top: 50%;
    display: block;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
    position: absolute;
    width: 40px;
    height: 4px;
    transition-timing-function: ease;
    transition-duration: .15s;
    transition-property: transform;
    border-radius: 4px;
    background-color: #C6402C;
}

.hamburger-inner:after,
.hamburger-inner:before {
    display: block;
    content: "";
}

.hamburger-inner:before {
    top: -10px;
}

.hamburger-inner:after {
    bottom: -10px;
}
 
.hamburger--3dy .hamburger-box {
    perspective: 80px;
}

.hamburger--3dy .hamburger-inner {
    transition: transform .15s cubic-bezier(.645,.045,.355,1), background-color 0s cubic-bezier(.645,.045,.355,1) .1s;
}

.hamburger--3dy .hamburger-inner:after,
.hamburger--3dy .hamburger-inner:before {
    transition: transform 0s cubic-bezier(.645,.045,.355,1) .1s;
}

.hamburger--3dy.is-active .hamburger-inner {
    transform: rotateX(-180deg);
    background-color: transparent!important;
}

.hamburger--3dy.is-active .hamburger-inner:before {
    transform: translate3d(0,10px,0) rotate(45deg);
}

.hamburger--3dy.is-active .hamburger-inner:after {
    transform: translate3d(0,-10px,0) rotate(-45deg);
}


.sticky {
  position: sticky;
  top: 100px;
}

.gallery figure { 
	width: 100%;
	margin: 0 0 1em 0;
	height: auto;
	overflow: hidden;
	background-position: center center;
	background-repeat:  no-repeat;
	background-size: cover;
	box-shadow: 0 0 10px -5px rgba(0,0,0,1);
	padding: 0.75em;
	border-radius: 5px; 
}
.gallery figure:hover { 
	box-shadow: 0 0 20px #802E2B;
	transition:  box-shadow 250ms ease;
}
.gallery figure:hover a { 
	background-size: 105%;
	box-shadow: inset 0 0 20px rgba(0,0,0,1);	
	transition: background-size 200ms ease, box-shadow 200ms ease;
}

.gallery figure a { 
	border-radius: 5px;
	background-size: 100%;
	background-position: 50% 50%;
  display: block;
	overflow: hidden; 
	position: relative;
	height: 0;
	padding-top: 56.25%;
	box-shadow: inset 0 0 10px rgba(0,0,0,.85);
	transition: background-size 500ms ease, box-shadow 500ms ease;
}

#load-more {
		background: var(--color4);
		color: #FFF;
		padding: .5rem 1rem;
		border: none 0 transparent;
		cursor: pointer;
		&:hover {

		}
}

/*.gallery figure a img { 
	position: absolute;
	top: 0;
	left:  0;
	width:  100%;
	height: 100%;
}

figure > img {
	border-radius: 5px;
}
*/

.gallery a::after {
	content: '+';
	position: absolute;
	font-size: .85em;
	border-radius: 4px;
	top: 50%; 
	transform-origin: center;
	left: 50%; 
	background: rgba(0,0,0,.8);
	padding: .25em .5em;
	color: #FFF;
	z-index: 10;
	transform: translate(-50%, -50%);
	transition: all 200ms ease;
	opacity: 0;
	cursor: pointer;
}
.gallery a:hover::after {
	opacity: 1;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-body {
    position: relative;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}

.modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

body.modal-open {
    overflow: hidden;
}

.btn {
	color: var(--color3);
	padding: .6em 1em;
	display: flex;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
	vertical-align: middle;
	border-radius: 4px;
	border: 1px solid #333;
	justify-content: center;
	align-items: center;
	transition: all 250ms ease;
}

.btn:hover {
	background-color: #FFF;
}

.btn:active,
.btn:focus,
.btn:hover {
    text-decoration: none
}

.btn-download {
	background-color: #d9750b;
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(10%,#f90),to(#e76a00));
	background-image: linear-gradient(#f90 10%,#e76a00 100%);
	-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5) inset,0 1px 3px rgba(0,0,0,.2);
	box-shadow: 0 1px 0 rgba(255,255,255,.5) inset,0 1px 3px rgba(0,0,0,.2);
	border: 1px solid #995309;
}

.btn-download__sm {
  display: inline-block;
  padding: .25em 2em;
}

.btn-download:active,
.btn-download:focus,
.btn-download:hover {
    background-color: #e0811b;
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(10%,#f0a100),to(#f70));
    background-image: linear-gradient(#f0a100 10%,#f70 100%);
}

.btn-download:active {
    background-color: #cf6a00;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,.2) inset;
    box-shadow: 0 2px 3px 0 rgba(0,0,0,.2) inset;
}

.booklist {
	position: sticky;
	top: var(--headerHeight);
}

.booklist {
	position: sticky;
	top: var(--headerHeight);
}

.named-anchor {
	position: relative;
	top: -111px;
}


.card {
	padding: 1em;
	margin-top: 1em;
}
.fade-in {
	opacity: 0;
	transition: opacity 1s ease-in;
}

.fade-in.show {
	opacity: 1;
}


































/*.gallery figure:hover img {
	transform: scale(1.5);
	transition: all 200ms ease;
	opacity: 1;
	transform-origin: center;
}*/
/*.gallery figure {
	display: block;
	height: 550px;
	flex-basis: 20%;
	-ms-flex: auto;
	width: 259px;
	position: relative;
	padding: 10px;
	box-sizing: border-box;
}
.gallery figure img {
	opacity: .8;
	margin: 0;
	width: 100%;
    height: 100%;
	transition: all 250ms ease;
    object-fit: cover;
	display: block;
	z-index: 10;
}
@media(max-width: 1333px) {
  .gallery figure {
    flex-basis: 33.33%;
  }
}
@media(max-width: 1073px) {
   .gallery figure {
    flex-basis: 33.33%;
  }
}
@media(max-width: 815px) {
  .gallery figure {
    flex-basis: 50%;
  }
}
@media(max-width: 555px) {
  .gallery figure {
    flex-basis: 100%;
  }
}*/
/*
.gallery {
	display: grid; 
	grid-template-columns: repeat(4, 15fr);
    grid-template-rows: repeat(0, 25vw);
    align-items: stretch;
    align-content: space-evenly;		
}
@media (min-width: 768px) {
	.gallery {  
		display: grid; 
	}
} 
.gallery figure {
	padding: 0;
	overflow: hidden;
	justify-self: stretch;
}


.gallery figure:hover {
}
.gallery figure::after {
	content: '';
	transition: all 250ms ease;
}

.gallery figure:hover::after {
	transition: all 250ms ease;
}

.gallery figure:hover img { 
	opacity: 1;
	transition: all 250ms ease;
	transform: scale(1.25);
}

.gallery figure img {
	opacity: .8;
	margin: 0;
	width: 100%;
    height: 100%;
	transition: all 250ms ease;
    object-fit: cover;
	display: block;
	z-index: 10;
}*/

table { 
  width: 100%; 
  border-collapse: collapse; 
	empty-cells: hide;
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}


.notice { 
	padding 2em;
  
}

.btn-green {
  box-shadow:inset 0px 1px 0px 0px #a4e271;
  background:linear-gradient(to bottom, #89c403 5%, #77a809 100%);
  background-color:#89c403;
  border-radius:6px;
  border:1px solid #74b807; 
  cursor:pointer;
  color:#ffffff; 
  font-size: 1em;
  font-weight:bold;
  padding:.2em 1em;
  text-decoration:none;
  text-shadow:0px 1px 0px #528009;
}
.btn-green:hover {
  background:linear-gradient(to bottom, #77a809 5%, #89c403 100%);
  background-color:#77a809;
}
.members-list {
  columns: 1;
  -webkit-columns: 1;
  -moz-columns: 1;
}

.anchor {
  position: relative;
  top: -102px;
  display: block;
  visibility: hidden; 
}

@media screen and (min-width:  1024px) {
	.members-list {
	  columns: 2;
	  -webkit-columns: 2;
	  -moz-columns: 2;

	}
}
.supported-sites,
.references {
	padding-left: 1rem;
}
.supported-sites li::marker,
.references li::marker {
	font-size: 1.25em;
	font-weight: 800;
}

.supported-sites li,
.references li {
	line-height: 1.1;
	padding-bottom: 1rem;
}