/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

.wrapper{
  /* display: flex; */ 
  max-width: 100% - 50px;  
  margin: auto; 
  position: relative; 
}
.wrapper .steer-icon{ 
  top: 50%;
  height: 44px;
  width: 44px; 
  color: #343F4F;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%); 
  transition: transform 0.1s linear;
}
.wrapper .steer-icon:active{
  transform: translateY(-50%) scale(0.9);
}
.wrapper .steer-icon:hover{
  background: #f2f2f2;
}
.wrapper .steer-icon:first-child{
  left: -22px;
  display: none;
  box-shadow: 1px 1px 5px 0px rgb(0, 0, 0, 0.2); 
} 
.wrapper .steer-icon:last-child{
  right: -22px;
  box-shadow: 1px 1px 5px 0px rgb(0, 0, 0, 0.2); 
}
.wrapper .carousel{ 
  font-size: 0px;
  cursor: default; 
  overflow: hidden;
  text-align: center;
  white-space: nowrap; 
  scroll-behavior: smooth; 
  font-family: var(--text-font);
}

.carousel
,.inner-carousel {
  padding: 0;   
} 
.carousel.dragging{
  cursor: grab;
  scroll-behavior: auto;
}
.carousel.dragging .carousel-item{
  pointer-events: none;
}

.carousel .carousel-item
, .inner-carousel .carousel-item{  
  margin-left: 20px;   
  position: relative;
  display: inline-block; 
  height: 250px;  
  cursor: pointer; 
  text-align: left; 
  /* box-shadow: 3px 3px 5px 0px rgb(0, 0, 0, 0.4);  */
  width: calc(100% / 4);        
  min-width: 360px;      
  border-radius: 10px;   
  transition: 0.15s;  
  overflow: hidden;  
  border: solid rgba(0, 0, 0, 0.75) 4px; 
  border-style: groove ; 
}     
/* .carousel .carousel-item:hover{
  border: solid rgba(208, 208, 38, 0.5) 5px;
}   */ 

.lg-backdrop{
  background-color: rgb(0, 0, 0 , 0.85 )  !important;
}
.lg-outer .lg-thumb-outer{ 
  background-color: transparent !important;  
}
 
.gallery_compact{  
  border: none !important; 
}

.gallery_compact .carousel-item{
  margin: 0;  
  position: absolute !important; 
  min-width: 352px; 
  height: 242px;  
} 

.gallery_compact > .carousel-item:nth-child(1){
  z-index: 3;
}
.gallery_compact > .carousel-item:nth-child(2){
  z-index: 2;
}
.gallery_compact > .carousel-item:nth-child(3){
  z-index: 1; 
}

.gallery_compact > .carousel-item:nth-child(1),
.gallery_compact > .carousel-item:nth-child(2),
.gallery_compact > .carousel-item:nth-child(3){
  transition: 0.4s !important;  
}    
 
.gallery_compact > .carousel-item:nth-child(1):hover {
  transform: translate(8px, 8px)     
}    
.gallery_compact > .carousel-item:nth-child(1):hover ~ .carousel-item:nth-child(2){
  transform: translate(4px, 4px)
}  

/* ANIMATION 2 */
/* .gallery_compact > .carousel-item:nth-child(1) {
  top: 8px;
  left: 8px;   
}    
.gallery_compact > .carousel-item:nth-child(2){ 
  top: 4px; 
  left: 4px; 
}   

.gallery_compact > .carousel-item:nth-child(1):hover{
  transform: translate(-8px, -8px)      
}
.gallery_compact > .carousel-item:nth-child(1):hover ~ .carousel-item:nth-child(2) {
  transform: translate(-4px, -4px)     
}     */ 

.carousel .carousel-item .item-overlay{
  position: absolute;  
  height: 100%;
  width: 100%;
  background-color: transparent; 
  text-align: center; 
  transition: 0.15s;   
  padding: 20px;   
  align-content: end;  
} 
.carousel .carousel-item .item-overlay .overlay_contents p{
  align-self: flex-end; 
} 
.carousel .carousel-item .item-overlay:hover{
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
} 

.carousel .carousel-item .item-overlay .overlay-title{
  position: relative;
  color: white;    
  font-size: 3rem;
  margin-bottom: 0;
  font-weight: 600; 
  letter-spacing: 1px;    
} 

.carousel .carousel-item .item-overlay .overlay-sub{
  position: relative; 
  color: rgb(225, 225, 225);  
  font-size: 1.5rem;   
  text-wrap: wrap;  
  margin: 0; 
}

.carousel .carousel-item .item-overlay .overlay-icon{
  position: relative;
  margin-left: auto;  
  color: white;    
  font-size: 3rem; 
} 

.carousel .carousel-item .item-overlay .overlay-text-contents{
  position: relative;
  bottom: 0;  
  margin-top: auto;
}  

.carousel .carousel-item .item-overlay .overlay-contents { 
  display: flex;
  flex-direction: column;
  opacity: 0; 
  transition: 0.2s;  
  height: 100%; 
}   
.carousel .carousel-item .item-overlay:hover .overlay-contents {
  opacity: 1;
}
.carousel img{   
  height: 100%; 
  width: 100%;
  object-fit: cover;
  user-select: none; 
}  
.carousel .carousel-item:first-child{
  margin-left: 0px;
}
@media screen and (max-width: 900px) {
  .carousel .carousel-item{ 
    width: calc(100% / 2);  
  }
}
@media screen and (max-width: 550px) {
  .carousel .carousel-item{
    width: 100%;      
    min-width: 100%;  
  } 
}