

.tab {
	width: 100%;
	color: white;
	overflow: hidden;
}

.tab input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.tab-label {
	display: flex;
	position: relative;
	justify-content:flex-start;
	padding: 1em 2.75em;
	margin-bottom:1em;
	background: rgb(0,75,177,.8);
	border-radius: .25rem;
	font-weight: bold;
	transition: all .35s;
	cursor: pointer;
}

.tab-label:hover {
	background: rgb(0,75,177);
}
.tab-label::after {
	content: "\276F";
	width: 1em;
	height: 1em;
	position: absolute;
	margin-top:-0.25em;
	right:1em;
	top:50%;
	transform: translate(0, -50%);	
	transition: all .35s;
}

.tab-label::before {
	content: "Q.";
	width: 1em;
	height: 1em;
	position: absolute;
	left:1em;
	top:1.25em;
}

.tab-content {
	max-height: 0;
	padding: 0.5em 1em 0 2.75em;
	color: black;
	transition: all .35s;
	position: relative;
}

.tab-content::before {
	content: "A.";
	font-weight: bold;
	color:rgb(0,75,177);
	width: 1em;
	height: 100%;
	left:1em;
	top:0.75em;
	position: absolute;
}


.tab input:checked + .tab-label {
	background: rgb(0,75,177);
}
.tab input:checked + .tab-label::after {
	transform: rotate(90deg);
	transform-origin:center center; 	
	
}
.tab input:checked ~ .tab-content {
	max-height: 100vh;
	padding-bottom:2em;
}
