html, body {
  max-width: 100%;
  overflow-x: hidden;
  text-align: center !important;
}

header.header.container-header.full-width.position-sticky.sticky-top {
  height: 110px !important;
}

div.navbar-brand {
  float: left;
  width: 150px;
  max-width: 30%;
  height: auto;
}

div.navbar-brand a.brand-logo, div.navbar-brand a.brand-logo img {
width: 100%;
height: auto;
}

div.container-topbar, div#mod-custom115, div#mod-custom115 p {
text-align: right;
}

div.footer2 {
display: none;
}

/* Social Media */

div#mod-custom115 {
margin: 2em auto 2em auto;
height: auto;
overflow-y: hidden;
}

div#mod-custom115 p {
white-space: nowrap !important;
}

div#mod-custom115 a, div#mod-custom115 a img {
margin: 0;
padding: 0;
border:0;;
}

div#mod-custom115 a img {
margin: 0 1.0em 0 0;
padding: 0;
border:0;;
}

div#mod-custom115 a:last-of-type img {
margin-right: 0;
}

/* Hauptmenue */

div.grid-child.container-nav {
position: absolute;
top: 2.3em;
left: 50%;
width: 960px;
margin-left: -490px;
}

div.dj-megamenu-wrapper li a.dj-up_a {
  font-size: 1.2em;
}

div.dj-megamenu-wrapper div.dj-subcol a {
font-size: 1.1em !important;
text-align: left;
}

/* Hauptinhalt */

div.grid-child.container-component {
margin: 5em auto 0 auto;
width: 90%;
max-width: 960px;
}

.item-page div.page-header {
height: 5em;
}


/* Joomgallery */

body.site.com_joomgallery div.grid-child.container-component > main > h3 {
display: none;
}

a.jg-link.btn.btn-outline-primary {
  padding: 0 !important
}

div.jg-image-caption {
font-size: 1.0em !important;
    -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
  word-break: normal;
  overflow-wrap: normal;
text-wrap-style: balance !important;
}

div.jg-image-caption a.jg-link {
    -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
  word-break: normal;
  overflow-wrap: normal;
text-wrap-style: balance !important;
}

div#lg-content-1.lg-content {
  background: #333 !important;
}

footer div.grid-child {
padding-left: 10% !important;
padding-right: 10% !important;
}

/* DP Calendar */

div.dp-event__calendar, div.dp-event__details span.dp-icon, span.dp-event__title-dot {
display: none !important;
}

li.dp-event {
background: none !important;
padding: 3em 0 3em 0 !important;
  border:0 !important;
  border-top: 1px solid #333 !important;
}

li.dp-event, div.dp-information, div.com-dpcalendar-event__description, div.com-dpcalendar-location div {
text-align: left;
}

span.dp-date {
font-weight: bold;
}

div.com-dpcalendar-location div div.dp-event {
margin-bottom: 1em;
}

/* Cookies */

div.cookiehead {
display: none;
}

/* Footer */

div.grid-child div.mod-footer div.footer1 {
font-size: 0.7em;
}

@media (max-width:1260px) {

div.navbar-brand {
margin-left: 5vw;
}

div.grid-child.container-nav div.dj-megamenu-wrapper button {
position: fixed;
top: 2.7em;
right: 5%;
width: 40px;
}

a.dj-up_a span.title {
font-size: 1.2em !important;
color: #000;
}

ul.dj-mobile-nav > li {
background: #eee;
}

ul.dj-mobile-nav-child li {
background: #fff;
}

}

@media (max-width:560px) {

footer {
grid-column: 1 !important;
}

footer div.grid-child, footer div.grid-child > *, footer div.grid-child div p {
width: 100% !important;
text-align: center !important;
clear: both;
}

footer div.grid-child ul li {
width: auto;
display: inline-block;
}

}