/* Reset CSS
http://meyerweb.com/eric/tools/css/reset
-----------------------------------------------------------*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	font-weight: normal;
	font-style: normal;
	font-size: 1em;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a img {
	border: none;
}

audio, canvas, img, video {
	vertical-align: middle;
}


/* Schriften
-----------------------------------------------------------*/
/**
 * @license
 * MyFonts Webfont Build ID 3415158, 2017-06-30T11:18:22-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: FuturaBTWXX-Light by Bitstream
 * URL: https://www.myfonts.com/fonts/bitstream/futura/pro-light/
 * 
 * Webfont: FuturaBTWXX-Bold by Bitstream
 * URL: https://www.myfonts.com/fonts/bitstream/futura/bold-inactv/
 * 
 * 
 * License: https://www.myfonts.com/viewlicense?type=web&buildid=3415158
 * Licensed pageviews: 100,000
 * Webfonts copyright: Copyright &#x00A9; 2015 Monotype Imaging Inc. All rights reserved.
 * 
 * © 2017 MyFonts Inc
*/

 
@font-face {font-family: 'FuturaBTWXX-Light';src: url('webfonts/341C76_0_0.eot');src: url('webfonts/341C76_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/341C76_0_0.woff2') format('woff2'),url('webfonts/341C76_0_0.woff') format('woff'),url('webfonts/341C76_0_0.ttf') format('truetype');}

@font-face {font-family: 'FuturaBTWXX-Bold';src: url('webfonts/341C76_1_0.eot');src: url('webfonts/341C76_1_0.eot?#iefix') format('embedded-opentype'),url('webfonts/341C76_1_0.woff2') format('woff2'),url('webfonts/341C76_1_0.woff') format('woff'),url('webfonts/341C76_1_0.ttf') format('truetype');}


/* Grundgerüst
-----------------------------------------------------------*/
html {
	min-height: 101%;
	background: url(../img/bgTest10.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

html.html-1 {
	background: url(../img/bgTest5.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;}

html.html-2 {
	background: url(../img/bgTest11.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;}

html.html-3 {
	background: url(../img/bgTest6.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;}

html.html-4 {
	background: url(../img/bgTest10.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;}

body {
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	font-family: FuturaBTWXX-Light, Arial, Helvetica, Geneva, sans-serif;
	color: #333;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}




.frame {
	width: 94%;
	max-width: 1200px;
	background: #fff;
	margin: 2.8em auto;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
}

.inner-content {
	padding: 0 3.003003003% 0  3.003003003%;
}

.intro {
	float: left;
	width: 60.6606606607%;
	padding: 1.4em 3.003003003% 2.8em 3.003003003%;
}

.main {
	float: left;
	width: 60.6606606607%;
	padding: 1.4em 3.003003003%;
}

.secondary {
	float: right;
	width: 27.3273273273%;
	padding: 0 3.003003003% 1.4em 3.003003003%;
	margin: 1.75em 0 2.8em 0;
	background: #f0f0f0;
}

.secondary.aktuelleMeldung {
	width: 24.3243243243%;
	padding: 0 3.003003003% 1.4em 3.003003003%;
	margin-right: 3.003003003%;
}

.secondary.homeNews {
	float: right;
	margin: 0 0 2.8em 0;
	width: 27.3273273273%;
	padding: 0 3.003003003% 1.4em 3.003003003%;
	width: 33.3333333%;
	padding: 0;
	background: #fff;
}

.secondarySubNav {
	float: left;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	margin-left: -5px;
	margin: 2.8em 5px 2.8em -5px;
}

.box100 {
	padding: 0 3.003003003%;
}

.box50 {
	width: 43.993993994%;
	padding: 0 3.003003003%;
	float: left;
}

.box33 {
	width: 27.3273273273%;
	padding: 0 3.003003003%;
	float: left;
}

.box25 {
	width: 18.993993994%;
	padding: 0 3.003003003%;
	float: left;
}

.box25:nth-child(4n+1) {
	clear: left;
}

.box75 {
	width: 62.987987988%;
	padding: 0 3.003003003%;
	float: left;
}


.grid-2, .grid-1-2, .grid-2-1, .grid-3, .grid-4 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 1fr;
	grid-column-gap: 3.003003003%;
	grid-row-gap: 2em;
	/* 
align-items: center;
	justify-items: center;
 */
}

.grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3,
.grid-1-2,
.grid-2-1
{
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-1-2 .grid-item:nth-child(2) {
	grid-column: 2 / 4;
}

.grid-2-1 .grid-item:first-child {
	grid-column: 1 / 3;
}

.news-item{
	position: relative;
	/* margin-bottom: 2em; */
}

.pad-bottom-lh {
	padding: 0 0 1.4em 0;
}

/* folding */
.news-item::before {
	content:"";
	position: absolute;
	top: 0;
	right: 0;
	border-style: solid;
	border-width: 0 20px 20px 0;
	border-color: #ddd #fff;
	transition: all ease 0.5s;
}
.news-item:hover::before {
	border-width: 0 30px 30px 0;
	border-color: #ddd #fff;
}

/* Allgemeine Formatierungen
-----------------------------------------------------------*/
img {
	max-width: 100%;
}

video {
	max-width: 100%;
	display: block;
	height: auto;
	padding: 0 0 1.4em 0;
}

a {
	color: #d01f22;
	text-decoration: none;
/* 	border-bottom: 1px solid #d01f23; */
}

a:hover {
	color: #921618;
}

p, .main ul, .inner-content ul, .main ol, .inner-content ol {
	line-height: 1.4em;
	padding: 0 0 1.4em 0;
}

p:last-child {
	line-height: 1.4em;
	padding-bottom: 0;
}

p.half-pad,
.news-item p
 {
	padding-bottom: 0.5em;
}

em {
	color: #919191;
}

strong {
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
}

.main ul li,
.inner-content ul li {
	padding: 0 0 0 1.6em;
}

.main ol {
	list-style-type: decimal; 
	margin-left: 1.6em;
	padding-left: 0.8em;
}

.main ul li:before,
.inner-content ul li:before {
	content: "– ";
	position: relative;
	margin-left: -0.8em;
}

h1 {
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	font-size: 1.33em;
	line-height: 1.33em;
	margin: 2.25em 0 1em 0;
	letter-spacing: 0.03em;
}

h2 {
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	font-size: 1.25em;
	line-height: 1.25em;
	margin: 1.25em 0;
	letter-spacing: 0.03em;
}

h3 {
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	line-height: 1.4em;
	margin: 0 0 0.7em 0;
	letter-spacing: 0.03em;
	padding: 1.4em 0 0.35em 0;
/* 	background: #f5f5f5; */
	text-transform: uppercase;
	border-bottom: 1px solid #cacaca;
}

h4 {
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	line-height: 1.4em;
}


h2.red-heading {
	color: #e30613;
}

h2.blue-heading {
	color: #0075be;
}

h2.green-heading {
	color: #0b983a;
}

h2.yellow-heading {
	color: #fbb900;
}
/* Strukturen
-----------------------------------------------------------*/
.mar-bottom-l {
	margin-bottom: 2.8em;
}

.mar-top-l {
	margin-top: 1.4em;
}

.pad-top-1rem {
	padding-top: 1rem;
}

/* Downloads
-----------------------------------------------------------*/
.downloads {
	background: #f2f5f9;
	background: #f0f0f0;
	float: left;
	width: 60.6606606607%;

	background: #fff;
	padding: 1.4em 3.003003003%;
	padding: 0 3.003003003%;
	float: none;
	box-sizing: border-box;
	width: 100%;
}

.downloads h3,
.grid-item h3
 {
	margin: 0 0 1.4em 0;
	padding: 0 0 1.2em 0;
}

.dlBlock {
	margin: 0 0 0.7em 0;
	padding: 0 0 0.7em 0;
	border-bottom: 1px solid #fff;
	border-bottom: 1px solid #cacaca;
}

.dlBlock h4 {
	float: left;
	width: 1.75em;
	line-height: 1.95em;
	height: 1.75em;
	background: #fff;
	border: 1px solid #a6a8ab;
	text-align: center;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	text-transform: uppercase;
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
}

.dlBlock p {
	padding: 0.3em 0 0 2.5em;
}

.dlBlock a, .fileBlock a, a.blockLink {
	display: block;
	line-height: 1.4em;
}

a.blockLink + p {
	padding-top: 1.4em;
}

.fileBlock + h3 {
	margin-top: 1.4em;
}

.anlassListe {
	display: block;
	line-height: 1.4em;
	border-bottom: 1px solid #f5f5f5;
	padding: 0.6em 0 0.4em 0;
}

.anlassBlock {
	padding-bottom: 1.4em;
}

.anlassBlock .grid-item img,
.galleryLink img
{
	border-radius: 3px;
}

.roundImg {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.anrissIMGlink {
	float: left;
	width: 30%;
	margin: 0 3.333333% 1.2em 0;
}

.galleryLink {
	float: left;
	width: 21.25%;
	margin: 0 5% 1.6em 0;
}

.galleryLink:nth-child(4n) {
	margin-right: 0;
}

.btnLink {
	float: right;
	background: #d01f23;
	padding: 0.35em 0.5em 0.2em 0.5em;
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.btnLink:hover {
	color: #fff;
	background: #921618;
}

.btnLinkGross {
	display: block;
	border: 1px solid #d01f23;
	padding: 0.5em 0.5em 0.35em 0.5em;
	color: #d01f23;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	margin-bottom: 1em;
}

.btnLinkGross:hover {
	color: #fff;
	background: #d01f23;
}

.portraitFoto {
	float: left;
	width: 40%;
	margin: 0 5% 0 0;
}


/* Header
-----------------------------------------------------------*/
.logo {
	display: block;
	padding: 1.4em 0;
	border-bottom: none;
	padding: 2.8em 2% 2.8em 2%;
}

.logo img {
	width: 300px;
}

/* Footer
-----------------------------------------------------------*/
.siteFooter {
	height: 10em;
	background: #fff url('../img/footerSursee23.png') no-repeat right bottom;
	clear: both;
	background-size: auto 100px;
}

.siteFooter .inner-content {
	padding-top: 4rem;
}

/* Spezifische Formatierungen
-----------------------------------------------------------*/
.dlBlock a, .link-liste a {
	background: url('../img/iconWWW.png') no-repeat left 0;
	background-size: auto 16px;
	padding-left: 25px;
}

a[href$=".pdf"] {
	background: url('../img/iconPDF.png') no-repeat left 0;
	background-size: auto 16px;
	padding-left: 25px;
}

a[href$=".pdf"].bildlink {
	background: none;
	padding-left: 0;
}

.link-liste p {
	padding: 0.3em 0 0 0;
}

.indexTitle {
	background: #fff url('../img/header-img-2.jpg') no-repeat top center;
	height: 250px;
	background: #fff url('../img/indexTest3.jpg') no-repeat top center;
	height: 150px;
	/* padding: 4.9em 36.003003003% 0.7em 3.003003003%; */
	margin: 0;
	color: #fff;
	text-transform: uppercase;
}

.indexTitle span {
	text-shadow: 0px 0px 5px rgba(0,0,0,0.25);
}

.google-maps {
	position: relative;
	padding-bottom: 50%; /* This is the aspect ratio */
	height: 0;
	overflow: hidden;
	margin: 0 0 1.3846153846em 0;
}

.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.imgZusatz {
	margin-top: -1em;
	color: #919191;
}

.fullWidthTitle {
	margin-left: 3.003003003%;
	margin-right: 3.003003003%;
}

.secondary.wBG {
	background: #fff;
}

.teamRektorat, .anfahrt {
	padding-top: 1.4em;
}

.abstandOben {
	margin-top: 1.4em;
}

h3.abstandOben {
	margin-top: 2.1em;
}

h2.abstandOben {
	margin-top: 2.1em;
}

.abstandUnten {
	margin-bottom: 1.4em;
}

.box25.abstandUnten {
	margin-bottom: 2.1em;
}

.main ul.fader li {
	padding: 0;
}

.main ul.fader li:before {
	content: none;
}

.main .sy-box {
	margin-bottom: 1.4em;
}

.mobile {
	display: none;
}

/* Slider
-----------------------------*/
.slideshow { 
	position: relative;
	/* overflow: hidden; */
	height: 250px;
}

.slideshow img {
	position: absolute;
	height: 100%;
	object-fit: cover;
	object-position: bottom center;
	left: 0;
	top: 0;
	display: none;
}

.slideshow img:first-child {
	display: block;
}



/* Homenews
-----------------------------*/
.grid-home {
	padding: 1.4em 3.003003003%;
	float: none;
	box-sizing: border-box;
	width: 100%;
}

.news-item {
	background: #f0f0f0;
	padding: 1.5em;
}

.grid-home h3 {
	padding-top: 0;
}

.homeNews {
	border-top: 1px solid #f0f0f0;
}

.homeNews .homeNewsBlock {
	border-bottom: 1px solid #f0f0f0;
}

.homeNewsWrapper {
	padding: 0 6%;
}

.homeNewsWrapper h3 {
	border-bottom: none;
}

.homeNewsWrapper p:last-child {
	padding-bottom: 1.4em;
}

.aktuellTitle {
	padding: 0 6% 0 6%;
	text-transform: uppercase;
	color: #d01f23;
}

.stelleBlock {
	margin-bottom: 1.4em;
}

.home-slider-small {
	margin-bottom: 1.4em;
}

/* Lehrerliste
-----------------------------*/
.main ul.personenListe li {
	padding: 0.075em 0 0.1em 0;
	margin: 0 0 0.175em 0;
	border-bottom: 1px solid #eee;
	clear: both;
}

.main ul.personenListe li:before {
	content: none;
}

.personenListe span {
	width: 75px;
	min-width: 75px;
	overflow: hidden;
	display: block;
	float: left;
}

.personenListe em {
	padding-left: 1em;
}

.personenListe a {
	width: 10%;
	width: 50px;
	display: block;
	float: right;
	text-align: right;
}


.fullSiteOver {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #fff;
	background: rgba(255,255,255,0.85);
	z-index: 1000;
}

.homeOverContentWrapper {
	margin: 4.5em auto 0 auto;
	width: 90%;
	max-width: 800px;
	padding: 1em 1.5em 3em 1.5em;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	background: #fff;
	position: relative;
}

.closeBtn {
	background: #d01f22;
	color: #fff;
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 25px;
	padding-top: 3px;
	line-height: 22px;
	text-align: center;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}


/* Formulare
-----------------------------------------------------------*/
.searchform {
	margin-bottom: 1em;
}

input[type=search] {
	font-size: inherit;
	font-family: inherit;
	box-sizing: border-box;
	border: 1px solid #b1b1b1;
	border: none;
	background: #f0f0f0;
	width: 100%;
	padding:  0.5em 0.25em;
}

.formBlock50 {
	width: 48%;
	float: left;
	margin-bottom: 1.4em;
}

.formBlock50:nth-child(even) {
	float: right;
}

input[type=text], textarea {
	font-size: inherit;
	font-family: inherit;
	box-sizing: border-box;
	border: 1px solid #b1b1b1;
	width: 100%;
	padding: 0.25em;
	margin-bottom: 0.25em;
}

textarea {
	display: block;
}

select {
	border: 1px solid #b1b1b1;
}

input[type=submit] {
	background: #d01f23;
	border: none;
	color: #fff;
	padding: 0.5em 1em;
	font-size: inherit;
	font-family: inherit;
}

.formBlock {
	padding-bottom: 0.2em;
}

.formTable {
	width: 100%;
	line-height: 1.4em;
}

td {
	border-bottom: 1px dotted gray;
	border-right: 1px dotted gray;
	text-align: center;
	width: 40px;
	padding: 0.25em 0;
}

td:first-child {
	text-align: left;
	width: auto;
}

th {
	border-right: 1px dotted gray;
	background: #e8e8e8;
	padding: 0.25em 0;
}

.zusatzFeld {
	visibility: hidden;
}

label {
	display: none;
}

input[type=text].errEmpty {
	border: 1px solid #d01f23;
}

h3.titleError {
	border-bottom: 3px solid #d01f23;
	color: #d01f23;
}

.formError {
	color: #d01f23;
}

/* Main Navigation
-----------------------------------------------------------*/
nav.mainNav {
	background: #d01f23;
	margin: 0 -5px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	position: relative;
	z-index: 100;
}


nav.mainNav>ul>li {
	float: left;
}

nav.mainNav a {
	color: #fff;
	padding: 1.1em 1.5em 0.9em 1.5em;
	border-right: 1px solid #be1c20;
	letter-spacing: 0.03em;
	display: block;
	border-bottom: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

nav.mainNav > ul > li:nth-child(3) > a {
	padding: 1.1em 3em 0.9em 1.5em;
	background: url(../img/arrowDown.png) no-repeat right 1em center;
	background-size: 18px auto;
}

nav.mainNav li:hover > a,
nav.mainNav .selected > a,
nav.mainNav .ancestor > a,
.body-home nav.mainNav .btn-home > a
 {
	background: #be1c20;
}

nav.mainNav > ul > li:nth-child(3) > a:hover {
	background: #be1c20 url(../img/arrowDown.png) no-repeat right 1em center;
	background-size: 18px auto;
}

nav.mainNav > ul > li:nth-child(3):hover > ul {
	display: block;
}

nav.mainNav ul ul {
	position: absolute;
	background: #d01f23;
	z-index: 100;
	display: none;
}

nav.mainNav ul ul li {
	border-right: none;
	border-top: 1px solid #be1c20;
}

nav.mainNav > ul > li > a.extern {
	padding: 1.1em 2em 0.9em 1.5em;
	background: url(../img/arrowExtern.png) no-repeat right 1em center;
	background-size: 18px auto;
}

nav.mainNav > ul > li > a.extern:hover {
	background: #be1c20 url(../img/arrowExtern.png) no-repeat right 1em center;
	background-size: 18px auto;
}


/* Sub Navigation
-----------------------------------------------------------*/
nav.subNav {
	background: #f0f0f0;
	padding: 1.4em 0;
}

nav.subNav a {
	line-height: 1.2em;
	padding: 0.6em 0 0.4em 2%;
	display: block;
	border-bottom: 1px solid #fff;
	margin: 0 -2% 0 -2%;
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
}

nav.subNav a:hover {
	background: #f5f5f5;
}
/* 
nav.subNav .selected>a, 
nav.subNav ul ul .ancestor>a */
nav.subNav .active > a 
 {
	color: #000;
}

nav.subNav ul ul {
	display: none;
}

nav.subNav ul li.active ul {
	display: block;
}

nav.subNav ul ul a {
	padding: 0.6em 0 0.4em 6%;
	font-family: FuturaBTWXX-Light, Arial, Helvetica, Geneva, sans-serif;
}

nav.subNav ul ul ul a {
	padding: 0.6em 0 0.4em 12%;
	font-family: FuturaBTWXX-Light, Arial, Helvetica, Geneva, sans-serif;
}

nav.mainNav > ul > li:nth-child(3) > ul > li > span {
	display: none;
}


/*-----------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
MediaQueries
-------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------*/
@media screen and (max-width: 1200px) {

.grid-1-2,
.grid-2-1
{
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-1-2 .grid-item:nth-child(2) {
	grid-column: auto;
}

.grid-2-1 .grid-item:first-child {
	grid-column: auto;
}

}

@media screen and (max-width: 1060px) {


.main {
	float: none;
	width: auto;
	padding: 1.4em 3.003003003%;
}

.secondary {
	display: none;
}

.secondary.homeNews, .secondary.aktuelleMeldung {
	display: block;
}

.box25 {
	width: 43.993993994%;
}

.box25:nth-child(2n+1) {
	clear: left;
}

.grid-4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile {
	display: block;
}

/* Slider
-----------------------------*/
.slideshow { 
	margin-top: 23px;
	height: 200px;
}

/* Navigation
-----------------------------------------------------------*/
nav.mainNav {
	width: 94%;
	position: absolute;
	top: 165px;
	margin: 0;
}

nav.mainNav ul {
	display: none;
/* 	display: block; */
}

nav.mainNav > ul {
	margin-top: 40px;
}

nav.mainNav ul li, nav.mainNav ul ul li {
	float: none;
	position: relative;
	border-right: none;
/* 	border-bottom: 1px solid #be1c20; */
	border-top: none;
}

nav.mainNav > ul > li > ul  {
	position: static;
	display: block;
}

nav.mainNav ul li a {
	padding-left: 1em;
	border-bottom: 1px solid #bb1c20;
/* 	border-bottom: 1px solid white; */
	border-right: 0;
}

nav.mainNav ul ul li a {
	padding-left: 2em;
	padding: 0.6em 1.5em 0.5em 2.5em;
}



/* Schulen Spezial */
nav.mainNav > ul > li:nth-child(3) > a {
	display: none;
}

nav.mainNav > ul > li > ul  {
	display: block;
}

/* Schulen immer anzeigen */
nav.mainNav > ul > li:nth-child(3) ul  {
	display: block;
	position: static;
}

/* Schulen Unternavigation nicht anzeigen… */
nav.mainNav > ul > li:nth-child(3) > ul > li > ul  {
	display: none;
}

/* …ausser man ist bereits bei der Schule, dann wieder zeigen */
nav.mainNav > ul > li:nth-child(3) > ul > li.selected > ul,
nav.mainNav > ul > li:nth-child(3) > ul > li.ancestor > ul  {
	display: block;
}

/* Farben Schulen Subnav */
nav.mainNav > ul > li:nth-child(3) ul li a  {
	padding-left: 1em;
	padding: 1.1em 2.5em 1em 1em;
}

nav.mainNav > ul > li:nth-child(3) ul ul li a  {
	background: #dd2125;
	padding: 0.6em 1.5em 0.5em 2.5em;
}

nav.mainNav > ul > li:nth-child(3) ul ul ul li a  {
	padding-left: 3.5em;
	background: #ea2327;
}

nav.mainNav > ul > li:nth-child(3) ul ul ul ul li a  {
	padding-left: 4.5em;
	background: #f42429;
}

/* Padding left */
nav.mainNav > ul > li > a.extern {
	padding-left: 1em;
}

/* Formatierung Plus Span bei Schulen */
nav.mainNav > ul > li:nth-child(3) > ul > li > span {
	position: absolute;
	right: 0.5em;
	top: 0.75em;
	cursor: pointer;
	background: #fff;
	color: #d01f23;
	display: block;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	border-radius: 20px;
	z-index: 100;
/* 	display: none; */
	font-family: FuturaBTWXX-Bold, Arial, Helvetica, Geneva, sans-serif;
	font-size: 1em;
}

nav.mainNav > ul > li:nth-child(3) > ul > li > span.open {
	width: 25px;
	height: 25px;
	line-height: 25px;
	background: rgba(255, 255, 255, 0.35);
}




/* Label ganze Breite roter Balken*/
nav.mainNav label {
	line-height: 40px;
	background: #d01f23;
	display: block;
	left: -5px;
	right: -5px;
	display: block;
	line-height: 40px;
	padding: 0 0 0 3em;
	position: absolute;
	top: 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}

nav.mainNav label span {
	color: #fff;
}

nav.mainNav label:before {
	color: #fff;
	position: absolute;
	left: 15px;
	top: 0;
	content: "\2261";
	font-size: 1.8em;
}

nav.mainNav input[type=checkbox]:checked ~ ul {
	display: block;
	position: static;
}




} /* Ende 980 */



@media screen and (max-width: 850px) {

.frame {
	margin: 1em auto;
}

.grid-3 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Header
-----------------------------------------------------------*/
.siteHeader {
	position: relative;
	height: 135px;
}

.logo {
	width: 80%;
	padding: 0 3%;
	position: relative;
	top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.logo img {
	max-width: 300px;
}

.box25 {
	width: 43.993993994%;
}

.box25:nth-child(2n+1) {
	clear: left;
}

.intro, .downloads, .secondary.homeNews {
	width: auto;
	float: none;
}

.secondary.aktuelleMeldung {
	width: auto;
	float: none;
	margin-left: 3.003003003%;
}

nav.mainNav {
	top: 135px;
}


/* Slider
-----------------------------*/
.slideshow { 
	height: 175px;
}

} /* Ende 850 */


@media screen and (max-width: 750px) {

.grid-2,
.grid-1-2,
.grid-2-1
{
	grid-template-columns: repeat(1, minmax(0, 1fr));
}



.box75 {
	width: auto;
}

} /* Ende 750 */



@media screen and (max-width: 550px) {

.box50 {
	width: auto;
}

.siteHeader {
	height: 100px;
}

nav.mainNav {
	top: 110px;
}

.formBlock50, .formBlock50:nth-child(even) {
	width: 100%;
	float: none;
}

} /* Ende 550 */



@media screen and (max-width: 500px) {

/* Slider
-----------------------------*/
.slideshow { 
	height: 150px;
}

/* Lehrerliste
-----------------------------*/
/*
.main ul.personenListe li {
	padding: 0.075em 0 0.1em 0;
	margin: 0 0 0.175em 0;
	border-bottom: 1px solid #eee;
	clear: both;
}

.main ul.personenListe li:before {
	content: none;
}



.personenListe em {
	padding-left: 1em;
}
*/

.personenListe span {
	width: 75px;
	min-width: 75px;
	overflow: hidden;
	display: block;
	float: left;
}

.personenListe a, .personenListe em {
	width: calc(100% - 75px);
	padding-left: 75px;
	display: block;
	float: none;
	text-align: left;
}


.box25 {
	width: auto;
	float: none;
}

a {
/* 	word-break: break-all; */
}

} /* Ende 500 */






/* Advanced Checkbox Hack Navigation
-----------------------------------------------------------*/
body {
  -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
  from {
	padding: 0;
  }
  to {
	padding: 0;
  }
}

.mainNav input[type=checkbox] {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

.mainNav label {
	display: none;
	cursor: pointer;
	user-select: none;
}



/* Clearfix
-----------------------------------------------------------*/
.group:after {
  content: "";
  display: table;
  clear: both;
 }
