/* Equal-height catalog cards: button stays at the bottom regardless of text length */
.catalog .row {
	margin-left: -5px;
	margin-right: -5px;
}

.catalog .row > [class*="col-"] {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	padding-left: 5px;
	padding-right: 5px;
	margin-bottom: 10px;
}

.catalog .catalog-item {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	width: 100%;
	height: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #fff;
	-webkit-transition: box-shadow .25s ease;
	-o-transition: box-shadow .25s ease;
	transition: box-shadow .25s ease;
}

.catalog .catalog-item:hover {
	-webkit-box-shadow: 8px 8px 18px rgba(0, 0, 0, .16);
	box-shadow: 8px 8px 18px rgba(0, 0, 0, .16);
	position: relative;
	z-index: 1;
}

.catalog .catalog-item__title,
.catalog .catalog-item__imgwrap,
.catalog .catalog-item__list {
	width: 100%;
}

.catalog .catalog-item__list {
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}

.catalog .catalog-item .btn--catalog {
	margin-top: auto;
	-webkit-align-self: center;
	-ms-flex-item-align: center;
	align-self: center;
}

/* Quiz area cards: pairs on tablet/mobile, scale with viewport */
.quiz__content--checkbox .row {
	margin-left: -6px;
	margin-right: -6px;
}

.quiz__content--checkbox .row > [class*="col-"] {
	padding-left: 6px;
	padding-right: 6px;
}

.quiz-checkbox-item {
	width: 100%;
	max-width: 100% !important;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 1.1em;
}

.quiz-checkbox-item__imglabel {
	display: block;
	width: 100%;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.quiz-checkbox-item__imglabel img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.quiz-checkbox-item__title {
	font-size: clamp(.72rem, 2.1vw, 1.2em);
	line-height: 1.25;
	padding: .45em .25em;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.quiz__itemselect {
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.quiz__itemselect img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.quiz__itemselecttitle {
	font-size: clamp(.85rem, 2.3vw, 1.2em);
	line-height: 1.25;
	padding-left: .35em;
	padding-right: .35em;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

@media only screen and (max-width: 62em) {
	.quiz {
		padding: 1.25em .85em;
	}

	.quiz__slidetitle {
		font-size: 1.25em;
		margin-bottom: 1em;
	}

	.quiz__content--checkbox {
		margin-bottom: 1em;
	}
}

@media only screen and (max-width: 36em) {
	.quiz-checkbox-item__title {
		font-size: clamp(.68rem, 3.2vw, .95em);
		padding: .35em .15em;
	}
}

/* Hide warehouse gallery and manager CTA on mobile */
@media only screen and (max-width: 48em) {
	.section-manufacturer,
	.section-question {
		display: none !important;
	}
}
