html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; border: 0; }
audio, canvas, iframe, img, svg, video { vertical-align: middle; } /* Remove gaps between elements */
nav ul, nav ol { list-style-type: none; padding: 0; margin: 0; } /* Remove bullets from lists in nav */
textarea { resize: vertical; }
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

/* ==========================================================================
   PROJECT STYLES
   ========================================================================== */
body {
	font: 18px 'Alegreya Sans', sans-serif;
	line-height: 24px;
	color:#222527;
}
header {
	color: #ECF3F8;
	background: #0f1318;
	background: url(../img/hero_image_1.jpg) no-repeat center;
	background-size: cover;
	height: 160px;
	width: 100%;
	-webkit-transition: background-image 1s linear;
	-moz-transition: background-image 1s linear;
	-ms-transition: background-image 1s linear;
	-o-transition: background-image 1s linear;
	transition: background-image 1s linear;
}
.slideshow {
	height: 160px;
}
nav {
	position: fixed;
	background-color: rgba(34,37,39, .8);
}
nav ul {
	margin: 0 auto;
	padding: 0;
}
nav li a {
	display: block;
	padding: 20px;
	font: 15px 'Libre Baskerville', serif;
	color: #ECF3F8;
	text-decoration: none;
}
nav li a:hover{
	background-color: #181A1C;
	border-bottom: solid 1px #2b2f33;
	border-top: solid 1px #08090A;
}
nav li .active{
	background-color: #181A1C;
}
#nav-checkbox {
	position: fixed;
	clip: rect(0,0,0,0);
}
article {
	border-top: 1px solid #95989A;
	margin: 35px auto;
}
article ul {
	display: inline-block;
	margin: 0;
}
h1 {
	font: 24px 'Libre Baskerville', serif;
	color: #2C2C2C;
}
h2 {
	font: 20px 'Libre Baskerville', serif;
	color: #2C2C2C;
	text-align: center;
}
h3 {
	font-size: 1.5rem;
	font-weight: medium;
	margin: 5px 0 0 0;
}
a {
	color: #036A89;
	text-decoration: none;
	font-weight: 500;
}

.title {
	background-color: #fff;
	width: 40%;
	position: relative;
	top: -30px;
	left: 30%;
}
img a {
		border: 0;
	}
.lois_logo {
	width: 200px;
	position: absolute;
	top: 10px;
	left: 5%;
}

.container {
	max-width: 90%;
	margin: 20px auto;
}
.container p {
	padding: 0 10px;
}
.container img {
	border: 1px solid #3F4448;
	border-radius: 12px;
}
.bio img {
	display: block;
	margin: -25px auto 10px;
}
.banner-wrapper{
	margin-top: 0;
}
.button a{
	display: inline-block;
	position: relative;
	width: 120px;
	left: calc(50% - 60px);
	color: #BDC5CC;
	text-align: center;
	font-weight: bold;
	font-size: 17px;
	text-decoration: none;
	background-color: #131517;
	background-image: linear-gradient(#33383C, #131517);
	border: solid 1px #2F3234;
	border-radius: 10px;
	padding: 10px 20px;
}
.portfolio {
	margin: 45px auto;
	clear: both;
}
.gallery {
	margin-top: -25px;
}
.gallery img {
	max-width: 100%;
	vertical-align: bottom;
}
.gallery a {
	display: block;
	text-decoration: none;
	position: relative;
	color:#222527;
	width: 50%;
	float: left;
	padding: 10px;
	overflow: hidden;
}
.description {
	font-size: 1.2rem;
	text-align: center;
	background: rgba(255,255,255, 0.5);
	position: absolute;
	padding:5%;
	line-height: 1.5rem;
	width: 100%;
	top: 60%;
	right: 0;
	bottom: -100%;
	opacity: 1;
	/*-webkit-transition: all 200ms cubic-bezier(0.785, 0.135, 0.150, 0.860);
	transition: all 200ms cubic-bezier(0.785, 0.135, 0.150, 0.860);*/
}
/*.gallery a:hover .description {
	opacity: 1;
	top: 65%;
	bottom: 0;
}*/

.mfp-title {
	color: #ECF3F8;
	font-weight: 500;
	line-height: 20px;
}
.mfp-figure small {
	font-weight: normal;
	line-height: 16px;
}

footer {
	background-color: #222527;
	width: 100%;
	margin-top: 30px;
	display: inline-block;
	clear: both;
}
.footerMenu ul{
	padding: 0;
	margin-top: 0;
}
.footerMenu li a {
	display: block;
	padding: 15px;
	text-align: center;
	text-decoration: none;
	font: 1.2rem 'Libre Baskerville', serif;
	color: #ECF3F8;
	border-bottom: solid 1px #4F565C;
}
.footerMenu li a:hover{
	background-color: #181A1C;
}
.footerMenu li .active{
	background-color: #181A1C;
}
.social {
	display: inline-block;
	position: relative;
	left: calc(50% - 83px / 2);
}
.social img {
	background-color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	margin: 5px;
}
.footer_logo {
	display: block;
	position: relative;
	left: calc(50% - 185px / 2);
	margin-top: 10px;
	margin-bottom: 25px;
}
.footer_logo img {
	width: 185px;
	height: auto;
}
.copyright{
	width: 100%;
	background-color: #3A3F43;
	color: #8B9398;
	text-align: center;
	font-size: 14px;
	padding: 3px 5px;
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

/*----------------------------  Mobile  --------------------------------*/
@media (max-width: 700px){
	nav {
	width: 12em;
	left: -12em;
	height: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	z-index: 100;
	transition: all .2s ease;
	}
	#nav-checkbox:checked ~ nav {
		left: 0;
	}
	.menu-button {
		position: absolute;
		background: url(../img/sandwich.svg) no-repeat;
		background-size: 34px;
		background-position: 95%;
		background-color: rgba(34,37,39, .8);
		padding: 10px 15px;
		width: 100%;
		top: 0;
		right: 0;
		color: #ECF3F8;
		font-size: 20px;
		text-indent: -9000px;
		overflow: hidden;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	.close-button img {
		width: 30px;
		margin: 15px;
		cursor: pointer;
	}
	.overlay {
		display: none;
		position: fixed;
		height: 100%;
		width: 100%;
		background: rgba(0,0,0, .0);
	}
	#nav-checkbox:checked ~ .overlay {
		display: block;
	}
	h3 {
		font-size: 1.3rem;
		line-height: 1.4rem;
		padding-top: 5%;
	}
	.description {
		padding-top: 0;
		top:50%;
	}
}
/*----------------------------  Tiny Mobile  --------------------------------*/
@media (max-width: 360px) {
	h3 {
		font-size: 1rem;
		line-height: 1rem;
		padding-top: 0;
	}
	.description {
		font-size: 0.9rem;
		line-height: 0.9rem;
		padding-top: 10%;
	}
}

/*----------------------------  Tablet  --------------------------------*/
@media (min-width: 701px) {
	body {
		font-size: 20px;
		line-height: 26px;
	}
	nav {
		text-align: right;
		width: 100%;
		overflow-y: auto;
		z-index: 100;
	}
	nav ul {
		max-width: 80%;
	}
	nav ul li {
		display: inline-block;
	}
	nav li a:hover{
	border-top: none;
	border-bottom: none;
	}
	header{
		height: 300px;
	}
	.slideshow {
		height: 300px;
	}
	article {
		margin-top: 25px;
	}
	h2 {
		font-size: 25px;
	}
	.container {
		max-width: 80%;
	}
	.title {
		width: 30%;
		top: -35px;
		left: 35%;
	}
	.menu-button, .close-button img {
			display: none;
		}

	.lois_logo {
		width: 300px;
		top: 140px;
		left: 10%;
	}
	.bio img {
		display: block;
		float: left;
		width: 200px;
		height: auto;
		margin: 0 20px 20px 0;
	}
	.button a {
		font-size: 19px;
		line-height: 22px;
		width: auto;
		left: 0;
	}
	.gallery a {
		width: 50%;
	}
	.description {
		opacity: 0;
		top: 60%;
		padding-top: 7%;
		-webkit-transition: all 200ms cubic-bezier(0.000, 0.000, 1.000, 1.000);
		transition: all 200ms cubic-bezier(0.000, 0.000, 1.000, 1.000);
	}
	.gallery a:hover .description {
		opacity: 1; 
		top: 60%;
		bottom: 0;
	}
	.footerMenu {
		float: left;
		height: 55px;
		padding: 15px 0px;
		margin-left:5%;
		margin-bottom: 0;
	}
	.footerMenu ul li {
		display: inline-block;
		text-align: left;
		margin-top: 0;
	}
	.footerMenu li a {
		text-align: center;
		text-decoration: none;
		font-size: 0.8rem;
		color: #ECF3F8;
		padding: 0px 10px;
		border-bottom: none;
		border-right: 1px solid #ECF3F8;
	}
	.footerMenu li:last-child a {
		border-right: none;
	}
	.footerMenu li a:hover{
		background-color: #222527;
		color: #9EABB5;
	}
	.footerMenu li .active{
		background-color: #222527;
		color: #9EABB5;
	}
	.social_logo {
		display: inline-block;
		width: 45%;
		margin-right: 5%;
		float: right;
	}
	.social {
		display: block;
		float: left;
		left: 0;
		margin:5px;
	}
	.footer_logo {
		left: 10px;
		
	}
	.footer_logo img{
		float: right;
		width: 65%;
		max-width: 220px;
		margin: 5px 0;
	}
	.copyright {
		display: block;
		clear: both;
	}

}

/*----------------------------  Desktop  --------------------------------*/

@media (min-width: 1024px) {
	body {
		font-size: 22px;
		line-height: 30px;
	}
	header {
		height: 460px;
	}
	.slideshow {
		height: 460px;
	}
	nav ul li {
		display: inline-block;
	}
	nav li a {
		font-size: 18px;
		padding: 20px 35px;
	}
	.lois_logo {
		width: 540px;
		top: 200px;
	}
	article {
		margin-top: 35px;
	}
	h2 {
		font-size: 32px;
	}
	h3 {
		font-size: 24px;
	}
	.title {
		width: 20%;
		top: -45px;
		left: 40%;
	}
	
	.bio img {
		width: 260px;
		height: auto;
		margin-right: 25px;
		margin-bottom: 25px;
	}
	.gallery a {
		width: 25%;
	}
	.description {
		top: 55%;
		padding: 12px 5px;
		font-size: 1.2rem;
	}
	.gallery a:hover .description {
		top:55%;
	}
	.footerMenu {
		width: 35%;
	}
	.footerMenu li a {
		font-size: 0.9rem;
	}
	.social_logo {
		float: left;
		width: 29%;
		margin-right: 0;
	}
	.footer_logo img{
		float: left;
		max-width: 250px;
	}
	.copyright {
		width: 22%;
		clear: none;
		float: right;
		margin-right: 5%;
		background-color: #222527;
		padding-top: 10px;
		text-align: right;
	}


}

/* High Resolution Styles */
@media print, (-webkit-min-device-pixel-ratio: 1.25),
	          (min-resolution: 1.25dppx),
	          (min-resolution: 120dpi) {
	/* Styles for high resolution devices go here */
}