:root {
    --red: #AB5656;
    --orange: #E0881D;
    --green: #A7C91E;
    --grey: #505050;
}



@font-face {
    font-family: 'lato';
    src: url(fonts/Lato-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'latolight';
    src: url(fonts/Lato-Light.ttf) format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'latomedium';
    src: url(fonts/Lato-Bold.ttf) format('truetype');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'latobold';
    src: url(fonts/Lato-Black.ttf) format('truetype');
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'allura';
    src: url(fonts/Allura-Regular.ttf) format('truetype');
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, .pageWrapper {
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    font-family: lato, sans-serif;
    font-size: 1em;
    font-weight: 200;
    -webkit-animation: fadeIn 2s;
    background: #fff;
    color: var(--grey);
    height: 100%;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mobile, .tablet {
    display: none;
}

.desktop, .fullscreen {
    display: block;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

.row {
    width: 100%;
}

.container-full {
    margin: 0 auto;
    padding: 30px 0;
}

.container > .container {
    padding: 0;
}

.contentWrapper {
    position: relative;
}

.flexbox {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.flex-100 {
    width: 100%;
}

.flex-75 {
    width: 75%;
}

.flex-66 {
    width: 66%;
}

.flex-50 {
    width: 50%;
}

.flex-33 {
    width: 33%;
}

.flex-25 {
    width: 25%;
}

.container .flexbox {
    margin: 0 -15px;
}

.flexItem, .flex_item {
    padding: 15px;
}

.imgList {
    padding: 0;
}

.flexJustify-left {
    justify-content: flex-start;
}

.flexJustify-center {
    justify-content: center;
}

.flexJustify-right {
    justify-content: flex-end;
}

.flexJustify-sb {
    justify-content: space-between;
}

.flexJustify-sa {
    justify-content: space-around;
}

.flexJustify-se {
    justify-content: space-evenly;
}

.flexAlign-start {
    align-items: flex-start;
}

.flexAlign-center {
    align-items: center;
}

.flexAlign-baseline {
    align-items: baseline;
}

.flexAlign-end {
    align-items: flex-end;
}

.flexAlign-strech {
    align-items: stretch;
}

.spaceBetween .flexbox {
    justify-content: space-between;
    padding: 15px;
}

.noFlex {
    width: 100%;
    display: block;
}

.content {
    padding: 50px 0;
}

h1, .h1 {
    font-family: 'latolight';
    font-size: 2.6em;
    margin-bottom: 0;
}

h2, .h2 {
    font-size: 1.8em;
    font-family: 'latomedium';
}
h1, h2, .h1, .h2 {
    text-transform:uppercase;
}

h3 {
    font-family: 'latolight', sans-serif;
    font-size: 1.6em;
}
h1, h2, h3 {
    line-height:1.5em;
}

strong {
    font-family: 'latobold', sans-serif;
}

h1 + h2 {
    margin-top: 30px;
}
.allura {
    font-family: 'allura';
    font-size:2.2em;
}
.red {
    color:var(--red);
}
.green {
    color:var(--green);
}
.orange {
    color:var(--orange);
}
a {
    color: #333;
    transition: all .4s ease;
    text-decoration: none;
    transition: all .4s ease;
}

a.navBtn {
    display: inline-block;
    padding: 10px 20px;
    border: solid 1px #333;
}

a.navBtn:hover, a.navBtn:focus {
    background: #666;
    color: #fff;
}

.header_top a {
    color: #333;
}

a:focus, a:hover {
    color: #666;
}

a, li, p {
    font-size: 1.4em;
    line-height: 1.8em;
    font-weight: 100;
}

.nav li li, li a, p a, span a, label a {
    font-size: 1em;
}

.mobile {
    display: none;
}


.text-center, .align-center {
    text-align: center;
}

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

.text-center ul {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
}

.smallContent {
    max-width: 768px;
}

.text-justify {
    text-align: justify;
}

p.twoCols {
    column-count: 2;
    column-gap: 30px;
}

ul.twoCols {
    column-count: 2;
    column-gap: 30px;
    padding: 0;
    margin: 0 0 0 10px;
}



.txt ul {
    padding: 0  0 0 15px;
}
.txt ul li {
    list-style:none;
    padding-left:20px;
    position:relative;
    font-family: 'latomedium', sans-serif;
}
.txt ul li::before {
    content:'+';
    position:absolute;
    left:0;
    top:0;
}

.email-show::before {
    content: 'info@';
}

.email-show::after {
    content: 'maler-geisler.de';
}

.email-hide {
    display: none;
}

.logo img {
    height:150px;
    width:auto;
    transition:all 0.4s ease;
}
.nav-up .logo img {
    height:80px;
}
.nav-up .logo {
    padding:0 15px;
}
.nav-up .mainNav ul {
    bottom: 15px;
}

.header {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background: #fff;
}

.header .flexbox {
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    padding:15px;
}
.header::after {
    content:'';
    height:8px;
    background:url(../assets/golden-line.png) no-repeat center center;
    background-size:cover;
    position: absolute;
    bottom:0;
    left:0;
    right:0;
}

.menu_btn a {
    display: block;
    width: 30px;
    margin: 10px 0;
}

.menu_btn {
    margin: 15px;
}

.menu_btn a span, .menu_btn a:after, .menu_btn a:before {
    content: '';
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #333;
    /*box-shadow: 2px 2px rgba(0,0,0,0.6); */
    margin: 6px 0;
    display: block;
    transition: all .4s ease;
}

.nav li ul, html.mm-opened .menu_btn a span {
    display: none;
}

html.mm-opened .menu_btn a:before {
    transform: rotate(45deg);
}

html.mm-opened .menu_btn a:after {
    transform: rotate(-45deg);
    margin-top: -9.5px;
}

html.mm-opened .menu_btn a {
    margin-top: 20px;
}

.mainNav ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    position:relative;
    bottom:30px;
}

.mainNav li {
    position: relative;
    list-style: none;
    line-height: 1.4em;
}

.mainNav li a {
    padding: 15px;
    display: inline-block;
    font-family: 'lato', sans-serif;
    font-size:0.8em;
    color: #333;
    font-weight: 300;
    text-transform:uppercase;
}

.mainNav li a:hover, .mainNav li a:focus, .mainNav li.active a, .info a:hover, .info a:focus,  .mainNav li.active .subNav li a:hover {
    text-decoration:underline;
    /*text-shadow: 1px 1px rgba(0,0,0,0.4);*/
}

.mainNav ul.subNav {
    opacity: 0;
    transition: all .4s ease;
    visibility: hidden;
    width:    -moz-fit-content;
    width: -webkit-fit-content;
    width:         fit-content;
    display: block;
    position: absolute;
    left: 0;
    z-index: 500;
    background: rgba(255,255,255,.8);
}

.subNav li a {
    font-size: .7em;
    width:    -moz-fit-content;
    width: -webkit-fit-content;
    width:         fit-content;
    display: block;
    padding: 5px 15px;
}

.mainNav li:hover > ul.subNav, .mainNav li:focus > ul.subNav {
    visibility: visible;
    opacity: 1;
}

.mail, .phone {
    font-weight: 300;
    font-size: 1.2em;
}

/*slider*/
.headSlider, .headSliderSub {
    position: relative;
    overflow: hidden;
}

.headSlider .slick-slider, .headSliderSub .slick-slider {
    margin: 0;
}

.arrowDown {
    width: 50px;
    height: 50px;
    background: url(/custom/assets/arrow-down.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    bottom: 15%;
    z-index: 100;
    cursor: pointer;
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(.95);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(.95);
    }
}

.sliderItem, .parallaxTxt {
    position: relative;
}

.headSliderSub .sliderItem, .sliderItem {
    height: 700px;
    background-size: 100% auto !important;
    margin-top:200px;
}

.sliderItem .flexbox, .parallaxTxt .flexbox {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    justify-content: center;
    align-items: center;
}

.parallaxTxt .flexbox {
    align-items: center;
}

.sliderItem .linkWrapper {
    text-align: center;
    position: relative;
    z-index: 100;
}

.sliderTxt {
    max-width: 50%;
    background: rgba(49,49,49,.7);
    padding: 60px;
    position: relative;
}

.slick-active .sliderTxt {
    -webkit-animation: fadeIn 2s;
            animation: fadeIn 2s;
}

.sliderTxtInner p, .parallaxTxt {
    color: #fff;
    font-family: 'monserrat_bold';
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 1px 1px rgba(0,0,0,.6);
    text-align: center;
    margin: 5px;
    font-weigth: 100;
}


.buttonGrey {
    padding: 15px 30px;
    transition: all .4s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    cursor: pointer;
    /* box-shadow: 2px 2px 6px rgba(0,0,0,0.6); */
}

.buttonGrey {
    color: var(--grey);
    background:#F0EFEF;
    font-family: 'latomedium', sans-serif;
}


.buttonGrey:hover, .buttonGrey:focus {
    color: #F0EFEF;
    background: var(--grey);
}

/*grid gallery*/
.gridWrapper {
    display:grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap:15px 15px;
    margin-bottom:15px;
}
.gridItem img {
    max-width:100%;
    max-height:100%;
    height:100%;
    width:100%;

}
/*contentSlider*/
.sliderContent {
    margin: 100px 0;
}

.contentSliderItem .flex_item {
    width: 50%;
    height: 500px;
    padding: 30px 60px 30px 30px;
}

.fullImg .contentSliderImg {
    height: 500px;
    background-size: 100% auto !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contentSliderLink {
    width: 100%;
}

.fullImg .contentSliderTxt, .fullImg .contentSliderTxt h2, .fullImg .contentSliderTxt h3 {
    color: #fff;
    text-shadow: 1px 1px rgba(0,0,0,.6);
}

.fullImg .contentSliderTxt {
    height: 500px;
    z-index: 100;
    position: relative;
    text-align: center;
}

.contentSliderTxt .flexbox {
    height: 100%;
    align-items: center;
    justify-content: center;
}

.contentSliderTxtInner {
    width: 100%;
}

.contentSliderItem {
    position: relative;
}

.contentSliderItem .nextItem {
    height: 60px;
    width: 30px;
    background: url(/custom/assets/arrow-next.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    right: 30px;
    z-index: 100;
    cursor: pointer;
}

/*content*/

.margin-top-negative {
    margin-top:-160px;
    margin-bottom:60px;
}
#rex-117 .flexbox {
    justify-content:space-between;
}

.contentWrapper .row {
    position: relative;
}

.mapWrapper {
    text-align: center;
    width: 100%;
    position:relative;
}

.mapOverlay {
    position:absolute;
    z-index:10;
    background:rgba(0,0,0,0.8);
    top:0;
    left:0;
    right:0;
    bottom:0;
}
.mapOverlay .flexbox {
    height:100%;
    width:100%;
    position:relative;
    z-index:20;
    justify-content: center;
    align-items: center;
    color:#fff;
}
.map {
    padding:0;
}

/*parallax*/
.parallaxItem {
    height: 600px;
    width: 100%;
    /* background-size:cover !important;
  background-attachment: fixed !important; */
    background-size: 100% auto !important;
    background-position: center bottom !important;
    overflow: hidden;
    position: relative;
}

.parallaxTxt {
    height: 100%;
}

.parallaxTxt h2, .parallaxTxt h3 {
    color: #fff;
}

/*accordion*/
.trigger {
    position: relative;
    cursor: pointer;
}

.trigger h3 {
    margin: 0;
    padding: 15px;
    background: #8daab3;
    color: #fff;
}

.trigger::after {
    content: '';
    height: 25px;
    width: 25px;
    border-bottom: solid 2px #fff;
    border-left: solid 2px #fff;
    transform: rotate(-45deg);
    position: absolute;
    top: 5px;
    right: 15px;
    transition: all .4s ease;
}

.trigger.open:after {
    transform: rotate(135deg);
    top: 25px;
}

.toggle_container {
    width: 100%;
    padding: 30px 15px 15px;
    position: relative;
}

.toggle_container::before {
    content: '';
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));
    position: absolute;
    top: 5px;
    left: 0;
}

/*Video*/
.plyr {
    min-width: 500px;
    margin: 15px;
}

/*fadIn effect*/
.fade-in {
    opacity: 0;
    transform: translateY(20vh);
    visibility: hidden;
    transition: opacity .6s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility;
}

.fade-in.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.yform {
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

input, select, textarea {
    border: none;
}

.control-label {
    padding: 8px 0;
    display: block;
    font-family: 'latolight', sans-serif;
    text-align: left;
    font-size: 1.2em;
    color: var(--grey);
    width: 100%;
}

label {
    font-size: 1.2em;
}

.form-control {
    padding: 10px 15px;
    background: transparent;
    border-radius: 0;
    font-size: 1.2em;
    width: 100%;
    color: var(--grey);
    background: #eee;
}

.yform .btn {
    color: #fff;
    padding: 15px 45px;
    font-size: 1.2em;
    text-transform:uppercase;
    font-weight: 400;
    border: 1px solid var(--green);
    background: var(--green);
    margin: 0 auto;
    cursor: pointer;
    transition: all .4s ease;
    display: inline-block;
}

.btnWrapper {
    text-align: center;
}

.button:hover, .button:focus, .yform .btn:hover, .yform .btn:focus, .yform .qRequest .btn:hover, .yform .qRequest .btn:focus, .yform .btn:hover, .yform .btn:focus {
    background: transparent;
    color: var(--green);
}

.formcheckbox {
    margin-bottom: 15px;
    padding: 0 10px;
}

.imgList.bottomCenterImg {
    justify-content: center;
}

.imgList {
    align-items: center;
}

.listImg img:not([width]) {
    width: 100%;
}

.listImg img {
    display: block;
}

/* .gallery.flexbox {
  justify-content: center;
  align-items: center;
  padding:30px 0;
} */
.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery a {
    display: inline-block;
    padding: 5px 0;
}

.gallery a img {
    display: block;
}

/*footer*/

footer {
    position: relative;
    background:#F0EFEF;
    margin-top:60px;
}
footer::before {
    content:'';
    width:100%;
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:8px;
    background:url(../assets/golden-line.png) no-repeat center center;
    background-size:cover;
}

.footer.container {
    padding: 15px;
}
.footer {
    position: relative;
}
.footer .h1 {
    display:block;
    margin:60px 0;
}

.footer .flex_item {
   text-align:center;
}
.footerNav {
    background:#505050;
}
.footerNav ul {
    margin: 0;
    padding: 0;
    justify-content:center;
    display:flex;
}

.footerNav ul li  {
    padding: 0;
}
.footerNav ul li a {
    color:#999;
    line-height:0.8em;
    font-size:0.8em;
    padding:0 10px;
    display:block;
    font-family: 'lato', sans-serif;
    text-transform:uppercase;
}
.footerNav ul li:first-child  {
    border-right:1px solid #999;
}

.footerNav ul li a:hover, .footerNav ul li a:focus {
    color:#fff;
}
.rex-navi1 li {
    list-style: none;
}

.copyWrapper {
    text-align: center;
    padding:0;
}

.copyWrapper p {
    margin: 0;
    font-size: 1em;
    font-weight: 100;
}

/*mediaqueries*/
@media screen and (max-width:1600px) {
    .headSliderSub .sliderItem, .sliderItem {
        background-size:cover !important;
    }

}

@media screen and (max-width:1350px) {
    body {
        font-size: 1em;
    }
     .headSliderSub .sliderItem, .sliderItem {
         height:500px;
     }

    .container {
        width: 100%;
        max-width: 1200px;
    }

    .container .flexbox {
        margin: 0;
    }

    .header_top .container {
        max-width: 100%;
    }

    .parallaxItem {
        height: 500px;
    }
}

@media screen and (max-width:1200px) {
    .headSliderSub .sliderItem, .sliderItem {
        height: 500px;
    }

    .control-label {
        padding: 11px 0;
    }
    .margin-top-negative .flexbox {
       flex-wrap:nowrap;
    }
    .margin-top-negative .images {
        width:33%;
    }
        .margin-top-negative .images img {
        width:100%;
        height:auto;
    }

}

@media screen and (max-width:1024px) {
    .fullscreen {
        display: none;
    }

    .tablet {
        display: block;
    }

    .mainNav li a {
        padding: 15px 10px;
    }

    .headSliderSub .sliderItem, .sliderItem, .parallaxItem {
        margin-top:150px;
    }
    .allura {
        font-size:1.8em;
    }

    .info span {
        display: block;
    }
    .logo img {
        height:80px;
    }

    .fullImg .contentSliderImg {
        background-size: cover !important;
    }

    .flex-50 {
        width: 75%;
    }

    .flex-75 {
        width: 100%;
    }

    .formWrapper .flex_item {
        width: 33%;
    }

    .formcheckbox label {
        margin-left: 0;
    }

    .headline {
        font-size: 2em;
    }

    .footer .flex_item {
        width: 50%;
    }

    .navFooter {
        width: 100%;
    }

    .navFooter ul {
        display: flex;
    }
}

@media screen and (max-width:768px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    .header_top {
        position: absolute;
    }
    .margin-top-negative {
        margin-top:-120px;
        text-align:center;
    }
    .allura {
        font-size:1.2em;
    }
    p, li, a {
        /* font-size: 1em; */
    }

    h1, h2 {
        font-size: 2.2em;
    }

    h1 + h2 {
        font-size: 1.2em;
    }

    .subNav li a {
        font-size: 1.1em;
        padding: 10px 15px;
    }

    .rex-yform {
        padding: 15px 0;
    }

    .control-label {
        width: 30%;
    }

    .flex-33 {
        width: 50%;
    }

    .gallery {
        justify-content: center;
    }

    .contentWrapper {
        margin: 30px auto 0 auto;
    }

    .contentImg {
        width: 100%;
    }

    .headSliderSub .sliderItem, .sliderItem, .parallaxItem {
        height: 350px;
    }

    .fullImg .contentSliderTxt {
        background: linear-gradient(135deg, rgba(86,119,129,.37) 0%,rgba(86,119,129,.38) 1%,rgba(141,170,179,1) 100%);
        text-shadow: none;
    }

    .contentSliderItem .flex_item, .fullImg .contentSliderImg, .fullImg .contentSliderTxt {
        width: 100%;
        height: 350px;
        position: relative;
    }

    .gallery .listImg img {
        max-width: 100%;
    }

    .info {
        font-size: .9em;
    }

    .formWrapper {
        justify-content: center;
    }

    .formWrapper .flex_item {
        width: 75%;
        padding: 0 15px;
    }

    .yform {
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    .logo img {
        max-width: 300px;
    }
    .h1, h1 {
        font-size:2.2em;
    }
    h2, .h2 {
        font-size:1.8em;
    }

    .headerBg {
        height: 120px;
    }

    .flex-50 {
        width: 100%;
    }

    ul.twoCols {
        column-count: 1;
    }

    .form-group {
        flex-wrap: wrap;
    }

    .form-control, .control-label, .form-control.datepicker {
        width: 100%;
    }

    .control-label {
        padding: 5px 0;
        text-align: left;
    }

    .rex-yform .btn {
        margin-left: 0;
    }

    .info, .margin-top-negative {
        display: none;
    }

    .headSliderSub .sliderItem, .sliderItem {
        height: 300px;
    }

    .formWrapper .flex_item {
        width: 100%;
    }

    .contentSliderItem .flex_item, .fullImg .contentSliderImg, .fullImg .contentSliderTxt {
        height: 500px;
    }

    .footer .flex_item {
        width: 100%;
        padding: 0 15px;
    }
}

@media screen and (max-width:500px) {
    .flex-33 {
        width: 100%;
    }
     .h1, h1 {
        font-size:1.8em;
    }
    h2, .h2 {
        font-size:1.5em;
    }
    .navFooter ul {
        justify-content: center;
    }
    .consent_manager-show-box-reload  {
        font-size:0.9em;
        margin:0 15px;
    }
}
