/*
rot 228,35,19   #E42313
dunkelgrau 84,86,90  #54565A
hellgrau 135,135,135  #878787

BG
hellgrau #f2f2f2
dunkelgrau #878787
grau #f6f6f6

LINES
#e3e3e3
*/

/* =================================
   LAYOUT
   ================================= */
.page {
  min-height: 100%;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;

}

header {
  background: url(../layout/photos/header_bild1.jpg) no-repeat center / cover;
  min-height: 430px;
  height: 68vw;
  max-height: 815px;
  position: relative;
}

.headerpad {
  padding: 30px 30px;
  position: fixed;
  width: 100%;
  z-index: 990;
}

#headervideo {
  position: fixed;
  width: 100%;
  height: 100%;
  padding-top: 0px;
  left: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
}

#headervideo.active {
  opacity: 1;
  transition: opacity 0.25s ease-in;
  pointer-events: auto;
}
.close {
  color:white;
  position: absolute;
  right:20px;
  top:20px;

  z-index: 10001;
  cursor: pointer;
  font-size:4rem;
  line-height:2rem;
}
/*
.main-content {
  max-width: 1000px;
  margin: 0 auto;

}

*/
.page {

  box-shadow: 0px -10px 13px 0px rgba(0, 0, 0, 0.05);
}

.main-content:after, .platocontent:after {
  content: "";
  display: block;
  clear: both;
}

footer {

  font-size: 1.4rem;
  width: 100%;
  min-height: 100px;
  background: #fff;
  left: 0; /* left:0 ggf auskommentieren */
}

.bx-wrapper {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  background: transparent;
  margin: 0 auto;
}

.p-block {
  padding: 2.0rem 0 0 0;
  margin: 0;
  /*background: rgba(255, 255, 0, 0.2);*/
}

.page {
  /*max-width: 1200px;*/

  margin: 0 auto;
}

.article-div, .iwsetter {
  max-width: 1200px; /* Max Page Size */
  padding: 0 20px; /* GOLBAL 20px sides */
  margin: 0 auto;
}

.logo {
  float: right;
}

.white-header {
  background: white;
  padding: 20px;
  position: relative;
  height: 90px;
}

header nav {
  position: absolute;
  top: 50px;
}

header nav a, header nav a:link, header nav a:visited {
  text-transform: uppercase;
  color: #878787;
  margin-right: 40px;
  margin-left: 15px;
  display: inline-block;
}

.dark-grey {
  color: #54565a;
}

.light-grey {
  color: #878787;
}

.dark-bg {
  background: #878787;
}

.light-bg {
  background: #f2f2f2;
}

.bright-bg {
  background: #f6f6f6;
}

a.button, a.button:link, input.button {
  background: #e42313;
  color: white;
  padding: 3px 50px;
  border-radius: 10px/12px;
  font-size: 1.6rem;
  cursor: pointer;
  border: none;
}

a.button:hover {
  color: white;
}

a.button img {
  display: inline-block;
  margin-top: 5px;
  margin-right: 5px;
  height: 1.5rem;
}

a.button.small {
  padding: 2px 28px;
  font-weight: bold;
  position: relative;
}

a.button.small:before {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 19px !important;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 0.35s ease-in-out;
  transform-origin: center center;
  font-size: 2.4rem;
}

a.button.small.active:before {
  transform: translate(-50%, -50%) rotate(-225deg);
  transition: transform 0.35s ease-in-out;
  transform-origin: center center;
}

.claim {
  position: absolute;
  bottom: 60px;
  text-align: center;
  width: 100%;
  z-index: 10;
  color: white;
  left: 0;
  padding: 0 10px;
}

.claim h1 {
  color: white;
  font-weight: normal;
}

.center-narrow {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
  padding: 0 30px;
  z-index: 10;
  position: relative;
}

.fullw-image {
  width: 100%;
  height: auto;
  display: block;
}

.fullw-image.narrow {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  height: auto;
  display: block;
}

.narrow-content {
  max-width: 940px;
  margin: 0 auto;
}

.count-number {
  color: #e42313;
  font-size: 6rem;
  line-height: 6rem;
  padding-top: 20px;
  padding-bottom: 20px;
}

.three-block div[class*=col-]:not(:last-child) {
  border-right: 5px solid #e3e3e3;
}

.three-block div[class*=col-] {
  text-align: center;
}

.three-block div[class*=col-] > div {
  padding: 0px 20px 0px 0px;
}

.three-block .row > div:first-child > div {
}

.three-block .row > div:last-child > div {
}

.rulerx {
  border-top: 3px solid #e3e3e3;
  margin: 50px auto;
  max-width: 500px;
}

.togglebox {
  /*display: none;*/
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s linear;
  height: 0;
  overflow: hidden;
}

.togglebox.inactive {
  transition: opacity 0.15s linear;
  opacity: 0;
  height: auto;
  overflow: visible;
  visibility: visible;
}

.togglebox.active {
  /*display: block;*/
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s linear;
  height: auto;
  overflow: visible;
}

.fullbg {
  position: relative;
}

.fullbg:before {
  position: absolute;
  left: -50vw;
  width: 150vw;
  z-index: -1;
  height: 100%;
  content: "";
  display: block;
}

.fullbg.dark-bg:before {
  background: #878787;

}

.fullbg.light-bg:before {
  background: #f2f2f2;
}

.fullbg.dark-bg {
  color: white;
}

.lefty {
  padding-left: 30px;
  text-align: left;
  max-width: 290px;
}

.righty {
  max-width: 250px;
  text-align: left;
  padding-right: 30px;
  margin-left: auto;
}

.narrow-left {
  max-width: 580px;
  padding: 0px 0 0 80px;
}

.best {
  background: url(../layout/photos/2maennervonoben.jpg) no-repeat left top / auto 100%;
  min-height: 700px;

}

.modu {
  background: url(../layout/photos/saege.jpg) no-repeat right top / auto 90%;
  min-height: 780px;
  position: relative;

}
.modu2 {
  background: url(../layout/photos/messe_amb.jpg)  no-repeat right top / auto 100% !important;
}

#conta, .best, .modu, .three-images-container, .footer-pad {
  max-width:1200px;
  margin:0 auto;
}
.modu .narrow-left {
  bottom: 0px;
  position: absolute;

  max-width: 720px;
}

.offset-content {
  max-width: 630px;
  margin-left: auto;
  margin-right: 15%;
}

@media (max-width: 1200px) {
  .offset-content {

    margin-right: 11%;
  }
}

.slidy {
  /*padding:20px;*/
  text-align: left;
  transform: translateX(-98px);
}

.slidy img {
  margin-bottom: 30px;
}

.icon-div {
  padding: 10px 0 10px 50px;
  background: url(../layout/icons/mail.svg) no-repeat left center / 26px auto;
}

.icon-div a {
  color: inherit !important;
}

.icon-div.i1 {
  background-image: url(../layout/icons/standort.svg);
  background-size: 19px auto;
  background-position: 3px center;
}

.icon-div.i2 {
  background-image: url(../layout/icons/phone.svg);
  background-size: 15px auto;
  background-position: 5px center;
}

.icon-div.i4 {
  background-image: url(../layout/icons/welt.svg);
  background-size: 25px auto;
  background-position: 0px center;
}

.slidy .bx-wrapper .bx-prev {
  display: none;
}

.slidy .bx-wrapper .bx-prev,
.slidy .bx-wrapper .bx-next,
.slidy .bx-wrapper .bx-controls-direction a {
  background: none;
  width: 100px;
  height: 100px;
  opacity: 1;
  z-index: 91;
  margin-top: 0px;
}

.slidy .bx-wrapper .bx-prev:hover,
.slidy .bx-wrapper .bx-next:hover,
.slidy .bx-wrapper .bx-controls-direction a:hover {
  background: none;
  opacity: 0.9;
}

.slidy .bx-next:hover,
.slidy .bx-next {
  background: url(../layout/icons/pfeil.svg) no-repeat right center / 30px auto !important;
  right: -100px !important;
  top: 36% !important;
}

.leftpad {
  padding-left: 80px;
  padding-right: 80px;
}

.pad-form {
  padding-right: 40px;
}

.ta-r {
  text-align: right;
}

footer a {
  color: inherit !important;
}

.footer-pad {
  padding: 20px 80px
}

input[type=text], textarea {
  border: 2px solid #54565a;
  width: 100%;
  padding: 5px 5px 20px 5px;
  margin: 0 0 10px 0;

}

textarea {
  height: 120px;
}


@media (min-aspect-ratio: 16/9) {
  #mainvid {
    padding-top:100vh !important;

  }
}
