.mainthumbvideo{
	position:relative;
}
.showmainimage{
	position:absolute;
	top:10px;
	left:10px;
	z-index:9999;
}
.mevideo-popup{
	position: relative;
    margin: 0 auto;
}
.mevideo-wrapper {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
	padding-bottom: 56.25%;
}
.mevideo-video{
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.mevideomain-video{
	width: 100%;
	height:100%;
	overflow:hidden;
}
.mevideo-popup .mfp-close {
    color: white;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
	top:-44px;
}
@media(max-width:768px){
	.mevideo-popup,.mevideo-popup-local{
		width: auto;
		height:auto;
	}
}
.video-link{
	position:relative;
	cursor:pointer;
}
.video-link:after{
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 auto;
	z-index:1;
	width: 30px;
	height: 30px;
	opacity:0.8;
}

/* Plyr popup stilleri */
.mevideo-wrapper.plyr-wrapper {
	padding-bottom: 0;
	height: auto;
	aspect-ratio: 16/9;
}
.mevideo-wrapper.plyr-wrapper .plyr {
	width: 100%;
	height: 100%;
}
.mevideo-wrapper.plyr-wrapper .plyr--video {
	height: 100%;
}
.mevideo-wrapper.plyr-wrapper video.plyr-video {
	position: relative;
}
.mevideo-popup .plyr__controls {
	z-index: 10;
}
.mevideo-popup .plyr__control--overlaid {
	background: rgba(0,0,0,0.6);
}
.mevideo-popup .plyr__control--overlaid:hover {
	background: var(--plyr-color-main, #00b3ff);
}
/* Popup genisligi */
.mfp-content .mevideo-popup {
	max-width: 900px;
	width: 90vw;
}

/* Video oynatılırken Swiper geçişlerini engelle */
.me-video-playing .swiper-wrapper {
	transition-duration: 0ms !important;
	transition-delay: 0ms !important;
	transition: none !important;
	-webkit-transition: none !important;
	animation: none !important;
	-webkit-animation: none !important;
}
.me-video-playing .swiper-slide {
	transition-duration: 0ms !important;
	transition: none !important;
}
.me-video-playing .swiper-container {
	overflow: hidden !important;
}
/* Video ve kontrollerinin tıklanabilir olmasını sağla */
.me-video-playing .swiper-slide-active video,
.me-video-playing .swiper-slide-active iframe,
.me-video-playing .swiper-slide-active .plyr,
.me-video-playing video,
.me-video-playing iframe {
	pointer-events: auto !important;
	z-index: 10;
}
