:root {
  --color-bg-grey: #e8e8e8;
  --color-bg-dark-grey: #c7c5c5;
  --color-blue: #0194de;
}

@media(max-width: 921px) {
	.ast-main-header-nav-open .site-header {
		height: 100%;
    	width: 100%;
    	position: absolute;
		background-color: rgba(255, 255, 255, 0.8);
	}
	/**
	 * iPad Hack
	 **/
	.ast-main-header-nav-open .ast-header-break-point .main-header-bar .main-header-bar-navigation {
		display: block;
	}

	.ast-separate-container #content .ast-container{
		padding:0px!important;
	}
	.ast-separate-container {
		background-color: white;
	}
	/**
	* Header should cover the whole width, so we override the default margins & paddings
	***/
	.ast-container, #primary {
		max-width: 100% !important;
		width: 100% !important;
		margin: 0px !important;
		padding: 0px !important;
	}
	
	/**
	* Some sections should be contained so we apply the css of the default container!
	**/
	.contained {
		max-width: 1240px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.topbar {
		display: none;
		background-color: var(--color-blue);
		height: 30px;
		overflow-y: hidden;
	}
	
	.topbar .menu > ul {
		display: flex;
		flex-direction: row;
		margin-left: 0px;
		list-style: none;
		justify-content: space-evenly;
	}
	.topbar .menu > ul > li {
		flex: 1;
		max-width: 30vw;
		text-align: center;
	}
	.topbar .menu > ul li a {
		color: white;
		max-width: 30vw;
		width: 100px;
	}
	.topbar .menu > ul li.wpml-ls-item {
		z-index: 150;
		background: var(--color-bg-grey);
		display: block;
		width: 100px;
		max-width: 30vw !important;
		margin-left: 0px;
		text-align: center;
		color: black;
		height: 30px;
	}
	.topbar .menu > ul li.wpml-ls-item a span {
		width: 100px;
		display: inline-block;
	}
	.topbar .menu > ul > li.wpml-ls-item > a > span.wpml-ls-native:after {
		content: "\e900";
		padding-left: 5px;
		padding-right: 5px;
    	font-family: Astra;
		font-size: 9px;
		font-size: .6rem;
		font-weight: 700;
		text-rendering: auto;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
    	line-height: normal;
	}
	.topbar .menu > ul li.wpml-ls-item a {
		color: black;
	}
	.topbar .menu > ul li .sub-menu li a {
		color: black;
	}
	
	.topbar .menu > ul li .sub-menu {
		list-style: none;
		margin-left: 0px;
		position: fixed;
		display: none;
	}
	
	.topbar .menu > ul li.wpml-ls-item:hover .sub-menu {
		display: flex;
    	flex-direction: column;
	}
	#site-navigation .menu-item {
		font-size: small;		
	}
	#site-navigation .menu-item-has-children {
		font-size: large;
		font-weight: bold;
	}
	#primary-menu >  .menu-item {
		padding-left: 10px;
		padding-right: 10px;
	}
	.ast-header-break-point .main-header-menu {
		background: transparent;
	}	
	.ast-header-break-point .ast-main-header-bar-alignment {
    	position: absolute;
    	background: #ffffffcc;
		top: 76px;
	}
	.ast-header-break-point .main-header-menu ul {
		background-color: transparent;
	}
	.ast-header-break-point .main-navigation ul.children li a, 
	.ast-header-break-point .main-navigation ul.sub-menu li a {
		padding: 0 20px !important;
	}
	.ast-header-break-point .main-navigation ul.children li a:before, 
	.ast-header-break-point .main-navigation ul.sub-menu li a:before {
		display: none !important;
	}
	.ast-header-break-point .main-navigation ul .button-custom-menu-item a, 
	.ast-header-break-point .main-navigation ul li a {
	    border-color: transparent;
	}	
	/**
	* Special handling for language!
	**/
	.ast-header-break-point .main-navigation ul#primary-menu li.wpml-ls-current-language {
		position: absolute;
		bottom: 0px;
		right: 0px;
		width: 120px;
		background: var(--color-bg-grey);
		display:none;
	}
	
	.ast-header-break-point .main-navigation ul#primary-menu li.wpml-ls-current-language > * {
		font-size: 13px;
	}
}