
/* switch-images */


.switch-images {
  position: relative;
  width: 100%;
  height: 180px;
  display:flex;
  margin: 0 auto;
  overflow: hidden;
  transition: all 0.1s ease-in-out;
}
 
.image-switch {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  transition: all 0.1s ease-in-out;
}
 
.switch-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.image-switch-item {
  width: 100%;
  transition: all 0.1s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5px;
}

.image-switch.2images .image-switch-item{
	  width: 50%;
}
.image-switch.3images .image-switch-item{
	  width: 33.33%;
}
.image-switch.4images .image-switch-item{
	  width: 25%;
}
.image-switch .image-switch-item.hidden{
	  display:none;
}
 
.image-switch-item::after {
  content: "";
  width: 90%;
  margin: 0 auto;
  height: 3px;
  background-color: rgba(255,255,255, 0.4);
  border-radius: 10px;
  z-index: 2;
  position: relative;
  transition: all 0.1s ease-in-out;
}
 
.switched-image {
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  z-index: 2;
  transition: all 0.1s ease-in-out;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
 
.switch-images:hover .image-switch {
  opacity: 1;
  transition: all 0.1s ease-in-out;
}
 
.image-switch-item:hover .switched-image {
  transition: all 0.1s ease-in-out;
  opacity: 1;
  z-index: -1;
}
 
.image-switch-item:hover::after {
  background-color: #fff;
  transition: all 0.1s ease-in-out;
}


