.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

* {
  box-sizing: border-box;
}

body {

}

.tabgroup {
  position: relative;
  display: inline-block;
  width: 100%;
}
.tabgroup__item {
  -webkit-appearance: none;
  -moz-appearance: none !important;
  left: -99999px;
  padding: 0;
  height: 0;
  width: 0;
  z-index: -100;
  outline: 0;
}
.tabgroup__item:checked + .tab {
  background-color: #1d147f;
  color: #ffffff;
  position: relative;
  border-top: solid 2px #1d147f;
  border-bottom: solid 2px #1d147f;
  margin-bottom: 0px;
}
.tabgroup__item--1:checked ~ .panel--1, .tabgroup__item--2:checked ~ .panel--2, .tabgroup__item--3:checked ~ .panel--3, .tabgroup__item--4:checked ~ .panel--4, .tabgroup__item--5:checked ~ .panel--5 {
  display: block;
}
.tabgroup .tab {
  float: left;
  width: 100%;
  display: block;
  background-color: #321950;
  padding: 13px;
  cursor: pointer;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  /* border-right: solid 1px rgba(0, 0, 0, 0.03); */
  padding-right: 25px;
  /* padding-top: 15px; */
  margin-right: 0px;
  padding-left: 27px;
  /* border-left: solid 1px rgba(0, 0, 0, 0.03); */
  /* border-top: solid 2px #ffffff; */
  /* border-bottom: solid 2px #ffffff; */
  background-color: #636060;
  color: #ffffff;
  position: relative;
  border-top: solid 2px #636060;
  border-bottom: solid 2px #636060;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.tabgroup .panel {
  background-color: #ffffff;
  /* min-height: 200px; */
  /* padding: 0px; */
  display: none;
  /* width: 100%; */
  border-top: solid 1px rgba(0, 0, 0, 0.09);
}
.tabgroup .panel .cta {
  background-color: #ff8037;
  padding: 10px 35px;
  color: white;
  border-bottom: 5px solid #b24e14;
  font-size: 20px;
  display: inline-block;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .tabgroup .tab {
    display: inline-block;
    float: none;
    width: auto;
  }
}