@media only screen and (max-width: 800px) {

body{margin:0 auto;
	box-sizing: border-box;
	overflow-x: hidden;}

header{
    background: #dbdbd2;
	width: 100%;
	height: 50px;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	text-align: left;
	color:  #163037;}

.site-title{
	position: absolute;
	top: -15px;
	right: -10px;
	text-align: center;
    font: 22px 'Amiri', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
	border: 0;}
    
.site-description {
	display: none;}
	
nav {
    text-align: center;
	display: block;
    top: 0;
    font: lighter 10px 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3.5px;
	padding: 15px 0px 0px 0px;}

nav ul.active{
	visibility: hidden;
	display: block;}

nav ul {
	position: absolute;
	display: block !important;
	left: 20px;
	top: 37px;
	padding: 4px 15px;
	text-align: left;
	line-height: 2.5;
    background: #dbdbd2;
	border-bottom: 3px solid #6f959e;
	border-left: 3px solid #6f959e;
	border-right: 3px solid #6f959e;}

nav ul li, nav ul li.explore{
	list-type: none;
	display: block;
	position: relative;
	padding: 0px 10px;}

nav ul ul{
	display: none; 
	position: absolute;
	top: 100%;
	right: 0;
	height: auto;
	text-align: right;
    background: #dbdbd2;
	border: 0;}

nav li:hover > ul{
	visibility: visible;
	float: none;
	top:0;
	right: 0;
	padding:0;
	display: block;
	position: relative;
    background: #dbdbd2;}

nav ul li:hover { background: inherit; text-align: left;}  
nav ul li:hover ul { display: block; text-align: left;} 

.toggle-nav {
	padding: 30px -10px 25px 0px;
	display: inline-block;
	color:  #163037;
	font: lighter 14px 'Montserrat', sans-serif;
	left: 0;
	float: left;
	position: absolute;}

.toggle-nav:hover, .toggle-nav.active {
	text-decoration: none;
	color: #ffffff;}	

.sidenav{
	display: none;}

header .openbutton{
	display: none;}
	
.grid{
	display: grid;
	box-sizing: border-box;
	width: 100%;
	margin-top: 10px;
	grid-template-columns: 1fr;
	grid-template-areas: 
		'main' 
		'aside';}

main{
	grid-area: main;
	width: 100%;}
	
.page, .post{
	padding: 30px;
	margin-top: 24px;
	background: #ffffff;
	width: 100%;
	border-radius: 3px;}
	
.page h1{
	font-size: 28px;
	letter-spacing: 2px;
	font-weight: 100;
	padding: 10px 0;
	text-align: center;
	color: #191e1f;
	text-transform: uppercase;}

.page h1 ::after{
	border-bottom: 1px solid #4d6c73;
	content: "";
	display: block;
	margin: 0 auto 10px;
	padding-bottom: 20px;
	width: 30%;}

.page h2{
	font-size: 18px;
	letter-spacing: 2px;
	font-weight: 100;
	text-align: left;
	color: #191e1f;
	margin-top: -20px;
	text-transform: uppercase;}

.page h3{
	letter-spacing: 2px;
	font: normal 10px 'Roboto', sans-seirf;
	text-align: left;
	text-transform: uppercase;}
		
section{
	background: #ffffff;
	display: grid;
	width: 100%;
	grid-template-columns: 1fr;

	grid-template-areas: 
	"featureimg"
	"article";}
	
.featureimg{
	grid-area: featureimg;
	margin: 0 auto;
	padding: 0 auto;}
	
article{
	grid-area: article;}
	
article h1{
	letter-spacing: 2px;
	margin-bottom: 16px;
	font: normal 10px 'Roboto', sans-seirf;
	text-align: center;
	text-transform: uppercase;}
	
article h1 a{
	color: #191e1f;
	text-decoration: none;}
	
article h1 a:hover{
	color: #c2b490;}
	
article h2{
	font-family: 'Amiri', serif;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 1.2;
	margin: -10px 0 30px;
	text-align: center;
	text-transform: uppercase;}
	
article h2 a{
	color: #191e1f;
	text-decoration: none;}

article h2 a:hover{
	color: #c2b490;
	text-decoration: none;}
	
/* ---- Main Sidebar----*/	

aside{
	grid-area: aside;}
	
aside h1{
	font-size: 12px;
	letter-spacing: 2px;
	margin-bottom: 20px;
	font-weight: 100;
	padding: 10px 0;
	text-align: center;
	text-transform: uppercase;}
	
aside h1 ::after {
	border-bottom: 1px solid #475254;
	content: "";
	display: block;
	margin: 0 auto 10px;
	padding-bottom: 20px;
	width: 30%;}
	
aside .inside{
	background: #ffffff;
	padding: 25px;
	margin: 20px 0px;}

aside img.about_widget_img{
	width: auto;
	height: auto;
	margin: 0 auto;}
	
.pagenav a{
	color: #343e40;
	text-decoration: none;
	background: #fff;
	text-align: center;
	border: 1px solid #343e40;
	padding: 5px 10px;
	margin: 0px 3px;
	border-radius: 3px;}

.pagenav a:hover{
	color: #fff;
	background: #c2b490;
	text-decoration: none;
	border: 1px solid #c2b490;
	padding: 5px 10px;
	margin: 0px 3px;
	border-radius: 3px;}
	
	
footer{
    bottom: 0;
	display: block;	
	height: 100px;
	width: 100% !important;
	font: lighter 8px 'Montserrat', sans-serif !important;
	text-transform: uppercase;
	text-align: center !important;
	letter-spacing: 2px;
	clear: both;
	margin: 0;
	padding: 20px 0px;
    background: #dbdbd2;
    border-top: 3px solid #6f959e;}
	
footer a {	
	cursor: pointer; 
	color: #343e40;	
	text-decoration: none;}

footer a:hover{
	cursor: pointer;
	color: #6f959e;}
	
footer .social{
	display: block;
	color: #3c4b5d;
	text-transform: uppercase;
	text-align: center !important;
	padding: 5px 5px;
    text-align: center;
    float: none;
    margin: 0 auto;}

footer .links{
	display: block;
	color: #3c4b5d;
	text-transform: uppercase;
	text-align: center !important;
	padding: 5px 0px;
    text-align: center;
    float: none;
    margin: 0 auto;}

footer .credits{
	display: block;
	color: #3c4b5d;
	padding: 5px 0px 0px 0;
	margin-right: -15px;
	text-transform: uppercase;
	text-align: center !important;
    float: none;
    margin: 0 auto;}
}
