/*
Theme Name: Ziegler Gartenpflege
Author: Frank Zinsli
Description: Persönliches WP-Theme für Ziegler Gartenpflege
Version: 1.1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto+Slab&display=swap");

body {
  background-color: rgba(156, 206, 167, 0.082);
}

p {
  font-family: "Open Sans", sans-serif;
  color: rgba(0, 0, 0, 0.8);
}
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Roboto Slab', serif;
}

h1{
  font-weight: 600;
  text-align: center;
  color: rgb(29, 92, 53);
}

h2{
  font-weight: 400;
  color: rgb(39, 117, 69);
}

h2.has-text-align-center {
  margin-bottom: 20px;
}

h3{
  color: rgb(50, 155, 90);
}
strong {
  color: black;
}

.logo {
  max-width: 200px;
}

#bs-example-navbar-collapse-1 {
  justify-content: center;
}

.titel-front{
  background-color: white;
  margin-right: -15px;
  margin-left: -15px;
  margin-bottom: -1px;
  margin-top: 20px;
  padding-top: 5px;
}

.untertitel-front{
  background-color: white;
  margin-right: -15px;
  margin-left: -15px;
  margin-bottom: 10px !important;
  padding-bottom: 5px;
}

.nf-form-content {
  max-width: none !important;
}

.attachment-card-img-top {
  width: 100%;
  height: 15vw;
  min-height: 250px;
  object-fit: cover;
}

.contact-figures {
  text-align: center;
  background-color: white;
  padding-top: 25px;
  justify-content: center;
  margin-top: 15px;
}

.home-titel {
  text-align: center;
}

.bg-light {
  background-color: white !important;
}

.team-row {
  padding-bottom: 30px;
  justify-content: center;
}

.team-card {
  background-color: transparent;
  transition: all 0.6s ease;
  color: black;
}

.team-content {
  margin: 5px;
}

.team-card {
  background-color: white;
}

.around-team-card-img {
  overflow: hidden;
}

.card-header {
  background-color: unset !important;
}

.team-card:hover .team-card-img-top {
  transform: scale(1.1);
  transition: all 0.6s ease;
}

.team-card-img-top {
  transform: scale(1);
  transition: all 0.6s ease;
}

.wp-image-28 {
  height: 460px !important;
  width: 345px !important;
}

.wp-block-media-text__media {
  justify-content: right;
  display: grid;
}

.map {
  display: grid;
  justify-content: center;
}

.home-h1 {
  text-align: center;
  margin-top: 5vh;
}

.front-img {
  display: grid;
  justify-content: center;
}

.front-img img {
  max-height: 50vh;
  width: auto;
  padding-bottom: 5vh;
}

.phone-icon img {
  max-width: 50%;
  transform: scale(1);
  transition: all 0.4s ease;
}
.phone-class:hover .phone-icon img{
  transform: scale(1.1);
  transition: all 0.4s ease;
}
.mail-icon img {
  max-width: 50%;
  transform: scale(1);
  transition: all 0.4s ease;
}
.mail-class:hover .mail-icon img{
  transform: scale(1.1);
  transition: all 0.4s ease;
}
.location-icon img {
  max-width: 50%;
  transform: scale(1);
  transition: all 0.4s ease;
}
.location-class:hover .location-icon img{
  transform: scale(1.1);
  transition: all 0.4s ease;
}

.ms-slide-info.ms-dir-h.ms-align-bottom {
  min-height: 50px !important;
}

em {
  font-size: medium;
  font-weight: 600;
}

.nav-link {
  color: rgb(50, 155, 90) !important;
  transition: ease 0.2s;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  font-size: medium;
}

.nav-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: rgb(29, 92, 53);
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}

.nav-link:hover::before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.nav-link:hover {
  color: rgb(29, 92, 53) !important;
  transition: ease 0.2s;
}

.active .nav-link {
  color: rgb(29, 92, 53) !important;
  font-weight: 600 !important;
}

.navbar #bs-example-navbar-collapse-1 li {
  padding: 0 5px 0 5px;
  position: relative;
}

.navbar #bs-example-navbar-collapse-1 li:not(:last-child):before {
  content: " / ";
  position: absolute;
  right: 0;
  top: 8px;
}
.text-content-page{
  margin-bottom: 0 !important;
}

.angebot-card {
  border: none !important;
}

.footer-row {
  text-align: center;
}

footer h5 {
  font-size: medium !important;
  color: rgb(50, 155, 90) !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

footer li a {
  color: dimgray;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
}

.lSAction > a {
  background-image: url("images/controls-white.png") !important;
}

ul.lSGallery li.active {
  outline: medium none;
  padding: 3px;
  border: none !important;
  opacity: 1;
  scale: 1.2;
  transition: all ease 0.2s;
}

ul.lSGallery li {
  outline: medium none;
  padding: 3px;
  opacity: 0.5;
}

.angebot-title {
  justify-content: center;
  display: grid;
}
.angebot-card p {
  margin-bottom: 0em !important;
}
.angebot-card-header {
  background-color: white !important;
  border-bottom: none !important;
  padding-left: 0;
}

.angebot-card-hr {
  border: 2px solid green;
  border-radius: 5px;
}

.background-white{
  background-color: white;
}

.background-white-front{
    background-color: white;
    padding-top: 15px;
}

.sections-gartenpflege {
  margin-top: 5px;
}

.sections-gartenumgestaltung{
  margin-top: 25px;
  margin-bottom: 25px;
}

.lSSlideOuter.angebot-slider {
  padding-bottom: 1vh !important;
}

.lSSlideOuter .lSPager.lSGallery li.active,
.lSSlideOuter .lSPager.lSGallery li:hover {
  border-radius: 0 !important;
}

.footer-title{
  font-size: medium !important;
  color: rgb(50, 155, 90) !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  font-family: "Roboto", sans-serif;
}

.page-footer {
  padding-top: 10px;
}

.map {
  position: relative;
  padding-bottom: 75%; 
  height: 0;
  overflow: hidden;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.home-img-ziechr img {
  height: auto;
}

@media (max-width: 767.98px) {
  #menu-menu-1 {
    justify-content: center;
    display: grid;
    text-align: center;
    margin: 20px;
  }

  .phone-icon img {
    max-width: 30%;
  }

  .mail-icon img {
    max-width: 30%;
    margin-top: 10px;
  }

  .location-icon img {
    max-width: 30%;
    margin-top: 10px;
  }


  .wp-block-media-text.figure img {
    max-width: unset;
    width: 100%;
    vertical-align: middle;
    display: none;
  }
  .navbar #bs-example-navbar-collapse-1 li:not(:last-child):before {
    content: "";
  }

  main{
    text-align: center;
  }
}
/* Keep keyboard navigation visible without changing the resting layout. */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100000;
  padding: .75rem 1rem;
  color: #fff;
  background: #1d5c35;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid #1d5c35;
  outline-offset: 3px;
}
.logo { height: auto; }
