/*
Description: Responsives Coding fuer Mariengymnasium Essen-Werden - HTML5, CSS3
Author: Ralph Segert
Relaunch: April 2015
Update: Februar 2025 
Author URI: https://segert.net
*/


@font-face {
  font-family: 'Ubuntu-Light';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-Light.woff") format("woff"); }
  
@font-face {
  font-family: 'Ubuntu-Regular';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-Regular.woff") format("woff"); }

@font-face {
  font-family: 'Ubuntu-Medium';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-Medium.woff") format("woff"); }
  
@font-face {
  font-family: 'Ubuntu-Bold';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-Bold.woff") format("woff"); }
  
  
  @font-face {
  font-family: 'Ubuntu-BoldItalic';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-BoldItalic.woff") format("woff"); }

 @font-face {
  font-family: 'Ubuntu-MediumItalic';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-MediumItalic.woff") format("woff"); }  
  
 @font-face {
  font-family: 'Ubuntu-RegularItalic';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-RegularItalic.woff") format("woff"); }
  
 @font-face {
  font-family: 'Ubuntu-LightItalic';
  font-display: swap;
  src: url("https://mariengymnasium.net/fonts/Ubuntu-LightItalic.woff") format("woff"); }

* {
margin: 0;
padding: 0;
}

html {
  box-sizing: border-box; }

*, *::before, *::after {
  box-sizing: inherit; }

body {
display: flex;
color: #000;
background-color: #fff;
font-size: 100%;
font-family: 'Ubuntu-Light', Verdana, 'Neue Helevetica', sans-serif; 
font-weight: 300; 
}

a:focus {
outline: none;
}

img, fieldset {
border: 0;
}

img {
vertical-align: middle;
}

a {
border: 0;
text-decoration: none;
}

strong {
font-family: 'Ubuntu-Medium', Verdana, 'Neue Helevetica', sans-serif; 
}

.cf::after {
  content: " ";
  display: block;
  clear: both; 
}

.card-content .captcha img {
	width: 40%;
	height: auto;
	margin-left: 0;
	margin-top: -2%
}
 
.hide {
display: none;
}

.sichtlos {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sichtlos:focus, .sichtlos:active {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.suchfeld:focus,
.suchbutton:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}


.ccm--consent-switch  {
	display: block;
	width: 100%;
font-size: 1.2em;
	margin: 20px 0 40px 0;
}

.ccm--consent-switch label {
	display: block;
	width: 210px;
}


/* Erweiterungen zur Barrierefreiheit */

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.visually-hidden.focusable:focus,
.visually-hidden.focusable:active {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  background-color: #000; /* Hoher Kontrast, Schwarz */
  color: #fff;            /* Weißer Text */
  padding: 0.5rem 1rem;
  z-index: 1000;
}



/* Wrapper */


.wrapper {
margin: 0 auto;
width: 100%;
min-width: 320px;
max-width: 2980px;
background-color: #8fb4e6;
}

.wrapper-sz {
background-color: #2657E3;
}

.wraphead {
margin: 0 auto;
width: 100%;
background-color: #fff;
}

.wrapnav {
margin: 0 auto;
width: 100%;
height: 67px;
text-align: center;
border-top: 8px solid #79a8ea;
border-bottom: 1px solid #fff;
background-color: #e3e3e3;
}

.wrapstart, .wrapcont, .wrapfooter {
margin: 0 auto;
width: 100%;
max-width: 1280px;
background-color: #8fb4e6;
}

.wrap-sz {
max-width: 1250px;
background-color: #2657E3;
}

.wrapcont {
padding-top: 2%;
}

.wrapfooter {
float: left;
padding-bottom: 16%;
margin-top: 4%;
max-width: 2980px;
border-top: solid 6px #FBFB43;
text-align: center;
background-color: #0959EB;
}



/* Header mit Logos neu (2023) */


.wraphead .header {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;

  align-items: center;
  height: 160px;
}

.wraphead .center {
  width: 60%;
  margin: 0 auto;
  text-align: center; 
}

.wraphead .left {
  width: 25%;
  display: flex;
  align-items: flex-start; 
  text-align: left;
}

.wraphead .left-sz {
  width: 30%; 
  margin: 0 auto; /* automatische Margins links und rechts für Zentrierung */
  display: flex;
  align-items: flex-start; 
  text-align: center;
}

.wraphead .left-sz img {
  width: 100%;  
  height: auto;
  margin: 2% 0 0 0%;
}

.left-sz a img {
  transition: filter .7s ease; 
}

.left-sz a:hover img {
transition: filter .7s ease; 
/* filter: sepia(1) saturate(5) hue-rotate(20deg); */
}

.wraphead .left-sz img:hover {
  animation: shake .3s; /* Wenden Sie die 'shake' Animation beim Hover an */
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}


.wraphead .right {
  width: 25%;
  display: flex;
  align-items: flex-end;
  text-align: right;
  padding-right: 2%;
}


.wraphead .center img {
  width: 40%;
  height: auto;
}

.wraphead .left img {
  width: 80%;  
  height: auto;
  margin: 10% 0 0 0;
}

.wraphead .right img {
  margin: 13% 14% 0 0;
}

.wraphead .right a:first-child img {
  width: 54%; 
}

.wraphead .right a:last-child img {
  margin-bottom: 30px;
  width: 100%;
}



/* Navigation */


.wrapnav .header {
margin: 0 auto;
width: 100%;
max-width: 1440px;
}

.wrapnav .nav {
width: 100%;
float: left;
margin-top: -8px;
}

.wrapnav .nav ul li {
float: left;
list-style: none;
cursor: pointer;
}

.wrapnav .nav li {
text-align: center;
width: 14.28571428%; 
font-size: 1em;
letter-spacing: .5px;
border-left: 1px solid #fff;
display: block;
color: #fff;
background-color: #0444F5;
transition: all .4s;
}





.nav-sz li {
  padding-block: 0px !important;
}

.wrapnav .nav li a {
  display: block;
color: #0444F5;
}

.nav-sz a {
  display: block;
  padding-block: 20px;
}

.wrapnav-sz .nav li {
text-align: center;
width: 17% !important; 
font-size: 1.1em !important;
padding: 0 !important;
letter-spacing: 0;
border-left: 1px solid #fff;
display: block;
color: #fff;
background-color: #0444F5;
transition: all .4s;
}

.wrapnav-sz .nav li a {
color: #0444F5;
padding: 20px 0 19px 0;
}

.wrapnav .nav li:last-of-type {
border-right: 1px solid #fff;
}

.wrapnav .nav li ul li ul li:first-of-type {
border-top: 1px solid #fff;
}

.wrapnav .nav li ul li {
border-right: 1px solid #fff;
}

.wrapnav .nav li ul {
margin-top: 21px;
}
.wrapnav .nav li ul li ul {
margin-top: 0px;
margin-top: -1px;
}

.wrapnav .nav li ul li  {
color: #fff;
width: 100%;
background-color: #4578dc;
padding: 9px 25px 9px 25px;
white-space: nowrap;
}

.wrapnav .nav li ul a {
color: #fff;
}

.wrapnav .nav li:hover {
color: #fff;
background-color: #0444F5;
}

.wrapnav .nav li:hover a {
color: #fff;
}

.wrapnav .nav li a:hover {
color: #fff;
}

.wrapnav .nav .aktiv {
background-color: #0444F5;
}

.wrapnav .nav .aktiv a {
color: #fff;
}

/* Contentbereich Startseite */

.wrapstart .section {
float: left;
margin-top: 5%;
}



.wrapstart .contbreit {
float: left;
width: 100%;
max-width: 1280px;
margin-bottom: 3%;
}

  

.wrapstart .boxtop {
float: left;
width: 100%;
background-color: #fff;
padding-bottom: 3%;
border-radius: 12px;
}

.wrapstart .boxtop img {
width: 100%;
height: auto;
margin: 0;
padding: 0;
border-top: 1px solid #fff;
border-bottom: 0;
}

.wrapstart .contleft {
float: left;
width: 64%;
max-width: 900px;
margin-right: 8%;
margin-top: 2%;
}

.wrapstart .contright {
float: left;
width: 28%;
margin-top: 2%;
}

.wrapstart .boxleft {
float: left;
width: 100%;
}

.wrapstart .boxright {
float: left;
width: 100%;
}


.contbreit p {
font-size: 110%;
font-weight: 500;
line-height: 2em;
letter-spacing: .25px;
margin: 0 13% 0 13%;
}



/* #############################################

CARDS: Grundlayouts 

############################################# */

.card-wrapper {
  background: #FFF;
  border-radius: 18px;
  border: 4px solid #3279E3;
  margin: 0 0 3em 0; }


.card-header {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  align-items: center;
  padding: 0 4%;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background-color: #FAF504;
  max-height: 7.6em; }

.card-header {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
 }

.card-content {
  background-color: #fff;
  padding: 2.5em 7% 0 7%;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px; 
  }

.card-personen {
  padding: 2.5em 5% 0 5%;
  }

.card-personen h2 {
 text-align: center;
  }
  
.ohneheader {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
 }



/* #############################################

CARDS: Inline-Boxen: Formatierungen 

############################################# */

/* Card-Header ########### */

.card-header > div:nth-child(1) {
  -webkit-flex: 1;
  -ms-flex: 1 20%;
  flex: 1 20%; }

.card-header > div:nth-child(2) {
  -webkit-flex: 1;
  -ms-flex: 1 52%;
  flex: 1 52%; }

.card-header > div:nth-child(3) {
  /* RUBRIK */
  -webkit-flex: 1;
  -ms-flex: 1 28%;
  flex: 1 28%;
  text-align: right; }

.card-header > div:nth-child(1) p {
  font-size: 5em;
  font-weight: bold;
  text-align: center;
  color: #3279E3; 
  margin-left: 8%;
  }

.card-header > div:nth-child(2) p {
  margin-top: 2.2em;
  font-size: 1.2em;
  letter-spacing: 1px;
  font-weight: bold;
  color: #3279E3;
 }
  
  .card-header > div:nth-child(2) span {
  color: #5BCA43;
}


.card-header > div:nth-child(3) p {
  /* Rubrik */
  font-size: 1em;
  text-align: left;
  color: #5BCA43;
  letter-spacing: 1px;
  line-height: 1.4em;
  padding: .2em 0% 2% 6%;
  }

.card-header > div:nth-child(3) a {
  font-size: 1em;
  color: #0959EC;
  border-bottom: 0;
  }
  
  .card-header > div:nth-child(3) a:hover {
  color: #000;
  }
  
/* Card-Content ########## */

.card-content p {
  padding-top: 1em; }


.card-content img {
  width: 116.2%;
  height: auto;
  padding: 1em 0 1em 0;
  margin: 0 -8.1%; }

.card-personen img {
  width: 111.2%;
  height: auto;
  margin: 0 -5.6%;
  padding: 1rem 0 1rem 0;
 }
  
  
.card-content iframe {
  width: 100% !important;
  min-height: 400px;
 } 

.card-content p[class*="teaserbild"] { 
  margin-bottom: -4em; }

.card-content p[class*="teaserfoto"] { 
  margin-bottom: -4em; }
  
.article .keinlangtext {
 margin-bottom: -2.38em;
  padding-bottom: 0;
}

.boxleft .keinlangtext {
 margin-bottom: -2.22em;
  padding-bottom: 0;

}


.card-content .keinlangtext img {
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px; 
padding-bottom: 0;
margin-bottom: -.5em;
}

.noborder .keinlangtext img {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; 
}
  
.card-content {
margin-bottom: 3em;
}

.card-content .weniger {
    margin-top: 4em;
}

.card-content .bildklein {
  text-align: center;
 }
  
.card-content .bildklein img {
  width: 60%;
  height: auto;
  padding: .4em 0 1.8em 0;
  margin: 0 0; } 


.card-content .portraitwrapper {
text-align: center;
margin: 0 0 6% 0;
background-color: #fff;
}

.card-content .portraitwrapper h3 {
margin: 4% 0 -5% 0;
font-size: 1.2rem;
color: #0E30E2;
}



.card-content .portraitwrapper p:first-of-type {
text-align: center;
font-size: 1.1rem;
line-height: 1.6rem;
font-weight: 400;
color: #00B700;
margin-top: 2.5%;
margin-bottom: 2%;
}

.card-content .portraitwrapper p {
margin: 2% 3% 0 3%;
}


.card-content .portraitbild img {
width: 50%;
height: auto;
aspect-ratio: 1/1; /* Hält das Bild quadratisch */
border-radius: 50%;
object-fit: cover;
border: #2151EC solid 4px;
padding: 2px;
}

.card-content .pbild2 img {
width: 80%;
}
.card-content h4 {
text-align: keft;
font-size: 140%;
font-weight: normal;
margin: 6% 0 0 0;
color: #22AF47;
}

.card-content .diashowwrapper h4 {
width: 100%;
text-align: center;
font-size: 160%;
font-weight: normal;
margin: 2% 0 8% 0;
color: #22AF47;
}




.card-content .diashowwrapper {
display: -ms-flexbox;
display: -webkit-box;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
width: 92%;
margin: 4% 4% 0 4%;
}


/* Slidershow 2025 */

.diashow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 4% 0 4%;
}


/* OWL Resets */
      


.card-content .diashowfoto  {
width: 45%;
margin-bottom: 3%;
}

.contbreit .diashowfoto  {
width: 92%;
margin-bottom: 3%;
margin-left: 7%;
}

.card-content .diashowfoto img {
border-radius: 12px;
padding: 2px;
border: 4px solid #22AF47;
transition: .3s;
max-height: 214px;
}

.contbreit .diashowfoto img {
border-radius: 12px;
padding: 2px;
border: 4px solid #22AF47;
transition: .3s;

}



.card-content .diashowfoto2 {
width: 100%;
}

.card-content .diashowfoto2 img {
margin-right: .5%;
margin-left: .5%;
width: 100%;
max-width: 280px;
max-height: 368px;
}


.article .diashowfoto a  {
border-bottom: 0;
text-decoration: none;
}

.article .diashowfoto img:hover  {
border: 2px dotted #22AF47;
}

.contbreit .diashowfoto img:hover  {
border: 3px dotted #22AF47;
}

.card-content p a {
color: #3279E3;
border-bottom: 1px dotted #999
}


/* #############################################

Startseite und Sidebar: Formatierungen 

############################################# */


.wrapstart h1 {
font-size: 200%;
text-align: center;
line-height: 1.2em;
padding-top: 2.5%;
padding-bottom: 3.4%;
margin-bottom: 4%;
color: #fff;
border: 1px solid #fff;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
background-color: #3279E3;
}

.wrapstart h2 {
font-size: 200%;
text-align: center;
font-weight: normal;
line-height: 1.6em;
padding-bottom: 6%;


}


.wrapstart h3 {
font-size: 2em;
font-weight: normal;
line-height: 1.4em;
color: #003AD9;
padding-bottom: 1%;
padding-top: 3%;
transition: .3s;
}

.wrapstart h3 a {
color: #1C00EE;
transition: .3s;
}

.wrapstart a:hover {
color: #54a633;
}


.wrapstart p {
font-size: 110%;
line-height: 1.8em;
padding-bottom: 2%;
}



.wrapstart .figure, .wrapcont .figure {
  display: block;
color: #fff;
background-color: #00B200;
border: 4px solid #fff;
border-radius: 12px;
margin-top: 15%;
}

.wrapstart .figure2, .wrapcont .figure2 {
background-color: #0959EB;
}


.wrapcont .figure {
border: 1px solid #fff;
border-radius: 12px;
margin-top: 10%;
}



.wrapstart .figure h2, .wrapcont .figure h2 {
font-size: 160%;
text-align: center;
font-weight: normal;
line-height: 1.6em;
padding: 6% 6%;
color: #fff;
background-color: #00ab00;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
border-bottom: 4px solid #fff;
}

.wrapcont .figure h2 {
border-bottom: 1px solid #fff;
}

.wrapstart .figure img, .wrapcont .figure img {
width: 100%;
height: auto;
margin: 0;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
transition: .3s;
}

.wrapstart .figure img:hover, .wrapcont .figure img:hover {
opacity: .7;
}


 .terminestart {
min-height: 120px;
font-size: 85%;
color: #fff;
line-height: 1.7em;
background-color: #0959EC;
border: 4px solid #FAF504;
border-radius: 12px;
margin-top: 8%;
margin-bottom: 4%;
background-image: url("https://mariengymnasium.net/images/icon-kalender.png");
background-repeat: no-repeat;
background-position: 6% 2em;
background-size: 14%;
padding: 2em 4% 10% 24%;
}


.terminestart p {
color: #FAF504;
padding-bottom: 0;
}


.terminesubsites, .figuresubsites {
width: 100%;
float:left;
margin-top: 2%;
background-color: #007AEA;
border: 1px solid #FAF504;
}

.terminesubsites h4 a, .terminestart p a {
color: #fff;
font-size: 110%;
font-weight: normal;
transition: .3s;
}

.terminesubsites h4 a:hover, .terminestart h4 a:hover {
color: #fff;
}

.terminesubsites:first-of-type {
margin-top: 5%;
}


/* #############################################

BUTTONS

############################################# */



.form-switch-btn {
  padding: 2.8% 5% 2.8% 5%; 
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.3em;
  letter-spacing: 1px;
  background-color: #2857E3;
  letter-spacing: 2px;
  width: 42%;
  cursor: pointer;
  margin: 5% 2% 7% 2%;
  border-radius: 6px;
  transition: .4s;
} 

.form-switch-btn:hover {
  color: #fff;
  background-color: #34a501;
}

.switchaktiv {

  background-color: #34a501;

} 

.wahlbuttonaktiv:hover {
  color: #000;
  background-color: #ccc;
}

  
.btn {
  float: left;
  padding: 8px 16px 8px 16px;
  color: #FFF;
  background-color: #9F9F9F;
  border-radius: 6px;
  font-size: 1em;
  letter-spacing: 2px;
  transition: all ease .4s; }

.btn:hover {
  color: #000;
  background-color: #ccc; }

.btn-top {
  font-size: 1.3em;
  font-family: "OpenSans-Semibold", Helvetica, Verdana, sans-serif;
  text-align: center; }

.btn-top::after {
  content: " ↑"; }

.btn-top::before {
  content: "↑ "; }

.btn-card {
  width: 117.6%;
  margin: 1.62em -8.8% -2.3em -8.8%;
  display: block;
  text-align: center;
  font-style: italic;
  font-size: 1.4em;
  letter-spacing: .1em;
  font-weight: 500;
  background-color: #3279E3;
  padding: 1.2em 0 1.2em 0;
  border: 4px solid #3279E3;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  transition: all ease .4s;
  cursor: pointer; }

.btn-mehrinfo {
  display: flex;
  width: 60%;
  margin: 0 auto;
  color: #fff;
  display: block;
  font-size: 1em;
  background-color: #2151EC;
  padding: .7em 0 .7em 0;
  border-radius: 6px;
  cursor: pointer; 
  margin-top: 8%;
}

   
.btn-personas {
  width: 100%;
  margin: 1em 0 -2em 0; }

.email {
  background-color: #39BDF9;
  letter-spacing: 1px;
  margin-top: 2em;
  margin-bottom: -8em;
  }

.zumprofil {
  margin-bottom: -8em;
  }  

.btn-card {
  color: #fff; }

.btn-card:hover {
  color: #000;
  letter-spacing: .2em;
  background-color: #FAF504; }
  

.button {
width: 100%;
}

.button a {
float: left;
width: 100%;
color: #0444d5;
background-color: #fafa0d;
text-align: center;
font-size: 1em;
display: block;
padding: 3% 0 4% 0;
transition: .4s;
border-top: 1px solid #0444f5;
}

.button a:hover {
color: #fff;
background-color: #4578dc;
border-top: 1px solid #fafa0d;
}



.button-diashow a {
width: 100%;
color: #0444d5;
margin-top: 20%;
background-color: #fff;
text-align: center;
font-size: 1em;
display: block;
padding: 5% 0 6% 0;
transition: .4s;
border: 0;
border-top: 1px solid #0444f5;
}


.button-diashow a:hover {
color: #fff;
background-color: #4578dc;
border: 0;
border-top: 1px solid #0444f5;
}


.diashow-dif a {
margin-top: 10%;
background-color: #fafa0d;
border-bottom-right-radius: 12px;
}

  


/* #############################################

NAVIGATIONSELEMENTE

############################################# */

.contleft .mehrlink, .wrapcont .article .backlink {
  color: #FBFB43;
  font-size: 1.6em;
  text-align: center;
  margin: 0 0 2em 0; 
  }

.contleft .mehrlink a, .wrapcont .article .backlink a {
transition: ease-in-out .3s;
  color: #000; }

.contleft .mehrlink:hover, .wrapcont .article .backlink:hover {
		  border-bottom: 0;
  color: #005AF5; }
  
.contleft .mehrlink a:hover, .wrapcont .article .backlink a:hover {
 	  border-bottom: 0;
padding-right: 2%;
padding-left: 2%;
  color: #FBFB43;
  }
    
.contleft .mehrlink::after {
  content: " →"; }

.wrapcont .article .backlink:before {
  content: "← "; }
  
  
 #back-to-top { /* scriptgesteuerter Top-Balken */
  position: fixed; /* Fixiert den Balken unten */
  display: none;
  width: 100%;
  bottom: 0;
  padding: 20px 0 25px 0;
  background: #000;
  color: #fff;
  font-size: 110%;
  text-align: center;
  letter-spacing: 1px;
  z-index: 1000;
  cursor: pointer; 
  transition: all ease-in-out .3s;
  border-top: 4px solid #E3E34B;
  }
 

#back-to-top:hover {
	padding: 15px 0 35px 0;
	background: #0959EC;
}



/* Pagination ########## */

.wrapcont .article .pagination {
display: block;
  text-align: center;
  font-size: 1.1em;
  margin: 2% 0 12% 0;
  padding-top: 6%;
  color: #000;
 }

.wrapcont .article .pagination a, .wrapcont .article .pagination strong {
  padding: 10px 15px 11px 15px;
  margin: 0 2px 0 2px;
  border-bottom: 0;
  border: 4px solid #fff;
  border-radius: 28px;
  color: #fff;
  background-color: #00A300; 
  transition: ease-in-out .3s;
  }

.wrapcont .article .pagination strong {
  border: 4px solid #fff;
  border-radius: 28px;
  color: #000;
  background-color: #D9DD01; }

.wrapcont .article .pagination a:hover {
  border: 4px dotted #fff;
  color: #000;
  background-color: transparent; }


.wrapcont .article .pagi2 strong {
    border: 4px solid #D9DD01;
    border-radius: 28px;
    color: #000;
    background-color: #fff; }
  
  .wrapcont .article .pagi2 a:hover {
    border: 4px dotted  #00A300;
    color: #000;
    background-color: transparent; }  
  
  

/* #############################################

CONTENTBEREICH

############################################# */



.wrapcont .section {
float: left;
width: 100%;
margin-top: 4%;
}


.wrapcont .sidebar {
width: 30%;
float: left;
margin: 8.1% 7% 0 0;
}

.wrapcont .nav {
float: left;
border: 1px solid #fff;
border-radius: 12px;
border-radius: 12px;
margin-bottom: 12%;
}

.wrapcont .nav img {
width: 100%;
height: auto;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}

.wrapcont .nav ul li {
float: left;
list-style: none;
}


.wrapcont .nav li {
text-align: center;
width: 100%; 
font-size: 1.2em;
border-top: 1px solid #fff;
}


.wrapcont .nav li a {
display: block;
padding: 20px 0 20px 0;
color: #fff;
background-color: transparent;
border-right: 0px solid #E1E502;
border-left: 0px solid #E1E502;
transition: ease-in-out .4s;
}


.wrapcont .nav li a:hover {
color: #fff;
background-color: #transparent;
border-right: 12px solid #fff;
border-left: 12px solid #fff;
}

.wrapcont .nav .aktiv a:hover {
color: #fff;
background-color: #0053F5;

}

.wrapcont .nav .aktiv a {
color: #fff;
background-color: #0053F5;
border-right: 12px solid #E1E502;
border-left: 12px solid #E1E502;
}

.wrapcont .nav li:last-of-type a {
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}

.wrapcont .nav .startseite a {
color: #fff;
background-color: #007CF2;
border-right: 12px solid #007CF2;
border-left: 12px solid #007CF2;
}

.wrapcont .nav .startseite a:hover {
color: #fff;
background-color: #007CF2;
border-right: 12px solid #fff;
border-left: 12px solid #fff;
}

.wrapcont .article {
width: 62%;
float: left;
}


.wrapcont h1 {
font-size: 2em;
font-weight: normal;
text-align: center;
line-height: 1.4em;
margin-bottom: 6.6%;
color: #fff;
}

.wrapcont h2 {
font-size: 2em;
font-weight: normal;
line-height: 1.4em;
color: #003AD9;
padding-bottom: 1%;
padding-top: 3%;
}

.wrapcont h3 {
font-size: 2em;
font-weight: normal;
line-height: 1.4em;
padding-bottom: 1%;
padding-top: 1%;
}

.wrapcont p {
font-size: 105%;
line-height: 1.9em;
padding-bottom: 1%;
text-align: left;
}


.wrapcont .article ul, .card-content ul {
list-style-type: circle;
margin-left: 25px;
font-size: 105%;
padding-top: 1%;
padding-bottom: 2%;
}

.wrapcont .article li, .card-content li {
line-height: 1.9em;
padding-bottom: 1%;
}

.wrapcont .article a {
color: #0053F5;
border-bottom: 1px dotted #999;
}


.wrapcont .article h2 a {
color: #003AD9;
border-bottom: 1px dotted #fff;
}

.wrapcont .article h3 a {
color: #003AD9;
border-bottom: 0;
}

.wrapcont .article a:hover {
color: #54a633;
border-bottom: 1px dotted #ccc;
}


.block { /* Layoutbox fuer 2 Spalten */
margin-bottom: 40px;
margin-top: 10px;
width: 100%;
max-width: 560px;
border: 1px solid #bbb; 
border-radius: 12px;
}


.block .teaser {
 float: right;
 font-size: .9em;
 width: 64.285714285%;
 padding: 7% 6% 5% 6%; 
 -moz-box-sizing: border-box; 
box-sizing: border-box;
}



.block:nth-of-type(2n) .teaser {
float: left;
padding: 7% 6% 5% 6%;
}

.block:nth-of-type(2n) .bild {
float: right;
padding: 8% 0 8% 0;
}


.blockperson { /* Layoutbox fuer 2 Spalten */
margin-bottom: 2%;
margin-top: 2%;
width: 80%;
margin-left: 2%;
margin-right: 2%;
font-size: .9em;

min-height: 340px;
border: 1px solid #bbb; 
border-radius: 12px;
}

.blockperson .bild  {
text-align: center;
width: 100%;

}

.blockperson p  {
padding: 4% 2% 0 2%;
}

.wrapcont .subline {
text-align: center;
font-size: .8em;
color: #888;
margin: -2% 0 5% 0;
}



.wrapcont .backlinkextern {
float: left;
width: 100%;
text-align: center;
margin-top: 1%;
margin-bottom: 4%;
}


.wrapcont .article .morebutton, .wrapstart .morebutton {
float: left;
width: 100%;
}

.wrapcont .article .morebutton a, .wrapstart .morebutton a {
display: block;
font-size: 90%;
letter-spacing: 1px;
text-align: center;
width: 40%;
color: #fff;
background: #4478DC;
padding: 2% 0 2% 0;
text-decoration: none;
border-radius: 4px;
margin: 2% 0 17% 30%;
}

.wrapcont .article .morebutton a:hover, .wrapstart .morebutton a:hover  {
color: #4478DC;
background-color: #F8F89E;
transition: .3s;
}

.forsidebar {
margin: 4% 0 0 0;
}


.wrapcont .article .btn-mehrinfo {
  color: #fff;
 }  
.wrapcont .article .btn-mehrinfo a:visited  {
   color: #fff;
  } 
  
.wrapcont .article .btn-mehrinfo:hover {
   color: #E1E54A;
  } 
  
  
/* Cards für Aktuell */

.cardsaktuell {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.h2content {
  display: flex;
  flex: 1;
}

.cardteaser {
  width: 47%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 6%;
  background-color: #0653F5;
  border-radius: 12px;
  border: #0653F5 solid 4px;
  transition: transform 0.3s;
  min-height: 430px;
}

.cardpersonen {
  width: 50%;
  margin: 4% 0 0 0;
  background-color: #fff;
  transition: transform 0;
  min-height: auto;
  border: 0
}

.cardcenter {
  margin: 0 auto;
 margin-top: 1rem;
}

.card-sz {
  width: 47%;
  background-color: #e9f9fa;
  color: #000;
  min-height: 350px;
  border: #e3e3e3 solid 4px;
  border-radius: 24px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


.cardteaser:hover {
  transform: scale(1.1);
}

.cardpersonen:hover {
  transform: none;
}

.card-sz:hover {
  transform: scale(.9);
}

.cardteaser:hover:not(:active) {
  animation: shrinkAndExpand 0.5s ease-in-out;
}

.cardpersonen:hover:not(:active) {
  animation: none;
}

.card-sz:hover:not(:active) {
  animation: shrinkAndExpand2 0.5s ease-in-out;
}

@keyframes shrinkAndExpand {
  0% { transform: scale(1); }
  50% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes shrinkAndExpand2 {
  0% { transform: scale(1); }
  50% { transform: scale(1); }
  100% { transform: scale(.9); }
}

.cardteaser:nth-child(odd) {
  margin-right: auto;
}

.cardteaser img {
  width: 100%;
  border-bottom: 4px solid #F8F551;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-sz img {
  width: 100%;
  border-bottom: 0;
  border-radius: 0;
}

.cardteaser h2 {
  margin-bottom: auto;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 15%;
  padding: 5% 5% 0 7%;
  color: #fff;
  font-size: 1.3em;
  font-family: 'Ubuntu-Light', Verdana, 'Neue Helevetica', sans-serif;
}

.card-sz h2 {
  color: #0653F5;
  font-family: 'Ubuntu-Bold', Verdana, 'Neue Helevetica', sans-serif;
}

.cardteaser .date {
  color: #fff;
  padding-left: 7%;
  padding-bottom: 5%;
  font-size: .9em;
  align-self: flex-end;
}

.cardteaser .date span {
 font-size: 2em;
}


/* Cards für Fächer */

.faecherbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}

.cardfach {
  flex-basis: calc(48% - 2%);
  margin: 2%;
  position: relative;
  background-color: #0653F5;
  border-radius: 12px;    
  border: #0653F5 solid 4px;
  transition: transform 0.3s;
  }
  
  
.cardfach:hover {
    transform: scale(1.1);
  }

.cardfach img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 300px;
  object-fit: cover;
}

.overlay2 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(6, 83, 245, .88);
  padding: 5px 5px 5px 5px;
  color: white;
}

.overlay2 h3 {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.1em;
}


/* Schülerzeitung */

.figure .sz {
  padding: 8% 5% 8% 5%; 
  text-align: center;
  line-height: 1.8em;
  color: #fff;
}

.sz a {
color:#fff; 
}

.sz a:hover {
color: #fafa0d; 
}



/* Schulshop */


.article .shopbox {
float: left;
width: 100%;
background: #4578DC;
border-radius: 12px;
margin: 0 0 6% 0;
border: 1px solid #fff;
}

.article .produktfoto {
float: left;
width: 40%;
max-width: 200px;
text-align: center;
margin: 5% 5% 5% 5%;
}

.article .produktfoto img {
border: 1px solid #fff;
padding: 0;
width: 100%;
height: auto;
}

.article .produktinfo {
float: left;
width: 50%;
color: #fff;
}

.article .produktinfo h2 {
font-size: 1.5em;
color: #fff;
margin: 11% 0 3% 0; 
}

.article .produktinfo p {
line-height: 2.4em; 
font-size: .9em;
}

.article .buttonshop {
width: 80%;
margin: 6% 0 8% 0;
}

.article .buttonshop a {
width: 100%;
color: #fff;
background: #42CF00;
border-radius: 6px;
text-align: center;
font-size: 1em;
display: block;
padding: 5% 0 6% 0;
transition: .4s;
border-bottom: 0;
border: 1px solid #fafa0d;
}

.article .buttonshop a:hover {
color: #4578DC;
background-color: #fafa0d;
}



/* Footerbereich */

.wrapfooter .footer {
margin: 0 auto;
width: 100%;
max-width: 1980px;
margin-top: 3%;
}

.footer {
float: left;
width: 100%;
text-align: center;
}

.wrapfooter p {
float: left;
width: 100%;
text-align: center;
line-height: 29px;
margin-top: 8px;
color: #fff;

}

.footernav {
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
align-items: flex-start;
 }
  
  
.footernav .nav {
-webkit-flex: 1;
-ms-flex: 1 100%;
flex: 1 100%;
margin-bottom: 4%;
margin-top: 2%;
}

.footernav .nav ul {
display: inline;
}

.footernav .nav ul li {
display: inline;
 list-style-type: none; 
}

.footernav .nav li {
margin-right: 1.2em;
  }
  
.footernav .nav li::after {
  content: " | "; 
  margin-left: 1.2em;
  color: #fff;
  }

.footernav .nav li:last-of-type::after {
  content: ""; 
  margin-left: 0;
  }

.footernav .nav li:first-of-type::after {
  content: " | "; 
  margin-left: 1em;
  color: #fff;
  }  
  
.wrapfooter .nav li a {
font-size: 110%;
color: #fff;
transition: .3s;
}

.wrapfooter .nav li a:hover {
font-size: 95%;
letter-spacing: 1px;
color: #f1f174;
padding-bottom: 5px;
padding-top: 4px;
border-top: 1px solid #f1f174;
border-bottom: 1px solid #f1f174;
}






/* Formular Shop */

form {
margin: 10px 0 40px 0;
}

legend {
	padding-top: 2%;
	line-height: 1.6em;
	padding-bottom: 6%;
	padding-top: 6%;
}

label {
	width: 26%;
	float: left;
	padding-bottom: 1%;
	padding-top: 1%;
}

select {
margin-top: 0;
}

.section form p {
	width: 100%;
	float: right;
}


.section .textfeld {
	border: 1px solid #999;
	padding: 1.5%;
	width: 55%;
	background-color: #fff;
}

.section textarea {
	margin-top: 1%;
	padding: 1.5%;
	width: 55%;
	height: 100px;
	border: 1px solid #999;
}

.sendbutton {
	padding: 2.5% 5% 2.5% 5%; 
	border: 1px solid #fff;
	color: #fff;
	font-size: 1.2em;
	letter-spacing: 1px;
	background-color: #4578dc;
	letter-spacing: 1px;
	width: 59%;
	cursor: pointer;
	margin: 2% 0 5% 0;
} 

.sendbutton:hover {
  color: #4578dc;
  background-color: #e3e366;
  border: 1px double #777978;
  transition: 0.4s;
}


/* Formular Beratung und Krankmeldung */


.form-container {
    display: none;
}

#form1.active, #form2.active {
    display: block;
}

select,
input {
  font-size: 1em;
  font-family: verdana, sans-serif;
}

.div2er,
.div2gleich, 
.div3er, 
.div1ganz
.div1breit, 
.div2schmal, 
.div1schmal,
.div3schmal {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 1% 0 1% 0;
  align-items: center;
}


.div1schmal, {
  margin-bottom: 1.5%;
}

.fontmid {
  font-size: 100%;

}

.checkboxbottom {
  margin-top: 1%;
}

.div2gleich select {
padding: 3%;
margin-left: 2%;
max-width: 200px;
}

.div2er select {
padding: 2%;
margin-left: 2%;
max-width: 200px;
}

.div2gleich #datum-auswahl {
padding: 2.5%;
margin-left: 2%;
max-width: 200px;
}

.div2er #datum-auswahl {
padding: 2%;
width: 200px;
}


.div2er > div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1 30%;
}

.div2er  > div:nth-child(2) {
  -webkit-flex: 1;

  flex: 1 69%; 
}

.div2gleich > div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1 50%;
}

.div2gleich  > div:nth-child(2) {
  -webkit-flex: 1;
  flex: 1 50%; 
}

.abstand {
  margin: 8% 0 3% 0;
}

.abstand2 {
  margin: 0 0 10% 0;
}

.div1breit > div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1 30%;
}

.div1breit  > div:nth-child(2) {
  -webkit-flex: 1;
  flex: 1 65%; 
}
  

.div2schmal > div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1 18%;
   padding-top: .4em;
}

.div2schmal  > div:nth-child(2) {
  -webkit-flex: 1;
  flex: 1 70%; 
  padding-top: .2em;
}


.div1schmal > div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1 3%;
  min-width: 30px;
  padding-top: .3em;
}

.div1schmal  > div:nth-child(2) {
  -webkit-flex: 1;
  flex: 1 95%; 
}

.div3er > div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1 25%; 
   padding-top: .4em;
 }

.div3er  > div:nth-child(2) {
  -webkit-flex: 1;
  flex: 1 40%; 
  padding-right: 2%;
}

.div3er  > div:nth-child(3) {
  -webkit-flex: 1;
  flex: 1 28%;
}

.div3schmal > div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1 25%; 
   padding-top: .4em;
 }

.div3schmal  > div:nth-child(2) {
  -webkit-flex: 1;
  flex: 1 20%; 
  padding-right: 1%;
}

.div3schmal  > div:nth-child(3) {
  -webkit-flex: 1;
  flex: 1 44.8%;
}


.file-input {
  padding: 2%;
  margin: 0 10px 14px 0;
}

/* Benutzerdefiniertes Design für den Datei-Upload */
.custom-file-input {
    display: inline-block;
    background-color: #555;
    color: #fff;
    padding: 2% 3%;
    width: 300px;
    margin-right: 5%;
    cursor: pointer;
    text-align: center;
}

.custom-file-input:hover {
    background-color: #222;
}

/* Versteckter Standard-Datei-Upload-Input */
.hidden-file-input {
    display: none;
}

.beratung {
max-width: 680px;
}

 #selected-file {
   margin-top: 2%;
    font-weight: bolder;
    font-size: 1.1em;
word-wrap: break-word;
    white-space: normal;
}

.submit-button {
    background-color: #2857E3;
    color: #fff;
    border: none;
    padding: 2% 7%;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #45a049;
}


.beratung input[type="checkbox"] {
margin: 0 1% 0 0;
background-color: #999;
}


.beratung legend {
  display: none;
  padding: 1% 0 3% 0;
}

.beratung label {
  float: none;
}

.beratung fieldset {
  margin: 1% 0 0 0;
}

.beratung fieldset h3 {
  color: #0D4094;
  margin: 8% 0 0 0;
}

.beratung fieldset h4 {
  color: #0D4094;
  margin: 5% 0 3% 0;
}

.beratung fieldset p {
  font-weight: bold;
  color: #0D4094;
  margin-top: -3%;
  margin-bottom: 3%;
}

.beratung form small {
  display: inline-block;
  line-height: 1.4em;
  margin-top: .3em;
}

.beratung form small strong {
  font-family: 'Cormorant Garamond', serif;
}

.beratung .textfeld {
  padding: .5em;
  width: 98%;
  border: 1px solid #273777;
  background-color: #fff;
  margin-bottom: 2%;
  border-radius: 4px;
  margin-left: 2%;
}

.beratung.textfeldkl {
  padding: .5em;
  width: 30%;
  border: 1px solid #273777;
  background-color: #fff;
  margin-bottom: 2%;
  border-radius: 4px;
}

.beratung .textfeldmid {
  width: 40%;
}

.beratung .selectsmall {
  max-width: 90%;
  margin-bottom: 9%; 
}

.beratung .date {
  padding: .8em;
}

.beratung .textfeldklein {
  width: 8%;
}

.beratung textarea {
  margin-top: 1%;
  padding: 1.8%;
  border: 1px solid #273777;
  width: 100%;
  height: 115px;
  margin-bottom: -1%;
}

.sendbutton {
  padding: 2.8% 5% 2.8% 5%; 
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.3em;
  background-color: #34a501;
  letter-spacing: 2px;
  width: 100%;
  cursor: pointer;
  margin: 5% 0 7% 0;
  border-radius: 6px;
  transition: .4s;
} 

.sendbutton:hover {
  color: #000;
  background-color: #ccc;
}

.beratung input[type="checkbox"] {
margin: 0 1% 0 0;
background-color: #999;
}

.beratung select {
width: 100%;
margin-top: 1.5%;
margin-bottom: 2%;
}

.beratung .anrede {
  width: 30%;
  margin-left: 1.2%;
}


/* Suche */

.searchtop {
  display: flex;
  flex-direction: row;
  width: 99%;
  justify-content: center;
  padding-bottom: 3%;
}


.searchtop label, .searchsidebar label {
display: none;
}

.suchfeld {
  width: 100%;
  width: 700px;
  font-size: 1.3em;
  background-color: #2657E3;
  padding: 8px 1% 8px 1%;
  vertical-align: top;
  border-radius: 8px;
  color: #fff;
  border: 4px solid #fff;
}

.suchfeldmittel {
  width: 80%;
  margin-left: 7%;
  font-size: 1.3em;
  background-color: #2657E3;
  padding: 8px 1% 8px 1%;
  vertical-align: top;
  border-radius: 8px;
  color: #fff;
  border: 4px solid #fff;
}

.searchsidebar {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  padding-bottom: 4px;
  margin-top: -105px;
}

.suchfeldklein {
  width: 100%;
  width: 270px;
  font-size: 1.3em;
  background-color: #2657E3;
  padding: 8px 1% 8px 1%;
  vertical-align: top;
  border-radius: 8px;
  color: #fff;
  border: 4px solid #fff;
}

.suchbutton {
  border: 0;
  color: #fff;
  height: 48px;
  width: 54px;
  cursor: pointer;
  background: #54AC54 url("https://mariengymnasium.net/images/icon-suche.png") no-repeat;
  background-position: 8px 5px;
  background-size: 60%; 
  transition: .3s;
  border-radius: 8px;
  border: 4px solid #fff;
  }

.suchbutton:hover {
  background-color: transparent;
border: 4px dotted #fff;
 }



/*
 * CoreSlider v1.0.0
 * Copyright 2016 Pavel Davydov
 *
 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */
.core-slider {
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
  background-color: #3279E3;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

.core-slider_viewport {
  position: relative;
  overflow: hidden; }

.core-slider_list {
  -webkit-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1); }

.core-slider_item {
	
  float: left; }

.core-slider_item img {
  display: block;
 max-width: 100%;
  height: auto; }

.core-slider_nav.is-disabled {
  display: none; }

.core-slider_control-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  text-align: center; }

.core-slider_control-nav-item {
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  background: #fff; }

.core-slider_control-nav-item:hover {
  opacity: 0.3; }

.core-slider_control-nav-item.is-active {
  opacity: 0.3;
  cursor: default; }

.core-slider_arrow {
  position: absolute;
  top: 50%;
  margin-top: -25px;
  width: 25px;
  height: 50px;
  z-index: 130;
  color: #fff;
  z-index: 999;
  font-size: 250%;
  font-weight: bolder;
  cursor: pointer; }

.core-slider_arrow.is-disabled {
  cursor: default;
  opacity: 1; }

.core-slider_arrow:hover {
  opacity: 1; }

.core-slider_arrow__right {
  right: 20px;
  z-index: 1;
  background: url(https://mariengymnasium.net/images/arrow_right.png) no-repeat 0 0; 
  background-color: rgba(204, 204, 204, 0.1);
  }

.core-slider_arrow__left {
  left: 20px;
  z-index: 1;
  background: url(https://mariengymnasium.net/images/arrow_left.png) no-repeat 0 0; 
  background-color:rgba(204, 204, 204, 0.1);}

.core-slider__fullwidth .core-slider_viewport::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(https://mariengymnasium.net/images/dot.png) repeat 0 0; }

.core-slider__carousel {
  overflow: hidden; }

.core-slider__carousel::before, .core-slider__carousel::after {
  content: "";
  width: 150px;
  position: absolute;
  top: -5px;
  bottom: -5px;
  z-index: 200; }

.core-slider__carousel::before {
  left: -5px;
  background: -webkit-linear-gradient(left, #fff 10%, transparent);
  background: linear-gradient(to right, #fff 10%, transparent); }

.core-slider__carousel::after {
  right: -5px;
  background: -webkit-linear-gradient(right, #fff 10%, transparent);
  background: linear-gradient(to left, #fff 10%, transparent); }

.core-slider__carousel .core-slider_viewport {
  overflow: visible;
  width: 250px;
  margin: 0 auto; }

.core-slider__carousel .core-slider_arrow__left {
  left: 70px; }

.core-slider__carousel .core-slider_arrow__right {
  right: 70px; }





/*Styles for screen 1024px and lower*/
@media only screen and (max-width : 64em) {
	
	
.searchtop {
  display: flex;
  flex-direction: row;
  width: 80%;
  margin-left: 10%;
}

.suchfeld {
  width: 500px;
}


.wrapnav, .menu-open {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
height: 50px;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
 background-color: #2657E3;
}

.menu-open img {
  width: 50px;
  height: 24px;
}


.wrapnav .nav {
margin-top: 0;
}

 
.wrapnav .nav li {
text-align: center;
width: 50%; 
font-size: 1em;
border-left: 1px solid #79a866;
background-color: #e3e366;
}

.wrapnav .nav li:last-of-type {
border-right: 0;
}

.wrapnav .nav li a {
padding: 15px 0 15px 0;
border-top: 0;
border-bottom: 1px solid #79a866;
}


.wrapnav .nav .aktiv {
border-top: 0;
}


.wrapnav .nav li ul li  {
color: #fff;
background-color: #0444F5;
padding: 2px 0 2px 10px;
font-size: 1em;
border: 0;
text-align: left;
white-space: normal;
}

.wrapnav .nav li:last-of-type {
border-right: 0;
}

.wrapnav .nav li ul li ul li:first-of-type {
border-top: 0;
}


.wrapstart .contbreit {
float: left;
width: 94%;
max-width: 1024px;
margin: -3% 3% 3% 3%;
}


.wrapstart .contleft {
float: left;
width: 100%;
max-width: 100%;
padding: 0 10% 0 10%;
}

.wrapstart .boxleft {
padding: 0 3% 0 3%;
margin-bottom: -3%;
}

.wrapstart h2 {
padding-top: 3%;
}

.contbreit p {
margin: 0 8% 0 8%;
}

.wrapstart .contright {
float: left;
width: 98%;
margin: 2% 1% 0 1%;
}

.wrapcont .sidebar {
width: 34%;
margin-right: 3%;
margin-top: 10.8%;
padding-left: 1%;
}

.wrappertermine {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}


.terminestart {
 -webkit-flex: 1;
 -ms-flex: 1 auto;
 flex: 1 auto;
 max-width: 46%;
font-size: 100%;
line-height: 1.8em;
margin: 0 1.5% 0 1.5%;
margin-bottom: 4%;
background-size: 14%;
padding: 2em 2% 4% 10%;
}

.terminesubsites {
 -webkit-flex: 1;
 -ms-flex: 1 auto;
 flex: 1 auto;
 max-width: 100%;
margin: 0;
margin-bottom: 4%;
background-size: 14%;
padding: 2em 2% 8% 25%;

}

.wrapstart .figure {
 -webkit-flex: 1;
 -ms-flex: 1 auto;
 flex: 1 auto;
 max-width: 46%;
margin: 2% 2% 2% 2%;
}

.card-header > div:nth-child(1) {

  -ms-flex: 1 24%;
  flex: 1 24%; }

.card-header > div:nth-child(2) {
  -ms-flex: 1 23%;
  flex: 1 23%; }
  
.card-header > div:nth-child(3) {
  -ms-flex: 1 53%;
  flex: 1 53%;}
  
  
.card-header > div:nth-child(2) p {
  margin-top: 1.4em;
  font-size: 1.1em;
  letter-spacing: 0;
  line-height: 1.2em;
 }
	
.card-header > div:nth-child(2) span {
  display: block;
  color: #5BCA43;
}

.card-content .portraitwrapper {
text-align: center;
margin: 8% 0 6% 0;
}


/* Cards für Aktuell */

.cardsaktuell {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
}

.h2content {
  display: flex;
  flex: 1;
}

.cardteaser {
  width: 47%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 6%;
  background-color: #0653F5;
  border-radius: 12px;
  border: #0653F5 solid 4px;
  transition: transform 0.3s;
}

.cardpersonen {
  width: 50%;
  margin: 4% 0 0 0;
  background-color: #fff;
  transition: transform 0;
  min-height: auto;
  border: 0
}

.cardteaser:hover {
  transform: none;
}

.cardteaser:hover:not(:active) {
  animation: none;
}

.cardteaser:nth-child(odd) {
  margin-right: auto;
}

.cardteaser img {
  width: 100%;
  border-bottom: 4px solid #F8F551;
  min-height: 250px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.cardteaser h2 {
  margin-bottom: auto;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 15%;
  padding: 5% 5% 0 7%;
  color: lightblue;
  font-size: 1.3em;
  font-family: 'Ubuntu-Light', Verdana, 'Neue Helevetica', sans-serif;
}

.cardteaser .date {

  color: #fff;
  padding-left: 7%;
  padding-bottom: 5%;
  font-size: .9em;
  align-self: flex-end;
}

.cardteaser .date span {
 font-size: 2em;
}


/* ###### Pagination ###### */


.wrapcont .article .pagination {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  }

.wrapcont .article .pagination a, .wrapcont .article .pagination strong {
  margin-bottom: 3%;
  }



/* ###### BUTTONS  ###### */

.card-content img {
  width: 116.4%;
  height: auto;
  padding: 1em 0 1em 0;
  margin: 0 -8.1%; }
  
  .card-personen img {
  width: 111.2%;
  height: auto;
  margin: 0 -5.6%;
  padding: 1rem 0 1rem 0;
  

.btn-card {
  width: 117%;
  padding: 1.2em 0 1.1em 0;
  margin: 2em -8.5% -2.6em -8.5%;
  font-size: 120%;
  }


/* ###### NAVIGATIONSELEMENTE ###### */

.contleft .mehrlink, .wrapcont .article .backlink {
  color: #FBFB43;
  font-size: 140%;
  text-align: center;
  margin: 0 0 0em 0; 
  }
  
  
}



/*Styles for screen 800px and lower*/
@media only screen and (max-width : 50em) {
	
.wrapstart .contbreit {
float: left;
width: 98%;
max-width: 760px;
margin: -3% 1% 3% 1%;
}

.cardteaser img {
  width: 100%;
  border-bottom: 4px solid #F8F551;
  min-height: 182px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.searchtop {
  display: flex;
  flex-direction: row;
  width: 80%;
  margin-left: 10%;
}


.suchfeld {
  width: 440px;
}

.suchfeldklein {
  width: 180px;
  font-size: 1.2em;
}

.suchfeldmittel {
  width: 68%;
  margin-left: 7%;
  font-size: 1.1em;
  padding: 10px 1% 9px 1%;
}

/* Header mit Logos neu (2023) */

.wraphead .center img {
  width: 100%;
}

.wraphead .left img {
  width: 63%;  
  height: auto;
  margin: 10% 0 0 7%;
}

.wraphead .right img {
  width: 56%;
  margin: 22% 15% 0 0;
}


	
}


/*Styles for screen 720px and lower*/
@media only screen and (max-width : 45em) {
	
.wrapstart .contbreit {
float: left;

max-width: 660px;

}
	
}


/*Styles for screen 640px and lower*/
@media only screen and (max-width : 40em) {



.sidebar .nav {
  display: none;
}

iframe {
  width: 100% !important;
}

.contleft .mehrlink, .wrapcont .article .backlink {
color: #FBFB43;
font-size: 1.2em;
text-align: center;
margin: 0 0 0em 0; 
}

/* Header mit Logos neu (2023) */

.wraphead .header  {
  height: 100px;
}

.wraphead .center {
  width: 46%;
  padding-right: 4%;
}

.wraphead .left-sz {
  width: 100%;
text-align: center;
}

.wraphead .left-sz img {
  width: 60%;  
  height: auto;
  margin: 2% 0 0 0;

}

.wraphead .left img {
  width: 60%;  
  height: auto;
  margin: 1% 0 0 10%;
}

.wraphead .right img {
  width: 56%;
  margin: 2% 18% 0 0;
}


.suchfeldklein {
  width: 230px;
}

.searchsidebar {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  padding-bottom: 4px;
  margin-top: -20px;
}

/* Cards für Aktuell */

.cardteaser {
  width: 100%;

}

.cardteaser img {
  min-height: 180px;
  max-heigth: 180px;

}

.cardteaser h2 {
  margin-bottom: auto;
  text-align: left;
  margin-top: 10px;
  margin-bottom: 18%;
  font-size: 1.1em;
}

.cardteaser .date {

  color: #fff;
  padding-left: 7%;
  padding-bottom: 5%;
  font-size: .9em;
  align-self: flex-end;
}

.cardteaser .date span {
 font-size: 2em;
}

.wrapstart .contbreit {
float: left;
width: 94%;
max-width: 360px;
margin: -3% 3% 3% 3%;
}




.searchtop {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-left: 0%;
}

.suchfeld {
  width: 240px;
}

.contbreit p {
padding-top: 5%;
}

.wrapstart .boxtop {
	padding-bottom: 7%
}


.wrapstart h1 {
font-size: 120%;
padding-top: 6%;
padding-bottom: 6%;
line-height: 1.6em;
}

.wrapstart h2 {
padding-top: 8%;
}

.wrapstart p {
font-size: 100%;
line-height: 1.6em;
font-weight: normal;
padding-bottom: 3%;
}

.card-wrapper {
  margin: 0 0 2em 0; }
  
.card-header {
padding: 1% 0 0 3%;	
}

.card-header > div:nth-child(1) {
  -ms-flex: 1 22%;
  flex: 1 22%; 
  margin-right: 2%;
  margin-left: 2%
  }

.card-header > div:nth-child(2) {
  -ms-flex: 1 78%;
  flex: 1 78%; }
  
  
  .card-header > div:nth-child(3) {
    display: none;
  -ms-flex: 1 62%;
  flex: 1 62%;
 }


.card-header > div:nth-child(1) p {
  font-size: 320%;
  font-weight: bold;
  text-align: center;
  color: #3279E3; 
  margin-left: 2%;
  }
  
  .card-header > div:nth-child(2) p {
margin-top: .6em;
font-size: 95%;
  }
   
  .card-header > div:nth-child(3) p {
font-size: 90%;
 letter-spacing: 0;
 padding-top: 1.8em;
  }


 .terminestart {
 max-width: 100%;
line-height: 1.6em;
margin: 0 1.5% 0 1.5%;
margin-bottom: 6%;
background-size: 10%;
padding: 2em 3% 8% 18%;
}
 
 .terminestart p {
padding: 0;
}
  
  
.wrapstart .figure {
 -webkit-flex: 1;
 -ms-flex: 1 auto;
 flex: 1 auto;
 max-width: 100%;
margin: 2% 2% 2% 2%;
}
  
 .wrapstart h3, .wrapcont h3 {
font-size: 130%;
font-weight: normal;
line-height: 1.4em;
padding-bottom: 0;
padding-top: 0;
}

.wrapcont h3 {
font-size: 130%;
margin-top: -4%;

}

.card-content p {
  line-height: 1.6em; }
  

  
.card-content .diashowfoto  {
width: 90%;
margin: 0 5% 8% 5%;
}


  
 /* #### CONTENTBEREICH #### */


.wrapcont .sidebar {
width: 90%;
float: left;
margin: 8% 5% 0 5%;
padding-left: 0;
}

.wrapcont .article {
width: 90%;
margin: 0 5% 0 5%;

}

.terminesubsites{
display: none;
}

.figuresubsites {
margin-bottom: 8%;
}
 
 
 #back-to-top { /* scriptgesteuerter Top-Balken */
  padding: 14px 0 14px 0;
  }
 

#back-to-top:hover {
	padding: 14px 0 14px 0;
}

 
 /* ###### Pagination ###### */


.wrapcont .article .pagination {
  font-size: 120%;
  }

.wrapcont .article .pagination a, .wrapcont .article .pagination strong {
  padding: 8px 10px 9px 10px;
  border: 2px solid #fff;
  border-radius: 28px;
  transition: 0;
  }

.wrapcont .article .pagination strong {
  border: 2px solid #fff;
  border-radius: 28px;
 }

 
.wrapcont .article .pagination a:hover {
  border: 0;
 }


.div2er  {
   flex-direction: column;
 }
 
.div2er > div:nth-child(1) {
  display: block;
   width: 100%;
   padding: 2% 0 4% 2%;
 }
 
 .div2er  > div:nth-child(2) {
   display: block;
  width: 100%; 
 }

label {
	width: 32%;
}

.card-content .captcha {
	width: 100%;
}


/* Cards für Fächer */


.cardfach {
  flex-basis: calc(100% - 0%);
  margin-bottom: 10%;
  position: relative;
  background-color: #0653F5;
  border-radius: 12px;    
  border: #0653F5 solid 4px;
  transition: transform 0s;
  max-height: none;
  }
  
  
.cardfach:hover {
    transform: scale(1);
  }


.overlay2 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: rgba(6, 83, 245, .88);
  padding: 15px 5px 5px 5px;
  color: white;
}

.overlay2 h3 {
  font-size: 1.2em;
  line-height: 1em;
}

  
 /* Footerbereich */
 
 .footer {
padding: 3%;

}
 
.footernav .nav {
margin-bottom: 4%;
margin-top: 0;
}


.footernav .nav li {
margin-right: 1em;
line-height: 2em;
font-size: .9em;
  }
 
 .wrapfooter .nav li a:hover {
font-size: 110%;
letter-spacing: 0;
border-top: 0;
border-bottom: 0;
}
  
  
 /* Formular Krankmeldung */
 
 .div2gleich {
   flex-direction: column;
   text-align: left;
 }
 
 .div2gleich > div:nth-child(1) {
    width: 100%;
    padding-bottom: 2%
  }
  
  .div2gleich  > div:nth-child(2) {
    width: 100%; 
  }

.form-switch-btn {
    font-size: 1em;
    letter-spacing: 0;
    width: 46%;
    margin: 4% 1% 6% 1%;
}

.sendbutton {
  font-size: 1em;
  letter-spacing: 0;
} 

 .form-container h2 {
     font-size: 1.4em;
     font-weight: normal;
     line-height: 1.2em;
     padding-bottom: 1%;
     padding-top: 3%;
 }
 
å
 

}

