/*Wordpress*/
.alignright{ text-align: right; } 
.container > *:not(.alignfull), .container > .alignfull > div > *:not(.alignfull) { margin-left: 1.5rem; margin-right: 1.5rem; } 

@media screen and (min-width: 1400px){
	.container > *:not(.alignfull), .container > .alignfull > div > *:not(.alignfull) { max-width: 1355px; margin-left: auto; margin-right: auto; }
}

/*Wordpress überschreiben*/
hr {height: 2px;background: #dfdfdf;border: none !important;margin: 2em 0;}
hr.has-background {padding: 0;}
hr.has-blau-color {background: #005597;}
hr.opacity-50 {opacity: 0.5;}
.has-blau-verlauf-background-color{background: rgb(5,105,173) !important;background: -moz-radial-gradient(center, ellipse cover,  rgba(5,105,173,1) 0%, rgba(0,85,151,1) 100%) !important;background: -webkit-radial-gradient(center, ellipse cover,  rgba(5,105,173,1) 0%,rgba(0,85,151,1) 100%) !important;background: radial-gradient(ellipse at center,  rgba(5,105,173,1) 0%,rgba(0,85,151,1) 100%) !important;filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0569ad', endColorstr='#005597',GradientType=1 ) !important; color: #fff;}
.has-blau-verlauf-background-color h1, .has-blau-verlauf-background-color h2, .has-blau-verlauf-background-color h3, .has-blau-verlauf-background-color h4, .has-blau-verlauf-background-color h5, .has-blau-verlauf-background-color h6, .has-blau-verlauf-background-color a{color: #fff;}
.has-blau-verlauf-background-color ul.is-style-pfeil li:before, .has-blau-verlauf-background-color ul.is-style-check li:before{color: #fff;}

/*Farben*/
.has-background{ padding: 1em; }
.has-background:after {content: "";display: block;clear: both;}
.has-background > *:first-child{ margin-top: 0; padding-top: 0; }
.has-background > *:last-child{ margin-bottom: 0; padding-bottom: 0; }
.has-blau-background-color {background: #005597; color: #fff;}
.has-blau-background-color > *, .has-blau-background-color, .has-blau-background-color h2, .has-blau-background-color a {color: #fff;}
.has-hellblau-background-color, .wp-block-bm-page-sidebar-box.has-hellblau-background-color{background: #ccddea; }
.has-hellgrau-background-color {background: #DFDFDF; }
.has-orange-background-color {background: #EE7F01; }
.has-orange-color {color: #EE7F01;}

/*Button*/
.wp-block-button__link {color: #fff;font-size: 1em;line-height: 1.25em;font-weight: 600;background-color: #005597;padding: 1em 1.5em;text-decoration: none;display: inline-block;text-align: center;border-radius: 5px;box-shadow: 0px 5px #004478;text-transform: none;margin-bottom: 0.5em;border: none;width: auto; height: auto;}
.wp-block-button__link:hover { background-color: #00518f; }
.wp-block-button__link:active {background-color: #004478 ;box-shadow: 0px 5px #005597;padding-top: 1.1em;padding-bottom: 0.9em;}

.wp-block-button__link.has-orange-background-color{ background-color: #EE7F01; box-shadow: 0px 5px #ba6402;}
.wp-block-button__link.has-orange-background-color:hover { background-color: #e47a01; }
.wp-block-button__link.has-orange-background-color:active {background-color: #ba6402 ;box-shadow: 0px 5px #EE7F01;}

.wp-block-button.is-style-download > .wp-block-button__link, .wp-block-button.is-style-katalog > .wp-block-button__link {background: #bcd1ea;position: relative;color: #005597;box-shadow: none;padding: 1em 3.5em 1em 1.5em;font-weight: normal;text-align: left;line-height: 1.25em;}
.wp-block-button.is-style-download > .wp-block-button__link:after, .wp-block-button.is-style-katalog > .wp-block-button__link:after, .wp-block-button.is-style-film > .wp-block-button__link:before, h2#blaubuch:before{content: "";position: absolute;width: 2.5em;height: 2.5em;background: url(../img/layout/icon-sprite.png) no-repeat;background-position: -7.3em -0.625em;right: 1em;top: 0.75em;bottom: 0;margin: auto;}
.wp-block-button.is-style-download > .wp-block-button__link:hover:after, .wp-block-button.is-style-katalog > .wp-block-button__link:hover:after{ -moz-animation: jump 0.5s; -webkit-animation: jump 0.5s; animation: jump 0.5s; }
@-moz-keyframes jump { 0% { top: 0; } 50% { top: -0.5em; } 100% { top: 0; } }
@-webkit-keyframes jump { 0% { top: 0; } 50% { top: -0.5em; } 100% { top: 0; } }
@keyframes jump { 0% { top: 0; } 50% { top: -0.5em; } 100% { top: 0; } }
.wp-block-button.is-style-download.no-download > .wp-block-button__link:after {content: none;}
.wp-block-button.is-style-download.no-download > .wp-block-button__link{padding-right: 1.5em;}
@media screen and (min-width: 1250px){
	.wp-block-button.is-style-download > .wp-block-button__link:after, .wp-block-button.is-style-katalog > .wp-block-button__link:after, .wp-block-button.is-style-film > .wp-block-button__link:before, h2#blaubuch:before{width: 1.625em;height: 1.625em;background-position: -7.188em -0.625em;top: 0;}
	h2#blaubuch:before {height: 1.625rem;}
	.wp-block-button.is-style-katalog > .wp-block-button__link:after {background-position: -9.438em -0.625em;}

}
.wp-block-button.is-style-katalog > .wp-block-button__link:after {width: 2.063em;}
@media screen and (max-width: 1249px){
	.wp-block-button.is-style-katalog > .wp-block-button__link:after {background-position: -10.6em -0.625em;}
}
h2#blaubuch {position: relative;padding-left: 3rem;}
h2#blaubuch:before {background-position: -9.438rem -0.625rem;width: 2.063rem;left: 0;right: inherit;}
.wp-block-button.is-style-film > .wp-block-button__link{position: relative;padding: 1em 1.5em 1em 3.5em;}
.wp-block-button.is-style-film > .wp-block-button__link:before{width: 1.563em;height: 1.313em;background-position: -0.625em -2.813em;right: inherit;left: 1em;}

/*Liste / Aufzählung*/
ul.is-style-pfeil li, ul.is-style-punkte li, ul.is-style-check li {margin-bottom: 1em;}

ul.is-style-pfeil, ul.is-style-check{list-style: none;}
ul.is-style-pfeil li, ul.is-style-check li {position: relative;}
ul.is-style-pfeil li:before, ul.is-style-check li:before {content: "»";color: #005597;position: absolute;left: -1.25em;font-weight: bold;}
ul.is-style-check li:before {content: "✓";}

/*Media-Text*/
.wp-block-media-text {margin-bottom: 1em;}
.wp-block-media-text .wp-block-media-text__content {padding: 1em;}
.wp-block-media-text.is-style-hellgrau2 {background: #ECECEC;}

/*Spalten*/
.wp-block-columns.is-style-hellgrau2{background: #ECECEC;padding: 1em;}

/*Galerie*/
.wp-block-gallery.is-style-rahmen-grau figure, img.is-style-rahmen-grau{ border: 2px solid #dfdfdf; }

/*Galerie: Fotostation*/
.is-style-fotostation .blocks-gallery-grid > li {width: auto !important;flex-basis: 49.5% !important;margin-right: 1% !important; flex-grow: inherit !important;}

.is-style-fotostation .blocks-gallery-grid > li > figure {display: flex;flex-direction: column;}
.is-style-fotostation a.fotostation-download {background: #015697;padding: 0.25em 1em 0.25em 2em;text-decoration: none;color: #fff;position: relative;}
.is-style-fotostation a.fotostation-download:after {content: "";position: absolute;width: 16px;height: 16px;background: url(../img/layout/icon-sprite.png) no-repeat; background-size: 115px auto; background-position:-66px -6px;top: 0;bottom: 0;margin: auto;margin-left: 0.5em; filter: brightness(0%) invert(1); left: 0;}
.is-style-fotostation a.fotostation-download:hover:after { top: -2px; }

@media screen and (max-width: 529px){
	.is-style-fotostation .blocks-gallery-grid > li:nth-child(2n) {margin-right: 0 !important;}
}

@media screen and (min-width: 530px) and (max-width: 1069px){
	.is-style-fotostation .blocks-gallery-grid > li {flex-basis: 32.66666666666667% !important;}
	.is-style-fotostation .blocks-gallery-grid > li:nth-child(3n) {margin-right: 0 !important;}
}

@media screen and (min-width: 1070px){
	.is-style-fotostation .blocks-gallery-grid > li {flex-basis: 24.25% !important; }
	.is-style-fotostation .blocks-gallery-grid > li:nth-child(4n) {margin-right: 0 !important;}
}

/*Block: Inhalt + Sidebar*/
.wp-block-bm-page .wp-block-bm-page-inhalt {/*background: orange;*/}
.wp-block-bm-page .wp-block-bm-page-sidebar {/*background: yellow;*/ border-top: 2px solid #005597; margin-top:2em; padding-top: 2em; }

@media screen and (min-width: 1000px){
	.wp-block-bm-page {display: flex;flex-direction: row;align-items: flex-start;}
	.wp-block-bm-page .wp-block-bm-page-inhalt {flex-basis: 66%; width: 66%;}
	.wp-block-bm-page .wp-block-bm-page-sidebar {flex-basis: 28%;margin-left: 6%;position: sticky;top: 0; border-top: none; margin-top: 0; padding-top: 0;}
	.wp-block-bm-page .wp-block-bm-page-sidebar.no-sticky {position: relative;}
}

/*Block: Aufklappbox / Accordion*/
.acc {margin-bottom: 1em;}
.acc-headline{ background: #bcd1ea; color: #005597; font-weight: bold; padding: 0.8rem 2.25rem 0.8rem 1.250rem; margin: 0; cursor: pointer; display: block; position: relative; border-radius: 5px; }
.acc-headline:after{content: "";width: 0;height: 0;border-width: 0.5rem 0.375rem;border-style: solid dashed none dashed;border-color: #005597 transparent transparent transparent;position: absolute;right: 1rem;top: 0;bottom: 0;margin: auto;}
.acc-headline:hover:after, .acc.acc-open .acc-headline:after{border-color: #fff transparent transparent transparent;}
.acc-headline:hover, .acc.acc-open .acc-headline{ color: #fff; background: #005597; }
.acc.acc-open .acc-headline {border-radius: 5px 5px 0 0;}
.acc.acc-open .acc-headline:after{ -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); }
.acc-content{ padding: 1em; background: #DFDFDF; display: none;}
.acc-content > *:first-child{margin-top: 0;padding-top: 0;}
.acc-content > *:last-child{margin-bottom: 0;padding-bottom: 0;}

/*Block: Slider (Startseite)*/
.alignfull.owl-slider .owl-stage-outer, .alignfull.owl-rt-slider .owl-stage-outer{margin: 0 !important;max-width: inherit;}
.alignfull.owl-slider .owl-stage, .alignfull.owl-rt-slider .owl-stage{max-width: inherit !important;}
.owl-slider .emotion_inner, .owl-rt-slider .emotion_inner{ overflow: hidden; }

.owl-slider .owl-dots{text-align: center;position: absolute;bottom: -2em;width: 100%;}
.owl-slider .owl-dots button{width: 4.5em;height: 4.5em;margin-right: 1em !important;position: relative;background: #fff !important;border-radius: 50%;overflow: hidden; box-shadow: 0px 0px 10px rgb(0,0,0,0.5);-moz-transition: background 0.2s linear;-webkit-transition: background 0.2s linear;-ms-transition: background 0.2s linear;-o-transition: background 0.2s linear;transition: background 0.2s linear;}
.owl-slider .owl-dots button:last-child{margin-right: 0 !important;}
.owl-slider .owl-dots button span{width: 100%;height: 100%;position: absolute;left: 0;top: 0;opacity: 0.5; -moz-transition: opacity 0.2s linear;-webkit-transition: opacity 0.2s linear;-ms-transition: opacity 0.2s linear;-o-transition: opacity 0.2s linear;transition: opacity 0.2s linear;background-size: 4.625em 4.625em !important; background-position: center !important;}
.owl-slider .owl-dots button.active, .owl-slider .owl-dots button:hover{background: #005597 !important;}
.owl-slider .owl-dots button.active span, .owl-slider .owl-dots button:hover span{opacity: 1;}
.owl-slider .owl-dots button, .owl-slider .owl-dots button span{outline: none;}

.owl-rt-slider .owl-dots{ text-align: center; position: absolute; bottom: 2em; width: 100%;}
.owl-rt-slider .owl-dots > button {width: 1em;height: 1em;background: #fff !important;border-radius: 50%;margin-right: 0.6em !important;margin-left: inherit !important;max-width:  inherit !important; outline: none;}
.owl-rt-slider .owl-dots > button.active {background: #EE7F01 !important;}
.owl-rt-slider .owl-dots > button:last-child {margin-right: 0 !important;}

/*App Slider - ausnahme 08.08.2022*/
.owl-slider .owl-dots button:nth-child(2){border-radius: 13px;}
/*.owl-slider .owl-dots button:first-child {border-radius: 13px;}*/

/*Block: Übersicht*/
.wp-block-bm-uebersicht h2, .wp-block-bm-uebersicht h3, h2.is-style-schmal, h3.is-style-schmal {font-weight: normal;margin-bottom: 0em;}
.wp-block-bm-uebersicht h2, .wp-block-bm-uebersicht h3 {text-align: center;}
.wp-block-bm-uebersicht .wp-block-button {width: 75%;margin: auto;margin-top: -1.5em;position: relative;}
.wp-block-bm-uebersicht .wp-block-image {margin-bottom: 0;/*margin-top: 0;*/overflow: hidden;}
.wp-block-bm-uebersicht .wp-block-image img, .wp-block-bm-uebersicht .wp-block-button__link{display: block;}
.wp-block-bm-uebersicht .wp-block-image img {-webkit-transition: all linear 0.2s;-moz-transition: all linear 0.2s;-ms-transition: all linear 0.2s;-o-transition: all linear 0.2s;transition: all linear 0.2s;}
.wp-block-bm-uebersicht:hover .wp-block-image img {-webkit-transform: scale(1.05);-moz-transform: scale(1.05);-ms-transform: scale(1.05);-o-transform: scale(1.05);transform: scale(1.05);}

@media screen and (max-width: 781px){
	.wp-block-bm-uebersicht {margin-bottom: 3em;}
}

/*Block: Bilderslider*/
.owl-bilderslider .owl-nav button {position: absolute;top: 0;bottom: 0;margin: auto;height: 1em;z-index: 1;left: -0.5em;}
.owl-bilderslider .owl-nav button span {background: #005597;padding: 0.1em 0.5em 0.25em 0.5em;color: #fff;font-size: 2em;line-height: 0.5em;box-shadow: 0px 0px 10px rgba(0,0,0,0.5);-webkit-transition: padding linear 0.2s;-moz-transition: padding linear 0.2s;-ms-transition: padding linear 0.2s;-o-transition: padding linear 0.2s;transition: padding linear 0.2s;}
.owl-bilderslider .owl-nav button.owl-next {right: -0.5em;left: inherit;}
.owl-bilderslider .owl-nav button.owl-prev:hover span {padding-left: 0.4em; padding-right: 0.6em;}
.owl-bilderslider .owl-nav button.owl-next:hover span {padding-right: 0.4em; padding-left: 0.6em;}

/*Slider Niederlassungsseiten*/
.owl-niederlassung .owl-dots {text-align: center;}
.owl-niederlassung .owl-dot {width: 12px;height: 12px;background: #dfdfdf !important;border-radius: 50%;margin-right: 5px;}
.owl-niederlassung .owl-dot.active {background: #005597 !important;}

/*Block: Text: Mehr anzeigen*/
.wp-block-bm-showmore:after { content: "... mehr"; color: #005597; cursor: pointer;}
.wp-block-bm-showmore .wp-block-bm-showmore-inner {max-height: 4.75em;overflow: hidden;transition: all linear 1s;}
.wp-block-bm-showmore.show .wp-block-bm-showmore-inner { max-height: 1000px; }
.wp-block-bm-showmore.show:after{ content: "↑ weniger"; }

/*Block: Aussage*/
.wp-block-bm-ma-aussage {display: flex;flex-direction: row;flex-wrap: wrap;align-items: center;margin-bottom: 2em;justify-content: flex-start;}
.wp-block-bm-ma-aussage > p {/*margin-bottom: 0;*/ flex-basis: 65%; padding-left: 5%; }
.wp-block-bm-ma-aussage figure {max-width: 67px;border-radius: 50%;}
.wp-block-bm-ma-aussage blockquote {background: #bcd1ea;padding: 1.5em;margin: 0;position: relative;box-shadow: 0px 3px 6px rgba(0,0,0,0.25);}
.wp-block-bm-ma-aussage blockquote p:last-child {margin-bottom: 0;}
.wp-block-bm-ma-aussage blockquote:before {content: "";border-width: 10px;border-style: none dashed solid dashed;border-color: transparent transparent #bcd1ea transparent;width: 0;height: 0;position: absolute;top: -10px;}
	
@media screen and (min-width: 330px){
	.wp-block-bm-ma-aussage figure {max-width: 70px;}
}

@media screen and (min-width: 420px) and (max-width:694px), screen and (min-width: 720px){
	.wp-block-bm-ma-aussage figure {max-width: 112px;flex-basis: 35%;}
}

@media screen and (min-width: 695px){
	.wp-block-bm-ma-aussagen {display: flex;flex-direction: row;flex-wrap: wrap;justify-content: space-between;align-items: flex-start;}
	.wp-block-bm-ma-aussage {flex-basis: 48.5%;}
}

@media screen and (min-width: 1030px){
	/*.wp-block-bm-ma-aussage {flex-basis: 31.5%;}*/
}

/*Klasse: .start-nl-suche (Niederlassungssuche Startseite, Desktop)*/
.start-nl-suche {max-width: 900px !important;}
@media screen and (min-width: 950px){
	.start-nl-suche {margin: auto !important;}
}

/*Klasse: .start-nl-suche-mobil (Niederlassungssuche Startseite, Mobil)*/
.start-nl-suche-mobil{background-color: #005597;/*background-image: url(../img/layout/bg-wolken.jpg);*/background-repeat: no-repeat;background-size: cover;background-position: bottom left;padding-top: 2em; padding-bottom: 2em;}
.start-nl-suche-mobil h2{color: #ee7f01;}
.start-nl-suche-mobil p, .start-nl-suche-mobil p a{color: #fff;}

@media screen and (min-width: 400px){
	.start-nl-suche-mobil{background-image: url("../img/layout/map-road.png");background-repeat: no-repeat;background-size: auto 60%;background-position: bottom 10px right -120px;}
}

@media screen and (min-width: 500px){
	.start-nl-suche-mobil{background-size: auto 70%;background-position: bottom 10px right -80px;}
}
@media screen and (min-width: 700px){
	.start-nl-suche-mobil{background-size: auto 75%;background-position: bottom 10px right -20px;}
}

/*Klasse: .kachel-1-2 und  .kachel-2-2 (Jobs) */
.kachel-1-2, .kachel-2-2 {position: relative; margin-bottom: 1rem;}
.kachel-1-2 figure, .kachel-2-2 figure {margin-top: 0; margin-bottom: 0;}
.kachel-1-2 img, .kachel-2-2 img {display: block;}
.kachel-1-2 .wp-block-buttons, .kachel-2-2 .wp-block-buttons {position: absolute;top: 2.5em;right: 0;font-size: 1.1em;}
.kachel-1-2 .wp-block-button__link, .kachel-2-2 .wp-block-button__link {border-radius: 0;box-shadow: 0px 0px 10px rgba(0,0,0,0.5);}

@media screen and (min-width: 600px){
	.kachel-left .wp-block-buttons {right: inherit; left:0;}
}

@media screen and (max-width: 599px){
	.kachel-1-2, .kachel-2-2 {height: 8em;overflow: hidden;}
	.kachel-1-2 img, .kachel-2-2 img {position: absolute;top: 0;bottom: 0;margin: auto;width: 100%;height: auto;}
	.kachel-1-2 .wp-block-group__inner-container, .kachel-2-2 .wp-block-group__inner-container {position: relative;width: 100%;height: 100%;}
	.kachel-1-2 .wp-block-buttons, .kachel-2-2 .wp-block-buttons {right: inherit; left:0; top: inherit; bottom: 1em;}
}

@media screen and (min-width: 450px) and (max-width: 599px){
	.kachel-1-2, .kachel-2-2 {height: 13em;}
}

/*Klasse .lager-vorteil (Lager)*/
.lager-vorteil table td:before{content: "✓";color: #0e6e02;position: absolute;left: 0;font-weight: bold;background: #cfe5c9;height: 100%;width: 1.5em;text-align: center;box-sizing: border-box;min-height: 1.5em;}
.lager-vorteil table td {padding-left: 2em;position: relative;border-bottom: 1em #fff solid;}
@media screen and (max-width: 359px){
	.lager-vorteil table td:nth-child(2){display: none;}
}
@media screen and (min-width: 360px){
	.lager-vorteil table td {padding: 1em;background: #f2f2f2;border-bottom: 0.2em solid #fff;}
	.lager-vorteil table td:nth-child(2) {background: #cfe5c9;text-align: center;font-weight: bold;color: #0e6e02;}
	.lager-vorteil table td:before{ content: none;}
}

/*Reihenfolge mobil tauschen*/
@media screen and (max-width: 781px){
	.mobil-switch > div:nth-child(1) {order: 2;}
	.mobil-switch > div:nth-child(2) {order: 1;}
}

/*Passwortschutz*/
.post-password-form form {display: flex;flex-direction: row;flex-wrap: wrap;align-items: stretch;}
.post-password-form form, .post-password-form #error {max-width: 500px;}
.post-password-form form label, .post-password-form form input[type="password"] {margin-right: 1em;}
.post-password-form form label, .post-password-form form input[type="password"], .post-password-form form input[type="submit"] {flex-grow: 1;}
.post-password-form form label {padding-top: 1em !important;}
.post-password-form form input[type="password"] {border-color: #b8b8b8;}

/*Seitenleiste Sprachen zu Kategorie (Niederlassung)*/
#nav-nl-laender li a:before{ content: none; }
#nav-nl-laender span img {border-radius: 50%;margin-right: 0.25em;}
#nav-nl-laender span {float: right;}
#nav-nl-laender span img:last-child {margin-right: 0;}