.categoryhome {
	width: 100%;
}
.categoryhome .categories,
.categoryhome .lessons {
	padding: 0 10px;
}

.category-header {
	background: #fff;
	padding: 10px 0;
}
.category-header a {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 28px;
	text-decoration: none;
}
.category-header a:active,
.category-header a:hover {
	color: #0F4D7B;
}
.categoryhome .lessons .category-header a:active,
.categoryhome .lessons .category-header a:hover {
	color: #0F4D7B;
}
.categoryhome .lessons .tile {
	min-height: 240px;
}
.category-header h2 {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 28px;
}
.cat-cont {
	padding: 0;
    overflow: hidden;	
}
.next-cont {
	padding: 15px 0;
    overflow: hidden;	
}
.categoryhome h2 {
	margin: 0px;
}

@media (max-width: 767px) {
	.categoryhome .tile .item-img  .item-pin img {
		max-width: 100%;
	}
	.categoryhome .tile .item-img  .item-pin {
		position: absolute;
		top: 15px;
		left: 0px;
		height: 30px;
		font-size: 18px;
		font-weight: var(--font-normal);
		line-height: 30px;
		cursor: pointer;
		color: white;
		padding: 0 10px;
	}
	.categoryhome .tile .item-img  .pin-category {
		background-color: var(--primary-color);
	}
	.categoryhome .tile .item-img  .pin-featured {
		background-color: #f8a200;
	}
	.categoryhome .tile .item-img  .pin-bestseller{
		background-color: #f80000;
	}
	.categoryhome .tile .item-img  .pin-latest {
		background-color: #54d100;
	}

}

#content.home-content { padding: 0; }
.lessons { display: block; }
.categoryhome .tile.float-left { float: left; clear: none; border: 0; }

@media (min-width: 900px) {
	.categoryhome .tile.float-left:nth-of-type(4n-3) { clear: both; }
	.categoryhome .tile.float-left:nth-of-type(4n) { margin-right: 0; }
	#header {
		padding: 0 0 4px 0px;
		width: 830px;
		margin: auto;
	}
	#content {
		padding: 0;
		width: 830px;
		margin: auto;
		margin-bottom: 25px;
	}
	.article-content{
		width: 1100px;
	}
	#main-menu .menu-header{
		float: left;
	}
	#main-menu .menu-cont {
		width: 850px;
		margin: auto;
	}
	#footer #supplementary {
		width: 830px;
		margin: auto;
	}
	.categoryhome .categories,
	.categoryhome .lessons {
		width: 830px;
		padding: 0;
		margin: 0 auto;
	}
}

@media (min-width: 1280px) {
	.categoryhome .tile.float-left:nth-of-type(4n-3) { clear: none; }
	.categoryhome .tile.float-left:nth-of-type(4n) { margin-right: 10px; }
	.categoryhome .tile.float-left:nth-of-type(6n) { margin-right: 0; }
	#header {
		padding: 0 0 4px 0;
		width: 1250px;
		margin: auto;
	}
	#content {
		padding: 0;
		width: 1250px;
		margin: auto;
	}
	.article-content {
		width: 1100px;
	}
	#main-menu .menu-cont {
		width: 1270px;
		margin: auto;
	}
	#footer #supplementary {
		width: 1250px;
		margin: auto;
	}
	.categoryhome .categories, .categoryhome .lessons{
		width: 1250px;
		padding: 0;
		margin: 0 auto;
	}
}