html, body {
	font-family: Trebuchet MS, Tahoma, sans-serif;
	font-size: 14px;
	background-color: #e4e4e4;
	color: #444;
	/* this has to be moved to html, since
	 * lektor doesn't support templating shit here
	 * and the site runs on a dumb /ppt/ suburl 
	background-image: url(/images/back.jpg); */
}

h1 {
	margin-top: 0;
}


header, footer, .page {
    width: 800px;
    margin: 0 auto;
}

.page.m-two-columns {
	display: flex;
}


/* should be a class */
header {
	margin-top: 39px;
}

footer {
	text-align: center;
	font-size: 10px;
}

.language {
	text-align: right;
	margin: 5px;
}

.language--item {
    text-decoration: none;
    margin-left: 10px;
}


.header {
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	margin-left: auto;
	margin-right: auto;
	height: 180px;
	width: 100%;
	/* this has to be moved to html, since
	 * lektor doesn't support templating shit here
	 * and the site runs on a dumb /ppt/ suburl 
	background-image: url(/images/header.jpg); */
}

.slideshow {
	height: 90%;
	padding: 5px;
	text-align: right;
	overflow: hidden;
}

@keyframes m-0 {
	0%  {opacity: 1}
	24% {opacity: 1}
	25% {opacity: 0}
	99% {opacity: 0}
}
@keyframes m-1 {
	24% {opacity: 0}
	25% {opacity: 1}
	50% {opacity: 1}
	51% {opacity: 0}
}
@keyframes m-2 {
	50% {opacity: 0}
	51% {opacity: 1}
	74% {opacity: 1}
	75% {opacity: 0}
}

@keyframes m-3 {
	0% {opacity: 0}
	74%  {opacity: 0}
	75% {opacity: 1}
	99% {opacity: 1}
}

.slideshow--item {
	height: 180px;
	margin-bottom: 5px;
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0;
	animation-duration: 20s;
	animation-iteration-count: infinite;
}

.slideshow--item.m-0 {
	animation-name: m-0;
}
.slideshow--item.m-1 {
	animation-name: m-1;
}

.slideshow--item.m-2 {
	animation-name: m-2;
}
.slideshow--item.m-3 {
	animation-name: m-3;
}

.slideshow--frame {
	position: relative;
	animation-name: slideshow;
	animation-iteration-count: infinite;
	animation-duration: 10s;
}

.navigation {
	text-align: right;
	margin-top: 35px;
	margin-bottom: 45px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.navigation.m-sub {
	display: flex;
	flex-direction: column;
	text-align: left;
	padding: 15px;
	padding-left: 0px;
	box-sizing: content-box;
	margin-top: 0px;
	justify-content: flex-start;
	flex-basis: auto;
}

.navigation--item {
	transition: background-color 0.2s;
	background-color: #CFDEEA;
	color: #171905;
	border-bottom: 1px solid #ccc;
	border-radius: 8px 8px 0 0;
	padding: 10px;
	text-decoration: none;
	font-size: 15px;
	margin-left: 3px;
}

.navigation--item.m-active {
	background-color: #8bbdd0;
}

.navigation--item:hover {
	background-color: #8bbdd0;
}

.navigation--item.m-sub {
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom: none;
	width: 160px;
}

.content {
	padding: 0px 10px 0 10px ;
}


.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
}

.gallery--item {
	transition: border 0.2s;
	max-width: 170px;
	max-height:150px;
	height: auto;
	padding: 10px;
	border: 1px solid transparent;
}

.gallery--item:hover {
	border: 1px solid #8BBDD0;
}

.contact {
	display: flex;
	justify-content: space-around;
}

.separator {
	border-bottom: 1px solid #c0c0c0;
	margin-top: 5px;
	margin-bottom: 5px;
}
