/**** Stuff for the Slideshow ****/

// w3 stuff shamelessly stolen from https://www.w3schools.com/w3css/4/w3.css

.w3-left, .w3-right, .w3-badge {cursor:pointer}
.w3-badge {height:13px;width:13px;padding:0}

.w3-display-topleft{position:absolute;left:0;top:0}.w3-display-topright{position:absolute;right:0;top:0}
.w3-display-bottomleft{position:absolute;left:0;bottom:0}.w3-display-bottomright{position:absolute;right:0;bottom:0}
.w3-large{font-size:18px!important}
.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before,
.w3-cell-row:before,.w3-cell-row:after,.w3-clear:after,.w3-clear:before,.w3-bar:before,.w3-bar:after{content:"";display:table;clear:both}
.w3-padding-16{padding-top:16px!important;padding-bottom:16px!important}
.w3-black,.w3-hover-black:hover{color:#fff!important;background-color:#000!important}
.w3-section,.w3-code{margin-top:16px!important;margin-bottom:16px!important}
.w3-display-bottommiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
.w3-container,.w3-panel{padding:0.01em 16px}.w3-panel{margin-top:16px;margin-bottom:16px}
.w3-large{font-size:18px!important}
.w3-text-white,.w3-hover-text-white:hover{color:#fff!important}
.w3-center{text-align:center!important}
.w3-display-middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%)}

#slideshow{
 display: block;
 clear: both;
 position: relative; 
 max-width: 700px;
 max-height: 500px;
 margin: auto;
 margin-top: 1em;
 border-width: x-large;
 overflow: hidden;
}
	
* {
	box-sizing: border-box;
}

.slideshow-container {
	position: relative;
	width: 700px;
	height: 500px;
	overflow: hidden;
}

.mySlides {
	display: none;
	height: 100%;
	width: 100%;
 overflow: hidden;
}

em.captionTitle {
font-size: larger;
margin-bottom: 4px;
}

.captionSubtitle {
font-size: small;
margin-top: 2px;
padding-top: 2px;
//border-top: 1px solid white;
width:auto;
}


.slideControlContainer {
content: "";
display: table;
clear: both;
text-align: center !important;
margin-top: 16px !important;
margin-bottom: 16px !important;
font-size: 18px !important;
color: #fff !important;
position: absolute;
left: 50%;
bottom: 0;
transform: translate(-50%,0%);
-ms-transform: translate(-50%,0%);
-moz-transform: translate(-50%,0%);
-webkit-transform: translate(-50%,0%);
width: 100%;
}

/* Next & previous buttons */
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -22px;
	color: black;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	-ms-transition: 0.6s ease;
	-moz-transition: 0.6s ease;
	-webkit-transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
}
/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
	color: white;
}
/* Caption text */
.text {
	color: #f2f2f2;
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 13px;
	width: 13px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
	-moz-transition: background-color 0.6s ease;
	-webkit-transition: background-color 0.6s ease;
	-ms-transition: background-color 0.6s ease;
}

.active, .dot:hover {
	background-color: #717171;
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  -moz-animation-name: fade;
  -moz-animation-duration: 1.5s;
  -ms-animation-name: fade;
  -ms-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@-moz-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@-ms-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

/**** End Slideshow ****/


#main > p {
margin: 10px;
text-align: justify;
}

#banner {
display: block;
margin: auto;
left: 50%;
width: 75%;
padding-top: 1em;
padding-bottom: 1em;
}

#banner > a > img {
width: 600px;
}

#main a:link, #main a:visited {
	font-family: "trebuchet ms", Verdana, Arial, Helvetica, sans-serif;
	text-decoration: underline;
	color:#330000;
	}

#main a:hover  {
	font-family: "trebuchet ms", Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: #623120;
}
#main a:active {
	font-family: "trebuchet ms", Verdana, Arial, Helvetica, sans-serif;
	text-decoration: underline;
	color: #623120;
}

#main h1 {
	font-family: Georgia;
	font-size: 24px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #600;
	margin-bottom: 10px;
	padding-bottom: 5px;
	margin-top: 10px;
	line-height: 1.2em;
	color: #600;
}
#main h2 {
	font-family: Georgia;
	color: #600;
	font-size: 20px;
	padding-top: 15px;
	margin-top: 6px;
	margin-bottom: 6px;
	text-align: center;
}

#showpageLinks {
	background-color: lightgray;
	position: static;
	width: 100%;
}

#inner_showpageLinks {
	left: 50%; 
	margin: 5%;
	width: 90%; 
	position: static;
	display: inline-block;	
}

#showpageWrapper {
	position: relative;
	display: inline;
	text-align: center;
	border-radius: 50%;
	margin: 0px 2px;

}

#showpaheWrapper:hover .showpageWrapperImage {
	width: 150px;
	height: 150px
}


#showpageWrapper .caption {
    	position: absolute;
    	display: block;
    	background-color: black;
    	color: white;
	visibility: visible;
	top: -50px; 
	left: -2px;
	text-align: center;
	z-index: 10;
	padding: 2px;
	width: 100%;
	opacity: 1;
	/*
	-o-transition: visibility 0s, opacity 0.25s linear;
  	-ms-transition: visibility 0s, opacity 0.25s linear;
  	-moz-transition: visibility 0s, opacity 0.25s linear;
  	-webkit-transition: visibility 0s, opacity 0.25s linear;
	transition: visibility 0s, opacity 0.25s linear;
	*/
	-o-transition: top .5s linear;
  	-ms-transition: top .5s linear;
  	-moz-transition: top .5s linear;
  	-webkit-transition:top .5s linear;
	transition:top .5s linear;

}

#showpageWrapper:hover .caption {
	visibility: visible;
	opacity: 1;
	top: 0px;
	/*
	-o-transition: visibility 1s, opacity 0.25s linear;
  	-ms-transition: visibility 1s, opacity 0.25s linear;
  	-moz-transition: visibility 1s, opacity 0.25s linear;
  	-webkit-transition: visibility 1s, opacity 0.25s linear;
	transition: visibility 1s, opacity 0.25s linear;
	*/
	-o-transition: top .5s linear;
  	-ms-transition: top .5s linear;
  	-moz-transition: top .5s linear;
  	-webkit-transition:top .5s linear;
	transition:top .5s linear;

}

#showpageWrapper:hover .showpageWrapperImage {
	-o-transition: filter 0.5s, opacity 0.5s linear;
  	-ms-transition: filter 0.5s, opacity 0.5s linear;
  	-moz-transition: filter 0.5s, opacity 0.5s linear;
  	-webkit-transition: filter 0.5s, opacity 0.5s linear;
	transition:  filter 0.5s, opacity 0.5s linear;
	opacity: 1;
	-webkit-filter: sepia(0%); 
    	filter: sepia(0%);
}

.showpageWrapperImage {
	height: 100px; 
	width: 100px;
	overflow: hidden;
	position: static;
	border-radius: 50%;
	opacity: .6;
	-o-transition: filter 0.5s, opacity 0.5s linear;
  	-ms-transition: filter 0.5s, opacity 0.5s linear;
  	-moz-transition: filter 0.5s, opacity 0.5s linear;
  	-webkit-transition: filter 0.5s, opacity 0.5s linear;
	transition:  filter 0.5s, opacity 0.5s linear;
	-webkit-filter: sepia(85%); 
    	filter: sepia(85%);
}


#showpageWrapper a {
	text-decoration: none;
	position: static;
}