/* Stylesheet für Dorftheater */

/* Farben:   DL-grün:  #076618  und  #00a81e   */

/* margin, padding:  oben, rechts, unten, links  (im Uhrzeigersinn) */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box; 
}
body {
	background-image: url("../img/DL_bg.jpg");
	background-size: cover;
	background-attachment: fixed;
	background-color: #fee9cc;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
	font-size: 100%;
}

h1 {
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
	font-size: 1.4em;
	color: #401005; 
	text-transform: uppercase;
	padding-left: 0.7em; 
	border-left:5px solid #00a81e;
	margin-bottom: 1.5em;
}
h2 {
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
	font-size: 1.2em;
	color: #790000; 
	margin-bottom: 0.9em;
}
h2 span {
	font-size: 0.70em; 
	color: #818181; 
	text-transform: none;
}
h3	{
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
	font-size: 1.1em; 
	color: #076618; 
	margin-bottom: 0.7em;
}	
p {
	color: #401005; 
	text-align: left; 
	line-height: 1.4em; 
	padding: 0 0 1em 0;
}
a 	{ 
	color: #076618; 
	outline: none; 
	text-decoration: none;
}
a:hover { 
	color: #fef2ed; 
	text-decoration: none; 
	background-color: #00a81e;	
	border-radius: 0.2em;
}

#container {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr; 
	grid-template-rows: minmax(min-content, max-content) 1fr minmax(min-content, max-content);
	grid-template-areas: 
    "nav nav nav"
    "inhalt inhalt inhalt"
    "footer footer footer";
	justify-content: stretch;
	align-content: space-between;
	justify-items: stretch;
	align-items: start;
}


/* ====================================================  NAV  ==================================================== */

nav {
	grid-area: nav;
	background: transparent;
	color: #401005;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
	font-size: 100%;
	padding: 0.7rem 1.2rem 0.3rem 1.2rem;
}
nav ul {
   text-align: center;
   list-style-type: none;
}
nav li {
  display: inline-block;
  background-color: transparent;
  color: #fee9cc;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 0.5em;
}
.ribbon {
  background-color: transparent;	
}
.ribbon:hover {
  background-color: transparent;	
}
#logo_img {
	height: 119px;
	width: auto;
}

#inhalt {
	grid-area: inhalt;
	justify-self: stretch;
	align-self: stretch;
	background-image: url("../img/HGo.jpg"), url("../img/HGu.jpg");
	background-size: contain, contain;
	background-position: top center, bottom center;
	background-repeat: no-repeat, no-repeat;
	background-color: #fee9cc;
	padding: 2.4rem 1.25rem 0.9rem 1.25rem;
	border: 0;
	border-top: 0.3rem solid #076618A0;
}
img {
	border: 0;
}
.imgbdr {
   border: 2px solid #905030;
}

.tito {
display: none;
}
.titd {
width: 99%;
}
.tite {
width: 99%;
}

.ausgleich {
    margin: 0;
}
.news {
	background-color: #ffebd7;
/* 	background-image: url('../img/Tupf.gif');  */
	background-repeat: no-repeat;
	background-size: 100%;
	border: 1px solid #602010;
	box-shadow: -0.3rem .4rem .4rem 0 #986550;
	padding: 1rem 1rem 0 1.1rem;
	border-radius: 0.5em;
   margin: 1rem 0 1.7rem 0;
}
.news p {
	color: #290801; 
}
.fbx {
   background-color: #fff2df;
   border: 2px solid #905030;
   box-shadow: -0.3rem .4rem .4rem 0 #A08570;
	padding: 1rem 1rem 0 1.1rem;
   border-radius: 0.5em;
   margin: 1rem 0 1.7rem 0;
}
.fbx p {
	color: #290801; 
}
.fbpic {
   background-color: transparent;
   border: 0;
	padding: 0;
   margin: 1rem 0 1.7rem 0;
}
.fbpic > img {
   box-shadow: -0.3rem .4rem .4rem 0 #A08570;
   border: 2px solid #905030;
	width: 100%;
   margin: 0;
	padding: 0;
   border-radius: 0.5em;
}
.PCbkgd {
	background-image: url('../img/PCbkgd.jpg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.PCbkgd h2 {
	font-size: 0.95em;
	line-height: 1.8em;
}
.PCbkgd h3 {
	margin-top: 1.1em;
}

.rbr {
	background-image: url('../img/Rbr.gif');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 9rem;
	padding-bottom: 3.8rem;
}
.rrbr {
	margin-top: -0.3rem;
}
.dgo1 {
	background-image: url('../img/Empfang.gif');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 6.4rem;
	padding-bottom: 4.1rem;
}
.dgo2 {
	background-image: url('../img/KotzApp.gif');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 7.5rem;
	padding-bottom: 5.2rem;
}
.dgo3 {
	background-image: url('../img/FunkLoch.gif');
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 9rem;
	padding-bottom: 3.8rem;
}
.ddgo {
	margin-top: 0.2rem;
}
.funkL1 {
	width: 64%;
}
.funkL2 {
	width: 33%;
}

.dumm {
   background: transparent;
   border: none;
	padding: 1rem 1rem 0 1.1rem;
   margin: 1rem 0 1.7rem 0;
}
.sectpic {
	background-image: url("../img/c16sp.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}
.s_pic2 {
	background-image: url("../img/s_c16sp.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}
hr {
	border: 0;
   border-top: 3px dotted #076618;
	margin: 2em 0;
}
.hr_m {
	margin: 1.7em 0 2.1em 0;
}
.small	{	
	font-size:	0.8em;
	}
.big	{	
	font-size:	1.3em;
	}		
.p_ext {
	line-height: 130%;
}
.bezi {
	margin-top: 0.2em;
 	font-size: 0.7em;
}
.hinws {
	font-style: italic;
}
.hinws b {
	font-weight: bolder;
	font-style: normal; 
}
.mittig {
	text-align: center;
}
.txtimg {
	font-size: inherit;
	height: 0.72em;
	width: auto;
	vertical-align: baseline;
	border: none;
}
.t_rot {
	color: #FF0000;
}
.kontadr * {
	margin: 0;
	padding: 0;
}

.flore {
	float: right; 
	margin-bottom: 0.7em;
	margin-left: 0.9em;
}
.floli {
	float: left;
	margin-bottom: 0.7em;
	margin-right: 0.9em;
}
.pic_s {
	border-radius: 0.5em;
	width: 22%;
	max-width: 10rem;
}
.pic_m {
	border-radius: 0.5em;
	width: 27%;
	max-width: 13rem;
}
.pic_l {
	border-radius: 0.5em;
	width: 32%;
	max-width: 16rem;
}
.pic_t {
	border-radius: 0.5em;
	width: 33%;
	max-width: 10rem;
}
.opti {
   display: none;
}
.und_weg {
	display: none;
}
.l_weg {
	display: none;
}
.div_z {
	width: 27%;
	max-width: 14rem;
}
.div_z img, .div_z * img {
	border-radius: 0.5em;
}
.clearb {
	clear:both;
}

.kontainer {
  position: relative;
  width: 100%;
}
.kt_image {
  display: block;
  width: 100%;
  height: auto;
}
.kt_overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #FDA240;
}
.kt_overlay_pic {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: transparent;
}
.kontainer:hover .kt_overlay, .kontainer:hover .kt_overlay_pic {
  opacity: 1;
}
.kt_text {
  color: #f5f0ee;
  font-size: 2vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* ====================================================  FOOTER  ==================================================== */

footer {
  grid-area: footer;
  justify-self: stretch;
  align-self: stretch;
  margin: 0;
  padding: 0.5rem 0.25rem 0.6rem 1.25rem;
  display: flex;   /*  ???  */
  color: #ccc;
  font-size: 1.1em;
  background-color: #076618;
  background-color: #076618D0;
}

footer ul {
  margin: 0;
  padding: 0;
}
footer p {
	margin: 0;
 	font-size: 1em;
	font-weight: normal;
	text-align: right;
 	color: #ccc;
   font-family: Arial, Helvetica, Verdana, sans-serif ;
}
footer li  {
  list-style-type: none;
  display: inline-block;
  font-size: 100%;
  padding: 0 1rem 0 0.5rem;
  margin: 0.2rem 0;
  border-left: 0.2em solid #15c030;
}
footer a {
	color: #fee9cc;
	text-decoration: underline;
	outline: none;
	margin:0;
	padding: 0.1rem 0.3rem;
	border-radius: 0.3em;
}
footer a:hover {
	color: #ffffff;
	text-decoration: none;
	outline: none;
}

@media screen and (min-width: 35rem) {
	.tito {
		width: 33%;
		display: inline;
	}
	.titd {
		width: 62%;
		display: inline;
	}
	.tite {
		width: 85%;
	}
	.funkL1 {
		width: 60%;
	}
	.funkL2 {
		width: 25%;
	}
}

@media screen and (min-width: 50rem) {

	#container {
	 display: grid;
	 gap: 0;
	 grid-template-columns: minmax(min-content, max-content) 1fr 1fr ; 
	 grid-template-rows: 1fr minmax(min-content, max-content);
	 grid-template-areas: 
     "nav inhalt inhalt"
     "footer footer footer";
	 justify-content: stretch;
	 align-content: space-between;
	 justify-items: center;
	 align-items: center;
	}
	
	h1 { font-size: 1.5em; padding-left: 1em; }
	h2 { font-size: 1.4em; }
	h2 span { font-size: 0.70em; }
	h3	{ font-size: 1.3em; }		
	.PCbkgd h2 {
	font-size: 1.2em;
	}
	.PCbkgd h3 {
		margin-top: 1.4em;
	}

	#logo_img {
	 height: 134px;
	 width: auto;
	}
	.und_weg {
	 display: inline;
	}
	.l_weg {
	 display: list-item;
	}	
	article p {
 	font-size: 1.1em; 
	}
	section p {
	font-size: 1.1em;
	}
	nav {
	 justify-self: start;
	 align-self: start;
	 padding: 1.5rem 1rem;
	}
	nav li {
	 display: list-item;
	 padding: 0.5rem 0;
	}
	#inhalt {
	 border: 0;
    border-left: 0.2rem solid #07661885;  
	}
	.funkL1 {
		width: 53%;
	}
	.funkL2 {
		width: 20%;
	}
	footer li  {
    font-size: 105%;
	}
}

@media screen and (min-width: 62rem) {

	#logo_img {
	 height: 144px;
	 width: auto;
	}
	nav {
	 padding: 1.5rem 1.5rem;
	}
	nav li {
	 padding: 0.5rem 0;
	}
	#inhalt {
    margin: 2.2rem 2rem 2rem 0.5rem;
	 padding: 2.5rem 2rem 0.9rem 2rem;
	 background-clip: padding-box;
	 background-origin: border-box;
    border: 0.9em solid #07661880;
    border-radius: 1.6em;
	}	
	.news, .fbx, .fbpic, .dumm {
    margin: 2rem 0;
	}
  	footer {
	 padding: 0.5rem 0.5rem 0.6rem 1.5rem;
	}
}

@media screen and (min-width: 85rem) {
	#logo_img {
	 height: 172px;
	 width: auto;
	}
	nav {
	 font-size: 105%;
	 padding: 2.5rem 2rem;
	}
	nav li {
	 padding: 0.55rem 0;
	}
	#inhalt {
	 padding: 3.5rem 5rem 2rem 5rem;
	}
	.fbx, .fbpic, .news, .dumm {
    margin: 1.5rem 2rem;
	}
	.flex_cont {
	 display: flex;
    flex-flow: row wrap;		
	 margin-left: 0;
    margin-right: 0;	
	}
	.ausgleich {
	 margin-left: -2rem;
    margin-right: -2rem;
	}
	.flex_cont > * {
    flex: 1 100%;  /* Alle Kindelemente werden über die volle Breite dargestellt */
	}
	.flex_cont section {
    flex: 1 42%;  /* Diese Elemente erhalten eine halbe Breite */
	}
	.flex_cont .kontadr {
    flex: 1 22%;
	}
	.opti {
	 display: inline;
   }
  	footer {
	 padding: 0.5rem 1rem 0.6rem 2rem;
	}
}
