.gallery-wrapper {
  	position: relative;
  	height: 730px;
  	overflow: visible;
  	padding: 20px 0;
}
.gallery-wrapper.mobile-gallery {
	display: none;
}

.gallery {
  	display: flex;
  	flex-wrap: nowrap; 
  	gap: 10px;
  	height: 100%;
}

.panel {
  	flex: 0 0 auto;
  	height: 400px;
	position: relative;
}
.panel > a {
	display: block;
	height: 100%;
	position: relative;
}
.panel > a:hover {
	display: block;
}
.panel > a > div.panel_image_overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 92.5%;
	height: 100%;
	background: #ffffffbf;
	transition: all .3s ease;
}
.panel > a:hover > div.panel_image_overlay {
	background: #fff;
}
.panel > a > div.panel_image_overlay > p, .project_gallery_swiper .swiper-slide > a > div.panel_image_overlay > p {
	font-weight: 800;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #0f1f2f;
	text-transform: uppercase;
}
.panel.image_10 > a > div.panel_image_overlay, .project_gallery_swiper .swiper-slide.image_10 > a > div.panel_image_overlay {
	display: flex;
	justify-content: center;
	align-items: center;
}
.project_gallery_swiper .swiper-slide > a {
	position: relative;
}
.project_gallery_swiper .swiper-slide > a > div.panel_image_overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 96%;
	height: 100%;
	background: #ffffffbf;
	transition: all .3s ease;
}
.project_gallery_swiper .swiper-slide > a:hover > div.panel_image_overlay {
	background: #fff;
}
.panel img {
  	width: 100%;
  	height: 100% !important;
  	object-fit: cover;
  	display: block;
  	border-radius: 6px;
  	margin-top: 150px;
  	border-right: 1px solid !important;
  	border-color: #fff !important;
  	padding-right: 20px;
}
.panel:nth-child(even) img {
	margin-top: 200px;
}
.panel:nth-child(3n) img {
	margin-top: 250px;
}

.gallery-slider {
  	margin-top: 0px;
  	text-align: center;
}

.gallery-slider input[type="range"] {
  	-webkit-appearance: none;
  	appearance: none;
  	width: 80%;
  	height: 8px;
  	background: transparent;
  	border-radius: 5px;
	margin-top: 10px;
  	outline: none;
  	transition: background 0.3s;
}

.gallery-slider input[type="range"]::-webkit-slider-thumb {
  	-webkit-appearance: none;
  	appearance: none;
  	width: 140px;
  	height: 10px;
  	background: #fff;
  	border-radius: 2px;
  	cursor: pointer;
  	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  	margin-top: -5px !important;
  	transition: transform 0.2s;
}

.gallery-slider input[type="range"]::-webkit-slider-thumb:hover {
  	transform: scale(1.2);
}

.gallery-slider input[type="range"]::-moz-range-thumb {
  	width: 20px;
  	height: 20px;
  	background: #007bff;
  	border: 2px solid #fff;
  	border-radius: 50%;
  	cursor: pointer;
  	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-slider input[type="range"]::-moz-range-thumb:hover {
  	transform: scale(1.2);
}

.gallery-slider input[type="range"]::-ms-thumb {
  	width: 20px;
  	height: 20px;
  	background: #007bff;
  	border: 2px solid #fff;
  	border-radius: 50%;
  	cursor: pointer;
  	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-slider input[type="range"]::-ms-thumb:hover {
  	transform: scale(1.2);
}

.gallery-slider input[type="range"]::-webkit-slider-runnable-track {
  	width: 100%;
  	height: 1px;
  	background: #fff;
  	border-radius: 0px;
}

.gallery-slider input[type="range"]::-moz-range-track {
  	width: 100%;
  	height: 8px;
  	background: #e0e0e0;
  	border-radius: 5px;
}

.gallery-slider input[type="range"]::-ms-track {
  	width: 100%;
  	height: 8px;
  	background: transparent;
  	border-color: transparent;
  	color: transparent;
}

.gallery-slider input[type="range"]:focus::-webkit-slider-runnable-track {
  	background: #ccc;
}

/* Mobile gallery */

.mobile-gallery .swiper-slide {
  	height: 300px;
}

.mobile-gallery .swiper-slide a {
  	display: block;
  	width: 100%;
  	height: 100%;
	border-right: 1px solid #fff;
    padding-right: 10px;
}

.mobile-gallery .swiper-slide img {
  	width: 100%;
  	height: 100% !important;
  	object-fit: cover;
  	display: block;
  	border-radius: 0px;
}

.mobile-gallery .swiper-slide:nth-child(even) img {
  	margin-top: 50px;
}
.mobile-gallery .swiper-slide:nth-child(3n) img {
  	margin-top: 100px;
}

.mobile-gallery .swiper-scrollbar {
	bottom: 5px !important;
	height: 1px !important;
  	background: #fff;
  	border-radius: 5px;
}

.mobile-gallery .swiper-scrollbar-drag {
    background: #fff;
    border-radius: 5px;
	height: 10px;
    top: -5px;
}

.gallery-arrows {
  	position: absolute;
  	top: 170px;
	width: 100px;
	z-index: 99999;
  	left: 50%;
  	display: flex;
  	justify-content: space-between;
  	transform: translateX(-50%);
  	pointer-events: none;
}

.gallery-arrow {
  	font-size: 48px;
  	color: #fff;
  	opacity: 0;
	width: 50px;
	height: 50px;
}
.gallery-arrow > img {
	width: 100%;
}

@media (max-width: 768px) {
	.gallery-wrapper {
		overflow: hidden;
  	}
	.gallery-wrapper.mobile-gallery {
		display: block;
		height: 450px;
		margin-top: 200px;
	}
	.gallery-wrapper.desktop-gallery {
		display: none;
	}
	
	.gallery-arrows {
		top: 84%;
	}

  	.panel {
    	height: 250px;
  	}

  	.panel img {
    	height: 100% !important;
		margin-top: 90px;
  	}

  	.panel:nth-child(even) img {
    	margin-top: 140px;
  	}
	.panel:nth-child(3n) img {
		margin-top: 190px;
	}

  	.gallery-slider {
    	margin-top: -20px;
  	}
}