/*** FAQS ***/
.faqs {
	background-color: #fafafa;
	padding-bottom: 50px;
}
.faqs h2 {
	text-align: center;
	font-size: 2.2em;
	margin: 0;
	padding: 50px 0 30px;
}
.faq-accordion {
	width: 52.5%;
	min-width: 850px;
	margin: auto;
}
.faq-accordion h3 {
	color: #333333;
	font-size: 1.8em;
	margin-top: 30px;
}
/* undo large top margin for heading of first accordion */
.faq-accordion:first-of-type h3 {
	margin-top: 10px;
}
.faq-card {
	border-bottom: 2px solid #e0e0e0;
}
.faq-card:last-child {
	border-bottom: none;
}
.faq-card-header {
	/* get rid of default button styling */
	background-color: #fafafa;
	border: none;
	outline: none;
	text-align: left;

	width: 100%;
	padding: 20px 10px;
	transition: 0.4s;
	position: relative;
}
.faq-card-header:hover {
	background-color: #e0e0e0;
}
.faq-card-header span {
	font-size: 1.33em;
	/* make room for the plus/minus sign */
	display: inline-block;
	width: calc(100% - 36px);
}
.faq-card-header span::after {
	content: "";
	height: 24px;
	width: 24px;
	/* add plus sign */
	background-image: url("/contests/assets/feather_plus_circle_24px.svg");
	background-size: 24px 24px;
	background-repeat: no-repeat;
	/* vertically center */
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
	/* move to right */
	right: 10px;
}
.active-faq span::after {
	/* switch to minus sign if activated */
	background-image: url("/contests/assets/feather_minus_circle_24px.svg");
}
.faq-card-body {
	/* hide card body by default */
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.1s ease-out;
}
.faq-card-body > * {
	font-size: 1.1em;
}
.faq-card-body p {
	margin: 0;
	padding: 0.5em 36px 0.5em 10px;
}

@media (max-width: 850px) {
	.faq-accordion {
		width: 95%;
		min-width: 95%;
	}
}

@media (max-width: 450px) {
	.faq-card-header span {
		font-size: 1em;
	}
	.faq-card-body p {
		font-size: 0.9em;
	}
}
