/* Pouze na frontend (když není v administraci Gridboxu) */
html[lang="cs-cz"] body:not(.editor) .only-czech {
    display: block !important;
}

html[lang="cs-cz"] body:not(.editor) .only-slovak {
    display: none !important;
}

html[lang="sk-sk"] body:not(.editor) .only-czech {
    display: none !important;
}

html[lang="sk-sk"] body:not(.editor) .only-slovak {
    display: block !important;
}

/* Frontend – podle jazyka */
/*
html[lang="cs-cz"] body.main-page .only-czech {
    display: block !important;
}
html[lang="cs-cz"] body.main-page .only-slovak { 
    display: none !important;
}
html[lang="sk-sk"] body.main-page .only-czech {
    display: none !important;
}
html[lang="sk-sk"] body.main-page .only-slovak { 
    display: block !important;
}
*/
/* Přepiš pro editor – obsah uvnitř iframe *//*
html body.editor body.main-page .only-czech,
html body.editor body.main-page .only-slovak {
    display: block !important;
}*/

/* Zobrazit vše v Gridbox administraci */
iframe.editor-iframe .only-czech,
iframe.editor-iframe .only-slovak {
    display: block !important;
}





/*slider-referenci*/
.side-shadows::before,
.side-shadows::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 50px; /* Šířka gradientu */
  pointer-events: none; /* Zamezí ovlivnění interakce */
  z-index: 10; /* přepis z indexu */
}

.side-shadows::before {
  left: 0; /* Gradient vlevo */
  background: linear-gradient(to right, var(--bg-secondary), rgba(0, 0, 0, 0)); /* Gradient s proměnnou zleva doprava */
}

.side-shadows::after {
  right: 0; /* Gradient vpravo */
  background: linear-gradient(to left, var(--bg-secondary), rgba(0, 0, 0, 0)); /* Gradient s proměnnou zprava doleva */
}

/* hadpis se stinem */
.h-shadow {
    /*-webkit-text-stroke: 1px black;*/ /* Obrys */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8), 
                 0 0 10px rgba(0, 0, 0, 0.6);
}

/* lang switcher optimalizace */
div.sticky-menu-lang-swithcer div.ba-language-switcher-item {
    padding: 20px;
}

div.menu-lang-swithcer div.ba-language-switcher-item {
    padding: 20px;
}

@media (max-width: 425px) {
    div.ba-item-language-switcher.ba-item.sticky-menu-lang-swithcer div.ba-language-switcher-item {
        padding: 10px !important;
    }
}




/*div.ba-language-switcher-list > div.ba-language-switcher-item:not(:last-child) {
    padding-right: 10px;
}
*/
/*topup*/
.ba-item-reading-progress-bar {
  z-index: 10000000 !important;
}

.custom-scroll-to-top {
	bottom: 25px !important;
  right: 25px !important;
}

.show-on-reference-only {
	display: none !important;
}

div.divider-up > div.ba-shape-divider.ba-shape-divider-bottom,
div.divider-up > div.ba-shape-divider.ba-shape-divider-top {
	z-index: 11;
}

/*slider příspěvků */
div.slideset-wrapper > ul > div.slideshow-content > li > div  {
	/*box-shadow: 0 10px 20px 0 var(--shadow);*/
}

div.slideset-wrapper > ul > div.slideshow-content > li > div.ba-slideshow-img {
	border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
div.slideset-wrapper > ul > div.slideshow-content > li > div.ba-slideshow-caption {
	border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/*uvodní slider*/
div.ba-slideshow-caption > div.ba-blog-post-fields > div > div > div.ba-blog-post-field-title {
	display:	block;
}
div.ba-slideshow-caption > div.ba-blog-post-fields > div > div > div.ba-blog-post-field-value {
 	text-align: left;
}
div.ba-slideshow-caption > div.ba-blog-post-fields > div > div > div.ba-blog-post-field-value > a {
  padding-right: 10px;
}

/*kalendář*/
div.event-calendar-events-list.ba-list-layout, div.event-calendar-events-list {
	background-color: var(--bg-dark);
}
.event-calendar-events-list:after {
	border-top-color: var(--bg-dark) !important;  
}

/*uvod mapa*/
#item-1741384129001 > div.ba-shape-divider.ba-shape-divider-bottom,
#item-1741384129001 > div.ba-shape-divider.ba-shape-divider-top {
	/*z-index: 5 !important;*/
}

/*just show*/
.just-show {
	display: block !important;
}

/*maps - gray*/
#item-1741176157866 > div > div > div.gm-style > div:nth-child(1) > div:nth-child(1) > div:nth-child(5) > div > div > img
{
	filter: grayscale(0%);
}

/*edit button*/
a.edit-page-btn {
	left: calc(100vw - 200px) !important;
}

/*fix zobrazení detailu článku na mobilu*/
@media (max-width: 768px) {
#ba-my-account-wishlist .ba-wishlist-product-remove-cell, .right-currency-position, .ba-add-to-cart-quantity + .ba-btn-transition {
        justify-content: right !important;
    }
}