@import url('https://web.archive.org/web/20180829124940cs_/https://fonts.googleapis.com/css?family=Lato|Playfair+Display');

@media (min-width: 48em) {
	html {
		font-size: 18px;
		height:100%;
	}
}
* {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}
body {
	background: #F5F5F5;
	color: #67727A;
	font-family: 'Alegreya', sans-serif;
	margin: 0;
	height: 100%;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #494949;
}
p {
	font-family: 'Lato', sans-serif;
	color: #494949;
}
img {
	max-width: 100%;
	height: auto;
	width: auto;
	margin-bottom: -4px;
}
.header {
	height: 50px;
	overflow: hidden;
	width:100%
	background-color: #F5F5F5;
	margin: 0 auto;
}
.content {
	position: absolute;
	top: 50px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	overflow-y:scroll;
	background-color: #E5E5E5;
	min-height: -webkit-calc(100% - 50px);     /* Chrome */
    min-height: -moz-calc(100% - 50px);     /* Firefox */
    min-height: calc(100% - 50px);     /* native */
}

#logo {
	float: left;
	margin: 0;
	padding: 5px 0 0 10px;
	width: 60px;
	height: 60px;
	background: url(../img/logo_full.png) no-repeat center;
}
/*-- Start Navigation --*/

#nav {
	float:left;
	padding: 5px 0 0 5px;
}
#menu-icon {
	display: hidden;
	width: 40px;
	height: 40px;
	background: url(../img/nav_mobile.png) center;
}
a:hover#menu-icon {
	border-radius: 4px 4px 0 0;
}
ul {
	list-style-type: none;
}
nav ul li {
	font-family: 'Alegreya', sans-serif;
	font-size: 115%;
	display: inline-block;
	float: left;
	padding: 10px;
}
nav ul li a {
	color: #494949;
	text-decoration: none;
}
nav ul li a:hover {
	color: #9F9F9F;
}
.current {
	color: #9F9F9F;
	text-decoration: none;
}
/*--End of Navigation Style--*/
/*--Start of Search Bar--*/
#search-form {
	float: right;
}
.header input[type=text] {
	padding: 6px;
	margin-top: 8px;
	font-size: 17px;
	border: none;
	background-color: #D5D5D5;
}
#search-form button {
	float: right;
	padding: 6px 10px;
	margin-top: 8px;
	margin-right: 16px;
	background: #9F9F9F;
	font-size: 17px;
	border: none;
	cursor: pointer;
}
#search-form button:hover{
	background: #494949;
}
.banner {
	width: 100%;
	height: 0;
	padding-top: 12.4%;
	margin: 0 auto;
	background-color: #D2D2D2;
	background: url(../img/banner_slim.png);
	background-size: contain;
}
.blog-posts {
	float: left;
	width: 100%;
	background-color: #E5E5E5;
}
article {
	float: left;
	margin: 0 auto;
	width: 50%;
	height: auto;
}

aside {
	float: right;
	margin: 0 auto;
	width: 50%;
	height: auto;
}
/*
 * Blog posts
 */
.blog-post {
	margin-bottom: 4rem;
	padding: 0 5% 0 5%;
}
.blog-posts a {
	color: #ED5F64;
	text-decoration: none;
}
.blog-posts a:hover {
	color: #653032 !important;
	text-decoration: none;
}
.blog-posts a:visited {
	color: #B2B2B2;
	text-decoration: none;
}
.blog-posts p {
	font-size: 1rem;
	padding: 0 5% 0 2%;
	margin-bottom: 1rem;
	margin-right: 2rem;
	text-align: justify;
}
.blog-post-title {
	margin-bottom: .25rem;
	font-size: 2.5rem;
}
.blog-post-meta {
	margin-bottom: 1.25rem;
	color: #656565;
}
.search-result {
	font-size: 1rem;
	padding: 0 5% 0 5%;
	margin-bottom: 1rem;
	margin-right: 2rem;
	text-align: justify;
}
.search-result-header {
	padding: 0% 5% 0 5%;
	margin-bottom: 1rem;
	margin-right: 2rem;
	font-size: 1.5rem;
	text-align: justify;
}
.search-title {
	margin-bottom: .05rem;
	font-size: 1.25rem;
}
.search-descrip {
	margin-bottom: .05rem;
	padding-left: 20px;
	font-size: 1.05rem;
	color: #656565;
}
.search-meta {
	margin-bottom: 1.25rem;
	padding-left: 20px;
	color: #656565;
}
.search-error {
	padding: 0% 5% 10% 5%;
	margin-bottom: 1.25rem;
	padding-left: 20px;
	color: #ED5F64;
}
.comment {
	margin: 10px;
}

.comment img {
	margin: 0px;
	float: left;
}

/*--Footer Starting--*/
footer {
	width: 100%;
	max-height: 50px;
	margin: 0 0 0 0;
}
.social {
	list-style-type: none;
	text-align: center;
}
.social li {
	display: inline;
}
.social i {
	font-size: 200%;
	margin: 1%;
	padding: 0 5% 0 4%;
	color: #9F9F9F;
}
.social i:hover {
	color: #494949;
}
footer p {
	padding: 0px 0 3px 0;
	text-align: center;
	color: #9F9F9F;
	font-size: 0.75rem;
}

/*--MEDIA QUERIES--*/
@media screen and (max-width: 768px) {
	h2 {
		font-size: 150%;
	}
	h3 {
		font-size: 125%;
	}
	p {
		font-size: 120%;
	}
	header {
		position: absolute;
		background-color: #E5E5E5;
	}
	#logo {
		margin: 10px 5px 0px 5px;
		width: 30px;
		height: 30px;
	}
	#menu-icon {
		display: inline-block;
	}
	nav ul, nav:active ul {
		display: none;
		z-index: 1000;
		position: absolute;
		padding: 5px;
		background: #F5F5F5;
		left:  40px;
		top: 40px;
		border: 1px solid #FFF;
		border-radius: 2px 0 2px 2px;
		width: 30%;
	}
	nav:hover ul {
		display: block;
	}
	nav li {
		text-align: center;
		width: 100%;
		padding: 10px 0;
	}
	.header input[type=text] {
		width:35%;
		float: right;
		margin-right: 4px;
	}
	#search-form button {
		float: right;
		padding: 6px 10px;
		margin-top: 8px;
		margin-right: 0px;
		background: #9F9F9F;
		font-size: 17px;
		border: none;
		cursor: pointer;
	}
	.banner {
		padding-top: 50px;
	}
	article {
		width: 100%
	}
	aside {
		width: 100%;
	}
	.one-third {
		width: 100%;
	}
	.social i {
		font-size: 180%;
	}
}