section .r-tabs ul li{
  padding-left: 0;
}
section .r-tabs ul li::before{
  width: auto;
  height: auto;
  background-color: transparent;
}

.r-tabs .r-tabs-nav {
  margin: 0 0 10px 0;
  padding: 0;
  text-align: center;
}
.r-tabs .r-tabs-nav a{    
  font-size: 24px;
  font-weight: 500;
  color: #002140;
  display: block;
  padding: 8px;
  text-align: center;
  position: relative;
}
.r-tabs .r-tabs-nav a{
  display: inline-block;
  position: relative;
}
.r-tabs .r-tabs-nav a:after{
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: transparent;
}

.r-tabs .r-tabs-tab {
  display: inline-block;
  margin: 0 10px;
  list-style: none;
  background-color: var(--white);
}
.section .r-tabs .r-tabs-tab{
  padding-left: 0;
}
.section .r-tabs .r-tabs-tab:before{
  content: '';
  width: auto;
  height: auto;
  display: none;
  margin: 0;
  top: auto;
  background-color: transparent;
  border-radius: 0;
  position: relative;
  left: auto;
  padding: 0;
  text-align: center;
}

.r-tabs .r-tabs-tab.r-tabs-state-active a{
  color: var(--black-500);
  font-weight: var(--weight-SemiBold);
}
.r-tabs .r-tabs-tab.r-tabs-state-active a:after {
  background-color: var(--saffron);
  font-weight: var(--weight-Bold);
}

.r-tabs .r-tabs-panel {
  padding: 30px 15px;
  display: none;
}

.r-tabs .r-tabs-accordion-title {
  display: none;
}

.r-tabs .r-tabs-panel.r-tabs-state-active {
  display: block;
}

/* Accordion responsive breakpoint */
@media only screen and (max-width: 767px) {
  .r-tabs .r-tabs-nav {
      display: none;
  }
  #horizontalTab{
      margin-bottom: 20px;
  }
  .r-tabs .r-tabs-panel {
      background-color: var(--white);
  }

  .r-tabs .r-tabs-accordion-title {
      display: block;
  }
  .r-tabs .r-tabs-accordion-title a {
      color: var(--white);
      border-bottom:1px solid var(--saffron);
      padding: 15px;
      display: inline-block;
      width: 100%;
      font-size: 1.25rem;
      font-weight: var(--weight-Medium);
      text-transform: uppercase;
      position: relative;
      background-color: var(--black-500);
  }
  .r-tabs .r-tabs-accordion-title a::after {
      font-family:"Font Awesome 6 Pro";
      content: '\f106';
      font-weight: var(--weight-Bold);
      float: right;
  }
  .r-tabs .r-tabs-accordion-title.r-tabs-state-active a {
      background-color: var(--saffron);
      border-bottom-color:var(--black-500);
      color: var(--white);
  }
  .r-tabs .r-tabs-accordion-title.r-tabs-state-active a:after {
      content: '\f107';
      font-weight: var(--weight-Bold);
  }
}