/*
Theme Name: Maria Ward Gymnasium
Theme URI: http://www.emwgym.de
Author: networkerz GmbH
Version: 1.0
mobile
*/


header form.mobile {
    position: relative;
    right: auto;
    background-color: #fff;
    top: -40px;
    width: 100%;
    max-width: none;
    display: none;
    z-index: 10001;
    text-align: center;
}

header form.mobile input[type="text"] {
    width: 100%;
    float: left;
    text-align: center;
}

header form.mobile input[type="image"] {
	float: none;
    position: absolute;
    right: 20px;
}



@media (max-width:1200px) {
	
	.lehrerliste .col25 {
		margin-right: 0px;
		width: 33.332%;
		min-height: 398px;
	}
	
}


@media (max-width:1100px) {
	
html, body {
    font-size: 15px;
	line-height: 21px;
	}	
	
	.teaser-big a {
		color: #000;
		font-size: 17px;
		line-height: 23px;
	}
	
	.teaser-small .teaser-hl span {
		font-size: 14px;
	}	
	
	.teaser-small span.mehr {
		bottom: 21%;
	}	
	
	
	a.btn {
		font-size: 16px;
	}	
	
	.col-left {
		width: calc(40% - 10px);
	}	

	.col-right {
		width: 60%;
	}	

	.news-kategorie {
		font-size: 16px;
		padding-bottom: 7px;
		margin-bottom: 12px;
	}	

	.news-headline {
		font-size: 18px;
		margin-bottom: 10px;
		line-height: 21px;
	}

}

@media (min-width:1125px) {
	header form.mobile {
		display: none !important;
	}
}

@media (max-width:1124px) {
	
	.row {
		margin:0px;
	}	
	
	nav {
		margin-top:0px;
		width: 100%;
		height:1px;
		z-index: 1000;
		position: absolute;
		right: 0px;
		top: 110px;		
		}	
		
	nav ul {
		padding: 0px 0px;
		background-color: rgba(0,27,55,0.90);
		margin-bottom: 0px;
		display: block;
	}
	
.sm,.sm ul {margin:0px 0px;}	
	
nav ul.sm li {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #fff;
    text-align: center;
    width: 100%;
    padding: 10px 0 0px 0px;
    margin: 0px;
    font-size: 14px;
    display: block;
}
	
	nav ul.sm li a {
		padding-bottom: 10px;
	}
	
		nav ul.sm li ul li a {
			padding-bottom: 5px;
		}
	
	nav ul.sm li a.has-submenu.highlighted {
		padding-bottom: 0px;
	}
	
	nav ul.sm li:last-child {
		border-bottom-color: #000;
	}
			

		
	nav ul.sm li div {	
		position: relative;
		top: 0px;
		display: none;
		width: 100%;
		text-align: center;		
		}
	
	nav ul.sm li div.active {
		display: block;
	}

	nav ul.sm li:last-child {
		margin-bottom:0px;
		}

	nav ul.sm li ul.sub-menu {
		background-color: transparent;
		position: relative;
		top: 0px !important;
		left: 0px !important;
		padding: 15px 0px 0px 0px;
		margin: 0px !important;
		display: none;
		min-width: 155px !important;
		width:100% !important;
		flex-shrink: unset;
		height: auto;
		max-width: none !important;
	}	
	
	nav ul.sm li ul.sub-menu li {
		border-bottom-width: 2px;
		border-bottom-style: solid;
		border-bottom-color: #001b36;
		text-align: center;
		width: 100%;
		padding: 0px 0;
		margin: 0px;
	}	
	
	nav ul.sm li ul.sub-menu li:last-child {
		border-bottom-width: 0px;
	}
	
nav ul.sm li ul.sub-menu li a:hover, nav ul.sm li ul.sub-menu li.active a {
    background-color: #2f455d;
    color: #fff;
}	
	
			nav ul.sm li ul.sub-menu li:first-child a:hover:after,
			nav ul.sm li ul.sub-menu li:first-child.active a:after{
				border-color: rgba(36, 57, 80, 0);
				border-bottom-color: #2f455d;
			}

			nav ul.sm li.current-page-ancestor ul.sub-menu li.current_page_item a {
				background-color: #2f455d;
				color: #fff;
			}	
	

.counter .icon-wrapper {
    margin: 0 auto 5px auto;
}	
	
	
.counter {
	display: block;
    width: calc(33.332% - 20px);
    margin: 0px 9px 20px 9px;
	float: left;
	min-height: 260px;
}



.teaser-big a {
    color: #000;
    font-size: 15px;
    line-height: 21px;
}	
	
	.teaser-info-inner {
		padding: 15px 10px;
	}
	
	
	.tap-pane-intro h3 {
		margin-top: 40px;		
	}
	
	.tab-pane img {
		width: 30%;
		margin-right: 30px;
	}	
	
	.tap-pane-intro {
		width: calc(70% - 60px);
	}	
	

.gremien a {
    padding-left: 104px;
    font-size: 16px;
}	
	
.gremien div a::before {
    width: 85px;
    height: 85px;
    top: 50%;
    margin-top: -40px;
    background-size: 85px 85px;
}	
	
.gremien .col50, .gremien .col33 {
    height: 135px;
}	

	.news-teaser {
		width: auto;
		margin: 0px 0px 15px 40px;
		text-align: left;
	}	
	
}


@media (max-width:990px) {

	.teaser-small {
		width: calc(50% - 10px);
		float: left;
		margin: 0px 0px 10px 0px;
	}	
	
	.teaser-big,
	.teaser-small {
		margin-right: 10px;
	}
	
	.teaser-info span {
		bottom: 8%;
	}	
	
	.teaser-small span.mehr {
		bottom: 33%;
	}	

	.teaser-info-inner {
		border-top: dotted 0px #001b36;
	}	
	
	footer ul li {
		display: block;
		margin: 0px 0px 10px 0px;
	}	

	.col25 img {
		width: 95%;
	}

	.timeline img {
		margin-left: -18px;
	}
	
	.lehrerliste .col25 {
		margin-right: 0px;
		width: 50%;
		min-height: 398px;
	}	
	
		
}



@media (max-width:860px) {
	
.content {
    margin: 0px 20px;
}	
	
.balken {
    margin: 0px auto 50px auto;
}	
	
h2 {
    font-size: 28px;
    line-height: 32px;
    margin: 40px auto 30px auto;
}	
	
.balken-header img {
    max-width: 130px;
}	
	
		
ul.termine-filter {
    margin: 0px auto 30px auto;
    justify-content: normal;
    width: calc(100% - 24px);
    display: block;
}

	ul.termine-filter li {
		width: calc(33% - 20px);
		margin: 5px 10px !important;
		display: inline-block;
	}	

.schwerpunktthema div.bg-white {
    width: calc(100% - 60px);
    left: 30px;
	bottom: 30px;
    right: 30px;
}
	

.teaser-big {
    width: calc(100% - 10px);
    float: none;
	height: 330px !important;
	margin-bottom: 10px;
}	
	
.clear-mobile {
	display: block;
}	
	
	
	a.quicklink .icon-wrapper {
		width: 152px;
		height: 152px;
		padding: 9px;
	}	

	a.quicklink .icon-wrapper .icon {
		width: 126px;
		height: 126px;
	}	
	
	a.quicklink img {
		margin-top: 6px;
		width: 120px;
		height: auto;
	}	
	
	.footer-image {
			width: 70%;
			max-width: 221px;
			margin: -10px auto 0px auto;
		}	

	.footer-image2 {
		margin: 19px auto 0px auto;
	}	

	
	.timeline__content {
		padding: 10px;
	}		

	.timeline img {
		float: none;
		margin: -5px auto 10px auto;
	}	
	

.intro p {
    padding: 0px 30px;
    font-size: 18px;
    line-height: 25px;
}	
	
	
h1 {
    font-size: 32px;
    line-height: 40px;
    margin: 50px auto 50px auto;
}	

	
.gremien .col50, .gremien .col33 {
	height: 95px;
}

	.gremien a {
		padding-left: 85px;
		font-size: 16px;
	}

	.gremien div a::before {
		width: 65px;
		height: 65px;
		top: 50%;
		margin-top: -32px;
		background-size: 65px 65px;
	}	
	
	.gremien .col33 {
		width: calc(50% - 10px);
		margin-right: 10px;
	}
	
	.gremien .col33.ehemalige {
		/* 
		float: none;
		margin: 0px auto;
		display: inline-block;
		*/
	}
	
.slidergalerie .slick-arrow.slick-prev {
    left: -40px;
}	
	
.slidergalerie .slick-arrow.slick-next {
    right: -40px;
}	
	
	
}


@media (max-width:768px) {
	
	header {
		position: relative;
	}	
	

	h1 {
		font-size: 30px;
		line-height: 35px;
	}	

	h2 {
		font-size: 25px;
		line-height: 30px;
		margin: 40px auto 30px auto;
	}
	
	div.slider .headline {
		font-size: 33px;
	}	
	
	div.slider .subline {
		font-size: 16px;
	}	
	
	
	.teaser-big .teaser-hl {
		font-size: 24px;
		padding-top: 30px;
		letter-spacing: 1px;
	}	

	.teaser-hl {
		min-height: 80px;
		color: #fff;
	}	

	.teaser-small .teaser-hl {
		min-height: 115px;
	}	
	
	.teaser-small span.mehr {
		bottom: 27%;
	}	
	
	
	a.quicklink {
		margin: 0px 20px 30px 20px;
		font-size: 16px;
	}	

	a.quicklink .icon-wrapper {
		width: 130px;
		height: 130px;
	}	

	a.quicklink .icon-wrapper .icon {
		width: 107px;
		height: 107px;
	}	

	a.quicklink img {
		margin-top: 6px;
		width: 100px;
		height: auto;
	}	
	
.schwerpunktthema div.bg-white {
    width: 100%;
    left: auto;
    bottom: auto;
    right: auto;
	position: relative;
	height: auto;
}	
	
	.schwerpunktthema {
		width: 100%;
		left: auto;
		top: auto;
		right: auto;
		bottom: auto;
		position: relative;
		height: auto;
		background-position: center center;
		padding: 30px;
	}
	
	.start-buttons .col-left,
	.start-buttons .col-right {
		margin-right: 0px;
		width: calc(100% - 10px);
		float: none;
		margin-bottom: 10px;
	}	
	
.bg-blau {
    margin-top: 95px;
    padding: 30px 0px;
}	


	
	.tab-pane img {
		display: none;
	}	

	ul.reiter-nav {
		margin: 0px auto 40px auto;
	}	
	
	.tap-pane-intro {
		width: calc(100% - 60px);
		margin: 0px 30px;
	}	
	
	.tap-pane-intro p {
		margin: 10px 0px 20px 0px;
	}	
	
	
	.timeline:not(.timeline--horizontal)::before {
		background-color: #001b36;
	}	

	.timeline--mobile .timeline__item {
		padding: 10px 15px 40px 15px;
	}	

	.timeline__content::after, .timeline__content::before {
		content: none;
	}	

	.timeline__item::after {
		top: 10px;
	}
	
	.timeline__content {
		border-bottom: 0px;
		border-top: 3px solid #001b36;
		border-right: 1px dotted #001b36;		
	}	
	
	
 
.balken-body img.alignleft {
    max-width: 30%;
    margin: 25px 20px 10px 0px;
}	
	
.balken-body img.alignright {
     max-width: 30%;
	margin: 25px 0px 10px 20px;
}
			
.teaser.blau,
.teaser.rot,
.teaser.violett,
.teaser.orange,
.teaser.gruen2
	{display: none;}


.teaser {
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	width: 100%;
	float: none;
	margin: 2px 0px 1px 0px;
	height: 350px;
	background-position: center center;
	}
	
.teaser-info {
    text-align: center;
    color: #fff;
    position: relative;
    background-color: #001b37;
    width: 100%;
    padding: 0px 30px 5px 30px;
    margin: 0px 0px 0px 0px;
}	
	

.slidergalerie .slick-arrow.slick-prev {
    left: 20px;
	opacity: 0.8;
}	

.slidergalerie .slick-arrow.slick-next {
    right: 20px;
	opacity: 0.8;
}	
	
	
	.page-template-news main {
		margin-top: 50px;
		padding-top: 30px;
	}	
	
.news-teaser {
    width: 100%;
    margin: 0px 0px 15px 0px;
    text-align: left;
}	
	
	
}

@media (max-width:680px) {

	ul.termine-filter {
		margin: 0px auto 30px auto;
		width: calc(100% - 24px);
		display: block;
	}
	
	ul.termine-filter li {
		width: calc(32% - 23px);
		margin: 5px 5px !important;
	}	
	
	footer .col30:first-child {
		text-align: center;
		width: 100%;
	}

	footer .col30,
	footer .col40,
	footer .col25 {
		width: 100%;
		float: left;
		text-align: center;
	}	
	
	.footer-image {
		margin: 0px auto 30px auto;
	}
	
	footer p a img {
		margin: 20px 10px 0px 10px;
	}	
	
	.footer-image2 {
		margin: 25px auto 15px auto;
		max-width: 170px;
	}	
	
	ul.reiter-nav li {
		font-size: 17px;
	}	
	
.tap-pane-intro h3 {
    font-size: 27px;
    margin-right: 0px;
}	

.tap-pane-intro h4 {
    font-size: 18px;
    margin: 15px 0px 25px 0px;
}	

.tap-pane-intro p {
    font-size: 15px;
    line-height: 19px;
  word-wrap: break-word;
  overflow-wrap: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;    
}	
	
.counter {
    width: calc(50% - 20px);
}	
	
	
	
.balken-header {
    text-align: center;
}	
	
	.balken-header img {
		max-width: 159px;
		float: none;
		margin: 40px auto 0px;
	}	
	
	.downloads .balken-header h2 {
		margin: 20px 0px 5px 0px;
		font-size: 21px;
		line-height: 26px;
		padding-right: 100px;
	}
	
.content {
    margin: 0px;
}	
	
	
.news-teaser {
    margin: 0px 0px 35px 0px;
}	
	
	.news-teaser-image {
		width: 140px;
	}	

	.news-teaser-infos {
		width: calc(100% - 165px);
	}	
	
	
}


@media (max-width:600px) {
	
	header {
		height: 80px;
		position: relative;
	}
	
	a.logo {
		width: 256px;
		height: 60px;
		background-size: auto 60px;
		position: absolute;
		left: 20px;
		top: 11px;
	}	
	
	#nav-toggle {
		right: 10px;
		top: 0px;
	}
	
	nav {
		top: 80px;
	}	
	
	div.slider .headlines {
		left: 20px;
		top: 95px;
		width: calc(100% - 40px);
	}

	div.slider .headline {    
		letter-spacing: 2px;	
		padding: 10px 15px;
		font-size: 5vmin;
		text-align: left;
		margin:0px 0px;
		line-height: normal;
	}	
		
	div.slider .subline {		
		text-align: left;
		font-size: 15px;	
		padding: 10px 15px;
	}	
	
	
	.slick-dots {
		bottom: 5px;
	}	
			
	
		div.slider .subline a {
			white-space: nowrap;
		}
	
	.content {
		margin: 0px 5px;
	}	
	
	
	.teaser-big {
		width:100%;
		float: none;
		margin: 0px;
		height:auto !important;	
		padding-bottom: 20px;
		margin-bottom:10px;
	}

	.teaser-small {
		width: 100%;
		float: none;
		margin: 0px 0px 10px 0px;
		height:auto !important;		
	}	
	
	.teaser.blau {background-image: none;}
	.teaser.orange {background-image: none;}
	.teaser.violett {background-image: none;}
	.teaser.lila {background-image: none;}	
	
	.teaser a {
		position: relative;
		display: block;
	}	
	
	
.teaser-small .teaser-hl span br {
    display:none;	
}	
	
	
	.teaser-info {
		height: auto;
		position: relative;
		padding-top:20px;
	}	

	.teaser-info::before {
		content: none;
	}	

	.teaser-info-inner {
		display: block;
		vertical-align: top;
		border-bottom: dotted 0px #001b36;
		border-top: dotted 0px #001b36;
		margin: 0px auto;
	}	

	.teaser-info span {
		position: relative;
		bottom: auto;
		display: block;
		left: auto;
		font-weight: bold;
	}	
	
	.teaser-small span.mehr {
		bottom: 15px;
	}	

	
	
	
.bg-blau {
    margin-top: 75px;
    padding: 20px 0px;
}	
	
	
ul.termine-filter li {
    width: calc(50% - 23px);
    margin: 5px 5px !important;
}	
	
	
.container-fluid {
    max-width: 1440px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}	
	
	
.news-slider .slick-arrow.slick-prev {
    left: -18px;
    border: 3px solid #e3e5ec;
}
	
.news-slider .slick-arrow.slick-next {
    right: -18px;
	border: 3px solid #e3e5ec;
}	

i.arrow {
    width: 14px;
    height: 14px;
    border-width: 2px 2px 0 0;
    border-radius: 0 2px 0 0;
}	
	
.news-slider .slick-arrow.slick-prev i.arrow {
    transform: rotate(-135deg);
    margin: 9px 10px 10px 11px;
}
	
.news-slider .slick-arrow.slick-next i.arrow {
    transform: rotate(45deg);
    margin: 9px 10px 10px 5px;
}	


.news-slider .slick-arrow {
	top:calc(50% - 18px);
}
	
.news-slider .slick-arrow:hover {
    opacity: 1;
	background-color: #32485e;
}	
	
	
	.termine-monat,
	.termine-kw {
		display: none;
	}

	.termine-datum {
		width: 25%;
	}	

	.termine-kategorie {
		width: 10%;
	}		
	
	.termine-veranstaltung {
		width: 65%;
	}
	
	
.counter {
    width: calc(50% - 20px);
    margin: 0px 9px 20px 9px;
}	
	
	
	
.outer-wrapper-timeline {
    background-color: #ccceda;
    padding: 50px 20px 40px 30px;
    max-width: 1350px;
    margin: 0px auto;
}	
	
.timeline__content {
    padding: 15px;
	margin-right: 0px;
}	
	
	
.col50 {
    width: calc(100% - 10px);
    margin-right: 0px;
}	

	.lehrerliste .col25 {
		min-height: 420px;
	}	
	
	
.main-menu-btn {
    right: 20px;
    top: -51px;
}	
	
	
}


@media (max-width:480px) {

	h1 {
		font-size: 27px;
		line-height: 32px;
	}		
	
	div.slider .headlines {
		bottom: 30px;
		top: auto;
	}
	
	a.btn {    
		min-width: auto;
		width:100%;
	}	
	
	
	.gremien .col33,
	.gremien .col50,
	.col50,
	.lehrerliste .col25{
		width: 100%;
		margin-right: 0px;
	}	
	
.counter {
    width: 100%;
    margin: 0px 0px 20px 0px;
}	
		

.lehrerliste .lehrer-inner {
    width: 100%;
}	 
	
.balken-body {
    text-align: center;
}	
	
	.balken-body img.alignright,
	.balken-body img.alignleft {
		max-width: 45%;
		margin: 5px auto 0px auto;
		float: none;
	}	
	
	.balken-body h3 {
		text-align: center;
	}	

	.downloads .balken-header h2 {
		margin: 20px 0px 5px 0px;
		font-size: 18px;
		line-height: 22px;
		padding-right: 100px;
	}	
	
.news-teaser-image {
    width: 100%;
	margin-bottom: 10px;
}
	
	.news-teaser-infos {
		width: 100%;
	}
	
span.news-teaser-date {
    width: 100%;
}	
	
	span.news-teaser-date::before {
		width: 100%;
	}	
	

}

