/* Reset */

	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline;
	}
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block;
	}
	body {
		line-height: 1;
	}
	ol, ul {
		list-style: none;
	}
	blockquote, q {
		quotes: none;
	}
	blockquote:before, blockquote:after, q:before, q:after {
		content: '';
		content: none;
	}
	table {
		border-collapse: collapse;
		border-spacing: 0;
	}
	body {
		-webkit-text-size-adjust: none;
	}
body {
	background-repeat: repeat;
	background-size: 10px;
	background-attachment: fixed;
	text-decoration: none !impotent;
}

/* Seitenaufbau */
#pageStyle {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
     font-size: 14px;
     color: rgb(70, 70, 70); 
}
.container {
  display: flex;
  width: 100%;
  color: #fff;
}
.fixed-width {
	border-left: 0.1px solid #669966;
	border-right: 0.1px solid #669966;
    background-color: #FCFCFC;
	box-shadow: 0px 30px 40px rgba(50, 0, 100, 0.4), 0px -30px 40px rgba(50, 0, 100, 0.4);
	margin-top: 20px;
	margin-bottom: 20px;
}
.flexible-width {
	flex: 1; /* Stretch to occupy remaining width */
	transition: 2s ease-in-out;
	text-align: center;
}
#titel {
	border-top: 0.1px solid #669966;
	background-color: rgba(250,255,250, 1); 
    align-self: flex-start;
	width: 100%;
}
#menu{
	background-color: rgba(250,255,250, 1); 
	top: 150px;
    align-self: flex-start;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	width: 100%;
}
#slogan {
	background-color: rgba(51,164,112, 1); 
	margin-bottom: 7px;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 7px;
	display: block;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    padding-top: 5px;
    text-align: right;
    float: left;
    /* border: 1px dotted #000000; */
	transition: 3s linear;
}
#slogan:hover {
  opacity: .6;
}

#footer {
	border-top: 0.1px solid #669966;
    border-bottom: 0.1px solid #669966;
	color: rgba(120, 120, 120, 1);
	margin-top: 5px;
    padding-bottom: 10px;
    padding-top: 5px;
    text-align: center;
    display: inline-block;  
    text-decoration: none !impotent;
}
/* Elementenaufbau */
#mediabox {
	width: 265px; 
	text-align: center; 
	float: right;
	padding: 10px; 
	margin: 15px;
}
.logoimg {
		width: 30px;
}
.logoimg:hover {
	transition: 0.3s ease-in-out;
	transform: scale(1.5);
 }

.slogan {
    display: inline-block;  
    color: white;
    padding: 5px;
	margin: 5px;
    font-size: 22px; 
    text-decoration: none !impotent;
    text-shadow: 5px 7px 5px #191970;
}
.menuitem {
    display: block;  
    min-width: 60px;
	border: 1px solid rgba(250,255,250, 1);
    color: black;
    padding: 5px 15px;
    margin-left: 10px;
    margin-right: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px; 
    text-decoration: none !impotent;
}
.menuitem:hover {
     border: 1px solid rgba(150,155,150, 1);
     background-color: rgba(51,164,112, 0.2);
	 box-shadow: 1px 0px 1px rgba(51,164,112, 0.3); 
     color: black;
     text-decoration: none !impotent;
	 transform: scale(0.98);
	 cursor: pointer;
   }
#logo:hover {
    transition: 3s ease-in-out;
	transform: scale(0.5);
    transform: rotate(5deg);
    transform-origin: 55% 65%;
	transition-duration: 2s;
   }
#aktiv {
    font-weight: bolder; 
    transform: rotate(-3deg);
	text-align: left;
}
#aktiv:before {
 content:"▼";
} 
img.titelimg {
    margin-left: 5px;
    margin-top: 10px;
    float: left;
}
img.gallerie {
	width: 220px;
	height: 220px;
	object-fit: cover;
	border-radius: 50%;
	cursor: pointer;
}
.artikelfoto {
	width: 220px;
	height: 220px;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid #AAAAAA;
}
.flexcontainer {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	align-content: stretch;
	align-items: stretch;
}
.anzeige {
	box-shadow: 4px 3px 3px rgba(51,164,112, 0.5); 
    border: 1px solid #669966; 
    margin: 7.5px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 15px;
    text-align: left;
    float: left;
	border-radius: 10px;
}
.gallerie-image {
	width: 240px;
	height:240px;
    box-shadow: 4px 3px 3px rgba(51,164,112, 0.5); 
    border: 1px solid #669966; 
    margin: 7.5px;
    padding: 20px;
    text-align: center;
    float: left;
	border-radius: 10px;
}
.post {
	width: 240px;
	box-shadow: 4px 3px 3px rgba(51,164,112, 0.5); 
    border: 1px solid #669966; 
    margin: 7.5px;
    padding: 20px;
    display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 10px;
}
.post:hover, .gallerie-image:hover, .anzeige:hover { 
    border: 1px solid #336633;
    box-shadow: 0px 0px;
    background-color: rgba(51,164,112, 0.03); 
	transition: 0.1s ease-in-out;
	transform: scale(0.995);
}
.back {
	text-align: center;
	height: 15px;
	width: 260px;
	margin: 7.5px;
    padding: 10px;
    background-color: #FCFCFC;;
	border: 1px solid rgba(164,164,180, 1);
	border-radius: 10px;
	box-shadow: 4px 3px 3px rgba(51,164,112, 0.5); 
}
.back:hover {
	background-color: rgba(51,164,112, 0.5);
	border: 1px solid #336633;
    box-shadow: 0px 0px;
    transition: 0.1s ease-in-out;
	cursor: pointer;
}
.fotka {
	width="230px";
	float: right;   
	text-align: center;
	padding-left: 20px;
	padding-bottom: 5px;
	padding-right: 20px;
	padding-top: 5px;
}
/* Textelemente 
.unsichtbar {
    visibility: hidden;
}*/
aside {
    color: #44AAAA;
    font-size: 12px; 
    text-align: right;
}
header {
    font-size: 18px;
    padding-bottom: 10px;
    text-decoration: none !impotent;
}
.absatz, p {
	min-width: 100px;
    text-decoration: none !impotent;
    margin-top: 10px;
    margin-bottom: 5px;
}
.info {
    color: #666666;
    margin-top: 5px;
    margin-bottom: 1px;
    font-size: 12px; 
    text-align: center;
    }
.noteText {
    margin-top: 1px;
    margin-bottom: 1px;
    font-size: 12px; 
    text-align: center;
    }
.menuitem /* у ссылки с классом notpodcherk не будет подчеркивания по умолчанию */ { 
    text-decoration: none;
    color: rgb(70, 80, 70);
}  
.headernoline /* у ссылки с классом notpodcherk не будет подчеркивания по умолчанию */ { 
    text-decoration: none;
    color: rgb(70, 80, 70); 
	
}  
.noline /* у ссылки с классом notpodcherk не будет подчеркивания по умолчанию */ { 
    text-decoration: none;
    color: rgb(120, 120, 120);
}  
.noline:hover { 
    text-decoration: none;
    color: rgba(40, 40, 40, 1);
}  
.flag {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	color: darkslateblue;
	font-size: 24px;
	text-shadow: 2px 2px 2px white;
	padding: 0px;
	margin: 5px;
	min-height: 100px;
	border: 0.1px solid #333333;
	cursor: pointer;
}
.ru {
	background-image: linear-gradient(white 30%, blue 30%, blue 70%, red 70%);
}
.de {
	background-image: linear-gradient(black 30%, red 30%, red 70%, yellow 70%);
}
#uspech {
	background-color: white;
	color: blue;
	font-size: 32px;
	border-radius: 20px;
}
#schieber {
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
    margin: 0px;
    padding: 20px;
	align-items: center;
	text-align: center;
	cursor: pointer;
	background-color: rgba(0,155,50,1);
	border: solid 1px black;
	box-shadow: 5px 5px 5px rgba(55,55,55,0.7);
    border-bottom-right-radius: 50%;
	border-top-right-radius: 50%;
}
#schieber:hover {
	background-color: rgba(0,165,55,1);
	box-shadow: 1px 1px 1px rgba(55,55,55,0.3);
    transition: 0.1s ease-in-out;
}
/*block modal ****************************************************************/

.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(50, 0, 100, 0.5);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.dm-overlay:target {
    display: block;
    animation: fade 1.6s;
}
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
.dm-cell {
    display: table-cell;
    padding: 0 15px;
    vertical-align: middle;
    text-align: center;
}
.dm-modal {
    display: inline-block;
    padding: 10px;
    max-width: 80%;
    max-height: 80%;
    background-color: #339966; 
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.5), 0px 19px 60px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
	border-radius: 20px;
}
#img-gallerie {
    position: relative;
	max-width: 100%;
	max-height: 80vh;
	border: 2px solid #333333;
	cursor: pointer;
}
#img-gallerie::before {
	padding-top: 50%; /* С помощью этого padding мы задаем высоту в 2 раза меньше, чем ширина блока */
}

.close {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
	margin-bottom: 5px;
    color: black;
    background-color: red;
	text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
    border: 2px solid black;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}
.close:hover:after {
    border: 3px solid black;
    color: blue;
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
}
#lpfeil {
float: left;
}
#rpfeil {
float: right;
}
#rpfeil, #lpfeil {
	text-align: center;
	width: 50px;
	padding: 10px;
    background-color: rgba(51,164,112, 0.5);
	border: 1px solid #336633;
    border-radius: 10px;
	box-shadow: 4px 3px 3px #333333; 
}
#rpfeil:hover, #lpfeil:hover {
	box-shadow: 0px 0px;
	transform: scale(0.95);
    transition: 0.1s ease-in-out;
	cursor: pointer;
}
table td {
	vertical-align: top;
}
#dm-modal2 {
    display: inline-block;
	margin: 40px 40px;
    padding: 15px;
	max-width: 80%;
    background-color: white; 
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.5), 0px 19px 60px rgba(0, 0, 0, 0.8);
    text-align: center;
	border-radius: 30px;
}
#fenster {
	color: #333333;
	padding: 5px;
	background-color: white; 
	width: inherit;
	height: inherit;
    min-width: 200px;
	min-height: 200px;
	text-align: left;
}
.txtpost {
	padding: 1%;	
}
.foto {
	max-width: 640px;
	width: 49%;
    padding: 5px;
	margin: 1%;
	border: 1px solid #333333;
	border-radius: 20px;
	float: left;
}
/*block media ****************************************************************/
@media screen and (min-width: 1381px) {
	.menuitem {float: left; }
    .fixed-width {display: block; width: 1210px; }
    .anzeige {width: 545px;}
    img.titelimg {height: 140px;}
}
@media (min-width:981px) and (max-width:1380px) {
	.gallerie-image	 {width: 385px;}
	.post {width: 385px;}
    .menuitem {float: left; }
    .fixed-width {display: block; width: 910px; }
    .anzeige {width: 840px;}
    img.titelimg {height: 140px;}
}
@media (min-width:701px) and (max-width:980px) {
    .menuitem {float: left;}
    .fixed-width {display: block; width: 610px; }
    .anzeige {width: 545px;}
    img.titelimg {height: 140px;}
}
@media (max-width:700px){
	#logozusatz {display: none; }
    .rpfeil, .lpfeil {width: 30px;}
	.menuitem {
        float: none; 
        border: 1px solid rgba(164,164,180, 1);
 		border-radius: 10px;
        box-shadow: 3px 2px 1px rgba(51,164,112, 0.3); 
    	width: 255px;
		text-align: right;
	}
    .fixed-width {
		display: block; 
		width: 315px; 
	}
    .anzeige {width: 250px;}
    img.titelimg {height: 85px;}
    .close, #rpfeil, #lpfeil {transform: scale(2);}
}
@media only screen and (max-device-width: 800px) and (orientation: portrait) {
	#schieber { transform: scale(2); transform-origin: 10px -50%;}
    .fixed-width {
        display: block; 
        width: 65%; 
        transform: scale(1.5);
        transform-origin: 50% 0px;
    }
    .anzeige {width: 545px;}
    img.titelimg {height: 140px;}
    .close {transform: scale(3);}
}
@media only screen and (max-device-width: 400px) and (orientation: landscape) {
	#fenster {
		font-size: 45px;
	}
    .foto {
		width: 95%;
		margin: 10px;
	}
	#schieber { transform: scale(2); transform-origin: 10px -50%;}
    .fixed-width {
        display: block; 
        width: 65%; 
        transform: scale(1.5);
        transform-origin: 50% 0px;
    }
    img.titelimg {height: 140px;}
    #close {transform: scale(3);}
}
@media only screen and (max-device-width: 400px) and (orientation: portrait) {
	#logozusatz {display: none; }
    .rpfeil, .lpfeil {width: 30px;}
	.menuitem {
        float: none; 
    	border: 1px solid rgba(164,164,180, 1);
		border-radius: 10px;
        box-shadow: 3px 2px 1px rgba(51,164,112, 0.3); 
    	width: 245px;
		text-align: right;
	}
	#fenster {
		font-size: 45px;
	}
    .foto {
		width: 95%;
		margin: 10px;
	}
	#schieber { transform: scale(3); transform-origin: 10px -50%;}
	.fixed-width {
        display: block; 
        width: 30%; 
        transform: scale(3);
        transform-origin: 50% 0px;
    }
    .anzeige {width: 250px;}
    img.titelimg {height: 85px;}
    .close {transform: scale(3);}
}