/*
Theme Name: BaS-Tagung 2024
Description: Template für BaS-Tagung 2024
Author: Cornelia Agel, Berlin
Author URI: http://www.sevenminds.de/
*/

/* === FONTS === */

/* roboto-300 - latin */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; src: url("fonts/roboto-v30-latin-300.eot"); src: local(""), url("fonts/roboto-v30-latin-300.eot?#iefix") format("embedded-opentype"), url("fonts/roboto-v30-latin-300.woff2") format("woff2"), url("fonts/roboto-v30-latin-300.woff") format("woff"), url("fonts/roboto-v30-latin-300.ttf") format("truetype"), url("fonts/roboto-v30-latin-300.svg#Roboto") format("svg"); }

/* roboto-300italic - latin */
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 300; src: url("fonts/roboto-v30-latin-300italic.eot"); src: local(""), url("fonts/roboto-v30-latin-300italic.eot?#iefix") format("embedded-opentype"), url("fonts/roboto-v30-latin-300italic.woff2") format("woff2"), url("fonts/roboto-v30-latin-300italic.woff") format("woff"), url("fonts/roboto-v30-latin-300italic.ttf") format("truetype"), url("fonts/roboto-v30-latin-300italic.svg#Roboto") format("svg"); }

/* roboto-500 - latin */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500;   src: url("fonts/roboto-v30-latin-500.eot"); src: local(""), url("fonts/roboto-v30-latin-500.eot?#iefix") format("embedded-opentype"), url("fonts/roboto-v30-latin-500.woff2") format("woff2"), url("fonts/roboto-v30-latin-500.woff") format("woff"), url("fonts/roboto-v30-latin-500.ttf") format("truetype"), url("fonts/roboto-v30-latin-500.svg#Roboto") format("svg"); }

/* roboto-500italic - latin */
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 500; src: url("fonts/roboto-v30-latin-500italic.eot"); src: local(""), url("fonts/roboto-v30-latin-500italic.eot?#iefix") format("embedded-opentype"), url("fonts/roboto-v30-latin-500italic.woff2") format("woff2"), url("fonts/roboto-v30-latin-500italic.woff") format("woff"), url("fonts/roboto-v30-latin-500italic.ttf") format("truetype"), url("fonts/roboto-v30-latin-500italic.svg#Roboto") format("svg"); }

@font-face{ font-family: "FontAwesome"; src: url("../../plugins/ninja-forms/assets/fonts/fontawesome-webfont.eot?v=4.5.0"); src: url("../../plugins/ninja-forms/assets/fonts/fontawesome-webfont.eot?#iefix&v=4.5.0") format("embedded-opentype"), url("../../plugins/ninja-forms/assets/fonts/fontawesome-webfont.woff2?v=4.5.0") format("woff2"), url("../../plugins/ninja-forms/assets/fonts/fontawesome-webfont.woff?v=4.5.0") format("woff"), url("../../plugins/ninja-forms/assets/fonts/fontawesome-webfont.ttf?v=4.5.0") format("truetype"), url("../../plugins/ninja-forms/assets/fonts/fontawesome-webfont.svg?v=4.5.0#fontawesomeregular") format("svg"); font-weight: normal; font-style: normal; }
@import url("../../plugins/ninja-forms/assets/css/fontawesome.min.css");


/* === RESET === */

body, div, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, ol, ul, li, dl, dt, dd, figure, table, th, td, form, fieldset, legend, input, textarea { margin: 0; padding: 0; }
header, footer, nav, section, aside, article, figure, figcaption { display: block }
table { border-spacing: 0; border-collapse: collapse; }
caption, th, td { text-align: left; text-align: start; vertical-align: top; }
abbr, acronym { font-variant: normal; border-bottom: 1px dotted #666; cursor: help; }
blockquote, q { quotes: none; }
fieldset, img { border: 0; }
ul { list-style-type: none; }
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
del { text-decoration: line-through; }
ins { text-decoration: none; }
*, *:before, *:after { box-sizing: inherit; }

html { position: relative; overflow-y: scroll; height: 100%; font-size: 62.5%; -webkit-text-size-adjust: 62.5%; -ms-text-size-adjust: 62.5%; }
input, button, textarea, select { vertical-align: baseline; *vertical-align: middle; }
button, input.submit { *overflow: visible; }
table { font-size: inherit; }
img, object, embed, video { max-width: 100%; }
a img { border: none; display: block; }
img { height: auto; }


/* === TYPOGRAPHY === */

body, button, input, select, textarea { line-height: 1.5; color: #263248; font-family: "Roboto", sans-serif; font-weight: 300; }
h1, h2, h3, h4 { line-height: 1.2; }
h2, h3, h4 { font-weight: 500; }
h1 { margin: 0 0 1em; font-weight: 300; }
h2 { font-size: 1.5em; margin: 0 0 1em; color: #666e7b; }
h3 { font-size: 1.25em; margin: 2em 0 0.5em; }
h4 { font-size: 1.25em; margin: 0 0 0.5em; }

p { margin: 0 0 1.5em; }
.left { text-align: left; }
.center { text-align: center; }
.justify { text-align: justify; }
.right { text-align: right; }
span.small, p.small { font-size: 0.8em; }
strong { font-weight: 500; }
a { color: #963048; text-decoration: none; -moz-transition: all .2s ease; -o-transition: all .2s ease; -webkit-transition: all .2s ease; transition: all .2s ease; }
a.button { font-weight: 500; color: #fff; display: inline-block; padding: 0 0.5em; }
a.button.orange, .mitwirkende a:before { background-color: #fdb106; }
a.button.rot, .programm a:before { background-color: #963048; }
a.button.blau, .veranstaltungsort a:before, .bildergalerie a:before, .organisatorisches a:before { background-color: #598fb1; }
.orange span, span.orange, .mitwirkende span.title { color: #fdb106; }
.rot span, span.rot, .programm span.title { color: #963048; }
.blau span, span.blau, .veranstaltungsort span.title, .bildergalerie span.title, .organisatorisches span.title { color: #598fb1; }

.content ul:not(.wp-block-gallery):not(.blocks-gallery-grid), .content ol { margin: 0 0 1.5em; zoom: 1; }
.content ul:not(.wp-block-gallery):not(.blocks-gallery-grid) { list-style-type: none; }
.content ol { list-style-type: decimal; }
.content ol li { margin: 0 0 0 1em; padding: 0 0 0 0.5em; }
.content ul:not(.wp-block-gallery):not(.blocks-gallery-grid) li { position: relative; margin: 0 0 0 0.75em; padding: 0 0 0 0.5em; }
.content ul:not(.wp-block-gallery):not(.blocks-gallery-grid) li:before { content: "\2022"; color: #242e5b; position: absolute; left: -0.5em; top:-0.2em; font-size: 1.4em; }


/* === GENERIC === */

.clr { clear: both; }
.clrfix:after { content: "."; clear: both; display: block; visibility: hidden; height: 0; }

.float-left { display: inline; float: left; margin-right: 1.5em; }
.float-right { display: inline; float: right; margin-left: 1.5em; }
.float-none { float: none; }
.clear { clear: both; }
.clear-left { clear: left; }
.clear-right { clear: right; }

.align-left { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }
.align-justify { text-align: justify; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.alignleft { float: left; margin-right: 2em; }
.alignright { float: right; margin-left: 2em; }

.inside { width: 1200px; max-width: 100%; margin: 0 auto; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding-left: 1.5%; padding-right: 1.5%; position: relative; }
.table { display: table; }
.cell { display: table-cell; height: 100%; }
.vbottom { vertical-align: bottom; }
.light { background: #f1f1f1; }


/* === HEADER === */

#header { position: relative; }
.blogtitle > div { display: block; font-weight: 500; color: #fff; }
.blogtitle .main { background-color: #fdb106; line-height: 1.2em; }
.blogtitle .sub { background-color: #963048; line-height: 1.3em; }
.blogtitle span { display: inline-block; }
.baslogo { background: #fff; display: block; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.baslogo img, .banner img { display: block; }
.banner { position: relative; }
.banner img { width: 100%; }


/* === MENUS === */

#mainmenu { display: none; background-color: #fff; position: absolute; width: 100%; }
#mainmenu, #sidebar .menu { font-size: 1.125em; }
#mainmenu li { border-bottom: 1px solid #fff; background-color: #f1f1f1; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }
#sidebar .menu li:not(:last-child) { border-bottom: 1px solid #dedede; }
#mainmenu li:hover, #mainmenu li.current_page_item, #mainmenu li.current-page-ancestor { background-color: #f9f9f9; } 
#mainmenu a, #sidebar .menu a { color: #8f8f8f; white-space: nowrap; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; display: block; }
#mainmenu a { width: 1200px; max-width: 100%; margin: 0 auto; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 3px 10px; position: relative; }
#sidebar .menu a { padding: 10px 0 10px 10%; }

#mainmenu li:hover a, #mainmenu li.current_page_item a, #mainmenu li.current-page-ancestor a, 
#sidebar .menu li:hover a, #sidebar .menu li.current_page_item a, #sidebar .menu li.current-page-ancestor a { font-weight: 500; color: #963048; }
#sidebar .menu .sub-menu { display: none; }


/* === MAIN === */

h1.home span { display: inline-block; margin-bottom: 6px; }
h1.home span.main { color: #fdb106; font-size: 1.25em; font-weight: 500; }
h1.home span.sub { font-weight: 300; color: #963048; }

#main { position: relative; background: #fff; }
section { padding: 1em 0; }
hr { border: 0; height: 0; border-top: 1px solid #dedede; }
.padding { padding-top: 15px; display: inline-block; }
#main .wp-block-image.size-full { margin: 1em 0; }

/* Columns */
.clmn { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; position: relative; }

ul.teaser li { border: 1px solid #e1e1e1; box-sizing: border-box; padding: 1.5em 1.5em 2.5em; }
ul.teaser a { color: #263248; display: block; position: relative; padding-left: 80px; } /* R */
ul.teaser span { display: block; }
ul.teaser span.title { font-size: 1.4em; font-weight: 500; margin-bottom: 0.5em; }
ul.teaser span.description { font-size: 0.9em; }
ul.teaser li a:before { display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; position: absolute; left: 0; font-size: 1.875em; color: #fff; width: 65px; height: 65px; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; line-height: 65px; text-align: center; font-family: "FontAwesome"; }
ul.teaser li.programm a:before { content: "\f03a"; }
ul.teaser li.mitwirkende a:before { content: "\f0c0"; }
ul.teaser li.veranstaltungsort a:before { content: "\f041"; }
ul.teaser li.organisatorisches a:before { content: "\f129"; }
ul.teaser li.unterstuetzer a:before { content: "\f005"; }
ul.teaser li.bildergalerie a:before { content: "\f03e"; }

/* Accordion */
.accordion { margin-bottom: 2em; }
.accordion h2 { background: #84a6bb; margin: 0 0 2px; cursor: pointer; font-size: 1.3em; color: #fff; position: relative; -moz-transition: all .2s ease; -o-transition: all .2s ease; -webkit-transition: all .2s ease; transition: all .2s ease; }
.accordion h2:after { position: absolute; }
.accordion h2.active, .accordion h2:hover { color: #fff; background-color: #fdb106; }
.accordion h3 { background: #f1f1f1; font-size: 1.1333333333333em; font-weight: 500; margin: 0 0 1em; }
.accordion h3.highlight { background: #963048; color: #fff; }
.accordion h4 { font-size: 1.125em; font-weight: 500; margin: 0 0 0.5em; color: #3b799f; }
.accordion .entry.highlight h4 { color: #963048; }
.icon { float: left; margin-top: -5px; }
.icon span { font-family: "FontAwesome"; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; display: block; width: 48px; height: 48px; line-height: 48px; background: #cbcbcb; color: #fff; font-size: 1.5em; margin: 0 auto; text-align: center; }
.icon.image span { margin-bottom: 1em; }
.icon a { display: block; width: 48px; height: 48px; margin: 0 auto 6px; }
.icon a img { -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; border: 1px solid #c8c8c8; }
.entry.highlight .icon span { background: #963048; }
.accordion .entry, .accordion .entry .text.xtra { margin-bottom: 1em; position: relative; }
.accordion .entry.trenner { padding-bottom: 0.5em; }
.accordion .entry.trenner:before { content: ""; position: absolute; bottom: 0; border-top: 1px solid #dedede; width: 80%; }
.accordion p, #main .content .accordion ul { margin-bottom: 0.5em; }
.accordion .subtoggler { margin: 1em 0 0.5em; font-weight: 500; color: #963048; cursor: pointer; }
.accordion .subtoggler:after { content: url("images/toggle_down_micro.svg"); padding-left: 0.5em; }
.accordion .subtoggler.active { color: #263248; }
.accordion .subtoggler.active:after { content: url("images/toggle_up_micro.svg"); }

#main .blocks-gallery-grid .blocks-gallery-image, #main .blocks-gallery-grid .blocks-gallery-item, #main .wp-block-gallery .blocks-gallery-image, #main .wp-block-gallery .blocks-gallery-item { flex-grow: 0; }

.embed-container, .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; width: 100%; height: auto; margin-bottom: 2em; }
.embed-container iframe, .wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.embed-container.ratio4x3 { padding-bottom: 75%; }
p.embed-desc { margin-bottom: 0.5em; font-size: 1.1em; }
.figure { margin-bottom: 1em; }

/* === ASIDE === */

body.home #sidebar h3 { margin: 1em 0 0.25em; border-bottom: 1px solid #dedede; padding-bottom: 0.25em; }
body.home #sidebar h3 a { color: #263248; }
body.home #sidebar .wp-block-gallery { margin-bottom: 1.5em; margin-top: -1em; }

#sidemenu { margin-top: 2em; font-size: 1.125em; }
#sidemenu a { color: #959595; display: block; padding-top: 0.5em; padding-bottom: 0.5em; }
#sidemenu li.current_page_item a { color: #963048; }
#sidemenu li { border-bottom: 1px solid #c4c4c4; }

a.anmelden { display: block; background-color: #963048; color: #fff; font-size: 1.5em; padding: 20px 20px 20px 10%; position: relative; font-weight: 500; }
a.anmelden:before { display: block; font-size: 1.5em; font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; position: absolute; right: 25px; top: 12px; color: #fff; font-family: "FontAwesome"; font-weight: 900; content: "\f08e"; }
p.anmelden { padding: 20px; border: 1px solid #e1e1e1; background: #f1f1f1; font-size: 0.9em; }

a.gallery { display: block; background-color: #963048; color: #fff; font-size: 1.5em; padding: 10px 10px 10px 72px; position: relative; font-weight: 500; }
a.gallery:before { display: block; font-size: 1.5em; font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; position: absolute; left: 20px; top: 1px; color: #fff; font-family: "FontAwesome"; font-weight: 900; content: "\f03e"; }
#sidebar p.box { padding: 0.25em 0; text-align: center; margin: 0 0 1em; background-color: #fdb106; color: #fff; }

/* Galerie */
.wp-block-gallery { margin-bottom: 2em; }
.wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item { max-width: 49%; }
#gallery-1 img { border-color: #fff !important; }
#main .content .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image { max-width: 33.33%; }
/*.slb_data_title { display: none !important; }*/


/* === FOOTER === */

#footer { overflow: hidden; margin-top: 1em; }
#footer .inside { margin-top: 2em; border-top: 1px solid #dedede; padding-top: 3em; }
#footer .logos { margin-top: 1em; }
#footer .logos a { display: block; }
#footer .logos img { max-width: 100%; height: auto; display: block; }
#footer .label { display: block; margin-bottom: 1em; text-transform: uppercase; color: #444; font-size: 0.7em; }
#footer .inside.menu { margin-top: 2em; border-top: 1px solid #dedede; padding-top: 1em; padding-bottom: 2em; }
#footer li { list-style: none; display: inline-block; }
#footer li a { display: block; padding: 0 0.5em; color: #8f8f8f; }
#footer li:not(:first-child) a:before { content: "|"; padding-right: 1em; }
#footer li:hover a, #footer li.current_page_item a, #footer li.current-page-ancestor a { color: #963048; }


/* Lightbox */
body #slb_viewer_wrap .slb_theme_slb_default .slb_data_title, body #slb_viewer_wrap .slb_theme_slb_default .slb_group_status { margin-top: 0.5em; font-family: "Roboto", sans-serif; font-size: 18px; font-weight: 500; }
body #slb_viewer_wrap .slb_theme_slb_default .slb_data_desc { margin-top: 0; }
body #slb_viewer_wrap .slb_theme_slb_baseline { font-family: "Roboto", sans-serif; font-size: 14px; }
body #slb_viewer_wrap .slb_theme_slb_default .slb_template_tag_ui { font-size: 0.7em; padding-left: 8px; font-weight: 300; font-style: normal; }


/* === RESPONSIVE === */

@media screen and (min-width: 1400px) {	
	.blogtitle > .main { top: 1vw; left: 28vw; width: 8vw; height: 8vw; font-size: 1.1vw; }
	.blogtitle > .main span { margin-top: 2vw; }
	.blogtitle > .sub { top: 9vw; left: 22vw; width: 11vw; height: 11vw; font-size: 1.3vw; }
	.blogtitle > .sub span { margin-top: 2.6vw; }
	.baslogo { top: -4.5vw; left: 10vw; width: 16vw; height: 16vw; }
	.baslogo img { height: auto; width: 12.5vw; margin: 6vw auto 0; }
}

@media screen and (min-width: 1024px) and (max-width: 1399px) {
	.blogtitle > .main { top: -3vw; left: 29vw; width: 10.7vw; height: 10.7vw; font-size: 1.4vw; }
	.blogtitle > .main span { margin-top: 4vw; }
	.blogtitle > .sub { top: 8vw; left: 24vw; width: 14vw; height: 14vw; font-size: 1.654545454545455vw; }
	.blogtitle > .sub span { margin-top: 2.4vw; }
	.baslogo { top: -7vw; left: 8vw; width: 20vw; height: 20vw; }
	.baslogo img { height: auto; width: 15.5vw; margin: 8vw auto 0; }
}

@media screen and (min-width: 1100px) {
	ul.teaser .clmn.w33 { width: 30.333333333333333%; }
	ul.teaser li { margin-bottom: 2em; }
}

@media screen and (min-width: 1024px) and (max-width: 1099px) {
	ul.teaser .clmn.w33 { width: 47%; } 
	ul.teaser li { margin-bottom: 1.6em; }
}

@media screen and (min-width: 1024px) {	
	h1 { font-size: 1.875em; }
	#header { height: 18vw; overflow: hidden; }
	.blogtitle > div { position: absolute; z-index: 999; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; text-align: center; letter-spacing: 0.05em; -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.25); -moz-box-shadow: 0 0 7px 0 rgba(0,0,0,0.25); box-shadow: 0 0 7px 0 rgba(0,0,0,0.25); }
	.baslogo { position: absolute; z-index: 999; -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.25); -moz-box-shadow: 0 0 7px 0 rgba(0,0,0,0.25); box-shadow: 0 0 7px 0 rgba(0,0,0,0.25); -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; }
	.baslogo img { height: auto; }
	
	body.scrolled #header { position: fixed; width: 100%; z-index: 999; top: 0; -webkit-box-shadow: 0 5px 5px 0 rgba(0,0,0,0.3); box-shadow: 0 5px 5px 0 rgba(0,0,0,0.3); height: auto; background: #fff; }
	body.scrolled .baslogo { position: relative; top: 0; left: 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; width: auto; height: auto; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
	body.scrolled .baslogo img { height: auto; width: 128px; margin: 0.5em 0 0.5em 1.5%; }
	body.scrolled .banner { display: none; }
	body.scrolled .blogtitle > div { position: absolute; left: calc(150px + 1.5%); z-index: 999; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; text-align: left; letter-spacing: 0.05em; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; width: auto; height: auto; background-color: transparent; line-height: 1em; }
	body.scrolled .blogtitle > .main { top: 0.6em; font-size: 1.1em;}
	body.scrolled .blogtitle > .sub { top: 1.8em; font-size: 1.2em;}
	body.scrolled .blogtitle > div > span { margin-top: 0; padding: 0.1em 0.3em; }
	body.scrolled .blogtitle > .main > span { background-color: #fdb106; }
	body.scrolled .blogtitle > .sub > span { background-color: #963048; }
	
	#main { padding-top: 1em; min-height: 400px; }
	.columns { margin: 0 -1.5%; }
	.clmn { float: left; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin-left: 1.5%; margin-right: 1.5%; }
	.clmn.w100 { width: 97%; }
	.clmn.w75 { width: 72%; }
	.clmn.w67 { width: 63.666666666666666%; }
	.clmn.w50 { width: 47%; }
	.clmn.w33 { width: 30.333333333333333%; }	
	.clmn.w25 { width: 22%; }
	#sidebar { margin-top: 50px; position: -webkit-sticky; position: sticky; top: 90px; }
	body.home #sidebar { margin-top: 101px; }

	#sidebar .moderation { margin-top: 2em; padding-left: 10%; }
	#sidebar .moderation h3 { font-size: 1.125em; font-weight: 500; margin: 0 0 1px; padding: 0.5em 0; }
	#sidebar .moderation .entry { padding: 0 5px 5px; background: #f1f1f1; display: table; margin-bottom: 1px; width: calc(100% + 15px); margin-left: -15px; }
	#sidebar .moderation .icon { width: 55px; padding: 5px 10px 0 5px; float: none; display: table-cell; vertical-align: middle; }
	#sidebar .moderation .icon a { margin: 0 auto; }
	#sidebar .moderation .text { display: table-cell; vertical-align: middle; }
	#sidebar .moderation .text p { margin: 0; padding-top: 8px; }
		
	#footer .logos { display: table; margin: 0 auto 1em; }
	#footer p.label { white-space: pre; }
	#footer .logos p.label { margin-bottom: 0.5em; }
	#footer > .inside > p.label { text-align: center; margin-bottom: 2em; }
	#footer .logos .logo { display: table-cell; }
	#footer .logos.foerderer { margin-bottom: 3em; vertical-align: top; }
	#footer .logos.foerderer .logo { padding: 0 40px; vertical-align: middle; }
	#footer .logos .logo.bmfsfj { padding-left: 0; }
	#footer .logos .logo.bmfsfj a { padding-top: 1.5em; }
	#footer .logos .logo.ministerium a { padding-top: 0.5em; }
	#footer .logos .logo.ulm { padding-right: 0; }
	#footer .logos .logo.ulm a { padding-top: 1.5em; display: inline-block; }
	#footer .logos .logo.ulm a + a { margin-left: 40px; }
	#footer .logos.partner { }
	#footer .logos.partner .logo { padding: 0 40px; vertical-align: middle; }
	#footer .inside.menu { text-align: right; }
}

@media screen and (max-width: 1023px) {
	.blogtitle > div { padding: 0.2em 0.5em 0.1em; }
	.blogtitle > .main { font-size: 1.2em; }
	.blogtitle > .sub { font-size: 1.3em; }
	.baslogo { padding: 0.5em 0 0.5em 1.5%; }
	.baslogo img { height: 51px; width: 114px; }
	
	#menutoggler { width: 88px; height: 68px; background: url("images/menutoggler.svg") no-repeat center center; position: absolute; z-index: 999; top: 0; right: 0; cursor: pointer; }	
	nav#mainmenu { top: 68px; }

	body.scrolled #header { position: fixed; width: 100%; z-index: 999; top: 0; -webkit-box-shadow: 0 5px 5px 0 rgba(0,0,0,0.3); box-shadow: 0 5px 5px 0 rgba(0,0,0,0.3); }
	body.scrolled .banner, body.scrolled .blogtitle { display: none; }
	#main { padding-top: 1em; }

	#sidebar .menu { display: none; }
	#sidebar .moderation { margin-top: 1em; }
	#sidebar .moderation h3 { margin-bottom: 1em; }
	#sidebar .moderation .entry { margin-bottom: 6px; }
	#sidebar .moderation .entry .text p { margin: 0; padding-top: 8px; }
	ul.teaser li { margin-bottom: 1em; }
	
	#footer .logos .logo { margin-bottom: 3em; display: block; }
	#footer .label { text-align: center; margin-bottom: 2em; }
	#footer p { text-align: center; }
	#footer .logo.ulm a { display: inline-block; }
	#footer .logo.ulm a + a { margin-left: 30px; }
	#footer .logos .logo img { margin: 0 auto; }
	#footer .inside.menu { text-align: center; }
}

@media screen and (min-width: 601px) and (max-width: 1023px) {
	h1 { font-size: 1.8em; }
	#sidebar .moderation h3, #sidebar .moderation .text { padding-left: 95px; }
}

@media screen and (min-width: 601px) {
	body, button, input, select, textarea { font-size: 17px; }
	h1 { font-size: 1.75em; }
	.accordion h2 { padding: 10px 0 10px 95px; }
	.accordion h2:after { content: url("images/toggle_down.svg"); top: 12px; right: 20px; }
	.accordion h2.active:after, .accordion h2:hover:after { content: url("images/toggle_up.svg"); }
	.accordion h3 { padding: 7px 0 7px 95px; }
	.icon { width: 95px; }
	.accordion .text, .textcol { padding-left: 95px; }
	.accordion .entry.trenner:before { left: 95px; }
}

@media screen and (min-width: 600px) {
	#main .wp-block-gallery.columns-3 .wp-block-image, #main .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image { max-width: 32% !important; }
	#main .wp-block-gallery.columns-5 .wp-block-image, #main .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image { max-width: 18.9%; }
}

@media screen and (max-width: 600px) {
	body, button, input, select, textarea { font-size: 14px; }
	nav#mainmenu { font-size: 1.3em; }
	.accordion h2 { padding: 7px 0 7px 75px; }
	.accordion h2:after { content: url("images/toggle_down_small.svg"); top: 8px; right: 10px; }
	.accordion h2.active:after, .accordion h2:hover:after { content: url("images/toggle_up_small.svg"); }
	.accordion h3 { padding: 7px 0 7px 75px; }
	.icon { width: 75px; }
	#sidebar .moderation h3, .accordion .text, .textcol, #sidebar .moderation .text { padding-left: 75px; }
	.accordion .entry.trenner:before { left: 75px; }
}

@media screen and (min-width: 551px) and (max-width: 600px) {
	h1 { font-size: 1.7em; }
}

@media screen and (min-width: 501px) and (max-width: 550px) {
	h1 { font-size: 1.65em; }
}

@media screen and (min-width: 451px) and (max-width: 500px) {
	h1 { font-size: 1.6em; }
}

@media screen and (min-width: 401px) and (max-width: 450px) {
	h1 { font-size: 1.55em; }
}

@media screen and (max-width: 400px) {
	h1 { font-size: 1.5em; }
	.blogtitle > .sub { font-size: 1.2em; }
	.accordion h2 { font-size: 1.15em; }
}

@media screen and (max-width: 667px) {
	.inside { padding-left: 10px; padding-right: 10px; }
}

/* IE Hack position sticky */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {   
	#sidebar { position: relative; top: 0; 
}