/*
Theme Name: Posilka CZ
Theme URI: http://formfactory.cz/
Description: Popis vašeho child theme
Author: Vaše jméno
Author URI: http://formfactory.cz/
Template: formfactory
Version: 1.12
*/
@import url("../formfactory/style.css?v=1.12");

body.scrolled header.wp-block-template-part {
    z-index: 20;
    transition: all 0.3s;
}
/* Logo header */
body header.wp-block-template-part img.custom-logo {
    max-height: 100px;
    transition: all 0.3s;
}
body:not(.scrolled) header.wp-block-template-part {
    margin-bottom: -20px;
}
/*
body:not(.scrolled) {
	--wp--custom--main-menu-height: 130px !important;
}*/
body.scrolled header.wp-block-template-part img.custom-logo {
    max-height: 80px;
}
@media (max-width: 1250px) {
    nav.is-style-main-menu>ul {
        display: none;
    }
}
@media (max-width: 1000px) {
    nav.is-style-main-menu>.wp-block-buttons:not(#btn-main) {
        display: none;
    }
	body header.wp-block-template-part img.custom-logo {
    	max-height: 80px !important;
	}
} 

ul.horizontal-list li[data-wpml='language-item']:first-of-type {
    margin-top: 0px !important;
}
[data-wpml='language-item'] {
    text-transform: uppercase;
}

ul.horizontal-list li[data-wpml='current-language-item'] span {
    opacity: 0.4;
}
.has-xxxx-large-font-size {
    font-size: min(var(--wp--preset--font-size--xxxx-large), 11vh) !important;
}

/* Form field inherits colors from group color settings */

.has-background:has(input, select, button, textarea, label) {
    --wp--custom--form--input--hover--background-color: var(--wp--custom--form--input--background-color);
    --wp--custom--form--btn--background-color: var(--wp--custom--form--input--background-color);
    --wp--custom--form--btn--hover--background-color: var(--wp--custom--form--input--background-color);
    --wp--custom--form--input--border-color: var(--wp--custom--form--input--text-color);
    --wp--custom--form--input--hover--border-color: var(--wp--custom--form--input--text-color);
    --wp--custom--form--btn--border-color: var(--wp--custom--form--input--text-color);
    --wp--custom--form--btn--hover--border-color: var(--wp--custom--form--input--text-color);
    --wp--custom--form--input--hover--shadow: 0px 0px 0px 1px var(--wp--custom--form--input--text-color);
}
form.freepass-form.freepass-form .newplaceholder label>span:not(.warning), form.freepass-form.freepass-form .placeholder, form.reservation-form.reservation-form .newplaceholder label>span:not(.warning), form.reservation-form.reservation-form .placeholder {
    background: var(--wp--custom--form--input--background-color);
    left: calc(var(--ff-font-input) * 0.4);
	border-radius: var(--wp--custom--border-radius);
}
form.freepass-form.freepass-form .newplaceholder label>input[placeholder=" "]:not(:focus):placeholder-shown + span:not(.warning),
form.reservation-form.reservation-form .newplaceholder label>input[placeholder=" "]:not(:focus):placeholder-shown + span:not(.warning) {
    background: transparent;
}
.wp-block-buttons .wp-block-button:not(.is-style-only-arrow, .is-style-only-text):where(:hover,:focus,:active) {
	transform: none !important;
}
div#btn-login a, div#btn-multisport a {
    position: relative;
}
div#btn-login a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-right: solid 3px var(--wp--preset--color--accent) !important;
}
div#btn-multisport a::before {
    content: "";
    position: absolute;
    left: 0;
    top: -3px;
    bottom: -3px;
    border-right: solid 10px var(--wp--preset--color--accent) !important;
}
/* lang */
[data-wpml='current-language-item'], footer li[data-wpml=current-language-item] {
    display: flex !important;
}
.horizontal-list>li {
    display: flex !important;
    flex-direction: row;
    column-gap: inherit;
}
.horizontal-list>li::before {
    content: "|";
}
.horizontal-list>li:first-child::before {
    content: none;
}