/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
body {
	overflow-x: hidden;
	word-break: keep-all;
}

html {
	overflow-x: hidden;
}

.entry-thumb img {
	display: none;
}

.entry-header.primary-hentry {
	padding: 150px 0 !important;
}

.entry-title {
	text-transform: uppercase;
	color: #dee2df;
	letter-spacing: 6px;
}

.entry-content a {
	border-bottom: none !important;
}

.current-menu-item > a {
	background: #4f7150 !important;
}

* {
	box-sizing: border-box;
}

/* Float four columns side by side */
.column {
	float: left;
	width: 33%;
	padding: 0 15px;
}

/* Remove extra left and right margins, due to padding */
.row {
	margin: 0 -5px;
}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Style the counter cards */
.card {
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
	padding: 40px;
	text-align: center;
	height: 595px;
	transition: all .3s ease-in-out;
	position: relative;
	background-color: #f8f8f9;
	border-radius: 4px;
	border: 1px solid #ececec;
	min-height: fit-content;
}

.card-header {
	height: 200px;
	width: calc(100% + 80px);
	background-size: cover;
	margin-top: -40px;
	margin-left: -40px;
	margin-right: -40px;
	border-radius: 4px 4px 0 0;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

a {
	transition: color .3s ease-in-out;
}

.card:hover a {
	color: #4f7150;
}

.card:hover {
	transform: translateY(-2px);
}

.card-title {
	height: 60px;
	overflow-wrap: normal;
	margin-top: 40px;
}

.card-title a {
	color: #42425f;
}

.section-grey {
	position: relative;
	z-index: 1;
	padding: 20px 0;
	margin-bottom: 20px;
}

.section-grey:before {
	content: '';
	background-color: #f8f8f9;
	position: absolute;
	top: 0;
	right: -500px;
	left: -500px;
	height: 100%;
	width: calc(100% + 1000px);
	z-index: -1;
	max-width: unset;
}

.divider {
	display: block;
	width: 80px;
	height: 2px;
	min-height: 2px;
	background: linear-gradient(to left,#4f7150 0%,#42425f 100%);
	margin: 0;
	margin-bottom: 2rem;
	margin-top: 1.7rem;
}

.footer-bottom {
	background: #252626 !important;
	border-top: none !important;
}

.footer-bottom a {
	font-size: 14px;
	font-weight: normal !important;
}

.footer-links {
	flex: 100% !important;
	max-width: 100% !important;
}

.site-info {
	visibility: hidden;
}

/* Responsive columns */
@media screen and (max-width: 1000px) {
	.column {
		width: 50%;
		display: block;
		margin-bottom: 20px;
	}
	
	.card {
		padding: 20px;
	}
	
	.card-header {
		width: calc(100% + 40px);
		margin-top: -20px;
		margin-left: -20px;
		margin-right: -20px;
	}
}

@media screen and (max-width: 600px) {
	.column {
		width: 100%;
		display: block;
		margin-bottom: 20px;
	}
	
	.entry-thumb {
		height: 0;
	}
}