﻿header, #topheader {
	background-image: linear-gradient(#1b2a39, #0a131b);
	color: #fff;
	position: fixed;
	width: 100%;
	z-index: 999;
	top: 0px;
}

#phonemenu, nav ul li ul {
	display: none;
}

nav ul li:hover ul {
	display: block;
}

nav ul li ul
{
	position:absolute;
	background:linear-gradient(#1b2a39, #0a131b);
	padding:7px;
	z-index:3;
}

nav ul li ul li
{
	display:table;
	width:auto;
	float:left;
	clear:left;
	padding:5px;
}

#topheader, #headertelemailbar, #headertelemailbarcontent, #headerlogobar, #headernavbar {
	display: table;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

#topheader {
	padding-bottom: 5px;
}

#headertelemailbar {
	border-bottom: 1px solid #5b656f;
}

#headertelemailbarcontent, #headerlogobar, #headernavbar {
	margin-left: 3%;
	width: 94%;
	padding: 15px 0;
}

#headertelemailbarcontent a {
	display:inline-block;
}

#headertelemailbarcontent a img {
	width:30px;
	height:20px;	
}

#headertelemailbarcontent a.cont-option {
	margin-right: 23px;
}

#headertelemailbarcontent a.lang-option {
	margin-right: 10px;
}

#headernavbar {
	text-transform: uppercase;
}

#navigation {
	display: flex;
	justify-content: center;
	gap: 40px;
}

#navigation li
{
	display:table;
	height:22px;
}

#navigation a {
	position: relative;
	padding-bottom: 5px;
	font-size: 15px;
	line-height: 17px;
	display:block;
}

#headertelemailbarcontent {
	padding: 10px;
}

#navigation a::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 3px;
	bottom: 0;
	left: 0;
	background-color: #f99b06;
	transform-origin: bottom right;
	transition: transform 0.33s ease-out;
}

#navigation a:hover::after, #navigation li.selected a {
	transform: scaleX(1);
	transform-origin: bottom left;
}

#navigation li.selected > a {
	border-bottom: 3px solid #f99b06;
}


#centerlogobar {
	text-align: center;
}

#usernav form {
	border: none;
	border-radius: 25px;
	width: 175px;
	border: none;
	background: #fff;
	display: table;
}

#usernav form input {
	border: none;
	float: left;
	background: none;
	width: calc(90% - 13.30px);
	display: table;
	margin: 0px;
	padding: 8px 20px;
    height:31px;
    -webkit-appearance: none;
    font-family:Verdana;
}

#usernav form input::placeholder {
  color: black;
  opacity: 1; /* Firefox */
}

#usernav form i {
	border: none;
	float: left;
	width: 10%;
	display: table;
	margin: 0px;
	color: #848484;
	background: #d4d4d4;
	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
	padding: 9px;
}

#usernav form input:focus {
	outline: none;
}

#headertelemailbarcontent i {
	border: 1px solid white;
	padding: 5px;
	border-radius: 50px;
	background: white;
	color: #0a131b;
	font-size: 15px;
	margin-right: 5px;
	-moz-transition: background 0.5s;
	-webkit-transition: background 0.5s;
	-o-transition: background 0.5s;
	-ms-transition: background 0.5s;
	transition: background 0.5s;
}

#headertelemailbarcontent a:hover i {
	background: #f99b05;
}

#usernav {
	display: flex;
	align-items: center;
}

#nvlogin {
	margin-left: 20px;
	display: none;
}

#nvlogin i {
	margin-right: 5px;
}

#headerlogobar {
	display: flex;
	align-items: center;
	position: relative;
	padding: 25px 0;
	padding-bottom: 20px;
}

#centerlogobar {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.sidelogobar {
	margin-left: auto;
}

#headertelemailbarcontent span {
	font-size: 15px;
	color: white;
	-moz-transition: color 0.5s;
	-webkit-transition: color 0.5s;
	-o-transition: color 0.5s;
	-ms-transition: color 0.5s;
	transition: color 0.5s;
}

/*** right logos ***/

.rightlogos {
	position: absolute;
	right: 0;
	z-index: 99999;
	background: linear-gradient(rgba(38, 49, 60, 0.9), rgba(16, 21, 27, 1));
	top: calc(50vh - 145px);
}

.rightlogos a {
	display: block;
	text-align: center;
	padding: 20px 16px;
	border-bottom: 1px solid #fff;
}

.rightlogos a:last-child {
	border-bottom: none;
}

.rightlogos a i {
	font-size: 25px;
	color: #fff;
	font-weight: lighter;
	-moz-transition: color 0.5s;
	-webkit-transition: color 0.5s;
	-o-transition: color 0.5s;
	-ms-transition: color 0.5s;
	transition: color 0.5s;
}

.rightlogos a:hover 
{
	background: #f99b05;
}

#headertelemailbarcontent a:hover span {
	color: #f99b05;
}

@media screen and (max-width:1850px) {
	#headertelemailbarcontent, #headerlogobar, #headernavbar {
		width: 95%;
	}
}

@media screen and (max-width:975px) {
	#centerlogobar {
		position: absolute;
		left: 0;
		transform: none;
	}
}

@media screen and (min-width:876px) {
	nav {
		display: initial !important;
	}
}

@media screen and (max-width:875px) {
	nav {
		display: none;
	}

	#phonemenu {
		display: block;
		float: right;
		font-size: 25px;
		width:auto;
		margin-top:10px;
	}

	#headernavbar{
		width:auto;
		float:right;
		margin-right:2.5%;
	}

	#headerlogobar {
		padding-bottom: 15px;
		width:88%;
		margin-left:2.5%;
		float:left;
	}

	#navigation {
		display: block;
		position: absolute;
		right: 0;
		margin-top: 30px;
		background: #0a131b;
		padding-top: 7px;
        z-index:999;
	}

	#navigation li {
		padding: 10px 40px 15px 20px;
	}

	.rightlogos
	{
		display:none;
	}
}

@media screen and (max-width: 768px) {
	#slideshowbox .rightlogos {
		display: none;
	}
}

@media screen and (max-width:600px) {
	#headerlogobar {
		height: 60px;
	}

	#usernav li:first-child {
		display: none;
	}

	#centerlogobar img {
		max-width: 175px;
	}

	#headernavbar {
		position: absolute;
		width: 31px;
		top: 68px;
		right: 20px;
		padding: 0;
	}
		
	#phonemenu 
	{
		margin-top:-18px;
	}

	#headertelemailbarcontent {
		max-width: 380px;
	}

	#headertelemailbarcontent a.cont-option {    
		margin-bottom: 15px;
	}
}

@media screen and (max-width:395px) {
	#headertelemailbarcontent span {
		display: none;
	}

	#centerlogobar img {
		max-width: 150px;
	}

	#headertelemailbarcontent a:first-child {
		margin-right: 5px;
	}
}
