/*

Created by www.kupferrausch.de

(c) 2019 - 2022

*/
/* -- breakpoints -- */
/* -- variables -- */
/* -- fonts -- */
@font-face {
  font-family: "Monda";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/monda-regular.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* -- defaults -- */
/* -- partials -- */
/*

Created by www.kupferrausch.de

(c) 2019

*/
.clear {
  clear: both;
}

.cleanup {
  clear: both;
  height: 1px;
  line-height: 1px;
  font-size: 1px;
  margin: -1px 0;
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
  *zoom: 1;
}

.backface-hidden {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.break {
  word-wrap: break-word;
}

.word-break {
  word-break: break-all;
}

.pos-rel {
  position: relative;
}

.left-floater {
  float: left;
}

.right-floater {
  float: right;
}

.righter {
  text-align: right;
}

.lefter {
  text-align: left;
}

.centerer {
  text-align: center;
}

.blocker {
  text-align: justify;
}

.topper {
  vertical-align: top;
}

.middler {
  vertical-align: middle;
}

.bottomer {
  vertical-align: bottom;
}

.b, b, .bold, strong {
  color: inherit;
  font-size: inherit;
  font-weight: bold;
}

.pointer {
  cursor: pointer;
}

.activated {
  display: inline;
}

.deactivated {
  display: none;
}

.nobr {
  white-space: nowrap;
}

.upper {
  text-transform: uppercase;
}

em, i {
  color: inherit;
  font-size: inherit;
  font-style: italic;
}

/*
*	_mixins.scss
*	some mixins
*/
/* general */
body {
  font-size: 16px;
}

::-moz-selection {
  background-color: #006bb0;
  color: #ffffff;
}

::selection {
  background-color: #006bb0;
  color: #ffffff;
}

::-moz-selection {
  background-color: #006bb0;
  color: #ffffff;
}

#static-area-header-top {
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.content_wrap {
  padding-bottom: 6rem;
}

.row {
  *zoom: 1;
  clear: both;
  width: 100%;
  padding: 0;
  margin: 0;
}
.row:before, .row:after {
  content: "";
  display: table;
}
.row:after {
  clear: both;
}

@media (max-width: 1200px) {
  .col-row-sm {
    *zoom: 1;
  }
  .col-row-sm:before, .col-row-sm:after {
    content: "";
    display: table;
  }
  .col-row-sm:after {
    clear: both;
  }
}

h1.heading {
  line-height: 150%;
}

h2 {
  line-height: 150%;
}

.content_wrap a[href^="tel:"] {
  color: inherit;
  border-bottom: 0;
  padding-bottom: 0;
  text-decoration: none;
}
@media (max-width: 660px) {
  .content_wrap a[href^="tel:"] {
    display: inline-block;
    color: #ffffff;
    line-height: 100%;
    background: #757575;
    padding: 0.75rem 1rem 0.9rem;
    margin: 0 0 0.5rem 0.25rem;
    cursor: pointer;
    border-radius: 5px;
  }
  .content_wrap a[href^="tel:"]:hover {
    background: #006bb0;
  }
}

ul,
ol {
  padding-bottom: 1em;
}
ul li,
ol li {
  margin: 0 0 5px 20px;
}

ul {
  list-style-type: square;
}

ol.topLevel {
  counter-reset: item;
  margin-top: 3.5rem;
  margin-bottom: 0;
  padding-bottom: 0;
}
ol.topLevel.start-2 {
  counter-reset: item 1;
}
ol.topLevel > li {
  list-style-type: none;
  margin: 0;
}
ol.topLevel > li h3 {
  display: inline;
  margin: 0;
}
ol.topLevel > li:before {
  content: counter(item) ". ";
  counter-increment: item;
  font-weight: bold;
}
ol.topLevel.hide-number > li:before {
  content: "";
  margin-left: 14px;
}
ol.subLevel {
  counter-reset: subitem;
  margin-bottom: 0;
  padding-bottom: 0;
}
ol.subLevel > li {
  list-style-type: none;
  margin-left: 18px;
}
ol.subLevel > li:before {
  content: counter(item) "." counters(subitem, ".") " ";
  counter-increment: subitem;
  font-weight: bold;
}

.btn-more {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  position: relative;
  display: inline-block;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  background: #7f9fcf;
  margin: 0;
  padding: 13px 40px 13px 40px;
  border: 0;
}
.btn-more:hover {
  text-decoration: none;
}

/* site: select company */
#select-company a {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  display: block;
  text-decoration: none;
}
#select-company a .boxed {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  color: #ffffff;
}
#select-company a:hover {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
#select-company a:hover div {
  color: #006bb0;
}
#select-company a:hover .boxed {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  color: #ffffff !important;
}
#select-company a.verpackungen .boxed {
  background: #7f9fcf;
}
#select-company a.verpackungen:hover .boxed {
  background: #006bb0;
}
#select-company a.digiservice .boxed {
  background: #96c462;
}
#select-company a.digiservice:hover div {
  color: #68b022;
}
#select-company a.digiservice:hover .boxed {
  background: #68b022;
}

/* -- header -- */
#header_wrap {
  margin-top: 3rem;
}
#header_wrap #header {
  position: relative;
  padding: 0 2rem;
  margin-bottom: 4rem;
}
#header_wrap #header #logo {
  max-width: 60%;
}
#header_wrap #header #logo a {
  display: block;
}
#header_wrap #header #logo img {
  width: 100%;
  max-width: 280px;
}
#header_wrap #header #stoerer-behelfsmasken {
  position: absolute;
  top: -13px;
  right: 2rem;
}
@media (max-width: 960px) {
  #header_wrap #header #stoerer-behelfsmasken {
    right: 8rem;
  }
}
@media (max-width: 768px) {
  #header_wrap #header #stoerer-behelfsmasken {
    display: none;
  }
}
@media (max-width: 480px) {
  #header_wrap {
    margin-top: 2rem;
  }
  #header_wrap #header {
    padding: 0 2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .not-fullscreen {
    height: 25%;
  }
}
.background {
  background-size: cover;
}

.page-id-5 .background {
  background-image: url(https://www.bernholz-gmbh.de/wp-content/uploads/2021/12/bernholz-headbanner-home-2021.12.10.jpg);
}

/* karriere */
.page-id-23 h1:not(.heading),
.page-id-1215 h1:not(.heading),
.page-id-1217 h1:not(.heading),
.page-id-1224 h1:not(.heading),
.page-id-1298 h1:not(.heading),
.page-id-1336 h1:not(.heading) {
  visibility: hidden !important;
}
.page-id-23 .background,
.page-id-1215 .background,
.page-id-1217 .background,
.page-id-1224 .background,
.page-id-1298 .background,
.page-id-1336 .background {
  background-image: url(https://www.bernholz-gmbh.de/wp-content/uploads/2023/03/bernholz-headbanner-karriere-2023.03.21-b.jpg);
}

.kr-relative {
  position: relative;
}

#stoerer-behelfsmasken-mobile {
  position: absolute;
  bottom: -1.5rem;
  right: 10%;
  z-index: 9999;
}
#stoerer-behelfsmasken-mobile img {
  display: block;
  width: 110%;
}
@media (min-width: 768px) {
  #stoerer-behelfsmasken-mobile {
    display: none;
  }
}

.menu {
  padding: 0;
}

/* -- mainnav - desktop -- */
nav#primary-navigation {
  clear: both;
  width: 100%;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7db9e8+0,1875af+0,1e5799+100 */
  background: #006bb0; /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, from(#7db9e8), color-stop(0%, #1875af), to(#1e5799));
  background: linear-gradient(to bottom, #7db9e8 0%, #1875af 0%, #1e5799 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#7db9e8", endColorstr="#1e5799",GradientType=0 ); /* IE6-9 */
  border-bottom: 5px solid #ffffff;
}
nav#primary-navigation ul {
  display: table;
  width: auto;
  max-width: 1200px;
  list-style-type: none;
  margin: 0 auto;
  padding: 10px 1rem;
}
nav#primary-navigation ul li {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  position: relative;
  display: table-cell;
  padding: 0;
  border-right: 1px solid #ffffff;
}
nav#primary-navigation ul li a {
  display: block;
  font-size: 13px;
  font-weight: normal;
  line-height: 130%;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 1.5rem 3px 1.5rem;
}
nav#primary-navigation ul li:last-child {
  border-right: 0;
}
nav#primary-navigation ul li:hover {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  background: #ffffff;
}
nav#primary-navigation ul li:hover a {
  color: #006bb0;
}
nav#primary-navigation ul li:hover.menu-item-has-children {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
nav#primary-navigation ul li:hover.menu-item-has-children:before {
  content: "";
  position: absolute;
  width: calc(100% + 2px);
  height: 1px;
  bottom: -12px;
  left: -1px;
  border-bottom: 13px solid #ffffff;
}
nav#primary-navigation ul li.current-menu-item {
  background: #ffffff;
}
nav#primary-navigation ul li.current-menu-item a {
  color: #006bb0;
}
nav#primary-navigation ul li.current-menu-item:before {
  content: "";
  position: absolute;
  width: calc(100% + 2px);
  height: 1px;
  bottom: -12px;
  left: -1px;
  border-bottom: 13px solid #ffffff;
}
nav#primary-navigation ul li.current-menu-item:first-of-type:before {
  width: calc(100% + 1px);
  left: 0;
}
nav#primary-navigation ul li.current-menu-item:last-of-type:before {
  width: calc(100% + 1px);
}
nav#primary-navigation ul li ul.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
nav#primary-navigation ul li ul.sub-menu li {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  display: block;
  position: relative;
  float: none !important;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0 !important;
}
nav#primary-navigation ul li ul.sub-menu li a {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  color: #006bb0;
  font-size: 1.15rem;
  font-weight: normal;
  text-align: left;
  text-transform: uppercase;
  line-height: 100%;
  padding: 1rem 1.2rem 0.5rem 0;
  background: #ffffff;
  padding: 0.75rem 1.5rem 0.95rem 1.5rem;
}
nav#primary-navigation ul li ul.sub-menu li:first-child {
  padding-top: 15px;
}
nav#primary-navigation ul li ul.sub-menu li:hover a {
  -webkit-transition: all 0.25s linear;
  -kthtml-transition: all 0.25s linear;
  transition: all 0.25s linear;
  color: #ffffff !important;
  background: #1E5899;
}
nav#primary-navigation ul li ul.sub-menu li.current-menu-item a {
  font-weight: bold;
}
nav#primary-navigation ul li ul.sub-menu li.current-menu-item:before {
  display: none;
}
nav#primary-navigation ul .menu {
  *zoom: 1;
  margin-bottom: 0;
  opacity: 1;
}
nav#primary-navigation ul .menu:before, nav#primary-navigation ul .menu:after {
  content: "";
  display: table;
}
nav#primary-navigation ul .menu:after {
  clear: both;
}
@media (max-width: 960px) {
  nav#primary-navigation {
    display: none;
  }
}

/* -- mainnav - mobile -- */
#btn-mobile-nav {
  float: right;
  width: 30px;
  height: 30px;
  background-image: url(../images/backgrounds/nav-button.png);
  background-size: contain;
  margin-top: 5px;
  cursor: pointer;
}
#btn-mobile-nav.act {
  background-image: url(../images/backgrounds/nav-close.png);
}
@media (min-width: 960px) {
  #btn-mobile-nav {
    display: none;
  }
}

nav#mobile-navigation {
  *zoom: 1;
  clear: both;
  width: 100%;
  background: #ededed;
}
nav#mobile-navigation:before, nav#mobile-navigation:after {
  content: "";
  display: table;
}
nav#mobile-navigation:after {
  clear: both;
}
nav#mobile-navigation ul {
  *zoom: 1;
  list-style: none;
  margin: 0;
}
nav#mobile-navigation ul:before, nav#mobile-navigation ul:after {
  content: "";
  display: table;
}
nav#mobile-navigation ul:after {
  clear: both;
}
nav#mobile-navigation ul li {
  border-bottom: 1px solid #cccccc;
  margin: 0 !important;
}
nav#mobile-navigation ul li a {
  display: block;
  font-size: 1.5rem;
  line-height: 140%;
  color: #006bb0;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  padding: 1rem;
  margin: 0;
  cursor: pointer;
}
nav#mobile-navigation ul li.current-menu-item a {
  color: #333333;
}
nav#mobile-navigation ul li:last-child {
  border-bottom: 0;
}
nav#mobile-navigation ul li .sub-menu {
  padding-left: 2rem;
  padding-bottom: 0;
}
nav#mobile-navigation ul li .sub-menu a {
  font-size: 1.3rem;
  color: #333333;
}
@media (min-width: 960px) {
  nav#mobile-navigation {
    display: none;
  }
}

span.pic-position-info {
  font-size: 14px !important;
  color: #757575 !important;
  font-weight: normal !important;
  padding-left: 0.5rem;
}

@media (min-width: 990px) {
  .hide-md {
    display: none;
  }
}

/* -- footer -- */
#footer_wrap {
  border-top: 0;
  padding: 3rem 2rem;
}
#footer_wrap #footer {
  width: 100%;
  max-width: 1120px;
}
#footer_wrap #footer #footer-left {
  *zoom: 1;
  float: left;
  width: 45%;
  /*border: 1px solid orange;*/
}
#footer_wrap #footer #footer-left:before, #footer_wrap #footer #footer-left:after {
  content: "";
  display: table;
}
#footer_wrap #footer #footer-left:after {
  clear: both;
}
#footer_wrap #footer #footer-left #footer-contact {
  *zoom: 1;
  float: left;
  width: 50%;
  /*border: 1px solid red;*/
}
#footer_wrap #footer #footer-left #footer-contact:before, #footer_wrap #footer #footer-left #footer-contact:after {
  content: "";
  display: table;
}
#footer_wrap #footer #footer-left #footer-contact:after {
  clear: both;
}
#footer_wrap #footer #footer-left #footer-contact address {
  font-size: 1.25rem;
}
#footer_wrap #footer #footer-left #footer-partner {
  *zoom: 1;
  float: right;
  width: 37%;
  font-size: 1.25rem;
  /*border: 1px solid green;*/
}
#footer_wrap #footer #footer-left #footer-partner:before, #footer_wrap #footer #footer-left #footer-partner:after {
  content: "";
  display: table;
}
#footer_wrap #footer #footer-left #footer-partner:after {
  clear: both;
}
#footer_wrap #footer #footer-left #footer-partner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 10px 0 0 0;
}
#footer_wrap #footer #footer-left #footer-nav {
  *zoom: 1;
  float: left;
  /*border: 1px solid blue;*/
}
#footer_wrap #footer #footer-left #footer-nav:before, #footer_wrap #footer #footer-left #footer-nav:after {
  content: "";
  display: table;
}
#footer_wrap #footer #footer-left #footer-nav:after {
  clear: both;
}
#footer_wrap #footer #footer-left #footer-nav ul#menu-footer {
  list-style-type: none;
  padding: 0;
  opacity: 1;
}
#footer_wrap #footer #footer-left #footer-nav ul#menu-footer li {
  float: left;
  display: inline-block;
  line-height: 100%;
  margin: 0 1rem 0 0;
  padding: 0 1rem 0.25rem 0;
  border-right: 1px solid #757575;
}
#footer_wrap #footer #footer-left #footer-nav ul#menu-footer li a {
  font-size: 1.25rem;
  color: #006bb0;
}
#footer_wrap #footer #footer-left #footer-nav ul#menu-footer li:last-child {
  border-right: 0;
}
#footer_wrap #footer #footer-right {
  *zoom: 1;
  float: right;
  width: 47%;
  /*border: 1px solid black;*/
}
#footer_wrap #footer #footer-right:before, #footer_wrap #footer #footer-right:after {
  content: "";
  display: table;
}
#footer_wrap #footer #footer-right:after {
  clear: both;
}
#footer_wrap #footer #footer-right .cert-row {
  *zoom: 1;
  display: inline-block;
  float: right;
  width: 33.3%;
  /*border: 1px solid blue;*/
}
#footer_wrap #footer #footer-right .cert-row:before, #footer_wrap #footer #footer-right .cert-row:after {
  content: "";
  display: table;
}
#footer_wrap #footer #footer-right .cert-row:after {
  clear: both;
}
#footer_wrap #footer #footer-right .cert-row a {
  display: inline-block;
  float: right;
  width: 44%;
  margin-left: 6%;
}
#footer_wrap #footer #footer-right .cert-row a img {
  display: block;
  width: 100%;
  max-width: 80px;
  height: auto;
  margin: 0;
}
#footer_wrap #footer #footer-right .cert-row a .fsc-notice {
  display: inline-block;
  font-size: 10px;
  line-height: 130%;
  text-align: center;
  text-decoration: none !important;
  padding-top: 1rem !important;
}
#footer_wrap #footer #footer-right .cert-row a:hover {
  text-decoration: none !important;
}
#footer_wrap #footer #footer-right .cert-row a:hover * {
  text-decoration: none !important;
}
@media (max-width: 1024px) {
  #footer_wrap #footer #footer-right {
    width: 48%;
  }
}
@media (max-width: 768px) {
  #footer_wrap #footer #footer-left {
    width: 100%;
  }
  #footer_wrap #footer #footer-left .footer-nav {
    float: none;
    clear: none;
  }
  #footer_wrap #footer #footer-left #footer-nav {
    float: none;
    margin-top: 3rem;
  }
  #footer_wrap #footer #footer-left #footer-nav ul#menu-footer {
    text-align: center;
  }
  #footer_wrap #footer #footer-left #footer-nav ul#menu-footer li {
    float: none;
    display: inline;
    margin: 0 1rem 0 0;
  }
  #footer_wrap #footer #footer-left #footer-nav ul#menu-footer li a {
    font-size: 1.5rem;
  }
  #footer_wrap #footer #footer-left #footer-contact {
    width: 100%;
  }
  #footer_wrap #footer #footer-left #footer-contact address {
    font-size: 1.5rem !important;
    text-align: center;
  }
  #footer_wrap #footer #footer-left #footer-partner {
    width: 100%;
    font-size: 1.5rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  #footer_wrap #footer #footer-left #footer-partner a {
    display: block;
    max-width: 60%;
    margin: 0 auto;
  }
  #footer_wrap #footer #footer-right {
    width: 100%;
    margin: 2rem 0 5rem 0;
  }
  #footer_wrap #footer #footer-right a {
    display: inline-block;
    width: 16.5%;
    text-align: center;
    padding: 0 1rem;
    /*border: 1px solid red;*/
    /* reversed order due to float:right in parent element! */
  }
  #footer_wrap #footer #footer-right a img {
    float: none;
    display: block;
    max-width: 100%;
  }
  #footer_wrap #footer #footer-right a:last-child {
    padding-left: 0;
  }
  #footer_wrap #footer #footer-right a:first-child {
    padding-right: 0;
  }
}
@media (max-width: 480px) {
  #footer_wrap #footer #footer-right .cert-row {
    *zoom: 1;
    display: block;
    float: none;
    width: 100%;
    margin-bottom: 2rem;
    /*border: 1px solid blue;*/
  }
  #footer_wrap #footer #footer-right .cert-row:before, #footer_wrap #footer #footer-right .cert-row:after {
    content: "";
    display: table;
  }
  #footer_wrap #footer #footer-right .cert-row:after {
    clear: both;
  }
  #footer_wrap #footer #footer-right .cert-row a img {
    display: block;
    width: 100%;
    max-width: 140px;
  }
  #footer_wrap #footer #footer-right .cert-row:last-child {
    margin-bottom: 0;
  }
}

/* -- grid-- */
.col-sm-6.special {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  .col-sm-6.special {
    float: right;
    width: 47%;
    padding-left: 3%;
    padding-right: 0;
  }
  .col-sm-6.special:first-of-type {
    float: left;
    padding-left: 0;
    padding-right: 3%;
  }
}

.fluid {
  margin-top: 3em;
  margin-bottom: 3em;
  padding: 40px 0;
}
@media (max-width: 768px) {
  .fluid {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 20px 0;
  }
}

@media (max-width: 768px) {
  .lei-bg {
    border-right: 0;
  }
  .lei-bg h2 {
    margin-bottom: 15px;
  }
  .lei-bg p {
    margin: 10px 0 20px;
  }
}

@media (max-width: 768px) {
  .newshead {
    font-size: 1.5em;
    line-height: 130%;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .blockhead {
    font-size: 1.5em;
    line-height: 130%;
    margin-bottom: 15px;
  }
}

.daten {
  display: inline-block;
  margin-top: 2rem;
}

.ansprech {
  margin-bottom: 6rem;
}
.ansprech h2 {
  font-weight: bold;
  margin-bottom: 0.25rem;
}
.ansprech a {
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .ansprech a {
    font-size: 90%;
  }
}
@media (max-width: 990px) {
  .ansprech a {
    font-size: 100%;
  }
}

.bg-grey {
  background-color: #F0F0F0;
  padding: 2rem 3rem;
  margin-top: 3rem;
}

/* -- gallery -- */
.box-gallery {
  margin-top: 4rem;
}

.gallery-columns-4 .gallery-item {
  width: 24% !important;
  margin-right: 1% !important;
  margin-bottom: 10px !important;
}
.gallery-columns-4 .gallery-item img {
  border: 1px solid #cfcfcf !important;
}
@media (max-width: 768px) {
  .gallery-columns-4 .gallery-item {
    width: 48% !important;
  }
}

/* -- plugin: contact form 7 -- */
.wpcf7 h4 {
  color: rgb(55, 99, 165);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

label {
  font-weight: normal;
}

input[type=checkbox] {
  margin-top: 0;
  margin-right: 5px;
  margin-bottom: 3px;
}

input[type=radio] {
  margin-top: 0;
  margin-right: 5px;
  margin-bottom: 3px;
}

span.wpcf7-list-item {
  margin-left: 0;
  margin-right: 2rem;
}

.wpcf7-acceptance {
  *zoom: 1;
  font-size: 90%;
}
.wpcf7-acceptance:before, .wpcf7-acceptance:after {
  content: "";
  display: table;
}
.wpcf7-acceptance:after {
  clear: both;
}

textarea.smallheight {
  height: 100px;
}

.form-row {
  *zoom: 1;
  margin-bottom: 1rem;
}
.form-row:before, .form-row:after {
  content: "";
  display: table;
}
.form-row:after {
  clear: both;
}
.form-row.col-1 label {
  width: 100%;
}
.form-row.col-2 label {
  float: left;
  width: 47%;
}
.form-row.col-2 label:last-child {
  float: right;
}
.form-row.col-2 .auflage select {
  float: left;
  width: 47%;
}
.form-row.col-2 .individuelle-auflage {
  float: right;
  width: 47%;
}

/* -- tabellen -- */
.table-1 {
  width: 100%;
  margin-bottom: 2rem;
}
.table-1 tr th {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #dddddd;
}
.table-1 tr th:first-child {
  text-align: right;
}
.table-1 tr td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #dddddd;
}
.table-1 tr td:first-child {
  text-align: right;
}

/* -- erecht24 -- */
section.erecht24 h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 4rem;
  margin-bottom: 1rem;
}
section.erecht24 h3 {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 140%;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

#wpfooter {
  background: red;
}

.gwts-gwl-slidergal {
  height: 370px !important;
}
.gwts-gwl-slidergal .lslide img {
  width: 100% !important;
}

ul.lSGallery {
  width: 100% !important;
}
ul.lSGallery li {
  display: inline-block;
  overflow: initial !important;
  width: 104px !important;
  height: 104px !important;
  margin: 0 !important;
  padding: 0;
  border: 3px solid #ffffff !important;
  border-bottom: 6px solid #ffffff !important;
  border-radius: 0 !important;
}
ul.lSGallery li img {
  width: 104px !important;
  height: 104px !important;
  border: 1px solid #cccccc;
}
ul.lSGallery li:hover {
  border: 3px solid #ffffff;
}
ul.lSGallery li:hover img {
  border: 1px solid rgb(55, 99, 165);
  border-radius: 0 !important;
}
ul.lSGallery li.active {
  border: 3px solid #ffffff;
}
ul.lSGallery li.active img {
  border: 1px solid rgb(55, 99, 165);
  border-radius: 0 !important;
}

/* -- news -- */
.news {
  *zoom: 1;
  /* fix for "justify-content: space-between", as css reset prevents it from working correctly;
  see: https://writenowdesign.com/blog/websitedesign/flexbox-justify-content-doesnt-work-space-between-or-space-around/ */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
}
.news:before, .news:after {
  content: "";
  display: table;
}
.news:after {
  clear: both;
}
.news:before, .news:after {
  content: none;
}
.news .item {
  width: 47%;
  margin: 0 0 6rem 0;
}
.news .item * {
  text-align: left;
}
@media (max-width: 768px) {
  .news .item {
    width: 100%;
  }
  .news .item * {
    text-align: center;
  }
}