/*********************************************************************************

	Template Name: Reyes Bootstrap4 Template
	Version: 1.0


**********************************************************************************/

* {
  outline: 0;
  scroll-behavior: smooth;
}

.header.header-1 .cleaning-btn,
.header.header-1 .header-btn { margin-left: 0; }

.header-1.portfolio-header .header-btn .cln-btn {
  background: #b89841;
  border-color: #b89841;
  text-transform: uppercase;
}

.page-content.expose { padding-top: 180px; }

@media screen and (max-width: 480px) {
  .wrapper { padding-top: 5em; }
}


/* images */

.header-1.header--static .logo a { display: block; }
.header-1.header--static .logo a img {
  max-width: 100%;
  max-height: 100%;
}

@media screen and (max-width: 990px) {
  .header-1.header--static .logo a.logo-desktop { display: none; }
  .header-1.header--static .logo a.logo-mobil { display: block; }
}
@media screen and (min-width: 991px) {
  .header-1.header--static .logo a.logo-mobil { display: none; }
  .header-1.header--static .logo a.logo-desktop {
    display: block;
    width: 180px;
    height: auto;
    line-height: inherit;
  }

  header {
    position: absolute;
    z-index: 999;
    left: 10%;
    padding: 1em 2em;
    background: #fff;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.1);
    border-radius: 0 0 3px 3px;
    transition: all .4s ease-in;
  }
  header:hover { opacity: .8; }
}

.ht-mega-slider { overflow: hidden; }

.ht-slide.slider-style-1 { position: relative; }
.ht-slide.slider-style-1 .ce-image {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.ht-slide.slider-style-1 .ce-image > figure {
  width: 100%;
  height: 100%;
}
.ht-slide.slider-style-1 .ce-image > figure > img {
  object-fit: cover;
  object-position: 50%;
}

.hg-mauer {
  background: url('../images/mauer-hintergrund.jpg');
  /*background-size: contain;*/
}
.hg-holz {
  background: url('../images/holz-hintergrund.jpg');
  /*background-size: contain;*/
}


/* header */
@media screen and (max-width: 767px) {
  .mean-container .mean-nav ul { margin-bottom: 1em; }
}
@media screen and (max-width: 479px) {
  .container {
    width: 100%;
    padding: 0 2em;
  }
  .header.header-1 {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.1);
  }
  .header.header-1 .container { padding: 0; }
  .header.header-1 .logo {
    margin: 1em 0;
    text-align: left !important;
    padding-left: 1em;
  }
  .header--static .mobile-menu .mean-bar .meanmenu-reveal,
  .header--static .mean-container a.meanmenu-reveal.meanclose { top: -65px; }
  .header.header-1 .header-btn { margin: 0 auto; }

  .page-content.expose { padding-top: 250px }
}
@media screen and (max-width: 380px) {
  .header.header-1 .logo { width: 70%; }
}


.bg_image--61 { background-image: url('../img/wohnungen-braunschweig-zentrum-erstbezug.jpg'); }

.portfolio-aboutme .thumb { display: block; width: 90%; }
.portfolio-aboutme .thumb::before { display: none; visibility: hidden; }
.portfolio-aboutme .thumb img { width: 100%; height: auto; }

@media screen and (max-width: 380px) {
  .portfolio-aboutme .thumb { width: 100%; }
}


/* galerien */
.masonry-wrap { height: auto !important; }

.masonary-item {
    margin-top: 30px !important;
    position: inherit !important;
    top: 0 !important;
    left: 0 !important;
}
.video-img-link .img-popup {
  position: relative;
  display: block;
  overflow: hidden;
}
.image-grid-style-2 .thumb span,
.video-img-link .img-popup span {
  position: relative;
  display: block;
  z-index: 2;
}
  .video-img-link .img-popup span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
  }
  .video-img-link .img-popup span h3 {
    color: #fff;
    position: relative;
    z-index: 6;
    top: 50%;
    margin-top: -20%;
  }
  .image-grid-style-2 .thumb span::before,
  .video-img-link .img-popup span::before {
    width: 90%;
    height: 90%;
    position: absolute;
    overflow: hidden;
    top: 5%;
    left: 5%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: translate(460px, -100px) rotate(180deg);
    transform: translate(460px, -100px) rotate(180deg);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    content: "";
    z-index: 1;
  }
  .image-grid-style-2 .thumb span img,
  .video-img-link .img-popup img {
    display: block;
    position: relative;
    -webkit-transition: all .4s linear;
    transition: all .4s linear;
    width: 100%;
  }

.image-grid-style-2:hover .thumb span::before,
.video-img-link .img-popup span::before {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}
  .video-img-link .img-popup:hover span::before,
  .video-img-link .img-popup:hover h3 {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
  }
  .image-grid-style-2:hover .thumb span img,
  .video-img-link .img-popup:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

.image-grid-style-2.gardening-gallery .thumb span::before,
.video-img-link .img-popup span::before { background-color: rgba(184,152,65,0.6); }

.image-grid-style-2.gardening-gallery .image-grid-content,
.image-grid-style-2.gardening-gallery .image-grid-content .hover-action,
.image-grid-style-2.gardening-gallery .image-grid-content .hover-action ul,
.image-grid-style-2.gardening-gallery .image-grid-content .hover-action ul li,
.image-grid-style-2.gardening-gallery .image-grid-content .hover-action ul li .img-popup {
  width: 100%;
  height: 100%;
}
  .video-img-link .img-popup i {
    width: 50px;
    border: 2px solid #fff;
    color: #fff;
    height: 50px;
    line-height: 46px;
    border-radius: 100%;
    font-size: 24px;
    margin-bottom: .5em;
  }
  .image-grid-style-2.gardening-gallery .image-grid-content .hover-action ul li .img-popup { display: block; }
  .image-grid-style-2.gardening-gallery .image-grid-content .hover-action ul li a i {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -25px 0 0 -25px;
  }

.mfp-zoom-out-cur .mfp-image-holder .mfp-close { cursor: pointer; }

/*.mfp-counter { display: none; }*/


/* colors */
.ht-slide.slider-style-1 .hero-portfolio.content h2,
.ht-slide.slider-style-1 .hero-portfolio.content h1,
.ht-slide.slider-style-2 .hero-agency.content h1,
.ht-slide.slider-style-2 .hero-agency.content h2,
.portfolio-aboutme .content h4,
.agency-benefits .content h2,
.section-title--2.agency-title h2,
.section-title--7 h2,
.post-carousel-4 .ptc-content .content .post-btn a.readmore-btn,
.content h2,
.service-2.agency-service .content a.readmore_btn,
.post-carousel-4 .ptc-content .content h2 a:hover,
.post-carousel-4 .ptc-content .content h2 a:focus,
.header-1.header--static .mainmenu_nav .mainmenu > li:hover a,
.header-1.header--static .mainmenu_nav .mainmenu > li:focus a,
.header-1.header--static .mainmenu_nav .mainmenu > li > a:hover,
.header-1.header--static .mainmenu_nav .mainmenu > li > a:focus,
.header-1.header--static .mainmenu_nav .mainmenu > li.active > a { color: #b89841; }

.post-carousel-4 .ptc-content .content .post-btn a.readmore-btn,
.service-2.agency-service .content a.readmore_btn,
.post-carousel-4 .ptc-content .content .post-btn a.readmore-btn:hover,
.post-carousel-4 .ptc-content .content .post-btn a.readmore-btn:focus { border-color: #b89841; }

.post-carousel-active-4.portfolio-blog .slick-dots li.slick-active button,
.form-style-3.portfolio-contact form input[type="submit"],
#scrollUp,
.service-2.agency-service .content a.readmore_btn:hover,
.service-2.agency-service .content a.readmore_btn:focus { background: #b89841; }

.form-style-3.portfolio-contact form input[type="submit"]:hover {
  background: #000;
  color: #fff;
}

.fancybox-slide--video .fancybox-content,
.service-2.agency-service { background: #fff; }

a { color: #8c8c8c; }
a:hover, a:focus,
.post-carousel-4 .ptc-content .content h2 a,
.post-carousel-4 .ptc-content .content .post-btn a.readmore-btn:hover,
.post-carousel-4 .ptc-content .content .post-btn a.readmore-btn:focus,
.header-1.header--static .mainmenu_nav.with-mega-menu li.drop .mega-menu .item li a:hover,
.header-1.header--static .mainmenu_nav.with-mega-menu li.drop .mega-menu .item li a:focus { color: #000; }




/* font styles */
b, strong { font-weight: 500; }

.ht-slide.slider-style-1 .hero-portfolio.content h2 {
  line-height: 1em;
  margin-bottom: .2em;
}

.ht-slide.slider-style-1 .hero-portfolio.content p,
.ht-slide.slider-style-2 .hero-agency.content p,
.portfolio-aboutme .content span,
.service-1 .content h4,
.construction-gallery-menu button,
.post-carousel-4 .ptc-content .content h2,
.form-style-3 form input[type="submit"],
div[class*="section-title--"] span,
.section-history h4,
.medical-tab-content .content h4,
.ht-tab-nab-5 a,
.section-title--2 p, .section-title--2 h3,
.section-title--7 p, .section-title--7 h3,
.content h3 {
  font-family: "Merriweather", serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: .25em;
  text-transform: uppercase;
}
  .ht-slide.slider-style-1 .hero-portfolio.content p,
  .ht-slide.slider-style-2 .hero-agency.content p { font-size: 16px; }

  .content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #b89841;
    line-height: 1.1;
  }
  .content h3,
  .section-title--7 h3 {
    font-size: 18px;
    margin-bottom: 2em;
  }
  div[class*="section-title--"] h2 {
    line-height: 1em;
    margin-bottom: 10px;
  }
  div[class*="section-title--"] span {
    font-size: 18px;
    color: #000;
  }
  .section-history h4,
  .medical-tab-content .content h4 {
    color: #333;
    font-size: 18px;
  }
  .section-history p,
  .section-history ul li {
    /*text-align: justify;*/
    font-size: 14px;
    line-height: 26px;
  }

.quellenangabe {
  font-size: 50%;
  color: #8c8c8c;
  font-family: "Merriweather", serif;
  letter-spacing: .05em;
}


/* tabs */
.tab-navigation, .tab-content { display: inline-block; }

.ht-tab-nab-height { justify-content: flex-start; }
.ht-tab-nab-5.medical-tab a.active { background: #b89841; }
.nav-link { padding: .5rem 2rem .5rem 1rem; }
.ht-tab-nab-5 a {
  text-align: right;
  font-size: 12px;
}
  @media screen and ( max-width: 990px ) {
    .ht-tab-nab-height { margin-bottom: 40px; }
    .ht-tab-nab-5 a { text-align: center; }
  }


/* liste und tabelle */
.medical-tab-content .content ul {
  list-style-position: outside;
  list-style-type: none;
  padding: 0;
  margin-bottom: 11px;
}
  .medical-tab-content .content table {
    width: auto; table-layout: auto;
    border-bottom-color: #e3e3e3;
  }
  .medical-tab-content .content ul li,
  .medical-tab-content .content table td {
    color: #464646;
    font-size: 14px;
    line-height: 26px;
  }
  .medical-tab-content .content table tr td {
    padding: .5em 1em; }

  .medical-tab-content .content table tr td.table-headline,
  .medical-tab-content .content table tr td:nth-of-type(2) { font-weight: 500; }

  .medical-tab-content .content table tr td.table-headline {
    background: #b89841;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .2em;
  }
  .medical-tab-content .content .fa { margin-right: 1em; }


/* formular */
.form-style-3 form input[type="submit"] { line-height: 57px; }
.section-contact .wichtig,
.section-contact .form-style-3 form .wichtig input {
  height: 0px;
  width: 0px;
  border-bottom: none;
}

.g-recaptcha { margin-top: 1em; }


/* footer */
.copyright.copyright-4 .content p { margin-top: 5px; }

.footer-socialmedia {
  display: inline-block;
  vertical-align: text-bottom;
  margin-left: 1em;
}
  .footer-socialmedia img {
    height: 20px;
    width: auto;
    transition: all .4s ease-in;
  }

  .footer a { transition: all .4s ease-in; }
  .footer a:hover, .footer a:focus { opacity: .6; }

  .footer .logo a img { max-width: 300px; height: auto; }


/* expose seite */

.carousel-indicators {
  bottom: auto;
  top: 103%;
}
  .carousel-indicators li { width: 15%; }

  @media screen and (max-width: 480px) {
    .carousel-indicators li { width: 25%; }
  }


/* startseite angebote */

.post-carousel-4 .post-carousel-flex { margin-bottom: 3em; }

.post-carousel-4 .post-carousel-flex .thumb { position: relative; }

.post-carousel-4 .post-carousel-flex .thumb a img {
  height: auto;
  position: relative;
}

.post-carousel-4 .post-carousel-flex .thumb .expose-status {
  position: absolute;
  z-index: 99;
  top: 2em;
  left: 0;
  background: rgba(255,255,255,.8);
  padding: .5em 1em .45em;
  font-size: .75em;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1em;
  border: solid #fff;
  border-width: 1px 1px 1px 0;
  font-weight: 500;
}

.post-carousel .ptc-content .content ul { display: block; }
.post-carousel-4 .ptc-content .content ul.meta li {
  font-weight: 300;
  color: #000;
}
.post-carousel-4 .ptc-content .content ul.meta li > i,
.modalDialog ul li > i {
  width: 25px;
  padding: 0;
  margin-right: .5em;
  text-align: center;
}

.post-carousel-4 .ptc-content .content p {
  min-height: 50px;
  color: #000;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .post-carousel-4 .post-carousel-flex .ptc-content { padding: 2em 1em; }
}
@media screen and (max-width: 1024px) {
  .post-carousel-4 .post-carousel-flex .ptc-content { padding: 2em 1.5em; }
  .post-carousel-4 .ptc-content .content h2 { letter-spacing: .1em; }
}

/* angebote popup */

.modalDialog {
  position: fixed;
  width: 100%;
  height: 100%;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}
  .modalDialog:target {
    opacity:1;
    pointer-events: auto;
  }
  .modalDialog > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 4em auto;
    min-height: 1em;
    max-height: 96vh;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    width: 95vw;
    max-width: 1600px;
    background: white;
    box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
    color: #000; /*#818181;*/
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    font-family: "Montserrat", sans-serif;
  }
  /* Hide scrollbar for Chrome, Safari and Opera */
  .modalDialog > div::-webkit-scrollbar { display: none; }

    .close-button {
      position: absolute;
      z-index: 1;
      top: 2em;
      right: 2em;
      border: 0;
      background: #b89841;
      color: #fff !important;
      padding: .2em 1em 0;
      font-size: 0.75em;
      font-family: "Poppins", sans-serif;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: .1em;
      transition: all .2s ease-in;
      border: 1px solid #fff;
    }
    .close-button:hover {
      background: #fff;
      color: #b89841 !important;
      border: 1px solid #b89841;
    }

  .expose-infos,
  .expose-bilder {
    display: inline-block;
    vertical-align: middle;
    width: 60%;
    box-sizing: border-box;
    padding: 1em;
  }
  .expose-infos {
    width: 40%;
    padding: 1em 2em;
  }
  .expose-infos h2 {
    line-height: 1.2em;
    margin-bottom: 0;
  }

  .expose-list-map {
    display: flex;
    /*flex-wrap: wrap;*/
    margin-bottom: 1em;
  }
  .google-map {
    width: 50%;
    height: 200px;
    border: 1px solid #e1e1e1;
    margin-right: 2em;
  }
  .google-map iframe {
    max-width: 100%;
    height: 100%;
  }

  .modalDialog ul {
    list-style: none;
    padding: 0;
    margin: 0 -14px 10px -5px;
  }

  .expose-kontakt {
    display: flex;
    flex-wrap: wrap;
    /*align-items: center;
    justify-content: space-evenly;*/
  }
  .expose-readmore-btn,
  a.expose-readmore-btn:not([href]):not([tabindex]) {
    background: #b89841;
    color: #fff;
    padding: .1em 2em;
    margin-bottom: 1em;
    margin-right: 1em;
    font-size: 1em;
    line-height: 2em;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .1em;
    transition: all .2s ease-in;
    border: 1px solid #b89841;
    display: block;
    text-align: center;
  }
  .expose-readmore-btn:hover,
  .expose-readmore-btn:visited,
  .expose-readmore-btn:focus,
  a.expose-readmore-btn:not([href]):not([tabindex]):hover,
  a.expose-readmore-btn:not([href]):not([tabindex]):focus {
    background: #fff;
    color: #b89841;
    cursor: pointer;
  }
  .expose-readmore-btn.telefon-nr { display: none; }

  .expose-bilder {
    position: relative;
  }
    .expose-bilder img {
      object-fit: cover;
      width: 100%;
      height: auto;
    }
    .expose-button {
      position: absolute;
      top: 50%;
      left: 0%;
      transform: translate(0%,-50%);
      -ms-transform: translate(-0%,-50%);
      color: #b89841;
      background-color: #f1f1f1;
      border: none;
      font-size: 1.5em;
      line-height: 1em;
      font-family: "Poppins", sans-serif;
      padding: .4em .5em .2em;
    }
    .expose-display-right {
      left: auto;
      right: 0%;
    }
    .expose-button:hover {
      color: #f1f1f1;
      background-color: #b89841;
    }

@media screen and (min-width: 1650px) {
  .expose-list-map { margin-top: 2em; }
  .expose-infotext { margin: 2em 0; }
}

@media screen and (max-width: 860px) {
  .modalDialog > div { margin-top: 1em; }
  .expose-infos, .expose-bilder { width: 100%; }
  .expose-infos {
    padding: 2em 2em 0;
    order: 2;
  }
  .expose-list-map { flex-wrap: wrap; }
  .google-map {
    width: 60%;
    height: 250px;
    margin-right: 3em;
  }
}

@media screen and (max-width: 592px) {
  .modalDialog {
    position: absolute;
    background: none;
  }
  .modalDialog > div {
    margin: 1em 0 0 -10%;
    width: 120%;
    max-height: none;
    overflow-y: inherit;
  }

  .close-button {
    top: 1em;
    right: 1em;
  }

  .expose-infos,
  .expose-bilder { display: block; width: 100%; }

  .expose-infos { padding: 2em 2em 0; order: 2; }
  .expose-bilder { padding: 0; }

  .expose-readmore-btn,
  .expose-readmore-btn.telefon-nr {
    display: block;
    width: 100%;
  }

  .expose-bilder img {
    height: auto;
    width: auto;
    max-height: 100%;
  }

  .google-map {
    width: 100%;
    height: 250px;
    margin: 1em 0;
    order: 2;
  }
}

.container.desktop-menu { display: none; }

/* anpassungen menu */
@media screen and (max-width: 990px) {
  main.page-content { margin-top: -5px; }
}
@media screen and (min-width: 991px) {
  .container.desktop-menu {
    max-width: 100%;
    padding: 2em 0;
    box-shadow: 0 10px 4px -5px rgba(0,0,0,0.1);
    position: relative;
    display: block;
  }
  .mainmenu li { margin: 0 2em; }
  .mainmenu li a {
    color: #000;
    font-size: 16px;
    font-weight: 300;
    font-family: "Montserrat", sans-serif;
  }
  .mainmenu li a:hover, .mainmenu li a:focus, .mainmenu li.active a { color: #b89841; }
}


/* anpassungen mobile menu */
.mean-container .mean-nav ul {
  padding: 0;
  height: auto;
  margin-top: 1em;
}
.mean-container .mean-nav ul li.active { font-weight: 500; }
.mean-container .mean-nav ul li a { color: #18012c; }
.mean-container .mean-nav ul li a:hover, .mean-container .mean-nav ul li a:focus {
  background: #b89841;
  color: #fff;
}


/* header slider / slick slider */
.slick-list { z-index: 0; }
.slick-prev, .slick-next {
  width: 60px;
  z-index: 9999;
}
.slick-prev:before, .slick-next:before { color: #b89841; }
.slick-prev { left: 4em; }
.slick-next { right: 4em; }

.slick-dots { bottom: 25px; }
.slick-dotted.slick-slider { margin-bottom: 0; }

.slick-slide.slick-active .animation__style--1 .content h2 {
  color: #b89841;
  line-height: 1em;
  margin: 0 0 .2em;
  font-size: 90px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}
.slick-slide.slick-active .animation__style--1 .content p {
  font-family: "Merriweather", serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: 16px;
  color: #313131;
  margin: 0;
}

.slick-slide img { height: auto; }

@media screen and (max-width: 480px) {
  .eigener-slick-slider .container { width: 80%; }
  .slick-slide.slick-active .animation__style--1 .content h2 { font-size: 40px; }
  .slick-slide.slick-active .animation__style--1 .content p { line-height: 1.2em; }
}
