body {
	background-color: #99CC99;
}

* {
	box-sizing: border-box;
}

.titletext
{
   font-family:"Verdana", "Arial", "Helvetica", sans-serif;
   font-weight:normal; 
   font-size:150%;
   margin-left:12px;
   color:#FF9999;

}

.linkcategory {
	margin-bottom: 5px;
	margin-top: 5px;
}


a {
	/*margin-right: 8px;*/
	text-decoration: none;
}

	a:link {
		color: #000000;
		/*color: #0000EE;*/
	}

	a:visited {
		color: #000000;
		/*color: #551A8B;*/
	}

.previousbutton {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	background: #669966;
	color: #000000;
	height: 25px;
	font-size: 90%;
	font-weight: 100;
	text-align: center;
	text-decoration: none;
	float: left;
	padding: 2%;
}

.gallerybutton {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	background: #669966;
	color: #000000;
	height: 25px;
	font-size: 90%;
	font-weight: 100;
	text-align: center;
	text-decoration: none;
	float: right;
	padding: 2%;
}

.nextbutton {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	background: #669966;
	color: #000000;
	height: 25px;
	font-size: 90%;
	font-weight: 100;
	text-align: center;
	text-decoration: none;
	float: right;
	padding: 2%;
}


h1 {
	font-family: "Verdana", "Arial", "Helvetica", sans-serif;
	font-weight: normal;
	font-size: 100%;
	color: #FFFFFF;
}

h2 {
	font-family: "Verdana", "Arial", "Helvetica", sans-serif;
	font-weight: normal;
	font-size: 90%;
	color: #000000;
	text-align: center;
}

h3 {
	font-family: "Verdana", "Arial", "Helvetica", sans-serif;
	font-weight: normal;
	font-size: 70%;
	color: #000000;
	text-align: center;
}

P {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 80%;
	color: #000000;
}

.reference {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 70%;
	color: #000000;
}

figcaption {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	font-size: 80%;
	color: #000000;
	text-align: center;
}

.videocaption {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	font-size: 80%;
	color: #000000;
	width: 205%;
	text-align: left;
}

.twocolfigcaption {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	font-size: 80%;
	color: #000000;
	width: 205%;
	text-align: left;
}


ul {
	font-family: "Arial", "Helvetica", "Verdana", sans-serif;
	font-style: normal;
	color: #FFFFFF;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}


img {
	border-style: none;
	max-width: 100%;
	display: block;
}

.row {
	display: flex;
	flex-wrap: wrap;
	padding: 0 4px;
}

/* Create four equal columns */
.column {
	flex: 25%;
	max-width: 25%;
	padding: 0 4px;
}

.column img {
	margin-top: 8px;
	vertical-align: middle;
	width: 100%;
}

.column video {
	margin-top: 20px;
	margin-right: 20px;
	vertical-align: middle;
	height: auto;
	width: 180%;
}

/*		hover image example from:	https://stackoverflow.com/questions/18813299/changing-image-on-hover-with-css-html		*/
.hover_image:hover {
	text-decoration: none
}
/* Optional (avoid undesired underscore if a is used as wrapper) */
.hide {
	display: none
}
/* Do the shift: */
.hover_image:hover img:first-child {
	display: none
}

.hover_image:hover img:last-child {
	display: inline
}


/*							*/

/* start navigation  */
nav {
	width: 100%;
	margin: 1% auto;
	overflow: hidden;
}

nav ul {
	list-style: none;
	overflow: hidden;
}

	nav li a {
		background: #669966;
		border-right: 1px solid #99CC99;
		color: #000000;
		display: block;
		float: left;
		font-size: 110%;
		font-weight: 100;
		padding: 1%;
		width: 23.00%;
		height: 40px;
		text-align: center;
		text-decoration: none;
		transition: background 0.6s ease;
	}

		nav li a:hover, nav li.active a {
			background: #CCFFCC;
			color: #000000;
		}

	nav li:last-child a {
		border: none;
	}

	.previousbutton:hover{
		background: #CCFFCC;
		color: #000000;
	}

	.gallerybutton:hover {
		background: #CCFFCC;
		color: #000000;
	}

	.nextbutton:hover{
		background: #CCFFCC;
		color: #000000;
	}

/* end navigation */



@media (max-width: 600px) {

	nav li a {
		font-size: 80%;
		height: 22px;
	}

}


@media only screen and (min-width: 600px) {
	h1 {
		font-size: 120%;
	}

	h2 {
		font-size: 100%;
	}

	h3 {
		font-size: 80%;
	}

	p {
		font-size: 80%;
	}

	figcaption {
		font-size: 80%;
	}

	.twocolfigcaption {
		font-size: 80%;
	}

	.videocaption {
		font-size: 80%;
	}

	.reference {
		font-size: 60%;
	}

	nav li a {
		font-size: 90%;
		height: 28px;
	}

}

@media only screen and (min-width: 720px){
	h1{
		font-size:150%;

	}

	h2 {
		font-size: 110%;
	}

	h3 {
		font-size: 90%;
	}

	p {
		font-size: 90%;
	}

	figcaption {
		font-size: 90%;
	}

	.twocolfigcaption {
		font-size: 90%;
	}

	.videocaption {
		font-size: 90%;
	}

	.reference {
		font-size: 80%;
	}

	nav li a {
		font-size: 100%;
		height: 32px;
	}

}

@media only screen and (min-width: 960px) {
	h1 {
		font-size: 175%;
	}

	h2 {
		font-size: 120%;
	}

	h3 {
		font-size: 100%;
	}

	p {
		font-size: 100%;
	}

	figcaption {
		font-size: 100%;
	}

	.twocolfigcaption {
		font-size: 100%;
	}

	.videocaption {
		font-size: 100%;
	}

	.reference {
		font-size: 90%;
	}

	nav li a {
		font-size: 110%;
		height: 36px;
	}
}

@media only screen and (min-width: 1180px) {
	h1 {
		font-size: 200%;
	}

	h2 {
		font-size: 130%;
	}

	h3 {
		font-size: 100%;
	}

	p {
		font-size: 100%;
	}

	figcaption {
		font-size: 100%;
	}

	.twocolfigcaption {
		font-size: 100%;
	}

	.videocaption {
		font-size: 100%;
	}

	.reference {
		font-size: 90%;
	}

	nav li a {
		font-size: 120%;
		height: 40px;
	}
}

@media only screen and (min-width: 1400px) {
	h1 {
		font-size: 300%;
	}

	h2 {
		font-size: 140%;
	}

	h3 {
		font-size: 100%;
	}

	p {
		font-size: 100%;
	}

	figcaption {
		font-size: 100%;
	}

	.twocolfigcaption {
		font-size: 100%;
	}

	.videocaption {
		font-size: 100%;
	}

	.reference {
		font-size: 90%;
	}

	nav li a {
		font-size: 130%;
		height: 44px;
	}
}


/* screen taller than normal portrait */
@media (max-aspect-ratio: 2/3) {

	.landscape {
		width: 100vw;
		margin-left: auto;
		margin-right: auto;
	}

	.portrait {
		width: 80vw;
		margin-left: auto;
		margin-right: auto;
	}

	.hover_image {
		width: 100vw;
		margin-left: auto;
		margin-right: auto;
	}

	.column .landscape_300 {
		
		/* width: 60vw; */
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

	.column .portrait_300 {
		/* width: 40vw; */
		max-width: 200px;
		margin-left: auto;
		margin-right: auto;
	}



.column {
	flex: 30%;
	max-width: 33%;
	margin-left: auto;
	margin-right: auto;
}

}


/* screen portrait to square */
@media (min-aspect-ratio: 2/3) and (max-aspect-ratio: 1/1) {

	.landscape {
		width: 100vw;
		margin-left: auto;
		margin-right: auto;
	}

	.portrait {
		width: 65vw;
		margin-left: auto;
		margin-right: auto;
	}

	.hover_image {
		width: 100vw;
		margin-left: auto;
		margin-right: auto;
	}

	.column .landscape_300 {
		/* width: 100vw; */
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

	.column .portrait_300 {
		/* width: 35vw; */
		max-width: 200px;
		margin-left: auto;
		margin-right: auto;
	}

	.column {
		flex: 30%;
		max-width: 33%;
		margin-left: auto;
		margin-right: auto;
	}

}

/* screen square to landscape */
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 3/1) {
	.landscape {
		width: 75vw;
		margin-left: auto;
		margin-right: auto;
	}

	.portrait {
		width: 35vw;
		margin-left: auto;
		margin-right: auto;
	}

	.hover_image {
		width: 75vw;
		margin-left: auto;
		margin-right: auto;
	}

	.column .landscape_300 {
		/* width: 70vw; */
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

	.column .portrait_300 {
		/* width: 22vw; */
		max-width: 200px;
		margin-left: auto;
		margin-right: auto;
	}

	.column {
		/* flex: 33.3%; */
		/* max-width: 33.3%; */
		flex: 25%;
		max-width: 25%;
		margin-left: auto;
		margin-right: auto;
	}
}

/* screen wider than normal landscape */
@media (min-aspect-ratio: 3/1) {
	/* @media (min-aspect-ratio: 3/2) { */

	.landscape {
		/* width: 70vw; */
		width: 55vw;
		margin-left: auto;
		margin-right: auto;
	}

	.portrait {
		width: 25vw;
		margin-left: auto;
		margin-right: auto;
	}

	.hover_image {
		width: 55vw;
		margin-left: auto;
		margin-right: auto;
	}

	.column .landscape_300 {
		/* width: 60vw; */
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

	.column .portrait_300 {
		/* width: 14vw; */
		max-width: 200px;
		margin-left: auto;
		margin-right: auto;
	}

	.column {
		flex: 20%;
		max-width: 20%;
		margin-left: auto;
		margin-right: auto;
	}
}
