/*
Theme Name: Baer
Author: Johannes Tassilo Gruber
Author URI: https://chekka.de/
Description: Neues Wordpress Them für Baer EMT 
Version: 1.1
License: All rights reserved. Only for use at https://baer-emt.de and associated pages
Text Domain: baer
*/
@font-face {
  font-family: "Praktika";
  src: url(../fonts/praktika-bold.otf) format("opentype");
  font-weight: 700;
}

:root {
  --petrol: #006561;
}

@font-face {
  font-family: "Praktika";
  font-weight: 300;
  src: url("../fonts/3AF334_0_0.eot");
  src: url("../fonts/3AF334_0_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/3AF334_0_0.woff2") format("woff2"),
    url("../fonts/3AF334_0_0.woff") format("woff"),
    url("../fonts/3AF334_0_0.ttf") format("truetype");
}
@font-face {
  font-family: "Praktika";
  font-weight: 300;
  font-style: italic;
  src: url("../fonts/3AF334_0_0.eot");
  src: url("../fonts/3AF334_0_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/3AF334_0_0.woff2") format("woff2"),
    url("../fonts/3AF334_0_0.woff") format("woff"),
    url("../fonts/3AF334_0_0.ttf") format("truetype");
}

@font-face {
  font-family: "Praktika";
  font-weight: 400;
  src: url("../fonts/3AF334_1_0.eot");
  src: url("../fonts/3AF334_1_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/3AF334_1_0.woff2") format("woff2"),
    url("../fonts/3AF334_1_0.woff") format("woff"),
    url("../fonts/3AF334_1_0.ttf") format("truetype");
}

@font-face {
  font-family: "Supermolot";
  src: url("../fonts/3AF346_0_0.eot");
  src: url("../fonts/3AF346_0_0.eot?#iefix") format("embedded-opentype"),
    url("../fonts/3AF346_0_0.woff2") format("woff2"),
    url("../fonts/3AF346_0_0.woff") format("woff"),
    url("../fonts/3AF346_0_0.ttf") format("truetype");
  font-weight: 400;
}

/* #region baer */
html {
  scroll-behavior: smooth;
}
button {
  outline: 0;
}
textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

* {
  box-sizing: border-box;
  background-origin: content-box;
  text-rendering: optimizeLegibility !important;
  -webkit-tap-highlight-color: transparent;
}
.hidden {
  display: none;
}
.reveal {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 1s;
}
.reveal.show {
  opacity: 1;
  height: auto;
  overflow: visible;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  height: 100%;
}
body {
  font-family: Praktika, sans-serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 36px;
  color: #4d4d4d;
  word-wrap: break-word;
}
a.more {
  font-family: "Supermolot", sans-serif;
  color: var(--petrol);
  font-weight: normal;
}

h1,
h3,
h2 {
  font-family: "Supermolot", sans-serif;
  color: var(--petrol);
  font-weight: normal;
  font-size: 55px;
}
h2 {
  font-size: 36px;
  line-height: 40px;
}
h3 {
  font-size: 25px;
}
h4 {
  margin: 0;
}

.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 12px;
}

table {
  width: 100%;
  margin: 30px 0;
  font-size: 16px;
  font-weight: 300;
  font-family: sans-serif;
}
thead {
  background-color: #e5f0ef;
}
th {
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
  padding: 12px;
  border-right: 1px solid #fff;
}
td {
  font-weight: 300;
  text-align: left;
  line-height: 1.3;
  padding: 12px;
  border-bottom: 1px solid #c4e0de;
  border-right: 1px solid #c4e0de;
}
th:last-child,
td:last-child {
  border-right: none;
}
tbody {
  border-bottom: 3px solid #c4e0de;
}
.mainteaser h1 {
  height: 240px;
  background-image: url(../images/lines-h1.svg);
  background-repeat: no-repeat;
  background-position: right 0;
  background-size: auto 155px;
  display: inline-block;
  position: absolute;
  top: 17vh;
  z-index: 1;
  left: 0;
  padding: 0;
}
.post-template-default .mainteaser h1 {
  font-size: 40px;
  line-height: 1.2;
}

.mainteaser h1 span {
  padding: 165px 100px 0 calc(50vw - 570px);
  display: block;
}
.archive article {
  padding-bottom: 3vh;
  margin-bottom: 3vh;
  border-bottom: 1px solid #ddd;
}
.archive .entry-summary {
  display: flex;
  justify-content: space-between;
}
.archive .entry-summary > a {
  flex-basis: 25%;
}
.archive .entry-summary > div {
  flex-basis: 70%;
}
.archive .entry-summary h2 {
  font-size: 32px;
  margin: 0 0 0.5em 0;
}
.archive main#content {
  padding-bottom: 190px;
}
/* #region Single Produkte */
.single-produkte .mainteaser,
.archive .mainteaser,
.single-post .mainteaser {
  height: 33vh;
  margin-bottom: 65px;
  min-height: 350px;
}
.single-post .thumb {
  min-width: 260px;
}
.single-post .thumb img,
.archive .entry-summary > a img {
  width: 100%;
  height: auto;
  border: 1px solid #e5f0ef;
}

.archive #content {
  padding-top: 0;
}
.single-produkte .mainteaser h1,
.archive .mainteaser h1,
.single-post .mainteaser h1 {
  position: initial;
  height: auto;
  background-image: none;
  margin: 7vh 0 0 0;
}
.single-produkte .mainteaser h1 span,
.archive .mainteaser h1 span,
.single-post .mainteaser h1 span {
  padding: 0;
}
.single-produkte .product-image {
  margin: 0 70px 30px 0;
  padding-bottom: 30px;
  border-bottom: 1px solid #ddd;
}
.single-produkte article > .container {
  display: flex;
  flex-wrap: wrap;
}
.single-produkte aside {
  flex-basis: 30%;
  flex-shrink: 1;
  flex-grow: 0;
}
.single-produkte main {
  flex-basis: 70%;
  flex-shrink: 1;
  flex-grow: 0;
}
.single-produkte footer.entry-footer {
  flex-basis: 100%;
  flex-shrink: 0;
  flex-grow: 1;
  min-height: 333px;
}

aside ul#lct-widget-produktgruppe {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.3;
  margin: 12px 0 12px 1em;
  padding: 0 30px 0 0;
}
aside ul#lct-widget-produktgruppe li {
  margin-bottom: 7px;
}

/* #endregion Single Produkte */

.title-white .mainteaser h1 {
  background-image: url(../images/lines-h1-white.svg);
  color: #fff;
}
.bigger {
  font-size: 28px;
  line-height: 40px;
}
p {
  margin: 0 0 15px 0;
}
p.right {
  text-align: right;
}
a {
  color: #09f;
  text-decoration: none;
}
hr {
  height: 2px;
  border: 0;
  margin: 7vh 0;
  background-image: url(../images/hr.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

#header .container {
  height: 75px;
  align-items: center;
}
#header .branding,
.scroll-down.logo-white #header .branding,
.scroll-up.logo-white #header .branding {
  width: 397px;
  height: 75px;
  background-image: url(../images/baer-emt-logo-2020.svg);
  background-repeat: no-repeat;
}
#header .branding a {
  font-size: 0.01em;
}
.logo-white #header .branding {
  background-image: url(../images/baer-emt-logo-2020-white.svg);
}

.section-header {
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 290px;
  margin-left: 0;
  margin-bottom: -30px;
}

.section-header h2 {
  margin-bottom: 85px;
}
.section-header.icon-left {
  background-image: url(../images/section-header-left.svg);
}
.section-header.icon-right {
  background-image: url(../images/section-header-right.svg);
}

.box {
  font-size: 20px;
  line-height: 34px;
  hyphens: auto;
  background-color: #e5f0ef;
  padding: 25px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.box p {
  margin: 0;
}
.box .widget:last-child {
  flex-basis: 50px;
  flex-grow: 1;
  flex-shrink: 0;
  margin: auto 0 0;
  position: relative;
}
.box .widget:last-child > div {
  position: absolute;
  bottom: 0;
}

.box hr {
  margin: 3vh 0;
}
#partners .sow-image-container {
  height: 70px;
  align-items: center;
}
#partners img {
  max-width: 200px;
  max-height: 70px;
}

.bg-petrol,
#footer {
  background-color: #006561;
  color: #fff;
}
.bg-petrol-light {
  background-color: #e5f0ef;
}
.bg-petrol-medium {
  background-color: #cce0df;
}
.petrol-text {
  color: #006561;
}
.panel-grid > .bg-petrol-light {
  padding-top: 50px;
}
.shadowed-img img {
  box-shadow: 7px 7px 12px 0 rgba(0, 0, 0, 0.2);
}
.rounded img {
  border-radius: 50%;
}

main > .entry-content > .panel-layout > .panel-grid:last-child > div {
  padding-bottom: 265px;
}
a.post-edit-link {
  position: fixed;
  top: 50px;
  left: -3000px;
  z-index: 1000;
}
textarea {
  font-family: sans-serif;
  padding: 15px;
  border: 0;
  outline: 0;
  margin-top: 10px;
  background: #f6f6f6;
}
input[type="submit"],
#menu .toggle:hover {
  cursor: pointer;
}
input[type="search"] {
  -webkit-appearance: textfield;
}
a img,
input[type="image"],
iframe {
  border: 0;
}
img,
video,
audio,
table,
select,
textarea {
  max-width: 100%;
  height: auto;
}
table {
  width: 100%;
  margin: 30px 0;
}

#wrapper {
  max-width: 100%;
  margin: 0 auto;
}
#header,
#container,
#footer {
  padding: 24px 0;
}
#header {
  position: fixed;
  z-index: 12;
  left: 0;
  top: 0;
  right: 0;
  border-top: 34px solid #196a73;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition: top 1s, background-color 0.3s, box-shadow 0.3s;
}
.scroll-up #header {
  top: -168px;
}
.scroll-down #header {
  background-color: #fff;
  box-shadow: 0 0 300px 0 rgba(0, 0, 0, 0.1);
}
#container {
  background: #fff;
}
#container:after {
  display: table;
  content: "";
  clear: both;
}
#content {
  padding: 34px 0 240px;
  min-height: 100vh;
}
#footer {
  position: relative;
}
#footer:before {
  content: "";
  display: block;
  width: 50vw;
  height: 155px;
  background-image: url(../images/lines-h1.svg);
  background-repeat: no-repeat;
  background-position: right 0;
  background-size: cover;
  position: absolute;
  top: -200px;
  z-index: 1000;
}

.mainteaser {
  max-height: 760px;
  height: 80vh;
  background-color: #e5f0ef;
  background-position: center 0;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mainteaser:after {
  content: "";
  position: absolute;
  right: 30%;
  bottom: 0;
  height: 48px;
  background-image: url(../images/header-wave.svg);
  background-repeat: no-repeat;
  background-position: right 0;
  background-size: cover;
  min-width: 100%;
}

.flex {
  display: flex;
}
.flex.space-between {
  justify-content: space-between;
}
#header .toggle {
  width: 42px;
  height: 30px;
  background-image: url(../images/hamburger.svg);
  background-repeat: no-repeat;
  background-position: 0 center;
  overflow: hidden;
  background-size: 84px 30px;
  cursor: pointer;
}
#header .toggle:hover {
  background-position: -42px center;
}

/* #endregion baer */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* #region max-width 1024 */
@media (max-width: 1024px) {
  .box-5,
  .box-6 {
    width: 25%;
  }
  .boxes .box-5:nth-child(5) {
    width: 100%;
  }
  .boxes .box-6:nth-child(5),
  .boxes .box-6:nth-child(6) {
    width: 50%;
  }
}
/* #region max-width 768 */
@media (max-width: 768px) {
  #header,
  #footer {
    text-align: center;
  }
  main#content,
  #sidebar {
    width: 100%;
    padding: 0;
  }
  #search {
    float: none;
  }
  #search .search-field {
    width: 100%;
  }
  #menu.checked {
    width: 100%;
    height: 100%;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
  }

  #menu ul,
  #menu ul ul {
    display: none;
  }
  #menu input.toggle:checked + div > ul,
  #menu input.toggle:checked + div > ul ul {
    display: block;
    position: relative;
    top: 0;
    padding: 0;
  }
  #menu input.toggle:checked + div > ul {
    padding-bottom: 10px;
  }
  #menu input.toggle:checked + div > ul li a,
  #menu input.toggle:checked + div > ul ul li a {
    display: inline-block;
    width: 100%;
    font-size: 18px;
    color: #fff;
    line-height: 20px;
    padding: 15px 0 5px;
    border: 0;
    margin: 0;
    background: none;
  }
  #menu input.toggle:checked + div > ul ul li a {
    color: #ccc;
  }
  .box-4,
  .box-5,
  .box-6 {
    width: 50%;
  }
}
/* #endregion max-width 767 */
/* #region max-width 767 */
@media (max-width: 767px) {
  .single .nav-links .nav-previous,
  .single .nav-links .nav-next {
    float: none;
  }
  .box-3 {
    width: 50%;
  }
  .boxes .box-3:nth-child(3) {
    width: 100%;
  }
}

/* #endregion max-width 767 */

/* #region min-width 1180 */
@media (min-width: 1180px) {
  .section-header.icon-left h2 {
    max-width: 70%;
  }
  .section-header.icon-right h2 {
    max-width: 85%;
  }
}

/* #endregion min-width 1180 */

/* #region PRINT */
@media print {
  main#content {
    width: 100%;
    color: #000;
    padding: 0;
    margin: 0;
    background: #fff;
    float: none;
  }
  #header,
  #sidebar,
  #footer {
    display: none;
  }
}
/* #endregion PRINT */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}
.form-allowed-tags,
.search-submit {
  display: none !important;
}

.category-esz-aktuelles .mainteaser .container,
.category-esz-news .mainteaser .container {
  /* background-image: url(../images/BMWi_Fz_2017_WebSVG_de.svg); */
  background-repeat: no-repeat;
  background-position: 92% bottom;
  background-size: 170px;
  padding-top: 50px;
}
.category-esz-news .mainteaser .container {
  /* background-image: url(../images/BMWi_Fz_2017_WebSVG_en.svg); */
}
.category-esz-aktuelles .mainteaser h1,
.category-esz-news .mainteaser h1 {
  margin-bottom: 50px;
}

.pum-container.theme-663 .pum-title {
  font-family: "Supermolot", sans-serif;
  font-size: 28px;
  background-color: #e5f0ef;
  padding: 100px 30px 70px;
  background-image: url(../images/baer-emt-logo-2020.svg);
  background-repeat: no-repeat;
  background-size: 280px;
  background-position: 96% 30px;
  overflow: hidden;
}
.pum-container.theme-663 .pum-title:after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: 0;
  height: 36px;
  background-image: url(../images/header-wave.svg);
  background-repeat: no-repeat;
  background-position: right 0;
  background-size: auto 36px;
  min-width: 100%;

  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

.pum-container.theme-663 .pum-content {
  padding: 30px;
  font-size: 19px;
  line-height: 1.5;
}
.pum-container.theme-663 .pum-content hr {
  margin: 30px 0 0;
  opacity: 0.25;
  background-size: cover;
}
.pum-container.theme-663 .pum-content ul {
  margin: 0;
  padding: 0 0 0 1em;
  line-height: 1.3;
}
.pum-container.theme-663 .pum-content ul li {
  margin-bottom: 0.5em;
}
html#baer.pum-open.pum-open-overlay,
html#baer.pum-open.pum-open-overlay.pum-open-fixed .pum-overlay {
  overflow: visible;
}

/* #region Gallery Slider */
.gallery-size-365-365 {
  width: 365px;
  height: 365px;
}
.gallery-size-365-365 .gallery-item {
  margin: 0 !important;
}
.gallery-size-365-365 img {
  border: none !important;
}

.gallery-size-popup-slider {
  width: 100%;
  height: auto;
}
.gallery-size-popup-slider .gallery-item {
  margin: 0 !important;
}
.gallery-size-popup-slider img {
  border: none !important;
}

/* #endregion Gallery Slider */

@media screen and (max-width: 8000px) {
  #baer #responsive-menu-container {
    left: 0;
    transition: transform 0.5s;
    text-align: left;
    background-image: url(../images/baer-emt-logo-2020.svg);
    background-size: 50%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 20px 30px;
  }
  #baer #responsive-menu-wrapper {
    padding: 120px 0 0 80px;
  }
  #baer button#responsive-menu-button {
    display: none;
    visibility: hidden;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 20px;
    line-height: 1.5;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
    line-height: 1.2;
  }
}
@media (min-width: 769px) and (max-width: 900px) {
  body {
    font-size: 21px;
    line-height: 1.5;
  }
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 32px;
    line-height: 1.2;
  }
}
