﻿/*! yBox - v12.6.1 - 24/03/2026
* By Yuval Ashkenazi
* https://github.com/yuvalAshkenaz/yBox */
.yBoxOverlay * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	word-wrap: break-word;
}
.yBoxOverlay {
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(6px); 
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000000000;
    visibility: hidden;
    filter: alpha(opacity=0);
    opacity: 0;
    -khtml-opacity: 0;
    -webkit-transition: 
		opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0s ease 0.4s;
    transition: 
		opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0s ease 0.4s;
}
.yBoxGroupOverlay{
	align-items: stretch;
}
.yBoxGroupOverlay {
	background-color: rgba(0, 0, 0, 0.9);
}
.yBoxOverlay.active {
    visibility: visible;
	filter: alpha(opacity=100);
	opacity: 1;
	-khtml-opacity: 1;
	-webkit-transition: 
		opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0s ease 0s;
    transition: 
		opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0s ease 0s;
}
.yBoxFrame {
    background-color: #fff;
    border-radius: 12px; 
    -webkit-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    max-width: -webkit-calc(100% - 20px);
    max-width: calc(100% - 20px);
    max-height: -webkit-calc(100vh - 20px);
    max-height: calc(100vh - 20px);
    -webkit-transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-transform: translate(0, 40px) scale(0.95);
    transform: translate(0, 40px) scale(0.95);
    overflow: hidden;
}
.yBoxGroupOverlay .yBoxFrame {
	background: none;
	box-shadow: none;
	border-radius: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
}
.yBoxOverlay.no-bg .yBoxFrame {
	background: none;
	box-shadow: none;
}
.yBoxFrame.yBoxContentFrame {
    background-color: #fff;
    color: #171b1e;
}
.yBoxOverlay.active .yBoxFrame {
    -webkit-transform: translate(0, 0) scale(1);
    transform: translate(0, 0) scale(1);
}
.admin-bar .yBoxFrame {
	max-height: -webkit-calc(100vh - 42px);
	max-height: calc(100vh - 42px);
}
.admin-bar .yBoxFrame.yBoxImgWrap .insertYboxAjaxHere {
	max-height: -webkit-calc(100vh - 42px);
	max-height: calc(100vh - 42px);
}
.admin-bar .yBoxFrame.yBoxImgWrap img.yBoxImg {
	max-height: -webkit-calc(100vh - 62px);
	max-height: calc(100vh - 62px);
}
.admin-bar .yBoxOverlay.active .yBoxFrame {
	-webkit-transform: translate(0, 16px) scale(1);
	transform: translate(0, 16px) scale(1);
}
.yBoxNext,
.yBoxPrev,
.closeYbox,
.closeYbox[type="button"] {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.yBoxNext,
.yBoxPrev,
.yBoxGroupOverlay .closeYbox:not(.closeYbox-group),
.closeYbox-group {
	display: none;
}
.yBoxGroupOverlay .yBoxNext,
.yBoxGroupOverlay .yBoxPrev,
.yBoxGroupOverlay .closeYbox-group {
	display: flex;
}
.closeYbox::after,
.closeYbox::before {
    content: "";
    background: #fff;
    width: 20px;
    height: 2px;
    position: absolute;
    left: 10px;
    top: 19px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    border-radius: 2px;
}
.closeYbox:not(.closeYbox-group),
.closeYbox[type="button"]:not(.closeYbox-group) {
	background: #f3f4f6;
}
.closeYbox:not(.closeYbox-group)::after,
.closeYbox:not(.closeYbox-group)::before {
	background: #000;
}
.yBoxOverlay.no-bg .closeYbox,
.yBoxOverlay.no-bg .closeYbox[type="button"] {
	background-color: rgba(255,255,255,0.2);
}
.yBoxOverlay.no-bg .closeYbox:hover,
.yBoxOverlay.no-bg .closeYbox[type="button"]:hover {
    background-color: rgba(255,255,255,0.4);
}
.yBoxOverlay.no-bg .closeYbox::after,
.yBoxOverlay.no-bg .closeYbox::before {
	background-color: #fff;
}
.closeYbox::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.closeYbox:hover::before {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.closeYbox:hover::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.yBoxFrame.yBoxContentFrame .closeYbox {
    background: #f3f4f6;
}
.yBoxFrame.yBoxContentFrame .closeYbox::after,
.yBoxFrame.yBoxContentFrame .closeYbox::before {
    background-color: #171b1e;
}
#ybox-iframe-headline {
	margin: 10px 0 15px 0;
	text-align: center;
	font-size: 22px;
	font-weight: 400;
}
.yBoxIframe {
    width: 100%;
	flex-grow: 1;
}
.yBoxFrame.yBoxIframeWrap {
    width: 1200px;
    height: 750px;
}
.insertYboxAjaxHere {
    min-width: 150px;
    min-height: 100px;
    max-height: -webkit-calc(100vh - 100px);
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding: 60px 20px 20px;
}
.yBoxFrame.yBoxIframeWrap .insertYboxAjaxHere {
    position: absolute;
	display: flex;
    max-height: 100%;
	flex-direction: column;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0;
}
.yBoxFrame.yBoxImgWrap .insertYboxAjaxHere {
    padding: 0;
    max-height: -webkit-calc(100vh - 10px);
    max-height: calc(100vh - 10px);
}
.yBoxFrame.yBoxImgWrap .yBoxImgWrap2 {
	display: flex;
	min-height: 80px;
	max-height: 100%;
	border-radius: 12px;
	position: relative;
	overflow: hidden;
	justify-content: center;
	background: transparent;
}
.yBoxFrame.yBoxImgWrap img.yBoxImg {
    max-width: -webkit-calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    max-height: -webkit-calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: block;
}
.yBoxGroupOverlay .yBoxFrame.yBoxImgWrap img.yBoxImg {
    max-width: -webkit-calc(100vw - 120px);
    max-width: calc(100vw - 120px);
    max-height: -webkit-calc(100vh - 110px);
    max-height: calc(100vh - 110px);
}
.yBoxNext,
.yBoxPrev {
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    top: 50%;
    margin-top: -80px;
    bottom: auto;
}
.yBoxPrev {
    left: 10px;
}
.yBoxNext {
    right: 10px;
}
.yBoxRTL .yBoxPrev {
    right: 10px;
	left: auto;
}
.yBoxRTL .yBoxNext {
    left: 10px;
    right: auto;
}
.yBoxNext:focus,
.yBoxPrev:focus {
	outline: none !important;
}
.yBoxNext::after,
.yBoxPrev::after {
    content: "";
    width: 14px;
    height: 14px;
	box-shadow: -1px 1px 2px rgba(0,0,0,0.2);
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
}
.yBoxNext::after {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    margin: 0 3px 0 0;
}
.yBoxPrev::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: 0 0 0 5px;
}
.yBoxRTL .yBoxNext::after {
    transform: rotate(45deg);
    margin: 0 -7px 0 0;
}
.yBoxRTL .yBoxPrev::after {
    transform: rotate(-135deg);
    margin: 0 5px 0 0;
}
.yBoxNext:hover::after,
.yBoxPrev:hover::after {
    border-bottom-color: #fff;
    border-left-color: #fff;
}
.yBoxLoader {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    position: relative;
    animation: yBox-spin 1s infinite linear;
    top: 50%;
    margin: -15px auto 0;
    zoom: 1;
}
@keyframes yBox-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.closeYboxOnFocus {
    width: 0;
    height: 0;
    position: absolute;
    background: none;
    padding: 0;
    margin: 0;
    border: none;
}
.ybox-img-title {
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	padding: 20px 15px 15px;
    color: #fff;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	font-size: 16px;
	z-index: 3;
    border-radius: 0 0 8px 8px;
}
.yBoxVideo {
    background-color: #000;
    width: 100%;
    height: 100%;
    vertical-align: top;
}
.btn-for-focus-only {
	width: 0;
	height: 0;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
}
.yBoxOverlay.ybox-share-btns {
	background-color: rgba(0, 0, 0, 0.9);
}
.yBoxOverlay.ybox-share-btns .yBoxFrame {
	background: none;
    box-shadow: none;
	color: #fff;
}
.yBoxOverlay.ybox-share-btns .closeYbox,
.yBoxOverlay.ybox-share-btns .closeYbox[type="button"] {
	background: none;
	border: none;
}
.yBoxOverlay.ybox-share-btns .closeYbox::after,
.yBoxOverlay.ybox-share-btns .closeYbox::before {
	background: #fff;
}
.yBoxOverlay.ybox-share-btns .insertYboxAjaxHere {
	padding-top: 110px;
}
.ybox-share-title {
	width: auto;
	color: #fff;
	margin: 0;
	font-size: 26px;
	z-index: 3;
	position: absolute;
	bottom: auto;
	top: 10px;
	left: 19px;
	right: 40px;
	padding: 0 15px 18px 0;
}
.ybox-share-title::after {
	content: "";
	background: #fff;
	width: 35px;
	height: 3px;
	position: absolute;
	left: 0;
	bottom: 0;
}
.ybox-socials-list {
	display: flex;
	width: 500px;
	max-width: 100%;
	gap: 20px 0;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 1px;
}
.yBoxRTL .ybox-share-title {
	text-align: right;
	direction: rtl;
	padding: 0 0 18px 15px;
	right: 19px;
	left: 40px;
}
.yBoxRTL .ybox-share-title::after {
	left: auto;
	right: 0;
}
.ybox-share-btns.yBoxRTL .closeYbox,
.ybox-share-btns.yBoxRTL .closeYbox[type="button"] {
	right:auto;
	left: 10px;
}
.ybox-share-btns.yBoxRTL .ybox-socials-list {
	direction: rtl;
}
.ybox-socials-list > li {
	width: 20%;
}
.ybox-share-btn {
	display: inline-block;
	text-decoration: none;
	position: relative;
    transition: transform 0.2s;
}
.ybox-share-btn:hover {
    transform: scale(1.1);
}
.yBoxPrev::before,
.yBoxNext::before,
.ybox-share-btn::before {
	content: "";
	width: 1px;
	height: 1px;
	border-radius: 50%;
	z-index: -1;
    position: absolute;
    left: 50%;
    top: 50%;
    box-shadow: #fff 0 0 30px 10px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	filter: alpha(opacity=0);
	opacity: 0;
	-khtml-opacity: 0;
}
.yBoxPrev:hover::before,
.yBoxNext:hover::before,
.ybox-share-btn:hover::before {
	filter: alpha(opacity=100);
	opacity: 1;
	-khtml-opacity: 1;
}
@media print {
	.yBoxOverlay {
		display: none;
	}
}
.ybox-copy-text-btn {
	position: relative;
	line-height: 1px;
	margin: 33px 0;
}
.ybox-copy-show-on-check {
	position: absolute;
	left: 0;
	top: 0;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.ybox-copy-hide-on-check,
.ybox-copy-text-btn.active .ybox-copy-show-on-check {
	filter: alpha(opacity=100);
	opacity: 1;
	-khtml-opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.ybox-copy-show-on-check,
.ybox-copy-text-btn.active .ybox-copy-hide-on-check {
	filter: alpha(opacity=0);
	opacity: 0;
	-khtml-opacity: 0;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
}
.ybox-copy-show-text-on-check {
	width: 100%;
    font-size: 12px;
    line-height: 13px;
	color: #fff;
    margin: 7px 0 0 0;
	-webkit-transform: translate(0,-10px);
	transform: translate(0,-10px);
	filter: alpha(opacity=0);
	opacity: 0;
	-khtml-opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 100%;
	right: 0;
	-webkit-transition: 
		transform 0.5s ease,
		opacity 0.5s ease,
		visibility 0s ease 0.5s;
	transition: 
		transform 0.5s ease,
		opacity 0.5s ease,
		visibility 0s ease 0.5s;
}
.ybox-copy-text-btn.active .ybox-copy-show-text-on-check {
	filter: alpha(opacity=100);
	opacity: 1;
	-khtml-opacity: 1;
	visibility: visible;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
	-webkit-transition: 
		transform 0.5s ease,
		opacity 0.5s ease,
		visibility 0s ease 0s;
	transition: 
		transform 0.5s ease,
		opacity 0.5s ease,
		visibility 0s ease 0s;
}
.ybox-socials-list svg {
	width: 40px;
	height: 40px;
    fill: #fff;
}
.ybox-telegram-share-btn path {
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}
.yBoxFrame.yBoxImgWrap .insertYboxAjaxHere {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}
.yBoxGroupOverlay .closeYbox::after,
.yBoxGroupOverlay .closeYbox::before {
    width: 30px;
    left: 5px;
    top: 20px;
}
.yBoxGroupOverlay .insertYboxAjaxHere {
	height: 100%;
}
.yBoxSlidesWrap {
    position: relative;
    width: calc(100% - 100px);
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yBoxSlide {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    filter: alpha(opacity=0);
    opacity: 0;
    -khtml-opacity: 0;
    visibility: hidden;
    transition: 
		opacity 0.5s ease,
		visibility 0s ease 0.5s;
}
.yBoxSlide.active {
    filter: alpha(opacity=100);
    opacity: 1;
    -khtml-opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
    transition: 
		opacity 0.5s ease,
		visibility 0s ease 0s;
}
.yBoxSlide .yBoxIframe {
	height: 100%;
}
.yBoxSlide img.yBoxImg,
.yBoxSlide iframe,
.yBoxSlide video {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    border-radius: 12px;
}
.yBoxThumbsWrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 80px;
    margin-top: 10px;
    direction: ltr;
    flex-shrink: 0;
}
.yBoxRTL .yBoxThumbsWrapper {
	direction: rtl;
}
.yBoxThumbs {
    display: inline-flex;
    gap: 10px;
    padding: 0 10px;
    height: 100%;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    transform: translateX(0px);
    transition: transform 0.1s ease-out;
    width: max-content;
    min-width: 100%;
    justify-content: center;
}
.yBoxThumbs.is-overflowing {
    justify-content: flex-start;
}
.yBoxThumbs.is-dragging {
    cursor: grabbing;
    transition: none;
}
.yboxThumbBTN {
    background: none;
    border: 2px solid transparent;
    padding: 0;
    width: 50px;
    height: 100%;
    opacity: 0.5;
    transition: all 0.3s;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.yboxThumbIMG {
    width: 100%;
    height: 100%;
    object-fit: cover;
	pointer-events: none;
    display: block;
}
.yboxThumbBTN:hover {
	 opacity: 1;
}
.yboxThumbBTN.active {
    opacity: 1;
    width: 100px;
}
.yBoxVideoWrap.yBoxFrame.yBoxIframeWrap {
	height: auto;
}
.yBoxVideoWrap.yBoxFrame.yBoxIframeWrap .insertYboxAjaxHere {
	position: relative;
}
.yBoxSlide .yBoxIframe,
.yBoxSlide .yBoxVideo,
.yBoxVideoWrap .yBoxIframe {
	width: auto;
	height: auto;
	aspect-ratio: 16 / 9;
	flex-grow: unset;
	border-radius: 12px;
}
@media screen and (min-width: 768px) {
	.show-on-mobile {
		display: none !important;
	}
}
@media screen and (max-width: 767px) {
	.hide-on-mobile {
		display: none !important;
	}
    .yBoxFrame.yBoxImgWrap .insertYboxAjaxHere {
        padding: 0;
    }
    .yBoxFrame.yBoxImgWrap img.yBoxImg {
        max-width: -webkit-calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        max-height: -webkit-calc(100vh - 20px);
        max-height: calc(100vh - 20px);
    }
    .yBoxFrame.yBoxIframeWrap .insertYboxAjaxHere {
        left: 0; right: 0; top: 0; bottom: 0;
    }
	.ybox-img-title {
		left: 0; bottom: 0; right: 0;
	}
    .yBoxNext, 
	.yBoxPrev, 
	.closeYbox-group {
		background-color: rgba(0, 0, 0, 0.5);
		border: 1px solid rgba(255, 255, 255, 0.4);
        width: 40px;
        height: 40px;
		margin-top: -85px;
    }
	.yBoxGroupOverlay .closeYbox::after,
	.yBoxGroupOverlay .closeYbox::before {
	    width: 21px;
	    left: 9px;
	    top: 18px;
	}
	.yBoxPrev { left: 15px; }
	.yBoxNext { right: 15px; }
	.yBoxRTL .yBoxPrev { left: auto; right: 5px; }
	.yBoxRTL .yBoxNext { right: auto; left: 5px; }
    .yBoxNext::after,
	.yBoxPrev::after {
		border-bottom-width: 2px;
		border-left-width: 2px;
		width: 8px;
		height: 8px;
	}
    .yBoxImgWrap2 {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent;
        overflow: hidden;
    }
    .yBoxSlide img.yBoxImg,
    .yBoxSlide iframe,
    .yBoxSlide video {
        max-height: calc(100vh - 120px);
    }
	.yBoxSlidesWrap {
		width: calc(100% - 20px);
	}
	.yBoxGroupOverlay .yBoxFrame.yBoxImgWrap img.yBoxImg {
		max-width: -webkit-calc(100vw - 20px);
		max-width: calc(100vw - 20px);
	}
}
@media screen and (max-width: 479px) {
    .yBoxFrame.yBoxIframeWrap,
    .yBoxFrame.yBoxIframeWrap .insertYboxAjaxHere,
    .yBoxFrame.yBoxImgWrap,
    .yBoxFrame.yBoxImgWrap .insertYboxAjaxHere {
        max-height: -webkit-calc(100vh - 40px);
        max-height: calc(100vh - 40px);
    }
    .yBoxFrame.yBoxImgWrap img.yBoxImg,
    .yBoxIframe {
        max-height: -webkit-calc(100vh - 60px);
        max-height: calc(100vh - 60px);
    }
}