html{
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.header{
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
	display: block;
}
.navbar{
	position: fixed;
	height: auto;
	top: 0;
    width: 100%;
	left: 0;
    z-index: 9999;
	-webkit-overflow-scrolling: touch;
	transition: background-color ease-in 0.2s;
	-webkit-transition: background-color ease-in 0.2s;
	-moz-transition: background-color ease-in 0.2s;
	-o-transition: background-color ease-in 0.2s;
	-ms-transition: background-color ease-in 0.2s;
	display: block;
}

a {
	color: #30323d;
	text-decoration: none;
}

.menu, .submenu{
		list-style-type: none;
}

.menu li.subitem a {
		font-weight: normal;
}

/* Submenu up from mobile screens */
.submenu {
    display: none;
}

.nav-wrapper{
    top: 0;
    left: 0;
    width: 100%;
		height: 100%;
}

.arrow{
	margin-top: 7px;
}

.has-submenu li {
    font-size: 12px;
}

.menu-button::after{
	font-family: "Font Awesome 5 Free";
	font-size: 22px;
	line-height: 30px;
	font-weight: 900;
	content: "\f00d";
}

.menu-button.closed::after{
	font-family: "Font Awesome 5 Free";
	font-size: 22px;
	line-height: 30px;
	font-weight: 900;
	content: "\f0c9";
}

.has-submenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    font-weight: 900;
		padding-left:10px;
    content: "\f078";
}

.submenu-active> a::after {
	font-family: "Font Awesome 5 Free";
	font-size: 12px;
	line-height: 16px;
	font-weight: 900;
	padding-left:10px;
	content: "\f077";
}
.subitem a {
    padding: 10px 15px;
}

.submenu {
    padding: 0;
	}

.submenu li a{
	height:100%;
	padding:20px 15px;;
}

.submenu-active{
    background-color: #f8f8f8;
}

.menu{
	padding:0;
	margin:0;
	height:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items: center;
	list-style-type: none;
}

.active{
	padding:0;
	padding-bottom: 20px;
	margin:0;
	height:100%;
	display:flex;
	flex-wrap:wrap;
	background-color: white;
	justify-content: space-between;
	box-shadow: 0px 0px 4px #A9B4C2;
	align-items: center;
	list-style-type: none;
}

.item a, .toggle a{
	padding: 10px 0;
	color: #30323d;
	display: block;
	font-size:14px;
	line-height: 14px;
	font-weight: normal;
	text-decoration: none;
}

.toggle a{
    width: 20px;
}

.language-selector{
    order:1;
    padding-right: 12px;
    margin-left:auto;
    cursor:pointer;

}

.language-selector p{
    margin:0;
    display: inline-block;
    text-align:center;
    border-radius: 3px;
    overflow: hidden;
    background-color: #B80056;
	padding: 10px 10px 10px 10px;
	color: white;
	font-size:16px;
	line-height: 15px;
	font-weight: bold;
	text-decoration: none;
}

.toggle{
	order: 2;
	padding-right: 15px;
	font-size: 20px;
}

.logo {
	padding: 15px 0 15px 10px;
	height: 100%;
	position:relative;
}

.logo-text{
	display: inline-block;
	position: absolute;
	height:30px;

}
.logo-text p{
	font-family: Arial, Helvetica, sans-serif;
	font-style:italic;
	font-weight: bold;
	margin-top:4px;
	font-size: 22px;
	color: #B80056;
}

.item{
	order: 3;
	width: 100%;
	text-align: center;
	display: none;
	padding:10px 40px 5px 40px;
}

.active .item{
	display: block;
}

.item{
	color: #B80056;
}

a:hover{
	color: #B80056;
}

.menu li.subitem a:hover {
	color: #B80056;
}
.menu li.subitem {
	padding:0;
}

#logo-image{
	align-items: center;
	padding-right:10px;
	height:30px;
	width:50px;
}

.nav-active a{
	border-bottom: 3px solid #B80056;
	color: #B80056;
}

.subitem a{
	border: none;
	color: black;
}

@media screen and (max-height:450px){
	.active{
		height: 100%;
		padding-bottom:0;
	}
}
/* Desktop menu */
@media all and (min-width: 1000px) {
	.active{
		padding-bottom:0;
	}
    .menu {
		align-items: flex-start;
        flex-wrap: nowrap;
		background: none;
    }
    .logo {
		flex:1;
		order: 0;
    }
    .item {
        order: 1;
        display: block;
        width: auto;
		position:relative;
		padding: 15px 20px 10px 20px;
    }
    .language-selector{
        order: 2;
        margin:auto;
		padding: 15px 20px 10px 20px;
        overflow:hidden;
    }
	.nav-active{
		padding:15px 20px 8px 20px;
	}
    .toggle {
        display: none;
    }
	.has-submenu{
		cursor: pointer;
		text-align: left;
	}
	.submenu-active #subitem-button{
			color: #B80056;
	}
	.submenu-active{
			background-color: white;
	}
	.submenu .subitem:hover{
		background-color: #f8f8f8;
	}
	.submenu{
        position: absolute;
		z-index: 9999;
		right:0;
        top: 59px;
        background-color: white;
		overflow: hidden;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
		box-shadow: 0px 4px 4px #A9B4C2;
		width:280px;
    }
	.subitem{
	    padding:10px 5px 10px 10px;
		 background-color: #ffffff;
	}
}
