/* Stylesheet für Selfhtml Design 04 
  responsives Layout mit Flexbox ab Z. 262   */

/* ====================================================   GLOBAL DEFINITION   ==================================================== */

/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 

} 

*, ::before, ::after { 
  box-sizing: inherit; 
}

body {ANg
    max-width: 75em;
    margin: 0 auto; 
	padding: 0 .5em;
    font: normal 1em Arial, sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
	color: #555;
    background: #005478;
   
	position:relative;
}

/* ===== header ===== */

header.banner {
        background: #ebebeb; 
      	padding: .5em .5em;
	box-shadow: 0 0 10px rgba(0,0,0,0);
	border-radius: 0 0 0 0;
}

#logo {
	margin: 22px 0 0 1%;
	color: #2a4aa8;
	font-size:1em;
/*      font-style:solid; */
	font-weight:normal;
	text-decoration: none;

}

header a#navlink {
	display: block;
	float: right;
	color: #0ba1e2;
	text-decoration: none;
	font-size: 2em;
	font-weight: bold;
padding: 0em .25em;

}
		
/* ===== content / Inhalt ===== */
	
main {
	padding: .5em ;
	background: #ebebeb;
/*background-image: url(bg.jpg);*/
	box-shadow: 0 0 10px rgba(0,0,0,0);
	border-radius: 0em; 
 color: #005478; 
}



a {
	color: #005478; 
}

a:hover,
a:focus {
	background: rgba(168,175,179,0.3);
	color: #545557;
}

a.button{
	/*background: #40464d;*/
	font-weight: solid;
	box-shadow: 0 0 0px #0e2773 inset, 0 0px 0px rgba(0,0,0,0.2);
	color: #2b3437;
	padding: 0em;
	border-radius: 0em;
	text-decoration: none;	
}
a.button:hover,
a.button:focus {
	background: #005478;

}

h1 {
padding: 0.5em 0.5em;	
}
h2 {
padding: 0 0.5em;	
}
h1 span,
.akzentfarbe1 {
	color: #242529;
}

h1 a:hover span {
    color: #1e40a6;
}

.akzentfarbe2 {
	color: orange;
}
.akzentfarbe3 {
	color: #0ba1e2;
}
.akzentfarbe4 {
	color: #005478;
}



h3 {
padding: 0em 0.5em;	
}

h4 {
padding: 0em 0.5em;	
}

p {
padding: 0em 0.5em;	
}

text {
	letter-spacing: -0.15em;
}
.supervision {

/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */

	/*background-image: url(../img/supervision_gr.jpg); opacity: 1;*/
	
	background: #6c98b8;
	
}
.coaching {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	
	background: #639880;
	
}

.weiterbildung {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	
	background: #de816c;
	
}
.methoden {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	
	background-image: url (../img/methoden_gr.jpg);
     background:#f1ca79;

}.angebot {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	
	background-image: url (../img/methoden_gr.jpg);
     background:#0ba1e2;

}
.familien {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	/*background: #b87d82;*/
	background-image: url(../img/familien.jpg);
	

	background: #b57a92;
}
.kontakt {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
/*	background: #66b6d9;
*/
	
}

.transaktionsanalyse {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	

	background:#4dc1eb;
}	
.psychodrama {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	

	background:#eb9f4d;
	
}
.aufstellungen {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	

	background:#ba91a0;
	
}
.syst_beratung {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	

	background:#4cb0ac;
	
}
.impressum {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	

	background:#66b6d9;
	
}

.hdi {
/*	box-shadow:  0 0 90px rgba(255,255,255,0.80) inset, 0 30px 0px rgba(0,0,0,0.0);*/
	position: relative;
color: (black);
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	
/*background: linear-gradient(42deg, #0d7ffa, #fa0d0d);*/
background: linear-gradient(90deg, #607c94, #607c94, #607c94, #d9d434, #d9d434, #6bbf7c, #6bbf7c, #de3a31, #de3a31, #de3a31); 

	/*background:#b9bbbd;*/
	
}
.grid {
	position: relative;
color: (black);
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	
/*background: linear-gradient(42deg, #0d7ffa, #fa0d0d);*/

	/*background:#b9bbbd;*/
	
}


/*Transparenz opacity */
.o0 {
	opacity: 0;
}

.o2 {
	opacity: 0.2;
}

.o4 {
	opacity: 0.4;
}

.o6 {
	opacity: 0.6;
}

.o8 {
	opacity: 0.8;
}

.o10 {
	opacity: 1;
}






article, 
font{

	padding: 0.5em 1em;
} 



section p {
	padding: 0.5em 1em;
        color: #005478;
}
section div {
	padding: 0.5em 1em;
}

section p:first-of-type {
	font-weight:solid;

	color: #005478;
}

section h1 {
	
        color: #2e282e;

}

aside,
section {
box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	/*box-shadow: 0 0 80px rgba(0,0,0,0.40) inset, 0 3px 0px rgba(0,0,0,0.0)*/;
	/*background-image: url(../img/bg.jpg);*/
	border-radius: 0em;
	position: relative;
color: #005478;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */


}



aside h2,
section h2 {
	color: #005478;
	padding: .5em;
	margin: 0;
	/*background: rgba(120,126,143,0.95);*/
	/*background: #005478;*/
	border-radius: 0em;
	box-shadow: 0 0px 0 #2e282e;
}

section p {
	padding: 0.5em 1em;
        color: #005478;
	
}

section p:first-of-type {
	font-weight:solid;
	color: #005478;
}

section img {
  width: calc(100% - 1em);
  margin: 0.5em 0.5em 1.5em;
}

aside {
}

section a.button {			
	position: absolute;	/* So werden Buttons immer an der gleichen Stelle, unabhängig vom vorhandenen Inhalt, positioniert */
	right: 1em;
	bottom: 1em;
}

form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:.5em; 
	padding: 1em; 
}

form input {
	background: #555;
	border-radius: 0px;
	border: none;
	color: #fff;
	padding: 0.75em 0.75em 0.75em 2.5em;
	font-weight: bold;
}

form#search{ 
	position:relative;
}	

form#search input {
	width: 15em;
	margin: 0 1em;
}		

#search i {
	position: absolute;
	top: 1.2em;
	left: 1.75em;
	color: #bebebe;
}

section ul {
	margin: 1em 0 0 1em;
}
		
section li {
	font-weight: solid;
	margin: 0.5em 0 1em 2em;
}
section li i {
	color: #101214; 
}

dl.grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr);
  padding: 0.5em;
}
dd { 
  margin: 0; 
  padding-left: 1em; 
}
dl.grid dd {
  margin-bottom: 1em;
}

a[href^="tel"] { white-space: nowrap; }

/* ===== Navigation ===== */

#navigation li {
	display: block;
	list-style: none;
	margin-right: .5em; border: thin solid #005478;
	width: 90%;
}

#navigation a {
	display: block; 
	text-decoration: none;
	padding: 0.5em 1em;
	background-color: #0ba1e2;
	border-radius: 0em 0em 0 0;	
}

#navigation a[aria-current=page] {
	font-weight:bold;
    background: linear-gradient(#0ba1e2, #ebebeb);
}

#navigation a:hover,
#navigation a:focus, 
#navigation a:active  {
	color: #005478;
	font-weight:bold;
    background: linear-gradient(#ebebeb, #0ba1e2);	   
}		

/* ===== Footer ===== */
	
#social {
	float: left;
}

#social li {
	margin: 0 20px 0 0;
	display:inline-block;;
}
	
#fb {
	background: url("../img/fb.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#twitter {
	background: url("../img/twitter.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#yt {
	background: url("../img/yt.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
footer #copyright {
	float: right;
}

/* ===== responsives Layout ===== */

/* Mobile first! 1-Spaltenlayout  */


/* 2-Spaltenlayout, sobald der Platz es erlaubt  */

@media only screen and (min-width: 40em) {
  main {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:1em;
	position: relative;
	margin: 3em auto 1em;
  }
  
  article {
	grid-column: span 2;
  }
  
  header a#navlink {
	display: none;
  }

  #navigation  {
    position: absolute;
    top: -3em;
  }
  
  #navigation li {
	display: inline-block;
	width: auto;
}

#navigation a {
	display: inline-block; 
}

/* 3-Spaltenlayout, sobald der Platz es erlaubt  */
@media only screen and (min-width: 60em) {
  main {
	grid-template-columns: repeat(3, 1fr);
  }

	main header,
	main footer {
	  grid-column: span 3;
	}

	article{
	  grid-column: span 3;		
	}
}

/* Flexbox Fallback wenn der  Browser kein display:grid unterstützt. */
@supports not (display: grid) {
  main {
    display: flex;
    flex-flow: row wrap;
  }

main > * {
  flex: 1 100%;      /* Alle Elemente werden über die volle Breite dargestellt */
} 

article {
  flex: 1 64%;      
  margin: 1%;
}
section,
aside {
  flex: 1 31%;      /* Diese Elemente erhalten eine Breite von 1/3.  */
  margin: 1%;
}
}
