@charset "UTF-8";
/* CSS Document */

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.typewriter {
	font-family: 'Computer Modern Typewriter';
}
tt, pre {
	font-family: 'Computer Modern Typewriter';
}
html {
  font-size: 100%;
}
html, body {
  margin: 0;
  padding: 0;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
}
body {
  /*font-family: 'Roboto', sans-serif;*/
  font-family: 'Sofia Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  font-size: 1rem;
  line-height: 20px;
  line-height: 1.5rem;
  padding: 0;
  margin: 0;
  background-color: #006bbd; /*#c1afa8*/
  background-color: #608ea5; /*#c1afa8*/
  color: #2a3f44;
  background-color: #4896ae;
}
/*
layout
*/
.container {
  padding: 20px;
}
header {margin-bottom:20px;}
/*
--------------------------------------------- menubutton
*/
#menu {
  position: relative;
}
#titelbox .menubutton {
  position: absolute;
  right: 40px;
  top: 38px;
}
#titelbox .menubutton a {
  display: inline-block;
}
#titelbox .menubutton a::before {
  display: block;
  content: url("burger-fein.svg");
  width: 16px;
  height: auto;
}
#titelbox .menubutton a {
  display: block;
}
nav {
  height: auto;
	max-height:0;
  overflow: hidden;
  
  transition: max-height .25s ease-in-out;
  
}
nav.offen {
  max-height:1000px;
	margin-bottom:20px;
}
/*
--------------------------------------------typo
*/
h1 {
  font-family: 'Sofia Sans Condensed', sans-serif;
  font-weight: 800;
  font-size: 24px;
  font-size: 2rem;
  line-height: 36px;
  line-height: 2.25rem;
  letter-spacing: 1px;
  text-align: center;
  padding: 0;
  margin: 1rem 0;
  color: #41575f;
  color: #2a3f44;
}
h2 {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 24px;
  line-height: 1.5rem;
  letter-spacing: 1px;
  font-weight: normal;
  color: #000;
  margin: 1rem 0;
}
#infobox a:link, #absender a:link {
  color: #7fb5cc;
  text-decoration: none;
}
#infobox a:visited, #absender a:visited {
  text-decoration: none;
  color: #7fb5cc;
}
#infobox a:hover, #absender a:hover {
  color: #fff;
}
#infobox a:active, #absender a:active {
  color: #fff;
}
/*
links hauptbox
*/
#hauptbox a:link, #hauptbox a:visited {
  color: #FFF;
  text-decoration: underline;
}
#hauptbox a:hover, #hauptbox a:active {
  color: #000;
}
footer a:link,footer a:visited {
  color: #FFF;
  text-decoration: underline;
}
footer a:hover, footer a:active {
  color: #000;
}

/*
links hauptbox h1 
*/
#hauptbox h1 a:link, #hauptbox h1 a:visited {
  color: #fff;
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: normal;
}
#hauptbox h1 a:hover, #hauptbox h1 a:active {
  color: #000;
  font-weight: normal;
}
/*
navi layout
*/
#titelbox li {
  list-style-type: none;
}
#titelbox li a {
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  font-weight: 400;
  letter-spacing: 1px;
  color: #84bed3;
  color: #fff;
}
.menu ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
.menu li {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
.menu ul ul {
  padding-left: 20px;
}
.menu a:link, .menu a:visited {
  font-size: 16px;
  font-size: 1rem;
  line-height: 20px;
  line-height: 1.25rem;
  letter-spacing: 1px;
  padding: 0 0 10px 0;
  display: block;
  text-decoration: none;
  color: #84bed3; /* #7fb5cc #84bed3 */
}
.menu a:hover, .menu a:active, .menu li.menu-current a {
  color: #fff;
}
#titelbox .menu a:link {
  color: #FFF;
}
#titelbox .menu a:visited {
  color: #FFF;
}
#titelbox .menu a:hover {
  color: #8edf61;
}
#titelbox .menu a:active {
  color: #8edf61;
}
#titelbox ul {
  background-color: #375059;
  padding: 20px;
  padding-right: 100px;
  margin: 0;
}
.menu ul {
  background-color: #375059;
  padding: 20px;
}
#hauptbox {
  background-color: #71bacb;
  padding: 20px;
} /*#5da5b6  #8cafb2 #7fb5cc #74b5cb*/
#infobox {
  background-color: #41575f;
  padding: 20px;
}
footer {
  background-color: #ca4848;
  color: #fff;
  padding: 20px;
  margin-top: 20px;
} /* #ca4848  #b44949 */
/*
--------------------------------------------------------------------------------  sprachwahl
*/
/*
#sprachwahl {
  display: inline-block;
	display: block;
	color:#fff;
}
*/
#sprachwahl ul {
  /*position: absolute;  --------------------------------------------------------------------------------  mai26*/ 
  top: 42px;
  right: 90px;
  background-color: #71bacb;
  background-color: transparent;	
	/*background-color:#c5b2a6; /* --------------------------------------------------------------------------------  mai26*/ 
  padding: 20px;
  padding: 0;
	 padding-left: 20px;/* --------------------------------------------------------------------------------  mai26*/
}
@media only screen and (max-width: 340px) {
  #sprachwahl ul {
    top: 66px;
    right: 39px;
  }
}
/*
#sprachwahl #langmenu a {
  font-size: 16px;
  padding: 20px;
}
*/
#sprachwahl.menu ul li a:link, 
#sprachwahl.menu ul li a:visited {
  color: #c5b2a6;
	color: white;/* --------------------------------------------------------------------------------  mai26*/
}
#langmenu {
	padding:16px 16px 16px 20px;
}
#langmenu span {
	padding-right:16px;
	display:inline-block;
}
#langmenu a:link {
  color: #493429; /*#493429  #825d49; */
	display:inline-block;
}
#langmenu a:visited {
	 color: #493429;
}
.spacer_sprachmenu_768-1024 {
  display: none;
}
/*
jquery toggle class offen
*/
#sprachwahl-inhalt {
  height:auto;
	max-height:0;
  overflow: hidden;
  background-color: #c5b2a6; /*c5b2a6  825d49*/
	margin-bottom:0px;
 /* transition: margin-bottom .25s .25s ease-in-out, max-height .25s ease-in-out;*/
	transition: .25s;
	
}
#sprachwahl-inhalt.offen {
	max-height:500px;
  overflow: auto;
	margin-bottom:20px;
}
#sprachwahl-inhalt a {
  color: #825d49;
}
#hauptbox img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0 none;
  padding: 0;
  margin: 0;
}
#mod_bakery_wrapper_f img {
  width: auto;
}
#hauptbox p {
  margin: 1.5rem 0;
  text-align: justify;
}
/*#hauptbox p + p {
	margin-top:20px;
	}*/
#hauptbox ul {
  margin: 0px 20px 20px 20px;
  padding: 0;
}
#hauptbox li {
  margin: 0;
  padding: 0 0 8px 16px;
  list-style-type: none;
  background-image: url(img/listenpunkt.png);
  background-repeat: no-repeat;
  background-position: 2px 7px;
}
aside {
  /*
	font-size:13px;
	font-size:.8125rem;
	line-height: 16px;
	line-height: 1rem;
	*/
  display: block;
  margin-top: 20px;
}
#infobox {
  text-align: right;
}
footer {
  /*font-size:13px;
	font-size:.8125rem;
	line-height: 16px;
	line-height: 1rem;
	*/
 } /*

/*
-------------------------------------------------------------- @media 768px
*/
/*iPad Portrait*/
@media only screen and (min-width: 768px) {
	.container {
		padding-top: 40px;
	}
	header {
		margin-bottom:0;
		margin-bottom:20px;
	}
  nav {
	  display:block;
    height: auto;
	  max-height:1000px;
	  margin-top:0;
  }
  .menubutton {
    display: none;
  }
  #hauptbox {
    margin-top: 0;
  }
	#sprachwahl.menu ul {
		padding-left:0;
	}
  #sprachwahl.menu ul li a:link, #sprachwahl.menu ul li a:visited {
	padding:16px;
	  color:#493429;
	}
  
  #langmenu a {
	  display:inline-block;
	}
	header {
		grid-area: header;
	}
  #titelbox {
    grid-area: header;
  }
  #sprachwahl {
    grid-area: sprachwahl;
  }
  #sprachwahl-inhalt {
    grid-area: sprachwahl-inhalt;
  }	
  nav {
    grid-area: nav;
  }
  article {
    grid-area: article;
  }
  aside {
    grid-area: aside;
  }
  footer {
    grid-area: footer;
  }
  .container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 180px 1fr;
	  grid-template-columns: 180px 60px 1fr;
	  grid-template-columns: 180px 1fr;
	  
    grid-template-rows: auto;
    grid-template-areas:
      "header sprachwahl"
      "nav article"
      "nav aside"
      "footer footer";
	  
	  grid-template-areas:
      "header header sprachwahl"
      "nav article article"
      "nav aside aside"
      "footer footer footer";
	  
	  grid-template-areas:
      "header . sprachwahl "
      "nav     sprachwahl-inhalt  sprachwahl-inhalt"
	  "nav    article     article"
      "nav     aside       aside"
      "footer  footer      footer";
	  
	  grid-template-areas:
      "header  sprachwahl "
      "nav     sprachwahl-inhalt"
	  "nav    article"
      "nav      aside"
      "footer   footer";
	  
   /* grid-row-gap: 20px;*/
	  /*grid-template-rows: auto 5px auto 10px auto ; */
    grid-column-gap: 20px;
  }
	footer table {
	width:100%;
		border:0;
	}
	footer td {
	/*	display:grid;
		grid-template-columns:1fr 1fr 1fr;
		*/
	 
		vertical-align: top;
		width:33%;
		}
		
  .container {
    position: relative;
  }
  article, aside, footer {
    margin-bottom: 0px;
  }
  #menu:target nav {
    margin-bottom: 0;
  }
  #infobox {
    text-align: right;
  }
  aside {
    align-self: end;
  }
  header {
    /*position:relative;*/
  }
  #sprachwahl {
    align-self: end;
    justify-self: end;
    position: relative;
	  margin-bottom:20px;
  }
  #sprachwahl.menu ul {
    position: static;
    background-color: #c5b2a6;/*#c5b2a6   #71bacb*/
  }
	#sprachwahl.menu ul a {
		padding:16px;	
	}
  #sprachwahl-inhalt {
    height: auto;
	  max-height:0;
    overflow: hidden;
    position: static;
    width: auto;
	  margin-bottom:0;
  }
  #sprachwahl-inhalt.offen {
   max-height: 500px;
	margin-bottom:20px;
	  margin-top:0;
  }
  .spacer_sprachmenu_768-1024 {
    display: none;
    height: 20px;
    background-color: #4896ae;
    margin: -12px -16px;
  }
}

  /*
-------------------------------------------------------------- @media 1024px
*/
  @media only screen and (min-width: 1024px) {
    .container {
      max-width: 1480px;
      display: grid;
      grid-template-columns: 240px 1fr 400px;
      grid-template-columns: 1fr 4fr 2fr;
      grid-template-columns: 2fr 6fr 2fr;
      grid-template-rows: auto;
      grid-template-areas:
        "header . . "
        "nav article sprachwahl"
        "nav article aside"
        "footer footer footer";
    
	  grid-template-areas:
      "header . . "
	  "nav     sprachwahl-inhalt  sprachwahl"
	  "nav     article            aside"
	  "footer  footer             footer";
	}
    #infobox {
      text-align: left;
    }
    .menu a:link, #titelbox a:link, #sprachwahl-inhalt a:link {
      font-size: 1.125rem;
      line-height: 1.5rem;
      /*font-size: 1.5rem;
    line-height: 2.25rem;*/
    }
    #hauptbox {
      padding: 40px;
      font-size: 1.125rem;
      line-height: 1.5rem;
      font-size: 1.5rem;
      line-height: 2.25rem;
    }
    #hauptbox h1 {
      font-size: 3rem;
      line-height: 3.5rem;
    }
    aside {
      position: relative;
    }
    #sprachwahl {
      align-self: start;
      justify-self: start;
		position: absolute;
	}
	  #langmenu { 
		  padding:16px 16px 16px 40px;
	  }
}