/**
 * Add zero-width space. needed to ensure Safari + VO respect list semantics.
 * Set the before content to position absolute to negate any visible space
 * the before content could add to the document.
 */
 .accordion > li:before {
	content: "\200B";
	position: absolute;
}

/**
 * Accordion Trigger
 */
.accordion__trigger {
	-webkit-appearance: none;
	background-color: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	display: block;
	font-size: inherit;
	margin: 0;
	padding: 0;
	position: relative;
	text-align: left;
	width: 100%;
	z-index: 2;
}
/**
 * This is needed to allow a double tap iOS 11
 * Safari + VO to function correctly, if there
 * are multiple elements (wrapper spans) to layout
 * text nodes within the accordion button.

	-- This is not needed if a button only contains text
	   and no other child nodes wrapping the text --

.accordion__trigger > * {
	pointer-events: none;
}
*/

/**
 * To style on page stylesheet :

.accordion__trigger:hover,
.accordion__trigger:focus{

}
.accordion__trigger[aria-disabled="true"]:hover,
.accordion__trigger[aria-disabled="true"]:focus{

}
*/ 

.accordion__trigger[aria-disabled="true"]:hover {
	cursor: default;
}

/**
 * Accordion Panel
 */
.accordion__panel {
	max-height: 0vh;
	overflow: hidden;
	position: relative;
	visibility: hidden;
	z-index: 1;
}
.accordion__panel--transition {
	transition:
		max-height .2s ease-in-out,
		padding-top .2s ease-in-out,
		padding-bottom .2s ease-in-out;
}
.accordion__panel > :last-child {
	margin-bottom: 0;
}
.accordion__panel[aria-hidden="false"] {
	/*max-height: 100vh;*/
  max-height: unset;
	overflow: auto;
	visibility: visible;
}
