/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.pajskr.cz
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
.kadence-breadcrumbs {
    font-size: 14px !important;
}
.search-form .kadence-search-icon-wrap {color: #7722a7 !important;}


.kb-query-filter-filter-button[data-value=""] {
    font-size: 0;
}



.blog .nadpisprakticke {
    display: none !important;
}

.gallerypr {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 210px;
  gap: 0.45rem;
  margin-top:15px;
}

.gallerypr a {
  width: 100%;
  height: 100%;
  display: block;
}

.gallerypr a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.gallerypr a:not(.hero) img {
  cursor: pointer;
}

.gallerypr .hero {
  grid-column: span 4;
  grid-row: span 2;
}

/* Stylování pro druhý velký obrázek */
.gallerypr .large {
  grid-column: span 2;
  grid-row: span 1;
}

.gallerypr-item.hidden {
    display: none;
}


@media (max-width: 700px) {
 /* .gallerypr {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 175px;
  }
*/
	
	.gallerypr {
    display: grid;
   /* grid-template-columns: repeat(2, 1fr);  3 sloupce */
		grid-template-columns: 1fr; /* 1 sloupec */
		grid-auto-rows: auto;
		     
	gap:0;
	grid-row-gap:0.45rem;
    margin-top: 15px;
  }
	
	  .gallerypr .hero {
    grid-column: 1 / -1; /* Tento obrázek zabere celou šířku */
  }
 /* Skryjeme všechny obrázky kromě prvního */
  .gallerypr .gallerypr-item:not(.hero) {
    display: none;
  }
	
  .gallerypr img {
    width: 100%; /* Obrázky se přizpůsobí šířce sloupce */
    height: auto; /* Udržuje původní poměr stran obrázků */
    margin-right: 0.45rem; /* Mezera pouze na pravé straně */
  }

  .gallerypr img:first-child {
    margin-left: 0; /* Odstraní margin u posledního obrázku v řadě */
	  padding-right: 0.2rem;
  }
	.gallerypr .large {
  display:none;
}
	
	.gallerypr a img {
  width: 100%;
	height:206px;
  object-fit: cover;
  border-radius: 10px;
}
 
} 

.category .kadence-filter-wrap {display: none;}

/* Základní stav - skrytí na desktopu */
.cenamobil {
    display: none !important;
}

/* Zobrazení na tabletu (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .cenamobil {
        display: block !important;
    }
}

/* Zobrazení na mobilu (max-width: 767px) */
@media screen and (max-width: 767px) {
    .cenamobil {
        display: block !important;
    }
}
 
.hohepunkte {
  display: block;
}

.hohepunkte p {
  display: block;
  position: relative;
}

.hohepunkte p span[style*="color: #008000"] {
  position: absolute;
  left: 0;
  width: 20px;
  display: inline-block;
  text-align: center;
}

.hohepunkte p {
  padding-left: 20px;
  line-height: 1.8; /* Upravte podle potřeby pro mezery mezi řádky */
}

.inbegriffen p {
  position: relative;
  padding-left: 20px; /* Prostor pro emotikonu */
}

.inbegriffen p span:first-child {
  position: absolute;
  left: 0;
  top: 0;
}

.hohepunkte p,
.inbegriffen p
{margin:0px !important;}

.sublabel:empty {display:none !important;}
.product-detail li:empty {display:none !important;}
.mapagoogle iframe {border-radius:10px;}

/*zkrátí popisek produktu v kategorii */
.short-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* počet řádků, které chcete zobrazit */
  -webkit-box-orient: vertical;
  cursor: pointer; /* ukáže, že lze kliknout na text */
}
.full-text {
  -webkit-line-clamp: none;
}

.widget_nav_menu a:hover {
   
    text-decoration: underline !important;
}

.entry-taxonomies .category-links a {
    pointer-events: none;
}

.home .kb-dynamic-list-item-link {
    pointer-events: none;
}


.jotformframe iframe {
	
	border:0px !important;
}

@media only screen and (min-width: 800px) {
.jotformframe iframe {
	max-width:none !important;
	width:100% !important;
	border:0px !important;
}
  }

.single-post img {
	border-radius:10px;
}

.sticky-footer { 
	display: none;
}

@media (max-width: 600px) {
.sticky-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f9f9f9; /* Barva pozadí */
    text-align: center;
    padding: 10px 0; /* Odsazení pro lepší vzhled */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Stín pro oddělení od obsahu stránky */
    display: block; /* Výchozí zobrazení */
	z-index:100;
}
    
    .sticky-footer button {
        padding: 10px 20px;
        font-size: 16px;
        color: #ffffff;
        background-color: #007BFF;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
	
	.entry-related-inner-content {padding-bottom: 0px !important;}
}


/* skrytí Tripadvisor recenzí na produktech v kategoriích - Schifffahrten, Rundfahrten, kultur */

.single-prag-rundfahrt .tripadvisor_rev, 
.single-prag_schifffahrt .tripadvisor_rev, 
.single-prag-kulturen .tripadvisor_rev
{display: none !important;}





/* výpis kategorií */

/* Hlavní container pro kartu */
.archive .kb-query-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Container pro obsah */
.archive .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Nastavení minimální výšky pro nadpis */
.archive .kt-adv-heading664_be0b2f-fd {
  min-height: 3.5rem; /* Můžete upravit podle potřeby */
}

/* Nastavení minimální výšky pro popis */
.archive .kt-adv-heading664_8f8f44-08 {
  min-height: 4.5rem; /* Můžete upravit podle potřeby */
}

/* Cena vždy na spodku */
.archive .kt-adv-heading664_ec108b-49 {
  margin-top: auto;
}


/* Hlavní container pro kartu */
.archive .kb-query-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Container pro obsah */
.archive .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Nastavení minimální výšky pro nadpis */
.archive .kt-adv-heading411_de6f8b-3d {
  min-height: 3.5rem; /* Můžete upravit podle potřeby */
}

/* Nastavení minimální výšky pro popis */
.archive .kt-adv-heading411_e9bce0-e6 {
  min-height: 4.5rem; /* Můžete upravit podle potřeby */
}

/* Cena vždy na spodku */
.archive .kt-adv-heading411_61b875-db {
  margin-top: auto;
}

/* Obalový kontejner pro vnitřní obsah */
.archive .kb-row-layout-wrap {
  flex: 1;
}

/* Hlavní container pro kartu */
.archive .kb-query-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Container pro obsah */
.archive .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Nastavení minimální výšky pro nadpis */
.archive .kt-adv-heading1177_799719-58  {
  min-height: 5.5rem; /* Můžete upravit podle potřeby */
}

/* Nastavení minimální výšky pro popis */
.archive .kt-adv-heading1177_f10502-7a {
  min-height: 4.5rem; /* Můžete upravit podle potřeby */
}

/* Cena vždy na spodku */
.archive .kt-adv-heading1177_a2a5c0-5d {
  margin-top: auto;
}

/* Obalový kontejner pro vnitřní obsah */
.archive .kb-row-layout-wrap {
  flex: 1;
}


@media (max-width: 767px) {
  /* Hlavní wrapper */
  .wp-block-kadence-query-filter-buttons {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Fieldset wrapper */
  .kadence-filter-wrap {
    margin: 0;
    padding: 0;
    min-width: 100%;
  }

  /* Container pro tlačítka */
  .buttons-options.filter-refresh-container {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 8px;
    padding: 10px 0;
  }

  /* Wrapper pro jednotlivá tlačítka */
  .btn-inner-wrap {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Odstranění scrollbaru ale zachování funkčnosti */
  .wp-block-kadence-query-filter-buttons::-webkit-scrollbar {
    display: none;
  }
  
  .wp-block-kadence-query-filter-buttons {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}



/* Výchozí stav - viditelný */
p.kt-adv-heading2583_2738f1-ce {
  display: block;
}

/* Skryje element, pokud obsahuje jen tečky a mezery */
p.kt-adv-heading2583_2738f1-ce:has(:only-child:matches('^[• ]+$')) {
  display: none;
}

/* Zajistí, že se zobrazí, pokud obsahuje další text */
p.kt-adv-heading2583_2738f1-ce:has(:not(:only-child)) {
  display: block;
}

/* výsledky vyhledávání */

.search .grid-cols {  
	column-gap: 1rem; 
}


/* Container pro obsah */
.search .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Cena vždy na spodku */
.search .wp-block-kadence-advancedheading.kt-adv-heading2583_e778fa-b9, .wp-block-kadence-advancedheading.kt-adv-heading2583_e778fa-b9[data-kb-block="kb-adv-heading2583_e778fa-b9"] {
    position: absolute !important;
  bottom: 1rem !important;
  right: 1rem !important;
  width: calc(100% - 2rem) !important;
}


/* HP Container pro obsah */
.kb-row-layout-id809_004a38-17 .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home .kt-adv-heading809_240758-2d {
  min-height: 3.5rem; /* Můžete upravit podle potřeby */
}

/* Cena vždy na spodku */
.home .kt-adv-heading809_6b8c6f-44 {
  margin-top: auto;
}


.kb-query-filter-filter-button[data-value=""] {
    font-size: 0 !important;
    line-height: 0 !important;
}

.kb-query-filter-filter-button[data-value=""]:after {
    content: 'Alles';
    font-size: 14px !important;  /* nebo jakoukoli jinou velikost, kterou používáte */
    line-height: normal !important;
	padding-left: 5px;
    padding-right: 5px;
}