@font-face {
  font-family: 'source_bold';
  src: url('../fonts/sourceserifpro-bold-webfont.woff2') format('woff2'), url('../fonts/sourceserifpro-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'source_bolditalic';
  src: url('../fonts/sourceserifpro-bolditalic-webfont.woff2') format('woff2'), url('../fonts/sourceserifpro-bolditalic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'source_italic';
  src: url('../fonts/sourceserifpro-italic-webfont.woff2') format('woff2'), url('../fonts/sourceserifpro-italic-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'source_regular';
  src: url('../fonts/sourceserifpro-regular-webfont.woff2') format('woff2'), url('../fonts/sourceserifpro-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #202720;
  padding: 0;
  margin: 0;
  background: linear-gradient(180deg, #e6f2f9, #f0fffe);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: #049982;
  text-decoration: underline;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.wrapper.flex {
  display: flex;
  gap: 40px;
}
.wrapper.flex .page_title {
  flex-basis: 100%;
}
.wrapper.flex .content_wrapper {
  flex-grow: 1;
  max-width: 100%;
}
.wrapper.flex .sidebar_wrapper {
  flex-grow: 1;
  min-width: 200px;
  max-width: 25%;
  padding: 20px;
  background-color: #F6F6F6;
  border: 3px solid #049982;
  margin-top: 120px;
}
.wrapper.flex .sidebar_wrapper p {
  line-height: 1.4;
}
.wrapper.flex .sidebar_wrapper a {
  text-decoration: none;
}
.wrapper.flex .sidebar_wrapper hr {
  opacity: 0.5;
}
.main-content {
  flex-grow: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}
.main-content .content_wrapper > .wp-block-cover:first-of-type {
  margin-top: -40px;
  margin-left: -75px;
  margin-right: -75px;
  width: calc(100% + 150px);
  padding-top: 30% !important;
}
#header {
  padding: 10px 0;
  position: relative;
  z-index: 50;
  background: transparent url('../imgs/titel.jpg') no-repeat top center;
  background-size: cover;
}
#header .wrapper {
  align-items: center;
}
#header .logo a {
  margin: 0 auto;
  display: block;
  width: 260px;
  padding: 20px 0;
}
#header .logo img {
  width: 100%;
}
body.home #header {
  height: calc(80vh - 60px);
  background: transparent url('../imgs/titel.jpg') no-repeat center center;
  background-size: cover;
}
body.home #header .logo a {
  width: 400px;
  margin-top: 5%;
}
#navigation {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  background-color: #049982;
}
#navigation ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#navigation .navlinks {
  display: flex;
}
#navigation .navlinks > li {
  display: flex;
  align-items: center;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transition: all 300ms;
}
#navigation .navlinks > li a {
  display: block;
  font-size: 20px;
  font-family: 'source_regular';
  line-height: 35px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 300ms;
  color: #F6F6F6;
}
#navigation .navlinks > li:hover {
  border-bottom-color: #facd02;
  background-color: #05b297;
}
#navigation .navlinks > li:hover > .sub-menu {
  display: block;
}
#navigation .navlinks > li.current-menu-item a {
  border-bottom-color: #F6F6F6;
}
#navigation .navlinks > li .menu-item-has-children {
  position: relative;
}
#navigation .navlinks > li .menu-item-has-children:hover > .sub-menu {
  display: block;
  left: 100%;
  top: 0;
  border-left: 1px solid white;
}
#navigation .sub-menu {
  display: none;
  position: absolute;
  background-color: #049982;
  top: 100%;
}
#navigation .sub-menu a {
  border-bottom: 1px solid #05b297;
  transition: all 300ms;
}
#navigation .sub-menu a:hover {
  background-color: #05b297;
}
.admin-bar #navigation {
  top: 32px;
}
.category-header {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 20px;
  text-align: center;
}
.category-header h1 {
  margin-bottom: 0;
}
#article-list {
  display: flex;
  flex-wrap: wrap;
  margin: 40px auto;
  gap: 40px;
}
#article-list article {
  flex-basis: calc(50% - 20px);
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
#article-list article img {
  width: 100%;
  height: auto;
}
#article-list article .entry-header {
  padding-right: 40px;
}
#article-list article .entry-content {
  padding-right: 20px;
}
#article-list article h2 {
  font-size: 22px;
  line-height: 1.4;
}
#article-list article h2 a {
  text-decoration: none;
}
#footer {
  background-color: #049982;
  padding: 80px 0 40px 0;
  color: #F6F6F6;
}
#footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#footer a {
  color: #F6F6F6;
}
#footer .footer-links {
  flex-grow: 1;
  columns: 2;
}
#footer .footer-links a {
  padding: 5px 0;
  display: block;
  text-decoration: none;
  color: #F6F6F6;
}
#footer .footer-contact {
  text-align: right;
}
#footer .footer-contact .footer-logo {
  margin-bottom: 20px;
}
#footer .footer-contact .footer-contact-data {
  font-size: 90%;
  line-height: 1.4;
}
#footer .legal-menu {
  display: flex;
  gap: 10px;
  margin-right: 10px;
}
#footer .legal-menu a {
  color: #F6F6F6;
}
#footer_note {
  margin-top: 40px;
  font-size: 90%;
  color: #F6F6F6;
}
@media (max-width: 1200px) {
  .wrapper {
    max-width: 800px;
  }
}
@media (max-width: 820px) {
  .wrapper {
    max-width: 760px;
  }
}
#lightbox_overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.5);
  transform: translatex(-110%);
  transition: all 300ms;
}
#lightbox_overlay .lightbox-container {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 40px;
  right: 40px;
  bottom: 40px;
  left: 40px;
  border: 3px solid #facd02;
}
#lightbox_overlay .image-container {
  background-color: #5a5a5a;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  flex-grow: 1;
}
#lightbox_overlay .nav-left,
#lightbox_overlay .nav-right {
  width: 50px;
  height: 120px;
  position: absolute;
  top: calc(50% - 60px);
  cursor: pointer;
}
#lightbox_overlay .nav-left .arrow,
#lightbox_overlay .nav-right .arrow {
  transition: all 300ms;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
}
#lightbox_overlay .nav-left .arrow:before,
#lightbox_overlay .nav-right .arrow:before,
#lightbox_overlay .nav-left .arrow:after,
#lightbox_overlay .nav-right .arrow:after {
  content: '';
  height: 3px;
  width: 30px;
  display: block;
  background-color: #facd02;
}
#lightbox_overlay .nav-left .arrow:before {
  transform: translateY(13.5px) rotate(60deg);
}
#lightbox_overlay .nav-left .arrow:after {
  transform: translateY(-13.5px) rotate(-60deg);
}
#lightbox_overlay .nav-left:hover .arrow,
#lightbox_overlay .nav-left.hovered .arrow {
  transform: translateX(-5px);
}
#lightbox_overlay .nav-right {
  right: 0;
}
#lightbox_overlay .nav-right .arrow:before {
  transform: translateY(13.5px) rotate(-60deg);
}
#lightbox_overlay .nav-right .arrow:after {
  transform: translateY(-13.5px) rotate(60deg);
}
#lightbox_overlay .nav-right:hover .arrow,
#lightbox_overlay .nav-right.hovered .arrow {
  transform: translateX(5px);
}
#lightbox_overlay .close-lightbox {
  height: 30px;
  width: 30px;
  display: block;
  border-radius: 50%;
  background-color: #facd02;
  position: absolute;
  right: -15px;
  top: -15px;
  z-index: 1;
  cursor: pointer;
}
#lightbox_overlay .close-lightbox:before,
#lightbox_overlay .close-lightbox:after {
  content: '';
  height: 2px;
  width: 20px;
  display: block;
  background-color: #000;
  position: absolute;
  left: 5px;
  top: 50%;
}
#lightbox_overlay .close-lightbox:before {
  transform: translateY(-1px) rotate(45deg);
}
#lightbox_overlay .close-lightbox:after {
  transform: translateY(-1px) rotate(-45deg);
}
#lightbox_overlay.open {
  transform: translatex(0);
}
@media (max-width: 600px) {
  #lightbox_overlay .lightbox-container {
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
  }
}
