/* Overlay style */
html {
  overflow: -moz-scrollbars-vertical; 
  overflow-y: scroll;
}

body.modal-open {
	padding-right: 0 !important;
}

#myModal {
	top: 0 !important;
}

#myModal .modal-dialog {
	margin-top: 120px !important;
}


.overlay {
	/*position: fixed;*/
  position: absolute !important;
	width: 100%;
	height: 1000px;
	top: 0;
	left: 0;
	background: rgba(5,28,44,0.9);
  z-index: 9;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 68px;
	height: 18px;
	position: absolute;
	right: 215px;
	top: 40px;
	overflow: hidden;
	border: none;
	background: url(../img/menu-x.svg) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 35%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	/*height: 100%;*/
	position: relative;
}

.overlay ul li {
	display: block;
	height: 15%;
	/*height: calc(100% / 5);*/
	min-height: 60px;
}

.overlay ul li a {
	letter-spacing: 8px;
	display: block;
	color: #fff;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
  font-family: 'Open Sans', sans-serif;
  font-size: 34px;
  font-weight: 600;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #ffc600;
  text-decoration: underline !important;
  font-weight: 600;
}

/* Effects */
.overlay-hugeinc {
	opacity: 0;
	/*visibility: hidden;*/
	overflow: hidden;
	height: 0; 
	-webkit-transition: opacity 0.5s, visibility 0s 0.5s;
	transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay-hugeinc.open {
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
	height: 1000px;
}

.overlay-hugeinc nav {
	-webkit-perspective: 1200px;
	perspective: 1200px;
}

.overlay-hugeinc nav ul {
	opacity: 0.4;
	-webkit-transform: translateY(-25%) rotateX(35deg);
	transform: translateY(-25%) rotateX(35deg);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.overlay-hugeinc.open nav ul {
	opacity: 1;
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}

.overlay-hugeinc.close nav ul {
	-webkit-transform: translateY(25%) rotateX(-35deg);
	transform: translateY(25%) rotateX(-35deg);
}

@media screen and (max-height: 768px) {
	.overlay nav {
  height: 60%;
  font-size: 24px;
 }
 .overlay ul li {
    max-height: 40px;
 }
  .social_menu {
  margin-top: 20px;
}
}

.b_logo_overlay {
  position: relative;
  z-index: 99;
}

.body_fix {
  /*position:fixed;*/
}

.lang {
  color:#fff; 
  width:100%;
  text-align:center;
  margin-top:40px; 
  font-size:14px;
  
}

.lang a {
  color:#fff; /* 
  font-weight: 600;*/
  font-size:14px;
  font-family: 'Open Sans', sans-serif;
}

.lang a:hover {
  color:#ffc600;
  text-decoration: underline !important;
}

.social_menu {
  color:#fff;
  width:100%;
  text-align:center;
  margin-top: 75px;
  font-size:14px;
}

.social_menu a {
  color:#fff;
  font-family: 'Open Sans', sans-serif;
}
.social_menu a:hover {
  color:#ffc600;
  text-decoration: underline !important;
}

.lang_active {
	color: #ffc600 !important;
  text-decoration: underline !important;
  font-weight: 600;
}
.fixed-header {
  border-bottom: none;
}

@media screen and (max-width: 768px) {
.overlay .overlay-close {
	right: 15px;
	top: 20px;
}
  .overlay ul li {
  max-height: 50px;
  font-size: 24px;
}
.overlay nav {
  height: 70%;
  font-size: 24px;
}
.logo {
  padding:10px 0px;
}
}


