.fixed {
  position:fixed;
  width:100%;
}
.container {
  max-width:1140px!important;
}
.btn {
 	width:fit-content; 
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.sr-only-focusable:focus {
    position: relative;
    width: auto;
    height: auto;
    clip: initial;
    margin: inherit;
    padding: inherit;
    border: initial;
}

.hero-content h2 {
  padding:43px 0 0;
} 
figure {
  margin-bottom:1rem!important;
}
/* effekte */
.effect-sadie .overlay-text {
  top:90%!important;
}
.effect-sadie:hover .overlay-text,
.effect-sadie:focus .overlay-text {
  top:20%!important;
} 
.effect-sadie:hover img,
.effect-sadie:focus img {
  transition:all 500ms ease;
  transform:scale(1.2);
}
.effect-sadie img {
  transition:all 500ms ease;
  transform:scale(1);
}
.effect-sadie .overlay-text p {
  word-spacing:0;
  color:#fff;
  font-size:14px;
  text-shadow:1px 1px 1px #000;
}
.effect-sadie .overlay-hover-text {
  text-shadow:1px 1px 1px #000;
  font-size:13px!important;
  line-height:1.2em;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;  
}
figure.effect-sadie .overlay-hover-text {
  padding:3px!important;
}


/* calendar */
.calendarize h2 {
  font-size:1.4rem;
}
.calendarize h4 {
  font-size:1rem;
}
.calendarize .panel {
  border-bottom:1px solid #ccc;
  margin-bottom:14px;
}
.f3-widget-paginator {
      display: flex;
    gap: 20px;
    list-style-type: none;
}


/* socials */
.navbar-brand > span {
	float: right;
    gap: 15px;
    display: flex;
    justify-content: center;
    align-items: end;
    height:100%;
    padding-bottom:6px;
	top: -42px;
	position: absolute;
	right: 20px;  
}
.navbar-brand > span a {
  display:block;
  margin:0;
  padding:0;
}
.socials {
 display:flex; 
  gap:10px;
}
.socials div {
  display:flex;
}
.sociallogo {
  margin:0!important;
  padding:0!important;
  max-height:30px;
}
.webuntis {
  border-radius:5px;
}

/* navigation */
.navbar {
  padding:0;
  background:url(/fileadmin/images/header_bg.png);
}
.navbar-light .navbar-nav .nav-link {
  color:#fff;
}
.navbar-brand {
  padding-top:0;
  height:80px;
}
.navbar a.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color:#fff!important;
}
.navbar-brand {
  background:#fff;
  margin:0;
}
nav .d-lg-block {
  display: block !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
nav.d-flex {
  display: flex !important;
  flex-direction: column;
  background: #21346f;
}
nav.d-flex img {
/*  padding-top:5px;*/
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* tabellen */
table {
  width:100%!important;
  margin:0;
}
table tr td {
  padding:4px;
}
table tr td table td {
	text-align:center;
  vertical-align:middle;
}
table thead,
.thead {
  background-color:#21346f;
  color:#fff;
}
table p {
  margin:0;
}

/* footer */
.layout-full #footer {
  background:#21346f!important;
  color:#fff;
}

footer figure {
  margin-bottom: 1rem;
  background: #fff;
  display: flex!important;
  justify-content: center;
  min-height: 66px;
  align-items: center;
}
footer h4,
footer a:link,
footer a:active,
footer a:visited {
  color:#fff!important;
}
footer a:focus,
footer a:hover {
  text-decoration:underline!important;
}

.custom_button:link,
.custom_button:active,
.custom_button:visited {
  display:inline-block;
  background:#21346F;
  color:#fff;
  border-radius:5px;
  padding:1% 2%;
}
.custom_button:hover,
.custom_button:focus {
  color:#fff;
  background:#3757BB;
  text-decoration:none;
}


/* logos footer */
footer .ce-gallery .row {
  gap:20px;
}
#c449 img {
  max-width:113px;
  height:auto;
  background-color:#fff;
}

/* hero */
.hero--padding .hero-content {
  padding:0;
}

/* news */
time {
  margin-left:7px;
}
.list-group-item {
  list-style:none;
}
.news-list-view .d-block {
  overflow:hidden;
  margin:0;
  padding:0;
}
.news-list-view .img-thumbnail,
.news-list-view .d-block figure {
  margin:0;
  padding:0;
}
.news-list-view img {
  transition:all 500ms ease;
  transform:scale(1);
}
.news-list-view .d-block:hover img,
.news-list-view .d-block:focus img {
  transform:scale(1.4);
}

.figcaption .copyright {
  display:none;
}

/* background */
body {
	background: url(/fileadmin/images/background/paper.png);
	background-attachment: fixed;
  background-size:cover;
}
nav.d-flex {
    background:transparent;
}
.navbar {
    padding-top:0!important;
}



/* kalender / news */
.media-body {
  padding:2%!important;
}

.news-list-view a:link,
.news-list-view a:active,
.news-list-view a:visited,
.media-body a:link,
.media-body a:active,
.media-body a:visited {
  text-decoration:none;
}
.news-list-view a:focus,
.news-list-view a:hover,
.media-body a:focus,
.media-body a:hover {
  text-decoration:underline!important;
}




@media screen and (max-width:990px) {
  .nav-link {
    font-size:1.2rem!important;
  }
  .navbar-nav {
    display:none;
  }
  footer .ce-gallery .row {
    gap:0;
  }
}
@media screen and (max-width:800px) {
  .iserv {
    margin-top:0.8rem;
    right:10px;
  }
  .navbar-light .navbar-toggler {
    margin:5%;
  }
  .navbar-brand img {
    max-width:100%;
    max-height:50px;
    width:auto;
  }


}

@media screen and (max-width:650px) {
  .navbar-brand > span {
    max-width: 60%;
    padding-right: 2%;
  }
  #logo {
    max-height:70px;
    width:auto;
  }
  
	.effect-sadie:hover .overlay-text,
	.effect-sadie:focus .overlay-text {
  		top:25%!important;
	} 
  
}

@media screen and (min-width:576px) {
  .navbar-brand img {
    max-width:287px;
  }
/* logo header */
#logo {
  width:287px!important;
  height:auto!important;
}  
}