@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #181818;
}

@media (min-width:992px) {
  body {
    font-size: 1.125rem;
  }
}

a {
  color: #005ca9;
}

a:focus,
a:hover {
  text-decoration: underline;
}

a, b, strong {
  font-weight: 700;
}

#overflow {
  overflow: hidden;
}

/* header */

#topbar {
  position: relative;
  display: none;
}

@media (min-width:650px) {
  #topbar {
    display: block;
  }
}

#cta {
  display: flex;
  justify-content: end;
  position: absolute;
}

a#cta {
  text-decoration: none;
  font-size: 1.1875rem;
  font-weight: 700;
  color: #fff;
  padding: 15px 30px;
  background: #005ca9;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  -webkit-transition: all 0.5s 0s ease;
  -moz-transition: all 0.5s 0s ease;
  -o-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}

@media (min-width:1200px) {
  a#cta {
    font-size: 1.4375rem;
  }
}

a#cta:focus,
a#cta:hover {
  transform: scale(1.25);
}

.offset-topbar {
  margin-left: 50%;
}

@media (min-width:992px) {
  .offset-topbar {
    margin-left: 75%;
  }
}

#logo {
  max-width: 100%;
  display: flex;
}

#logo img {
  max-width: 150px;
  height: 100%;
}

@media (min-width:350px) {
  #logo img {
    max-width: 250px;
  }
}

@media (max-width:1000px) {
  #logo {
    margin-left: 20px;
    margin-right: 300px;
  }
}

@media (min-width: 600px) {
  #logo img {
    max-width: 324px;
  }
}

.horizontally {
  padding: 40px 0 20px 0;
  background: #fff;
}


/* Navigation */


/* Burger Button + Mobiles Menü*/

@media (max-width: 991px) {
  .navbar-default .navbar-toggle {
      border: none;
  }

  .navbar-custom .nav>li>a {
      padding: 15px;
  }

  .navbar-toggle {
      position: fixed;
      right: 25px;
      top: 25px;
      background: #fff;
      padding: 12px 8px 8px 8px;
      border-radius: unset;
      z-index: 1002;
      box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.35);
      min-height: 45px;
      min-width: 45px;
  }

  .navbar-collapse::before {
      content: "";
      opacity: 0;
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 0;
      z-index: -1;
      display: block;
      background-color: rgba(0, 0, 0, 0.5);
      -webkit-transition: width 300ms linear, opacity 300ms linear;
      -moz-transition: width 300ms linear, opacity 300ms linear;
      -ms-transition: width 300ms linear, opacity 300ms linear;
      -o-transition: width 300ms linear, opacity 300ms linear;
      transition: width 300ms linear, opacity 300ms linear;
  }

  .toggled .navbar-collapse::before {
      opacity: 1;
      width: 21%;
  }

  .navbar-default .navbar-toggle .icon-bar {
      background-color: #005ca9;
  }

  .navbar-toggle .icon-bar {
      display: block;
      width: 35px;
      height: 3px;
      border-radius: 0;
      margin-bottom: 5px;
  }

  .navbar-toggle span.icon-bar:nth-child(2) {
      width: 20px;
      margin-left: auto;
  }

  .navbar-toggle span.icon-bar:nth-child(3) {
      width: 28px;
      margin-left: auto;
  }

  .navbar-collapse {
      position: fixed;
      top: 0;
      left: -100%;
      padding-left: 15px;
      padding-right: 15px;
      padding-top: 15px;
      width: 75%;
      height: 100% !important;
      background: #005ca9;
      z-index: 200;
      -webkit-transition: all 200ms linear;
      -moz-transition: all 200ms linear;
      -ms-transition: all 200ms linear;
      -o-transition: all 200ms linear;
      transition: all 200ms linear;
  }

  .toggled .navbar-collapse {
      left: 0;
  }

  .navbar-collapse.collapsing {
      left: -75%;
      transition: height 300ms ease;
      -webkit-transition: height 300ms ease;
      -moz-transition: height 300ms ease;
      -ms-transition: height 300ms ease;
      -o-transition: height 300ms ease;
  }

  .navbar-toggler.collapsed~.navbar-collapse {
      transition: left 500ms ease-in-out;
  }
}

.navbar-toggle span.icon-bar {
  -webkit-transition: transform 200ms linear;
  -moz-transition: transform 200ms linear;
  -ms-transition: transform 200ms linear;
  -o-transition: transform 200ms linear;
  transition: transform 200ms linear;
}

.toggled .navbar-toggle span.icon-bar:nth-child(3) {
  display: none;
}

.toggled .navbar-toggle span.icon-bar:nth-child(1) {
  -webkit-transform: rotate(45deg) translate(1px, 0px);
  transform: rotate(45deg) translate(1px, 0px);
  margin: 0;
}

.toggled .navbar-toggle span.icon-bar:nth-child(2) {
  -webkit-transform: rotate(-45deg) translate(2px, -2px);
  transform: rotate(-45deg) translate(2px, -2px);
  margin: 0;
  width: unset;
}

/* Desktop Menu */

@media(min-width:992px) {

  #topbar>.row {
      max-width: 1600px;
  }
  .navbar {
    height: 100%;
  }
}

@media(min-width:991px) {
  .navbar-toggle {
      display: none !important;
  }
}

.navbar {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.navbar ul {
  list-style: none;
}

#navbar-collapse>ul {
  width: 100%;
  display: block;
}

#topbar {
  width: 100%;
}

.logo img,
#topbar,
#topbar>.row {
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
}

#topbar {
  background: #e2e2e2;
}

.logo {
  padding: 15px 0;
}

.logo img {
  max-width: 120px;
}

.logo a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo a:focus,
.logo a:hover {
  text-decoration: none;
}

.logo a span {
  margin-left: 10px;
}

@media (min-width:992px) {

  .is-fixed .logo img {
      max-width: 80px;
  }

  .navbar-nav {
      display: flex;
      align-items: center;
      height: 100%;
      justify-content: space-between;
  }
  .navbar-collapse {
    height: 100%;
  }
}

@media (max-width: 991px) {
  .logo img {
      max-width: 80px;
      padding: 0 10px 0 0;
  }
}

/* toplevel */

nav ul li a {
  padding: 20px;
  color: #fff;
  display: inline-block;
  outline: 0;
  text-decoration: none;
  position: relative;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
}

nav ul li a:focus,
nav ul li a:hover {
  text-decoration: none;
}

@media (min-width:992px) {
  nav ul li a {
    font-size: 1.1875rem;
    color: #181818;
    padding: 22px;
  }

  nav ul li a:not(.second-level)::before {
    content: '';
    position: absolute;
    left: calc(50% - 5px);
    background: #005ca9;
    bottom: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    opacity: 0;
    -webkit-transition: all 0.4s 0s linear;
    -moz-transition: all 0.4s 0s linear;
    -o-transition: all 0.4s 0s linear;
    transition: all 0.4s 0s linear;
  }

  nav ul li a:focus::before,
  nav ul li a:hover::before {
    opacity: 1;
  }
}

@media (min-width:1200px) {
  nav ul li a {
    font-size: 1.25rem;
  }
}

/* second level dropdownbox */

.menu li:hover ul.dropdown {
  display: block;
  margin-top: 15px;
}

.menu li:hover ul.dropdown::before {
  content: '';
  display: block;
  height: 15px;
  width: 100%;
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
}

.menu li ul.dropdown {
  position: relative;
  display: none;
  min-width: 250px;
  background: #fff;
  border-radius: 5px;
  border-left: #005ca9 5px solid;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -ms-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  -o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  padding-top: 0;
  z-index: 1000;
  min-height: 200px;
  height: 100%;
  left: 0;
  top: 0;
}

@media (min-width:992px) {
  .menu li ul.dropdown {
    position: absolute;
    top: 45px;
    left: 0;
  }
}

/* second level */

.menu li ul.dropdown li {
  display: block;
  list-style-type: none;
}

.menu li ul.dropdown li a {
  padding: 15px 20px;
  font-size: 1rem;
  color: #181818;
  display: block;
  font-weight: 400;
  text-align: left;
}

.menu li ul.dropdown li a:focus,
.menu li ul.dropdown li a:hover {
  color: #005ca9;
}

/*--------------------------------------*/

/* slider */

#slider {
  position: relative;
  min-height: 300px;
  height: 100%;
  background: url('../img/slider-img.jpg') center no-repeat;
  background-size: cover;
  display: flex;
}

@media (min-width:992px) {
  #slider {
    min-height: 500px;
  }
}

#slider::before {
  content: '';
  display: block;
  background: rgba(255, 255, 255, 0.9);
  height: 400px;
  width: 400px;
  border-radius: 50%;
  position: absolute;
  overflow: hidden;
  left: -160px;
  bottom: -170px;
  z-index: 0;
}

@media (min-width:992px) {
  #slider::before {
    height: 735px;
    width: 735px;
    left: -70px;
    bottom: -440px;
  }
}

#slogan {
  z-index: 1;
  display: flex;
  align-items: flex-end;
}

#slogantext {
  padding-left: 15px;
}

#slogantext h2 {
  font-size: 2.5rem;
  color: #181818;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  margin-bottom: 90px;
  margin-left: 40px;
  line-height: 1;
  position: relative;
}

#slogantext h2::before {
  content: '.';
  color: #005ca9;
  font-size: 2.5rem;
  position: absolute;
  left: -40px;
  bottom: 0;
}

@media (min-width:992px) {

  #slogantext h2,
  #slogantext h2::before {
    font-size: 5rem;
  }
}

/* Content */

main {
  position: relative;
  padding: 25px 15px;
}

@media (min-width:992px) {
  main {
    padding: unset;
    padding-top: 50px;
    padding-bottom: 30px;
  }
}

h1, h2, h4, h5, h6 {
  color: #1d1d1b;
  position: relative;
  margin-left: 20px;
  margin-bottom: 25px;
}

h1::before, h2::before, h4::before, h5::before, h6::before {
  content: '.';
  color: #005ca9;
  font-size: 2.5rem;
  position: absolute;
  left: -20px;
  bottom: 0;
}

h1 {
  font-size: 1.875rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.625rem;
}

h4 {
  font-size: 1.5rem;
}

@media (min-width:992px) {
  h1 {
    font-size: 2.1875rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.875rem;
  }

  h4 {
    font-size: 1.75rem;
  }
}

/* ------------------------------ index content ------------------------------ */

/* tabs */

#countryTabs {
  padding-top: 40px;
}

#countryTabs .tabHeadline {
  font-family: 'Marcellus SC', sans-serif;
  margin: 0;
  font-size: 1.5625rem;
  position: absolute;
  top: 15px;
  left: 0;
  padding: 15px 30px 15px 25px;
  background: #005ca9;
  color: #fff;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  z-index: 15;
}

#countryTabs #second .tabHeadline {
  top: 200px;
  right: 0;
  left: unset;
  border-bottom-right-radius: unset;
  border-top-right-radius: unset;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}

.tabHeadline::before {
  display: none;
}

#countryTabs .tab {
  position: relative;
  width: 100%;
}

@media (max-width:991px) {
  #countryTabs .tab {
    margin: 15px 0;
  }
}

@media (min-width:1200px) {
  #countryTabs .tab {
    max-width: 370px;
  }
}

#countryTabs .tabImg img {
  max-height: 270px;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
}

#countryTabs .tabDescription {
  padding: 15px;
  background: #505050;
  color: #fff;
  text-align: center;
  margin-top: -5px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* ------------------------------ about content ------------------------------ */

#about main ul {
  padding: 20px;
}

#about main ul li {
  padding: 10px 0;
}

/* persons */

#person {
  padding: 70px 30px 30px 30px;
}

#person h2 {
  font-size: 1.8rem;
  margin-bottom: 35px;
}

.profile {
  padding-top: 20px;
  margin-bottom: 30px;
}

.profileImg {
  width: 100%;
}

#person .profile img {
  border-radius: 50%;
  object-fit: cover;
  width: 150px;
  height: 150px;
  display: block;
  margin: auto;
}

#person .profileDescription {
  padding: 15px;
  width: 100%;
  text-align: center;
}

@media (min-width:600px) {
  .profile {
    display: flex;
    margin-bottom: unset;
  }

  .profileImg {
    width: 50%;
  }

  #person .profileDescription {
    width: 50%;
  }

  #person .profile img {
    height: 200px;
    width: 200px;
  }
}

@media (min-width:1200px) {
  #person .profile img {
    height: 300px;
    width: 300px;
  }
}

.profileDescription .profileHeadline {
  font-size: 1.5rem;
  margin-bottom: 0;
  position: relative;
  margin-left: -10px;
}

.profileDescription .profileHeadline::before {
  content: '.';
  color: #005ca9;
  font-size: 1.5625rem;
}

.profileDescription .position {
  margin-top: 40px;
}

.profileDescription .position .positionDE {
  font-size: 1.25rem;
}

.profileDescription .position .positionEN {
  font-style: italic;
}

.profileDescription .contactbtn,
.contactbtn {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

@media (min-width:600px) {
  .profileDescription .contactbtn,
  .contactbtn {
    justify-content: start;
  }

  #person .profileDescription {
    text-align: left;
  }
}

.profileDescription .contactbtn a,
.contactbtn a {
  text-decoration: none;
  position: relative;
  color: #fff;
  background: #005ca9;
  padding: 15px 25px;
  border-radius: 3px;
  border: #005ca9 1px solid;
  -webkit-transition: all 0.5s 0s ease;
  -moz-transition: all 0.5s 0s ease;
  -o-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}

.profileDescription .contactbtn a:focus,
.profileDescription .contactbtn a:hover,
.contactbtn a:hover,
.contactbtn a:focus {
  color: #005ca9;
  background: #fff;
}

/* ------------------------------ Impressum ------------------------------ */

#impressum h3,
#datenschutz h3 {
  margin-bottom: 15px;
  margin-top: 25px;
}

/* ------------------------------ Footer ------------------------------ */

footer {
  padding-top: 40px;
  color: #fff;
  background: #005ca9;
  position: relative;
}

#footer .tab {
  text-align: center;
}

@media (max-width:991px) {
  #footer .tab {
    margin: 15px 0;
  }
}

@media (min-width:992px) {
  #footer .tab {
    text-align: left;
  }
}

#footerLogo {
  display: flex;
  justify-content: center;
}

#footer .tabHeadline {
  color: #fff;
  margin-left: 0;
  font-size: 1.125rem;
}

#footer .tab a {
  color: #fff;
  font-weight: 400;
  margin-left: 10px;
}

#innerfooter {
  background: #1d1d1b;
  padding: 15px 0;
  margin-top: 40px;
}

#innerfooter ul li {
  position: relative;
  text-align: center;
}

#innerfooter ul li a {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  font-size: 1rem;
}

#innerfooter ul li a:focus,
#innerfooter ul li a:hover {
  text-decoration: underline;
}

#innerfooter ul li {
  margin: 0 15px;
  display: block;
  margin-bottom: 15px;
}

#innerfooter ul li:last-child {
  margin-bottom: 0;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 35px;
  margin-bottom: 10px;
}

.copyright span {
  margin-right: 7px;
  font-size: 1.125rem;
}

@media (min-width:600px) {
  #innerfooter ul li+li::before {
    content: '|';
    margin-right: 30px;
  }

  #innerfooter ul {
    display: flex;
    list-style: none;
    justify-content: center;
  }

  #innerfooter ul li {
    display: inline-block;
    text-align: unset;
    margin-bottom: 0;
  }
}

/* ------------------------------ Font Einbindungen ------------------------------ */

/* marcellus-sc-regular - latin */
@font-face {
  font-family: 'Marcellus SC';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/marcellus-sc-v11-latin-regular.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/marcellus-sc-v11-latin-regular.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/marcellus-sc-v11-latin-regular.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/marcellus-sc-v11-latin-regular.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/marcellus-sc-v11-latin-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/marcellus-sc-v11-latin-regular.svg#MarcellusSC') format('svg');
  /* Legacy iOS */
}

/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/source-sans-pro-v19-latin-regular.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/source-sans-pro-v19-latin-regular.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/source-sans-pro-v19-latin-regular.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/source-sans-pro-v19-latin-regular.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/source-sans-pro-v19-latin-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/source-sans-pro-v19-latin-regular.svg#SourceSansPro') format('svg');
  /* Legacy iOS */
}

/* source-sans-pro-700 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/source-sans-pro-v19-latin-700.eot');
  /* IE9 Compat Modes */
  src: local(''),
    url('../fonts/source-sans-pro-v19-latin-700.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/source-sans-pro-v19-latin-700.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/source-sans-pro-v19-latin-700.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/source-sans-pro-v19-latin-700.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/source-sans-pro-v19-latin-700.svg#SourceSansPro') format('svg');
  /* Legacy iOS */
}

/* ------------------------------ Grid Sachen ------------------------------ */


.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 991px;
}

@media (min-width:1200px) {
  .row {
    max-width: 1200px;
  }
}

/* mobile Ansichten */


.col-1 {
  -ms-flex: 0 0 8.333333%;
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-3 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  -ms-flex: 0 0 91.666667%;
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Desktop ansichten */

@media (min-width: 992px) {
  .col-lg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-lg-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .col-lg-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-lg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-lg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-lg-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-lg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-lg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-lg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .col-lg-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .col-lg-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/*----------------------- Gallery ------------------*/

.ud_gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

@media (min-width:500px) {
  .ud_gallery img {
    width: calc(50% - 15px);
    height: 250px;
  }
}

@media (min-width:992px) {
  .ud_gallery img {
    width: calc(25% - 15px);
  }
}

#ud_lightbox_overlay {
  position: fixed;
  z-index: 10000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
}
#ud_lightbox_overlay #ud_lightbox_inhalt {
  width: 80%;
  position: absolute;
  top: 5%;
  left: 10%;
  right: 10%;
}
#ud_lightbox_overlay #ud_lightbox_inhalt img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width:992px) {
  #ud_lightbox_overlay #ud_lightbox_inhalt img {
    max-height: 80vh;
  }
}

#ud_lightbox_overlay #ud_lightbox_inhalt #ud_nav {
  color: #ffffff;
  font-size: 30px;
  margin: 0 0 20px 0;
  width: 100%;
  text-align: center;
}
#ud_lightbox_overlay #ud_lightbox_inhalt #ud_nav .icon-right-open {
  float: right;
  font-size: 60px;
}
#ud_lightbox_overlay #ud_lightbox_inhalt #ud_nav .icon-left-open {
  float: left;
  font-size: 60px;
}
#ud_lightbox_overlay #ud_lightbox_inhalt #ud_nav span {
  cursor: pointer;
  font-size: 60px;
}