 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
 padding: 0;
 border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: top;
}
 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
 body {
	line-height: 1;
}
 ol, ul {
	list-style: none;
}
 blockquote, q {
	quotes: none;
}
 blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
 table {
	border-collapse: collapse;
	border-spacing: 0;
}
 html, body {
  height: 100%;
}
 body {
	font: 13px/1.4em 'PT Sans', sans-serif;
	color: #444;
	-webkit-font-smoothing: antialiased; 
	-webkit-text-size-adjust: 100%;
  background: url('../images/background_bad.jpg') no-repeat left 300px/calc(85% + 200px) auto;
}
 a, ul, li {
  font: inherit;
 color: inherit;
}
 a {
  text-decoration: none;
}
 body.layout.grid {
    position: absolute;
    width: 960px;
    left: 50%;
    margin-left: -480px;
    padding: 0;
    min-height: 100%;
    display: block;
    background: transparent url('../images/grid.png') repeat-y center top;
}
 body.layout div {
    -webkit-box-shadow: inset 0 0 1px #a1a1a1; 
    -moz-box-shadow: inset 0 0 1px #a1a1a1; 
    box-shadow: inset 0 0 1px #a1a1a1;
}
#info {
  position: absolute;
  z-index: -10;
  top: 0;
  left: 0;
  color: #AAA;
}
#container {
  background-color: rgba(255, 255, 255, 0.9);
  background-position: -1000px -1000px;
  background-repeat: no-repeat;
  box-shadow: 0 20px 30px #EEE;
  position: relative;
  width: 1000px;
  margin: 0 auto;
  padding: 0 90px 50px 30px;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
#container:after { 
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
 body#bad #container {
    background-image: url('../images/vogelbad-large.jpg');
}
 body#waerme #container {
    background-image: url('../images/katze-large.jpg');
}
 body#klima #container {
    background-image: url('../images/klima-large.jpg');
}
 body#spenglerei #container {
    background-image: url('../images/blech-large.jpg');
}
#header {
  margin: 55px 0 0 0;
  width: 100%;
  height: 80px;
}
#header img {
    float: left;
}
#logo {
  width: 180px;
  height: 85px;
  margin-top: -34px;
}
#topnav,#sidenav,#subnav,#footer, h1, h2 {
	font: 300 14px/1.4em 'Lato', sans-serif;
  text-transform: uppercase;
  color: #000;
}
 h1, h2 {
  background-color: #FFF;
}
#sidebar {
  height: 700px;
  width: 280px;
  margin: 0;
  float: left;
}
#topnav {
  float: right;
  text-align: right;
	margin: 0;
  width: auto;
 height : auto;
  color: #544850;
}
#topnav li {
    line-height: 0.7;
    height: 1.1em;
  
    width: auto;
    margin: 0 0 0.4em 0;
    border-bottom: 1px solid transparent;
}
#topnav li:hover>a,#topnav li.active>a {
      border-bottom-color: #736357;
      -webkit-transition: border-bottom-color 500ms;
      -moz-transition: border-bottom-color 500ms;
      -ms-transition: border-bottom-color 500ms;
      -o-transition: border-bottom-color 500ms;
      transition: border-bottom-color 500ms;
}
#topnav a {
    width: auto;
    display: inline-block;
    margin: 0 0 0.4em 0;
    border-bottom: 1px solid transparent;
    height: 1.1em;
}
#sidenav {
  position: absolute;
  z-index: 200;
  padding: 0 0 0 60px;
  width: auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow: visible;
}
#sidenav a {
    width: auto;
    height: 1em;
    display: inline-block;
    margin: 0 0 0.4em 0;
    border-bottom: 1px solid transparent;
}
#sidenav li {
    font-size: 150%;
    line-height: 0.7;
    height: 1em;
    display: block;
    width: auto;
    margin: 0 0 0.4em 0;
}
#sidenav li:hover>a,#sidenav li.hover>a {
      border-bottom-color: #736357;
      -webkit-transition: border-bottom-color 500ms;
      -moz-transition: border-bottom-color 500ms;
      -ms-transition: border-bottom-color 500ms;
      -o-transition: border-bottom-color 500ms;
      transition: border-bottom-color 500ms;
}
#sidenav li.active {
      width: 240px;
}
#sidenav li.active ul {
        display: block;
}
#sidenav li.active>a {
        width: 100%;
}
#sidenav>li:first-child.active>a {
      color: #6fc2d1;
      border-bottom: 1px solid #6fc2d1;
}
#sidenav>li:first-child+li.active>a {
        color: #f7a40b;
        border-bottom: 1px solid #f7a40b;
}
#sidenav>li:first-child+li+li.active>a {
        color: #b6d77a;
        border-bottom: 1px solid #b6d77a;
}
#sidenav>li:first-child+li+li+li.active>a {
        color: #999;
        border-bottom: 1px solid #999;
}
#sidenav ul {
    position: relative;
    left: 240px;
    display: none;
    margin-top: -0.5em;
    height: 0;
    font-size: 66%;
    padding: 0 0 0 20px;
    box-sizing: border-box;
    -moz-box-sizing:border-box;
    color: #332C27;
    width: 280px;
}
#sidenav ul li {
      font-size: 100%;
      line-height: 0.7;
      height: 1.1em;
      
      width: auto;
      margin: 0 0 0.4em 0;
      border-bottom: 1px solid transparent;
      padding: 0;
}
#sidenav ul li>a {
        height: 1.1em;
        width: auto;
        border-bottom: 1px solid transparent;
}
#sidenav ul li:hover>a,#sidenav ul li.active>a {
        border-bottom-color: #FFF;
}
#sidenav ul li.active {
        width: 100%;
}
 body.bad #t1>div {
    background: url('rgba.php/rgba(187,228,234,0.85)') repeat;
}
 body.waerme #t1>div {
    background: url('rgba.php/rgba(247,164,11,0.4)') repeat;
}
 body.klima #t1>div {
    background: url('rgba.php/rgba(219,237,150,0.85)') repeat;
}
 body.magenta #t1>div {
    background: url('rgba.php/rgba(247,182,212,0.5)') repeat;
}
 body.spenglerei #t1>div {
    background: url('rgba.php/rgba(200,200,200,0.9)') repeat;
}
 div.tile {
  display: block;
  width: 280px;
  background-repeat: no-repeat;
  background-color: #FFF;
  background-image: inherit;
  margin: 0;
  height: 280px;
}
 div.tile>div {
    height: 100%;
    width: 100%;
}
 div.tile h1 {
    font-size: 150%;
    line-height: 1;
    height: 0.9em;
    display: inline-block;
    text-transform: uppercase;
  	text-decoration: none;
    padding: 0 0 10px 0;
}
 div.tile img.clearpixel {
    width: 100%;
    height: 100%;
}
 div.tile p, div.tile ul {
    margin-left: 20px;
    width: 100%;
    margin-right: -20px;
}
 div.tile ul {
    list-style-type: circle;
    list-style-position: inside;
}
 div.tile ul li {
      margin-bottom: -1em;
}
 div.tile#t1 {
    float: left;
    border: 20px solid #FFF;
    border-bottom: none;
    border-top: none;
    z-index: 1;
}
 div.tile#t2 {
    float: right;
    background-position: right top;
    z-index: 2;
}
 div.tile#t3 {
  clear:right;
    float: left;
    background-position: left bottom;
    margin-bottom: 0;
    border: 20px solid #FFF;
    border-bottom: none;
    z-index: 3;
}
 div.tile#t4 {
    float: right;
    background-position: right bottom;
    border-top: 20px solid #FFF;
    z-index: 4;
}
 img.greyhover { 
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
  opacity: 0.7;
}
 img.greyhover:hover {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}
 body.home div.tile {
    z-index: 2001;
}
 body.home div.tile span { 
      position: static;
      display: block;
      width: 280px;
      height: 2em;
      margin: -40px 0 0 0;
    	filter: alpha(opacity=0); 
    	-khtml-opacity: 0;      
    	-moz-opacity: 0;       
    	opacity: 0;
      z-index: -1;
}
 body.home div.tile span h1 {
        background-color: transparent;
        display: inline;
        margin: 0 auto 0 -20px;
        padding: 0 0 0 20px;
        border-bottom: 1px solid;
        width: auto;
}
 body.home div.tile#t1 span h1 {
      color: #6fc2d1;
      border-color: #6fc2d1;
}
 body.home div.tile#t2 span h1 {
      color: #f7a40b;
      border-color: #f7a40b;
}
 body.home div.tile#t3 span h1 {
      color: #b6d77a;
      border-color: #b6d77a;
}
 body.home div.tile#t4 span h1 {
      color: #999;
      border-color: #999;
}
 body.home div.tile#t2 span, body.home div.tile#t4 span {
      text-align: right;
}
 body.home div.tile#t2 span h1, body.home div.tile#t4 span h1 {
        margin: 0 -20px 0 auto;
        padding: 0 20px 0 0;
}
.layout1 div.tile {
    -webkit-transition: height 400ms ease-in-out, margin-top 400ms ease-in-out;
    -moz-transition: height 400ms ease-in-out, margin-top 400ms ease-in-out;
    -ms-transition: height 400ms ease-in-out, margin-top 400ms ease-in-out;
    -o-transition: height 400ms ease-in-out, margin-top 400ms ease-in-out;
    transition: height 400ms ease-in-out, margin-top 400ms ease-in-out;
  
    height: 280px;
}
.layout1 div.tile>div {
      height: 100%;
}
.layout1 div.tile#t1>div img {
      background: url('rgba.php/rgba(187,228,234,0.85)') repeat;
}
.layout1 div.tile#t2>div img {
      background: url('rgba.php/rgba(247,164,11,0.4)') repeat;
}
.layout1 div.tile#t3>div img {
      background: url('rgba.php/rgba(219,237,150,0.85)') repeat;
}
.layout1 div.tile#t4>div img {
      background: url('rgba.php/rgba(200,200,200,0.9)') repeat;
}
.layout1 div.tile:hover>div img,.layout1 div.tile.hover>div img {
        -webkit-transition: all 500ms;
        -moz-transition: all 500ms;
        -ms-transition: all 500ms;
        -o-transition: all 500ms;
        transition: all 500ms;
      	filter: alpha(opacity=0); 
      	-khtml-opacity: 0;      
      	-moz-opacity: 0;       
      	opacity: 0;           
        transition-delay: 300ms;
        -webkit-transition-delay: 300ms;
}
.layout1 div.tile:hover>div span,.layout1 div.tile.hover>div span {
        -webkit-transition: all 300ms;
        -moz-transition: all 300ms;
        -ms-transition: all 300ms;
        -o-transition: all 300ms;
        transition: all 300ms;
      	filter: alpha(opacity=100); 
      	-khtml-opacity: 1;      
      	-moz-opacity: 1;       
      	opacity: 1;           
        transition-delay: 500ms;
        -webkit-transition-delay: 500ms;
}
.layout1 div.tile:hover,.layout1 div.tile.hover {
      height: 400px;
      overflow: visible;
}
.layout1 div.tile#t1:hover>div span,.layout1 div.tile#t1.hover>div span,.layout1 div.tile#t3:hover>div span,.layout1 div.tile#t3.hover>div span {
        margin-left: 300px;
}
.layout1 div.tile#t2:hover>div span,.layout1 div.tile#t2.hover>div span,.layout1 div.tile#t4:hover>div span,.layout1 div.tile#t4.hover>div span {
        margin-left: -300px;
}
.layout2 div.tile#t1>div {
      width: 100%;
      height: 100%;
      display: inline-block;
}
.layout2 div.tile#t2,.layout2 div.tile#t3 {
      min-height: 400px;
      margin-bottom: -120px;
}
.layout2 div.tile#t4 {
      margin-top: 120px;
      background-image: none;
      height: auto;
      min-height: 280px;
}
.layout3 div.tile#t2 {
  	width: 580px;
    border-right: none;
}
.layout3 div.tile#t1 {
    display: none;
}
.layout4 div.tile#t1,.layout4 div.tile#t3 {
  	display: none;
}
.layout4 div.tile#t2 {
  	width: 580px;
    height: 340px;
    border-right: none;
}
.layout4 div.tile#t4 {
  	width: 580px;
    height: auto;
}
.layout5 div.tile#t3 {
    height:auto;
}
.layout6 div.tile#t3 {
  	display: none;
}
.layout6 div.tile#t2 {
    height: 280px;
}
.layout6 div.tile#t2>div {
      height: 280px;
      position: relative;
}
.layout6 div.tile#t2 p#nav {
      margin: 0;
      position: absolute;
      bottom: 0;
}
.layout6 div.tile#t2 h1 {
      margin-top: 5em;
}
.layout6 div.tile#t4 {
    width: 580px;
    height: auto;
}
.layout6 div.tile#t4 a {
      position: relative;
      padding 0;
      line-height: 16px;
}
.layout6 div.tile#t4 a img {
        margin: 0 20px 20px 0;
}
.layout6 div.tile#t4 a:nth-of-type(4) img {
        margin-right: 0;
}
.layout6 div.tile#t4 a span {
        position: absolute;
        left: 0;
        top: 0;
        margin-top: 0;
        width: 130px;
        background: url('rgba.php/rgba(200,200,200,0.9)') repeat;
        line-height: 20px;
}
 body#waerme_leistungen #t1>div {
  background: url('rgba.php/rgba(255,255,255,0.7)') repeat;
}
 body#waerme_leistungen #t1>div>img.clearpixel {
    background: url('rgba.php/rgba(247,164,11,0.7)') repeat;
}
 body#kontakt h1 {
  margin-left: 300px;
}
 form#kontaktformular {
  text-align: left;
  width: 100%;
  line-height: 25px;
  display: block;
  padding: 0;
}
 form#kontaktformular label {
    display: block;
    width: 280px;
    float: left;
    margin: 0 0 2px 0;
    height: 25px;
    line-height: 27px;
    text-align: right;
}
 form#kontaktformular p {
    margin-right: 20px;
    width: 260px;
    display: block;
}
 form#kontaktformular span.asterisk {
    font-size: 150%;
    line-height: 0.8em;
    vertical-align: bottom;
}
 form#kontaktformular input, form#kontaktformular textarea {
    display: block;
    border: 1px solid #E0E0E0;
    height: 23px;
    width: 280px;
    margin: 0 0 2px 0;
    padding: 0;
    float: right;
}
 form#kontaktformular textarea {
    height: 200px;
    resize: none;
}
 form#kontaktformular input.button {
    margin: 2px 0 0 270px;
    height: 25px;
    background: #EDEDED;
    color: #000;
    width: 100px;
    min-width: 100px !important;
    max-width: 100px !important;
    overflow: visible; 
    clear: both;
    cursor: pointer;
    line-height: 25px;
    vertical-align: bottom;
}
#contenttext.kontakt h1.error {
  font-size: 1em;
  color: #E2001A;
  width: 700px;
  margin-top: 0;
}
 span#mail:before {
  content: "info@";
}
#footercontainer {
  display: inline-block;
  width: 100%;
  margin: -50px 0 0 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow: visible;
}
#footer {
  width: 1000px;
  margin: 0 auto;
  padding: 0 90px 0 30px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  overflow: visible;
  z-index: 1001;
  height: 0px;
}
#footer p.adress {
    white-space: pre;
    position: relative;
    margin-top: -12em;
    height: 12em;
    width: 300px;
    line-height: 1.5em;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#footer img.innung {
      margin: 5px 0 -100% 0px;
      display: inline-block;
}
#footer img.innung+span {
        padding-left: 12px;
}
#footer p span {
    padding: 0 0 0 60px;
    display: inline;
    text-transform: uppercase;
    vertical-align: -1px;
}
#footer p span.grey {
      color: #999;
}
#footer p span.line {
      display: none;
}
#footer p span.justify {
      width: 100%;
      height: 0px;
    
      display: none;
}
 body.home #footer p.adress:after {
    content: url('../images/notdienst-large.png');
    position: relative;
    padding: 0;
    margin: 30px 10px 0 700px;
    z-index: 400;
}
#newsticker {
	font-family: Menlo, Monaco, "Courier New", monospace;
  color: #999;
  line-height: 1.2em;
  position: absolute;
  top: 360px;
  margin-top: -1.2em;
  z-index: 200;
  padding: 0 0 0 60px;
  width: auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow: hidden;
}
#newsticker h1 {
    background-color: transparent;
}
#newsticker.grey {
    color: #999;
}
#newsticker a {
  	position: relative;
    text-decoration: none;
}
#newsticker a:hover span {
      color: #000;
}
#newsticker>span:after,#newsticker a>span:after {
    content:"\a";
    white-space: pre;
}
#newsticker span {
  	position: relative;
}
#newsticker span span,#newsticker a span span {
  	position: absolute;
  	top: 0;
  	bottom: 0;
  	right: 0;
  	width: 100%;
  	background: #FFF;
  	box-sizing: border-box;
}


@-webkit-keyframes typing {
 from {
	width: 100%;
}
 to {
	width: 0;
}
} /* end @-webkit-keyframes typing */



@keyframes typing {
 from {
	width: 100%;
}
 to {
	width: 0;
}
} /* end @keyframes typing */











@media only screen and (max-width: 959px),  screen and (max-height: 850px) {
 body {
	font-size: 12px;
  background-image: none;
}
#container {
  width: 800px;
  padding: 0 72px 32px 24px;
}
 body#bad #container {
  background-image: url('../images/vogelbad-medium.jpg');
}
 body#waerme #container {
  background-image: url('../images/katze-medium.jpg');
}
 body#klima #container {
  background-image: url('../images/klima-medium.jpg');
}
 body#spenglerei #container {
  background-image: url('../images/blech-medium.jpg');
}
#header {
  margin: 44px 0 0 0;
  height: 64px;
}
#logo {
  width: 144px;
  height: 68px;
  margin-top: -27px;
}
#topnav,#sidenav,#subnav,#footer, h1 {
  font-size: 13px;
}
#sidebar {
  height: 560px;
  width: 224px;
}
#sidenav {
  padding: 0 0 0 30px;
}
#sidenav li.active {
    width: 210px;
}
#sidenav ul {
    left: 210px;
    width: 224px;
}
 div.tile {
  width: 224px;
  height: 320px;
  background-size: contain;
}
 div.tile#t1, div.tile#t3, div.tile#t4 {
    border-width: 16px;
}
 div.tile h1 {
    padding: 0 0 8px 0;
}
 div.tile p, div.tile ul {
    margin-left: 16px;
    margin-right: -16px;
}
 body#bad div#container div.tile, body#waerme div#container div.tile, body#klima div#container div.tile, body#spenglerei div#container div.tile {
      background-size: auto;
}
 body.home div.tile {
    background-size: auto;
}
 body.home div.tile span { 
      width: 224px;
      margin: -36px 0 0 0;
}
 body.home div.tile span h1 {
        margin: 0 auto 0 -16px;
        padding: 0 0 0 16px;
}
 body.home div.tile#t2 span h1, body.home div.tile#t4 span h1 {
      margin: 0 -16px 0 auto;
      padding: 0 16px 0 0;
}
 img.textimg {
  max-width: 40%;
}
.layout1 div.tile {
    height: 224px;
}
.layout1 div.tile:hover,.layout1 div.tile.hover {
      height: 320px;
}
.layout1 div.tile#t1:hover>div span,.layout1 div.tile#t1.hover>div span,.layout1 div.tile#t3:hover>div span,.layout1 div.tile#t3.hover>div span {
        margin-left: 240px;
}
.layout1 div.tile#t2:hover>div span,.layout1 div.tile#t2.hover>div span,.layout1 div.tile#t4:hover>div span,.layout1 div.tile#t4.hover>div span {
        margin-left: -240px;
}
.layout2 div.tile#t2,.layout2 div.tile#t3 {
      min-height: 320px;
      margin-bottom: -96px;
}
.layout2 div.tile#t3 {
      margin-top: -96px;
}
.layout2 div.tile#t4 {
      margin-top: 0px;
      min-height: 224px;
}
.layout3 div.tile#t2 {
    width: 464px;
    height: 224px;
}
.layout4 div.tile#t2 {
  	width: 464px;
    height: 270px;
}
.layout4 div.tile#t4 {
  	width: 464px;
}
.layout5 div.tile#t1,.layout5 div.tile#t2 {
    height: 224px;
    background-size: auto 100%;
}
.layout6 div.tile#t1 {
    height: 224px;
}
.layout6 div.tile#t2 {
    height: 224px;
}
.layout6 div.tile#t2>div {
      height: 224px;
}
.layout6 div.tile#t2 h1 {
      margin-top: 5em;
}
.layout6 div.tile#t4 {
    width: 464px;
}
.layout6 div.tile#t4 a {
      line-height: 16px;
}
.layout6 div.tile#t4 a img {
        margin: 0 16px 16px 0;
        width: 104px;
 height: 104px;
}
.layout6 div.tile#t4 a span {
        width: 104px;
        line-height: 16px;
}
 body#kontakt h1 {
  margin-left: 240px;
}
 form#kontaktformular {
  line-height: 20px;
}
 form#kontaktformular label {
    width: 224px;
    margin: 0 0 2px 0;
    height: 20px;
    line-height: 22px;
}
 form#kontaktformular p {
    margin-right: 16px;
    width: 208px;
}
 form#kontaktformular input, form#kontaktformular textarea {
    height: 18px;
    width: 224px;
    margin: 0 0 2px 0;
}
 form#kontaktformular textarea {
    height: 160px;
}
 form#kontaktformular input.button {
    margin: 2px 0 0 270px;
    height: 20px;
    width: 80px;
    min-width: 80px !important;
    max-width: 80px !important;
    line-height: 20px;
}
#newsticker {
  top: 288px;
  padding: 0 0 0 30px;
  width: auto;
}
#footercontainer {
  margin: -32px 0 0 0;
}
#footer {
  width: 800px;
  padding: 0 72px 0 6px;
}
#footer p.adress {
    width: 258px;
}
#footer img.innung {
      width: 38px;
 height: 38px;
      margin: 5px 0 -12em 0;
      display: inline-block;
}
#footer img.innung+span {
        padding: 10px;
}
#footer p span {
    padding: 0 0 0 48px;
}
 body.home #footer p.adress:after {
      content: url('../images/notdienst-medium.png');
      margin: 50px 0 0 565px;
}
} /* end @media only screen and (max-width: 959px),  screen and (max-height: 850px) */

