@import url("font.css");
@import url("nav.css");

/*Clearfix-Hack
display: flow-root; ist das neue clear: both;
oder
overflow: auto;
*/


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#txt {
  position: fixed;
  bottom: 0;
  padding: 0 10px;
  right: 0px;
  color: #000;
  background: #ccc;
  opacity: 0.7;
  -webkit-transition: opacity 0.7s;
  z-index: 1000;
}

div.anker {
  position: absolute;
  margin-top: -40px;
}

/* ************************* Global Styles ************************* */
h1, h2, h3, h4, h5, h6 {
	margin: 12px 0;
	color:#666; 
	line-height: 1.5em;
  letter-spacing: 2px;
}
h1 {
  font-family: 'Futura-Bold';
  font-size: 1.6em;
  text-transform: uppercase;
  line-height: 2em;
  color: green;
}
h2 {
  font-family: 'Futura-Bold';
  font-size: 1.5em;
  text-transform: uppercase;
  line-height: 1.8em;
  color: green;
}
h3 {font-size: 1.4em;}
h4 {font-size: 1.3em}
h5 {font-size: 1.2em}
h6 {font-size: 1em}
p {margin: 8px 0;}
ol {margin: 6px 0;}
ol li {line-height: 1.0em; border: 0; padding: 3px 0; margin: 0 0 0 22px;}
ul { margin: 6px 17px;}
ul li {line-height: 1.2em; border: 0; padding: 3px 0; margin: 0;}
hr {height: 2px; clear: both; color: #999; background-color: #999; border: 0; margin: 10px 0;}
blockquote {padding: 2px 0 2px 20px; border-left: 3px solid #999;}
a {	color:green;text-decoration:none;}
a:hover {color:#ff2121;text-decoration:none;}
img {border:0px;max-width: 100%;height: auto;}
a img {border:0px;}
input {cursor:pointer;} /*Für mobil Touch*/

/* ************************* Body ************************* */
html, body {
  height: 100%;
  border: 0 none;
}
body {
	background-color: #FFF;
	color: #333;
	font: normal 16px/1.5em 'Futura-Book', sans-serif;
  letter-spacing: 1px;
	overflow-x: hidden;
}


#TOP {
	font-size: 0.1px;
	height: 0;
	line-height: 0;
}


#header {
  background: url("images/schneckenputzer.png") no-repeat scroll top 40% center / 50% auto #33a456;
  border-bottom: 2px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  padding: 0 5%;
  text-transform: uppercase;
  z-index: 1;
}
#navi {
  display: table;
  background: rgba(255, 255, 255, 0) none repeat scroll 0 0;
  width: 100%;
}
#naviin {
  display: table-cell;
  vertical-align: bottom;
}
#naviin.fadeInDown.animated {
  background: #33a456;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}
#naviin .menu {
  margin: 0 0 0 auto;
}
#naviin.fadeInDown.animated .menu {
  margin: 0 auto;
}

#navicons {
  padding: 0 10px 0 0;
  text-align: right;
}
#navicons a {
  color: #ffef00;
  margin: 5px;
  font-size: 1.4em;
  width: 1.2em;
  display: inline-block;
}


/*search*/
.searcher {
  display: inline-block;
  margin: 5px;
}
#searchbox .text {
  box-sizing: border-box;
  height: 20px;
  border: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  width: 23px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  box-shadow: none;
  background: url("images/search-icon-gelb.png") no-repeat 0 0 / contain;
  color: #555;
  padding: 0 0 0 23px;
  margin: 5px 0 0 10px;
}
#searchbox .text:focus {
  width: 150px;
  border: 1px solid #eee;
  background-color: #fff;
  box-shadow: none;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  color: #444;
  font-weight: 300;
  padding: 0 0 0 25px;
}
#searchbox input.submit {
    display:none;
}
#navicons .langMenu {
  display: inline-block;
  margin: 5px;
}
#navicons .langMenu a {
  margin: 0;
  width: 20px;
  vertical-align: sub;
}


.logo {
  width: 200px;
  display: table-cell;
}
.logo img {
  width: 100%;
  height: auto;
}

#picshow {
  position: relative;
}

.laufbanner {
    position: absolute;
    background: rgba(255, 255, 255, 0.50) none repeat scroll 0 0;
    width: 100%;
    bottom: 10px;
    padding: 0 30px;
}
.newsscroller-entry-title {
	font-weight: bold;
}

#content {
	width: 100%;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  /*background: #fff url("images/logohi.jpg") no-repeat fixed center center / 50% auto;*/
}
#content .content_main h1, h2, h3 {
  border-bottom: 1px solid #ccc;
}
.content_main {
  margin: 0 auto;
  min-height: calc(100vh - 40px);
}
.content_main .flexboxin {
  margin: 20px;
}
.content_navi {
  text-align: center;
  padding: 4px 0;
  background: #f2f2f2;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.9);
  position: relative;
}
div.pt-page {
  padding: 1em 10%;
}
.story .pt-page {
  box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.9);
}
section.story .pt-page {
  min-height: auto;
}
section.story:nth-child(2n) .pt-page {
  background: #eee none repeat scroll 0 0;
}
div.pt-page:nth-child(2n) {
  background: rgba(255,255,255, 0.9) none repeat scroll 0 0;
}
div.pt-page:nth-child(4n) {
  background: rgba(230,230,230, 0.9) none repeat scroll 0 0;
}

/* ************************* News ************************* */
[id^=newsblock i] > .news-entry {
  padding: 10px 20px;
  border-radius: 10px;
  background: #FFF;
}
.contfooterin .newsXH {
  display: flex;
  flex-wrap: wrap;
}
.contfooterin .newsXH > .news-entry{
  margin: 15px;
  background: #eee;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 300px;
}


/* ************************* Footer - Copyright & Login ************************* */
#contfooter {
  display: inline-block;
  background: #fff url("images/logohi.jpg") no-repeat scroll center bottom / 45% auto;
  text-align: center;
  width: 100%;
}
.contfooterin {
  margin: 0 10%;
}
.contfooterin  h3 {
  text-transform: uppercase;
  font-size: 2em;
}

#footer {
	background-color: #c2e3bd;
	border-top: 0px solid #FFF;
	color: green;
	width: 100%;
}
#footer .flexbox {
  padding: 30px;
}
#footer .flexboxin {
  margin: 10px 20px;
}
.tpllck_copyright {
	clear: both;
  background: #373E46;
	font-size: 0.8em;
	line-height: 2em;
	padding: 10px 0;
	text-align: center;
	vertical-align: middle;
	width: 100%;
  border-top: green 2px solid;
}
.tpllck_copyright a {
	color: white;
	text-decoration: none;
	padding: 2px 4px;
}
.tpllck_copyright a:hover {
	color: #fff;
}
#footer h4, #footer h5, #footer h6 {
    color: #bbb;
}


/* ************************* Admin-Login ************************* */
.xh_login {
	height: 20em;
	margin: 7em 0 0;
	text-align: center;
}
#login #submit {
	padding: 0 20px;
}

/* ************************* "xh_captcha_code - Button" CMSimple_XH Mailform ************************* */
.xh_captcha_input {
	font-size: 1em;
}
.xh_captcha_code {
	background-color: #E6922C;
}


/* ************************* RESPONSIVE STYLE - The Rest ************************* */
/*********** onepage_toplink *********/

.toplink {
	display: block;
  font-size: 2em;
}


/* Back-end. */
.onepage_logo {
  float: left;
  width: 128px;
  height: 128px;
  margin: 0.5em 1em 0 0;
}

/*
http://the-echoplex.net/flexyboxes
http://webkrauts.de/artikel/2012/css3-flexbox-abloesung-fuer-float-layouts
*/
.flexbox {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.flexboxin {
  -webkit-flex: 1 1 350px;
  -moz-flex: 1 1 350px;
  -ms-flex: 1 1 350px;
  flex: 1 1 350px;
  text-align: center;
}
.flexboxin.inh {
  background: antiquewhite;
  text-align: center;
  border-radius: 10px;
  padding: 0px 10px;
}
.flexboxin.inhre {
  background: antiquewhite;
  text-align: left;
  border-radius: 10px;
  padding: 15px;
}
.flexboxin.inhre ul {
  margin: 6px 8px;
  list-style: none;
}
.flexboxin.inhre li {
  padding: 4px 0;
  display: flex;
}
.flexboxin.inhre li::before {
  content: "☑";
  font-size: 1.5em;
  margin: 0 10px 0 0px;
}
.flexboxin p {
  margin: 8px;
}

.mybutton {
	background-color: #33A456;
	border: none;
	border-radius: 8px;
	display: block;
	max-width: 320px;
	color: #ffb100;
	font-size: 1.4em;
	margin: 0 auto;
	padding: 20px 30px;
	text-align: center;
	text-transform: uppercase;
  text-decoration: none;
}
.mybutton:visited {
	color: #ffb100;
}
.mybutton:focus {
	color: #ffb100;
}
.mybutton:hover {
	color: black;
	background-color: #ffb100;
}

.bandhi {
	background: lightgray;
  text-align: center;
  padding: 20px 0;
  margin: 0 -13%;
}

/*LOGIN*/
body.xh_login {
	background: rgba(0, 0, 0, 0.1) url(images/iseye-hi.png) no-repeat fixed center center / contain;
}

@media screen and (max-width: 1980px) {
  #header {
    background: url("images/schneckenputzer.png") no-repeat scroll top 40% right 10% / 70% auto #33a456;
  }
}

@media screen and (min-width: 961px) {
  .tpllck_toplink {
    display: none;
  }
}

@media screen and (max-width: 960px) {
  div.pt-page {
    font-size: 0.9em;
    padding: 1em 3%;
  }
  .toplink {
    display: none;
  }

  .tpllck_toplink {
    display: block;
  }
  .tpllck_toplink a:hover {
    background-color: rgba(0, 0, 0, 0);
  }
  #navi {
    padding: 0;
  }
  #header.fadeInDown.animated .logo {
    display: none;
  }
  #header.fadeInDown.animated #navicons {
    display: none;
  }
  #header.fadeInDown.animated #navi {
    display: block;
  }
}