/* Styles for Industry Carousel */

.carousel-label {
  --tw-text-opacity: 1;
  color: rgb(118 115 117 / var(--tw-text-opacity));
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.029rem;
  text-transform: uppercase;
}

.carousel-title {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #348ed1 -0.16%, #234b66 90.2%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.01813rem;
  line-height: 2.125rem;
  position: relative;
}

.industry-name {
font-size: 20px;
font-weight: 500;
line-height: 26px;
}

.industry-name + span {
line-height: 28px;
}

span.active .industry-name {
color: #2E77B7;
}

@media (min-width: 1280px) {
.carousel-title {
  font-size: 2.75rem;
  line-height: 3rem;
}
}
.carousel-image {
  position: relative;
  box-shadow: 0px 20px 40px -5px #37597066;
}
.carousel-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(85, 184, 217, 0) 0.34%, rgba(26, 56, 77, 0.95) 96.13%);
  z-index: 1;
  pointer-events: none;
  border-radius: 0.375rem;
}
.carousel-image:hover::before {
  background: linear-gradient(180deg, rgba(70, 172, 213, 0.6) 0.34%, #1A384D 96.13%);
}

.carousel-image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 223px;
}
.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    z-index: 2;
    text-align: left;
}
.carousel-featured {
  font-weight: 400;
  font-size: 18px;
  color: #1D1F23;
  position: relative;
}
.featured-products > img {
  margin-right: 10px;
}
.carousel-cta {
  color: #2E77B7;
  font-size: 15px;
  font-weight: 500;
  display: block;
  margin: 1.2rem 0;
  display: flex;
  align-items: center;
}

.carousel-cta:hover {
  color: #265C7F;
}

.carousel-cta::after {
  content: '';
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%225%22%20height%3D%229%22%20viewBox%3D%220%200%205%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.61798%204.17459C4.59098%204.12058%204.54597%204.06657%204.50096%204.01255L1.15225%200.672843C0.89119%200.411787%200.459098%200.411787%200.198042%200.672843C-0.0630134%200.933898%20-0.0630134%201.36599%200.198042%201.62705L1.31428%202.74328L3.09666%204.48966L0.18904%207.37927C-0.0630134%207.64033%20-0.0630134%208.06342%200.18904%208.32447C0.324069%208.4595%200.495106%208.52252%200.666142%208.52252C0.837178%208.52252%201.00821%208.4505%201.14324%208.32447L4.49196%204.97576C4.54597%204.92175%204.59098%204.85873%204.62699%204.78672C4.672%204.6967%204.69%204.59768%204.69%204.49866C4.69%204.38163%204.66299%204.27361%204.60898%204.18359L4.61798%204.17459Z%22%20fill%3D%22%232E77B7%22%2F%3E%3C%2Fsvg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 8px;
  margin-top: 2px;
  transition: transform 0.5s ease;
}

.carousel-content > .carousel-cta::after {
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%225%22%20height%3D%229%22%20viewBox%3D%220%200%205%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.61798%204.17459C4.59098%204.12058%204.54597%204.06657%204.50096%204.01255L1.15225%200.672843C0.89119%200.411787%200.459098%200.411787%200.198042%200.672843C-0.0630134%200.933898%20-0.0630134%201.36599%200.198042%201.62705L1.31428%202.74328L3.09666%204.48966L0.18904%207.37927C-0.0630134%207.64033%20-0.0630134%208.06342%200.18904%208.32447C0.324069%208.4595%200.495106%208.52252%200.666142%208.52252C0.837178%208.52252%201.00821%208.4505%201.14324%208.32447L4.49196%204.97576C4.54597%204.92175%204.59098%204.85873%204.62699%204.78672C4.672%204.6967%204.69%204.59768%204.69%204.49866C4.69%204.38163%204.66299%204.27361%204.60898%204.18359L4.61798%204.17459Z%22%20fill%3D%22%23B8E6F0%22%2F%3E%3C%2Fsvg%3E');
}

/*.carousel-cta:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.45695 6.85427C3.19736 7.11385 3.19736 7.5435 3.45695 7.80308C3.59121 7.93734 3.76128 8 3.93135 8C4.10142 8 4.27149 7.92839 4.40576 7.80308L7.73555 4.47329C7.78925 4.41958 7.83401 4.35692 7.86981 4.28531C7.91457 4.1958 7.93247 4.09734 7.93247 3.99888C7.93247 3.88252 7.90562 3.7751 7.85191 3.68559C7.82506 3.63189 7.7803 3.57818 7.73555 3.52448L4.40576 0.194685C4.14618 -0.0648951 3.71653 -0.0648951 3.45695 0.194685C3.19736 0.454266 3.19736 0.883916 3.45695 1.1435L5.641 3.32755H0.671329C0.304336 3.32755 0 3.63189 0 3.99888C0 4.36587 0.304336 4.67021 0.671329 4.67021H5.641L3.45695 6.85427Z' fill='%23265C7F'/%3E%3C/svg%3E%0A");
  transform: translateX(5px);
}*/

.img-desc {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 300;
}

.carousel-count {
  font-weight: 400;
  font-size: 32px;
  color: #265C7F;
  padding-bottom: .2em;
  position: relative;
}

.carousel-count::before,
.carousel-featured::before {
  content: '';
  display: block;
  width: 3px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="24" viewBox="0 0 3 24" fill="none"><path d="M1.5 1.56348V22.2141" stroke="%238DD5E7" stroke-width="3" stroke-linecap="round"/></svg>') no-repeat center;
  position: absolute;
  top: 13px;
  left: -13px;
}

.carousel-count::after,
.carousel-featured::after {
    content: '';
    display: block;
    width: 2px;
    height: 121px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="121" viewBox="0 0 2 121" fill="none"><path opacity="0.77" d="M1 121V0" stroke="url(%23paint0_linear_3771_28264)" stroke-dasharray="4 6"></path><defs><linearGradient id="paint0_linear_3771_28264" x1="2.01796" y1="-0.000410939" x2="1" y2="-0.000410939" gradientUnits="userSpaceOnUse"><stop stop-color="%238DD5E7" stop-opacity="0"></stop><stop offset="1" stop-color="%238DD5E7"></stop></linearGradient></defs></svg>') no-repeat center;
    position: absolute;
    top: 13px;
    left: -13px;
}

.carousel-featured::before {
  top : 5px;
}

.carousel-info {
    color: #1D1F23;
    font-weight: 300;
    font-size: 18px;
    min-height: 54px;
}

.carousel-content > .carousel-cta {
  color: #B8E6F0;
}

.carousel-content > .carousel-cta::after {
  margin-top: 0 !important;
}

.carousel-content > .carousel-cta:hover {
  color: #ffffff;
}

/*.carousel-content > .carousel-cta:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='9' viewBox='0 0 8 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.45695 7.35427C3.19736 7.61385 3.19736 8.0435 3.45695 8.30308C3.59121 8.43734 3.76128 8.5 3.93135 8.5C4.10142 8.5 4.27149 8.42839 4.40576 8.30308L7.73555 4.97329C7.78925 4.91958 7.83401 4.85692 7.86981 4.78531C7.91457 4.6958 7.93247 4.59734 7.93247 4.49888C7.93247 4.38252 7.90562 4.2751 7.85191 4.18559C7.82506 4.13189 7.7803 4.07818 7.73555 4.02448L4.40576 0.694685C4.14618 0.435105 3.71653 0.435105 3.45695 0.694685C3.19736 0.954266 3.19736 1.38392 3.45695 1.6435L5.641 3.82755H0.671329C0.304336 3.82755 0 4.13189 0 4.49888C0 4.86587 0.304336 5.17021 0.671329 5.17021H5.641L3.45695 7.35427Z' fill='white'/%3E%3C/svg%3E%0A") !important;
}*/

@media (max-width: 767px) {
  .img-desc {
    font-size: 18px;
  }

  .industry-name {
    font-size: 18px;
    line-height: 24px;
  }


  .industry-name + span {
    font-size: 16px;
    line-height: 26px;
  }

  .carousel-module {
    opacity: 0.3;
    transition: opacity 0.5s ease-in-out;
  }

  .carousel-module.inview {
    opacity: 1;
  }

  .carousel-content > .carousel-cta {
    margin-bottom: 0;
  }

  .carousel-count {
    font-size: 22px;
  }

  .carousel-info {
    font-size: 15px;
    line-height: 18px;
    min-height: 55px;
  }

  .carousel-info {
    font-size: 15px;
    line-height: 18px;
  }

  .carousel-count::before {
    top: 5px;
  }

  .carousel-featured::before {
    top: 2px;
  }

  .carousel-scroll-xs {
    scrollbar-color: #348ED1 #E2E0E0;
    scrollbar-width: thin;
    overflow-x: scroll;
    scroll-behavior: smooth;
    padding-bottom: 1.5rem;
  }
}

span[role="progressbar"] > span
{
  background-color: #265C7F;
}
