/*--------------------------------------------------------------------------------------*\
| HEADER
\*--------------------------------------------------------------------------------------*/

li.menu-item-has-children{
    position: relative;
    padding-right: 18px;
    box-sizing: border-box;
}
.sub-menu > li.menu-item-has-children{
	width: 100%;
	padding-right: 0;
}
li.menu-item-has-children::after{
    content: '';
    width: 6px;
    height: 6px;
    border-left: 2px solid white;
    border-top: 2px solid white;
    transform: rotate(225deg);
    position: absolute;
    right: 5px;
    top: calc(50% - 4px);
	transition: 0.3s;
	z-index: 1;
}
.sub-menu > li.menu-item-has-children::after{
	border-color: black !important;
}
li.menu-item-has-children:hover::after{
	transform: rotate(135deg);
}
li.menu-item-has-children *:hover > ul.sub-menu,
li.menu-item-has-children:hover > ul.sub-menu{
	display: flex;
}
ul.sub-menu a{
    color: black;
    width: 100%;
    padding: 8px;
	z-index: 1;
    display: flex;
	
}
header .menu > li > a{
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
}
.menu > li > ul.sub-menu{
	z-index: 2;
}
.sub-menu li:hover > a{
	font-weight: 500;
}
header ul.sub-menu li a{
	transition: 0s;
    box-sizing: border-box;
}
header ul.sub-menu li{
	width: 100%;
	text-align: left;
	padding-bottom: 3px;
}
.sub-menu > li.menu-item-has-children{
	padding-right: 20px;
}
.sub-menu > li.menu-item-has-children::after{
	right: 8px;
}
ul.sub-menu {
	display: none;
	flex-direction: column;
    position: absolute;
    padding: 0;
    border-radius: 3px;
    width: 100%;
	min-width: 200px;
	background: white;
	gap: 0;
}

ul.sub-menu > li.menu-item-has-children:hover > ul.sub-menu{
	left: 100%;
    top: 0;
}

header.site-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-light-blue);
	max-width: 100%;
    width: 100%;
    margin: 0;
    clip-path: unset;
	box-sizing: border-box;
}
.header-background{
    width: 100%;
    height: 500px;
    position: absolute;
    object-fit: cover;
    object-position: center;
}
header .mobile-header-block{
    display: none;
}
header .menu-main-menu-container{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
header ul{
    display: flex;
    list-style: none;
    border-radius: 26px;
    align-items: center;
    width: fit-content;
    justify-content: center;
    margin-left: 0;
}

.usp{
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-end;
    display: flex;
    position: absolute;
    background-color: #EFEFEF;
    right: 0;
    padding: 0 20px;
	padding-right: calc( 0.5 * ( 100% - var(--content-width-medium) )  );
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    z-index: 1;
}
.home .usp li,
.home .usp{
	background-color: white;
}
.usp li{
	background-color: #EFEFEF;
	margin-bottom: 0;
	padding: var(--content-padding-small);
	display: none;
	border: 1px;
	font-size: 14px;
	box-sizing: border-box;
}
.usp li:last-child{
	padding-right: 0;
}
.usp li::before{
	content: '';
	background-image: url(/wp-content/uploads/2022/06/check.svg);
	width: 13px;
    height: 10px;
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    padding-right: 8px;
}
.usp li.active-usp{
	animation: usp 0.50s;
}
header nav.main-navigation{
	position: relative;
	display: flex;
    align-items: center;
}
header .usp > p{
    margin-left: var(--content-padding-small);
}
header ul li{
    padding: 0;
}
header ul li a{
    padding: 0;
    position: relative;
    z-index: 0;
    color: var(--color-white);
	transition: 0.6s;
	border: 1px;
	border-radius: 4px;
}
header ul li:last-child a{
	padding-right: 0;
}
header ul{
	gap: 16px;
}

header ul li.current-menu-item > a::before{
	transition: 0.3s;
	content: '';
    width: 40px;
    height: 20px;
    position: absolute;
    background-image: url(/wp-content/uploads/2022/09/white.svg);
    z-index: -1;
    transition: 0.3s;
    background-repeat: no-repeat;
  	bottom: -19px;
    left: calc(50% - 20px);
}


header ul li.current-menu-item > a {
    font-weight: 600;
}


header ul > li:not(.current-menu-item, .menu-item-has-children) a::before{
	display: none;
	opacity: 0;
	transition: 0.3s;
	content: '';
    width:40px;
    height: 20px;
    position: absolute;
    background-image: url(/wp-content/uploads/2022/09/white.svg);
    z-index: -1;
    transition: 0.3s;
    background-repeat: no-repeat;
    bottom: -15px;
    left: calc(50% - 20px);
}

header ul li:not(.current-menu-item,.menu-item-has-children)#menu-item-29 a:hover::before{
    left: calc(50% - 20px);
}
header ul li a:hover::before{
    opacity: 1;
	display: block;
}
header .header-wrapper{
    margin: auto;
	max-width: 1200px;
    justify-content: space-between;
    display: flex;
    width: 100%;
}
header .header-wrapper > div{
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-background img{
	position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
	height: 550px;
    max-height: 700px;
    width: 100vw;
    object-fit: cover;
}





/*--------------------------------------------------------------------------------------*\
| MEDIA 
\*--------------------------------------------------------------------------------------*/
@media screen and (max-width: 1800px) {

	header ul li a{
		padding: 0;
	}
}
@media screen and (max-width: 1350px) {
	header ul li a{
		padding: 0;
	}
}
@media screen and (max-width: 1000px) {

	header ul li a{
		padding: 0;
	}
}
@media screen and (max-width: 768px) {
	li.menu-item-has-children::after{
    	display: none;
	}
	header ul li.current-menu-item > a::before {
		left: 0;
	}
	ul.sub-menu {
		width: unset;
		min-width: unset;
		background: unset;
		position: unset;
	}
	header ul.sub-menu{
		display: flex;
		padding-top: 16px;
		gap: 16px;
        align-items: flex-start;
		margin-left: 1rem;
	}
	header.site-header{
		background-color: #357aaded;
	}
	header.site-header, .usp{
		margin-left: 25px;
		margin-right: 25px;
		top: 0;
	}
	
	header .mobile-header-block{
    	display: flex;
	}
	header .menu-container-mobile{
		display: none;
	}
	header .mobile-buttons{
		display: flex;
		justify-content: space-between;
		width: 100vw;
		background: var(--color-light-green);
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 100000001;
		height: 40px;
		align-items: center;
	}
	header .mobile-buttons > *{
		border: 1px solid white;
		background-color: var(--color-light-blue);
		width: 50%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		color: white;
	}
	header .mobile-buttons img{
		width: 30px;
		height: 30px;
	}
	header .mobile-buttons .mobile-reservatie{
		color: var(--color-white);
	}
	header .menu-container-mobile.active-mobile-header{
		display: flex;
		position: fixed;
		height: calc(100% - 40px);
		width: 100vw;
		left: 0;
		top: 0;
		z-index: 10000000;
		transition: 0.5s;
		background: #e7e7e7;
		flex-direction: column;
		align-items: center;
	}
	header ul.menu{
		flex-direction: column;
		height: calc(100vh - 160px);
		width: calc(100vw - 100px);
		margin: 0;
		justify-content: flex-start;
		border-top: 1px solid var(--color-light-blue);
		border-radius: 0;
		padding-top: 12px;
		gap: 12px;
		align-items: flex-start;
	}
	header ul.menu li a{
		color: var(--color-gray);
		padding: 0;
		padding-bottom: 4px;
		font-size: 20px;
	}
	header .site-branding{
		padding-left: 0;
	}
	header.site-header{
		clip-path: unset;
		height: 75px;
		flex-direction: column;
	}
	header .main-navigation > .menu-container {
		display: none;
	}
	.header-background {
		height: 300px;
	}
}
@media screen and (max-width: 550px) {
	.usp li{
		padding: 8px;
	}
	header.site-header{
		margin-top: 0;
		height: fit-content;
    	margin-bottom: 0px;
		padding-top: 10px;
	}
	.header-background{
		height: 150px;
        object-fit: cover;
        object-position: center;
	}
	header ul.menu li a:hover,
	header ul.menu li a:focus,
	header ul.menu li a:focus-visivle,
	header ul.menu li a:active{
		border: unset;
		background: unset;
	}
}

