/* Stylesheet responsives Layout    */

/* ==================   GLOBAL DEFINITION   ============================== */
/* EUROSTILE as custom font */
@font-face {
  font-family: 'Eurostile';
  src: url('fonts/EurostileNormal.ttf');
  font-style:normal;
}
@font-face {
  font-family: 'Eurostile';
  src: url('fonts/EurostileBold.ttf'); 
  font-weight: bold;
}
/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 

} 

*, ::before, ::after { 
  box-sizing: inherit; 
}

body {

    max-width: 75em;
    margin: 0 auto; 
	padding: 0 1em;
    font: normal 1em helvetica, sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
	color: #2a4a20;
    background: #F0F0F0;

}

/* ===== header ===== */

header.banner {
	padding: 1em 0em 2em 0;
    text-align: right;
}

#logo {
    height: 6em;
	color: #58585a;
    align-content: flex-end;
}

		
/* ===== content / Inhalt ===== */
/* ------ style home -----------*/
main.home{
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    grid-template-rows: 4;
    grid-auto-flow: row;
    column-gap: 0.3em;
    grid-row-gap: 0.3em;
	background: #fff;
    
}
article.left_1{
    grid-column: 1;
    grid-row:  1 / span 2;
    background: #eef5ec;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #2a4a20*/
    padding-top: 5px;
    padding-left: 20px;
}
article.left_1 h1{
    font-size: 3em;
}

article.left_1 h2{
    font-size: 1.5em;
}
article.left_1 h3{
    font-size: 1.2em;

}
article.right_1{
    grid-column: 2;
    grid-row:  1;
    background: #eef5ec;
}

article.right_2{
    grid-column: 2;
    grid-row:  2;
    background: #eef5ec;
}
article.left_2{
    grid-column: 1;
    grid-row:  3 / span 2;
    background:#eef5ec;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #2a4a20*/
    padding-top: 5px;
    padding-left: 20px;
}
article.left_2 h1{
    font-size: 3em;
}
article.left_2 h2{
    font-size: 1.5em;
}
article.left_2 h3{
    font-size: 1.2em;
}
article.right_3{
    grid-column: 2;
    grid-row:  3 / span 2;
    background: #eef5ec;
}
article.right_4{
    grid-column: 2;
    grid-row:  4;
    background: #eef5ec;
}

article.right_1a {
    grid-column: 2;
    grid-row:  1;
    
    text-align: center;
    font-style: italic;
    font-size: 2em;
    font-family: serif;
   
    color: white;
	background: rgba(0, 0, 0, 0.2);
}
article.right_2a {
    grid-column: 2;
    grid-row:  2;
    
    text-align: center;
    font-style: italic;
    font-size: 2em;
    font-family: serif;
   
    color: white;
	background: rgba(0, 0, 0, 0.2);
}
/*----------------------------------*/
main {
    display: grid;
    grid-template-columns: repeat(4, auto);
	padding: 3em 1em 5em 1em;
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.2); 
    z-index: 1;
}
#projectpage {
    display: grid;
    grid-template-columns: 5fr;
    grid-template-rows: auto auto auto;
	padding: 3em 3em 5em 3em;
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.2); 
}
main.linkpage {
    display: flexbox;
    flex-flow: row wrap;
}

.one_col{
    grid-column: 1/span 4;
}


/* ------ style partner page ------- */
main.partnerpage{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto; 
    grid-auto-flow: row;
    column-gap: 0.3em;
    grid-row-gap: 0.3em;
	background: #fff; 
}
.partner {
    font-size: 0.8em;
}


.partnerpage article:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row:  1;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #2a4a20*/
}






.thx{
    grid-column: 1/span 4;
    min-height: 300px;
    text-align: center;
}

a {
	color: #2a4a20; 
}

a:hover,
a:focus {
	color: #FF00FF;
}

/* style buttons and CTA */
/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color: #2a4a20;
  color: white;
  border-radius:5px;
  border:0;
  font-weight:700;
  font-size: 1.2em;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  bottom: 23px;
  right: 28px;
  width: 280px;
}
open-button-small {
  background-color: #eef5ec;
  color: white;
  border-radius:5px;
  border:0;
  font-weight:700;
  border: none;
  cursor: pointer;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 400px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container textarea {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container textarea:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the button */
.form-container .btn {
  width: 50%;
  background:#2a4a20;
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:15px;
  padding-top:5x;
  padding-bottom:5px;
  transition: all 0.3s;
  margin-top:10px;
  margin-bottom: 10px;
  font-weight:700;
}

/* set style for cancel button */
.form-container .cancel {
  background-color: #2a4a20;
  opacity: 0.5;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 0.7;
}


/* -------- Style links.html --------- */
.tab_links	{
	vertical-align: top;
	width: 450;
	padding-bottom: 2em;
	}
.tab_rechts	{
	vertical-align: top;
    width: 350;
	padding-left: 2em;
	}


/* -------- style for navigation --------- */
.nav {
	margin: 0;
    z-index: 2;
}
.nav ul {
  
	margin: 0 0 0.5em 0;
	padding: 0;
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    column-gap: 1em;
}
.nav li {
	list-style: none;
	display: inline-block;
	*display:inline; /* ie7 */
     box-shadow: 0 -4px 5px -4px #c1c1c1, 4px 0px 5px -4px #c1c1c1, -4px 0px 5px -4px #c1c1c1,0 -4px 5px -4px #c1c1c1 inset;
}
.nav a {
	text-decoration: none;
    padding: 0.3em 1.68em 0.5em 2.9em;
    width: auto;
    background:#eef5ec;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #2a4a20*/
   
}
.nav a:hover {
	background: #fff;
    color:#FF00FF; /* old: #EA3D8C; */
}
.nav .current a {
    font-weight:bold;
    background: #fff;
    box-shadow: 0 -4px 5px -4px #c1c1c1, 4px 0px 5px -4px #c1c1c1, -4px 0px 5px -4px #c1c1c1;
}
.nav a:focus {
	color:#FF00FF; /* old: #EA3D8C; */
	text-decoration: none; 
}		
.nav a:active {
	color:#FF00FF; /* old: #EA3D8C; */
	text-decoration: none; 
}

/* ----- picture boxes ----*/
/* style portfolio mosaik */
figure,
figcaption {
	margin: 0.5em 0.5em 0 0;
	padding: 0em;
    font: normal 0.9em Arial, sans-serif;
}
figure{
    overflow: hidden;
	position: relative;
	display: inline-block;
}

figure img {
    display: block;
    overflow: hidden;
    width: 100%;

}
figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	line-height: 3em;
	color: white;
	background: rgba(0, 0, 0, 0.5);
}
figcaption {
	position: absolute;
	bottom: -3em;
	text-align: center;
	line-height: 3em;
	white-space: nowrap;
	color: white;
	background: rgba(0, 0, 0, 0);
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
}
figure:focus figcaption,
figure:hover figcaption {
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
}

/*----- style pic slider --------*/

.mySlides {display:none}
.myCaption {display:none}

.p-badge{
    	height:13px;
        width:13px;
        padding:5px;
        color: black; opacity: 0.7;
    	background-color:white; opacity: 0.5;
        display:inline-block;
        text-align:center;
        border-radius:50%;
        border:1px solid #2a4a20;
        cursor: pointer;
}

.p-badge:hover{
        background-color:white!important;
        border:1px solid #FF00FF!important;
}

.p-left-arrow{
    position: absolute;
    display: flex;
  justify-content: center;
  align-items: center;
    top: 0;
    left: -38px;
    height: 100%;

    padding-left: 10px;
    padding-right: 10px;
    color:#2a4a20; opacity: 0.6;
    background: white;
    font-size:36px;
    cursor: pointer;
}
.p-right-arrow{
     position: absolute;
    display: flex;
  justify-content: center;
  align-items: center;
    top: 0;
    right: -38px;
    height: 100%;

    padding-left: 10px;
    padding-right: 10px;
    color:#2a4a20; opacity: 0.6;
    background: white;
    font-size:36px;
    cursor: pointer;
}

.p-left-arrow:hover{
    color:white;
    background: black; opacity: 0.3;
}
.p-right-arrow:hover{
    color:white;
    background: black; opacity: 0.3;
}

/*----- style album project pages ---------------*/
#mainpic{
    grid-row: 1;
	color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #36573B*/
	border: 0;
    padding:5px 0px 0px 0px;
    margin: auto;
	}
#mainpic img{
   
    display: block;
    margin: auto;
    min-width: 75%;
}

#projecttext{
    grid-column: 1/span 2;
    grid-row: 2;
	color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #36573B*/
	background:white;
    min-height: 4em;
	margin-bottom: 2em;
	font-size: 1em;
    text-align: center;
	}
#subtext{
    grid-column: 1/span 2;
    grid-row: 3;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #36573B*/
	background:transparent;
	font-size:1em;
	padding:0;
	margin: 1em 0 0 0;
	border: 0;
	}

#subtext p{
	font-size: 1em;
	}

/* ===== contact ===== */
/* ------ style contact form -----------*/

.feedback-input {
  font: normal 1em helvetica, sans-serif; 
  color: #2a4a20;
  border-radius: 5px;
  line-height: 1.2em;
  background-color: #eef5ec;
  border:0px solid #2a4a20;
  transition: all 0.3s;
  padding: 5px;
  margin-bottom: 10px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.feedback-input:focus { border:1px solid #2a4a20; }

textarea {
  font: normal 1em helvetica, sans-serif; 
  color: #2a4a20;
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
  width: 45%;
  background:#2a4a20;
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:15px;
  padding-top:5x;
  padding-bottom:5px;
  transition: all 0.3s;
  margin-top:10px;
  margin-bottom: 10px;
  font-weight:700;
}
[type="submit"]:hover { background:#FF00FF; }





/* ===== Footer ===== */
footer{
    position: relative;
    /* make space for social icons */
    color: #2a4a20;
    width: auto;    
    font-size: 0.9em;
    }
footer a{
    text-decoration: none;
}
article.footerleft{
    float:left;
    width: 33%;
    text-align: left;
    font-size: 0.9em;
    }
article.footercenter{
    float: left;
    width: 34%;
    text-align: center;
    font-size: 0.9em;
    }
article.footerright{
    float: right;
    width: 33%;
    text-align: right;
    font-size: 0.9em;
    }
footer img{
    width: 30px;
    margin: 10px 5px 5px 5px;
    padding-bottom: 5px;
    }
footer button{
    background-color: #2a4a20;
    color: white;
    border-radius:5px;
    border:0;
    font-weight:700;
    border: 0;
    cursor: pointer;
    }



/* ===== Map styles ===== */


/* google-maps responsive Begin / by Richard Kircher (c)2018/ www.richukunst.ch */
.google-maps {
background-color: #EEE;
width: 95%;
height: 100%;
margin-left:1em;
margin-right: 1em;
}
.google-maps {
grid-column: 2/span 3;
position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* google-maps responsive End / by Richard Kircher (c)2018/ www.richukunst.ch */


/*------------------------------------------------------*/
/*--------  RESPONSIVE DESIGN small viewport -----------*/
/*------------------------------------------------------*/
@media screen and (max-width: 73em) {
	.nav {
		position: relative;
        width: auto;     
	}	
	.nav ul {
		position: absolute;
		top: -2em;
		left: 0em;
		background: white; 
        background-image: url("./pics/hamburger_gruen.png");
        background-size: 1.2em;
        background-repeat: no-repeat;
        background-position: left;
	}
	.nav li {
		display: none; /* hide all <li> items */
		margin: 0;
        box-shadow: none;
	}
	.nav .current {
		display: block; /* show only current <li> item */
        box-shadow: none;
        
          
	}
	.nav a {
		display: block;
		text-align: left;
        background: #eef5ec;
        
	}
	.nav .current a {
		background: none;
		color: #2a4a20;
        box-shadow: none;
	}

	/* on nav hover */
	.nav ul:hover {
        flex-direction: column;
	}
	.nav ul:hover li {
		display: block;
        box-shadow: none;
		
	}
	.nav ul:hover .current {
        box-shadow: none;
	}
    

/*----- style links page ---------------*/

#linkpage article {
  width:100%;
}
#linkpage article:nth-child(1) {
  width:100%;
}
    
article.partner  {
    grid-column: 1 / span 2;
    grid-row:auto;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #2a4a20*/
}
    
    
article.left_1{
    grid-column: 1  / span 2;
    grid-row: auto;
    background: #eef5ec;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #2a4a20*/
    padding-top: 5px;
    padding-left: 20px;
}
article.left_1 h1{
    font-size: 1em;
}
article.left_1 h2{
    font-size: 1em;
}
article.left_1 h3{
    font-size: 0.8em;
    font-style: italic;
}
article.right_1{
    grid-column: 1  / span 2;
    grid-row:  2;
    background: #eef5ec;
}

article.right_2{
    grid-column: 1  / span 2;
    grid-row:  3;
    background: #eef5ec;
}
article.left_2{
    grid-column: 1  / span 2;
    grid-row:  4;
    background:#eef5ec;
    color:#2a4a20; /*  new CI dark green, old: #41513B; var1 #2a4a20*/
    padding-top: 5px;
    padding-left: 20px;
}
article.left_2 h1{
    font-size: 1em;
}
article.left_2 h2{
    font-size: 1em;
}
article.left_2 h3{
    font-size: 0.8em;
    font-style: italic;
}
article.right_3{
    grid-column: 1  / span 2;
    grid-row:  5;
    background: #eef5ec;
}
article.right_4{
    grid-column: 1  / span 2;
    grid-row:  6;
    background: #eef5ec;
}

article.right_1a {
    grid-column: 1  / span 2;
    grid-row:  2;
    text-align: center;
    font-style: italic;
    font-size: 2em;
    font-family: serif;
   
    color: white;
	background: rgba(0, 0, 0, 0.2);
}
article.right_2a {
    grid-column: 1  / span 2;
    grid-row:  3;
    
    text-align: center;
    font-style: italic;
    font-size: 2em;
    font-family: serif;
   
    color: white;
	background: rgba(0, 0, 0, 0.2);
}
    
#mainpic{
    grid-column: 1/span 2;
     grid-row: 1;
    }
#mainpic img{
        width: 100%;
    
    }
div.flexbox article {
  width:100%;
}
#projecttext{display: none;}

#projecttext{
    grid-row: 2;
    }
#subtext{
    padding-top: 4em;
    grid-row: 4;
    }
.google-maps {
    grid-column: 1/span 4;
    position: relative;
    padding-bottom: 56.25%; 
    padding-top: 0px;
    margin-left:0em;
    margin-right: 1em;
    height: 0;  
    overflow: hidden;
}
       
/* ===== Footer ===== */
footer p{
   /* display: none;*/
    }

}
/* ===== END responsive style small viewports ===== */



