@charset "utf-8";

div.catresblock div.catresitems {
	margin-top: 2em;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin-bottom: 8em;
}
div.catresblock div.catresitems div.catresitem {
	flex-grow: 1;
	margin: 0 3.5em auto 0;
	width: 20%;
}
div.catresblock div.catresitems div.catresitem:last-of-type {
	margin-right: 0;
}
div.catresblock div.catresitems div.catresitem p.catrestitle {
	font-weight: 700;
	font-size: 1.6em;
	line-height: 1.3em;
	margin: 2em 0;
}
div.catresblock div.catresitems div.catresitem div.catrescontrols {
	position: absolute;
	bottom: 6.5em;
}
/* div.catresblock div.catresitems div.catresitem p.catreslink {
	position: absolute;
	bottom: 3em;
} */
div.catresblock div.catresitems div.catresitem a.redbutton {
	text-align: center;
	padding: 1em 2em !important;
	width: calc(100% - 1.75em);
}
div.catresblock div.catresitems div.catresitem div.catresimgh {
	width: 100%;
	height: 20em;
	background-color: #ddd;
}
div.catresblock div.catresitems div.catresitem div.catresimgh a {
	display: inline-block;
	text-align: center;
	height: 100%;
	width: 100%;
}
div.catresblock div.catresitems div.catresitem div.catresimgh img {
	height: 100%;
	/* object-fit: contain; */
}
div.catresblock div.catresitems div.catresitem p.catreslearnmore {
	/* position: absolute;
	bottom: 1em; */
	font-size: 1.2em;
}

@media only screen and (max-width: 650px) {
	div.catresblock div.catresitems {
		display: block;
		margin-bottom: 5.5em;
	}
	
	div.catresblock div.catresitems div.catresitem {
		width: auto;
		margin: 0;
	}
	
	div.catresblock div.catresitems div.catresitem div.catresimgh {
		width: 50%;
		float: left;
		margin-bottom: 1.5em;
		background-color: transparent;
	}
	
	div.catresblock div.catresitems div.catresitem div.catresimgh a {
		text-align: left;
	}
	
	div.catresblock div.catresitems div.catresitem div.catresimgh img {
		width: auto;
	}
	
	div.catresblock div.catresitems div.catresitem p.catrestitle {
		width: 45%;
		float: right;
	}
	
	div.catresblock div.catresitems div.catresitem div.catrescontrols {
		position: static;
	}
	
	div.catresblock div.catresitems div.catresitem a.redbutton {
		width: calc(100% - 4em);
	}
}