.tab-section {
  padding: 0px;
  margin: 0 0 0 0;
  background: #fff;
}

.tab-section .section {
  margin-top: 0;
  display: none;
  padding: 1rem 2rem;
  border: 1px solid #f6f6f6;
}

.tab-section .section .row {
  margin-left: 0px;
  margin-right: 0px;
}

.tab-section h1 {
  display: block !important;
}

.tab-section input {
  display: none;
}

.tab-section label {
  order: 1;
  display: inline-block !important;
  padding: 1rem;
  width: 33%;
  margin-bottom: 0 !important;
  cursor: pointer;
  font-weight: 600;
  color: #707070;
}

.cm-product-template .tab-section label {
  width: 24%;
}

.tab-section label:hover {
  cursor: pointer;
}

.tab-section input + label > h3 {
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: mayo-sans, arial, sans-serif;
}

.tab-section input:checked + label {
  background-color: #f6f6f6;
  border-bottom: 4px solid #000;
  color: #000;
  margin-bottom: 0;
}

.tab-section input + label span {
  display: none;
}

.tab-section #tab1:checked ~ #content1,
.tab-section #tab2:checked ~ #content2,
.tab-section #tab3:checked ~ #content3,
.tab-section #tab4:checked ~ #content4,
.tab-section #tab5:checked ~ #content5,
.tab-section #tab6:checked ~ #content6,
.tab-section #tab7:checked ~ #content7,
.tab-section #tab8:checked ~ #content8,
.tab-section #tab9:checked ~ #content9 {
  display: block;
  background-color: #f6f6f6;
  border-top: 1px solid #707070;
  padding: 1rem 2rem;
}

.tab-section .section p {
  font-size: 18px;
  line-height: 1.5em;
  margin-bottom: 1rem;
  color: #000;
  font-family: mayo-sans, arial, sans-serif;
}

.tab-section .section li {
  margin-left: 2rem;
  font-size: 18px;
  color: #000;
  font-family: mayo-sans, arial, sans-serif;
}

.tab-section .section .accordion__panel-heading > a,
.tab-section .section .accordion-content {
  background: #f6f6f6;
}

@media screen and (max-width: 650px) {
  .tab-section label {
    display: block;
    max-width: 100%;
    width: 100%;
  }

  .tab-section label > h3 {
    font-size: 18px;
  }

  .tab-section input + label span {
    display: inline-block;
    transform: rotateZ(90deg);
    transition: all 500ms ease;
  }

  .tab-section input:checked + label span {
    transform: rotateZ(-90deg);
    transition: all 500ms ease;
  }

  .tab-section #tab1:checked ~ #content1,
  .tab-section #tab2:checked ~ #content2,
  .tab-section #tab3:checked ~ #content3,
  .tab-section #tab4:checked ~ #content4,
  .tab-section #tab5:checked ~ #content5,
  .tab-section #tab6:checked ~ #content6,
  .tab-section #tab7:checked ~ #content7,
  .tab-section #tab8:checked ~ #content8,
  .tab-section #tab9:checked ~ #content9 {
    border-top: none;
  }
}

@media screen and (max-width: 400px) {
  .tab-section label {
    padding: 15px;
  }
}

@media screen and (max-width: 768px) {
  .tab-section table tr {
    display: flex;
    flex-direction: column;
  }
}

.tab-section table td {
  vertical-align: top;
  padding: 1rem 0;
}
