

.animated-tabs .animated-tabs__content {
  position: relative;
}

.animated-tabs .animated-tabs__nav {
  padding: 20px;
}

.animated-tabs .animated-tabs__labels li a > * {
  padding: 1rem;
  {#white-space: nowrap;#}
  display: block;
}

.animated-tabs .animated-tabs__labels li a > *:last-child {
  padding-right: 1rem;
}

.animated-tabs .animated-tabs__labels li + li {
  margin-top: 1rem;
}

.animated-tabs .animated-tabs__labels li.active a {
  background-color: #eeeeee;
}

.animated-tabs .animated-tabs__labels a {
  position: relative;
  text-decoration: none;
}

.animated-tabs .animated-tabs__labels a:hover {
  text-decoration: none;
}

.animated-tabs .animated-tabs__labels a:before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  width: 0;
  z-index: 0;
  min-width: 0;
  content: '';
  left: 100%;
}

.animated-tabs .animated-tabs__labels li a {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.animated-tabs .animated-tabs__labels li a span:first-child {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 1rem 2rem;
  font-size: 2.5rem;
  font-weight: bold;
  max-width: 60px;
}

.animated-tabs .animated-tabs__labels li a span:last-child {
  color: rgba(0, 51, 102, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: bold;
  max-width: 350px;
}

.animated-tabs .animated-tabs__content {
  background-color: #EEEEEE;
}

.animated-tabs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 350px;
}

.animated-tabs__wrap {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.animated-tabs__wrap * {
  height: 100%;
}

@media screen and (min-width: 768px){
  .animated-tabs .tab-content:not(.active) {
    opacity: 0;
    z-index: 0;
    max-height: 0;
    overflow: clip;
  }

  .animated-tabs .tab-content.active {
    opacity: 1;
    z-index: 10;
    max-height: 10000px;
    height: 100%;
  }
}

.animated-tabs .tab-content .tab-content__inner {
  padding: 45px 20px;
  min-height: 33vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.tab-dot {
  position: relative;
}

.tab-dot a:hover{
  text-decoration: none !important;
}

.tab-dot.active:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
}


@media screen and (max-width:767px) {
  .animated-tabs .animated-tabs__content {
    margin-top: 30px;
  }
  
  .animated-tabs .tab-content .tab-content__inner{
    min-height: fit-content;
  }

}

@media screen and (min-width:768px) {
  .animated-tabs .animated-tabs__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .animated-tabs .animated-tabs__content {
    width: 50%;
    max-width: 460px;
  }
  .animated-tabs .animated-tabs__labels li.active a:before {
    min-width: 150%;
  }
}