/*ESSENTIAL GRID*/

.esg-filters {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-start;
  display: flex;
  margin-bottom: 30px !important;
  display: none;
}

.esg-filter-wrapper {
  margin: 0 !important;
  margin-left: -10px !important;
}

.esg-filterbutton {
  background-color: var(--color-green) !important;
  font-size: 1rem !important;
  color: white !important;
  width: 100% !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-radius: 0 !important;
  font-weight: 400 !important;
  background-image: none !important;
  transition: all 0.2s ease-in-out !important;
  width: inherit !important;
  box-shadow: none !important;
  font-family: var(--mainfont);
}

.esg-filterbutton:hover,
.esg-filterbutton:focus,
.esg-filterbutton.selected {
  background-color: var(--color-anthrazit) !important;
}

.esg-overflowtrick {
  max-width: 1050px !important;
  justify-self: center;
  padding-left: -18px !important;
  margin-right: auto;
  margin-left: auto;
}

.esg-container-fullscreen-forcer {
  width: 100% !important;
  left: inherit !important;
}

.esg-overflowtrick ul {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: left !important;
  height: auto !important;
}

/*
.esg-overflowtrick li {
    width: 50%!important;
    transform: none!important;
    position: relative!important;
    height: auto!important;
    float: left;
    left: 0!important;
    top: 0!important;
    margin-left: 0;
    padding: 5px!important;
    margin-right: 0px!important;
}*/

.eg-gerhardter-bau-element-0,
.eg-gerhardter-bau-element-1 {
  text-shadow: 1px 1px 2px #000;
}

.esg-navigationbutton.esg-loadmore {
  display: none !important;
}

.esg-cc .esg-center:nth-child(1) {
  border-radius: 50px;
  background-color: var(--color-anthrazit) !important;
}

.esg-cc .esg-center:nth-child(3) {
  font-family: var(--mainfont) !important;
  font-size: 0.7rem;
  background-color: var(--color-green) !important;
  padding: 5px 10px !important;
  max-width: 80%;
  border-radius: var(--border-radius);
}

.mfp-title {
  display: none;
}
@media all and (max-width: 1024px) {
  .esg-overflowtrick {
    margin-left: 0 !important;
  }
}
@media all and (max-width: 767px) {
  .esg-filterbutton,
  .esg-filterbutton:hover,
  .esg-filterbutton:focus,
  .esg-filterbutton.selected {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .esg-overflowtrick li {
    width: 100% !important;
  }
}

@media all and (max-width: 600px) {
  .esg-bottom.eg-gerhardter-bau-element-0-a a {
    width: auto !important;
    font-size: 7vw !important;
    line-height: 9vw !important;
    text-align: center;
    position: relative;
    right: 0;
    left: 0;
    padding: 0 0 6px 0 !important;
    margin: auto;
    color: #fff !important;
    border-bottom: none;
    display: table;
    text-decoration: none;
  }
  .esg-bottom.eg-gerhardter-bau-element-1 {
    color: #fff;
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
    padding: 0 !important;
    margin: 0px !important;
    font-size: 5vw;
    line-height: 7vw;
  }
  .esg-bottom.eg-gerhardter-bau-element-0-a a:after {
    content: "";
    width: 80%;
    left: 10%;
    height: 2vw;
    background-color: #ffdc00;
    position: absolute;
    top: 100%;
  }
}

/** PROJEKTSEITE */

body.single-post .post-headline {
  float: left;
}

body.single-post h1 {
  margin-bottom: var(--gap-m);
}

body.single-post .post-headline .wpb_wrapper {
  position: relative;
  float: left;
}

body.single-post .wpb_image_grid .wpb_image_grid_ul .isotope-item {
  list-style: none;
  margin: 0 8px 8px 0 !important;
  max-width: 100%;
  float: left;
  width: calc(50% - 8px);
  position: relative !important;
  top: inherit !important;
  left: inherit !important;
}

body.single-post .wpb_image_grid .wpb_image_grid_ul .isotope-item img {
  margin: 0 !important;
}

@media (max-width: 767px) {
  .esg-overflowtrick {
    margin-left: 0 !important;
  }
}

.video-text span {
  font-size: 8px !important;
  display: block;
  margin-top: 10px;
  line-height: 1.2 !important;
}
