/* MENU */
#sp-menu .form-control {
	display: block;
	width: 100%;
	padding: 10px 20px;
	font-size: 1rem;
	line-height: 1.25;
	color: #2f5d37;
	background-color: transparent;
	background-image: none;
	background-clip: padding-box;
	border: 1px solid #2f5d37;
	border-radius: 100px;
	transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	width: 276px;
}
#sp-menu .form-control:hover {
	background-color: #eefffe;
}

.com-content.view-article #sp-menu .form-control {
	display: block;
	width: 100%;
	padding: 10px 20px;
	font-size: 1rem;
	line-height: 1.25;
	color: #fff;
	background-color: transparent;
	background-image: none;
	background-clip: padding-box;
	border: 1px solid #fff;
	border-radius: 100px;
	transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	width: 276px;
}

.com-content.view-article #sp-menu .form-control:hover {
	background-color: #709376;
}

.com-content.view-article #sp-menu .form-control::placeholder {
	color: #fff;
	opacity: 1; /* pro jistotu – některé prohlížeče snižují krytí */
}

/* Na blogu skrýt obrázek a použít invertované logo jako pozadí */
.com-content.view-article #sp-header .logo {
  background-image: url('/images/logo-invert-242x36.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  height: 68px;
  margin-top: 0px;
}

/* autor na blogu */
@media (max-width: 575px) {
	.view-article .article-title-wrap .article-content-wrap .article-info {
		position: relative;
		padding-left: 40px;
		display: grid;
		grid-auto-flow: row;
	}

	.article-info > span + span::before {
		display: none;
	}
	
	.view-article .article-title-wrap .article-content-wrap .article-info span {
		font-size: 14px;
		line-height: 18px;
	}
	
	.article-info span.category-name {
		display: none;
	}
}
/* autor na blogu KONEC */

/* Skryj systémové logo */
.com-content.view-article #sp-header .logo img {
  opacity: 0;
  visibility: hidden;
}


/* podtržení menu */
.sp-megamenu-parent > li.sp-menu-item > a {
	display: inline-block;
	padding: 0;
	line-height: 38px;
	font-size: 18px;
	font-weight: 500;
	margin: 15px;
}

.sp-megamenu-parent > li.sp-menu-item > a {
  position: relative;
  display: inline-block;
}

.sp-megamenu-parent > li.sp-menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px; /* výška čáry pod textem – vyladíš ručně */
  width: 0%;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.sp-megamenu-parent > li.sp-menu-item > a:hover:after,
.sp-megamenu-parent > li.sp-menu-item.active > a:after {
  width: 100%;
}

.sp-megamenu-parent > li.sp-menu-item.sp-has-child > a {
	margin-right: 25px;
}

.sp-megamenu-parent > li.sp-menu-item.sp-has-child > a {
	padding-right: 2px;
}

.sp-megamenu-parent > li.sp-menu-item.sp-has-child > a:after {
	position: absolute;
	right: 0;
	top: 2px;
	width: 0%;
	height: 2px;
	left: unset;
}

.sp-megamenu-parent li.sp-menu-item.sp-has-child ul li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 4px;
	width: 0%;
	height: 2px;
	background-color: currentColor;
	transition: width 0.3s ease;
}

.sp-megamenu-parent li.sp-menu-item.sp-has-child ul li a:hover:after {
  width: 33%;
}

/* barva oddělvoače menu */
.com-content.view-article #sp-header .sp-megamenu-parent > li > span {
	color: white;
}
/* barva oddělvoače menu KONEC*/

/* slideshow ovládaní */
.dot-controller-dot.sp-slider .sp-dots ul li, .dot-controller-dot.sp-slider .sp-dots ul li.active {
	border-width: 0px;
}

.dot-controller-dot.sp-slider .sp-dots ul li::after {
	background: #ffffff99;
}
/* slideshow ovládaní konec */

/* tooltips */
[data-tooltips-element=tooltip] {
  --background-color: #ffffff;
  --border-color: #c0c6cf;
  --text-color: #1e2228;
  --title-background-color: #f4f5f6;
  --title-border-color: #f4f5f6;
  --title-text-color: #1e2228;
  --border-width: 3px;
  --border-radius: 12px;
  --padding: 16px 20px;
  --title-size: 1.1em;
  --box-shadow: 0 5px 10px rgba(0, 0, 0, .42);
  --arrow-size: 10px;
}
[data-tooltips-element=tooltip][data-tooltips-theme=light] {
  --background-color: #ffffff;
  --border-color: #bbd2bf;
  --text-color: #26422b;
  --title-background-color: #58815f;
  --title-border-color: #bbd2bf;
  --title-text-color: #ffffff;
}
[data-tooltips] {
	/*cursor: pointer;
	border-bottom: 2px dashed #f8d16f !important;
	display: inline-block;
	line-height: calc(100% - 2px);*/
	cursor: help;
	text-decoration: underline;
	display: inline-block;
	border-bottom: none;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	text-decoration-color: #f8d16f;
	text-decoration-style: dashed;
}
[data-tooltips-element=tooltip] [data-tooltips-element=content] {
	color: var(--text-color);
	padding: var(--padding);
}
[data-tooltips-element="tooltip"] [data-tooltips-element="content"] a {
	text-decoration-line: underline;
	text-decoration-color: #f8d16f;
	text-decoration-thickness: 2px;
	text-underline-offset: 1px;
	color: inherit;
	cursor: pointer;
}
/* tooltips */

/* odkazy */
.sppb-addon.sppb-addon-raw-html a,
.sppb-addon.sppb-addon-text-block a {
	text-decoration-line: underline;
	text-decoration-color: #f8d16f;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	color: inherit;
	cursor: pointer;
}
/* odkazy */

/* figcaption */
figcaption {
	font-size: 14px;
	color: #26422b;
	text-align: left;
	font-weight: 400;
	font-style: italic;
	margin: 5px 20px 0 20px;
}

figure > img {
	border-radius: 25px;
}
/* figcaption */

/* FAQ */
#faq .sppb-panel.sppb-panel-custom {
	padding: 24px 0 24px 24px !important;
	border-radius: 12.5px;
}

#faq .sppb-panel.sppb-panel-custom:hover {
	background: #d7e2d9;
}
/* FAQ */

/* Historické okénko: tabulky v historii plemen (od 2026-11-04, /rodajlendka/historie) */
/* Historické okénko: tabulky v historii plemen (od 2026-11-04, /rodajlendka/historie) */
.historicke-okenko{margin:2rem 0}
.historicke-okenko h3{font-size:28px;padding:0 0 .5rem}
.historicke-okenko-tabulka{overflow-x:auto;-webkit-overflow-scrolling:touch}
.historicke-okenko table{width:100%;min-width:600px;border-collapse:collapse;background:#faf6ec;border:1px solid #26422b;border-top:4px double #26422b;font-variant-numeric:tabular-nums;font-size:.95rem;line-height:1.4}
.historicke-okenko th{background:#26422b;color:#fff;font-variant:small-caps;letter-spacing:.04em;font-weight:600;text-align:left;padding:.5rem .75rem}
.historicke-okenko td{padding:.45rem .75rem;border-top:1px dotted #b9ad8f;vertical-align:top}
.historicke-okenko .cislo{text-align:right;white-space:nowrap}
.historicke-okenko td:first-child{border-left:5px solid transparent;white-space:nowrap}
.historicke-okenko tr.vystavni td:first-child{border-left-color:#9b3a24}
.historicke-okenko tr.uzitkova td:first-child{border-left-color:#4f7a4f}
.historicke-okenko tr.vlastni td{background:#e3efe3;font-weight:600}
.historicke-okenko .legenda{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;font-size:.85rem;color:#555}
.historicke-okenko .legenda li::before{content:"";display:inline-block;width:.8em;height:.8em;margin-right:.4em;vertical-align:-.05em;border-radius:2px}
.historicke-okenko .legenda .vystavni::before{background:#9b3a24}
.historicke-okenko .legenda .uzitkova::before{background:#4f7a4f}
.historicke-okenko .legenda .vlastni::before{background:#e3efe3;border:1px solid #4f7a4f}
.historicke-okenko .poznamka{margin:.5rem 0 0;font-size:.9rem;color:#555}
/* Historické okénko KONEC*/

/* Blog */
.blog {
	font-size: 1.15rem;
	line-height: 1.6;
}

.view-article .article-title-wrap .article-content-wrap .article-info:before {
	content: "";
	position: absolute;
	top: 0px;
	left: 0;
	background-image: url(../images/blog-article-info-01-martin-richta-35x35-60.webp);
	background-repeat: no-repeat;
	width: 35px;
	height: 35px;
	transition: 0.3s;
	pointer-events: none;
	border-radius: 100px;
}

.view-article .articlebody-bottom {
	display: none;
}
/* Blog */

/* Alert */
.sppb-alert-primary {
	background: #517858;
	color: #eefffe;
}

.sppb-alert-primary hr {
	border-top-color: #26422b
}

.sppb-alert-success {
	background: rgb(81 120 88 / 16%);
	color: #26422b;
}

.sppb-alert-info {
	background-color: #f8d16d40;
	border: 2px solid #f8d16f;
	border-radius: 2px;
	color: #26422b;
}

.sppb-alert-light {
	background: #e9efea;
	color: #26422b
}

.sppb-alert-light hr {
	border-top-color: #e9efea
}

/* LOGO */
@media (max-width: 576px) {
    .logo-image {
        height: 30px !important;
    }

    .logo-image-phone {
        height: 30px !important;
    }
}
@media (max-width: 992px) {
    .logo-image {
        height: 30px !important;
    }

    .logo-image-phone {
        height: 30px !important;
    }
}