/*
 * Profair24 site shell.
 *
 * This file contains only the shared document, header and footer frame.
 * Page content must be styled in the stylesheet assigned to that page.
 */

:root {
	--pf-shell-accent: #08afd7;
	--pf-shell-accent-dark: #087a99;
	--pf-shell-ink: #173447;
	--pf-shell-footer: #263f4b;
	--pf-shell-white: #fff;
}

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	min-width: 320px;
	margin: 0;
	background: var(--pf-shell-white);
	color: var(--pf-shell-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

button,
input,
select,
textarea {
	font: inherit;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

[hidden] {
	display: none !important;
}

.site {
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	flex-direction: column;
}

.site > main,
.site > .site-content {
	flex: 1 0 auto;
}

.container {
	width: min(1140px, calc(100% - 40px));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	display: block;
	width: auto;
	height: auto;
	clip: auto !important;
	clip-path: none;
	padding: 12px 16px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
	color: #103d4e;
	font-weight: 700;
	text-decoration: none;
}

/* Header shell. The menu plugin may enhance the navigation inside it. */
.site-header {
	position: sticky;
	z-index: 999;
	top: 0;
	background: var(--pf-shell-accent);
	box-shadow: 0 3px 10px rgba(30, 75, 90, .18);
}

.header_home {
	position: relative;
	display: flex;
	min-height: 70px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-left: 112px;
}

.header_home_logo {
	position: absolute;
	top: 0;
	left: 0;
}

.custom-logo {
	display: block;
	width: 86px;
	height: auto;
}

.header_home_menu {
	min-width: 0;
}

.header_home_menu_ul,
.header_home_menu_ul ul,
.header_home_phone,
.header_home_social,
.footer_ul,
.footer_home_menu_ul,
.footer_home_menu_ul ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.header_home_menu_ul {
	display: flex;
	align-items: center;
	gap: 19px;
}

.header_home_menu_ul li {
	position: relative;
	margin: 0;
}

.header_home_menu a,
.header_home_phone a {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.header_home_menu a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	border-bottom: 2px solid transparent;
	text-transform: uppercase;
	transition: border-color .18s ease, opacity .18s ease;
}

.header_home_menu a:hover,
.header_home_menu a:focus-visible {
	border-bottom-color: #fff;
	opacity: .78;
}

.header_home_menu_ul .sub-menu {
	position: absolute;
	top: 100%;
	left: -14px;
	display: none;
	min-width: 230px;
	padding: 8px 0;
	border-radius: 0 0 10px 10px;
	background: var(--pf-shell-accent);
	box-shadow: 0 14px 28px rgba(14, 71, 91, .18);
}

.header_home_menu_ul li:hover > .sub-menu,
.header_home_menu_ul li:focus-within > .sub-menu {
	display: block;
}

.header_home_menu_ul .sub-menu a {
	display: block;
	min-height: 0;
	padding: 10px 14px;
	border: 0;
	font-size: 13px;
	text-transform: none;
}

.header_home_phone {
	flex: 0 0 auto;
}

.header_home_phone a {
	white-space: nowrap;
}

.header_home_social {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.header_home_social a,
.header_home_social img {
	display: block;
}

.header_home_social img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

/* Menu indicators without icon-font or global stylesheet dependencies. */
.site-header #mega-menu-wrap-Header #mega-menu-Header li.mega-menu-item-has-children > a.mega-menu-link > .mega-indicator::after {
	width: 7px;
	height: 7px;
	display: inline-block;
	content: "" !important;
	border-right: 2px solid currentcolor;
	border-bottom: 2px solid currentcolor;
	font-family: inherit !important;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .18s ease;
}

.site-header #mega-menu-wrap-Header #mega-menu-Header li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link > .mega-indicator::after {
	content: "" !important;
	transform: translateY(2px) rotate(-135deg);
}

/* Footer shell. */
.site-footer {
	flex: 0 0 auto;
	padding: 42px 0 0;
	background: var(--pf-shell-footer);
	color: #fff;
}

.footer_ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 30px;
	margin-bottom: 30px;
}

.footer_text {
	font-size: 14px;
	line-height: 1.6;
}

.footer_text > :first-child {
	margin-top: 0;
}

.footer_text > :last-child {
	margin-bottom: 0;
}

.footer_ul_logo {
	display: flex;
	justify-content: center;
}

.footer_menu,
.footer_home_menu_ul li {
	display: flex;
	justify-content: flex-end;
}

.footer_home_menu_ul a {
	display: inline-block;
	padding: 4px 0;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: color .18s ease;
}

.footer_home_menu_ul a:hover,
.footer_home_menu_ul a:focus-visible,
.footer_link_poll a:hover,
.footer_link_poll a:focus-visible {
	color: #6adcf3;
}

.footer_link_poll {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 15px 0;
	border-top: 1px solid rgba(255, 255, 255, .24);
	font-size: 12px;
}

.footer_link_poll a {
	color: #fff;
	text-decoration: none;
}

@media (max-width: 1050px) {
	.header_home {
		min-height: 78px;
		padding-left: 76px;
	}

	.custom-logo {
		width: 58px;
	}

	.header_home_menu_ul {
		gap: 12px;
	}

	.header_home_menu a,
	.header_home_phone a {
		font-size: 13px;
	}
}

@media (max-width: 880px) {
	.header_home {
		padding-left: 68px;
	}

	.header_home_menu {
		flex: 1 1 auto;
	}

	.header_home_phone {
		display: none;
	}
}

@media (max-width: 767px) {
	.container {
		width: min(100% - 28px, 1140px);
	}

	.header_home {
		min-height: 68px;
		padding-left: 58px;
	}

	.custom-logo {
		width: 48px;
	}

	.header_home_phone {
		position: absolute;
		z-index: 2;
		left: 50%;
		display: block;
		transform: translateX(-50%);
	}

	.header_home_phone a {
		font-size: 13px;
		font-weight: 700;
		line-height: 1;
		white-space: nowrap;
	}

	.header_home_social {
		position: absolute;
		z-index: 2;
		right: 58px;
		display: flex;
	}

	.header_home_social a {
		width: 30px;
		height: 30px;
		display: grid;
		place-items: center;
		border: 1px solid rgba(255, 255, 255, .75);
		border-radius: 6px;
	}

	.header_home_social img {
		width: 22px;
		height: 22px;
	}

	.footer_ul {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer_ul_logo,
	.footer_menu,
	.footer_home_menu_ul li {
		justify-content: center;
	}

	.footer_home_menu_ul a {
		font-size: 17px;
	}

	.footer_link_poll {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 370px) {
	.header_home_phone a {
		font-size: 12px;
	}

	.header_home_social a {
		width: 27px;
		height: 27px;
	}

	.header_home_social img {
		width: 20px;
		height: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
