
.services-carousel {
  position: relative;
}

.service-holder .service-container {
  position: relative;
  z-index: 2;
}

.service-list.minimal li {
  text-align: right;
  padding-right: 16px;
  border-right: 2px solid #1C1C1C;
  color: #1C1C1C;
  margin-bottom: 8px;
  cursor: pointer;
  text-transform: uppercase;
  line-height: 28px;
  font-size: 12px;
  min-width: 130px;
}

.service-list.minimal li.s-active,
.services-carousel.research .service-list.minimal li.s-active {
  color: #BA4D17;
  border-color: #BA4D17;
  font-weight: 900;
}

@media screen and (max-width: 767px) {
  .service-list {
    margin-bottom: 24px;
  }
  .services-carousel.research .service-list.minimal li {
    width: 28px;
    max-width: 28px;
    min-width: 28px;
    border-bottom: 2px solid #1C1C1C;
    padding-bottom: 16px;
    height: 18px;
    overflow: hidden;
    border-right: 0;
    color: transparent !important;
    margin-right: 6px;
    margin-left: 6px;
  }
}

.service-holder.minimal ul.service-child-list  {
  text-align: center;
}

.service-holder.minimal ul.service-child-list li {
  width:32px; 
  height: 2px;
  background: #1C1C1C;
  display: inline-block;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
}
.service-holder.minimal ul.service-child-list li.s-active {
  background: #BA4D17;
}

.service-holder {
  height: auto;
  position: relative;
  transition: height .4s ease-in-out;
}
.service-child {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity .6s ease-in-out, visibility 0s .6s;
  display: flex;
}

.service-child.s-active {
  visibility: visible;
  opacity: 1;
  transition: opacity .6s ease-in-out, visibility 0s 0s;
  position: relative;
}

.service-holder.minimal .service-child .service-img{
  position: relative;
}

.service-holder.minimal .service-child .service-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.service-holder.minimal .service-carousel-accent {
  background:url('/wp-content/uploads/2021/06/paper-airplane-accent.png');
  background-repeat: no-repeat;
  background-size: 619px 511px;
  width: 619px;
  height: 321px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.services-carousel.extended .service-carousel-accent {
  background:url('/wp-content/uploads/2021/06/paper-airplane-accent-2.png');
  background-repeat: no-repeat;
  background-size: 603px 511px;
  width: 603px;
  height: 176px;
  position: absolute;
  bottom: 0;
  right: 0;
  background-position: center;
}

.service-img .next, .service-img .prev {
  display: none;
}

.services-carousel .service-container p {
  font-size: 16px;
}

@media screen and (max-width: 991px) {

  .service-parent-section {
    background-image: none !important;
  }
  .service-holder.minimal .service-child {
    flex-direction: column;
  }

  .service-img .next, .service-img .prev {
    display: block;
    height: 20px;
    width: 12px;
    background-size: 100% 100%;
    position: absolute;
    top: calc(50% - 10px);
    cursor: pointer;
  }

  .service-img .s-disable {
    opacity: 0.5;
    cursor: default;
  }

  .service-img .prev {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.835 18.1301L10.065 19.9001L0.164961 10.0001L10.065 0.100098L11.835 1.8701L3.70496 10.0001L11.835 18.1301H11.835Z' fill='%23F6F2F0'/%3E%3C/svg%3E%0A");
    left: 16px;
  }
  .service-img .next {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.165039 18.1301L1.93504 19.9001L11.835 10.0001L1.93504 0.100098L0.165039 1.8701L8.29504 10.0001L0.165039 18.1301H0.165039Z' fill='%23F6F2F0'/%3E%3C/svg%3E%0A");
    right: 16px;
  }
  .service-holder.minimal .service-child .service-img {
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin: 0 auto;
  }

  .service-holder.minimal .service-carousel-accent {
    display: none;
  }

  .service-list.extended {
    white-space: nowrap;
    overflow-y: scroll;
  }

  .service-list.extended::-webkit-scrollbar {
    display: none;
  }

  .service-holder.extended .service-child {
    flex-direction: column;
  }
  .service-holder.extended .service-child .service-image{
    text-align: center;
    height: 0 !important; 
    margin-bottom: 40px;
    min-width:unset !important;
    padding-top: 80%;
    position: relative;
    overflow: hidden;
  }

  .service-holder.extended .service-child .service-image img{
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 15%;
  }
  .service-holder.extended {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }
}


.service-child h3 {
  margin-bottom: 33px;
}

.service-child p {
  font-size: 16px;
  line-height: 140%;
}
.services-carousel .service-child .service-container p {
  font-size: 16px !important;
  line-height: 140%;
}
.service-list.extended {
  height: 44px;
  text-align: center;
}

.service-list.extended li {
  text-align: center;
  margin-right: 60px;
  border-bottom: 2px solid transparent;
  color: #1C1C1C;
  cursor: pointer;
  display: inline-block;
  height: 100%;
  line-height: 44px;
  text-transform: uppercase;
  font-size: 12px;
}
.service-list.extended li:hover {
  font-weight: bold;
}

.service-list.extended li:last-of-type {
  margin-right: 0px; 
}

.service-list.extended li.s-active {
  color: #BA4D17;
  border-color: #BA4D17;
  font-weight: 900;
}

.service-holder.extended {
  margin-top: 77px;
  margin-bottom: 77px;
}


.service-holder.extended .service-child .service-image {
  min-width: 388px;
  height: 647px
}
.service-holder.extended h5 {
  text-transform: uppercase;
  font-size: 12px;
}

.service-holder.extended .service-sidebar ul {
  padding-left: 30px;
  list-style-type:disc;
}
.service-holder.extended .service-sidebar ul li {
  font-size: 16px;
}


.research .service-child img {
  min-width: 50%;
  height: auto;
  padding: 0 40px;
  object-fit: contain;
  object-position: top;
}
.research .service-child .service-container {
  min-width: 50%;
}


@media screen and (max-width: 991px) {
  .service-list-wrap.extended {
    position: relative;
  }
  .service-list-wrap.extended:after {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 100px;
    right: 0;
    top: 0;
    background: rgb(246,242,240);
    background: linear-gradient(90deg, rgba(246,242,240,0) 0%, rgba(246,242,240,1) 95%);
    pointer-events: none;
  }
  .service-list.extended li {
    margin-right: 24px;
  }
}