/* altbeschlag CSS 2023 Günther Szukics */

* {
	padding: 0px;
	margin: 0px;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif; 
}

html {
	min-height: 100%;
}

p {
	font-size: 16px;
    color: #636363;
    font-weight: bold;
}

p2 {
	font-size: 14px;
    text-align: center;
    color: #232323;
}

h1 {
	color: #fff;
}

h2 {	
	color: #232323;
}


h3 {
    color: #636363;
}

h4 {
    color: #818181;
}

#abstand {
padding-left: 40px;
}

img {
	max-width:100%;
	height:auto;
	margin-right: 10px;
    padding-top: 5px;
}

video {
	max-width: 100%;
	height: auto;
}

.container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.logobox {
   	background: #575756;
	padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
}

.logobox2 {
    text-align: center;
    }

.logobox3 {
    #color: crimson;
    text-align: left;
    max-width: 50%    
}

.logobox4 {
    text-align: center;
    color: crimson;
    font-size: 20px;
}

.logobox5 {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
content {
	padding: 0px;
    }

content2 {
    padding: 0px;
    
}

#main { 
    max-width: 1000px;
    background: #fff;
	padding: 10px;
	}

#main_2 { 
  max-width: 50%;
    background: #fff;
	padding: 10px;
}

#main_3 { 

	}

#item_1 {
    max-width: 650px;
    text-align: justify;    
}

#item_2 {
    max-width: 100%;
    padding-left: 10px;
    text-align: center;
}

#item_3 {
    max-width: 500px;
    text-align: center;
    }

#item_4 {
    max-width: 100%;
    text-align: center;
}

#item_5 {
    max-width: 400px;
    }

#item_6 {
    max-width: 100%;
}

#footer {
	background-color: #575756;
	color: #fff;
	padding: 10px;
    margin-bottom: auto;
    font-size: 18px;

}

/* Slider */

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

figure {
    margin: 0; background: #fff;
}

div#captioned-gallery {
    margin-left: auto;
    margin-right: auto;    
    width: 100%; overflow: hidden; 
    border: 2px solid;
    border-color: #fff;
}

div#captioned-gallery1 {
    margin-left: auto;
    margin-right: auto;    
    width: 100%; overflow: hidden; 
    border: 2px solid;
    border-color: #fff;
}

div#captioned-gallery2 {
    margin-left: auto;
    margin-right: auto;    
    width: 70%; overflow: hidden; 
    border: 2px solid;
    border-color: #3399cc;
}

figure.slider { 
    position: relative; width: 500%;
    font-size: 0; animation: 30s slidy infinite; 
}

figure.slider figure { 
    width: 20%; height: auto;
    display: inline-block;  position: inherit; 
}

figure.slider img { 
    width: 100%; height: auto;
}

figure.slider figure figcaption { 
    position: absolute; bottom: 0;
    /* background: rgba(0,0,0,0.5); */
    color: #fff; width: 100%;
    text-align: left;
    font-size: 1rem; padding: .6rem; 
}

/* Gallerie */

      .slider {
      width: 950px;
      text-align: center;
      overflow: hidden;
      }

      .slides {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      }

      .slides::-webkit-scrollbar {
      width: 10px;
      height: 10px;
      }

      .slides::-webkit-scrollbar-thumb {
      background: #666;
      border-radius: 10px;
      }

      .slides::-webkit-scrollbar-track {
      background: transparent;
      }

      .slides > div {
      scroll-snap-align: start;
      flex-shrink: 0;
      width: 950px;
      height: 291px;
      margin-right: 50px;
      border-radius: 10px;
      transform-origin: center center;
      transform: scale(1);
      transition: transform 0.5s;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      }
      
    .slider > a {
      display: inline-flex;
      width: 30px;
      text-decoration: none;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      margin: 0 0 0.5rem 0;
      position: relative;
      }
      
.slider > a:active {
      top: 1px;
      color: #fff;
      }

      .slider > a:focus {
          
      }


/* Laufschrift Animation */

@keyframes marquee {
 0%   { text-indent: 400px }
 100% { text-indent: -400px }
}

.marquee {
 width: 380px;
 margin: auto;
 padding: 2px;
 overflow: hidden;
 white-space: nowrap;
 /*border: solid 1px #CCCCCC;*/
 animation: marquee 10s linear infinite;
}

.marquee:hover {
 animation-play-state: paused;
}


/* Navi-Menu */

nav {
    background: #575756;
	font-size: 1.1em;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 10px;
    padding-bottom: 5px;
    text-align: center;
    }

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

nav a {
	text-decoration: none;
	text-align: center;
	color: #fff;
	display: block;
	padding: 10px;
}

nav a:hover {
    background-color: #919191;
    transition-duration: 0.4s;
    color: #fff;
}

nav .active {
    color: #fff;
    text-decoration:none;
  	background-color: #757575;
}

a {
    color: #232323;
}



/* flex style */

@media screen and (min-width: 800px){

body {
	margin: 0px;
}
	
nav ul {
  	display: flex;
}
     
 nav {
    display: flex;
    justify-content:center;
 }
    
    
    
#content {
	display:-webkit-flex;
	display:flex;
}

#content2 {
	display:-webkit-flex;
	display:flex;
    justify-content:center;
    }    
  
#main {
	-webkit-flex:3;
	flex:3;	
	-webkit-order:2;
	order:2;
	}

#main_3 {

    }

    .logobox {
            justify-content:center;
    }    
    
 /* flexibler Container */
    
.logobox {
   display: -webkit-flex;
   display: flex;
   flex-direction: row;
	flex-flow: wrap;
    }

 .logobox2 {
     -webkit-flex:3;
	flex:3;	
	-webkit-order:5;
	order:5;
	}
    
    
   


#main_3 {
   display: -webkit-flex;
   display: flex;
   flex-direction: row;
	flex-flow: wrap;
}

#item_1 {
	-webkit-flex:3;
	flex:3;	
	-webkit-order:3;
	order:3;
	}
	
#item_2 {
	-webkit-flex:3;
	flex:3;	
   flex-grow: 1;
	-webkit-order:4;
	order:4;
}	

#item_3 {
	-webkit-flex:3;
	flex:3;	
	-webkit-order:6;
	order:6;
	}
	
#item_4 {
	-webkit-flex:3;
	flex:3;	
   flex-grow: 1;
	-webkit-order:7;
	order:7;
}    

#item_5 {
	-webkit-flex:3;
	flex:3;	
	-webkit-order:7;
	order:7;
	}
	
#item_6 {
	-webkit-flex:3;
	flex:3;	
   flex-grow: 1;
	-webkit-order:8;
	order:8;
}
    
}

