/*
*	acf-blocks/faq/faq.css
*/
.mck-faq {
	width: 100%;
	max-width: var(--mck-max-width);
	margin: 1rem 0;
}
.mck-faq-element {
	box-shadow: var(--mck-box-shadow);
	border-radius: var(--mck-radius-2);
	margin: 1.5rem 0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border: solid 2px var(--mck-light-grey);
	transition: transform .2s, border .4s;
}
.mck-faq-element:hover {
	cursor: pointer;
	border: solid 2px var(--mck-main-color);
	transform: translateY(-2px);
}
@media screen and (min-width: 1200px) {
	.mck-faq-element {
		padding: 1.5rem;
	}
}
.mck-faq-question-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.mck-faq-question {
	margin: 0 !important;
	user-select: none;
}
.mck-faq-icon {
	width: 36px;
	height: 36px;
	background-color: var(--mck-main-color);
	border-radius: var(--mck-radius-2);
	position: relative;
}
@media screen and (min-width: 1200px) {
	.mck-faq-icon {
		width: 42px;
		height: 42px;
	}
}
/* Span are used to switch from + to - in the faq icon */
.mck-faq-icon span {
	display: block;
	width: 50%;
	height: .125rem;
	border-radius: var(--mck-radius-2);
	background-color: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
}
.mck-faq-icon span:nth-child(2) {
	transform: rotate(0deg);
	transition: .2s;
}
.mck-faq-question {
	font-weight: bold;
	color: var(--mck-black) !important;
}
.mck-faq-answer {
	max-height: 5000px;
	height: auto;
	opacity: 1;
	transition: max-height .2s, opacity .6s;
	padding-bottom: .5rem;
}
/* On bigger screens, add padding to right to make a blank column under the icon where content won't go */
@media screen and (min-width: 1200px) {
	.mck-faq-answer {
		padding: 0 4rem .5rem 0;
	}
}
.mck-faq-answer * {
	color: var(--mck-dark-grey);
}
/* When closed, answers are height 0px and icon rotate to make a +. Borders become transparent */
.mck-faq-element-closed .mck-faq-icon span:nth-child(2) {
	transform: rotate(90deg);
}
.mck-faq-element-closed .mck-faq-answer {
	/* height 0 doesnt work with CSS transitions */
	max-height: 0px;
	opacity: 0;
	padding-bottom: 0;
	overflow: hidden;
}
/*.mck-faq-element-closed {
	border: solid 2px transparent;
}*/