@import "_variables.css";

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box; /* safari 3 needs this */
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    border: 0px;
    color: #707070;
    letter-spacing: 0.15em;
}

body {
    font-family: var(--main-fontfamily);
    /*background: url("../img/bg.jpg") no-repeat center center fixed;
    font-size: @baseFontSize;
    font-family: @baseFontFamily;
    line-height: @baseLineHeight;
    text-align:center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/
    font-size: var(--main-fontsize);
    line-height: var(--main-lineheight);
}

h1, h2, h3, h4 {
  color: #707070;
  font-family: var(--head-fontfamily);
  font-weight: normal;
}

h1 {
  text-transform: uppercase;
    /* font-size: 30px; */
    font-family: var(--main-fontfamily);
    font-size: 1.667em;
    font-weight: 100;
    line-height: 1.3em;
    margin: 0 0 15px;
}

h2 {
  font-size: 28px;
  line-height: 40px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h3 {
  font-size: 26px;
  line-height: 38px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h4 {
  font-size: 20px;
  line-height: 26px;
  margin: 0 0 10px;
}

p {
  margin-bottom: 15px;
}

a {
    /*color: var(--main-color);*/
    color: #707070;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#contentWrap a {
    text-decoration: underline;
}
/* -- spacing -- */
.spaceBefore-extra-small {
    margin-top: 40px;
}

.spaceBefore-small {
    margin-top: 75px;
}

.spaceBefore-medium {
    margin-top: 100px;
}

.spaceBefore-big {
    margin-top: 125px;
}

.spaceBefore-extra-big {
    margin-top: 160px;
}

.spaceAfter-extra-small {
    margin-bottom: 40px;
}

.spaceAfter-small {
    margin-bottom: 75px;
}

.spaceAfter-medium {
    margin-bottom: 100px;
}

.spaceAfter-big {
    margin-bottom: 125px;
}

.spaceAfter-extra-big {
    margin-bottom: 160px;
}
/* -- // spacing -- */

a:hover {
    color: var(--main-color);
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.link i {
    cursor:pointer;
}
.more_link {
    cursor: pointer;
    font-size: 0.778em;
    text-decoration: none !important;
    text-transform: uppercase;
    padding: 0 0 0 33px;
    position: relative;
}

.more_link:before {
    color: var(--main-color);
    content: "\e801";
    font-family: asd;
    left: 0;
    position: absolute;
    top: -3px;
}

.table {
    display: table;
    height: 100%;
    width: 100%;
    vertical-align: middle;
}

.table-cell {
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
}

/* -------- Elemente --------*/
#scrolling {
    background-color: #fff;
    border: 1px solid #C1A468;
    bottom: 10px;
    height: 30px;
    line-height: 25px;
    position: fixed;
    right: 10px;
    text-align: center;
    width: 30px;
    z-index: 999999999;
    opacity: 0.6;
}

#scrolling:hover {
    opacity: 1;
}

#scrolling span {
    color: var(--main-color);
}

#scrolling span:before {
    color: var(--main-color);
    font-size: 14px;
    position: relative;
    -webkit-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    top: 2px;
    transform: rotate(-90deg);
}


/* -------- // Elemente --------*/
#page {
  float: left;
  width: 100%;
}

.wrap {
  position: relative;
  float: left;
  width: 100%;
  padding: 0px 50px;
}

.centerIt {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  position: relative;
}

#page {
  padding-top:125px;
  padding-bottom: 24px;
}
/* -------- header --------*/

/* -------- menu --------*/
#menu {
    float: left;
    position: relative;
    width: 100%;
    margin-top: 22px;
}

#menu ul {
    position: relative;

    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#menu ul li {
    display: inline-block;
    position: relative;
}

#menu ul li a {
    color: var(--second-color);
    display: block;
    padding: 14px 10px;
    position: relative;
    text-transform: uppercase;
    font-size: 1.389em;
}

#menu ul li:first-child a {
    padding-left: 0;
}

#menu ul li:last-child a {
    padding-right: 0;
}

#menu ul li.active a,
#menu ul li a:hover {
  color: var(--main-color);
}

@media (max-width: 1100px) {
    #menu ul li a {
        font-size: 1.1em;
    }
}

@media (max-width: 767px) {
    #menu ul li a {
        font-size: 0.8em;
    }
}


/* -------- // menu --------*/

/* -------- sticky header -------- */
/*#page.stick #headerWrap {
    position: fixed;
}
*/
#page #scrolling {
    display: none;
}
#page.stick #scrolling {
    display: block;
}
/* -------- ENDE sticky header -------- */

/* -------- responsive --------*/
img,
audio,
video,
embed {
  max-width:100%;
  width:auto;
  height:auto;
}

.elastic {
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;
}
.elastic iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* -------- // responsive --------*/

/* -------- Header --------*/
#headerWrap {
    background-color: #fff;
    border-bottom: 1px solid #707070;
    padding-bottom: 20px;
    padding-top: 38px;
    position: fixed;
    top: 0;
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header {
    float: left;
    position: relative;
    text-align: center;
    width: 100%;
}

@media (max-width: 880px) {
    #headerWrap {
        padding-top: 20px;
    }
}

@media (max-width: 845px) {
    #header .open-panel i {
        left: -11px;
    }
}

@media (max-width: 648px) {
    #header {
        padding: 0 130px 0 74px;
    }
}

@media (max-width: 630px) {
    #languageSelect {
        top: 23px;
        font-size: 0.8em;
    }

    #header {
        padding-right: 110px;
    }
}

@media (max-width: 450px) {
    #header {
        padding-left: 49px;
    }

    #header .open-panel i {
        left: -21px;
    }
}

#languageSelect {
    top: 70px;
    position: fixed;
    right: 50px;
}

@media (max-width: 880px) {
    #languageSelect {
        top: 35px;
    }
}

@media (max-width: 845px) {
    #languageSelect {
        right: 20px;
    }
}

@media (max-width: 630px) {
    #languageSelect {
        top: 23px;
        font-size: 0.8em;
    }
}

@media (max-width: 550px) {
    #languageSelect {
        top: 16px;
    }
}



#languageSelect ul {
    position: relative;
}

#languageSelect ul li {
    display: inline-block;
    position: relative;
}

#languageSelect ul li:after {
    content: "|";
}

#languageSelect ul li:first-child:after {
    display: none;
}

#languageSelect ul li:last-child:After {
    content: "";
}

#languageSelect ul li a {
    display: inline-block;
    padding: 10px 4px;
    position: relative;
    color: #707070;
    font-size: 1.111em;
    text-decoration: none;
}

#languageSelect ul li.active a span {
    color: var(--main-color);
}

#languageSelect ul li:hover a span {
    font-weight: bold;
}
@media (max-width: 1170px) {
    #languageSelect ul li:first-child {
        display: none;
    }
}

@media (max-width: 950px) {
    #languageSelect ul li:after {
        display: none;
    }
}
/* -------- // Header --------*/

/* -------- Content --------*/
#contentWrap {
  float: left;
  position: relative;
  width: 100%;
}

#page.main-page #contentWrap {
    padding: 0 0 50px;
}

#content {
  float: left;
  position: relative;
  width: 100%;
}

#contentLeft {
    float: left;
    min-height: 1px;
    padding: 0 53px 0 101px;
    position: relative;
    width: 37.4%;
}

#contentRight {
    float: left;
    min-height: 1px;
    position: relative;
    width: 62.6%;
}
/* -------- // Content --------*/

/* -------- Footer --------*/
#footerWrap {
  position: fixed;
  text-transform: uppercase;
  z-index: 1111;
  background-color: #fff;
  bottom: 0;
  padding-bottom: 10px;
  padding-top: 10px;
}

#footerWrap a,
#footerWrap div,
#footerWrap p,
#footerWrap ul,
#footerWrap li {
  font-size: 12px;
}

#footerWrap div {
    position: relative;
    text-transform: uppercase;
}

#footer {
    position: relative;
}

#footerLeft {
    float: left;
    position: relative;
}

#footerRight {
    float: right;
    position: relative;
}

#footerWrap ul li {
    display: inline-block;
    padding-left: 15px;
}
/* -------- // Footer --------*/

/* -------- textmedia --------*/
.frame-type-textmedia {
    padding-top: 60px;
    /*margin-top: -7px;*/
}
/* -------- // textmedia --------*/

/* -------- owl --------*/
.owl-dots {
    position: absolute;
    bottom: 19px;
    width: 100%;
    text-align: center;
}

#contentRight .owl-dots {
    bottom: 14px;
    width: auto;
    text-align: center;
    right: 22px;
}

.owl-dots .owl-dot {
    margin: 0 7.5px;
}

.owl-dots .owl-dot span {
  border: 1px solid #fff;
  display: block;
  height: 15px;
  width: 15px;
}

.owl-dots .owl-dot.active span {
  background-color: #fff;
  border: 1px solid #fff;
  display: block;
  height: 15px;
  width: 15px;
}
/* -------- // owl --------*/

/* -------- Slider --------*/
#bannerWrap {
    overflow: hidden;
}
#banner .typeWrap-mask_slider {
    margin-left: -50px;
    margin-right: -50px;
}

.typeWrap-mask_slider img {
    float: left;
    width: 100%;
}

.typeWrap-mask_slider .imgCol.platzhalterTextInside {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.typeWrap-mask_slider .imgCol .textBox {
    text-align: center;
    text-transform: uppercase;
}

.typeWrap-mask_slider .imgCol .textBox span {
    border-bottom: 1px solid #B89457;
    display: inline-block;
    padding: 0 5px;
    font-size: 1.667em;
    line-height: 1.5em;
}

@media (max-width: 1300px) {
    .typeWrap-mask_slider .imgCol .textBox span {
        font-size: 1.9vw;
    }
}

@media (max-width: 1024px) {
    .typeWrap-mask_slider .imgCol .textBox span {
        font-size: 1.7vw;
    }
}

@media (max-width: 900px) {
    .typeWrap-mask_slider .imgCol .textBox span {
        font-size: 2.9vw;
    }
}

.typeWrap-mask_slider .imgCol {
    float: left;
    margin-top: 1.6%;
}

.typeWrap-mask_slider .imgCol .item {
    float: left;
    position: relative;
}

.typeWrap-mask_slider .imgCol.anordnung-1 .item {
    width: 64.8%;
}

.typeWrap-mask_slider .imgCol .item:first-child:before {
    content: "";
    width: 1.6%;
    display: block;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    right: 0;
}

.typeWrap-mask_slider .imgCol .item:nth-child(2):before {
    content: "";
    width: 1.6%;
    display: block;
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    left: 0;
}
.typeWrap-mask_slider .imgCol.anordnung-1 .item:nth-child(2) {
    /*margin-left: 1.6%;*/
    width: 35.2%;
}

.typeWrap-mask_slider .imgCol.anordnung-2 .item {
    width: 35.2%;
}
.typeWrap-mask_slider .imgCol.anordnung-2 .item:nth-child(2) {
    width: 64.8%;
}
.typeWrap-mask_slider .imgCol .item img {
    float: left;
    position: relative;
    width: 100%;
}

.typeWrap-mask_slider {
    /*display: flex;
    flex-wrap: wrap;*/
}
.typeWrap-mask_slider .textWrap {
    background-color: #E6E6E6;
}

.imgCopyright {
    display: block;
    float: left;
    font-size: 0.667em;
    text-align: right;
    text-transform: uppercase;
    width: 100%;
    padding: 5px 10px;
    letter-spacing: 0.5em;
}
/* -------- // Slider --------*/

/* -------- iconNavi --------*/
.frame-type-mask_iconnav {
    float: left;
    margin: 86px 0 34px;
    position: relative;
    width: 100%;
}
.frame-type-mask_iconnav.ausrichtung-2 .itemWrap {
    position: relative;
    text-align: right;
}

.frame-type-mask_iconnav .item {
    display: inline-block;
    margin: 0 0 0 6px;
}

.frame-type-mask_iconnav .item i {
    color: var(--main-color);
    font-size: 2.833em;
}

.frame-type-mask_iconnav .item i:before {
    width: auto;
}
.frame-type-mask_iconnav-text.text,
.frame-type-mask_iconnav .item .text {
    display: none;
    position: absolute;
    z-index: 1000000000000000;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(255,255,255,0.87);
    padding: 10px 50px;
}

.frame-type-mask_iconnav-text p {
    font-size: 1.667em;
    line-height: 1.3em;
    margin-bottom: 42px;
}

.frame-type-mask_iconnav-text.text p:last-child,
.frame-type-mask_iconnav .item .text p:last-child {
    margin-bottom: 0;
}

.icon-1 p {
    font-size: 85px;
    font-size: 4.722em;
}

@media (max-width: 767px) {
    .frame-type-mask_iconnav .item i {
        font-size: 1.833em;
    }

    .frame-type-mask_iconnav {
        margin-top: 6vw;
    }
}

/* ---------- typeWrap-mask_team ---------- */

.typeWrap-mask_team .bgOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 22;
    background: rgba(255,255,255,0.9);
    width: 100%;
    right: 0;
    bottom: 0;
    overflow: scroll;
}

.typeWrap-mask_team.active .bgOverlay {
    display: block;
}

.typeWrap-mask_team .hiddenContent {
    position: relative;
    width: 100%;
    margin: 180px auto;
    bottom: 0;
    max-width: 1160px;
    padding: 0 20px;
}

.typeWrap-mask_team .closeBtn {
    background-color: #93939B;
    color: #fff;
    cursor: pointer;
    width: 37px;
    height: 37px;
    line-height: 31px;
    padding: 0 12px;
    position: absolute;
    right: 0;
    font-size: 25px;
}

.typeWrap-mask_team .item {
    display: inline-block;
    font-size: 0.889em;
    padding: 0 0 60px;
    vertical-align: top;
    width: 33.333%;
}

.typeWrap-mask_team .item .textArea {
    line-height: 21px;
}

#contentWrap .typeWrap-mask_team .item .textArea a {
    text-decoration: none;
}
@media (max-width: 1111px) {
    .typeWrap-mask_team .item {
        text-align: center;
        width: 50%;
    }
}

@media (max-width: 786px) {
    .typeWrap-mask_team .item {
        width: 100%;
    }
}
/* ---------- // typeWrap-mask_team ---------- */

@media (max-width: 1180px) {
    .icon-1 p {
        font-size: 7vw;
    }
}

@media (max-width: 620px) {
    .icon-1 p {
        font-size: 5vw;
    }
}
/* -------- // iconNavi --------*/
@media (max-width: 1175px) {
    #contentLeft {
        padding-left: 51px;
    }

    #navigation ul {
        padding-left: 35px;
    }
}

@media (max-width: 1024px) {
    #contentLeft {
        width: 50%;
    }

    #contentRight {
        width: 50%;
    }
}

@media (max-width: 900px) {
    #contentLeft,
    #contentRight {
        width: 100%;
    }

    #contentRight {
        margin-top: 50px;
    }
}

@media (max-width: 880px) {
    #logo img {
        width: 360px;
    }
}

@media (max-width: 845px) {
    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    #footerWrap {
        padding-right: 50px;
    }
}

@media (max-width: 550px) {
    #logo img {
        width: 250px;
    }

    a.open-panel, a.close-panel {
      display: inline;
      float: left;
      margin-top: -8px;
  }
}

@media (max-width: 430px) {
    #logo img {
        width: 200px;
    }
}

@media (max-width: 360px) {
    #logo img {
        width: 150px;
    }
}

@media (max-width: 265px) {
    #logo img {
        width: 50%;
    }
}