/* look and feel only, not needed for core menu*/
@-webkit-keyframes grow {
  0% {
    display: none;
    opacity: 0;
  }
  50% {
    display: block;
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes grow {
  0% {
    display: none;
    opacity: 0;
  }
  50% {
    display: block;
    opacity: 0.5;
  }
  100% {
    opacity: 1
  }
}
	
	
	

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #eee;
	font-size: 16px;
}
	
* {
  box-sizing: border-box;
}
a {
	text-decoration: none
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #eee;
  opacity: 1; /* Firefox */
	
  font-size: 90%;
}
	

/* Layout */
.page_wrapper {
	position: absolute;
	left: 50px;
  width: calc(100% - 50px);
}
.page_content {
  padding: 4% 1.5em;
  max-width: 55em;
  margin: 0 auto;
}



/* Menu Styles */
.page_navigation {
	position: fixed;
	z-index: 999;
	
	height: 100%;/*fara - nu functiona calc @ .menu_content in unele browsere Android Opera/Edge*/
}

/* + HAMBURGER + */
	
.page_navigation .menu {
	position: absolute;
	display: block;
	left: -200px;
	top: 0;
	width: 250px;
	transition: all 0.45s cubic-bezier(0.77, 0, 0.175, 1);
	background-color: #000;
	z-index: 999;
	
	height: 100%;/*fara - calc @ .menu_content nu functiona in unele browsere Android Opera/Edge*/
}	
	



.page_navigation .menu a.logotype {
	position: absolute!important;
	top: 10px;
	left: 55px;
	display: block;
	font-family: 'Work Sans', sans-serif;
	text-align: center;
	text-transform: uppercase;
	font-weight: 800;
	color: #000;
	font-size: 22px;
	padding: 10px;
	line-height: 16px;
}
.page_navigation .menu a.logotype span {
	font-weight: 400;
}
.page_navigation .menu a.logotype:hover {
	color: #777;
}	
.page_navigation .menu a.logotype small {
	text-transform:none;
	font-weight: 100;
	color: #777;
	font-size: 14px;
	line-height: 1px;
}


	
.page_navigation .menu div.menu_content {
	position: relative;
	height: calc(100% - 60px)!important; /* 100vh -  nu functiona in unele browsere Android Opera/Edge */
	/*height: 100vh;*/ /* daca nu e nimic sub meniu */
	overflow-y: auto;
	border-top: 73px solid #fff;
	z-index: -1;
	display:block;
}
	
	
/*	
.menu:hover {
	position: absolute;
	left: 0;
	top: 0;
}
*/

.menu hr{
	margin: 0px;
	border: 0px;
	border-bottom: 8px solid #333;
	border-radius: 4px;
}
	
.menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu li {
	position: relative;
	border-bottom: 1px dotted #333;
}

.menu li:last-child{
	border-bottom: 0px dotted #333;
}


.menu li a {
	display: block;
	white-space: nowrap;
	padding: 0.8em 1em 0.8em 0.4em;
	font-size: 18px;
}
.menu li a i {
	position: absolute;
	right: 10px;
	width: 28px;
	text-align: center;
	font-size: 24px;
}


.menu li label span {
  background: transparent;
	position: absolute;
	right: 50px;
	top: 12px;
  width: 30px;
  height: 30px;
  text-align: center;
  display: block;
	cursor: pointer;
}



.menu li input[type="checkbox"] {
  display: none;
}

.menu li ul {
	display: none;
	padding-left: 15px;
	padding-right: 5px;
}
.menu li ul li:before {
	font-family: "FontAwesome";
	content: "\f105";
	position: absolute;
	top: 10px;
	left: -12px;
	color: #777;
	font-weight: 100;
	
}
.menu li ul li a {
	padding: 0.4em 1em;
}

.menu li input[type="checkbox"]:checked + ul {
  display: block!important;
    -webkit-animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
            animation: grow .45s cubic-bezier(0.77, 0, 0.175, 1);
}




.menu ul.lang_change li {
	display: inline-block; 
	width: 49%;
	margin-bottom: 10px;
	border-top: 1px dotted #333;
}
.menu ul.lang_change li a {
	padding: 0.5em; 
	font-size: 14px;
}
.menu ul.lang_change li a i {
	font-size: 18px;
}
.menu ul.lang_change li:last-child{
	border-bottom: 1px dotted #333;
}





/*
bg  >   a/i     >  :hover    span/:hover

simple:
000 > ccc/777   > fff/ccc    (777 > fff)

active:
ccc > 333/[777] > 000/333    (777 > 000)

000 333   777   ccc fff
*/

.menu li a{
  color: #ccc;
}
.menu li:hover > a {
	color: #fff;
}
.menu li a i {
	color: #777;
}
.menu li:hover > a i {
	color: #ccc;
}
.menu li label span {
	color: #777;
}
.menu li label span:hover {
  color: #fff;
}


.menu li ul {
	background-color: #333;
}
/*
.menu li ul li:hover a {
	    background-color: #222;
}
*/


.menu li.active{
	background-color: #ccc;
}
.menu li.active > a
{
	color: #333;
}
.menu li.active:hover > a
{
	color: #000;
}
/*.menu li.active > a i {}*/
.menu li.active:hover a i
{
	color: #333;
}
/*.menu li.active > label span {}*/
.menu li.active > label span:hover {
  color: #000;
}




.hamburger {
	border: none;
	background: #fff;
	position: relative;
	display: block;
	text-align: center;
	padding: 13px 0;
	width: 50px;
	height: 73px;
	left: 0;
	top: 0;
	z-index: 1000;
	cursor: pointer;
}
.hamburger:before {
	content:"\2630"; /* hamburger icon */
	display: block;
	color: #000;
	line-height: 32px;
	font-size: 22px;
}
.hamburger:hover:before {
	color: #777;
}






	
.openNav .hamburger:before {
	content:"\2715"; /* close icon */
}

.openNav .menu:hover {
	position: absolute;
	left: -200px;
}

.openNav .menu {
		transform: translate3d(200px, 0, 0);
    transition: transform .45s cubic-bezier(0.77, 0, 0.175, 1);
}




	
/*
label:has(+[id^=drop]) {
	padding: 0px !important;
	position: absolute !important;
}
label:has(+[id^=drop]):before {
	line-height: 73px !important;
}
[id^=drop] {
    display: none;
    cursor: cell;
}
[id^=drop]:checked + nav {
		transform: translate3d(200px, 0, 0);
}
[id^=drop]:checked + nav:hover {
	position: absolute;
	left: -200px;
}
label:has(+[id^=drop]:checked):before {	
	content: "\2715";
}
*/


[id^=drop] + label {
	padding: 0px !important;
	position: absolute !important;
}
[id^=drop] + label:before {
	line-height: 73px !important;
}
[id^=drop] {
    display: none;
    cursor: cell;
}
[id^=drop]:checked + label + nav {
		transform: translate3d(200px, 0, 0);
}
/* e dublura la .page_navigation .menu */
[id^=drop]:checked + label + nav:hover {
	position: absolute;
	left: -200px;
}
[id^=drop]:checked + label:before {
	content: "\2715";
}






@media screen and (max-width: 568px){
	.menu li a {
		font-size: 16px;
	}
	.menu li a i {
		right: 5px;
	}
	.page_wrapper {
		left: 40px;
		width: calc(100% - 40px);
	}
	.page_content {
	  padding: 4% 0.5em;
	}
	.hamburger {
		width: 40px;
	}
	.page_navigation .menu {
		left: -210px;
		width: 250px;
	}
	[id^=drop]:checked + label + nav {
			transform: translate3d(210px, 0, 0);
	}
	/* e dublura la .page_navigation .menu 
	[id^=drop]:checked + label + nav:hover {
		left: -210px;
	}
	*/
	
}

