/* nav */

body {
    background-color: #ECE67E;
}

a {
	text-decoration: none;
	color: #3957AA;
}

a:hover {
    color: #7d9bca;
}

a.impressum:link {
    color: #3957AA;
    text-decoration: none;    
}

a.clicker:link {
    color: #3957AA;
    text-decoration: none;
    background-color: #8346ab;
    border: 1px #e9b7ff;
    border-radius: 4px;
    padding: 8px 16px;
}

a.clicker:hover {
    color: #7d9bca;
}

.nav {
	position: relative;
	margin: 20px 0;
    font-size: larger;
}
.nav ul {
	margin: 0;
	padding: 0;
}
.nav li {
	margin: 0 5px 10px 0;
	padding: 0;
	list-style: none;
	display: inline-block;
}
.nav a {
    padding: 3px 24px 3px 0px;
	text-decoration: none;
	color: #3957AA;
	line-height: 100%;
}
.nav a:hover {
    color: #7d9bca;
	border-radius: 5px;    
}
.nav .selected a:active {
	color: #8E8E8E;
	border-radius: 5px;
}

@media screen and (max-width: 778px) {
	.nav {
		position: relative;
		min-height: 40px;
	}	
	.nav ul {
		min-width: 280px;
		padding: 5px 0;
		position: absolute;
		top: 0;
		left: 0;
		border: solid 1px #E8E167;
		background: #F2EEAA url(images/icon-menu.png) no-repeat 10px 11px;
		border-radius: 5px;
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
	}
	.nav li {
		display: none; /* hide all <li> items */
		margin: 0;
	}
	.nav .selected {
		display: block; /* show only selected <li> item */
	}
	.nav a {
		display: block;
		padding: 5px 5px 5px 32px;
		text-align: left;
	}
	.nav .selected a {
		background: none;
		color: #3957AA;
	}

	/* on nav hover */
	.nav ul:hover {
		background-image: none;
	}
	.nav ul:hover li {
		display: block;
		margin: 0 0 5px;
	}
	.nav ul:hover .selected {
		background: url(images/icon-check.png) no-repeat 10px 7px;
	}

	/* right nav */
	.nav.right ul {
		left: auto;
		right: 0;
	}

	/* center nav */
	.nav.center ul {
		left: 50%;
		margin-left: -90px;
	}
	
}