/* css released under Creative Commons License -  http://creativecommons.org/licenses/by/2.0/deed.en  */
/* html5 + CSS 3 Template created by miss monorom  http://intensivstation.ch 2013 */

/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* render html5 elements as block 
   rendert html5 elemente als block  */
header, footer, section, aside, nav, article { display: block;}
html {height: 101%;}
body { font-size: 0.875em; font-family: Arial, Helvetica, sans-serif; color:#574a44; 
background-color: #f1f1f1}

pre, code {
  font-size: 1.0em;
}

/*Schrift */
@font-face {
    font-family: 'cardobold';
    src: url('fonts/cardob101-webfont.eot');
    src: url('fonts/cardob101-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/cardob101-webfont.woff') format('woff'),
         url('fonts/cardob101-webfont.ttf') format('truetype'),
         url('fonts/cardob101-webfont.svg#cardobold') format('svg');
    font-weight: normal;
    font-style: normal;
}
		
a {
  font-weight: bold;
  color: #574a44;
  }
a:visited {color:#574a44; font-weight: bold;}
a:hover {color: #99cc33; font-weight: bold;}
a:active { color:#000000; font-weight: bold;}

h1 {
  font-size:1.375em;
  font-weight: bold;
  margin: 0 0 10px;
}
h2 {
  font-size:0.875em;
  font-weight: bold;
  display:inline;
  margin: 0;
} 
h3 {
  font-size:1.375em;
  font-weight: normal;
  margin: 0 0 10px;
}

img{
  border:none;
  max-width: 100%;}

ul{
  list-style-type:none;
}

/* ----------container zentriert das layout-------------- */
#container, footer .inner {
  max-width: 1130px;
  min-width: 320px;
  margin:0  auto;
}


/* ----------header for logo und spacer-------------- */
#top:after{
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 

#top header{
  padding:20px;
  margin-left: 150px;
  float:left;
  width:30%;
}

header p{
  text-transform:uppercase;
  font-size:0.875em;
}
header img{ 
  border:0;
  padding: 0 0 10px;
}  
.mini, .menubutton{
  display:none;
}

.menubutton a {
  cursor:pointer;
}
 
/* new nav ----------- */
nav{
  padding:0 20px 0 0;
  float:right;
  width:98%;
} 
nav ul:after {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 
nav ul {
  list-style-type: none;
  float:right;
}   
nav li {
  float: left;
  margin: 0 2px 0 0;
  font-family: 'cardobold';
  font-size: 0.875em;
}
nav a, nav a:visited {
  background-color: #574a44;
  color: #edebe6;
  display: block;
  padding: 5px 20px;
  text-decoration: none;
  transition: all 0.5s linear 0s;
  border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px; /* Firefox */
  -webkit-border-radius: 0 0 10px 10px; /* Safari and Chrome */
  border-radius: 0 0 10px 10px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
  -moz-transition:all 0.5s linear;    
  -webkit-transition:all 0.5s linear;   
  box-shadow: 0 1px 3px rgba(255,255,255,0.3) ;
  behavior: url(ie-css3.htc); /* This lets IE know to call the script on all elements which get the 'box' class */
}

nav a:hover {
  color:#99cc33;
  background-color: rgba(237,235,230,0.7) ;
  padding:80px 20px 0;
}
nav a:active { color:#000000;}
nav a.selected {
  color:#fff;
  background-color: rgba(153,204,51,1.0) ; 
  padding:80px 20px 0;
} 

/* ----------------- content--------------------- */

section:before {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
}

section#content {
  float: left;
  width: 84.95575221238938%;
  height: auto;
}

section#content.start {
  background-image:url(img/hg-content-start.png);
  background-repeat:no-repeat; 
  background-size: contain;   
}
section#content.arbeitsweise {
  background-image:url(img/hg-content-arbeitsweise.png);
  background-repeat:no-repeat; 
  background-size: contain;   
}
section#content.angebot {
  background-image:url(img/hg-content-angebot.png);
  background-repeat:no-repeat;  
  background-size: contain;  
}
section#content.vita {
  background-image:url(img/hg-content-vita.png);
  background-repeat:no-repeat; 
  background-size: contain;   
}
section#content.psychotherapie {
  background-image:url(img/hg-content-psychotherapie.png);
  background-repeat:no-repeat;
  background-size: contain;    
}
section#content.kontakt {
  background-image:url(img/hg-content-kontakt.png);
  background-repeat:no-repeat;
  background-size: contain;    
}
section#content.impressum {
  background-image:url(img/hg-content-impressum.png);
  background-repeat:no-repeat; 
  background-size: contain;   
}
section#content.kundenstimmen {
  background-image:url(img/hg-content-kundenstimmen.png);
  background-repeat:no-repeat;  
  background-size: contain;  
}

p, pre{
  padding:  0 0 20px;
  line-height:1.5em;
}

ul{
  list-style-type:none;
  line-height:1.5em;
}

ul.text{
  list-style-type:disc; 
  padding-left:20px;
 }

#text {
  float:left;
  padding:0;
  width: 68%;
  min-width: 320px;
  background-color: #fff;
  min-height:350px;
  box-shadow: 1px 1px 3px #aaa;
  margin-left: 150px;
  border-radius:20px;
}

article {
  padding:20px;
}
  
article footer{
  border-top: 1px solid #99cc33;
  color:#99cc33;
  font-weight: normal;
  font-size:1em;
  padding:0 0 20px;
}
  
article footer a {
  color:#99cc33;
  font-weight: bold;
  font-size:0.875em;
  text-decoration:none;
}
article footer a:hover {
  background-color: #574a44;
  color:#99cc33;

}


/* -------------- side infos ------------- 

aside {
  padding:20px;
  width: 280px;
  float:right;
  background-image:url(img/hg-kreise-2x.png);
  background-repeat:no-repeat;
}
*/

.gelb, a.gelb	{ 
  color:#ffcc00;
  text-decoration:none;  
}
.lila, a.lila	{ 
  color:#82217a;
  font-size: 20px;
  text-decoration:none;  
}




.gruen, a.gruen	{ 
  color:#99cc33;
  text-decoration:none;  
}

h1 a:hover {
  color:#82217a;
  text-decoration:underline;
}

table.table td{
  background-color:#f1f1f1}

/* -----------footer---------------------- 
footer.footer {
  padding: 20px;
  clear:both;
  background-color:rgba(237,235,230,0.7) ;
}

footer a, footer a:visited {
  color: #000; text-decoration:none;
  font-size:0.875em;
}

.footer-segment {
  display: inline-block;
  vertical-align: top;
  width: 33%;
}
.inner{ padding:20px;}
*/


/* -------------------- Media Queries -------------------- */

@media only screen and (max-width: 860px) { 
 #top header, nav {
    float:none;
    width:100%;
  }
  nav {
    padding:0;
  } 
  nav ul {
    float:none;
  }
  nav li {
    float: left;
    margin: 0;
    width:auto;
	font-size: 80%;

  } 
  nav a:hover, nav a.selected  {
    padding: 5px 20px;
  }
  nav a, nav a:visited, section#content, aside {
    border-radius: 0;
  }
  
  .inner{ padding:0; }

}


@media only screen and (max-width: 768px) { 

  #top header, nav {
    float:none;
    width:100%;
  }
  
  section#content {
    background-color: #f1f1f1;
    float: none;
    width: 100%;
    padding: 20px;
    margin: 0;
  }
  
  section#content.start {
  background-image:none;   
  }
  section#content.arbeitsweise {
  background-image:none;   
  }
section#content.angebot {
  background-image:none;   
  }
section#content.vita {
  background-image:none;   
  }
section#content.psychotherapie {
  background-image:none;   
  }
section#content.kontakt {
  background-image:none;   
  }
section#content.impressum {
  background-image:none;   
  }
section#content.kundenstimmen {
  background-image:none;   
  }
  
  #text {margin:0}

  .footer-segment {
    display: inline-block;
    vertical-align: top;
    width: 49%;
    padding: 0 0 20px;
  }
  .footer-segment:last-child {
    border-top:1px solid #999;
    display: block;
    width: 100%;
    padding:20px 0 0 ;
  }

}



@media only screen and (max-width: 480px) { 
  body { }

  nav li {
    float: none;
    margin: 0;
    width:100%;
    display:block;
	font-size: 0.650em;

  } 
  nav a {
    font-size:1.2em;
    position:relative;
  }    
  nav a:not(.selected):after {
    content:'»';
    position:absolute;
    right:10px;
  }
  
  .menubutton {
    display:block;
    position:absolute;
    right:20px;
    top:10px;
    z-index: 400;
  }
  
  .mini {
    display:block;
    /* 20% space rechts fuer .menubutton: */
    width: 50%;
  }  
  .maxi {
    display:none;
  }

  footer.footer {
    padding: 0;
  }

  .footer-segment, .footer-segment:last-child {
    display: block;
    vertical-align: top;
    width: 100%;
    border-bottom:1px solid #999;
    padding:20px;
  }

}