@font-face {
    font-family: "schrift";
    src: url(font.otf);
}

header {
    background-color:white;
	overflow:hidden;
    position: relative;
    z-index: 7000;
}

#logo {
	float:left;
    background-image: url('../img/logo.png');
	background-repeat:no-repeat;
   width:calc(100% - 50px);
    max-width:250px;
	height:40px;
	background-size:100%;
    color:#000000;
	font-family:"schrift",Helvetica;
	font-size:16pt;
	margin-left:15px;
    margin-top:5px;
    padding:8px;
}
		
nav {
	float:right;
	padding-top:20px;

}

.navitem {
	color:#000000;
	font-family:"schrift", Helvetica;
	font-size:16pt;
	margin-left:5px;
    margin-right:15px;
	text-decoration:none;
	padding:8px;
}

.navitem:first-child {
	margin-left:0px;
}

.navitem:hover {
	color: #2800d3;
}

#smartbutton {
	float:right;
	width:20px;
	height:15px;
	cursor:pointer;
	padding:7px;
    margin-right:10px;
	margin-top:15px;
	display:none;
}

.buttonline {
	background-color:#000;
	height:3px;
	margin-top:4px;
}

.buttonline:first-child {
	margin-top:0px;
}

/* standard menu */
@media only screen and (min-width:551px) 
{
	#smartbutton {
		display:none;
	}

	nav {
		display:inline-block !important;
	}
}

/* smart menu */
@media only screen and (max-width:550px) 
{
	#smartbutton {
		display:inline-block;
	}

	nav {
		display:none;
		width:100%;
		position:relative;
		top:5px;
	}
	
	.navitem {
		border-top:1px solid #000;
		display:block;
		margin:0px;
	}
	
	.navitem:hover {
		background-color:#fff;
	}
}
