/*
 * Copyright (c) 2025 TechDivision GmbH
 * All rights reserved
 *
 * This product includes proprietary software developed at TechDivision GmbH, Germany
 * For more information see https://www.techdivision.com/
 *
 * To obtain a valid license for using this software please contact us at
 * license@techdivision.com
 */

:root {
  --swiper-theme-color: var(--color-gray-darker) !important;
  --swiper-navigation-size: 20px !important;
}

/* slider block */
.slider {
  position: relative;
  min-height: 60px;

  /* library element */

  .swiper {
    margin: 0 50px;
    overflow: hidden;

    /* wrapper */

    .swiper-wrapper {
      display: flex;
    }

    /* one slide */

    .swiper-slide {
      flex-shrink: 0;
      align-self: center;

      > div {
        margin: 0 auto;
        display: flex;
        align-items: center;
        min-height: 60px;
        justify-content: center;
        padding: 0 10px;
      }
    }
  }

  /* small slider */

  &.small {
    .swiper-slide > div {
      max-width: 150px;
    }
  }

  /* gray-scaled slider */

  &.grayscale {
    .swiper .swiper-slide {
      opacity: 0.5;
      filter: grayscale(.5);
      transition: opacity .25s ease;

      &:hover {
        opacity: 1;
        filter: none;
      }
    }
  }
}
