/*!
Theme Name: asbest-bodensanierung.de
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: asbest-bodensanierung-de
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

asbest-bodensanierung.de is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*-----------------------------------*/

.welcome .welcome-img {
  display: flex;
  justify-content: flex-end;
}
.video-block .block-video a {
  max-width: 750px;
}
.kreise .kreise-list .circle a .cta-image img,
.persons-list .persons-item .photo img {
  width: 250px;
  height: 250px;
  object-fit: cover;
}
.seo-texte .seo-texte-img img {
  max-width: 450px;
}
.video-block {
  margin: 100px auto;
}
.seo-texte {
  margin: 70px auto;
}
.ihre {
  padding: 0;
}
.wir-bieten {
  margin-top: 50px;
}
.partner-list .partner-item {
  flex-basis: 25%;
}
.persons-list {
  justify-content: space-around;
}

@media (max-width: 992px) {
  .seo-texte .seo-texte-img img {
    max-width: 100%;
  }
  .partner-list .partner-item {
    flex-basis: 100%;
  }
}

.wir-bieten .text-right ul li {
  display: block;
}

.persons-list {
  justify-content: space-evenly;
}

.persons-list .persons-item {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;
}

.ihre .container {
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  align-items: flex-start;
}

.ihre .ihre-list {
  -ms-flex-preferred-size: 49%;
  flex-basis: 49%;
}

.ihre h2 {
  margin-top: 0;
}

.welcome .main-title h1 span b,
.welcome .main-title h1 span b + br {
  display: none;
}

.full-text {
  display: none;
}

@media (max-width: 992px) {
  .referenzen .swiper-pagination {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  h2, h3,
  .seo-texte h3 {
    font-size: 30px;
  }
  .contact-form-modal .mfp-close {
    display: block;
  }
  .persons-list .persons-item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin-right: 0;
  }
  .ihre .ihre-list li {
    font-size: 20px;
    line-height: 28px;
  }
  .welcome .welcome-img {
    justify-content: center;
  }
  .welcome .welcome-img img {
    width: 100%;
    object-fit: cover;
  }
  .welcome .main-title h1 {
    font-size: 40px;
  }
  .welcome .main-title h1 span {
    line-height: 40px;
  }
  .welcome .main-title h1 span b,
  .welcome .main-title h1 span b + br {
    font-weight: normal;
    display: inline-block;
  }
  .ihre .ihre-list {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .acc-list .acc-item-heading {
    font-size: 25px;
    padding-right: 20px;
  }
  .kreise .kreise-list .circle h3 {
    font-size: 25px;
  }
  /*.persons-list .persons-item .about {*/
  /*  max-height: 100px;*/
  /*  overflow: hidden;*/
  /*  -webkit-transition: .25s ease-in-out;*/
  /*  transition: .25s ease-in-out;*/
  /*}*/
  /*.persons-list .persons-item .about.full {*/
  /*  max-height: 1000px;*/
  /*  overflow: initial;*/
  /*}*/
  .full-text {
    display: inline-block;
    margin-top: 10px;
    padding-right: 13px;
    font-weight: 600;
    background: url(img/arr-black-down.svg) no-repeat;
    background-position-x: right;
    background-position-y: center;
  }
  .ihre .ihre-list li svg, .ihre .ihre-list li img {
    margin-right: 20px;
    width: 35px;
  }
}

/*----------------*/
.persons {
  position: relative;
}

.persons .persons-list {
  max-width: 912px;
  padding: 0;
  margin: auto;
}

.persons .persons-list .persons-item {
  display: flex;
  align-items: center;
  flex-basis: auto;
  margin-right: 0;
}

.persons .persons-list .persons-item .photo {
  flex-basis: 30%;
}

.persons .persons-list .persons-item .person-about {
  flex-basis: 70%;
}

.persons .slider-nav {
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: absolute;
  left: 3%;
  right: 3%;
  top: 270px;
  z-index: 99;
}

.persons .slider-nav .prev-persons-green,
.persons .slider-nav .next-persons-green {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #67B916;
  border-radius: 50%;
  cursor: pointer;
}

.persons .slider-nav .prev-persons-green:hover, .persons .slider-nav .next-persons-green:hover {
  opacity: 0.8;
}

.persons .slider-nav .prev-persons-green img, .persons .slider-nav .next-persons-green img {
  display: block;
  margin: auto;
  margin-left: 14px;
}

.persons .slider-nav .next-persons-green img {
  -webkit-transform: rotate(
          180deg
  );
  transform: rotate(
          180deg
  );
  margin-left: 17px;
}

.details-mob {
  display: none;
}

.persons .swiper-pagination {
  position: relative;
  margin-top: 50px;
  display: none;
}
.ihre {
  padding-top: 75px;
}

@media (max-width: 768px) {
  .ihre {
    padding-top: 0;
  }
  .persons {
    padding: 0 15px;
  }
  .persons-list .persons-item {
    flex-direction: column;
  }
  .persons .slider-nav {
    display: none;
  }
  .details-mob {
    display: inline-block;
    margin-left: 15px;
  }
  .persons .persons-list .persons-item .person-about .name,
  .persons .persons-list .persons-item .person-about .prof {
    display: none;
  }
  .persons .persons-list .persons-item .photo {
    width: 100%;
    flex-basis: auto;
    display: flex;
    align-items: center;
    margin-top: 20px;
  }
  .persons .persons-list .persons-item .photo img {
    width: 60px;
    height: 60px;
  }
  .persons-list .persons-item .name {
    font-size: 17px;
    line-height: 25px;
    margin-top: 0;
  }
  .persons-list .persons-item .prof, .persons-list .persons-item .about {
    font-size: 15px;
  }
  .persons .swiper-pagination {
    display: block;
  }
  .persons .swiper-pagination .swiper-pagination-bullet {
    background-color: #67B916;
  }
}