@use "mixins/mixins-master" as *;
@use "mixins/flex" as *;
@use "variables" as *;
.thim-gallery-carousel {
	z-index: 1;
	position: relative;
	object-fit: contain;
	box-shadow: 12.9px 15.3px 18px 0 rgba(0, 0, 0, 0.08);
	max-width: 100%;
	.owl-carousel {
		.owl-item {
			img {
				width: auto;
			}
		}
	}
	.item-gallery {
		display: inline-block;
		position: relative;
		float: left;
		overflow: hidden;
		border-radius: $thim_border_radius;
		&::before {
			content: "";
			width: 100%;
			height: 100%;
			background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
			display: block;
			position: absolute;
			top: 0;
			left: 0;
			z-index: 1;
		}
		.gallery-img {
			display: inline-block;
			position: relative;
			float: left;
			&:before {
				content: "";
				position: absolute;
				bottom: 0;
				left: 0;
				width: 100%;
				height: 235px;
				display: inline-block;
				z-index: 1;
				background-color: rgba(33, 32, 32, 0);
				background-image: -webkit-gradient(
					linear,
					to left top,
					to left bottom,
					from(rgba(33, 32, 32, 0)),
					to(rgba(33, 32, 32, 0.4))
				);
				background-image: -webkit-linear-gradient(to top, rgba(33, 32, 32, 0), rgba(33, 32, 32, 0.4));
				background-image: -moz-linear-gradient(to top, rgba(33, 32, 32, 0), rgba(33, 32, 32, 0.4));
				background-image: -ms-linear-gradient(to top, rgba(33, 32, 32, 0), rgba(33, 32, 32, 0.4));
				background-image: -o-linear-gradient(to top, rgba(33, 32, 32, 0), rgba(33, 32, 32, 0.4));
				background-image: linear-gradient(to top, rgba(33, 32, 32, 0), rgba(33, 32, 32, 0.4));
				filter: alpha(opacity=100);
				-ms-filter: "alpha(opacity=100)";
			}
		}
	}
	.info {
		margin: 0;
		position: absolute;
		bottom: 0;
		left: 0;
		padding: 33px 40px;
		display: inline-block;
		z-index: 2;
		h3 {
			font-size: 56px;
			font-weight: 500;
			line-height: 1.25;
			margin: 0 0 20px;
			color: #fff;
		}
		h4 {
			font-size: 16px;
			font-weight: 400;
			line-height: 1.5;
			color: #fff;
			text-transform: uppercase;
			margin: 0;
			padding: 0;
		}
	}
	.owl-theme .owl-nav.disabled + .owl-dots {
		margin-top: 0;
	}
	.owl-theme .owl-dots {
		position: absolute;
		bottom: 35px;
		left: 50%;
		transform: translate(-50%, 0);
		-webkit-transform: translate(-50%, 0);
		-moz-transform: translate(-50%, 0);
		-o-transform: translate(-50%, 0);
		.owl-dot {
			span {
				width: 9px;
				height: 9px;
				margin: 0 4px;
				@include rounded(50%);
				border: none;
				background-color: #ced2d3;
				@include transition(all 0.5s);
				display: inline-block;
				position: relative;
			}
			&.active {
				span {
					background-color: #fff;
					&:before {
						content: "";
						@include rounded(50%);
						width: 13px;
						height: 13px;
						border: 1px solid #fff;
						position: absolute;
						top: -2px;
						left: -2px;
					}
				}
			}
		}
	}
}
