/**************************
*
*	GENERAL
*
**************************/

.camera_wrap a, .camera_wrap img,
.camera_wrap ol, .camera_wrap ul, .camera_wrap li,
.camera_wrap table, .camera_wrap tbody, .camera_wrap tfoot, .camera_wrap thead, .camera_wrap tr, .camera_wrap th, .camera_wrap td
.camera_thumbs_wrap a, .camera_thumbs_wrap img,
.camera_thumbs_wrap ol, .camera_thumbs_wrap ul, .camera_thumbs_wrap li,
.camera_thumbs_wrap table, .camera_thumbs_wrap tbody, .camera_thumbs_wrap tfoot, .camera_thumbs_wrap thead, .camera_thumbs_wrap tr, .camera_thumbs_wrap th, .camera_thumbs_wrap td {
	background: none;
	border: 0;
	font: inherit;
	font-size: 100%;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	list-style: none
}

/* تنظیم ارتفاع کل بدنه و html برای vh */
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

.camera_wrap {
	direction: ltr;
	float: left;
	position: relative;
	z-index: 0;
	width: 100%;
	display: block !important;
	height: 100vh !important;  /* اضافه شد */
}

.camera_wrap img {
	max-width: 100% !important;
	width: 100% !important;
	height: 100vh !important;  /* تغییر از auto به 100vh */
	object-fit: cover;
	object-position: center;
	margin: 0 !important;
	filter: brightness(.8);
}

.camera_fakehover {
	height: 100vh !important;  /* تغییر به 100vh */
	min-height: 60px;
	position: relative;
	width: 100%;
	z-index: 1;
}

.camera_src {
	display: none;
}

.cameraCont, .cameraContents {
	position: relative;
	width: 100%;
	z-index: 1;
	height: 100vh !important;  /* اضافه شد */
}

.cameraSlide {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.cameraContent {
	bottom: 0;
	display: none;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

.camera_target {
	bottom: 0;
	height: 100vh !important;  /* تغییر به 100vh */
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	text-align: left;
	top: 0;
	width: 100%;
	z-index: 0;
}

.camera_overlayer {
	bottom: 0;
	height: 100vh !important;  /* تغییر به 100vh */
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 0;
}

.camera_target_content {
	bottom: 0;
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	height: 100vh !important;  /* اضافه شد */
}

.camera_target_content .camera_link {
	background: url(../images/blank.gif);
	display: block;
	height: 100%;
	text-decoration: none;
}

.camera_loader {
	background: #fff url(../images/camera-loader.gif) no-repeat center;
	background: rgba(255, 255, 255, 0.9) url(../images/camera-loader.gif) no-repeat center;
	border: 1px solid #ffffff;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	border-radius: 18px;
	height: 36px;
	left: 50%;
	overflow: hidden;
	position: absolute;
	margin: -18px 0 0 -18px;
	top: 50%;
	width: 36px;
	z-index: 3;
}

.camera_bar {
	bottom: 0;
	left: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 3;
}

.camera_thumbs_wrap.camera_left .camera_bar,
.camera_thumbs_wrap.camera_right .camera_bar {
	height: 100%;
	position: absolute;
	width: auto;
}

.camera_thumbs_wrap.camera_bottom .camera_bar,
.camera_thumbs_wrap.camera_top .camera_bar {
	height: auto;
	position: absolute;
	width: 100%;
}

.camera_nav_cont {
	height: 65px;
	overflow: hidden;
	position: absolute;
	right: 9px;
	top: 15px;
	width: 120px;
	z-index: 4;
}

.camera_caption {
	bottom: 0;
	display: block;
	position: absolute;
	width: 100%;
}

.camera_caption > div {
	padding: 10px 20px;
}

.camerarelative {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100vh !important;  /* تغییر از auto به 100vh */
}

.imgFake {
	cursor: pointer;
}

.camera_prevThumbs {
	bottom: 4px;
	cursor: pointer;
	left: 0;
	position: absolute;
	top: 4px;
	visibility: hidden;
	width: 30px;
	z-index: 10;
}

.camera_prevThumbs div {
	background: url(../images/camera_skins.png) no-repeat -160px 0;
	display: block;
	height: 40px;
	margin-top: -20px;
	position: absolute;
	top: 50%;
	width: 30px;
}

.camera_nextThumbs {
	bottom: 4px;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 4px;
	visibility: hidden;
	width: 30px;
	z-index: 10;
}

.camera_nextThumbs div {
	background: url(../images/camera_skins.png) no-repeat -190px 0;
	display: block;
	height: 40px;
	margin-top: -20px;
	position: absolute;
	top: 50%;
	width: 30px;
}

.camera_command_wrap .hideNav {
	display: none;
}

.camera_command_wrap {
	left: 0;
	position: relative;
	right: 0;
	z-index: 4;
}

.camera_wrap .camera_pag .camera_pag_ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	display: flex !important;
	justify-content: center;
	align-items: center;
	z-index: 5;
}

.camera_wrap .camera_pag .camera_pag_ul li {
	border-radius: 50%;
	cursor: pointer;
	display: inline-block;
	height: 12px;
	margin: 0 5px;
	position: relative;
	width: 12px;
	background: rgba(255,255,255,0.5);
}

.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent {
	background: #fff;
}

.camera_wrap .camera_pag .camera_pag_ul li > span {
	display: none;
}

.camera_prev, .camera_next, .camera_commands {
	cursor: pointer;
	height: 40px;
	margin-top: -20px;
	position: absolute;
	top: 50%;
	width: 40px;
	z-index: 2;
}

/* متن روی بنر */
.text-banner {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.text-banner a {
	border: 1px solid var(--mainColor);
	padding: 5px 10px;
	background: #fff;
}

@keyframes anim {
	to {
		opacity: 1;
		transform: translateY(0);
	}
	from {
		opacity: 0;
		transform: translateY(100px);
	}
}

.cameracurrent .text-banner h3 {
	animation: anim .5s linear;
}

.cameracurrent .text-banner p {
	animation: anim 1s linear;
}

.cameracurrent .text-banner a {
	animation: anim 1.5s linear;
}

.text-banner h3 {
	position: relative;
	text-align: center;
	margin: 0 0 1rem;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
}

.text-banner p {
	position: relative;
	text-align: center;
	margin: 0 0 1rem;
	font-size: 20px;
	letter-spacing: 1px;
	color: #fff;
}

/* دکمه‌های قبلی و بعدی */
.camera_prev, .camera_next {
	transition: all .3s;
	background: rgba(255,255,255,0.7) !important;
}

.camera_prev {
	left: 0;
	border-radius: 0 5px 5px 0;
}

.camera_next {
	right: 0;
	border-radius: 5px 0 0 5px;
}

.camera_prev:hover, .camera_next:hover {
	background: rgba(255,255,255,0.9) !important;
}

.camera_prev > span::after {
	display: flex;
	content: '\f053';
	font-family: "Font Awesome 6 Pro", "FontAwesome", sans-serif;
	font-size: 20px;
	color: #555;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.camera_next > span::after {
	display: flex;
	content: '\f054';
	font-family: "Font Awesome 6 Pro", "FontAwesome", sans-serif;
	font-size: 20px;
	color: #555;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.camera_prev > span, .camera_next > span {
	display: flex;
	height: 40px;
	width: 40px;
	justify-content: center;
	align-items: center;
}

/* Thumbnails */
.camera_thumbs_cont {
	overflow: hidden;
	position: relative;
	display: none;
	width: 100%;
	background: rgba(0,0,0,0.5);
	padding: 10px 0;
}

.camera_thumbs_cont ul {
	overflow: hidden;
	padding: 3px 4px 8px;
	position: relative;
	text-align: center;
	margin: 0;
}

.camera_thumbs_cont ul li {
	display: inline-block;
	padding: 0 4px;
}

.camera_thumbs_cont ul li > img {
	border: 2px solid transparent;
	cursor: pointer;
	margin-top: 5px;
	vertical-align: bottom;
	width: 60px !important;
	height: 40px !important;
	object-fit: cover;
}

.camera_thumbs_cont ul li > img:hover {
	border-color: #fff;
}
.height-line-brack{
	height: 50vh;
}

.banner-demo::after{
	height:100% !important;
}
.banner-title{
	position: absolute;
	right: 0;
	height: 0;
	left: 0;
	top: 15%;
}


.banner-demo {
	width: 100%;
	height: 100vh;
	min-height: 600px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-blend-mode: darken;
	position: relative
}

.banner-demo:after {
	content: "";
	position: absolute;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, .3);
	left: 0;
	top: 0;
	transition: opacity .3s ease;
	z-index: 1;
	opacity: 1
}

.banner-demo .container {
	height: 100%
}

.banner-demo .parent-banner-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: end;
	padding-bottom: 30px;
	gap: 80px;
	height: 100%
}

.banner-demo .parent-banner-demo .text-banner-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	position: relative;
	z-index: 2;
	display: none
}

.banner-demo .parent-banner-demo .text-banner-demo h2 {
	color: #fff;
	font-family: var(--fontFamilyBold);
	margin-bottom: 0;
	font-size: 36px
}



.banner-demo-1 {
	width: 100%;
	height: 100vh;
	min-height: 600px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-blend-mode: darken;
	position: relative
}

.banner-demo-1:after {
	content: "";
	position: absolute;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, .3);
	left: 0;
	top: 0;
	transition: opacity .3s ease;
	z-index: 1;
	opacity: 1
}

.banner-demo-1 .container {
	height: 100%
}

.banner-demo-1 .parent-banner-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: end;
	padding-bottom: 30px;
	gap: 80px;
	height: 100%
}

.banner-demo-1 .parent-banner-demo .text-banner-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	position: relative;
	z-index: 2;
	display: none
}

.banner-demo-1 .parent-banner-demo .text-banner-demo h2 {
	color: #fff;
	font-family: var(--fontFamilyBold);
	margin-bottom: 0;
	font-size: 36px
}


/* ========== ریسپانسیو ========== */

/* دسکتاپ بزرگ */
@media (min-width: 1200px) {
	.camerarelative {
		min-height: 100vh !important;  /* تغییر به 100vh */
		height: 100vh !important;
	}
}

/* دسکتاپ */
@media (min-width: 992px) and (max-width: 1199px) {
	.camerarelative {
		min-height: 100vh !important;
		height: 100vh !important;
	}
	.text-banner h3 {
		font-size: 22px;
	}
	.text-banner p {
		font-size: 18px;
	}

}

/* تبلت */
@media (min-width: 768px) and (max-width: 991px) {
	.camerarelative {
		min-height: 100vh !important;
		height: 100vh !important;
	}
	.text-banner h3 {
		font-size: 18px;
	}
	.text-banner p {
		font-size: 14px;
	}
	.camera_thumbs_cont {
		display: none;
	}
	.height-line-brack{
		height: 28vh !important;
	}

}

/* موبایل */
@media (max-width: 767px) {
	.camerarelative {
		min-height: 100vh !important;
		height: 100vh !important;
	}
	.text-banner h3 {
		font-size: 12px !important;
		white-space: normal !important;
		margin-bottom: 5px;
	}
	.text-banner p {
		font-size: 9px !important;
		margin-bottom: 5px;
	}
	.text-banner a {
		font-size: 8px;
		padding: 3px 8px;
	}
	.camera_prev, .camera_next {
		width: 30px;
		height: 30px;
		margin-top: -15px;
	}
	.camera_prev > span, .camera_next > span {
		height: 30px;
		width: 30px;
	}
	.camera_thumbs_cont {
		display: none !important;
	}
	.camera_wrap .camera_pag .camera_pag_ul {
		bottom: 5px;
	}
	.camera_wrap .camera_pag .camera_pag_ul li {
		height: 8px;
		width: 8px;
	}
	.height-line-brack{
		height: 25vh !important;
	}
}
@media (max-width: 578px) {
	.height-line-brack{
		height: 5vh !important;
	}
	.banner-title{
		display:none;
	}
}
/* موبایل خیلی کوچک */
@media (max-width: 480px) {
	.camerarelative {
		min-height: 100vh !important;
		height: 100vh !important;
	}
	.text-banner h3 {
		font-size: 10px !important;
	}
	.text-banner p {
		font-size: 8px !important;
	}
}

/* اطمینان از نمایش اسلایدر */
#camera_wrap_1 {
	width: 100%;
	margin: 0 auto;
	display: block !important;
	height: 100vh !important;
}

/* ========== تنظیم ارتفاع ثابت برای بنر ========== */

/* ارتفاع ثابت برای همه دستگاه‌ها */
.camera_wrap,
.camerarelative,
.camera_target,
.camera_target_content,
.camera_fakehover,
.cameraCont,
.cameraContents {
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
}

.camera_wrap img {
	height: 100vh !important;
	width: 100% !important;
	object-fit: cover !important;
}

/* حذف display none از کلاس مشکل دار */
.banner-slider-display {
	display: none !important;
}

/* جلوگیری از تغییر ارتفاع هنگام resize */
.camerarelative {
	transition: none !important;
}

