/* * */
/* { */
	/* box-sizing: border-box; */
	/* margin: 0; */
	/* padding: 0; */
/* } */

/* body */
/* { */
	/* font-family: 'Vazir', sans-serif; */
	/* direction: rtl; */
	/* background-color: #f0f0f0; */
/* } */

.panel66 *
{
	font-size: initial;
}

.panel66 .slider
{
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	cursor: grab;
}

.panel66 .slide
{
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.panel66 .slide.active
{
	opacity: 1;
	z-index: 1;
}

.panel66 .slide img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* object-fit: contain; */
}

.panel66 .caption
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 100%);
	opacity: 0;
	transition: all 1s ease;
	text-align: center;
	color: #fff;
	padding: 20px;
}

.panel66 .caption
{
	color: white;
	font-size: 20px;
	font-family: 'Vazir';
	/* text-shadow: 0px 0px 0 red; */
	/* -webkit-text-stroke: 1px black; */
	text-shadow:
		-1px -1px 0 black,
		 1px -1px 0 black,
		-1px  1px 0 black,
		 1px  1px 0 black;
}

.panel66 .slide.active .caption
{
	opacity: 1;
	transform: translate(-50%, -50%);
}

.panel66 .caption img
{
	max-width: 200px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.panel66 .nav-buttons
{
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	padding: 0 20px;
	z-index: 10;
}

.panel66 .nav-buttons button
{
	width: 48px;
	height: 48px;
	background-color: rgba(0, 0, 0, 0.7);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	transition: background-color 0.3s ease;
}

.panel66 .nav-buttons button:hover
{
	background-color: rgba(0, 0, 0, 0.9);
}

.panel66 .dots-container
{
	position: absolute;
	bottom: 15px;
	width: 100%;
	text-align: center;
	z-index: 10;
}

.panel66 .dot
{
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 6px;
	background-color: rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.panel66 .dot.active
{
	background-color: #ffffff;
}

@media (max-width: 768px)
{
	.panel66 .slider
	{
		height: 400px;
	}
	
	.panel66 .caption img
	{
		max-width: 150px;
	}
	
	.panel66 .nav-buttons button
	{
		width: 42px;
		height: 42px;
		font-size: 18px;
	}
	
	.panel66 .dot
	{
		width: 10px;
		height: 10px;
		margin: 0 4px;
	}
}