* {
    box-sizing: border-box;
}

.hide-element {
    border: 0;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip; rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px; 
} 

body {
background-color: #fdf8ed; 
color: #455a59;
font-family: "palatino linotype", garamond, serif ;
margin: 0;
}

h2 { 
text-decoration: overline;
}

.pale {
	color: #455a59;
	background-color: rgba(253, 248, 237, 0.7); 
}

.dark {
	color: #fdf8ed;
	background-color: rgba(69, 90, 89, 0.7);
}

/* banner link styling */

.banner {
	position: relative;
	width: 100%;
	max-height: 25vh;
	overflow: hidden;
	margin-bottom: 1%;
}

.centered {
  position: absolute;
  top: 25px;
  width: 100%;
  text-align: center;
  font-size: 3em;
  white-space: nowrap;
}

a, .collapsible {
display: block;
margin:0;
text-decoration: none;
color: #fdf8ed;
border: none;
}


h2:hover, .active, .collapsible:hover, input:hover, input:focus, select:hover {
background-color: #455a59;
color: #fdf8ed;
}




/*main text pane styling */

.text {
margin-left:25%;
margin-bottom:80px;
clear: left;
float: left;
}

div.text > p, h3, h4, ol, dl, blockquote {
	margin-right: 20%;
	padding-right: 7.5%;
}


img {
	width: 100%;
	transform: translateY(-40%);
	
}

p.caption {
	padding: 0 0;
	margin: 0 0;
	text-align: center;
	font-weight: normal;
	font-size: small;
}

@media only screen and (max-width: 880px) {
	h2.centered {
		text-decoration: none;
		white-space: normal;
		font-size: 2em;
	}
}


	 
@media only screen and (max-width: 1028px) {
    .text, .contents {
       margin: 0;
	   width: 100%;
    }
	.navigation {
		width: 80%;
		display: none;
		max-width: 450px;
	}
	
	.showNav {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		padding: 6px 6px;
		margin:0;
		background-color:#455a59; 
		color:  #fdf8ed;
		border: none;
		width: 100%;
	}

	.thumbnails {
		display: block;
		width: 100%;
		position: static;
		padding-bottom: 5%;
	}
	
	div.thumbnails > a {
		display: block;
		max-width: 500px;
		margin: auto;
		}
	
	div.text > p, ol, blockquote, h3, h4, hr {
		padding: 0;
		margin-left: 5%;
		margin-right: 5%;
	}
	
	h1 {
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 10%;
		padding: 5%;
		font-size: 1.5em;
	}
	
	img {
	width: 100%;
	transform: translateY(0%);
	
}
	.fronttext {
	margin-left: 20%;
	width:60%;
}

}

