@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;
}
div.anker {
  position: absolute;
  margin-top: -82px;
}

/* ************************* Global Styles ************************* */
h1, h2, h3, h4, h5, h6 {
  padding: 10px 0;
  color:#444;
  font-weight: normal;
  letter-spacing: 1px;
}
h1 {
  background: #e5e5e5 none repeat scroll 0 0;
  color: #e6050f;
  font-size: 1.7em;
  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.5em;
  padding: 5px 0;
  letter-spacing: 1px;
  margin: 0 -7%;
  text-align: center;
}
h3 {font-size: 1.4em;}
h4 {font-size: 1.2em}
h5 {font-size: 1.1m}
h6 {font-size: 1em}
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.3em; border: 0; padding: 2px 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:#e6050f;text-decoration:none;}
a:hover {color:#d50303;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 {
	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 {
  position: fixed;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 5;
  height: 200px;
  transition: height .7s ease-in-out;
  background: #2f484f;
}
.trans #header {
  height: 82px;
}
#headerin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  height: calc(100% - 35px);
  background: url("images/slogen.png") no-repeat center right 15% / 30%;
}
.trans #headerin {
  background: none;
}

#logo {
  padding: 14px 50px;
  height: 100%;
}
.trans #logo {
  padding: 5px 50px;
}
#logo img {
  width: 100%;
  max-height: 100%;
  max-width: 500px;
  /*height: auto;*/
}
#logo  .landthuer {
  text-align: center;
  padding: 5px 0 0 0;
  font-size: 1.2em;
}


#navi {
  align-self: flex-end;
  margin: 0 20px 0 0;
}
#navi.xhadmin div {
  float: none;
}

#navibar {
  text-align: right;
  padding: 5px 30px;
  border-bottom: 1px solid #ccc;
}
#navibar .sharing {
  margin: 0 70px 0px 0;
  display: inline-block;
}
#navibar .navicons {
  display: inline-block;
}
#navibar .fa {
  color: #ccc;
  margin: 0 6px;
  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;
}
#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;
}


#content {
	width: 100%;
  clear: both;
  padding: 200px 0 0 0;
  background: #2f484f;
}
#content.xhadmin {
  width: 80%;
  margin: 10px auto 0;
  padding: 0;
  background: #fff;
}

div.pt-page {
  line-height: normal;
  position: relative;
  padding: 2em 10%;
  display: flow-root; /*ist das neue clear:both*/
  background: #eff7ff;
}

div.pt-page div > .flexbox {
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
div.pt-page > p {
  padding: 10px 0;
  text-align: justify;
}
/*
#Willkommen + .pt-page, #Photovoltaik + .pt-page, #Heizung-Sanitaer + .pt-page {
  padding: 0;
  background: none;
}
*/

/* ************************* Footer - Copyright & Login ************************* */
#footer {
  background-color: #2f484f;
	border-top: 2px solid black;
	color: #888;
	width: 100%;
}
#footer .sharing {
  padding: 10px 0;
}

.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: red;
}
#footer h4, #footer h5, #footer h6 {
    color: #ccc;
    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;
  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;
}
.flexboxin {
  -webkit-flex: 1 1 300px;
  -moz-flex: 1 1 300px;
  -ms-flex: 1 1 300px;
  flex: 1 1 300px;
}

#content .flexboxin {
  margin: 10px 20px;
  padding: 0;
}

/*Modifikation fuer andere divs*/
#footer .flexbox {
  padding: 5px 30px;
}
#footer .flexboxin {
  margin: 50px 20px;
  color: red;
  line-height: 25px;
}
#footer .flexbox a {
  text-decoration: none;
  color: orangered;
}
#footer .flexbox td {
  padding: 5px 0;
}
#footer .flexbox a:hover {
  color: #ff9797;
  text-decoration: none;
}
#footer .flexbox img {
  max-width: 150px;
}
#footer hr {
  background-color: #3B5977;
  border: 0 none;
  height: 1px;
}

/* Plugins */
#page-inner p {
  padding: 5px 0;
}


.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: 1800px) {
  div.pt-page {
    padding: 2em 17%;
  }
  h1 {
    margin: 0 -40%;
  }
  #footer .flexboxin {
    margin: 50px 100px;
  }
}
@media screen and (min-width: 961px) {
  .tpllck_toplink {
    display: none;
  }
}
@media screen and (max-width: 960px) {
  div.pt-page {
    font-size: 0.9em;
    padding: 2em 4%;
  }
  .toplink {
    display: none;
  }

  .tpllck_toplink {
    display: block;
  }
  .tpllck_toplink a:hover {
    background-color: rgba(0, 0, 0, 0);
  }
  #navi {
    margin: 0 20px;
  }
  #navibar {
    float: none;
  }
  #navibar .navicons {
    float: right;
  }
  #navibar .sharing {
    margin: 0;
  }
  #picshow {
    margin: 145px 0 0 0;
  }
  #\32 > div {
    background: url("images/head_03.jpg") no-repeat scroll center center / cover;
    height: 220px;
  }
  #\32 > div img {
    display: none;
  }
  h1 {
    font-size: 1.3em;
  }
}
@media screen and (max-width: 640px) {
  #telefon {
    display: none;
  }
}

/* video-container */
.video-container {
    display: inline-block;
    position: relative;
    max-width: 500px;
    width:100%;
    margin:10px 20px 10px 0 !important;
    padding:0 !important;
    box-shadow: 5px 5px 10px 0px rgba(50, 50, 50, 0.75)
}
.video-container:after {
    padding-top: 56%;
    display: inline-block;
    content: '';
}

.video-container iframe {
    width:100%;
    height: 100%;
    position: absolute;
    top: 0; bottom: 0; right: 0; left: 0;
}
/* video-container */

/*LOGIN*/
body.xh_login {
	background: rgba(0, 0, 0, 0.1) url(images/iseye-hi.png) no-repeat fixed center center / contain;
}