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

/* Accordion styles */
.tabs {
  overflow: hidden;
  margin: 10px auto 40px;
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}
.tab-label {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-conte nt: space-between;
  padding: 1em;
  background: #062D60;
  cursor: pointer;
  font-weight: 600;

  /* Icon */
}
.tab-label:hover {
  background: #0047BB;
}
.tab-label::before {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  -webkit-transition: all .35s;
  transition: all .35s;
  margin-right: 8px;
}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  background: white;
  -webkit-transition: all .35s;
  transition: all .35s;
  overflow: hidden;
}
.tab-close {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: end;
          justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}
.tab-close:hover {
  background: #1a252f;
}

.tabs input:checked + .tab-label {
  background: #1a252f;
}
.tabs input:checked + .tab-label::before {
	transform-origin: 8px 15px;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.tabs input:checked ~ .tab-content {
  max-height: inherit;
  padding: 1em;
}
.tab-label.has-white-bg {
	padding-left: 0;
	padding-bottom: 0.5em;
}