/*NAVBAR*/
header {
	width: 100%;
	position: fixed;
	top: 0px;
	height: 75px;
	display: flex;
	align-items: center;
	background-color: white;
	z-index: 1000;
}

nav {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 25px;
	width: fit-content;
	flex-wrap: wrap;
}

nav a {
	display: flex;
}

.menu li:last-child a {
	color: white;
	background-color: #004996;
	border-radius: 20px;
	padding: 10px 35px;
	transition: all 0.3s;
}

.menu li:last-child a:hover {
	background-color: #002e5f;
}

nav ul li a {
	position: relative;
	font-weight: bolder;
	color: #004996;
	font-size: 12px;
	line-height: 14px;
	text-decoration: none;
	display: inline-block;
}

nav ul li:not(:last-child) a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	width: 100%;
	height: 2px;
	background-color: #004996;
	transition: transform 0.3s ease;
}

nav ul li:not(:last-child) a:hover::after {
	transform: translateX(-50%) scaleX(1);
}

#logo {
	width: 200px;
	height: fit-content;
}

/*SOCIAL LINKS*/
.social_links {
	position: fixed;
	width: 20px;
	top: 0px;
	display: flex !important;
	justify-content: center;
	margin-left: -50px;
}

@media (max-width: 1550px) {
	.social_links {
		margin-left: -25px;
	}
}

@media (max-width: 900px) {
	.social_links {
		margin-left: -45px;
	}
}

.line {
	height: 360px;
	border: 1px solid #004996;
}

.link {
	width: fit-content;
	margin: 0 auto;
	transition: 0.3s all;
}

.link:hover {
	transform: scale(1.10);
}

.link img {
	max-width: 100%;
	height: 19px;
}

.links {
	position: absolute;
	top: 375px;
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-direction: column;
}

.menu-wrapper {
	display: flex;
	align-items: center;
}

.burger {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 25px;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.burger span {
	width: 25px;
	height: 3px;
	background-color: #004996;
	border-radius: 2px;
	transition: all 0.3s linear;
}

.burger.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
	transform-origin: center;
}

.burger.active span:nth-child(2) {
	opacity: 0;
}

.burger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
	transform-origin: center;
}

/*RESPONSIVITY*/

@media (max-width: 900px) {
	.menu-wrapper {
		position: absolute;
		top: 75px;
		right: 0;
		width: 100%;
		height: calc((var(--vh, 1vh) * 100) - 75px);
		background: #ffffff;
		z-index: 10;

		transform: translateX(100%);
		transition: transform 0.3s ease;
		flex-direction: column;
	}

	.menu-wrapper.active {
		transform: translateX(0);
	}

	.burger {
		display: flex;
	}

	nav ul {
		flex-direction: column;
		width: 100%;
		justify-content: space-evenly;
		height: 100%;
		gap: 0px;
	}

	nav ul li a {
		font-size: 18px;
	}

	#logo {
		width: 150px;
		height: auto;
		transition: margin-left 0.5s ease;
	}

	.social_links {
		position: absolute;
		left: 50px;
		z-index: 100;
		display: none;
		opacity: 0;
		transition: opacity 1s ease;
	}

	.social_links.active {
		display: flex;
		opacity: 1;
	}

	.line {
		height: 30vh;
	}

	.links {
		top: 32vh;
	}
}

/*WPML*/
.wpml-ls-legacy-dropdown {
	width: fit-content;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
	padding-left: 10px;
	padding-right: 0px;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
	top: 22px;
	left: 55%;
	z-index: 1000;
}

.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
	display: block;
}

.burger-wrap {
	display: flex;
	align-items: center;
}

@media (max-width: 900px) {
	.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
		display: none;
	}

	.menu-wrapper .wpml-ls-legacy-dropdown {
		display: none;
	}

	.wpml-ls-legacy-dropdown .wpml-ls-flag {
		width: 30px !important;
		height: 20px !important;
	}
}

@media (min-width: 901px) {
	.burger-wrap .wpml-ls-legacy-dropdown {
		display: none;
	}
}

/*Kavalier design*/
.kd-logo-wrap {
	display: flex;
	gap: 25px;
	align-items: center;
}
.kd-logo-wrap a img {
	background-color: transparent;
}

.kd-logo-wrap img {
	max-height: 30px;
}

/*OPRAVA VLAJKY */
.wpml-ls-flag {
	max-width: none !important;
}

/*UDRZBA*/
.probihajici-udrzba {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: white;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: bold;
	color: black;
	overflow: auto;
}
.udrzba {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	align-items: center;
	justify-content: center;
	padding: 50px;
	overflow: auto;
}
.udrzba-content {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 20px;
}
.udrzba-content h1 {
	text-transform: none;
	text-align: left;
	font-size: clamp(18px, 3vw, 30px);
}
.udrzba-content p {
	text-align: left;
	font-size: clamp(14px, 2vw, 18px);
}
.udrzba img {
	max-width: 500px;
	width: 65%;
}
.udrzba-content .blue-button {
	color: white;
	background-color: #004996;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: clamp(12px, 2vw, 16px);
	text-decoration: none;
	width: fit-content;
}
.udrzba-content p a {
	color: #004996;
	text-decoration: none;
}
.udrzba-contact {
	margin-top: 5%;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}
.udrzba-phones {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
@media (max-width: 1000px) {
	.udrzba img {
		margin-right: auto;
	}
}