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) {
	.header .logo a {
	    background: url(../png/logo%402x.png) no-repeat;
	    background-size: 100% auto;
	}

}

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

@media ( max-width : 1040px ) {
	#main {
		width: width: -moz-calc(100% - 390px);
		width: -webkit-calc(100% - 390px);
		width: calc(100% - 390px);
		letter-spacing: .05em;
		font-size: 15px;
	}

	#main li {
		margin: 0 -2px;
	}
	
	#main li.menu-item a {
		padding: 0 11px;
	}
	
}
@media ( max-width : 980px ) {
	#main {
		width:100%;
		text-align: center;
		clear: both;
		letter-spacing: .05em;
		font-size: 15px;
		margin: -30px 0 0;
	}
	
}


@media ( max-width : 800px ) {
	body {
		margin: 0;
		border: none;
	}
	.span_content, .span_content_full {
		float: none;
		width: 100%;
		max-width: 660px;
		margin: 0 auto }
		
	.span_sidebar {
		clear: both;
		width: 100%;
		float: none;
		margin: 50px auto 0;
		border-top: 1px solid #EFEFEE;
		padding-top: 40px;
	}

	#main, .top-bar, #top, .top-bar {
		display: none !important;
	}

	.header {
		padding: 60px 0 0;
		border: none;
		text-align: center;
		margin: 0;
	}
		body.admin-bar .header {
			padding: 60px 0 0;
		}
	.header .logo {
		display: none
	}

	.header-search, .header .social {
		display: none
	}

	.topsidebar, .midsidebar, .lowersidebar {
		float: none;
		margin: 0 auto;
		padding: 0;
		width: 100%;
		max-width: 340px;
	}
	
	.sub-footer {
	
	}
	.copyright {
	    width: 100%;
	    float: none;
	    text-align: center;
	    line-height: 1.5;
		margin-top: 25px;
	}
	.footer-nav {
	    width: 100%;
	    font-size: 13px;
	    float: none;
	    text-align: center;
	    line-height: 1.7;
	}
	.footer-nav a {
		padding: 5px 5px;
		display: inline-block;
	}
	.footer-nav li.top {
		display: block;
		float: none;
	}
	
	.footer .subscribe .email-form {
		width: 100%;
		float: none;
		margin: 15px auto 0;
		max-width: 450px;
	}

	.footer .subscribe {
		padding: 35px 15px 25px;
	}
	.footer .subscribe .title {
	 	margin: 0 auto 25px;
		float: none;
	}
	.footer .subscribe {
		display: none
	}
	.home-featured {
		margin-bottom: 25px;
		padding-top: 20px;
		padding-bottom: 12px;
	}
	.home-featured .item h3 {
		font-size: 12px;
		font-size: 2vw;
		padding: 3px 8px 4px;
	}

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

	

}


@media ( max-width : 600px ) {
	
	body.admin-bar .header {
			padding: 10px 0 0;
		}
		
	.homepage-featured .item {
		width: 31%;
		margin-right: 3.5%;
	}
	
		.homepage-featured .item:nth-child(4n) {
			display: none
		}
		.homepage-featured .item:nth-child(3n) {
			margin-right: 0;
		}
	.homepage-featured a h2 {
		font-size: 16px;
		line-height: 1
	}

	.homepage-featured a h2 .valign {
		padding: 15px;
	}
}

@media ( max-width : 525px ) {
	
	
}
@media ( max-width : 450px ) {
	
}
@media ( max-width : 425px ) {	
		
	
}
@media ( max-width : 400px ) {
	
	
	.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;
	}
	
	.related .archive-post:nth-child(3) {
		display: none;
	}
	.archiveslist {
	    overflow: hidden;
	    -moz-column-count: 2;
	    -moz-column-gap: 10px;
	    -webkit-column-count: 2;
	    -webkit-column-gap: 10px;
	    column-count: 2;
	    
	}

	
}