html {
	background-color: #eee;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: #111;
	margin: 0;
}

a {
	text-decoration: none;
	color: #093;
}

.float-pic {
	width: 100%;
}

#container {
	margin: auto;
	max-width: 70em;
	background-color: #fff;
}

#top-image {
	background-image: url("/img/landschaft.jpg");
	height: 10em;
	background-repeat: no-repeat;
	text-align: center;
	margin: auto;
	background-position: center top;
}

#top-text {
	font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
	font-size: 2em;
	font-variant: small-caps;
	text-align: center;
	color: #502000;
	background-color: #92c1ed;
	text-shadow: 1px 1px 2px #380000;
}

.res-large {
	display: none;
}

.res-small {
	display: block;
}


#content {
	margin: 2em 1em;
	min-height: 20em;
}

.form-group {
	margin: 1.5em 0.5em;
}

.form-label, .form-input {
	margin: 0.5em 0;
}

.form-input {
	display: -webkit-flex;
	display: flex;
}

.input-missing {
	background-color: rgba(255,0,0,0.2);
}

#fail-message {
	background-color: rgba(255,0,0,0.1);
	border: 1px solid red;
	text-align: center;
}

#abc {
	background-color: rgba(255,0,0,0.2);
	text-align: center;
	padding: 0.5em;
}

#vcenter {
	padding: 0.5em 0;
	text-align: center;
}

#vcenter > a {
	color: gray;
}

#vcenter > a:hover {
	color: black;
}

input {
	flex: 1;
	padding: 0.5em;
}

h1, h2{
	font-family: "Trebuchet MS",arial, helvetica, verdana, tahoma, sans-serif;
	font-size: 1.4em;
	color: #222;
}

h2 {
	font-size: 1.2em;
	margin-top: 1.7em;
}

footer {
	font-size: 0.7em;
	text-align: center;
	color: #999;
	padding: 1em;
}

footer .right {
    float: right;
}

footer a {
	color: inherit;
}

nav {
	margin: 0;
	padding: 0 1em;
	text-align: left;
	color: #ccc;
	background-color: #003800;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

nav ul li {
	padding: 1.5em 0;
	border: none;
	margin: 0 0.1em;
    float: left;
}

nav ul li.active {
	background-color: #060;
	border-radius: 0.2em;
}

nav ul li a {
	color:  #eee;
	padding: 1.5em 1em;
    transition: background-color 0.1s ease;
    border-radius: 0.2em;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
}

ul {
	list-style: square;
}

.clearfix:after {
    clear: both;
}

.simple-list {
	list-style: none;
}

.right {
	text-align: right;
}

/**************************************/
/**    Gradients                     **/
/**************************************/

.grad-landschaft {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#92c1ed+0,92c1ed+44,20321a+62,59782a+79,868f4c+100 */
	background: #92c1ed; /* Old browsers */
	background: -moz-linear-gradient(top, #92c1ed 0%, #92c1ed 44%, #20321a 62%, #59782a 79%, #868f4c 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #92c1ed 0%,#92c1ed 44%,#20321a 62%,#59782a 79%,#868f4c 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #92c1ed 0%,#92c1ed 44%,#20321a 62%,#59782a 79%,#868f4c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#92c1ed', endColorstr='#868f4c',GradientType=0 ); /* IE6-9 */
}

.grad-sky {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f0f9ff+0,cbebff+47,a1dbff+100;Blue+3D+%2313 */
	background: rgb(240,249,255); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YwZjlmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ3JSIgc3RvcC1jb2xvcj0iI2NiZWJmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhMWRiZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, rgba(240,249,255,1) 0%, rgba(203,235,255,1) 47%, rgba(161,219,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(240,249,255,1) 0%,rgba(203,235,255,1) 47%,rgba(161,219,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(240,249,255,1) 0%,rgba(203,235,255,1) 47%,rgba(161,219,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f9ff', endColorstr='#a1dbff',GradientType=0 ); /* IE6-8 */
}

.grad-green-slight-back {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#005000+0,003800+50,003800+100 */
	background: #005000; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwNTAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzAwMzgwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDM4MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #005000 0%, #003800 50%, #003800 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #005000 0%,#003800 50%,#003800 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #005000 0%,#003800 50%,#003800 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005000', endColorstr='#003800',GradientType=0 ); /* IE6-8 */
}

/*********************************************/
/* Styles for the Slideshow on the Foto page */
/*********************************************/


/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-pic {
	width: 100%;
	height: auto;
	text-align: center;
	cursor: zoom-in;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  width: auto;
  color: white;
  font-weight: bold;
  font-size: 1.3em;
  transition: 0.6s ease;
}

.prev {
  border-radius: 0 3px 3px 0;
  padding: 40% 10% 0 5%;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  /*padding: 40% 5% 0 77%;*/
  padding: 40% 5% 0 10%;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.2);
}

/* Caption text */
.slide-text {
  color: #f2f2f2;
  font-size: 1em;
  padding: 0.5em 0;
  position: absolute;
  bottom: 0; /*0.5em;*/
  width: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 0.9em;
  width: 0.9em;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* 
Fallback for non-JS browsers.
controls are made visible later via JavaScript
*/
.controls {
    display: none;
}


/*********************************************/
/* END  Slideshow Styles                     */
/*********************************************/

/*
 * Below extra styles for larger screens
 * Section needs to be at the end of te file to overwrite every other rule
 */
@media ( min-width: 35em ) {
	.res-large {
		display: block;
	}

	.res-small {
		display: none;
	}

	.float-pic {
		width:20em;
		float:left;
		margin:1em
	}

	nav ul li {
		padding: 0.8em 0;
	}

	nav ul li a {
		padding: 0.8em 1em;
	}

	#contactform {
		display: table;
	}

	.form-group {
		display: table-row;
	}

	.form-label, .form-input {
		display: table-cell;
		padding: 0.5em ;
	}

	.form-label {
		width: 11em;
	}

	.form-input {
		max-width: 20em;
	}

}

@media ( min-width: 60em ) {
	body {
		margin: 8px;
	}

	#container {
		border: 1px solid #003800;
	}
}