/*Grid styles*/
.wrapper{ padding-left: 10px; padding-right: 10px; }

.row:after{
	content: ' ';
	clear: both;
	display: block;
}
[class*="col-span"] {
	float: left;
	box-sizing: border-box;
	padding-left: 15px;
	padding-right: 15px;
}

/*Site specific*/
body{
	margin: 0;
	padding: 0;
	line-height: 18px;	
}
header{	
	background-repeat:no-repeat;
	background-attachment: fixed;
    background-position: top center;
	height: 80;  /* height of banner image  for small*/
	color: #fff;
	font-size:0.9em;
	/* align: center center; */
	/* width: 1100; */
	
	
}

section {
    background-color: #fff;    
    margin: 0 auto 0;
    border: 1px solid #f0f0f0;
    border-radius: .25em;
	margin-top: 20px;
		padding-top: 20px;
		padding-left: 10px;
		padding-right: 10px;
		padding-bottom: 20px;	
	margin-bottom: 20px;
    text-align: center top;
	
}

nav{ text-align: left; padding-top: 20px; }
nav[role="menu"] { display: none; }
nav a{color: #fff; }

/* default small - siehe @media for medium and big */
.sm-col-span-1{width: 25%; }
.sm-col-span-2{width: 50%; }
.sm-col-span-3{width: 75%; }
.sm-col-span-4{width: 100%; }
h1{font-size: 1.5em;}
h2{font-size: 1em;}
p{font-size: 0.9em; color: black; }
table{color: black; font-size: 0.9em; }

ul{ padding: 0px; margin: 0px; }
ul li{ list-style: none; }
ul li:before { content: " | ";}
ul li:after { content: " | ";}

a:link { text-decoration:none; color:#18568f; font-size:1em; font-weight:bold; }
a:visited { text-decoration:none; color:#18568f; font-size:1em; font-weight:bold; }
a:hover { text-decoration:none; color:black; font-size:1em; font-weight:bold; }



div[role="footer"] { 
	width: 100%; 
	position: absolute; 
	bottom:0; 
	background-color: white /*#18568f*/; 
	font-size:0.9em;
	color: black;
}


div[role="hlbar"] { background-color: #18568f; width: 70%; color: white; }
div[role="message"] { background-color: white; width: 70%; color: black; }




/* gall2
https://basicuse.net/articles/pl/textile/html_css/simple_image_slider_with_a_responsive_design_using_only_css3#example_2
*/

#image-slider {
  background-color: rgb(128, 128, 128);
  display: inline-block;
  height: auto;
  max-width: 100%;  /* was: max-width: 100% */
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* ratio = das erste bild - ist aber versteckt */
#image-slider .ratio {
  visibility: hidden;
  z-index: 2;
}

/* das jeweils nächste bild ist versteckt (-100%) */
#image-slider .image {
  top: 0;
  left: -100%;
  opacity: 0;
  position: absolute;
  z-index: 3;
}


/* start   the image itself */
#image-slider .ratio,
#image-slider .image {
  display: block;
  height: auto;
  max-width: 100%;
}
/* ende   the image itself */ 



/* der text oben */
#image-slider .caption {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
  padding: 5px;
  text-align: center;
  top: -50px;
  width: 100%;
  z-index: 5;
}

#image-slider .navigation {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  bottom: -32px;
  padding: 5px 0;
  position: absolute;
  width: 100%;
  z-index: 5;
}

/* the transition between images */
#image-slider .image,
#image-slider .caption,
#image-slider .navigation {
  -webkit-transition: all linear 400ms;
  -moz-transition: all linear 400ms;
  -o-transition: all linear 400ms;
  transition: all linear 400ms;
}


#image-slider input:checked + .image {
  z-index: 4;
  left: 0;
  opacity: 1;
}

#image-slider input {
  display: none;
}

#image-slider .navigation label,
#image-slider .next,
#image-slider .prev {
  text-align: center;
  background-color: white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 1px solid rgb(48, 48, 48);
  color: black;
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  text-decoration: none;
  width: 20px;
  z-index: 6;
}

#image-slider .next,
#image-slider .prev {
  display: none;
  position: absolute;
  text-align: center;
  top: 50%;
  -webkit-transition: left linear 400ms, right linear 400ms;
  -moz-transition: left linear 400ms, right linear 400ms;
  -o-transition: left linear 400ms, right linear 400ms;
  transition: left linear 400ms, right linear 400ms;
}

#image-slider .next:hover,
#image-slider .prev:hover {
  background-color: rgb(192, 192, 192);
}

#image-slider .prev {
  left: -27px;
}

#image-slider .next {
  right: -27px;
}

#image-slider .navigation label:hover {
  background-color: rgb(192, 192, 192);
}

#image-slider:hover .navigation {
  bottom: 0;
}

#image-slider:hover .prev {
  left: 5px;
}

#image-slider:hover .next {
  right: 5px;
}

#image-slider:hover .caption {
  top: 0;
}

#image-slider input:checked + .image + .caption,
#image-slider input:checked + .image + .caption + label,
#image-slider input:checked + .image + .caption + label + label {
  display: block;
}

/* ende gall2 */



/* medium */
@media screen and (min-width: 500px){
	h1{font-size: 1.5em;}
	h2{font-size: 1em;}
	p{font-size: 0.9em;}
	header{ 
		font-size:0.9em;
		height: 120;  /* height of banner image */	
	}

	nav[role="menu"] { 
		display: block; 
		text-align: center; 
		padding-top: 5px; 
		/* border-top: 1px solid #ccc; */
	}
	nav li{ display: inline-block; font-size: 0.8em}
	.md-col-span-1{width: 25%;}
	.md-col-span-2{width: 50%;}
	.md-col-span-3{width: 75%;}
	.md-col-span-4{width: 100%;}
	nav[role="hamburger"] { visibility: hidden; }  /* ab 500px verschwindet der Hamburger */
	
}

/* large */
@media screen and (min-width: 800px){
	h1{font-size: 2em;}
	h2{font-size: 1.5em;}
	p{font-size: 1em;}
	header{ 
		font-size:1em;
		height: 183;  /* height of banner image */
	}
	section { max-width: 1080px; }  /* -20px for padding  */
	nav[role="menu"] { 
		text-align: center; 
		padding-top: 15px;		
		/* border-top: 1px solid #ccc;	*/
	}
	nav li{ display: inline-block;  font-size: 1em}
	.lg-col-span-1{width: 25%;}
	.lg-col-span-2{width: 50%;}
	.lg-col-span-3{width: 75%;}
	.lg-col-span-4{width: 100%; }
}

