/* Tabs container */
.r-tabs {
  position: relative;
  background-color: #ecf0f5;
  border-top: 1px solid #ecf0f5;
  border-right: 1px solid #ecf0f5;
  border-left: 1px solid #ecf0f5;
  border-bottom: 4px solid #ecf0f5;
  border-radius: 4px;
  background: linear-gradient(
    96deg,
    rgba(40, 44, 52, 1) 0%,
    rgba(17, 0, 32, 0.5) 100%
  );
}

/* Tab element */
.r-tabs .r-tabs-nav .r-tabs-tab {
  position: relative;
  background-color: #ecf0f5;
  display: inline-block;
  margin: 0;
  list-style: none;
  text-align: center;
  background: transparent;
      border-left: 1px solid #ffffff;
    border-radius: 12px;
}

/* Tab anchor */
.r-tabs .r-tabs-nav .r-tabs-anchor {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
  display: inline-block;
  padding: 8px 9px;
  text-decoration: none;
  /* text-shadow: 0 1px rgba(0, 0, 0, 0.4); */
  font-weight: bold;
  color: rgb(128 39 136);
  /*margin-top: 8px;*/
  font-size: 12px;
  background: transparent;
  color: white;
}

/* Disabled tab */
.r-tabs .r-tabs-nav .r-tabs-state-disabled {
  opacity: 0.5;
}

/* Active state tab anchor */
.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
  color: #444;
  text-shadow: none;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

/* Tab panel */
.r-tabs .r-tabs-panel {
  background-color: white;
  border-bottom: 4px solid white;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 15px;
  display: none;
}

/* Accordion anchor */
.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
  display: block;
  padding: 10px;
  /* background-color: #4680ff; */
  background-color: #847c8c;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.4);
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  background-image: linear-gradient(
    to right,
    rgba(255, 0, 0, 0),
    rgb(83 83 83)
  );
}

/* Active accordion anchor */
.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
  background-color: #fff;
  color: #444;
  text-shadow: none;
}

/* Disabled accordion button */
.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
  opacity: 0.5;
}

.r-tabs .r-tabs-nav {
  margin: 0;
  padding: 0;
  text-align: center;
}

.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: 650px) {
  /* Set to desired media size for accordion layout */
  .r-tabs {
    border-radius: 0;
  }

  .r-tabs .r-tabs-nav {
    display: none;
  }

  .r-tabs .r-tabs-panel {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .r-tabs .r-tabs-accordion-title {
    display: block;
  }

  .r-tabs-accordion-title .r-tabs-anchor:after {
    content: "\f132";
    font-family: "dashicons";
    float: right;
  }

  .r-tabs-state-active .r-tabs-anchor:after {
    content: "\f460";
    font-family: "dashicons";
    float: right;
  }

  .r-tabs .r-tabs-accordion-title .r-tabs-anchor {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }

  .r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
    /* border-bottom: 1px solid; */
  }

  .r-tabs .r-tabs-panel.r-tabs-state-active {
    display: block;
    opacity: 0.9;
  }
}
