.resp-tabs-list {
  display: flex;
  justify-content: center;
  gap: 70px;
  position: relative;
  margin: 0 0 90px 0;
  padding: 0;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(52, 52, 52, 1) 51%, rgba(102, 102, 102, 0.12) 100%);
    opacity: 0.2;
  }
}

.resp-tabs-list li {
  font-family: var(--sitefonts);
  font-weight: 500;
  font-size: 20px;
  line-height: 50px;
  text-transform: capitalize;
  color: #000000;
  border-right: none !important;
  list-style: none;
  cursor: pointer;
  padding: 0 !important;
  margin-bottom: 0;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  background-color: unset;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 4px;
    height: 4px;
    width: 0;
    background: #3E4549;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
  }

  &::before {
    content: '';
    position: absolute;
    top: 0;
    right: -35px;
    height: 100%;
    width: 1px;
    background: #D8D8D8;
  }

  &:last-child {
    &::before {
      display: none;
    }
  }
}

.resp-tabs-container {
  padding: 0px;
  clear: left;
}

h2.resp-accordion {
  cursor: pointer;
  padding: 5px;
  display: none;
}

.resp-tab-content {
  display: none;
}

.resp-tab-active {
  border-bottom: none;
  background-color: #fff;
}

.resp-tabs-list li.resp-tab-active,
.resp-tabs-list li:hover {
  /* font-weight: 700; */
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;

  &::after {
    width: 100%;
    opacity: 1;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
  }
}

.resp-content-active,
.resp-accordion-active {
  display: block;
}

h2.resp-accordion {
  font-size: 13px;
  border: 1px solid #c1c1c1;
  border-top: 0px solid #c1c1c1;
  margin: 0px;
  padding: 10px 15px;
}

h2.resp-tab-active {
  border-bottom: 0px solid #c1c1c1 !important;
  margin-bottom: 0px !important;
  padding: 10px 15px !important;
}

h2.resp-tab-title:last-child {
  border-bottom: 12px solid #c1c1c1 !important;
  background: blue;
}

/*-----------Vertical tabs-----------*/

.resp-vtabs ul.resp-tabs-list {
  float: left;
  width: 30%;
}

.resp-vtabs .resp-tabs-list li {
  display: block;
  padding: 15px 15px;
  margin: 0;
  cursor: pointer;
  float: none;
}

.resp-vtabs .resp-tabs-container {
  padding: 0px;
  background-color: #fff;
  border: 1px solid #c1c1c1;
  float: left;
  width: 68%;
  min-height: 250px;
  border-radius: 4px;
  clear: none;
}

.resp-vtabs .resp-tab-content {
  border: none;
}

.resp-vtabs li.resp-tab-active {
  border: 1px solid #c1c1c1;
  border-right: none;
  background-color: #fff;
  position: relative;
  z-index: 1;
  margin-right: -1px !important;
  padding: 14px 15px 15px 14px !important;
}

.resp-arrow {
  width: 0;
  height: 0;
  float: right;
  margin-top: 3px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid #c1c1c1;
}

h2.resp-tab-active span.resp-arrow {
  border: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #9b9797;
}

/*-----------Accordion styles-----------*/

h2.resp-tab-active {
  background: #dbdbdb !important;
}

.resp-easy-accordion h2.resp-accordion {
  display: block;
}

.resp-easy-accordion .resp-tab-content {
  border: 1px solid #c1c1c1;
}

.resp-easy-accordion .resp-tab-content:last-child {
  border-bottom: 1px solid #c1c1c1 !important;
}

.resp-jfit {
  width: 100%;
  margin: 0px;
}

.resp-tab-content-active {
  display: block;
}

h2.resp-accordion:first-child {
  border-top: 1px solid #c1c1c1 !important;
}


@media (max-width: 1599.99px) {

  .resp-tabs-list {
    margin: 0 0 70px 0;
  }
}

@media (max-width: 1439.99px) {
  .resp-tabs-list {
    margin: 0 0 50px 0;
  }
}

@media (max-width: 1199.99px) {
  .resp-tabs-list li {
    font-size: 18px;
    line-height: 40px;
  }
}

@media (max-width: 991.99px) {
  .resp-tabs-list {
    gap: 50px;
    margin: 0 0 40px 0;
  }

  .resp-tabs-list li {
    &::before {
      right: -28px;
    }
  }
}

@media (max-width: 767.98px) {
  ul.resp-tabs-list {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .resp-tabs-list {
    gap: 30px;
    margin: 0 0 30px 0;
    padding-bottom: 10px;
  }

  .resp-tabs-list li {
    white-space: nowrap;

    &::before {
      right: -13px;
    }
  }



  /* .resp-tabs-list {
    position: relative;
    top: unset;
    right: unset;
    justify-content: center;
    width: 100%;
  }
  .resp-tabs-list li.resp-tab-active,
  .resp-tabs-list li:hover {
    background-color: unset;
    color: var(--themecolor);
    border-color: unset;
    text-decoration: underline;
  } */
}

@media (max-width: 575.99px) {}

@media only screen and (max-width: 320px) {
  ul.resp-tabs-list {
    display: none;
  }

  h2.resp-accordion {
    display: block;
  }

  .resp-vtabs .resp-tab-content {
    border: 1px solid #c1c1c1;
  }

  .resp-vtabs .resp-tabs-container {
    border: none;
    float: none;
    width: 100%;
    min-height: initial;
    clear: none;
  }

  .resp-accordion-closed {
    display: none !important;
  }

  .resp-vtabs .resp-tab-content:last-child {
    border-bottom: 1px solid #c1c1c1 !important;
  }
}