/* FAQ foldable container */
.accordion-item {
	border-bottom: 1px solid lightgray;	
}

button {
	position: relative;
	display: block;
	text-align: left;
	width: 100%;
	padding: 1em 0;
	color: $text;
	font-size: 1.15rem;
	font-weight: 400;
	border: none;
	background: none;
	outline: none;
	&:hover, &:focus {
	cursor: pointer;
	color: blue;
	&::after {
		cursor: pointer;
		color: blue;
		border: 1px solid blue;
	}
}

.accordion-title {
	padding: 1em 1.5em 1em 0;
	width:100px;
}
.accordion-title:hover {
	color:gold;
}

.icon {
	display: inline-block;
	position: absolute;
	top: 18px;
	right: 0;
	width: 22px;
	height: 22px;
	border: 1px solid;
	border-radius: 22px;
	&::before {
		display: block;
		position: absolute;
		content: '';
		top: 9px;
		left: 6px;
		width: 10px;
		height: 2px;
		background: currentColor;
	}
	&::after {
		display: block;
		position: absolute;
		content: '';
		top: 5px;
		left: 10px;
		width: 2px;
		height: 10px;
		background: currentColor;
	}
	}
}

button[aria-expanded='true'] {
	color: gold;
	.icon {
		&::after {
			width: 0;
		}
	}
	+ .accordion-content {
		opacity: 1;
		max-height: 35em;
		transition: all 1s linear;
		will-change: opacity, max-height;
	}
}

.accordion-content {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 200ms linear, max-height 200ms linear;
	will-change: opacity, max-height;
	p {
		font-size: 1rem;
		font-weight: 300;
		margin: 1em 0;
	}
}


@media screen and (max-width: 680px) {		
	.accordion-title {
		font-size:17px;
	}	
	
	.accordion-content p {
		font-size:14px !important;
	}
	.accordion-content a {
		color:green;
	}
	
	
}		
	
	