*, *::after, *::before {
	box-sizing: border-box;
}
.sibling-hover, #parent {
	cursor: pointer;
}
.sibling-hover:hover ~ .sibling-highlight {
	background-color: black;
	color: white;
}
#parent:hover .parent-highlight {
	background-color: black;
	color: white;
}
header {
	background: #fff;
	top: 0;
	z-index: 999;
	position: fixed;
	height: 160px;
	width: 100vw;
	display: grid;
	grid-template-areas: "logo .   .   .    menu-switch . ";
	align-items: right;
}
header .logo {
	position: relative;
	top: 5em;
	left: 2em;
	width: 30em;
}
nav li {
	margin: 0;
	list-style: none;
	border: 1px solid #500;
}
nav li .sub {
	font-size: 0.8em;
	text-transform: none;
	display: none;
}
header nav ul li {
	font-family: 'Work Sans', sans-serif;
	font-size: 3em;
	font-weight: 500;
	line-height: 1em;
	display: block;
	padding: 25px 0px 25px 30px;
	margin: 0px;
	min-height: 100%;
	text-align: left;
	border-bottom: 1px solid #777;
}
nav ul a {
	opacity: 0;
	transition: opacity 200ms ease-in-out;
	text-decoration: none;
	color: #222;
	border: 0px solid #500;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {



li .lang1, li .lang2 {
		font-weight: 400;
		font-size: 1em;
		color: #666;
	padding: 0px 1em 0px 0px;
	}
	
	li .lang2 {
		padding-left: 1em;
	border-left: 1px solid #777;
	}	
	
	
	
}
/*******************************************************************/

@media (min-width: 1000px) {
header {
	grid-template-areas: "logo nav nav nav";
	height: 80px;
	margin: 0px;
	padding: 0px;
}
header .logo {
	justify-self: left;
	position: relative;
	top: 31px;
	left: 40px;
	width: 160px;
}
header .toggle-btn-label {
	display: none;
}
header nav {
	all: unset;
	grid-area: nav;
	display: flex;
	justify-content: flex-end;
	right: 0px;
	top: 6px;
	position: absolute;
	margin-right: 40px;
}
nav li .sub {
	font-size: 11.5px;
	line-height: 100%;
	text-transform: none;
	font-weight: 200;
	letter-spacing: 0px;
	white-space: nowrap;
	color: #999999;
	display: block;
}
header nav ul {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: stretch;
	padding: 0;
	height: 100%;
	margin: 23px 0px 0px 0px;
}
header nav ul li {
	font-size: 15px;
	font-weight: 400;
	display: block;
	padding: 0px 0px 0px 15px;
	line-height: 17px;
	margin: 0px;
	min-height: 100%;
	letter-spacing: 1px;
	border: 0px solid #f00;
	border-left: 1px solid #aaa;
	width: 180px;
}
	
	
header nav ul  .active {
	
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 1px;
	color: #000;
	margin: 0px;
}
	
header nav ul li:last-child {
	width: auto;
	padding-left: 5px;
}
header nav ul li:hover {
	background: #fff;
}
header nav ul a {
	opacity: 1;
	color: #444;
}
header nav ul a:hover {
	color: #000;
}
	
	header nav ul li span {
	
    display: grid;
		line-height: 15px;
}
	
}


.lang1, .lang2 {
		font-weight: 400;
		font-size: 9px;
		color: #666;
	}

.logo {
	grid-area: logo;
	width: 180px;
	margin: 0px;
	padding: 0px;
}
.toggle-btn-label {
	grid-area: menu-switch;
	margin: 0px;
	padding: 0px;
	width: 0px;
	position: fixed;
	top: 4em;
	right: 2em;
	border: 0px solid currentcolor;
	width: 5.2em;
}
.toggle-btn-label span {
	cursor: pointer;
	margin: 0px;
	padding: 0px;
}
.toggle-btn {
	display: none;
}
.toggle-btn:checked ~ nav {
	transform: scaleY(1);
}
.toggle-btn:checked ~ nav a {
	opacity: 1;
	transition: opacity 200ms ease-in-out 200ms;
}
.toggle-btn:checked ~ .toggle-btn-label .close-icon {
	display: block;
}
.toggle-btn:checked ~ .toggle-btn-label .open-icon {
	display: none;
}
.close-icon img, .open-icon img {
	width: 100%;
	margin: 0px;
	padding: 0px;
}
.open-icon {
	border: 0px solid #409;
}
.close-icon {
	display: none;
}
nav {
	top: 100%;
	width: 100vw;
	background: #fafafa;
	position: absolute;
	transition: transform 400ms ease-in-out;
	transform-origin: top;
	transform: scaleY(0);
}
nav ul {
	display: flex;
	flex-direction: column;
	padding: 0px;
	margin: 0px;
	font-weight: 600;
	text-transform: uppercase;
}
nav li {
	margin: 0;
	list-style: none;
	border: 0px solid #500;
}
nav ul a {
	opacity: 0;
	transition: opacity 200ms ease-in-out;
	text-decoration: none;
	color: #222;
}

