.referenzen-template-default .post-inner {
  padding-top: 2rem;
}
.referenzen-template-default article .entry-title,
.referenzen-template-default article .featured-media {
  display: none;
}

.post-type-archive-referenzen .page-header {
  max-width: 96%;
  background-color: #e2e2e2;
  margin: 0 auto 0;
}
.post-type-archive-referenzen .page-header .headcont {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
}
@media screen and (max-width: 800px) {
  .post-type-archive-referenzen .page-header .headcont {
    flex-wrap: wrap;
    text-align: center;
  }
}
.post-type-archive-referenzen .page-header .headcont h1, .post-type-archive-referenzen .page-header .headcont p {
  margin: 0;
  padding: 0 20px;
}
.post-type-archive-referenzen .page-header .headcont h1 {
  border-left: 4px solid #ef8006;
  text-transform: uppercase;
}
@media (min-width: 0px) and (max-width: 600px) {
  .post-type-archive-referenzen .page-header .headcont h1 {
    font-size: 3rem;
  }
}

.buttonlist {
  list-style: none;
  display: flex;
  margin: 0 auto 0;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 100px;
}
.buttonlist li {
  list-style: none;
  text-align: center;
}
.buttonlist li button {
  opacity: 0.4;
  text-transform: uppercase;
  color: #3b3b3b;
  transition: all 0.4s ease;
  background-color: Transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  font-family: "Roboto Condensed";
  text-decoration: none;
}
.buttonlist li button.is-checked {
  opacity: 1;
  border-bottom: 4px solid #ef8006;
}
.buttonlist li button:hover {
  text-decoration: none;
}
@media (min-width: 0px) and (max-width: 800px) {
  .buttonlist {
    flex-wrap: wrap;
  }
}

.hidden_ref {
  display: none !important;
}

.kachelflex {
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
}
.kachelflex:after {
  content: "";
  display: block;
  clear: both;
}
.kachelflex article {
  margin: 0;
  overflow: hidden;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  float: left;
}
.kachelflex article a {
  z-index: 5;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
}
.kachelflex article a:hover figure:before {
  opacity: 0.8;
}
.kachelflex article a:hover .contentarea {
  color: #fff;
  bottom: 0;
}
.kachelflex article a figure {
  height: 300px;
  z-index: 4;
}
.kachelflex article a figure img {
  object-fit: cover;
  height: 100%;
}
.kachelflex article a figure:before {
  content: "";
  transition: all 0.3s;
  background: #171717;
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
  opacity: 0.4;
  left: 0;
  top: 0;
}
.kachelflex article a .contentarea {
  z-index: 7;
  position: absolute;
  width: 100%;
  height: 140px;
  left: 0;
  bottom: -20px;
  transition: all 0.3s;
  color: #fff;
  text-align: right;
  padding-right: 10px;
}
.kachelflex article a .contentarea h3 {
  font-size: 26px;
  margin: 0 0 20px;
}
@media (min-width: 0px) and (max-width: 800px) {
  .kachelflex article a .contentarea h3 {
    font-size: 22px;
  }
}
.kachelflex article a .contentarea .ref_category {
  font-style: italic;
}

/****************************************
Archive Styles General
****************************************/
.post-type-archive-referenzen .page-title {
  display: none;
}

/****************************************
Classes for masonry
****************************************/
.grid-sizer {
  width: 33.333%;
}

@media (min-width: 560px) and (max-width: 800px) {
  .grid-sizer,
.grid-item {
    width: 49.5%;
  }
}
@media (min-width: 0px) and (max-width: 559px) {
  .grid-sizer,
.grid-item {
    width: 100%;
  }
}

/*# sourceMappingURL=main.css.map */
