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 : 1100px ) {
	.home-section.course blockquote {
		margin-top: -5%;
	}
}

@media ( max-width : 1025px ) {
	#main {
		font-size: 20px;
		width: -moz-calc(100% - 340px);
		width: -webkit-calc(100% - 340px);
		width: calc(100% - 340px);
		margin-top: 72px;
		margin-right: -15px
	}
	
	#main li {
		margin: 0 -3px;
	}
	
	#main li a {
		padding: 0 13px;
	}
	
	
}

@media ( max-width : 890px ) {
	.header .logo {
		margin: 34px 0;
		width: 250px;
	}
	#main {
		font-size: 18px;
		width: -moz-calc(100% - 250px);
		width: -webkit-calc(100% - 250px);
		width: calc(100% - 250px);
		margin-top: 52px;
		margin-right: -15px
	}
	.home-section.course {
		overflow: visible;
	}
	.home-section.course h3, .page-id-8918 h1 {
		font-size: 70px;
	}
		.home-section.book h3 {
			padding-top: 0
		}
	.home-section.course h3 em, .page-id-8918 h1 em  {
		left: 41px;
		top: -22px;
	}
	.home-section.course img {
		margin: 40px -80px 0 -20px;
	}
		.home-section.book img {
			margin: 0 0 0 25px;
			width: 30%;
		}
	.home-section.course blockquote {
		margin-top: -10%;
	}

}

@media ( max-width : 850px ) {
	.featured-subscribe {
		padding: 30px 0 40px;
		margin-bottom: 60px;
	}
	.featured-subscribe .subscribe h3 {
		width: 100%;
		margin: 0px auto;
		text-align: center;
		float: none;
	}
	.featured-subscribe .subscribe .email-form {
		width: 100%;
		float: none;
	}
	.home-section.course {
		margin-top: 160px;
	}
		.home-section.book {
			margin-top: 180px;
		}
		.home-section.course .wrap {
			padding: 25px;
		}
	.home-section.course img {
		width: 100%;
		height: auto;
		float: none;
		margin: -120px auto 20px;
		max-width: 668px;
	}
		.home-section.book img {
			max-width: 500px;
			height: auto;
			margin-top: -150px;
		}
	.home-section.course h3, .home-section.course h4, .home-section.course p, .home-section.course ul, .home-section.course blockquote, .home-section.course .more {
		max-width: 500px;
		margin-left: auto !important;
		margin-right: auto !important;
	}
		.home-section.book h3, .home-section.book p, .home-section.book .more {
			text-align: center !important;
		}
	.home-section.course blockquote {
		float: none;
		margin-top: 30px;
		width: 100%;
	}
}
@media ( max-width : 799px ) {
		
	#main, .top-bar, .header-search, .header .social {
		display: none;
	}
	
	.header .logo {
		float: none;
		margin: 25px auto;
	}

	.header {
		padding-top: 50px
	}

	
	.span_content, .span_content_full {
		float: none;
		width: 100%;
		max-width: 100%; 
		margin: 0 auto;
	}
	
	.span_content {
		max-width: 680px;
	}
	.span_content_full {
		max-width: 100%; 
	}	
	
	.span_sidebar {
		clear: both;
		width: 100%;
		float: none;
		margin: 30px auto 0;
	}


	.topsidebar, .midsidebar, .lowersidebar {
		float: none;
		margin: 0 auto;
		padding: 0;
		width: 100%;
		max-width: 340px;
	}
	.sub-footer .footer-nav {
		display: block;
		width: 100%;
		float: none;
		text-align: center;
		font-size: 120%;
	}

	.sub-footer .copyright {
		display: block;
		width: 100%;
		float: none;
		text-align: center;
		margin-top: 25px
	}

	.home-section.about .wrap {
		padding: 0 40px 0 0;
	}
	.home-section.icons {
		margin-bottom: 100px;
	}
		.home-section.icons:before {
			top: 20%;
		}

	.home-section.icons a {
		padding: 0 10px;
		font-size: 80%
	}
	.home-section.icons a h2 {
		margin: 20px 0 10px;
		font-size: 30px
	}

	
}

@media ( max-width : 725px ) {
	.homepage-featured .widget {
		padding: 20px 20px 20px;
	}
	.homepage-featured h1 {
		font-size: 50px;
		font-size: 7vw;
	}
	.homepage-featured h2 {
		margin: 0;
		color: #ED823F;
		width: 100%;
		height: 0;
		padding-bottom: 21%;
		background: url(images/homepage-featured-h2.png) no-repeat;
		background-size: 100% auto;
		text-indent: -9999px;
		position: relative;
		z-index: 101;
	}
	.homepage-featured p {
		letter-spacing: .1em;
		font-size: 12px;
		line-height: 1.2;
		margin: 5px 0;
	}
	
	.homepage-featured img.alignleft {
		width: 125px;
		margin: -30px 0px 0 0;
	}
	
	.home-section.recentposts .item, .home-section.featuredposts .item {
		overflow: hidden;
		text-align: center;
		width: 48%;
		margin: 0 4% 25px 0;
		float: left;
	}
	
		.home-section.recentposts .item:nth-child(2n), .home-section.featuredposts .item:nth-child(2n) {
			margin-right: 0;
		}
		.home-section.recentposts .item:nth-child(2n+1), .home-section.featuredposts .item:nth-child(2n+1) {
			clear: left;
		}
	
}

@media ( max-width : 700px ) {
	.home-section.about {
		margin-top: 100px
	}
	.home-section.about .wrap {
		padding: 0 20px;
	}
	.home-section.about .caption {
		float: none;
		width: 100%;
		position: relative;
		right: 0;
		
		-webkit-transform: translate(0%,0%);
		-ms-transform: translate(0%,0%);
		transform: translate(0%,0%);
	}
	.home-section.about img {
		float: none;
		width: 100%;
		height: auto;
		display: block;
		margin: 0 auto 25px;
	}
	.home-section.press-desktop {
		display: none
	}
	.home-section.press-mobile {
		display: block
	}
	.footer .ebook {
		padding: 40px 0
	}
	.footer .ebook h3 {
		font-size: 42px;
		margin: 15px 0 15px;
	}
	.footer .ebook img {
		width: 30%;
		margin-right: 25px;
	}
	
}
@media ( max-width : 650px ) {
	.home-section .item h2 {
		font-size: 30px
	}
	.home-section.widget_category-posts .item {
		overflow: hidden;
		text-align: center;
		width: 31%;
		margin: 0 3.5% 3% 0;
		float: left;
		clear: none;
	}
	
		.home-section.widget_category-posts .item:nth-child(3n) {
			margin-right: 0;
		}
		.home-section.widget_category-posts .item:nth-child(4) {
			display: none
		}
		
	.home-section.widget_category-posts .item h4 {
		font-size: 20px;
	}
	
	h3.divider {
		font-size: 30px
	}
}
@media ( max-width : 600px ) {
	.homepage-featured {
		text-align: center;
		background: url(images/featured-mobile.jpg) no-repeat;
		background-size: cover;
		padding: 50px
	}
	
	.homepage-featured .widget {
		padding: 20px 10px 20px;
	}
	.homepage-featured h1 {
		font-size: 30px;
		font-size: 8vw;
	}
	.homepage-featured p {
		letter-spacing: .1em;
		font-size: 11px;
		line-height: 1.2;
		margin: 5px 0 0;
	}
	
	.homepage-featured img.alignleft {
		width: 125px;
		margin: -30px 0px 0 -70px;
	}
	
}
@media ( max-width : 525px ) {
	.home-section.icons a h2 {
		margin: 20px 0 10px;
		font-size: 24px
	}
	
	.home-section.course h3, .page-id-8918 h1 {
		font-size: 40px;
		font-size: 15vw;
		text-align: center;
	}
		.home-section.book h3 {
			font-size: 40px;
			font-size: 12vw;
		}
		.home-section.book p {
			margin: 15px 0;
			line-height: 1.7 !important;
		}
	.home-section.course h3 em, .page-id-8918 h1 em {
		left: 0;
		top: -22px;
		width: 90%;
		height: 0;
		margin: 0 auto;
		padding-bottom: 17%;
	}
	.footer .ebook {
		padding: 20px 0 25px
	}
	.footer .ebook h3 {
		font-size: 36px;
		font-size: 7vw;
		margin: 5px 0 15px;
	}
	.footer .ebook img {
		width: 30%;
		margin: 0px 15px 0px -10px;
	}
	.footer .ebook p {
		font-size: 85%;
		margin: 15px 0;
	}
	.footer .ebook p.more {
		margin: 0
	}
	.footer .ebook p.more a {
		font-size: 12px;
		letter-spacing: .1em;
		padding: 7px 13px 8px;
	}


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

	.featured-subscribe .email-submit span {
		display: none
	}
	.homepage-featured h1 {
		font-size: 30px;
		font-size: 7.5vw;
	}	
	.homepage-featured img.alignleft {
		width: 100px;
		margin: -10px 0px 0 -70px;
	}
}
@media ( max-width : 405px ) {
	.homepage-featured .wrap {
		padding: 0;
	}
	.homepage-featured .widget {
		padding: 20px 15px 20px;
	}
	.homepage-featured a.more-link {
		font-size: 11px;
		padding: 10px 12px 10px;
	}
	.featured-subscribe {
		padding: 10px 0 20px;
		margin-bottom: 40px
	}
	.featured-subscribe .subscribe h3 {
		width: 100%;
		margin: 0;
		float: left;
		font-size: 22px;
		font-size: 5.5vw;
	}
	.featured-subscribe .subscribe h3 em {
		width: 90px;
		height: 32px;
		margin-top: 5px
	}

	.featured-subscribe .email-input {
		width: 48%;
		margin: 0 1% 2%;
		padding: 0 15px;
	}
	
	.featured-subscribe .email-submit {
		float: none;
		display: block;
		width: 98%;
		margin: 0 1%
	}
		.featured-subscribe .email-submit span {
			display: inline
		}
	.home-section.course h3 em, .page-id-8918 h1 em  {
		top: -12px;
	}
	.home-section.course p {
		font-size: 17px;
		line-height: 1.5;
		margin-top: 15px;
	}

	.home-section.recentposts .item, .home-section.featuredposts .item {
		width: 100%;
		margin: 0 0% 40px 0;
		float: none;
	}
	.archives .archive-post, .shop .archive-post {
		width: 48%;
		float: left;	
		clear: none !important;
		margin-right: 4% !important;
		margin-bottom: 15px;
		text-align: center;
	}
		.shop .archive-post:nth-child(3n), .shop .archive-post:nth-child(4n) {
			margin-right: 4% !important;
		}
		.shop .archive-post:nth-child(3n+1), .shop .archive-post:nth-child(4n+1) {
			clear: none !important
		}

		
	.archive-post:nth-of-type(2n), .shop .archive-post:nth-of-type(2n) {
		margin-right: 0 !important;
	}
	.archive-post:nth-child(2n+1), .shop .archive-post:nth-of-type(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;
	    
	}

}