/* cms-faq.css v1.0.4 */

/* ==========================================================================
   CMS FAQ Accordion
   ========================================================================== */

.cms-faq {
	box-sizing: border-box;
	width: 100%;
	padding: 30px 0;
}

/* ==========================================================================
   Section header
   ========================================================================== */

.cms-faq__header {
	margin-bottom: 24px;
}

.cms-faq__heading {
	margin-top: 0;
	margin-bottom: 10px;
}

/* Page Title — Crimson Text 35px 600 #3e3e3d */
.cms-faq__heading--xl {
	font-family: 'Crimson Text', Georgia, serif;
	font-size: 35px;
	font-weight: 600;
	color: #3e3e3d;
	line-height: 1.2;
}

/* Section Title — Crimson Text 25px 500 #3e3e3d */
.cms-faq__heading--large {
	font-family: 'Crimson Text', Georgia, serif;
	font-size: 25px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.25;
}

/* Content Header — Montserrat 18px 500 #3e3e3d */
.cms-faq__heading--medium {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.3;
}

/* Label / Small — Montserrat 14px 500 #3e3e3d */
.cms-faq__heading--small {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #3e3e3d;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cms-faq__heading a {
	color: inherit;
	text-decoration: none;
}

.cms-faq__heading a:hover {
	color: #d7b364;
}

.cms-faq__intro {
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #474b59;
	line-height: 1.7;
}

.cms-faq__intro p {
	margin: 0 0 12px;
}

/* ==========================================================================
   FAQ items
   ========================================================================== */

.cms-faq__item {
	box-sizing: border-box;
}

/* Border: lines */
.cms-faq--border-lines .cms-faq__item {
	border-bottom: 1px solid #dddddd;
}

.cms-faq--border-lines .cms-faq__item:first-child {
	border-top: 1px solid #dddddd;
}

/* Border: solid box */
.cms-faq--border-solid .cms-faq__item {
	border: 1px solid #dddddd;
	margin-bottom: 6px;
}

/* Border: rounded box */
.cms-faq--border-rounded .cms-faq__item {
	border: 1px solid #dddddd;
	border-radius: 6px;
	margin-bottom: 6px;
	overflow: hidden;
}

/* ==========================================================================
   Question button
   ========================================================================== */

.cms-faq__question {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	padding: 16px 4px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #3e3e3d;
	-webkit-transition: color 0.15s ease;
	transition: color 0.15s ease;
}

.cms-faq--border-solid .cms-faq__question,
.cms-faq--border-rounded .cms-faq__question {
	padding: 16px 18px;
}

.cms-faq__question:hover,
.cms-faq__question--open {
	color: #d7b364;
}

/* Gold question color variant */
.cms-faq--q-gold .cms-faq__question {
	color: #d7b364;
}

.cms-faq--q-gold .cms-faq__question:hover,
.cms-faq--q-gold .cms-faq__question--open {
	color: #333333;
}

/* Chevron icon */
.cms-faq__icon {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-left: 12px;
	position: relative;
}

.cms-faq__icon::before,
.cms-faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 9px;
	height: 2px;
	background-color: currentColor;
	-webkit-transition: -webkit-transform 0.2s ease;
	transition: transform 0.2s ease;
}

.cms-faq__icon::before {
	left: 1px;
	-webkit-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
}

.cms-faq__icon::after {
	right: 1px;
	-webkit-transform: translateY(-50%) rotate(-45deg);
	transform: translateY(-50%) rotate(-45deg);
}

.cms-faq__question--open .cms-faq__icon::before {
	-webkit-transform: translateY(-50%) rotate(-45deg);
	transform: translateY(-50%) rotate(-45deg);
}

.cms-faq__question--open .cms-faq__icon::after {
	-webkit-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
}

/* ==========================================================================
   Answer — CSS transition, no jQuery dependency
   ========================================================================== */

.cms-faq__answer {
	max-height: 0;
	overflow: hidden;
	-webkit-transition: max-height 0.25s ease;
	transition: max-height 0.25s ease;
}

.cms-faq__answer--open {
	max-height: 2000px;
	-webkit-transition: max-height 0.4s ease;
	transition: max-height 0.4s ease;
}

.cms-faq__answer-inner {
	padding: 0 4px 18px;
	font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #474b59;
	line-height: 1.7;
}

.cms-faq--border-solid .cms-faq__answer-inner,
.cms-faq--border-rounded .cms-faq__answer-inner {
	padding: 0 18px 18px;
}

.cms-faq__answer-inner p {
	margin: 0 0 12px;
}

.cms-faq__answer-inner p:last-child {
	margin-bottom: 0;
}

.cms-faq__answer-inner a {
	color: #d7b364;
	text-decoration: underline;
}

.cms-faq__answer-inner a:hover {
	color: #333333;
}

.cms-faq__answer-inner ul,
.cms-faq__answer-inner ol {
	margin: 0 0 12px;
	padding-left: 20px;
}

.cms-faq__answer-inner li {
	margin-bottom: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
	.cms-faq__heading--xl {
		font-size: 26px;
	}

	.cms-faq__heading--large {
		font-size: 22px;
	}

	.cms-faq__question {
		font-size: 14px;
	}
}
