/* CSS Document */

.responsiveImg {
    max-width: 100%;
    height: auto;
    border-radius: 5px 0px 0px 5px;
    /* box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5); */
}

.responsiveImgConfirm {
    max-width: 100%;
    height: auto;
    border-radius: 5px; 
}

.Imgright {
     float: right;
    clear: right;
/*    float: right;
    margin-left: 1em;*/
}

.responsiveImgNoShade {
    max-width: 95%;
    height: auto;
}

.Scroll_img_container {
    display: flex;
    width: 100%;     
    overflow: auto;
    scroll-snap-type: x mandatory;
    padding: 2px;
    padding-bottom: 10px;
    gap: 10px;
    scroll-padding: 10px;
}

.Scroll_img_container .Scroll_img_item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.Car_option_image {
    background-color: #ffffff;
    border: 0.2rem solid #555555;
    position: absolute;
    padding: 0.3rem;
    display: none;
    z-index: 99;
     filter: drop-shadow(6px 1px 6px rgba(255,189,16, 0.5));
}
/* ########################################################### VIDEO ################################################### */
/* ########################################################### VIDEO ################################################### */
/* ########################################################### VIDEO ################################################### */
.video-container{
	width: 100vw;
	height: 100vh;
    background-color: var(--videoBack);
    overflow: hidden;    
}
    
.iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    max-width: 100%;
    overflow: hidden;   
}

@media (min-aspect-ratio: 16/9) {
  .video-container iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 56.25vw;
  }
}
    
@media (max-aspect-ratio: 16/9) {
  .video-container iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 177.78vh;
  }
}
@media only screen and (max-width: 800px) {
    .video-container{
       background-color: var(--videoBackMob);
    }
    .iframe {
        display: none;
    }
    .responsiveImgTours {
     margin-bottom: 1rem;
    }
}

/* ########################################################### CAROUSEL ################################################### */
/* ########################################################### CAROUSELCAROUSEL ################################################### */
/* ########################################################### VIDEO ################################################### */

.carousel {
    max-width: 100%;
    position: relative;
    margin: 0 auto;
}

.carousel .carousel-item,
.carousel .carousel-item-hidden {
    display: none; /* hide all slide images not currently being viewed */
}

.carousel .carousel-item-visible {
    display: block; /* show current slide image */
    animation: fadeVisibility 0.5s; /* for fading effect when switching between slides */
}

.carousel .carousel-item {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Navigation control styles */
.carousel .carousel-actions {
    display: flex;
    width: 100%;
    justify-content: space-between; /* put space between the navigation buttons */
    position: absolute; /* position navigation buttons on top */
    top: 50%; /* center navigation buttons on the slide */
    transform: translateY(-50%); /* align navigation buttons */
}

.carousel .carousel-actions button {
    border-radius: 50px;
    background-color: white;
    border: 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.carousel .carousel-actions button#carousel-button-prev {
    margin-left: 10px; /* prevent previous button from touching the side*/
}

.carousel .carousel-actions button#carousel-button-next {
    margin-right: 10px;  /* prevent next button from touching the side*/
}

.carousel-dots {
    text-align: center; 
}

.dot {
    opacity: 0.7; /* gray out dots for slides not being visted */
}

.dot:focus {
    border: 1px solid black; /* dot for currently visited slide */
}

/* hanlde smooth transitions between slides */
@keyframes fadeVisibility {
	
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 800px) {
/* Navigation control styles */
	.carousel .carousel-actions {
		top: 0%; /* center navigation buttons on the slide */
	}
}

/* ########################################################### IMG_SLIDER ################################################### */
/* ########################################################### IMG_SLIDER ################################################### */
/* ########################################################### IMG_SLIDER ################################################### */
