/* :root {
  --slideshow-d-h: 60vh;
} */

.header-logo-sm {
  display: inline;
  width: 60px;
  height: 40px;
}
.header-logo-lg {
  display: none;
}

.rmc-title {
  font-size: 28px;
  line-height: 0;
  letter-spacing: inherit;
  text-transform: inherit;
  margin: 0;
}

.hero-slideshow-container,
.hero-slideshow-container .carousel-item img {
  height: 400px;
}

.hero-slideshow-container .carousel-item img {
  width: auto;
}
/*
.hero-slideshow-bkg {
  position: relative;
  width: 100%;
  overflow: clip;
}

.blur {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url(../img/fixing.webp);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: blur(9px);
  transform: scale(1.05);
}
*/
/* .color-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, .7);
} */

.hero-slideshow-container .carousel-caption {
  bottom: 3.125rem;
}

.hero-slideshow-container .carousel-caption p {
  font-size: 0.75rem;
}

.hero-slideshow-container .carousel-caption {
  bottom: 3.125rem;
}

.hero-slideshow-container .carousel-caption p {
  font-size: 0.75rem;
}

.hero-slideshow-container .carousel-indicators [data-bs-target] {
    background-color: #cccccc;
    background-color: rgba(204, 204, 204, 0.5);
    width: 40px;
    height: 10px;
    border-radius: 5px;
    margin-right: 5px;
    margin-left: 5px;
    border-top: none;
    border-bottom: none;
    transition: background-color .3s ease-in-out;
}

.hero-slideshow-container .carousel-indicators .active {
  background-color: #e4002b;
  background-color: rgba(228, 0, 43, 1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 6%;
  opacity: .8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 4rem;
  height: 4rem;
}

.product-card-container {
  padding-top: 50px;
  padding-bottom: 50px;
}

.product-card-link {
  display: flex;
  text-decoration: none;
  position: relative;
}

.product-card {
  position: relative;
  display: flex;
  justify-content: flex-end;
  max-width: 420px;
  height: 600px;
  overflow: clip;
  border: 1px solid transparent;
  border-radius: 12px;
  margin: 0 auto;
}

.product-card .product-card-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate( -50%, -50%);
  width: auto;
  height: 104%;
}

.product-card .text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  margin: 24px 16px 14px 16px;
  padding: 10px;
  border: 2px solid #e4002b;
  border-radius: 12px;
  z-index: 2;
  background-color: #fff;
}

.product-card .text-container .rmc-ty-display-xs {
  font-size: 26px;
  margin-bottom: 12px;
}

.product-card .rmc-btn {
  width: 80%;
  line-height: 1.2;
  justify-content: center;
}

.product-card-overlay {
  display: none;
}

.footer-container {
  margin-bottom: 60px;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .product-card {
    height: 400px;
    max-width: 300px;
  }

  .product-card .text-container .rmc-ty-display-xs {
    font-size: 18px;
    line-height: 1.2
  }

  .product-card .rmc-btn {
    width: 100%;
  }

  .product-card .text-container {
    min-height: 170px;
  }

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .header-logo-sm {
    display: none;
  }
  .header-logo-lg {
    display: inline;
    width: 105px;
    height: 90px;
  }
  .training-card {
    margin-left: 4px;
    margin-right: 4px;
    width: calc(33.33333333% - 8px);
  }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .rmc-title {
    font-size: 3.75rem;
  }

  .product-card-container {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .product-card {
    height: 600px;
    width: 100%;
    max-width: initial;
  }

  .product-card-link .product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
    display: flex;
    background: rgba( 255, 255, 255, .85);
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    max-width: 420px;
    height: 600px;
    border: 1px solid transparent;
    border-radius: 12px;
    margin: 0 auto;
    padding: 10px 20px;
  }

  .product-card-link:hover .product-card-overlay {
    opacity: 1;
  }

  .product-card-overlay p {
    text-align: start;
    text-decoration: none;
    color: #000;
  }

  .product-card .rmc-btn{
    width: 80%;
  }

  .product-card .text-container {
    min-height: 160px;
  }

  .hero-slideshow-container,
  .hero-slideshow-container .carousel-item img {
    height: 100%;
  }

  .hero-slideshow-container .carousel-item img {
    width: 100%;
  }

  .hero-slideshow-container .carousel-caption p {
    font-size: 1.25rem;
  }

  .product-card .text-container .rmc-ty-display-xs {
    font-size: 26px;
  }
}

/* // X-Large devices (large desktops, 1200px and up) */
/* @media (min-width: 1200px) { ... } */

/* // XX-Large devices (larger desktops, 1400px and up) */
/* @media (min-width: 1400px) { ... } */
