/**
 * Theme name: White Wings Food
 * Description: Child theme for White Wings Food based on Infinite Unity theme
 * Author: Felföldi László
 * Template: iu_theme
 * Version: 0.1.0
 */

@import url('./vars.css');
@import url('./block-styles.css');

body {
	padding-top: 90px;
	margin: 0;
}

a {
	font-weight: normal;
}
a:hover {
	text-decoration: none;
}

header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height);
	left: 0;
	width: 100%;
	z-index: 999;
}
body:not(.admin-bar) header {
	top: 0;
}

header .logo {
	overflow: visible;
	height: 60px;
	position: relative;
}
header .logo:before {
	content: '';
	position: absolute;
	top: -9px;
	left: -9px;
	width: calc(100% + 18px);
	height: 0;
	padding-top: calc(100% + 18px);
	background: white;
	z-index: -1;
	border-radius: 50%;
}

li.pll-parent-menu-item {
	margin-left: 45px;
}
li.pll-parent-menu-item ul.sub-menu {
	min-width: unset;
}
li.pll-parent-menu-item img {
	position: relative;
	display: inline-block;
	width: 24px !important;
	height: 24px !important;
	padding-left: 24px;
	background-size: cover;
	background-position: center;
	border-radius: 50%;
}
img[alt="Magyar"] {
	background-image: url('img/hu.svg');
}
img[alt="English"] {
	background-image: url('img/uk.svg');
}
img[alt="Deutsch"] {
	background-image: url('img/de.svg');
}

.breadcrumbs.product .iu-text {
	margin-left: calc(((100vw - 100%) / -2) + 198px);
}
.breadcrumbs .iu-text a {
	color: white;
}

.iu-section.magyar {
	margin-bottom: 3px;
	position: relative;
}
.iu-section.magyar:after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 9px;
	background: linear-gradient(red 33%, white 34%, white 66%, darkgreen 67%);
}
.iu-section.hidden {
	display: none;
}

.service-icons {
	gap: 45px;
}
.service-icons > .iu-group {
	flex: 1;
}
.service-icons > .iu-group > .iu-image {
	width: 27%;
	max-width: 60px;
}
.service-icons > .iu-group > .iu-text {
	flex: 1;
	margin-top: 9px;
}

.contact-image {
	width: 100%;
	height: 100%;
}

.iu-button.small {
	padding: 3px 18px;
	font-size: 13px;
}

.footer-columns {
	flex: 1;
}
.footer-columns h4 {
	margin-bottom: -9px;
}
.footer-columns > .iu-group {
	flex: 1;
	flex-direction: column;
}

footer .iu-section .iu-row .iu-text {
	color: rgba(255,255,255,.6) !important;
}
footer .iu-text a {
	color: rgba(255,255,255,.6);
}
footer .iu-text a:hover {
	color: var(--wp--preset--color--primary);
}

footer .copyright {
	border-top: 1px solid #1b1b1b;
}
footer .copyright .iu-text {
	font-size: 15px;
}

.desktop-hide {
	display: none;
}
.desktop-invisible {
	visibility: hidden;
}

.iu-section.section-404 .iu-text {
	margin-left: auto;
	margin-right: auto;
	max-width: 750px;
}

@media (min-width: 769px){
	.contact-image .iu-image-wrap {
		padding: 0 !important;
		height: 100% !important;
	}
}

@media (max-width: 768px){
	h1.iu-heading {
		font-size: 45px;
	}
	h2.iu-heading {
		font-size: 33px;
	}

	.desktop-hide {
		display: block;
	}
	.desktop-invisible {
		visibility: unset;
	}
	.mobile-hide {
		display: none;
	}
	.mobile-invisible {
		visibility: hidden;
		white-space: nowrap;
		overflow: hidden;
	}

	li.pll-parent-menu-item {
		margin: 45px 0 0;
	}
	li.pll-parent-menu-item a[href="#pll_switcher"] {
		display: none;
	}
	li.pll-parent-menu-item ul.sub-menu {
		display: flex;
		gap: 15px;
	}

	body .hero {
		padding-top: 72px;
		padding-bottom: 72px;
	}
	body .hero .iu-heading {
		font-size: ;
	}
	body .hero .iu-text {
		padding-right: 0;
	}

	.service-icons {
		flex-direction: column;
	}

	.contact-card .iu-column:last-child {
		padding-left: 9%;
		padding-right: 9%;
	}
	.contact-button {
		justify-content: flex-start;
		padding-bottom: 15px;
	}

	.product-question {
		display: block;
		margin-top: 30px;
	}

	.footer-menu {
		flex-direction: column;
	}
	.footer-columns {
		flex-direction: column;
	}
}