/*!
Theme Name:   Wildwasser
Template:     francesca
Author:       WeMakeWebsites / Jonas Langreuter
Author URI:   https://www.wemakewebsites.de
Version:      1.0.0
Description:  Theme for Wildwasser Muenchen
*/

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('fonts/AtkinsonHyperlegible-Bold.eot');
    src: url('fonts/AtkinsonHyperlegible-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/AtkinsonHyperlegible-Bold.woff2') format('woff2'),
        url('fonts/AtkinsonHyperlegible-Bold.woff') format('woff'),
        url('fonts/AtkinsonHyperlegible-Bold.ttf') format('truetype'),
        url('fonts/AtkinsonHyperlegible-Bold.svg#AtkinsonHyperlegible-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atkinson Hyperlegible';
    src: url('fonts/AtkinsonHyperlegible-Regular.eot');
    src: url('fonts/AtkinsonHyperlegible-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/AtkinsonHyperlegible-Regular.woff2') format('woff2'),
        url('fonts/AtkinsonHyperlegible-Regular.woff') format('woff'),
        url('fonts/AtkinsonHyperlegible-Regular.ttf') format('truetype'),
        url('fonts/AtkinsonHyperlegible-Regular.svg#AtkinsonHyperlegible-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html body{
	font-family: 'Atkinson Hyperlegible', Helvetica, Arial, sans-serif;
	font-weight: normal;
}

/* header */

#masthead.site-header{
	margin-top: 0;
	position: fixed;
	background-color: #fff;
}

#masthead .site-header-content{
	position: relative;
}

#masthead .site-title a{
	display: block;
	width: 250px;
	height: 99px;
	text-indent: -999em;
	background: url('images/wildwasser_logo.png') center center no-repeat;
	background-size: 250px 99px;
}

#search-form-modal{
	display: none !important;
}

#site-navigation.main-navigation,
#search-form-modal{
	margin-top: 40px;
}

#site-navigation.main-navigation{
	justify-content: flex-end;
	margin-right: 0;
	width: 100%;
}

.menu-primary > li{
	margin-right: 2em;
}

.menu-primary > li#menu-item-71{
	margin-right: 1em;
}

.menu-primary > li > a{
	font-weight: normal;
}

#masthead #menu-primary ul.sub-menu li a{
	white-space: normal;
}

#topheader{
	position: absolute;
	top: 20px;
	right: 10px;
	z-index: 99;
}

#topheader .topheader-navigation ul{
	list-style: none;
	display: flex;
	margin-left: 0;
}

#topheader .topheader-navigation ul li{
	margin-left: 30px;
}

#topheader .topheader-navigation ul li:first-of-type{
	margin-left: 0;
}

#topheader .topheader-navigation a.telefon{
	color: #01376a;
	text-decoration: none;
	padding-left: 24px;
	background: url('images/telefon.svg') left -1px no-repeat;
	background-size: 21px 21px;
}

#topheader .topheader-navigation .topicon{
	display: inline-block;
	text-indent: -999em;
	width: 26px;
	height: 26px;
	background: url('images/leichtesprache.svg') center center no-repeat;
	background-size: 26px 26px;
}

#topheader .topheader-navigation .topicon.leichtesprache{
	background: url('images/leichtesprache.svg') right center no-repeat;
	text-indent: 0;
	width: 75px;
	padding-right: 30px;
	font-size: 12px;
	line-height: 13px;
	text-decoration: none;
}

#topheader .topheader-navigation .topicon.gebaerdensprache{
	background: url('images/gebaerdensprache.svg') right center no-repeat;
	text-indent: 0;
	width: 88px;
	padding-right: 30px;
	font-size: 12px;
	line-height: 13px;
	text-decoration: none;
}

#topheader .topheader-navigation .topicon.barrierefreiheit{
	background-image: url('images/barrierefreiheit.svg');
}

#topheader .topheader-navigation .topicon.exit{
	background-image: url('images/exit.svg');
}

.toggle-sub-menus .button-toggle-sub-menu{
	opacity: 1;
}

.toggle-sub-menus .button-toggle-sub-menu::after,
.toggle-sub-menus .button-toggle-sub-menu::before{
	background: #151515;
}

/* readspeaker */

/*
#wildwasser-readspeaker{
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	position: relative;
}

#wildwasser-readspeaker #readspeaker_button1{
	position: absolute;
	right: 0;
	top: -100px;
}
*/

#readspeaker_button1{
	z-index: 999;
}

/* content */

#main.site-main{
	margin-top: 250px;
}

.h1, .has-heading-1-font-size, h1{
	font-size: 60px;
	line-height: 1.1;
}

h2.wp-block-heading,
h2.wp-block-heading:first-child,
h2.wp-block-heading:last-child,
.wp-block-heading.h2,
.wp-block-heading.h2:first-child,
.wp-block-heading.h2:last-child{
	font-size: 46px;
	font-weight: normal;
	line-height: 1;
	margin-bottom: 30px;
}

h2.wp-block-heading strong{
	font-size: 34px;
	font-weight: bold;
	line-height: 0.8;
}

h3.wp-block-heading,
h3.wp-block-heading:first-child,
h3.wp-block-heading:last-child,
.wp-block-heading.h3,
.wp-block-heading.h3:first-child,
.wp-block-heading.h3:last-child{
	margin-top: 0;
	font-size: 34px;
}

h4.wp-block-heading,
h4.wp-block-heading:first-child,
h4.wp-block-heading:last-child,
.wp-block-heading.h4,
.wp-block-heading.h4:first-child,
.wp-block-heading.h4:last-child{
	font-size: 20px;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 10px;
}

#main p{
	margin-bottom: 20px;
}

#main p.nomarginbottom{
	margin-bottom: 0;
}

#main ol,
#main ul{
	margin-left: 20px;
}

#main .wp-block-button__link,
#main .wp-block-button__link:hover{
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-animation: none;
	animation: none;
	border: 2px solid #373737;
	font-size: 16px;
	padding: 8px 15px 7px;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

#main .wp-block-button__link:hover{
	color: #19a0a6;
	border-color: #19a0a6;
}

.wp-block-kadence-spacer{
	margin-bottom: 0;
}

.wp-block-kadence-spacer hr.kt-divider:before{
	display: none;
}

#blockinfozeile{
	margin-bottom: 0;
	gap: 16%;
}

#blockinfozeile p{
	margin-bottom: 0;
}

ul.nobulletlist{
	list-style: none;
	margin-left: 0;
}

/* events */

.em.pixelbones a{
	color: #00376a !important;
}

.ww-eventteaser .wp-block-columns a{
	display: block;
	background: #fff;
	padding: 35px 25px 15px;
	-webkit-box-shadow: 0 0 3px 0 #B0B0B0;
	box-shadow: 0 0 3px 0 #B0B0B0;
	text-decoration: none;
	height: 100%;
	-moz-transition: all 300ms ease-out 0s;
	-webkit-transition: all 300ms ease-out 0s;
	-o-transition: all 300ms ease-out 0s;
	transition: all 300ms ease-out 0s;
}

.ww-eventteaser .wp-block-columns a:hover{
	background: #f2f2f2;
}

.ww-eventteaser .wp-block-columns a .datum{
	font-size: 16px;
	color: #373737;
}

.ww-eventteaser .wp-block-columns a h4.eventtitel{
	font-size: 26px;
	color: #19a0a6;
	margin-top: 30px;
}

.ww-eventteaser .wp-block-columns a p{
	font-size: 16px;
	color: #373737;
}

@media (min-width: 600px) and (max-width: 781px){
	
	.ww-eventteaser .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child){
		flex-basis: 100% !important;
	}
	
	.ww-eventteaser .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(2n){
		margin-left: 0;
	}
	
}

/* eventlist */

body .em.em-list .em-item{
	grid-template-columns: 100%;
	grid-template-rows: min-content max-content;
	border-color: #373737;
}

.em.em-list .em-item .em-item-info{
	border-left: none;
	padding-left: 0;
}

.em.pixelbones .em-item-title a{
	font-size: 26px;
	color: #19a0a6 !important;
}

#main .em.pixelbones .input .button,
#main .em.pixelbones .input .button:hover{
	height: auto !important;
	line-height: normal !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	-webkit-animation: none !important;
	animation: none !important;
	border: 2px solid #373737 !important;
	font-size: 16px !important;
	padding: 10px 15px 9px !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
	margin-bottom: 15px !important;
}

#main .em.pixelbones .input .button:hover{
	color: #19a0a6 !important;
	border-color: #19a0a6 !important;
}

/* event single */

body.single-event .em.pixelbones h1{
	font-weight: 700 !important;
	font-size: 42px !important;
}

body.single-event .em.pixelbones h2{
	font-size: 24px !important;
}

.em.pixelbones ul{
	list-style: disc !important;
}

#main .em.pixelbones form.em-booking-form input,
#main .em.pixelbones form.em-booking-form textarea{
	border-color: #808080 !important;
}

#main .em.pixelbones .input input[type=checkbox]:focus,
#main .em.pixelbones.input input[type=checkbox]:focus{
	outline-width: 2px !important;
    outline-style: dotted !important;
    outline-offset: 3px !important;
    outline-color: #000000 !important;
}

#main span.pflichterklaerung{
	display: block;
	margin-bottom: 20px;
}

/* post single */

article.post .entry-meta{
	display: none;
}

/* footer */

#colophon .wp-block-navigation-item{
	margin: 0;
}

#colophon .wp-block-navigation-item:after{
	content: '|';
	margin-left: 6px;
}

#colophon .wp-block-navigation-item:last-of-type:after{
	content: '';
}

/* leichte sprache */

body.page-id-92 p + ul{
	margin-top: -20px;
}

/* placeholder */

::-webkit-input-placeholder {
/* WebKit browsers */
 color: transparent;
}
:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
 color: transparent;
}
::-moz-placeholder {
/* Mozilla Firefox 19+ */
 color: transparent;
}
:-ms-input-placeholder {
/* Internet Explorer 10+ */
 color: transparent;
}
input::placeholder {
 color: transparent;
}
textarea::-webkit-input-placeholder {
/* WebKit browsers */
 color: transparent;
}
textarea:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
 color: transparent;
}
textarea::-moz-placeholder {
/* Mozilla Firefox 19+ */
 color: transparent;
}
textarea:-ms-input-placeholder {
/* Internet Explorer 10+ */
 color: transparent;
}
textarea::placeholder {
 color: transparent;
}

/* search */

body.search #page-header{
	padding-top: 0;
	margin-bottom: 40px;
}

body.search #posts.posts{
	max-width: 100%;
}

body.search #posts.posts ul{
	list-style: none;
	margin-left: 0;
}

body.search #posts.posts ul li{
	padding: 10px 0;
}

/* media queries */

/* min */

@media screen and (min-width: 1280px) {
	
	#masthead #menu-primary ul.sub-menu{
		width: 280px;
	}
	
}

@media screen and (min-width: 1400px) {
	
	#masthead #menu-primary ul.sub-menu{
		width: 360px;
	}
	
}


/* max */

@media screen and (max-width: 879px) {
	
	#topheader .topheader-navigation a.telefon{
		text-indent: -999em;
		display: inline-block;
	}
	
	#topheader .topheader-navigation ul li{
		margin-left: 20px;
	}
	
	#topheader .topheader-navigation a.telefon{
		padding-left: 24px;
	}
	
	#topheader .topheader-navigation .topicon,
	#topheader .topheader-navigation a.telefon{
		width: 24px;
		height: 24px;
		background-size: 24px 24px;
	}
	
/*
	#site-navigation.main-navigation{
		width: calc(100% - 330px);
	}
*/
	
	.modal-search-container:nth-last-child(2){
		-webkit-box-ordinal-group: 11;
		-ms-flex-order: 10;
		order: 10;
	}
	
	#main.site-main{
		margin-top: 150px;
	}
	
	.h1, .has-heading-1-font-size, h1{
		font-size: 32px;
		margin-bottom: 16px !important;
	}
	
	h2,
	h2:first-child,
	h2:last-child,
	h2.wp-block-heading,
	h2.wp-block-heading:first-child,
	h2.wp-block-heading:last-child,
	h3,
	h3:first-child,
	h3:last-child,
	h3.wp-block-heading,
	h3.wp-block-heading:first-child,
	h3.wp-block-heading:last-child{
		font-size: 24px;
	}
	
	h2.wp-block-heading strong,
	h3.wp-block-heading strong{
		font-size: 22px;
	}
	
	h4,
	h4:first-child,
	h4:last-child{
		font-size: 16px;
	}
	
	.wp-block-spacer.is-style-mobile0{
		height: 0px !important;
	}
	
	.wp-block-spacer.is-style-mobile10{
		height: 10px !important;
	}
	
	.wp-block-spacer.is-style-mobile20{
		height: 20px !important;
	}
	
	.wp-block-spacer.is-style-mobile30{
		height: 30px !important;
	}
	
	.wp-block-spacer.is-style-mobile40{
		height: 40px !important;
	}
	
	.wp-block-spacer.is-style-mobile50{
		height: 50px !important;
	}
	
	.wp-block-spacer.is-style-mobile60{
		height: 60px !important;
	}
	
	.wp-block-spacer.is-style-mobile70{
		height: 70px !important;
	}
	
	.wp-block-spacer.is-style-mobile80{
		height: 80px !important;
	}
	
	.wp-block-spacer.is-style-mobile90{
		height: 90px !important;
	}
	
	.wp-block-spacer.is-style-mobile100{
		height: 100px !important;
	}
		
}

@media screen and (max-width: 679px) {
	
	#masthead .site-title a{
		width: 130px;
		height: 49px;
		background-size: 130px 49px;
	}
	
	#site-navigation.main-navigation{
		width: calc(100% - 165px);
	}
	
	#topheader{
		right: 20px;
	}
	
	.site-branding{
		padding-top: 45px;
	}
	
	#site-navigation.main-navigation, #search-form-modal{
		margin-top: 60px;
	}

}

@media screen and (max-width: 579px) {
	
	#topheader .topheader-navigation .topicon.leichtesprache,
	#topheader .topheader-navigation .topicon.gebaerdensprache{
		text-indent: -999em;
		width: 26px;
		padding-right: 0;
		font-size: inherit;
		line-height: inherit;
	}
	
	#blockinfozeile{
		gap: 20px;
	}
	
	#blockinfozeile p{
		font-size: 20px !important;
	}
	
	#blockinfozeile p strong{
		font-weight: normal !important;
	}
	
}

@media screen and (max-width: 379px) {
	
	#blockinfozeile p{
		font-size: 16px !important;
	}
	
}































