.map {
	height: 400px;
	width: 100%;
}
.highlight {
	background-color: rgba(255, 0, 0, 0.2);
	width: 100%;
	height: 100%;
}

.hotspot {
	height: 2rem;
	width: 2rem;
	cursor: pointer;
}
body,
html {
	height: 100%;
	margin: 0;
}
#openseadragon1 {
	width: 100%;
	height: 100%;
}
.Rectangle_1 {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 5px;
	background-color: rgb(0, 0, 0);
	width: fit-content;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.2); /* Adjust the opacity with RGBA */
    backdrop-filter: blur(10px); /* Add blur effect */
    border: 1px solid white;
}

.button-container {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 20px;
	margin-bottom: 5px;
}

.toolbar {
	position: absolute !important;
	bottom: 10px !important;
	right: 20px !important;
	z-index: 1000;
	top: auto !important;
	left: auto !important;
}

.navigator {
	right: 25px !important;
	bottom: 1.2px !important;
}

.bg-color {
	background-color: black !important;
	padding: 4px !important;
	position: static !important;
	height: 1.63rem !important;
}

.bg-border {
	margin-top: 5px !important;
}

.mylogo {
	position: fixed;
	bottom: 0;
	left: 10px;
	margin-bottom: 5px;
	width: 80px;
}

.button-container img {
	width: 22px;
	height: 22px;
	fill: white;
}

#sidebar-image {
	width: 39vw;
	height: 50%;
}

.img-blur {
	opacity: 0.3;
}

.cursor-pointer {
	cursor: pointer;
}

.cursor-grab {
	cursor: grab;
}

.v-none {
	visibility: hidden !important;
}

.close-btn {
	border: 1px solid #808080 !important;
	border-radius: 20px !important;
	z-index: 10000;
}

/* over write  */
img,
svg {
	vertical-align: top !important;
}

.b__active{
	border: 2px solid #298DFF;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}

@media (max-width: 600px) {
	.offcanvas-end {
		width: 90vw;
		z-index: 100000;
	}
	#sidebar-image {
		width: 80vw;
		height: 80%;
	}
}

@media (max-width: 760px) {
	.mylogo {
		display: none;
	}
	.navigator {
		right: 5px !important;
	}
}

/* thumbnails  */
.thumbnail-container {
    position: fixed;
    bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.5); /* Similar to modal background */
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0; /* Some padding */
	overflow: hidden;
	border: 1px solid white;
}

.thumbnail-gallery {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto;    
	scroll-behavior: smooth;

	-ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    scrollbar-width: none; 
}
/* Hide scrollbar for Chrome, Safari, Opera */
.thumbnail-gallery::-webkit-scrollbar {
    display: none;
}

.thumbnail-wrap {
	display: flex;
	margin: 0 10px;
}

.thumbnail-imgwrap{
	flex: none;
    width: auto;
    height: 40px; /* Fixed height for thumbnails */
    /* overflow: hidden; */
	margin: 0 5px;
}

.thumbnail {
	width: 2.5rem;
	object-fit: cover;
    cursor: pointer;
	height: 40px;
	border-radius: 3px;
}

.scroll-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

/* Hide scroll buttons on larger screens */
@media screen and (min-width: 768px) {
    .scroll-btn {
        display: none;
    }
}

@media screen and (width < 790px) {
	.thumbnail-container{
		padding: 5px 0;
	}
	.thumbnail-wrap {
		width: 150px;
		height: 41px;
		margin: 0 2px;
		display: flex;
		overflow-x: auto;
	}
}


/*  modal  */

/* Customizing the modal content */
.modal-content {
    background-color: rgba(255, 255, 255, 0.3); /* Adjust the opacity with RGBA */
    backdrop-filter: blur(10px); /* Add blur effect */
    border: 1px solid white; /* Optional: solid white border */
}

.modal-content .close {
	position: absolute;
    right: -10px; /* Adjust to move outside */
    top: -10px; /* Adjust to move outside */
    z-index: 2;
    background-color: black;
	border: 1px solid white; /* Optional: solid white border */
	color: white;
    border-radius: 50%;
    width: 20px; /* Adjust size as necessary */
    height: 20px;
    line-height: 5px; /* To vertically center the 'X' */
    text-align: center;
	font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: for better visibility */
}

.image-container {
    height: 22rem;        /* Fixed height */
    overflow: hidden;    /* Hide the overflow */
    width: 70%;         /* Adjust width as needed, or use a specific value */
	text-align: center;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	margin-left: auto;
	margin-right: auto;
}

.image-container img{
	text-align: center;
	width: 100%;
}

.modal__hr{
    color: white; /* Adjust the opacity with RGBA */
	opacity: 1;
	margin-top: 30px;
    backdrop-filter: none; 	
	height: 2px !important;
}


@media screen and (width < 670px) {
	.image-container {
		height: fit-content;
	}
	.modal-dialog {
        margin: 0; /* Remove any margin */
        min-width: 100vw; /* Make modal full viewport width */
        min-height: 100vh; /* Make modal full viewport height */
        display: flex; /* Enable flexbox */
        align-items: stretch; /* Stretch items to fill the container */
    }

    .modal-content {
        flex-grow: 1; /* Allow modal content to grow and fill the space */
        border-radius: 0; /* Optional: remove border-radius for full width and height */
    }

    .modal-content .close {
        position: fixed; /* Fix position relative to the viewport */
        bottom: 50px; /* Place at the bottom */
        right: 50%; /* Center horizontally */
		top: auto;
        transform: translateX(50%); /* Adjust for exact centering */
        z-index: 1050; /* Ensure it's above other elements */
    }
}