/* FRONTEND CSS
*********************************************/
@font-face {
    font-family: 'bebas-neue';
    src: url('../fonts/bebas-webfont.eot');
    src: url('../fonts/bebas-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bebas-webfont.woff') format('woff'),
         url('../fonts/bebas-webfont.ttf') format('truetype'),
         url('../fonts/bebas-webfont.svg#deus-etched-machina') format('svg');
    font-weight: normal;
    font-style: normal;
}


html, body {
  height: 100%;
}
html {
  overflow-y: scroll;
  font-family: arial, helvetica, sans-serif;
}
body {
  background-color: #fff;
  background: url('../images/brushed_alu.png') fixed;
  color: #000;
  font-size: 0.9em;
}

a {
  color: #5b8374;
  text-decoration: none;
  /*font-family: bebas-neue, arial, helvetica, sans-serif;
  font-size: 1.2em;
  text-decoration: none;*/
}

a:hover {
  color: #adcb55;
}

img {
  max-width: 100%;
}

#container {
  width: 100%; 
  border-top: 8px solid #e31e24;
  /* border-top: 8px solid rgba(227, 30, 36, 0.7);*/
  margin-top: 20px;
}

#header, #content, #footer,
.infeatured-menu {
  width: 95%;
  margin: 0 auto;
}

#header {
  padding-top: 1em;
}

/* #content {
  
  background: transparent url('../images/pv.jpg') no-repeat;
  background-position: center center;
  background-size: cover; 
}*/

#slider {
  /* height: 100px; */
  height: 40%;
  width: 100%;
  /* background-color: blue; */
  border-top: 8px solid #e31e24;
  border-bottom: 8px solid #e31e24;
  /* border-bottom: 8px solid rgba(255, 255, 255, 0.7);
  border-top: 8px solid rgba(255, 255, 255, 0.7); */
  margin-top: 20px;
}

.header-logo {
  float: left;
  width: 100%;
  text-align: center;
}

a.mobilemenu {
  float: left;
  height: 40px;
  width: 40px;
  margin: 0 4% 0 0;
  background: transparent url('../images/menu.png') no-repeat;
  background-size: contain;
  z-index: 10;
}

.header-menu {
  display: none;
}

.header-menu ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.header-menu ul li {
  display: block;
  margin-bottom: 1.0em;
  font-size: 1.2em;
}

.header-menu a {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.header-menu a {
  color: #5b8374;
  font-family: bebas-neue, arial, helvetica, sans-serif;
  font-size: 1.2em;
  text-decoration: none;
}

.header-menu a:hover {
  color: #adcb55;
}

.home.main-featured .incontent .blog-featuredmain-featured,
.home-hm.main-featured .incontent .blog-featuredmain-featured{
   /* margin-top: -55px; */
   margin-top: -3.0em;
    position: relative;
}

.blog-featuredmain-featured .row-fluid,
.infeatured-menu ul li {
  width: 100%;
  float: left;
  text-align: center;
  box-sizing: border-box;
}

.blog-featuredmain-featured .row-fluid {
  margin-bottom: 35px;
}

.blog-featuredmain-featured img {
  box-sizing: border-box;
  padding: 5px;
  background-color: #e31e24;
  border-radius: 5px;
}

.blog-featuredmain-featured h2.item-title {
  margin-top: 0;
  margin-bottom: 0.2em;
}

#featured-menu {
  min-height: 3.5em;
  background-color: #5b8374;
}

.infeatured-menu {
  padding-top: 0.3em;  
}

#featured-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#featured-menu ul li {
  padding: 0.5em 0;
}

#featured-menu ul li a,
.blog-featuredmain-featured h2.item-title {
  font-family: bebas-neue, arial, helvetica, sans-serif;
  font-size: 1.8em;
  color: #fff;
  font-weight: normal;
  letter-spacing: 0.1em;
}

.blog-featuredmain-featured h2.item-title a {
  color: #fff;
}

.blog-featuredmain-featured h2.item-title {
  background-color: #5b8374;
}

.blog-featuredmain-featured .row-fluid:first-child h2.item-title {
   background-color: transparent;
 }

#footer {
  margin: 20px auto;
  border-top: #e31e24 solid 4px;
  height: 100px;
}

#footer .moduletable-fmenu ul {
  list-style: none;
}

#footer .moduletable-info,
#footer .moduletable-info .anschrift {
  float: left;
  margin: 0 2em 0 1em;
  font-size: 1em;
}

#footer .moduletable-info .anschrift{
  margin-top: 1em;
}

#footer .moduletable-info .anschrift p,
#footer .moduletable-info .anschrift table {
  margin: 0;
  padding: 0;
}

#footer .moduletable-fmenu {
  float: right;
  margin-right: 1em;
}

#pageslide {
  /* These styles MUST be included. Do not change. */
  display: none;
  position: absolute;
  position: fixed;
  top: 0;
  height: 100%;
  z-index: 999999;

  /* Specify the width of your pageslide here */
  width: 200px;
  padding: 10px 5px 5px 20px;

  /* These styles are optional, and describe how the pageslide will look */
  background-color: #333;
  color: #FFF;
  -webkit-box-shadow: inset 0 0 5px 5px #222;
  -moz-shadow: inset 0 0 5px 5px #222;
  box-shadow: inset 0 0 5px 5px #222;
}

.slick-slider {
  margin-bottom: 0!important;
}

.slick-prev {
  left: 0!important;
}

.slick-next {
  right: 0!important;
}

.referenzen h4 {
  margin: 0 0 1em 0;
  padding: 0;
  font-size: 0.9em;
  font-weight: bold;
  border-bottom: 1px solid #e31e24;
}

.referenzen div.table-row {
  margin-bottom: 12%;
}

div.table-cell {
  margin-bottom: 15px;
}

/* LAYOUT
*********************************************/
/* Floats */
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
.ie7 .group {
  zoom: 1;
}


.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  font-size: 0;
  height: 0;
  visibility: hidden;
} 

/* KONTACT */
.contact-form {
  width: 100%;
  margin: 0 auto;
}

.contact-form .controls input,
.contact-form .controls textarea,
.contact-form .form-actions {
  width: 100%;
  padding: 0.3em 0 0.3em 0.2em;
}

.contact-form #copy {
  width: inherit;
}

.contact-form .controls {
  margin-bottom: 15px;
}

.contact-form button {
  width: 49.4%;
  font-size: 1.3em;
  height: 2.0em;
  margin: 0; 
}

.contact-footer {
  margin-top: 3em;
  border-top: 1px solid #000;
}

.contact-footer h4 {
  font-size: 1.2em;
  margin: 0;
  padding: 0;
}

/* Media Queries
*********************************************/
@media screen and (min-width: 480px)
{
  a.mobilemenu {
    display: none;
  }
  
  .header-menu {
    display: block;
    float: right;
  }
  
  .header-menu ul {
    margin: 0;
    line-height: 6.0em;
    font-size: 1.2em;
  }
  
  .header-menu ul li {
      margin-right: 1.2em;
      display: inline;
  }
  
  .header-menu a {
    padding: 1.6em 0;
  }
  
  
  .incontent .page-header {
    margin-top: 3em;
  }
  
  .incontent .page-header h2 {
    font-size: 2.0em;
    text-transform: uppercase;
    border-bottom: 2px solid #e31e24;
    letter-spacing: 0.1em;
    color: #5b8374;
    font-family: arial, helvetica, sans-serif;
  }
  
  .blog-featuredmain-featured h2.item-title {
    /* background-color: transparent; */
  }
}

@media screen and (min-width: 600px)
{
  div.table {
    display: table;
    width: 100%;
  }

  div.table-row {
    display: table-row;
    width: 100%;
  }

  div.table-cell {
    display: table-cell;
    float: left;
    margin-bottom: 3%;
    margin-right: 5%;
    /* margin: 0 4.7% 5% 0; */
    width: 30%;
  }

  div.table-row div.table-cell:last-child {
    margin-right: 0;
  }
}



@media screen and (min-width: 481px) and (max-width: 799px)
{
  body {
    font-size: 0.8em;
  }
  
  #header, #content, #footer {
    width: 90%;
  }
  
  .header-logo {
    width: 100%;
    clear: both;
    text-align: center;
  }
  
  .header-menu {
    clear: both;
    width: 100%;
    text-align: center;
  }
  
  .header-menu .active a {
    text-decoration: underline;
  }

  .blog-featuredmain-featured .row-fluid,
  .infeatured-menu ul li{
    width: 48%;
    float: left;
    text-align: center;
    margin-right: 4%;
  }
  
  .infeatured-menu ul li {
    width: 24%;
    margin-right: 1%;
    font-size: 0.9em;
  }
  
  .main-featured .row-fluid:nth-last-of-type(odd),
  .infeatured-menu ul li:nth-last-of-type(odd) {
    margin-right: 0;
  }
  
}


@media screen and (min-width: 800px)
{
  body {
    font-size: 0.8em;
  }
  
  #header, #content, #footer {
    width: 90%;
  }
  
  .header-logo {
    max-width: 30%;
    text-align: left;
  }
  
  .header-menu .active a {
    border-top: 4px solid #E4E3DF;
  } 
    
  .blog-featuredmain-featured .row-fluid,
  .infeatured-menu ul li {
    width: 22%;
    float: left;
    text-align: center;
    margin-right: 4%
  }
  
  .ie8 .blog-featuredmain-featured .row-fluid,
  .ie8 .infeatured-menu ul li {
    width: 21%;
  }
  
   .blog-featuredmain-featured .row-fluid:last-child,
   .infeatured-menu ul li:last-child {
    margin-right: 0;
  }
  
  .contact-form {
    width: 80%;
  }
  
}

@media screen and (min-width: 1500px)
{
  body {
    font-size: 1.1em;
  }
  
  #header, #content, #footer,
  .infeatured-menu {
    width: 80%;
  }
  
  /* #slider {
    height: 250px;
  } */
  
  .header-logo {
    max-width: 40%;
    text-align: left;
  }
  
  .header-menu .active a {
    border-top: 4px solid #E4E3DF;
  }
  
  /*.blog-featuredmain-featured .row-fluid,
  .infeatured-menu ul li {
    width: 22%;
    float: left;
    text-align: center;
    margin-right: 4%
  } */
  
   .blog-featuredmain-featured .row-fluid:last-child,
   .infeatured-menu ul li:last-child {
    margin-right: 0;
  }
  
  .contact-form {
    width: 50%;
  }
}





/* Retina */
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
  
}
/* Landscape phones and down */
@media (max-width: 480px) {
  
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  
}
/* Large desktop */
@media (min-width: 1200px) {
  
}