:root {
  --color-text: navy;
  --color-bg: papayawhip;
  --color-bg-accent: #ecdcc0;
  --size: 1rem + 40vmin;
  --gap: calc(var(--size) / 14);
  --duration: 60s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
}


.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
  -webkit-mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );

}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee--vertical .marquee__group {
  animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@keyframes scroll-y {
  from {
    transform: translateY(var(--scroll-start));
  }
  to {
    transform: translateY(var(--scroll-end));
  }
}

/* Element styles */
.marquee .logo-wrap {
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
}

.marquee--vertical img {
  width: calc(var(--size) / 1.5);
}

/* Parent wrapper */
.u3m-quotes-and-logos .wrapper {
  display: flex;
  max-width: 100vw;
}

.wrapper--vertical {
  flex-direction: row;
  height: 100vh;
}


@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}






.slider .wrapper {
  overflow: hidden;
  position: relative;
  width: 750px;
  height: auto;
//   live:  height: auto;
  z-index: 1;
}

.slides {
  display: flex;
  position: relative;
  top: 0;
  left: -750px;
  width: 10000px;
}

.slides.shifting {
  -webkit-transition: left .2s ease-out;
  transition: left .2s ease-out;
}

.slide {
  width: 750px;
  height: auto;
//   live: height: auto;
  cursor: grab;
  display: flex;
  flex-direction: row;
  transition: all 1s;
  position: relative;
  background: #FFF;
  border-radius: 2px;
}

.slide img {
  width: 300px;
}


.control {
  position: relative;
  bottom: 0;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50px;
   margin-top: 50px;
  // box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  
}

.prev,
.next {
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.prev {
  // background-image: url(//cdn2.hubspot.net/hubfs/6008059/Corporate_Lifeline_February2020/Image/left-arrow_1left-arrow.png);
  content: url(//cdn2.hubspot.net/hubfs/6008059/Corporate_Lifeline_February2020/Image/left-arrow_1left-arrow.png);
  // left: -20px;
}

.next {
  // background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronRight-512.png);
  content: url(//cdn2.hubspot.net/hubfs/6008059/Corporate_Lifeline_February2020/Image/right-arrow_1right-arrow.png);
  // right: -20px;
}

.prev:active,
.next:active {
  transform: scale(.8);
}


.slide .author{
  font-size: 16px;
  color: #7F8692;
}