/****************************************************************************/
/* HEADER 
/****************************************************************************/

#page-header {
	direction: rtl;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
	background: #fff;
	color: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.5);
	-webkit-transition: all 0.4s ease;
			transition: all 0.4s ease;
			background: rgba(0,0,0,0.8);
}
#page-header.front-page-header {
	background: rgba(0,0,0,0.8);
	box-shadow: none;
}
#page-header.sticky {
	background: rgba(0,0,0,0.9);
	box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.header-container {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 999;
	padding: 5px 2px;
}

@media (min-width : 1200px) {
	#page-header {
		padding: 20px;
	}
	#page-header.sticky {
		padding-top: 0;
		padding-bottom: 0;
	}
	/* Desktop: logo | horizontal nav (centered) | contact, space-between */
	.header-container {
		position: static;
		justify-content: space-between;
		width: 100%;
	}
	#header-logo {
		margin: 0;
		flex-shrink: 0;
	}
	#header-nav-inline {
		flex: 1;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.header-nav-inline-container {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.header-nav-inline-menu {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		list-style: none;
		margin: 0;
		padding: 0;
		gap: 0.5em 1.5em;
	}
	.header-nav-inline-menu li {
		padding: 0;
	}
	.header-nav-inline-menu li:before {
		content: none;
	}
	.header-nav-inline-menu .menu-item-has-children {
		position: static;
	}
	.header-nav-inline-menu .menu-item-has-children::before {
		content: none;
	}
	.header-nav-inline-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		min-width: unset;
		list-style: none;
		padding: 0.75em 1em;
		background: #fff;
		box-shadow: 0 4px 8px rgba(0,0,0,0.15);
		z-index: 10;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 0 1em;
		visibility: hidden;
		pointer-events: none;
		transform: scaleY(0);
		transform-origin: top center;
		-webkit-transition: transform 0.3s ease, visibility 0.3s ease;
		transition: transform 0.3s ease, visibility 0.3s ease;
	}
	.header-nav-inline-menu .menu-item-has-children:hover .sub-menu {
		visibility: visible;
		pointer-events: auto;
		transform: scaleY(1);
	}
	.header-nav-inline-menu .sub-menu::before {
		content: '';
		position: absolute;
		bottom: 100%;
		left: 0;
		right: 0;
		height: 60px;
	}
	.header-nav-inline-menu .sub-menu li {
		display: inline-block;
	}
	.header-nav-inline-menu .sub-menu a {
		display: inline-block;
		padding: 0.4em 1em;
		font-size:16px;
		white-space: nowrap;
		color:#000;
	}
	.header-nav-inline-menu a {
		position: relative;
		padding: 0.35em 0.5em;
		color: #fff;
		white-space: nowrap;
	}
	.header-nav-inline-menu a::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		width: 0;
		height: 1px;
		background: #000;
		-webkit-transition: width 0.3s ease, left 0.3s ease;
		transition: width 0.3s ease, left 0.3s ease;
	}
	.header-nav-inline-menu > li > a::after {
		background: #fff;
	}
	.header-nav-inline-menu a:hover::after,
	.header-nav-inline-menu a:focus::after,
	.header-nav-inline-menu a:active::after {
		width: 100%;
		left: 0;
	}
	.header-nav-inline-menu a:hover,
	.header-nav-inline-menu a:focus,
	.header-nav-inline-menu a:active {
		color: #000;
	}
	.header-nav-inline-menu > li > a:hover,
	.header-nav-inline-menu > li > a:focus,
	.header-nav-inline-menu > li > a:active {
		color: #fff;
	}
	#header-contact {
		position: static;
		margin: 0;
		flex-shrink: 0;
	}
}





/* Header main + Header logo (centered on mobile) */
#header-logo {
	margin: 0 auto;
}
#header-logo img {
	display: block;
}
@media (min-width : 1600px) {
}
/***/





/* Header contact */
#header-contact {
	/*position: absolute;
	left: 0; 
	margin-inline-end: -15px;*/
	padding: 0 15px;
	font-size: 1.3333em;
}
#header-contact a {
	display: inline-block;
	vertical-align: middle;
	margin: 0 15px;
	color: #fff;
}
#header-contact a:hover,
#header-contact a:active {
	color: #fff;
}
#header-contact a[href^="tel:"]:before {
	content: '';
	display: inline-block;
	vertical-align: baseline;
	width: 24px;
	height: 24px;
	margin-inline-end: 15px;
	background: url(../img/phone-icon.png) 50% 50% no-repeat;
}
/***/



/* Header floating container */
#header-floating-container {
	position: fixed;
	z-index: 990;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: 320px;
	max-width: 100%;
	background: #101732;
	color: #fff;
	-webkit-transform: translateX(101%);
			transform: translateX(101%);
	-webkit-transition: all 0.4s cubic-bezier(0.76, 0, 0.24, 1);
			transition: all 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
#page-header.nav-open #header-floating-container {
	-webkit-transform: none;
			transform: none;	
}

#header-floating-top {
}
#header-side-logo {
	padding: 15px;
	visibility: hidden;
}
#header-side-logo img {
	display: block;
}

#header-side-extra {
	margin-top: auto;
	padding: 30px 15px;
	text-align: center;
	filter: brightness(0) invert(1);
}

@media (min-width : 1200px) {
	
	#header-floating-top {
		padding: 20px 0;
		-webkit-transition: all 0.4s ease;
				transition: all 0.4s ease;
	}
	#page-header.sticky #header-floating-top {
		padding-top: 0;
		padding-bottom: 0;
	}

}
/***/



/* Header navbar */
#header-nav-container {
	border-top: 1px solid #ddd;
	padding: 45px 65px;
}
#header-nav {
	margin: 0 -0.5em;
	list-style: none;
	font-size: 1.1667em;
}
#header-nav li {
	padding: 0.25em;
}
#header-nav li:before {
	content: '\25AA';
	display: inline-block;
	vertical-align: middle;
	margin-inline-end: 0.25em;
	font-size: 1.25em;
}
#header-nav a {
	padding: 0.25em;
	color: inherit;
}
#header-nav a:hover,
#header-nav a:active {
	color: #fff;
}

/* Sub-menu: hidden by default, open when parent has .submenu-open */
#header-nav .menu-item-has-children .sub-menu {
	display: none;
	list-style: none;
	margin: 0.25em 0 0.5em 0;
	padding-inline-start: 1.25em;
}

#header-nav .menu-item-has-children.submenu-open .sub-menu {
	display: block;
}
#header-nav .menu-item-has-children .sub-menu li:before {
	content: none;
}
#header-nav .menu-item-has-children > a {
	cursor: pointer;
}
#header-nav .menu-item-has-children .sub-menu a {font-size:18px;display:block; width:100%;}
#header-nav .menu-item-has-children > a:after {
	content: '\25BC';
	display: inline-block;
	margin-inline-start: 0.35em;
	font-size: 0.65em;
	vertical-align: middle;
	-webkit-transition: transform 0.25s ease;
	transition: transform 0.25s ease;
}
#header-nav .menu-item-has-children.submenu-open > a:after {
	transform: rotate(-180deg);
}

@media (min-width: 1200px) {
}

@media (min-width: 1600px) {
}
/***/




/* Navbar Toggle */
#navbar-toggle {
	position: absolute;
	outline: 0;
	border: 0;
	padding: 10px;
	width: 50px;
	background: none;
	color: inherit;
	cursor: pointer;
}
#navbar-toggle span {
	display: block;
	width: 100%;
	margin: 6px 0;
	border: 2px solid; 
	border-radius: 2px;
	position: relative;
	-webkit-transition: all 0.4s ease;
			transition: all 0.4s ease;
	animation-name: navbarToggle;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
#navbar-toggle span:nth-child(1) {
	animation-delay: 1.8s;
}
#navbar-toggle span:nth-child(2) {
	animation-delay: 2.2s;
}
#navbar-toggle span:nth-child(3) {
	animation-delay: 2.6s;
}
@keyframes navbarToggle {
	0%   {width: 100%;}
	15%  {width: 60%;}
	30%, 
	100% {width: 100%;}
}
#page-header.nav-open #navbar-toggle span {
	animation: none;
	color: #fff;
}
#page-header.nav-open #navbar-toggle span:nth-child(1) {
	transform: translateY(10px) rotateZ(45deg);
	background-color: #fff;
}
#page-header.nav-open #navbar-toggle span:nth-child(2) {
	color: transparent;
}
#page-header.nav-open #navbar-toggle span:nth-child(3) {
	transform: translateY(-10px) rotateZ(-45deg);
	background-color: #fff;
}
@media (min-width: 1200px) {
	#navbar-toggle {
		width: 60px;
	}
}
/***/











/* Header Buttons */
.header-btns {
	margin-right: auto;
	padding: 15px 0;
}
.header-btn,
.header-btn:hover,
.header-btn:active,
.header-btn:visited {
	color: #fff;
}
.header-btn {
	margin: 0 0.3333em;
}
.header-btn .fa {
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	border: 2px solid #fff;
	border-radius: 1em;
	padding: 0.25em;
	background: transparent;
	color: #fff;
	font-size: 16px;
	line-height: 0.95em;
	text-align: center;
	transition: all 0.2s ease;
}
.header-btn.hover .fa,
.header-btn:hover .fa {
	background: #fff;
	color: #272e2f;
	mix-blend-mode: hard-light;
	transition: all 0.2s ease;
}
.header-btn .fa-facebook:before,
.header-btn .fa-phone:before {
	font-size: 0.85em;
}
.header-btn span {
	display: inline-block;
	overflow: hidden;
	margin: 0 0.5em;
	vertical-align: middle;
	white-space: nowrap;
	color: inherit;
	
}
.header-btn:hover span {
	
}
@media (max-width : 768px) {
	.header-btn > span {
		display: none;
	}

}
@media (min-width : 768px) {
	.header-btns {
		padding: 15px;
	}
}
@media all and (max-width: 1200px) {
#navbar-toggle {position:static;}
#header-contact {position:static;padding:0;}
#header-logo {margin:0;}
.header-container {justify-content: space-between;}
}
/***/



/********************************************************************************/

