html {
	  -webkit-text-size-adjust: 100%;
}

/*---RETINA GRAPHICS---*/

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {


}

/*---RESPONSIVE QUERIES---*/

@media ( max-width : 1160px ) {
	
	.homepage-featured .item p.more a {
			font-size: 28px;
			font-size: 2.75vw;
		}
		
	.footer-subscribe .wrap {
		padding: 0 25px
	}
	.footer-subscribe .subscribe .email-form {
		width: -moz-calc(100% - 340px);
		width: -webkit-calc(100% - 340px);
		width: calc(100% - 340px);
	}
	
}

@media ( max-width : 975px ) {
	#main {
		letter-spacing: .1em;
		font-size: 18px;
	}
	
	#main li {
		margin: 0;
	}

}
@media ( max-width : 925px ) {
	#main {
		letter-spacing: .1em;
		font-size: 15px;
		font-size: 1.7vw
	}
	
	#main li {
		margin: 0;
	}

}
@media ( max-width : 875px ) {
	.homepage-subscribe {
		padding: 0
	}
	.homepage-subscribe .subscribe  {
		margin: 0 auto;
		padding: 20px
	}
	.homepage-subscribe .subscribe h3.widget-title {
		display: block;
		float: none;
		width: 100%;
		padding: 0;
		text-align: center;
	}
		.footer-subscribe .subscribe h3.widget-title {
			text-align: left
		}
	.homepage-subscribe .subscribe .email-form {
		display: block;
		float: none;
		width: 100%;
		text-align: center;
		margin: 15px auto 0;
	}
		.footer-subscribe .subscribe .email-form {
			width: -moz-calc(100% - 320px);
			width: -webkit-calc(100% - 320px);
			width: calc(100% - 320px);
			margin: 0;
			float: left;
		}
}
@media ( max-width : 799px ) {
	body {
		border: none;
	}
	
	.wrapper, .wrap {
		padding: 0 20px;
	}
	.span_content, .span_content_full {
		float: none;
		width: 100%;
		max-width: 100%; 
		margin: 0 auto;
	}
	
	.span_content {
		max-width: 700px;
	}
	.span_content_full {
		max-width: 100%; 
	}	
	
	.span_sidebar {
		clear: both;
		width: 100%;
		float: none;
		margin: 50px auto 0;
		padding-top: 40px;
	}

	.top-bar, .header-search, .header-social, #main {
		display: none !important;
	}
	
	.header {
		padding-top: 50px;
		border: none;
	}
		body.home .header {
			padding-top: 60px;
		}
		
		body.home.paged .header {
			
		}
	.header .logo {
		display: none
	}
	

	.topsidebar, .midsidebar, .lowersidebar {
		float: none;
		margin: 0 auto;
		padding: 0;
		width: 100%;
		max-width: 340px;
	}

	.footer-nav {
		float: none;
		width: 100%;
		text-align: center;
		margin-bottom: 30px;
		font-size: 130%;
	}
		.footer-nav a {
			padding: 5px;
			display: inline-block
		}
	.copyright {
		float: none;
		width: 100%;
		text-align: center;
		margin-bottom: 30px
	}
	.sub-footer {
		padding: 25px 0
	}
	


	
}
@media ( max-width : 775px ) {
	
		.footer-subscribe .subscribe {
			padding: 20px 0
		}
		.footer-subscribe .subscribe:before {
			width: 180px;
			height: 180px;
			margin: 0 20px 0 0;
		}
	
		.footer-subscribe .subscribe .email-form {
			width: -moz-calc(100% - 180px);
			width: -webkit-calc(100% - 180px);
			width: calc(100% - 180px);
			margin: 0;
			float: left;
		}


}
@media ( max-width : 600px ) {
	

	.homepage-subscribe {
		margin-bottom: 30px
	}
	
	.footer-subscribe .subscribe {
			padding-bottom: 30px;
		}
		.footer-subscribe .subscribe h3.widget-title {
			font-size: 7.5vw;
			line-height: 1;
			margin: 25px 0 0;
			white-space: normal;
		}
		.footer-subscribe .subscribe:before {
			width: 160px;
			height: 160px;
			margin: 0 20px 0 -30px;
		}
	
		.footer-subscribe .subscribe .email-form {
			width: 100%;
			margin: 0;
			float: none;
		}
	
	.homepage-featured .item {
		width: 48%;
		margin-right: 4%;
		margin-bottom: 4%
	}
		.homepage-featured .item:nth-child(2n) {
			margin-right: 0
		}
		
	.homepage-featured .item p.more a {
		font-size: 28px;
		font-size: 5vw;
		font-weight: 500;
	}
	
			
	.home-section .wrap .item {
		overflow: hidden;
		text-align: center;
		width: 48%;
		margin: 0 4% 4% 0;
		float: left;
	}
	
		.home-section .wrap .item:nth-child(2n) {
			margin-right: 0;
		}
		
		.home-section .wrap .item:nth-child(5n) {
			display: none
		}
.home-section.fivecolumns {
	margin-left: 0;
	margin-right: 0;
}
	.home-section.fivecolumns .wrap .item {
		overflow: hidden;
		text-align: center;
		width: 30%;
		margin: 0 5% 2% 0 !important;
		float: left;
		clear: none !important;
		display: block !important;
	}
	
		.home-section.fivecolumns .wrap .item:nth-child(3n) {
			margin-right: 0 !important;
		}
		.home-section.fivecolumns .wrap .item:nth-child(3n+1) {
			clear: left !important;
		}
		.post-content .widget-shortcode {
		padding: 20px 20px 25px;
	}
	
	.home-section.fivecolumns .more {
		width: 100% !important;
		clear: both;
		float: none;
		padding-top: 30px
	}
}

@media ( max-width : 500px ) {
		
	.bigboard-header .span_sidebar {
		margin: -150px auto 40px;
		max-width: 320px;
		text-align: center;
	}
		.bigboard-header .span_sidebar img {
			width: 80% !important;
			max-width: 260px !important;
			margin: 0 auto
		}
		.bigboard-header .span_sidebar p.simple-image {
			margin-bottom: 50px;
			position: relative;
		}
		.bigboard-header .span_sidebar p.simple-image:after {
			content: "";
			display: block;
			width: 117px;
			height: 108px;
			background: url(images/big-board-arrow2.png) no-repeat;
			background-size: 100% auto;
			position: absolute;
			left: 0px;
			top: auto;
			bottom: -30px;
		}
	.bigboard-header .span_sidebar h3 {
		top: 95px;
		font-size: 20px;
		font-size: 4.75vw;
		padding: 0 55px
	}

	

}

@media ( max-width : 425px ) {
	.bigboard-header .span_sidebar h3 {
		top: 95px;
		font-size: 20px;
		font-size: 5.5vw;
		padding: 0 55px
	}
	.homepage-subscribe .subscribe h3.widget-title {
		font-size: 7.5vw;
	}
	
	.teaser-post {
		width: 100% !important;
		margin: 0 0 50px 0;
		float: none;
	}
	.archives .archive-post {
		width: 48%;
		float: left;	
		clear: none !important;
		margin-right: 4% !important;
		margin-bottom: 15px;
		text-align: center;
	}
	/*.archive-post:nth-of-type(2n) {
		margin-right: 0 !important;
	}
	.archive-post:nth-child(2n+1) {
		clear: both !important;
	}*/
	/* mediavine fix for inserted content hints, see archive.php */
	.archive-post.mobile-last {
		margin-right: 0 !important;
	}
	.archive-post.mobile-first {
		clear: both !important;
	}

	.archiveslist {
	    overflow: hidden;
	    -moz-column-count: 2;
	    -moz-column-gap: 10px;
	    -webkit-column-count: 2;
	    -webkit-column-gap: 10px;
	    column-count: 2;
	}

}

@media ( max-width : 375px ) {
	
	.homepage-subscribe .subscribe, .homepage-subscribe {
		height: auto;
		overflow: visible
	}
	.homepage-subscribe .subscribe .email-form {
		height: auto;
		overflow: hidden;
		white-space: normal;
	}
	.homepage-subscribe .subscribe .email-input {
		width: 100%;
		float: none;
	}

	.homepage-subscribe .subscribe .email-submit {
		border: none;
		width: 100%;
		float: none;
		margin-top: 10px;
		clear: both
	}

}