.accordion-input {
	display: none;
}
 
/* Accordion styles */
.tabs {
	overflow: hidden;
}

.tab {
	width: 100%;
	color: white;
	overflow: hidden;
}

.tab-label {
	display: flex;
	justify-content: space-between;
	padding: 14px 20px;
	font-weight: bold;
	cursor: pointer;
	font-size: 13px;
	border-color: #f0f0f0;
    background-color: #f8f8f8;
    color: #666;
    border: 1px solid #d8d8d885;
    border-bottom: none;
    margin-bottom: 0;
    position: relative;
}

.tab-label:hover {
	background: #f0f0f0;
}

.tab-label::after {
	content: "\276F";
	width: 1em;
	height: 1em;
	text-align: center;
	transition: all 0.35s;
	position: absolute;
}

.tab-content {
	max-height: 0;
	padding: 0 1em;
	color: #2c3e50;
	background: transparent;
	transition: all 0.35s;
	background-color: #f8f8f8;
	border-left: 1px solid #d8d8d885;
	border-right: 1px solid #d8d8d885;
}

.tab-content p,
.tab-content ul,
.tab-content ol {
	font-size: 13px;
}

.tab-content ul {
	list-style-type: square;
}

.tab-close {
	display: flex;
	justify-content: flex-end;
	padding: 1em;
	font-size: 0.75em;
	background: #2c3e50;
	cursor: pointer;
}

.tab-close:hover {
	background: #1a252f;
}

.accordion-input:checked + .tab-label {
    background-color: #f8f8f8;
    border: 1px solid #d8d8d885;
    cursor: default;
}

.accordion-input:checked + .tab-label::after {
	transform: rotate(90deg);
	padding-left: 4px;
}

.accordion-input:checked ~ .tab-content {
	max-height: 205vh;
	padding: 14px 20px;
}

.accordion-input:checked ~ .tab-content.accordion-last-tab-content {
	border-bottom: 1px solid #d8d8d885;
}

.accordion-last-label {
	border-bottom: 1px solid #d8d8d885;
}

.tab-label span {
	padding-left: 3rem;
}