/*
Theme Name: Löschzug Avenwedde v2
Description: Ein Template für den Löschzug Avenwedde
Author: Frederic Birwe
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: loeschzug_avenwedde_2020
Licence: -
Licence URI: -
*/

body {
  background: white;
}

.section_wrapper,
header {
  max-width: 1025px;
  margin: 0 auto;
}

* {
  padding: 0;
  margin: 0;
}

html {
  font-family: "Roboto", sans-serif;
}

/* Header */
header {
  position: relative;
  margin: 30px auto;
}

header h1 {
  position: relative;
  padding-left: 30px;

  display: inline-block;
  z-index: 26;
}

header h1 img {
  height: 150px;
  width: auto;
}

header nav {
  position: absolute;
  top: 40%;

  width: 100%;
}

.burger_icon {
  display: none;
}

nav ul {
  display: flex;

  list-style: none;
}

header nav ul {
  padding: 10px 30px 0 0;
  height: 44px;
  justify-content: flex-end;
  border-top: 1px solid #d8d8d8;
  position: relative;
  z-index: 25;
}


header nav ul li {
  position: relative;
}

header nav ul li img.arrow {
  position: absolute;
  top: 7px;
  right: -4px;
  width: 30px;  
}

.level_two_nav {
  margin-top: 25px;
  position: relative;
}

.level_two_nav ul {
  border: none;
  display: flex;
  justify-content: center;

  z-index: 1;
  max-width: 100%;
  flex-wrap: wrap;
}

.level_two_nav ul li {
  border: none;
  background-color: #ddd;
  border-radius: 30px;
  padding: 8px;
  margin: 5px;
  font-size: 12px;

  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.level_two_nav ul li:hover {
  background-color: #eee;
}

header nav ul li.open img.arrow, header nav ul li:hover img.arrow {
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  transform: rotate(270deg);
}

header nav ul li:hover ul.sub-menu {
  display: block;
  height: auto;
}

header nav ul.sub-menu {
  display: none;
  position: absolute;
  left: 0px;
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.3s ease-in;
}

header nav ul.sub-menu li {
  border: none;
  border-bottom: 1px solid #d8d8d8;

  width: 100%;
  padding: 0;
}

header nav ul.sub-menu li:last-child {
  border: none;
}

header nav ul.sub-menu li a {
  display: flex;
  font-weight: 300;
  /* font-style: italic; */
  /* color: #333; */
  font-size: 13px;
  min-height: 25px;
  width: 100%;
  line-height: normal;
  background-color: rgba(240,240,240,0.9);
  padding: 5px;

  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

header nav ul.sub-menu li a:hover {
  background-color: rgba(200,200,200,0.9)
}

/* header nav ul li {
  padding: 0;
} */

@media (max-width: 750px) {
  header {
    height: 50px;
    display: flex;
    justify-content: center;

    background-color: #464646;
    margin: 0;
    padding: 20px;
  }

  header h1,
  header h1 img,
  .burger_icon,
  .burger_icon img {
    height: 100%;
  }

  header h1 {
    /* position: absolute;
        top: 0px;
        left: 0px; */
    padding: 0;
  }

  header h1 img {
    width: auto;
  }

  .burger_icon {
    display: block;
    padding-right: 15px;

    position: absolute;
    top: 20px;
    right: 20px;

    height: 50px;
  }

  header nav {
    display: none;
    position: absolute;
    top: 100%;
  }

  /* header nav.hidden {
    display: none;
  } */

  header nav.visible {
    display: block;
  }

  header nav ul {
    border-top: 0px;
    flex-wrap: wrap;
    padding: 0;
  }

  header nav ul li {
    background-color: white;

    border: none;
    width: 100%;
  }

  header nav ul.sub-menu {
    display: none;
    position: relative;
    height: auto;
    transition: all 0.3s ease-in;
  }

  header nav ul li.open ul.sub-menu {
    display: block;
  }
}

footer .footer_part {
  color: #646464;
  font-size: 15px;
  font-weight: lighter;
}

footer .footer_part ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.follow_us {
  display: flex;
  align-items: center;
}

.follow_us > * {
  margin-right: 8px;
}

.follow_us img {
  height: 45px;
  width: auto;
}

footer nav ul {
  padding: 5px 30px 0 0;

  height: 25px;
}

nav li {
  font-family: "Roboto Condensed", sans-serif;
  color: #646464;
  font-size: 15px;
  /* width: 110px; */
  padding: 0 18px;
  display: inline-block;
  text-align: center;

  border-right: 1px solid #d8d8d8;
  transition: all 0.3s ease-in;
}

nav li a {
  text-decoration: none;
  color: #646464;
  transition: all 0.3s ease-in;
}

header nav li {
  height: auto;
  /* padding: 0 0; */
}

header nav li a {
  height: 45px;
  display: block;
  line-height: 45px;
}

/* #main_nav li a:hover { */
#main_nav li:hover {
  background-color: rgb(236, 236, 236);
}

footer nav li {
  padding: 15px 10px;
  color: #888888;
  border-right: 1px solid #888888;
}

footer nav li:first-child {
  border-left: 1px solid #888888;
}

#footer-widget-wrapper {
  list-style: none;
}

header nav li:hover {
  /* background-color: rgb(236, 236, 236); */
  /* color: white; */
}

header nav li:first-child {
  border-left: 1px solid #d8d8d8;
}

/* Main */
.buehne {
  background-position: center;
  background-size: cover;
  margin: 0 auto;
  max-width: 1500px;

  width: 100%;
  height: 500px;

  background-color: #646464;

  overflow: hidden;
  display: flex;
  align-items: center;
}

.buehne.huge {
  height: 750px;
}

.buehne > figure {
  margin: 0;
}

.buehne img {
  width: 100%;
  height: auto;
}

section,
.wp-block-group {
  margin-bottom: 150px;
}

@media (max-width: 750px) {
  .buehne, .buehne.huge {
    height: 250px;
  }
}

.section_wrapper {
  margin-top: 34px;
  display: flex;
}

.section_wrapper div.sidebar {
  border-left: 5px solid #0050a0;
  padding-left: 15px;
  min-width: 210px;
  max-width: 210px;

  margin-bottom: 30px;
}

@media (max-width: 750px) {
  .section_wrapper {
    flex-wrap: wrap;
  }

  .section_wrapper div.sidebar {
    max-width: 100%;
    width: 100%;
  }
}

.section_wrapper div.sidebar p {
  font-style: italic;
  font-size: 13px;
  line-height: 22px;
  color: #999;
  padding: 5px 0;
}

.section_wrapper .main {
  margin-left: 15px;
  flex-grow: 1;

  max-width: 100%;
}

@media ( max-width : 750px ) {
  .section_wrapper .main {
    margin-right: 15px;
  }
}

h1.page_title {
  display: none;
}

main h2 {
  font-family: "Roboto", "Arial", sans-serif;
  font-weight: bold;
  text-transform: uppercase;

  font-size: 25px;
  color: black;

  margin-bottom: 20px;
  margin-top: 30px;
}

#to_top {
  display: none;
  position: fixed;
  right: 50px;
  bottom: 50px;

  width: 75px;
  height: 75px;

  border-radius: 10px;
  background-color: #aaa;
  transition: all 0.3s ease-in;

  box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.46);
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.46);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.46);
}

#to_top:hover {
  background-color: #ddd;
}

#to_top.visible {
  display: block;
}

.main p,
.main li,
.thumb p,
.wp-block-column p,
.wp-block-latest-posts__post-excerpt {
  font-size: 15px;
  line-height: 22px;
  color: #515151;
}

.main li {
  margin: 8px 0 8px 25px ;
}
.main p {
  margin-bottom: 8px;
}

blockquote {
  font-size: 15px;
  font-style: italic;
  padding-left: 8px;
  border-left: 1px solid #515151;

  margin: 15px 0;
}

.thumb_wrapper,
.wp-block-columns {
  display: flex;
}

@media (max-width: 750px) {
  .thumb_wrapper,
  .wp-block-columns {
    flex-wrap: wrap;
  }
}

.thumb,
.wp-block-column {
  flex-grow: 1;
  /* width: 30%; */
}

.thumb h3,
.wp-block-column h3 {
  color: #292929;
  margin-bottom: 15px;
}

.thumb .thumb_img,
.wp-block-column figure {
  background-color: #292929;
  overflow: hidden;

  width: 90%;
  height: 270px;

  margin-bottom: 15px;
}

.thumb .thumb_img img,
.wp-block-column figure img {
  width: 100%;
}

table tr {
  text-align: left;
}

@media (max-width: 750px) {
  table.einsatz_uebersicht {
    max-width: 100%;
  }

  table tr.normal_row td:nth-child(3) {
    display: none;
  }
  table tr.normal_row td:nth-child(4) {
    display: none;
  }

  table.einsatz_uebersicht th:nth-child(3) {
    display: none;
  }

  table.einsatz_uebersicht th:nth-child(4) {
    display: none;
  }
}

table tr th {
  max-width: 150px;
}

.main .wp-block-latest-posts li {
  display: flex;
  border-top: 1px solid #979797;
  padding: 20px 10px;
  min-height: 70px;
  vertical-align: middle;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
}

.main .wp-block-latest-posts li:last-child {
  border-bottom: 1px solid #979797;
}

.main .wp-block-latest-posts li a {
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease-in;
}

.main .wp-block-latest-posts li a:hover {
  text-decoration: underline;
}

/* footer */
footer {
  background-color: #484848;
  padding-top: 75px;
  padding-bottom: 75px;
}

footer .footer_wrapper {
  max-width: 1025px;
  margin: 0 auto;

  display: flex;
}
.footer_part {
  flex-grow: 1;
}

@media (max-width: 750px) {
  footer {
    padding: 0;
  }

  footer .footer_wrapper {
    flex-wrap: wrap;
    padding: 50px;
  }

  .footer_part {
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    margin-bottom: 25px;
  }

  #footer_sub_nav {
    display: block;
    text-align: center;
  }

  #footer_sub_nav ul {
    flex-wrap: wrap;

    height: auto;
    padding: 0;
  }

  #footer_sub_nav ul li {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #888888;
  }

  #footer_sub_nav ul li:last-child {
    border-bottom: none;
  }

  #follow_us_buttons ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #follow_us_buttons ul li {
    margin-bottom: 15px;
  }
}

.footer_part h3 {
  text-transform: uppercase;
  color: #d8d8d8;
  margin-bottom: 15px;
}

/* Slideshow */
.wp-block-gallery {
  position: relative;
  width: 100%;
  /* height: 100%; */
  overflow: hidden;

  display: flex;
  justify-content: center;
}
/* 
.wp-block-gallery ul {

} */

.wp-block-gallery .fb_slideshow_slider {
  display: flex;
  position: absolute;

  list-style: none;

  transition: 0.5s all ease;
}

.wp-block-gallery .fb_slideshow_slider figure {
  background-size: cover;
  background-position: center;
  display: flex;
  flex-grow: inherit;

  align-items: center;
  margin: 0 !important;
}


.wp-block-gallery .fb_slideshow_slider figure > * {
  width: 100%;
  height: auto;
}

.wp-block-gallery .blocks-gallery-grid li figure {
  margin: 0;
  align-items: center;
}

.wp-block-gallery .blocks-gallery-grid li figure img {
  height: auto;
}

.buehne.contain {
  background-color: rgba(255,255,255,0);
}

.buehne.anchor-top {
  align-items: flex-start;
}

.buehne.anchor-bottom {
  align-items: flex-end;
}


.wp-block-gallery.contain img {
  object-fit: contain !important;
}


.wp-block-gallery .arrows {
  position: absolute;
  height: 100%;
  width: 100%;

  display: flex;
  justify-content: flex-start;
}

.arrows .arrow_left,
.arrows .arrow_right {
  width: 150px;
  height: 100%;
}

.arrows .arrow_right {
  margin-left: auto;
}

.bullets {
  position: absolute;
  bottom: 30px;
  display: flex;
  list-style: none;
}

.bullets li {
  width: 20px;
  height: 20px;

  margin-right: 10px;

  border-radius: 10px;
  background-color: rgba(237, 235, 235, 0.5);
}

.bullets li:last-child {
  margin-right: 0;
}

.bullets li.active {
  background-color: rgba(237, 235, 235, 1);
}

div.sidebar h2 {
  text-transform: none;
}

div.sidebar .slider {
  text-align: center;
}

div.sidebar .slider ul {
  list-style: none;
  display: flex;

  justify-content: center;

  margin-bottom: 25px;
}

div.sidebar .slider ul li {
  margin-right: -20px;
  height: 45px;

  /* box-shadow: 9px 0px 0px #f0f1f5, 0 -9px 0px 0px #f0f1f5,
    12px 0 15px -4px rgba(0, 55, 162, 0), -12px 0 15px -4px rgba(0, 0, 0, 0.97); */
}

div.sidebar .slider ul li:last-child {
  margin-right: 0;
}

div.sidebar .slider ul li img {
  height: 45px;
  width: auto;

  box-shadow: -5px 5px 10px -5px rgba(0, 0, 0, 0.3);
}

div.sidebar .slider p {
  font-family: "Roboto";
  font-weight: bold;
  font-style: normal;
  font-size: 20px;
  color: #5c5c5c;
}

div.sidebar .slider p a {
  font-size: 12px;
  font-weight: normal;
  color: #5c5c5c;
}

div.sidebar ul.wp-block-latest-posts li {
  border-top: 1px solid black;
  padding: 10px 10px;
}

div.sidebar ul.wp-block-latest-posts li:last-child {
  border-bottom: 1px solid black;
}

div.sidebar ul.wp-block-latest-posts li a {
  text-decoration: none;
  font-weight: bold;
  color: black;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #292929c5;
  z-index: 10;
}

.lightbox.hidden {
  display: none;
}

.lightbox .lightbox_content {
  display: flex;
  position: absolute;
  /* width: 100%;
    height: 100%; */

  list-style: none;
  transition: all 0.3s ease-in;
}

.lightbox .lightbox_content li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox .lightbox_content li img {
  max-width: 75%;
  max-height: 75%;
}

.lightbox .lightbox_thumbs {
  display: flex;
  align-items: center;

  position: absolute;
  bottom: 15%;

  list-style: none;
}

.lightbox .lightbox_thumbs li {
  border: 3px solid rgba(0, 0, 0, 0);
  height: 45px;
  transition: all 0.3s ease-in;

  margin-right: 7px;
}

.lightbox .lightbox_thumbs li:last-child {
  margin-right: 0;
}

.lightbox .lightbox_thumbs li.active {
  border: 3px solid white;
  /* box-shadow: 0px 0px 8px 0px rgba(255, 255, 255, 0.7); */
}

.lightbox .lightbox_thumbs img {
  height: 45px;
}

.lightbox img {
  -webkit-box-shadow: 1px 1px 14px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 1px 1px 14px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 1px 1px 14px 0px rgba(0, 0, 0, 0.35);
}

.lightbox button.close {
  position: absolute;
  top: 20px;
  left: 20px;

  z-index: 5;

  border: none;
  padding: 8px 12px;
  border-radius: 18px;
}

.wp-block-columns.centered .wp-block-column > * {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-block-columns.centered p {
  text-align: center;
}

.contain {
  /* background-color: rgba(0, 0, 0, 0) !important; */
}

.contain img {
  height: 70%;
}

.no_background {
  background-color: transparent !important;
}

/* Content Scroller */
section .content_slide {
  overflow: hidden;
  position: relative;
}

section .content_slide .content_slide_wrapper {
  position: absolute;
  left: 0px;

  display: flex;
  transition: all 0.3s ease-in;
}

div.sidebar .content_slide li {
  color: rgb(134, 134, 134);
  font-size: 15px;
  font-weight: lighter;
  line-height: 22px;
  list-style: none;
  padding: 3px;

  border-bottom: 1px solid rgb(134, 134, 134);
  transition: all 0.3s ease-in;
}

div.sidebar .content_slide li:first-child {
  border-top: 1px solid rgb(134, 134, 134);
}

div.sidebar .content_slide li:hover {
  background-color: #0050a0;
  color: white;
}

/* Block Post List */

ul.wp-block-latest-posts__list.aktuell_page li.has_image {
  display: flex;
  padding: 0;
}

ul.wp-block-latest-posts__list.aktuell_page li.has_image div.wp-block-latest-posts__featured-image {
  display: flex;

  flex-basis: 150px;
	flex-grow: 0;
	flex-shrink: 0;
}

ul.wp-block-latest-posts__list.aktuell_page li.has_image .content_wrapper {
  margin: 20px 10px;
  display: inline;
}

.wp-block-social-links.has-huge-icon-size li {
  font-size: 80px !important;
}

table.einsatz_uebersicht {
  margin-top: 50px;
  width: 100%;
}

table.einsatz_uebersicht td, table.einsatz_uebersicht th {
  padding: 10px;
}

table.einsatz_uebersicht td a {
  color: black;
  text-decoration: underline;
}

table.einsatz_uebersicht td a:hover {
  text-decoration: underline;
}

table.einsatz_uebersicht tr.hidden {
  display: none;
}

table.einsatz_uebersicht td {
  border-bottom: 1px solid #aaa;
}

tr.detail_row td {
  font-size: 16px;
  padding: 25px 10px;
  background-color: #eee;
}

tr.detail_row {
  display: none;
  transition: all 1s ease-in;
}

tr.detail_row.visible {
  display: table-row;
}

button.show_more {
  width: 25px;
  height: 25px;

  border: none;
  border-radius: 5px;
}

/* */
.tools_wrapper {
  display: flex;
  margin-top: 35px;
}

@media (max-width : 750px) {
    .tools_wrapper {
      flex-direction: column;
    }

    .tool_group h4 {
      margin-bottom: 5px;
    }
}

.tool_group {
  flex: 1;
  max-width: 100%;
  margin-top: 35px;
  margin-right: 15px;
}

h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

ul.einsatz_eigenschaften {
  display: flex;
  list-style: none;
}

ul.einsatz_eigenschaften li {
  padding: 5px;
  /* margin: 5px; */
  border-left: 1px solid #666;
  font-style: italic;
}

ul.einsatz_eigenschaften li:first-child {
  border-left: none;
}

input[type="date"] {
  font-family: "Roboto";
  border: none;
  border-bottom: 1px solid #6A6465;
}

section.range-slider {
  position: relative;
  width: 200px;
  height: 35px;
  text-align: center;
}

section.range-slider input {
  pointer-events: none;
  position: absolute;
  overflow: hidden;
  left: 0;
  top: 15px;
  width: 200px;
  /* outline: none; */
  height: 18px;
  margin: 0;
  padding: 0;
}

section.range-slider input::-webkit-slider-thumb {
  pointer-events: all;
  position: relative;
  z-index: 1;
  outline: 0;
}

section.range-slider input::-moz-range-thumb {
  pointer-events: all;
  position: relative;
  z-index: 10;
  -moz-appearance: none;
  width: 9px;
}

section.range-slider input::-moz-range-track {
  position: relative;
  z-index: -1;
  background-color: rgba(0, 0, 0, 1);
  border: 0;
}
section.range-slider input:last-of-type::-moz-range-track {
  -moz-appearance: none;
  background: none transparent;
  border: 0;
}
section.range-slider input[type=range]::-moz-focus-outer {
border: 0;
}

#einsatz_date_wrapper label:first-child {
  margin-left: 0px;
}

#einsatz_date_wrapper label {
  margin-left: 25px;
}

/* Activatorbuttons */
.activators button {
  border: 0px;
  padding: 10px;
  background-color: white;
  border-radius: 20px;
  color: #6A6465;
  font-weight: normal;
  border: 1px solid #6A6465;

  box-sizing: border-box;
  margin-right: 8px;
  margin-top: 8px;
}

.activators button:hover {
  background-color: #ccc;
}

.activators button.active {
  background: #ee9999;
  border: none;
  /* border: 2px solid #85040D; */
  color: #85040D;
}

.activators button.active:hover {
  background-color: #ad4047;
}

/* single */
a.back_link {
  display: block;
  margin-bottom: 40px;
}

.loeschzuege_wrapper {
  display: flex;
}

.loeschzuege_wrapper span.label {
  font-weight: bold;
  margin-right: 8px;
}

.loeschzuege_wrapper span.loeschzuege {
  font-style: italic;
}

.single_content_wrapper {
  margin-top: 20px;
}

/* Tabelle */
.wp-block-table.is-style-stripes td , .wp-block-table.is-style-stripes th {
  padding: 10px;
  border-right: 1px solid #ccc !important;
}
