.testimonial-tabs {
  position: relative;
}
.testimonial-tabs .tab-box {
  display: flex;
}
.testimonial-tabs .tab-box .tab-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-tabs .tab-box .tab-header,
.testimonial-tabs .tab-box .content-wrapper {
  flex-direction: column;
}
.testimonial-tabs .tab-box .tab-header {
  width: 70%;
  display: flex;
  padding-top: 20px;
  border: 1px solid #515b64;
}
.tab-links.prev-active .circle-block .bg {
  background: linear-gradient(
    180deg,
    rgba(201, 48, 18, 0) 0%,
    rgba(201, 48, 18, 0.21) 50.25%,
    rgba(201, 48, 18, 0.54) 100%
  ) !important;
}
.testimonial-tabs .tab-box .tab-header .tab-links.active .circle-block .circle {
  background-color: #c93012;
}
.testimonial-tabs .tab-box .tab-header .tab-links {
  border: none;
  outline: none;
  display: flex;
  cursor: pointer;
  min-height: 270px;
  position: relative;
  line-height: normal;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: row-reverse;
  padding: 0px 10px 10px 10px;
  background-color: transparent;
}
.testimonial-tabs .tab-box .tab-header .tab-links:before {
  left: 0;
  z-index: 0;
  bottom: 0px;
  width: 100%;
  content: '';
  opacity: 0.5;
  height: 0.5px;
  position: absolute;
  background-color: #8d8d8d;
}

.testimonial-tabs .tab-box .tab-header .tab-links:last-child .circle-block .bg {
  display: none;
}
.testimonial-tabs .tab-box .tab-header .tab-links .number,
.testimonial-tabs .tab-box .tab-header .tab-links .tab-title,
.testimonial-tabs .tab-box .tab-header .tab-links .sub-heading {
  font-weight: 300;
  font-family: 'Polysans', Sans-serif;
}
.testimonial-tabs .tab-box .tab-header .tab-links .number,
.testimonial-tabs .tab-box .tab-header .tab-links .tab-title,
.testimonial-tabs .tab-box .tab-header .tab-links .sub-heading,
.testimonial-tabs .tab-box .tab-content p {
  color: white;
}
.testimonial-tabs .tab-box .tab-header .tab-links .tab-title,
.testimonial-tabs .tab-box .tab-header .tab-links .sub-heading {
  padding-left: 10px;
}
.testimonial-tabs .tab-box .tab-header .tab-links .tab-title {
  z-index: 1;
  font-size: 18px;
  text-align: left;
  max-width: 100px;
  line-height: 20px;
  margin: 20px 0px 0px;
}
.testimonial-tabs .tab-box .tab-header .tab-links:last-child .tab-title {
  max-width: 50px;
}
.testimonial-tabs .tab-box .tab-header .tab-links .number {
  letter-spacing: 0.3px;
}
.testimonial-tabs .tab-box .tab-header .tab-links .circle-block .circle {
  z-index: 1;
  width: 80px;
  height: 80px;
  display: flex;
  border-radius: 50%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: #456b73;
  transition: all 0.25s linear;
}
.testimonial-tabs .tab-box .tab-header .tab-links .circle-block {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-tabs .tab-box .tab-header .tab-links .circle-block::before {
  top: 0px;
  left: 50px;
  z-index: 1;
  width: 1px;
  content: '';
  height: 100%;
  position: absolute;
  background-color: #adc7d1;
}
.testimonial-tabs
  .tab-box
  .tab-header
  .tab-links:first-child
  .circle-block:before {
  top: 15px;
}
.testimonial-tabs
  .tab-box
  .tab-header
  .tab-links:last-child
  .circle-block:before {
  height: calc(100% - 15px);
}
.testimonial-tabs .tab-box .tab-header .tab-links:nth-child(2) {
  min-width: 25%;
  height: 300px;
}
.testimonial-tabs .tab-box .tab-header .tab-links:nth-child(3) {
  height: 350px;
}
.testimonial-tabs .tab-box .tab-header .tab-links:nth-child(4) {
  height: 290px;
}
.testimonial-tabs .tab-box .tab-header .tab-links:last-child {
  height: 275px;
  min-width: 20%;
}
.testimonial-tabs .tab-box .tab-header .tab-links:last-child:before {
  content: none;
}
.testimonial-tabs
  .tab-box
  .tab-header
  .tab-links:last-child
  .circle-block:after {
  width: 0;
  height: 0;
  z-index: 1;
  content: '';
  bottom: 15px;
  position: absolute;
  border-top: 8px solid white;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}
.testimonial-tabs .tab-box .tab-header .tab-links .circle-block .bg {
  top: 40px;
  left: 13px;
  z-index: 0;
  width: 74px;
  height: 100%;
  position: absolute;
  transition: background 0.23s linear;
  background: linear-gradient(
    180deg,
    rgba(173, 199, 209, 0.25) 0%,
    #58808b 100%
  );
}
.testimonial-tabs .tab-box .tab-header .tab-links .sub-heading {
  margin: 0px;
  padding: 0px;
  font-size: 15px;
  letter-spacing: 0.3px;
}
.testimonial-tabs .tab-box .tab-content p {
  margin: 0;
  font-size: 14px;
  text-align: left;
  line-height: 20px;
  letter-spacing: 0.3px;
}
.testimonial-tabs .tab-box .tab-wrapper .tab-content {
  top: 25px;
  width: 20%;
  display: flex;
  height: fit-content;
  visibility: hidden;
  position: relative;
  padding: 20px 15px;
  border: 1px solid #515b64;
}
.testimonial-tabs .tab-box .tab-wrapper .tab-content:before {
  width: 0;
  height: 0;
  top: -10px;
  left: 10px;
  content: '';
  position: absolute;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #c93012;
}
.testimonial-tabs .tab-box .content-wrapper {
  display: flex;
}
.testimonial-tabs .tab-box .tab-wrapper .tab-content.mobile {
  top: 85px;
  left: 50%;
  padding: 15px;
  position: absolute;
  background-color: #0a2133;
  visibility: visible !important;
  width: min(100%, var(--container-max-width, 1140px)) !important;
}
.desktop {
  display: none !important;
}
.mobile {
  display: block !important;
}

/* CSS styles for mobile landscape screens only */
@media (orientation: landscape) and (max-height: 450px) {
} /* landscape */

@media (min-width: 767px) {
  .testimonial-tabs
    .tab-box
    .tab-header
    .tab-links:first-child
    .circle-block:before {
    left: 10px;
    top: unset;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block::before {
    left: 0px;
    top: unset;
    height: 1px;
    width: 100%;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links {
    flex-grow: 1;
    flex-basis: 0;
    min-height: auto;
    flex-direction: column;
    height: auto !important;
    align-items: flex-start;
    justify-content: center;
    padding: 15px 10px 10px 0px;
    transition: all 0.23s linear;
    border-right: 1px solid #515b64;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:first-child {
    width: 8%;
    padding-left: 10px;
  }
  .testimonial-tabs .tab-box .tab-header,
  .testimonial-tabs .tab-box .content-wrapper {
    flex-direction: row;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(4) .tab-title {
    max-width: 150px;
    line-height: 50px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:last-child .tab-title {
    max-width: 100px;
    line-height: 50px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .bg {
    z-index: 0;
    top: auto;
    left: 25px;
    width: 100%;
    height: 45px !important;
    position: absolute;
    background: linear-gradient(
      90deg,
      rgba(173, 199, 209, 0.25) 0%,
      #58808b 100%
    );
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .circle {
    width: 50px;
    height: 50px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .tab-title {
    max-width: 90px;
    font-size: 16px;
    margin: 0 0 10px;
    text-align: left;
    line-height: 25px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .number {
    font-size: 14px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .sub-heading {
    font-size: 13px;
    margin: 10px 0px 0px 10px;
  }
  .testimonial-tabs .tab-box .tab-wrapper .tab-content {
    padding: 10px 10px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(2) {
    min-width: 22%;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(3) {
    min-width: 22%;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:last-child {
    height: auto;
    min-width: 19%;
    border-right: 0;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block::before {
    right: 0px;
    left: unset;
    width: 100%;
    bottom: unset;
    height: 0.5px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:last-child:before {
    content: none;
  }
  .testimonial-tabs .tab-box .tab-content p {
    font-size: 14px;
    line-height: 20px;
  }
  .testimonial-tabs .tab-box .tab-header {
    width: 100%;
    padding-top: 0;
  }
  .testimonial-tabs .tab-box .tab-wrapper .tab-content.mobile {
    display: none !important;
  }
  .desktop {
    display: flex !important;
  }
  .mobile {
    display: none !important;
  }
  .tab-links.prev-active .circle-block .bg {
    background: linear-gradient(
      90deg,
      rgba(201, 48, 18, 0) 0%,
      rgba(201, 48, 18, 0.21) 50.25%,
      rgba(201, 48, 18, 0.54) 100%
    ) !important;
  }
  .testimonial-tabs
    .tab-box
    .tab-header
    .tab-links:last-child
    .circle-block:before {
    left: 0;
    height: 1px;
    width: calc(100% - 15px);
  }
  .testimonial-tabs
    .tab-box
    .tab-header
    .tab-links:last-child
    .circle-block:after {
    right: 8px;
    bottom: auto;
    transform: translateY(-0.5px);
    border-left: 8px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }
} /* 767px */

@media (min-width: 880px) {
}
@media (min-width: 1024px) {
  .testimonial-tabs .tab-box .tab-header .tab-links {
    flex-basis: unset;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .bg {
    left: 30px;
    height: 55px !important;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .circle {
    width: 60px;
    height: 60px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(4) .tab-title {
    max-width: 150px;
    line-height: 50px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:last-child .tab-title {
    /* line-height: 50px; */
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .tab-title {
    max-width: 100px;
    font-size: 18px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .number {
    font-size: 16px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .sub-heading {
    font-size: 14px;
  }
  .testimonial-tabs .tab-box .tab-wrapper .tab-content {
    padding: 20px 10px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(2) {
    min-width: unset;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(3) {
    min-width: unset;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:last-child {
    min-width: unset;
  }
} /* 1024px */

@media (min-width: 1366px) {
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .bg {
    left: 35px;
    height: 65px !important;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .circle {
    width: 70px;
    height: 70px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .number {
    font-size: 20px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .sub-heading {
    font-size: 18px;
  }
  .testimonial-tabs .tab-box .tab-wrapper .tab-content {
    padding: 20px 15px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(4) .tab-title,
  .testimonial-tabs .tab-box .tab-header .tab-links:last-child .tab-title {
    line-height: 50px;
  }
} /* 1366px */

@media (min-width: 1700px) {
  .testimonial-tabs .tab-box .tab-content p {
    line-height: 30px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .circle {
    width: 80px;
    height: 80px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .circle-block .bg {
    left: 40px;
    height: 75px !important;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .tab-title {
    font-size: 25px;
    max-width: 131px;
    line-height: 35px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .number {
    font-size: 23px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links .sub-heading {
    font-size: 20px;
  }
  .testimonial-tabs .tab-box .tab-header .tab-links:nth-child(4) .tab-title,
  .testimonial-tabs .tab-box .tab-header .tab-links:last-child .tab-title {
    line-height: 70px;
  }
} /* 1700px */
