.left-tabs.sideways-tabs,
.right-tabs.sideways-tabs {
  margin-top: 5rem;
  border: none;
  position: relative;
  margin-bottom: 0;
}
.left-tabs.nav-tabs,
.right-tabs.nav-tabs,
.left-tabs.sideways-tabs,
.right-tabs.sideways-tabs {
  height: 100%;
  flex-direction: row;
  justify-content: center;
}
.left-tabs.nav-tabs {
  /* border-right: 1px solid #dee2e6; */
  border-bottom: none;
}
.left-tabs .nav-link {
  border-top-left-radius: 0.25rem;
  border-radius: 0.25rem;
 
  margin-right: -1px;
  text-align: left;
  color:#343a40 ;
}
.left-tabs .nav-link:hover {
  border-right: 1px solid #d7cae4;
}
.left-tabs .nav-link.active {
  border-top: 1px solid #d7cae4;
  border-right: 1px solid #d7cae4;
  border-bottom: 1px solid #d7cae4;
  border-left: 1px solid #d7cae4;
  background: #8e23f9;
  color: #fff;
  font-weight: 600;
}

.left-tabs.sideways-tabs {
  border-right: none;
  left: -3.2rem;
}
.sideways-tabs.left-tabs .nav-item {
  transform: rotate(-90deg);
  height: 1rem;
  margin-bottom: calc(8rem - 1rem);
}
.sideways-tabs.left-tabs .nav-link {
  width: 8rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0.25rem;
  border-bottom: 1px solid #dee2e6;
}
.sideways-tabs.left-tabs .nav-link:hover {
  border-right: 1px solid #e9ecef;
}
.sideways-tabs.left-tabs .nav-link.active {
  border-top: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid transparent;
  border-left: 1px solid #dee2e6;
}



@media (min-width: 26em) and (max-width: 48em) {
  .left-tabs .nav-item{
    width:100%;
  }
  .left-tabs.nav-tabs {
    flex-direction: row;
    border-right: none;
    border-left: none;
    min-width: 100%;
    border-bottom: 1px solid #dee2e6;
    left: auto;
    margin-top: auto;
  }
  .left-tabs .nav-link {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0.25rem;
    margin-right: 0;
    margin-bottom: -1px;
  }
  .left-tabs .nav-link.nav-link:hover {
    border-right-color: #dee2e6;
    border-bottom-color: transparent;
  }
  .left-tabs .nav-link.active {
    /* border-top-color: #dee2e6;
    border-right-color: #dee2e6;
    border-bottom-color: transparent;
    border-left-color: #dee2e6; */
    border-top-color: #dee2e6;
    border-right-color: #dee2e6 !important;
    border-bottom-color: #dee2e6 !important;
    border-left-color: #dee2e6;
  }
  .sideways-tabs.left-tabs .nav-item,
  .sideways-tabs.right-tabs .nav-item {
    transform: none;
    height: auto;
    width: auto;
    margin-bottom: 0;
  }
 
  
}
@media (max-width: 26em) {
  .left-tabs .nav-item{
    width:100%;
  }
  .left-tabs.nav-tabs {
    flex-direction: row;
    border-right: none;
    border-left: none;
    min-width: 100%;
    border-bottom: 1px solid #dee2e6;
    left: auto;
    margin-top: auto;
    padding-bottom: 0.25rem;
  }
  
  .sideways-tabs.left-tabs .nav-item,
  .sideways-tabs.right-tabs .nav-item {
    transform: none;
    height: auto;
    width: auto;
    margin-bottom: 0;
  }
  .sideways-tabs.left-tabs .nav-link,
  .sideways-tabs.right-tabs .nav-link,
  .nav-tabs .nav-link {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0.25rem;
    margin: 0.25rem;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  .sideways-tabs.nav-tabs .nav-link:hover,
  .nav-tabs .nav-link:hover {
    border: 1px solid #e9ecef;
    border-top-color: #e9ecef;
    border-right-color: #e9ecef;
    border-bottom-color: #e9ecef;
    border-left-color: #e9ecef;
  }
  .sideways-tabs.nav-tabs .nav-link.active,
  .left-tabs .nav-link.active,
  .right-tabs .nav-link.active {
    border-top-color: #dee2e6;
    border-right-color: #dee2e6;
    border-bottom-color: #dee2e6;
    border-left-color: #dee2e6;
  }
}
.tab-content {
  padding: 4rem;
}
