/* =============================================================================
   JasonWeaver.name 2012
   Copyright Jason Weaver
   ========================================================================== */

/* Layout */

#archive-page .container, #archive-post .container {
	padding: 0;	
}

.container { width: 100%;overflow: hidden;}
clearfix:after { /* clearfix */
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
[role="main"]:before,
[role="main"]:after {
	content: " ";

	z-index: -1;

	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.3);	
}
[role="main"]:after {
	left: 100%;
	background: rgba(0,0,0,.15);	
}
[role="navigation"],
[role="main"],
[role="complementary"] {
	-webkit-transition: .2s all ease;
	-moz-transition: .2s all ease;
	-o-transition: .2s all ease;		
	-ms-transition: .2s all ease;
	transition: .2s all ease;		
	display: block;	
	position: relative;
}
.js [role="navigation"] {	
	margin-left: -100%;
	float: left;
	padding-bottom: 25em;
	z-index: 2;
}

.js #wpadminbar [role="navigation"] {
	margin-left: 0 !important;
	float: none  !important;
}

.js [role="main"] {
	margin-left: 0;
	z-index: 1;
	position: relative;
}
.js [role="complementary"] {	
	margin-right: -200%;
	float: left;
}	
.active-nav [role="navigation"] {
	width: 85%;
	margin-left: 0;
	margin-right: 40px;
	text-align: center;
}
.active-nav [role="main"]{
	margin-right: -100%;
}
.active-nav [role="complementary"] {	
	margin-right: -100%;
	float: right;		
}
.active-sidebar [role="navigation"] {	
	margin-left: -200%;
}
.active-sidebar [role="main"] {
	margin-left: -95%;	
}
.active-sidebar [role="complementary"] {	
	margin-left: 40px;
	width: 80%;	
}
.active-nav [role="main"] {
	-webkit-transition: .1s all ease;
	-moz-transition: .1s all ease;
	-o-transition: .1s all ease;		
	-ms-transition: .1s all ease;
	transition: .1s all ease;	
}

#sidebar {
	width: 80%;
}

/* Off Canvas Navigation */
.off-canvas-navigation {
	width: 100%;
	overflow: hidden;
	display: none;
	color: #fff;
}
.off-canvas-navigation ul li {
	width: 20%;
	display: block;
	float: left;
}
.menu-button:hover, .sidebar-button:hover {
	cursor: pointer;
}
.off-canvas-navigation ul li.sidebar-item {
	float: right;
}
.menu-button,
.sidebar-button {
	padding: 1em 20%;
	font-size: 14px;
	display: block;
	background: #333;
	background: rgba(0,0,0,.3);
	color: #fff;
	border-top-right-radius: 1em;
}
.menu-button.active-button,
.sidebar-button.active-button {
}
a.menu-button:hover,
a.sidebar-button:hover {
	text-decoration: none;	
	background: rgba(0,0,0,.35);
	color: #ddd;
}
.sidebar-button {
	text-align: right;	
	border-top-left-radius: 1em;
	border-top-right-radius: 0;	
	background: rgba(0,0,0,.15);				
}	


/* Site Menu */
#menu-main-menu {
	
}
#menu, #sidebar {
	display: none;	
}
[role="navigation"] li, #sidebar li  {
	list-style: none;
	font-size: 18px;
	margin-bottom: .5em;
}
[role="navigation"] li a, #sidebar li a {
	display: block;
	background: rgba(0,0,0,.1);
	padding: .8em;
	border-radius: 4px;
}
[role="navigation"] li a:hover,
[role="navigation"] li a:active,
[role="navigation"] li a:focus {
	text-decoration: none;
	color: #F93 !important;
}
[role="navigation"] li.current a {
	background: rgba(0,0,0,.2);
	color: #fff;
}
.illustrations {
	margin: 3% auto;
	display: block;		
}
aside {
	margin-bottom: 15%;
}
aside li {
	list-style: none;
	margin: 0;
	display: block;	
}
aside li a {
	margin: 0;
	padding: .5em 0;
	display: block;	
	border-bottom: 1px solid rgba(255,255,255,.2);
}
.menu-main-menu-container ul li a {
	color: #fff !important;
	font-size: 18px !important;
}


@media only screen and (max-width: 767px) {
	html {
		overflow-x: hidden !important;	
	}
	.js [role="main"] {
		float: left;
		max-width: 100%;	
		min-width: 100%;
	}
	.post-content {
		padding: 20px;
		max-width: 85%;
		margin: 0 auto !important;
		float: none !important;
		clear: both;
		display: block;
	}
	.off-canvas-navigation, #menu, #sidebar {
		display: block;
		text-align: center;
	}
	.off-canvas-navigation {
    	margin-top: 30px;
	}
	.off-canvas-navigation ul {
		padding-left: 0;
		padding-right: 0;	
	}
	#post-list {
		margin-top: 0 !important;
	}
	.main-content .container {
		padding: 0;
	}
	.post-container {
		padding: 35px 0 20px;	
	}
	.post-content {
		padding: 30px 20px 10px;
		margin: 0 auto !important;
		display: block !important;
		max-width: 80%;
	}
	.mobile-post-title-1 {
		width: initial !important;	
	}
	.menu-button,.sidebar-button {
		text-align: center !important;
		padding: 1em 0;
	}
}

@media only screen and (max-width: 640px) {
	.post-content {
		max-width: 100%;
	}
}

@media only screen and (max-width: 480px) {
	.mobile-post-title-1 {
		width: 100% !important;
		display: block;
		vertical-align: top;
		float: none;
		text-align: center;
		margin: 0 auto 15px;
	}
	.mobile-post-title-1 h3 span {
		display: block;
	}	
	.off-canvas-navigation ul li {
		width: 25%;
	}
	.off-canvas-navigation {
    	margin-top: 15px;
	}
}

@media only screen and (max-width: 450px) {
	.off-canvas-navigation ul li {
		width: 30%;
	}
	p.self-help {
		font-size: 16px !important;
	}
	.active-sidebar [role="complementary"] {
		margin-left: 30px;
	}
	
	#archive-page .container, #archive-post .container, .main-content .container {
		padding: 0 15px;	
	}
	.post-container {
		padding: 0 0px 20px;
	}
}
