/**
 * Tabs
 */
.tabs {
	display: flex;
	flex-wrap: wrap; // make sure it wraps
}

.tabs h4 {
	font-size: medium;
	width: 100%;
}

.tabs label {
	order: 1; // Put the labels first
	display: block;
	padding: 0.2rem 0.7rem;
	margin-right: 0.2rem;
	cursor: pointer;
  background: #90CAF9;
  transition: background ease 0.2s;
}

.tab label {
	order: 1; // Put the labels first
	display: block;
	padding: 0.2rem 0.7rem;
	margin-right: 0.2rem;
	cursor: pointer;
  background: #fff;
  transition: background ease 0.2s;
}


.tabs .tab {
  order: 99; // Put the tabs last
  flex-grow: 1;
	width: 100%;
	display: none;
  padding: 1rem;
  margin: 0;
  background: #EBF6FE;
}

.tabs input[type="radio"] {
	display: none;
}

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

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

.tab input[type="radio"]:checked + label {
	background: #90CAF9;
}

.tab input[type="radio"]:h + label {
	background: #90CAF9;
}

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

@media (max-width: 45em) {
  .tabs .tab,
  .tabs label {
    order: initial;
  }
  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}



