#collection_grid{
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	margin-top: 0.5em;
	transition-duration: 0.7s;
	align-items: center;
	justify-content: center;
}
@media screen and (min-width: 359px) {
.main_cell{
	width: 23em;
}
}
@media screen and (min-width: 480px) {
.main_cell{
	width: 15em;
}
}
@media screen and (min-width: 639px) {
.main_cell{
	width: 20em;
}
}
@media screen and (min-width: 767px) {
.main_cell{
	width: 16em;
}
}
@media screen and (min-width: 1023px) {
.main_cell{
	width: 20em;
}
}
@media screen and (min-width: 1279px) {
.main_cell{
	width: 16em;
}
}
@media screen and (min-width: 1365px) {
.main_cell{
	width: 17em;
}
}
@media screen and (min-width: 1440px) {
.main_cell{
	width: 18em;
}
}
@media screen and (min-width: 1599px) {
.main_cell{
	width: 15em;
}
}
@media screen and (min-width: 1799px) {
.main_cell{
	width: 17em;
}
}
@media screen and (min-width: 1899px) {
.main_cell{
	width: 18em;
}
}
.main_cell{
	float: left;
	padding-right: 0.5em;
	padding-left: 0.5em;
	margin-bottom: 1em;
}
#collections_classes {
    display: flex;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	height: 100%;
	flex-wrap: wrap;
	position: relative;
}
#collections_classes:hover {
    box-shadow: 0 0 4px 5px rgba(0, 0, 0, 0.4);
}
#collections_classes .share{
	height: 3em;
	margin-bottom: 0.5em;
}
#collections_classes .share .ya-share2__list_direction_horizontal > .ya-share2__item {
    margin-bottom: 4px;
}
#collections_classes .collections_classes_header{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-height: 5em;
	overflow-y: hidden;
	z-index: 2;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+36,ffffff+100&1+35,0+100 */
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,0.98) 70%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,0.98) 70%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,0.98) 70%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#00ffffff",GradientType=0 ); /* IE6-9 */
}
#collections_classes .collections_classes_header .collections_classes-title{
	font-size: 0.8rem;
	font-weight: bold;
    text-align: center;
    padding: 0.5em;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a07e5a+0,a07e5a+36,f5dcaa+100 */
	background: rgb(160,126,90); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(160,126,90,1) 0%, rgba(160,126,90,1) 85%, rgba(245,220,170,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(160,126,90,1) 0%,rgba(160,126,90,1) 85%,rgba(245,220,170,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(160,126,90,1) 0%,rgba(160,126,90,1) 85%,rgba(245,220,170,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#a07e5a", endColorstr="#f5dcaa",GradientType=0 ); /* IE6-9 */
	-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#collections_classes .collections_classes_content {
    position: relative;
    display: block;
    width: 100%;
    overflow-y: hidden;
    margin-top: 3em;
    max-height: 10em;
    min-height: 200px;
}
#collections_classes .collections_classes_content .post-thumbnail {
    position: relative;
    max-width: 100%;
    max-height: 15em;
}
#collections_classes .post-thumbnail {
    margin-bottom: 0;
}
#collections_classes .collections_classes_content .post-thumbnail img{
	margin-left: auto;
	margin-right: auto;
	height: 200px;
	max-width: 100%;
	object-fit: cover;
}
#collections_classes .collections_classes_content .collections_classes_except{
    position: absolute;
    font-size: 0.9rem;
    //overflow-y: hidden;
    padding: 1rem;
    text-align: justify;
    width: 100%;
}
.line_fix {
	height: 1.5em;
	display: block;
	position: relative;
	order: 3;
	bottom: 0;
	width: 100%;
}
#collections_classes .collections_classes_custom{
    width: 100%;
	line-height: 1.2rem;
	position: absolute;
	bottom: 0;
	left: 0;
	display: grid;
	text-align: right;
	padding-right: 0.5em;
}
#collections_classes .meta {
    display: grid;
    padding-left: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
#collections_classes footer{
	position: absolute;
	left: 0;
	bottom: 0;
}
.collection_nav {
  display: flex;
  flex-flow: row;
  justify-content: center;
}
.collection_nav div {
  display: block;
  padding-right: 10px;
}
.ajax_waite{
	opacity: 0.5;
	transition-duration: 0.7s;
}