
 .fancybox-container {
            z-index: 99999999 !important;
        }
	
	.fancybox-button--thumbs {
  display: none !important;
}
        
@media (max-width: 768px) {
  .html5lightbox-prev, 
  .html5lightbox-next {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;
  }
  
  .html5lightbox-prev {
    left: 20px !important;
  }
  
  .html5lightbox-next {
    right: 20px !important;
  }
}	
	
@media (max-width: 576px) {  

.pager-sec {   display:none;  }
}




.video-container {
    position: relative;
    width: 100%;
    height: 315px;
    display: inline-block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Hafif transparan siyah */
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.overlay:hover {
    background-color: rgba(0, 0, 0, 0.5); /* Hover durumunda daha koyu */
}

.play-button-container {
	z-index: 999;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {

    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #fff; /* Üçgen play butonu */
    margin-left: 5px;
}

/* FancyBox için özelleştirmeler */
.fancybox-slide--video .fancybox-content {
    width: 80%;
    height: 80%;
    max-width: 800px;
}

.video-restart {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.video-restart:hover {
    background: rgba(0, 0, 0, 0.9);
}


/* Masaüstü cihazlarda butonu gizlemeyen medya sorgusu */
@media (min-width: 1024px) {
  .video-restart {
    display: block !important; /* Masaüstünde göster */
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
  }
}






        .video-replay-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 99999; /* Yüksek z-index değeri */
            cursor: pointer;
        }
        
        .replay-icon {
            font-size: 80px;
            color: white;
            transition: transform 0.3s ease;
            width: 100px;
            height: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
        }
        
        .replay-icon:hover {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.3);
        }
        
        /* Fancybox içeriği için z-index düzenlemesi */
        .fancybox-container {
            z-index: 9999; /* Fancybox'ın z-index'ini ayarla */
        }
        
        /* Fancybox iframe için özel stiller */
        .fancybox-slide--iframe .fancybox-content {
            width: 100% !important;
            height: 100% !important;
            max-width: none !important;
            max-height: none !important;
            margin: 0 !important;
            z-index: 9998; /* Overlay'den düşük olmalı */
        }
        
        /* Mobil cihazlar için boyut ayarı */
        @media (max-width: 768px) {
            .replay-icon {
                font-size: 60px;
                width: 80px;
                height: 80px;
            }
        }
        

        /* YouTube iframe'i için düzenleme */
        .fancybox-iframe {
            z-index: 9998; /* Overlay'den düşük olmalı */
        }


		.overlay {
    margin-top: 0px;

}