.resgal-wrap {
	border: 1px solid #ddd;
	background: #fff;
	padding: 15px!important;
	margin: 15px 0;
	border-radius: 4px;
	color: #000;
}
.resgal-main-container { position: relative; }
.resgal-title {
	font-weight: 600;
	text-align: center;
	font-size: 24px;
	color: #000;
}
.resgal-text-wrap.Ustune .resgal-title,
.resgal-text-wrap.Ustune .resgal-caption {
	padding-bottom: 10px!important;
}
.resgal-text-wrap.Ustune {
	height: auto!important;
}
.resgal-wrap.resgal-right-layout .resgal-text-wrap.Altina.Sagda {
	overflow-x: hidden!important;
	overflow-y: auto!important;
}
.resgal-main {
    max-height: var(--resgal-max-height);
}

.resgal-wrap.resgal-right-layout img.resgal-main{
	max-height: none!important;
}
.resgal-title:empty { margin-top: -15px !important; }
.resgal-main {
	max-height: var(--resgal-max-height);
	background: #f8f8f8;
	display: block;
	border: 1px solid #eee;
	cursor: pointer;
	max-width: 100%;
	min-height: 100px;
}
.resgal-caption, .resgal-caption * {
	color: #000;
	font-size: 14px !important;
	line-height: 1.4 !important;
}
.resgal-caption:empty { display: none !important; }
.resgal-nav {
	text-align: center;
	padding: 10px 15px;
	background: #f2f2f2;
	margin-top: 10px!important;
	border-radius: 4px;
}
.resgal-nav button,
.resgal-nav span,
.resgal-nav .resgal-go-input,
.resgal-nav button:hover,
.resgal-nav span:hover,
.resgal-nav .resgal-go-input:hover {
	display: inline-block;
	margin: 5px 2px 0 2px !important;
	padding: 0 10px !important;
	border: 1px solid #ccc !important;
	background-color: #fff !important;
	cursor: pointer;
	border-radius: 3px !important;
	height: 32px !important;
	line-height: 32px !important;
	color: #000 !important;
	font-size: 14px !important;
	min-height: auto !important;
	text-transform: capitalize !important;
	box-shadow: none !important;
	box-sizing: content-box !important;
}
.resgal-nav .resgal-go-input::placeholder { color: #000 !important; }
body .resgal-wrap .resgal-nav .resgal-go-input {
	padding: 0 0 0 10px !important;
	cursor: text !important;
	height: 30px !important;
	width: 47px !important;
	margin-top: -1px !important;
}
body .resgal-nav .active,
body .resgal-nav .active:hover {
	background: #0073aa !important;
	color: #fff !important;
	border-color: #0073aa !important;
}
.resgal-count {
	display: block;
	margin-top: 8px;
	font-weight: bold;
	color: #555;
	font-size: 18px;
}
.top-ad { margin-bottom: 15px; }
.bottom-ad { margin-top: 15px; }
.top-ad, .bottom-ad { display: flex !important; justify-content: center; }
.top-ad:empty, .bottom-ad:empty { margin: 0; }
.resgal-nav button, .resgal-nav span, .resgal-nav input { margin-top: 5px; }
/* ================= MOBILE ================= */
@media (max-width:768px) {
.resgal-main { height: auto; max-height: none !important; }
.resgal-title { font-size: 24px; }
.resgal-nav { padding: 0; background: #fff; }
.resgal-nav>span { display: none; }
.resgal-nav button.first, .resgal-nav button.last { display: none; }
.resgal-right-layout .resgal-main-container .resgal-image-wrap,
.resgal-right-layout .resgal-main-container .resgal-text-wrap { width: 100% !important; }
.resgal-right-layout .resgal-main-container { display: block !important; }
.resgal-right-layout .resgal-main-container .resgal-text-wrap { height: auto !important; }
.top-ad, .bottom-ad { display: none !important; }
.resgal-wrap.resgal-right-layout .resgal-text-wrap.Altina.Sagda .resgal-title,
.resgal-wrap.resgal-right-layout .resgal-text-wrap.Altina.Sagda .resgal-caption	{
	padding-top: 10px!important;
}
}

/* ================= DESKTOP ================= */
@media (min-width:769px) {
.resgal-right-layout .resgal-text-wrap { overflow-x: hidden; overflow-y: auto; }
.resgal-wrap.is-ad .resgal-text-wrap { display: none !important; }
.resgal-wrap.resgal-right-layout .resgal-main { max-height: none !important; }
}
.resgal-text-wrap.Altina .resgal-title, .resgal-text-wrap.Altina .resgal-caption, .Ustune .resgal-text-wrap .resgal-title,.Ustune .resgal-text-wrap .resgal-caption {padding-top: 10px!important; height: auto!important}
.resgal-wrap.resgal-right-layout .resgal-text-wrap .resgal-title {
	padding: 0!important;
}
.resgal-wrap.resgal-right-layout.is-ad .resgal-text-wrap.Sagda {
	height: auto!important;
}
/* ================= IMAGE AREA ================= */
.resgal-image-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
}
.resgal-wrap.is-ad .resgal-image-wrap { max-width: 100%; overflow: hidden; }
.resgal-prev-arrow, .resgal-next-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #fff !important;
	border: none;
	height: 50px;
	cursor: pointer;
	font-size: 18px;
	z-index: 5;
	transition: 0.2s;
}
.resgal-prev-arrow { left: 0; }
.resgal-next-arrow { right: 0; }
/* ================= RIGHT LAYOUT ================= */
.resgal-right-layout .resgal-main-container {
	display: flex;
	gap: 15px;
	justify-content: center;
}
.resgal-right-layout .resgal-main-container .resgal-image-wrap,
.resgal-right-layout .resgal-main-container .resgal-text-wrap {
	width: 50%;
}
.resgal-right-layout.is-ad .resgal-main-container .resgal-image-wrap { width: 100%; }
span.ucnkt { cursor: default !important; }
.resgal-wrap.is-ad .resgal-main-container { min-height: 52px; width: 100%!important; }
.resgal-wrap.is-ad.resgal-right-layout .resgal-main-container {
	width: 100%!important;
	display: block!important;
}
.HeightYok {height: auto!important}
ins{
	display: block;
}