/*
 * GUIDES ARCHIVE
*/

#main .title-row {
	display: none;
	padding: 4em 0 3em;
}

/*.title-row-left {
	margin-right: 4em;
	padding: 0 15px;
	max-width: 31em;
}
*/
.title-row-right {
	max-width: 50%;
}

#main .title-row.active {
	display: block;
}

.title-row h2 {
	line-height: 1.11;
}

.title-row p {
	font-family: Mulish;
	font-size: 1.29em;
	line-height: 1.5;
}

.category-list {
	display: flex;
	justify-content: center;
	margin: 3.5em 0;
}

.js-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	margin: 0 1.5em;
	background: none;
	border: none;
}

.js-button div {
	flex-grow: 1;
	margin-bottom: 0.8em;
}

.js-button img {
	max-width: 4em;
	max-height: 3.8em;
}

.js-button a {
	color: #121212;
}

.js-button a:hover {
	text-decoration: none;
}

.js-button span {
  font-family: Mulish;
  font-weight: 800;
  font-size: 1.29em;
}

.js-button.active, 
.js-button.active a {
	color: #BAA375;
}

.resources-all article {
	margin-bottom: 3.5em;
}

.guides-item {
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0 4px 25px 0 rgba(0,0,0,0.25);
	height: 100%;
}

.guides-item:hover {
	text-decoration: none;
}

.guides-item-img {
	display: flex;
	align-items: center;
	height: 18em;
}

.guides-item-text {
	position: relative;
	padding: 1.2em;
	width: 100%;
	background: #7BA1AB;
	font-family: Mulish;
	font-weight: 800;
	font-size: 1.29em;
	color: #FFF;
	flex-grow: 1;
}

.pagination-nav {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
}


/*
 * RESPONSIVE STYLES
*/

/* Large desktop */
@media (max-width: 1310px) { 
	.guides-item-img {
		height: 16em;
	}
}

@media (max-width: 1199px){
	.guides-item-img {
		height: 12.8em;
	}
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 991px) {

}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	.title-row-right {
		max-width: 100%;
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
	.category-list {
		margin: 3.5em 0 2em;
	}

	#main .title-row {
		padding: 3em 0 1em;
	}

	#main .row {
		padding: 0 10px;
	}

	.title-row p {
		font-size: 14px;
	}

	.js-button {
		margin: 0 0.5em;
	}

	.js-button img {
		max-width: 3em;
		max-height: 2.8em;
	}

	.js-button span {
		font-size: 1.15em;
	}

	.type-guides {
		padding: 0 5px;
	}

	.resources-all article {
		margin-bottom: 1em;
	}

	.guides-item {
		box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
	}

	.guides-item-img {
		height: 8em;
	}

	.guides-item-img img {
		max-height: 100%;
		width: 100%;
		object-fit: cover;
	}

	.guides-item-text {
		padding: 0.55em;
		font-size: 13px;
	}
}