:root {

	--header-padding-mobile: 0;
	--header-padding-tablet: 0;
	--header-padding-laptop: 0;
	--header-padding-desktop: 0;
	--header-padding-sm-laptop: 0;

	--header-row-padding-mobile: 0 5%;
	--header-row-padding-tablet: 0 5%;
	--header-row-padding-laptop: 0 6%;
	--header-row-padding-desktop: 0 10%;
	--header-row-padding-sm-laptop: 0 4%;

	--header-accent-color: #EE7D41;
	--header-primary-color: #151d34;
	--header-secondary-color: #1c2c54;
	--header-font: Sofia Pro, Sans-serif;
	--header-gradient-color: linear-gradient(78deg, #FC8444 0%, #B94B10 33%, #FC8444 66%, #B94B10 84%, #B94B10 100%);

}

body .elementor-location-header section.elementor-section.elementor-top-section.elementor-section-full_width {
	padding: 0 !important;
}

/*Widget parents rules*/
div.elementor:has(.site-header) > div.elementor-element {
	padding: 0 !important;
}

div.elementor:has(.site-header) > div.elementor-element > div {
	padding: 0 !important;
	max-width: 100% !important;
}

div.elementor-location-header > div.elementor-element,
div.elementor-location-header > div.elementor-element > div {
	padding: 0 !important;
	max-width: 100% !important;
}

/*Widget parents rules*/


body.menu-opened {
	height: 100%;
	overflow: hidden;
	margin: 0 !important;
}

.site-header {
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	display: flex;
	position: fixed;
	align-items: center;
	flex-direction: column;
	justify-content: space-between;
	transition: background-color 0.35s ease-in-out;
}

.site-header.scrolled {
	box-shadow: 0 0 15px rgb(0 0 0 / 10%);
}

.site-header__row {
	gap: 2em;
	width: 100%;
	display: flex;
	position: relative;
	flex-direction: row;
	justify-content: space-between;
	transition: all 0.5s ease-in-out;
}

.site-header__row--top {
	z-index: 20;
	padding-top: 1em !important;
	padding-bottom: 1em !important;
	background-color: var(--e-global-color-primary);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header__row--menu {
	z-index: 10;
	background-color: var(--e-global-color-primary);
	transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.site-header .site-header__row:nth-child(1) {
	z-index: 3;
}

.site-header .site-header__row:nth-child(2) {
	z-index: 2;
}

.site-header .site-header__row:nth-child(3) {
	z-index: 1;
}

.header-row__column {
	display: flex;
	align-items: center;
}

.header-row__column.column-logo {
	width: 200px;
	height: 53px;
	display: flex;
	position: relative;
	align-items: center;
}

.header-row__column.column-logo img {
	width: 100%;
	height: 100%;
}

.header-row__column.column-search {
	width: 850px;
	flex-grow: 0;
	flex-basis: auto;
}


/*	burger */
.header-burger {
	height: 24px;
	width: 36px;
	cursor: pointer;
	position: relative;
	transform: scale(0.7);
}

.header-burger__line {
	width: 100%;
	height: 2px;
	animation: none;
	position: absolute;
	transform: rotate(0deg);
	animation-duration: 0.65s;
	background-color: #ffffff;
	animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.header-burger__line:nth-child(1) {
	top: 0;
	animation-name: topreverse;
	animation-fill-mode: forwards;
}

.header-burger__line:nth-child(2) {
	bottom: 10px;
	width: 80%;
	animation-name: bottomreverse;
}

.header-burger__line:nth-child(3) {
	bottom: 0;
	animation-name: bottomreverse;
}

.header-burger.is-active > .header-burger__line {
	animation-duration: 0.65s;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.header-burger.is-active .header-burger__line:nth-child(1) {
	top: 45.8333333333%;
	animation-name: top;
}

.header-burger.is-active .header-burger__line:nth-child(2) {
	visibility: hidden;
}

.header-burger.is-active .header-burger__line:nth-child(3) {
	bottom: 45.8333333333%;
	animation-name: bottom;
}


@keyframes top {
	0% {
		top: 0;
	}
	60% {
		top: 45.8333333333%;
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(45deg);
	}
}

@keyframes bottom {
	0% {
		bottom: 0;
	}
	60% {
		bottom: 45.8333333333%;
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-45deg);
	}
}

@keyframes topreverse {
	0% {
		transform: rotate(45deg);
		top: 45.8333333333%;
	}
	60% {
		transform: rotate(0deg);
		top: 45.8333333333%;
	}
	100% {
		top: 0;
	}
}

@keyframes bottomreverse {
	0% {
		transform: rotate(-45deg);
		bottom: 45.8333333333%;
	}
	60% {
		transform: rotate(0deg);
		bottom: 45.8333333333%;
	}
	100% {
		bottom: 0;
	}
}

/*	burger */


/*RESPONSIVE*/

/*phone*/
@media (max-width: 767px) {

	.hide-mobile {
		display: none !important;
	}

	.site-header {
		padding: var(--header-padding-mobile);
	}

	.site-header__row {
		padding: var(--header-row-padding-mobile);
	}

	.header-row__column.column-logo {
		width: 160px;
		height: 48px;
	}


}

/*tablet*/
@media (min-width: 768px) and (max-width: 1024px) {

	.hide-tablet {
		display: none !important;
	}

	.site-header {
		padding: var(--header-padding-tablet);
	}

	.site-header__row {
		padding: var(--header-row-padding-tablet);
	}


}

/*mobile and tablet*/
@media (max-width: 1024px) {

	.site-header::before {
		z-index: 9999;
	}

	.header-row__column {
		flex: 1 1 0;
	}

	.column-loop {
		justify-content: flex-end;
	}

	.header-loop {
		width: 25px;
		height: 25px;
		cursor: pointer;
		background-size: contain;
		background-repeat: no-repeat;
		background-image: url(/wp-content/themes/astra-child/header/assets/img/search.svg);
	}

	.header-row__column.column-logo,
	.header-row__column.column-loop,
	.header-row__column.column-burger {
		z-index: 999;
	}

	.header-row__column--rows {
		justify-content: flex-start;
	}

	.site-header__row--top::before {
		content: "";
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1;
		position: absolute;
		background-color: var(--header-primary-color);
	}

	.header-row__column.column-logo {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.header-row__column.column-logo img {
		height: auto;
		max-width: 100%;
		position: relative;
	}


	.header-row__column.column-menu {
		top: 0;
		left: 0;
		gap: 1em;
		opacity: 0;
		z-index: -1;
		width: 100vw;
		height: 100vh;
		display: flex;
		position: fixed;
		visibility: hidden;
		flex-direction: column;
		align-items: flex-start;
		align-content: flex-start;
		transition: 0.5s ease all;
		transform: translateX(-110%);
		background-color: var(--e-global-color-secondary);

	}

	.header-row__column.column-menu.is-opened {
		opacity: 1;
		z-index: 100;
		visibility: visible;
		transform: translateX(0);
	}

	.header-row__column.column-menu .column-menu_content > * {
		width: fit-content;
	}

	.header-row__column.column-menu > .column-menu_content {
		margin-left: auto;
		margin-right: auto;
		position: relative;
	}

	.header-row__column.column-search {
		left: 0;
		top: 100%;
		z-index: -1;
		padding: 0.8em 5%;
		position: absolute;
		width: 100%!important;
		transform: translateY(-100%);
		background-color: var(--header-primary-color);
		transition: transform 0.6s ease-out, opacity 0.6s ease-out;
	}

	.header-row__column.column-search.is-opened {
		transform: translateY(0);
	}

}


/*desktop*/
@media (min-width: 1025px) {

	.hide-desktop {
		display: none !important;
	}

	.site-header {
		padding: var(--header-padding-desktop);
	}

	.site-header__row {
		padding: var(--header-row-padding-desktop);
	}

	.header-row__column {
		flex: 1 1 0;
	}

	.column-logo {
		width: fit-content;
	}

	.header-row__column.column-call {
		flex-grow: 0;
		flex-basis: auto;
	}

	.header-row__column.column-logo {
		flex-grow: 0;
		flex-basis: auto;
		justify-content: flex-start;
	}

	.header-row__column.column-logo .header-logo {
		max-width: 200px;
	}

	.column-hc {
		z-index: 5;
	}

	.column-menu {
		z-index: 10;
	}

	.site-header__row--menu {
		left: 0;
		top: 100%;
		width: 100%;
		position: absolute;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}


	.site-header.scrolled .site-header__row--menu,
	.site-header.scrolled.scroll-down .site-header__row--menu {
		transform: translateY(-100%);
	}

	.site-header.scrolled .site-header__row--menu.is-opened,
	.site-header.scrolled.scroll-up .site-header__row--menu {
		transform: translateY(0);
	}


}

/*laptop 1*/
@media (min-width: 1025px) and (max-width: 1439px) {

	.site-header {
		padding: var(--header-padding-sm-laptop);
	}

	.site-header__row {
		padding: var(--header-row-padding-sm-laptop);
	}

	.site-header__row--top {
		padding-top: 0.8em !important;
		padding-bottom: 0.8em !important;
	}

	.header-row__column.column-logo {
		width: 160px;
		height: 50px;
	}

	.header-row__column.column-search {
		width: 560px;
	}

}

/*laptop 2*/
@media (min-width: 1440px) and (max-width: 1700px) {

	.site-header {
		padding: var(--header-padding-laptop);
	}

	.site-header__row {
		padding: var(--header-row-padding-laptop);
	}

	.header-row__column.column-logo {
		width: 180px;
	}

	.header-row__column.column-search {
		width: 620px;
	}


}

/*RESPONSIVE*/
