/**
  Setup for code demo only
*/
:root {
  --current-image-height: 300px;
  --thumbnails-track-height: 90px;
  --thumbnail-width: 100px;
}




/** Container */
.str-dtl-left .carousel {
  /* max-width: 660px; */
  background-color: transparent;
}


/** Current image */
.current-image {
  /* margin-bottom: 1px; */
  /* border-bottom: 2px solid #fff; */
  margin-bottom: 20px;
}

  .current-image a {
    display: block;
    /* height: var(--current-image-height); */
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 15px;
  }

    .current-image a:before {
      content: '';
      position: absolute;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      transition: box-shadow .1s linear;
    }

    .current-image a:focus {
      outline: 0;
    }

      .current-image a:focus:before {
        box-shadow: inset 0 0 0 1px black,
                    inset 0 0 0 4px white;
      }

  .current-image img {
    display: block;
    /* object-fit: cover; */
    width: 100%;
    /* height: 100%; */
  }


/** Previous and next buttons */
.button {
  background: none;
  border: 0;
  cursor: pointer;
  
  font-size: 30px;
  color: #fff;

  padding: 0;
  margin: 0 1px;
  flex: 0 0 25px;
  
  transition: all .2s linear;
}

  .button:hover {
    background-color: rgba(0,0,0,.1);
    color: #fff;
  }

  .button:focus {
    outline: none;
    background-color: #a618fc;
    color: rgba(255,255,255,1);
  }

  .button[aria-disabled="true"] {
    opacity: .5;
  }

/**
  Thumbnails container
*/
.thumbnails-track {
  display: flex;
  /* border-bottom: 2px solid #fff; */
  /* border-top: 2px solid #fff; */
  background-color: #3e2d68;
  border-radius: 15px;
  overflow: hidden;
}

.thumbnails {
  overflow: hidden;
  background-color: #000;
}

.slick-track {
  display: flex;
}


/** Single thumbnail */
.thumbnail {
  flex: 0 0 220px;
  position: relative;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

  .thumbnail-button {
    display: block;
    padding: 0;
    height: 130px;
    width: 100%;
    cursor: pointer;
    border: 0;
    background: none;
    background-color: rgba(0,0,0,.4);
    transition: opacity .1s linear;
  }

    .thumbnail-button:before {
      content: '';
      position: absolute;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      transition: box-shadow .1s linear;
    }

    .thumbnail-button:focus {
      outline: 0;
    }

      /* .thumbnail-button:focus:before {
        box-shadow: inset 0 0 0 1px black,
                    inset 0 0 0 4px white;
      } */

      .thumbnail-button:focus img,
      .thumbnail-button:hover img,
      .thumbnail-button[aria-current="true"] img {
        opacity: 1;
        filter: grayscale(0);
      }

    .thumbnail-button img {
      display: block;
      width: 100%;
      height: 100%;
      -o-object-fit: cover;
         object-fit: cover;
      
      opacity: .5;
      filter: grayscale(.6);
      transition: all .1s linear;
    }

/** Credits at bottom */
.credits {
  display: inline-block;
  margin-top: 15px;
  padding: 10px;
  font-size: 14px;
  color: black;
  text-decoration: none;
  opacity: .7;
}

  .credits img {
    height: 30px;
    margin-left: 5px;
    margin-top: -2px;
    vertical-align: middle;
  }

  .credits:hover,
  .credits:focus {
    opacity: 1;
  }