h1 {
	font: 20px "Lato", sans-serif;
	color: #111;
	text-align: center;
	letter-spacing: 5px;
	text-transform: uppercase;
}

.tabs {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.tab h1 {
	font: 20px "Lato", sans-serif;
	color: #111;
	text-align: center;
	letter-spacing: 5px;
	text-transform: uppercase;
}

.tab p {
	font: 400 18px/1.8 "Lato", sans-serif;
	color: #111;
}

.tab img {
	display: block;
	margin: 0 auto;
	padding: 0 10px 0 0;
	float: left;
}

.tabs label {
	-webkit-box-ordinal-group: 2;
	-webkit-order: 1;
	-ms-flex-order: 1;
	order: 1;
	display: block;
	padding: 0.5rem 0.5rem;
	margin-right: 0.2rem;
	cursor: pointer;
	/* background: #90CAF9; */
	background: transparent;
	font-weight: bold;
	-webkit-transition: background ease 0.2s;
	transition: background ease 0.2s;
}

.tabs label:hover {
	background-color: #FFF;
	filter: invert(1);
	}

.tabs .tab {
	text-align: justify;
	-webkit-box-ordinal-group: 100;
	-webkit-order: 99;
	-ms-flex-order: 99;
	order: 99;
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	width: 100%;
	display: none;
	/* margin: 5px 0 0 0; */
	padding: 1.5rem;
	background-color: #E4E4E4;
}

.tabs input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.tabs input[type="radio"]:checked + label { background: #E4E4E4; }

.tabs input[type="radio"]:checked + label + .tab { display: block; }
 


@media (max-width: 45em) {

.tabs .tab,  .tabs label {
	-webkit-box-ordinal-group: NaN;
	-webkit-order: initial;
	-ms-flex-order: initial;
	order: initial;
}

.tabs label {
	width: 100%;
	margin-right: 0;
	margin-top: 0.3rem;
	background-color: #E4E4E4;
	/* border-bottom: 1px solid #111; */
}
	
.tab img {
	width: 100%;
	display: block;
	margin: 0 auto;
	padding: 0;
	float: none;
}
	
}