@import url("nav.css");

*, *::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.8;
  -webkit-transition: opacity 0.7s;
  z-index: 1000;
}

/* ************************* Global Styles ************************* */
h1, h2, h3, h4, h5, h6 {
  padding: 10px 0;
  color:#444;
  font-weight: normal;
  letter-spacing: 2px;
}
h1 {
  background: #e5e5e5 none repeat scroll 0 0;
  color: #c40000;
  font-size: 1.5em;
  padding: 15px;
  margin: 0 -13%;
  text-align: center;
}
#tinymce h1, .xhadmin h1, #tinymce h2, .xhadmin h2  {
  margin: 0;
  line-height: normal;
  text-align: center;
}
h2 {
  background: #b4b4b4 none repeat scroll 0 0;
  color: #fff;
  font-size: 1.3em;
  padding: 5px 0;
  letter-spacing: 1px;
  margin: 0 -7%;
  text-align: center;
}
h3 {font-size: 1.2em;}
h4 {font-size: 1.1em}
h5 {font-size: 1em}
h6 {font-size: 0.8em}
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;}
p {margin: 8px 0;}
a {	color:#c40000;text-decoration:none;}
a:hover {color:#ce0000;text-decoration:none;}
img {border:0px;}
a img {border:0px;}
input {cursor:pointer;} /*Für mobil Touch*/
input[type=submit], button[type=submit], input[type=button] {
  border : solid 1px #000000;
  border-radius : 3px;
  moz-border-radius : 3px;
  font-size : 14px;
  color : #ffffff;
  margin: 5px 2px;
  padding: 5px 20px;
  background : #5f6166;
  background : -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5f6166), color-stop(100%,#00060a));
  background : -moz-linear-gradient(top, #5f6166 0%, #00060a 100%);
  background : -webkit-linear-gradient(top, #5f6166 0%, #00060a 100%);
  background : -o-linear-gradient(top, #5f6166 0%, #00060a 100%);
  background : -ms-linear-gradient(top, #5f6166 0%, #00060a 100%);
  background : linear-gradient(top, #5f6166 0%, #00060a 100%);
  filter : progid:DXImageTransform.Microsoft.gradient( startColorstr='#5f6166', endColorstr='#00060a',GradientType=0 );
}
/* ************************* Body ************************* */
html, body {
    height: 100%;
}
body {
	background-color: #FFF;
	color: #333;
	font: 14px Verdana,Geneva, sans-serif;
	line-height: 1.4em;
	overflow-x: hidden;
}


#TOP {
	font-size: 0.1px;
	height: 0.1px;
	line-height: 0.1px;
}

#adminheader {
  position: relative;
  width: 100%;
  z-index: 1;
}
#header {
  background: white url(images/zecke_pano.jpg) no-repeat scroll center / cover;
  position: fixed;
  width: 100%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  z-index: 5;
  height: 220px;
  transition: height .35s ease-in-out;
}
.trans #header {
  height: 140px;
}
#navi {
  clear: both;
  position: absolute;
  z-index: 2;
  display: table;
  width: 100%;
  bottom: 0;
}
#navi.admin {
  background: #eee;
  bottom: auto;
  position: relative;
}

#navibar {
  float: right;
  padding: 5px 30px;
  margin: 12px 0 0 0;
}

#navibar .navicons {
  display: inline-block;
}
#navibar .fa {
  color: #555;
  width: 1.4em;
  font-size: 1.5em;
}


/*search*/
.searcher {
  float: right;
}
#searchbox .text {
  box-sizing: border-box;
  height: 23px;
  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.png") no-repeat 0 0 / contain;
  color: #555;
  padding: 0 0 0 23px;
  margin: 0 0 0 5px;
  -webkit-appearance: textfield;
  outline: none;
}
#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;
}


#logo {
  display: inline-block;
  padding: 10px 20px 5px;
  /*margin: 0 0 50px 0;
  transition: margin .35s ease-in-out;*/
}
#logo img {
  width: 100%;
  height: auto;
  max-width: 800px;
  transition: max-width .50s ease-in-out;/**/
}
.trans #logo img {
  max-width: 500px;
}

#locator {
  display: inline-block;
  background: #eee;
  border-bottom: 1px solid #ccc;
  width:100%;
  text-align: left;
  font-size: 0.8em;
  position: relative;
  color: #555;
  padding: 0 0 0 20px;
  line-height: 26px;
}
#loginbox {
	padding: 0 20px 0 0;
	display: table-cell;
	vertical-align: middle;
	text-align: right;
}
#loginbox .fa, #loginbox a {
  color: #000;
}

#picshow {
  background: #eee;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.9);
  position: relative;
  width: 100%;
  z-index: 1;
}

#content {
	width: 100%;
  clear: both;
  /*background: url("images/gbs-logo-wasserzeichen.png") no-repeat fixed center center;*/
  margin: 220px 0 0 0;
}
.content_main {
  margin: 0 auto;
  width: 80%;
  max-width: 1400px;
}
.content_main.xhadmin {
  width: 90%;
  margin: 30px auto 0;
}

div.anker {
  position: absolute;
  margin-top: -220px;
  /*background: #000 none repeat scroll 0 0;
  height: 10px;
  width: 10px;
  z-index: 10000;*/
}
div.anker:nth-child(n+2) {
  margin-top: -140px;
}

div.pt-page {
  clear: both;
  min-height: calc(100vh - 150px);
  line-height: normal;
  position: relative;
  padding: 20px 0;
}
div.pt-page1:nth-child(-n+2) {
  padding: 100px 0 20px 0;
}

div.pt-page > .flexbox {
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
div.pt-page > p {
  text-align: justify;
}


/* ************************* Footer - Copyright & Login ************************* */
#footer {
  background-color: #e5e5e5;
	border-top: 3px solid #eeeeee;
	color: #555;
	width: 100%;
}

.tpllck_copyright {
	clear: both;
	background-color: white;
	font-size: 0.8em;
	line-height: 2em;
	padding: 10px 0;
	text-align: center;
	vertical-align: middle;
	width: 100%;
}
.tpllck_copyright a {
	color: #aaa;
	text-decoration: none;
	padding: 2px 4px;
}
.tpllck_copyright a:hover {
	color: #777;
}
#footer h4, #footer h5, #footer h6 {
    color: #555;
    font-weight: bold;
}
#footer .lastupdate {
	padding: 10px 0;
}
#footer .lastupdate img {
	height: 20px;
  width: auto;
  margin: 0px 10px -5px 0;
}

/* ************************* 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;
}

/* 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;
}
.flexboxin {
  -webkit-flex: 1 1 300px;
  -moz-flex: 1 1 300px;
  -ms-flex: 1 1 300px;
  flex: 1 1 300px;
}


/*Modifikation fuer andere divs*/
#footer .flexbox {
  padding: 5px 30px;
}
#footer .flexboxin {
    margin: 10px 20px;
}
#footer .flexbox a {
    text-decoration: none;
}
#footer .flexbox td {
    padding: 5px 0;
}
#footer .flexbox a:hover {
    color: #c40000;
    text-decoration: none;
}
#footer .flexbox img {
  /* TSC max-width: 150px; */
  max-width: 600px;
}
#footer hr {
    background-color: #3B5977;
    border: 0 none;
    height: 1px;
}


#content .flexbox {
  /*margin: 10% 0;
  height: 85vh;*/
}
#content .flexbox img {
	max-width: 300px;
  width: 100%;
	height: auto;
}
.content_main .flexboxin {
  text-align: center;
  margin: 10px;
  background: #c84242;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  moz-border-radius: 10px;
  -webkit-flex: 1 1 200px;
  -moz-flex: 1 1 200px;
  -ms-flex: 1 1 200px;
  flex: 1 1 200px;
}
.content_main .flexboxin.map {
  -webkit-flex: 1 1 320px;
  -moz-flex: 1 1 320px;
  -ms-flex: 1 1 320px;
  flex: 1 1 320px;
}
.content_main .flexboxin p {
  margin: 10px 0;
}
.content_main .flexboxin hr {
  background-color: #fff;
}
.content_main .flexboxin_partner {
  text-align: center;
  margin: 10px;
  color: #008200;
  padding: 20px;
  -webkit-flex: 1 1 200px;
  -moz-flex: 1 1 200px;
  -ms-flex: 1 1 200px;
  flex: 1 1 200px;
}
/* Plugins */
#page-inner p {
  padding: 5px 0;
}

.grid {
    background: #eee;
    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-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.grid li {
	list-style: none;
    margin: 5px;
    padding: 0;
    overflow: hidden;
    -webkit-flex: 1 1 250px;
	-moz-flex: 1 1 250px;
	-ms-flex: 1 1 250px;
	flex: 1 1 250px;
}
.grid li img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform .2s ease-in-out;
}
.grid li:hover img {
    transform: scale(1.2);
}

.advfrm-mailform {
  margin: 0 auto;
  max-width: 80%;
  text-align: center;
}
.advfrm-mailform table {
  width: 100%;
}
.advfrm-mailform table tr:not(:last-child) {
  /*border-bottom: 1px solid lightgray;*/
}
.advfrm-mailform table td.field, .advfrm-mailform table td.label {
  padding: 5px 15px;
}
.advfrm-mailform table td.label {
  color: #008200;
  text-align: right;
  width: 25%;
}
.advfrm-mailform table td.field {
  text-align: left;
  width: 75%;
}
.advfrm-mailform table td.field p {
  padding: 5px 0;
}
.advfrm-mailform table td.field .ui-datepicker-trigger {
  margin: 0 15px;
}
.advfrm-mailform .field > input {
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 90%;
  padding: 6px 10px;
  color: #555;
}
.advfrm-mailform .field > textarea {
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 8px;
  color: #555;
  font-size: 1em;
  width: 90%;
}
.advfrm-mailform .field > select {
  width: 100px;
}


@media screen and (min-width: 961px) {
  .tpllck_toplink {
    display: none;
  }
}

@media screen and (max-width: 960px) {
  div.pt-page {
    font-size: 0.9em;
  }
  .toplink {
    display: none;
  }

  .tpllck_toplink {
    display: block;
  }
  .tpllck_toplink a:hover {
    background-color: rgba(0, 0, 0, 0);
  }
  #navi {
    background: #c40000;
    width: 100%;
  }
  #navibar {
    position: relative;
    float: none;
    background: #eee;
    margin: 0;
  }
  #loginbox .fa, #loginbox a {
    color: #fff;
  }
  #picshow {
    margin: 145px 0 0 0;
  }
  h1 {
    font-size: 1.2em;
  }
}
@media screen and (max-width: 640px) {
  #telefon {
    display: none;
  }
}

/*LOGIN*/
body.xh_login {
	background: rgba(0, 0, 0, 0.1) url(images/iseye-hi.png) no-repeat fixed center center;
	background-size: contain;
	display: table;
	height: 100vh;
	width: 100%;
	margin: 0;
}
body.xh_login div.xh_login {
	display: table-cell;
	margin: 0;
	text-align: center;
	vertical-align: middle;
  width: auto !important;
}
body.xh_login div.xh_login h1 {
	background: none;
  color: #333;
}