﻿.home-slide-combo {
  display: none;
}

.home-slide-grid-container {
  display: grid;
  position: relative;
  margin-top: 30px;
  border: none;
  padding: 0px;
  grid: auto / calc((100% - 30px)/2) calc((100% - 30px)/2);
  grid-gap: 0px 30px;
  background-color: transparent;
}

.home-slide-title {
  margin: auto;
  border: none;
  background-color: transparent;
  text-align: left;
  color: var(--grey-020);
  font-weight: bold;
  text-decoration: none;
}

  .home-slide-title div:first-child {
    white-space: nowrap;
    font-size: 25px;
  }

  .home-slide-title div:nth-child(2) {
    font-size: 20px;
  }

.home-slide {
  position: relative;
  cursor: pointer;
}

  .home-slide img {
    width: 100%;
    object-fit: cover;
  }

.home-slide-number {
  position: absolute;
  top: 0;
  padding: 8px 12px;
  color: var(--grey-020);
  font-size: 12px;
}

.home-slide-caption {
  position: absolute;
  bottom: 8px;
  width: 100%;
  padding: 8px 12px;
  color: var(--grey-020);
  font-size: 15px;
  text-align: center;
}

.home-slide-prev, .home-slide-next {
  display: none;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  transform: translate(0%, -50%);
  color: var(--grey-020);
  font-size: 18px;
  font-weight: bold;
  transition: 0.6s ease;
  user-select: none;
  cursor: pointer;
}

  .home-slide-prev:hover, .home-slide-next:hover {
    background-color: rgba(0,0,0,0.5);
  }

.home-slide-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.home-slide-thumbnails {
  display: none;
  text-align: center;
}

.home-slide-thumbnail {
  display: inline-block;
  margin: 0 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--grey-070);
  transition: background-color 0.6s ease;
  cursor: pointer;
}

  .home-slide-active, .home-slide-thumbnail:hover {
    background-color: var(--grey-030);
  }

.home-slide-fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .7
  }

  to {
    opacity: 1
  }
}

@media screen and (max-width: 1280px) {
  .home-slide-title div:first-child {
    font-size: 20px;
  }

  .home-slide-title div:nth-child(2) {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .home-slide-title {
    margin: auto;
    margin-left: 20px;
  }

    .home-slide-title div:first-child {
      font-size: 16px;
    }

    .home-slide-title div:nth-child(2) {
      font-size: 12px;
    }
}
