:root {
	--color-green: #4aa568;
	--color-green-soft: #b4e1bd;
	--color-green-light: #eaf9dd;

	--color-orange: #ff9665;
	--color-orange-soft: #ffcfb5;
	--color-orange-light: #ffcfb5;

	--color-yellow: #a77735;
	--color-yellow-soft: #fff1c1;
	--color-yellow-light: #fff1c1;

	--color-violet: #a868b1;
	--color-violet-soft: #f6e0fc;
	--color-violet-light: #f6e0fc;

	--color-primary: var(--color-green);
	--color-soft: var(--color-green-soft);
	--color-light: var(--color-green-light);

	[data-theme="green"] {
		--color-primary: var(--color-green);
		--color-soft: var(--color-green-soft);
		--color-light: var(--color-green-light);
	}

	[data-theme="orange"] {
		--color-primary: var(--color-orange);
		--color-soft: var(--color-orange-soft);
		--color-light: var(--color-orange-light);
	}

	[data-theme="yellow"] {
		--color-primary: var(--color-yellow);
		--color-soft: var(--color-yellow-soft);
		--color-light: var(--color-yellow-light);
	}

	[data-theme="violet"] {
		--color-primary: var(--color-violet);
		--color-soft: var(--color-violet-soft);
		--color-light: var(--color-violet-light);
	}

}

html {
    height: 100%;
	font-size: 100%;
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}
body {
    height: 100%;
    margin: 0;

    /*background: #FDECE6;*/
    color: #4a4a48;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5em;
    font-size: 1rem;
}

.sizeinfo {
    background-color: #1b6d85;
    color: #ffffff;
    text-align: center;
}

.page-wrapper {
    margin: 0 auto;
    max-width: 1200px;
}

.bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.rounded {
    border-radius: 50px;
}

.rounded--medium {
	border-radius: 40px;
}

input {
    font-weight: normal;
    color: #555;
}
.checkbox, .radio {
    margin-top: 6px;
    margin-bottom: 6px;
}

.text-color-primary {
	color: var(--color-primary);
}

::-webkit-input-placeholder {
    color: #888;
    font-weight: normal;
}
:-ms-input-placeholder {
    color: #888;
    font-weight: normal;
}
::-moz-placeholder {
    color: #888;
    font-weight: normal;
}
:-moz-placeholder {
    color: #888;
    font-weight: normal;
}


/*
 * ========================================================
 * Bootstrap - Accordion
 *
 */

.accordion .panel {
    border: none;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.accordion .panel-heading {
    padding: 10px 0px;
    border: none;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.accordion .panel-body {
    border-top: none !important;
}

.panel-heading .accordion-toggle {
    margin-left: 12px;
    color: #009cdc;
    font-size: 14pt;
}

.panel-heading .accordion-toggle:before {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';
    content: "\e260";
    float: left;
    font-size: 11pt;
}
.panel-heading .accordion-toggle.collapsed:before {
    /* symbol for "collapsed" panels */
    content: "\e259";
}

/*
 * ========================================================
 * Filter
 *
 */

.betreuungsgesuche .filter {
    padding-bottom: 4em;
    margin-bottom: 4em;
    border-bottom: 1px solid #cad8e3;
}

.betreuungsgesuche .filter input[type='submit'] {
    padding: 6px 18px;
    color: #ffffff !important;
    background-color: #d60a51;
    border-style: solid;
    border-color: #E8859B;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
    font-size: 12pt;
}
.betreuungsgesuche .filter span {
    color: #999;
}

.betreuungsgesuche .filter input[type='checkbox'] {
    margin-left: 10px;
}
.betreuungsgesuche .filter select {
    margin-bottom: .5em;
}
.betreuungsgesuche .filter input[type='text'] {
    font-weight: normal;
    width: 60px;
    margin-top: .5em;
}

.betreuungsgesuche .entry {
    padding-bottom: 2em;
    margin-bottom: 2em;
    border-bottom: 1px solid #cad8e3;
}

.betreuungsgesuche .entry:last-child {
    border-bottom: none;
}

/*
 * ========================================================
 * Text
 *
 */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h6, .h6 {
	color: var(--color-primary);
	font-family: Signika, sans-serif;
	font-weight: 600;
    line-height: 130%;
}

h1,
.h1 {
    font-size: 2.5rem;
}

h2,
.h2 {
    font-size: 1.75rem;
}

h3,
.h3 {
    font-size: 1rem;
}

.content .tinymcewysiwyg .blue {
    color: #009CDC;
    font-size: 17px;
    line-height: 1.7em;
}

.content .tinymcewysiwyg > h1:first-child,
.content .tinymcewysiwyg > h2:first-child,
.content .tinymcewysiwyg > h3:first-child,
.content .infobox > h1:first-child,
.content .infobox > h2:first-child,
.content .infobox > h3:first-child {
    margin-top: 0;
}
.bg-blue.tinymcewysiwyg h1:first-child,
.bg-blue.tinymcewysiwyg h2:first-child,
.bg-blue.tinymcewysiwyg h3:first-child {
    margin-top: 20px;
    margin-bottom: 10px;
}

.bg-accent {
	background-color: var(--color-accent, #EAF9DD);
}

.page-2 h1 {
    margin-top: 18px !important;
}

h4 {
    font-size: 13pt;
    color: #009CDC;
    font-weight: normal;
}

h5 {
    font-size: 13pt;
    color: #009CDC;
    font-weight: normal;
}

h6 {
    font-size: 13pt;
    color: #009CDC;
    font-weight: normal;
}

.text-center {
    text-align: center;
}

.text-center-xs {
    text-align: center;
}
@media (min-width: 768px) {
    .text-center-xs {
        text-align: inherit;
    }
}

/* Farben */

.color-blue,
.color-blue a {
    color: #009CDC;
}
.color-pink,
.color-pink a {
    color: #d60a51;
}

.btn {
	color: #000;
	font-size: 1rem;
}

.content a:not(.btn) {
    color: var(--color-primary);
}

.content img {
    max-width: 100%;
    height: auto;
}

hr {
    border-color: var(--color-primary);
    margin: 3em 0;
}
.aktuelles hr {
    margin: .5em 0;
}

.homepage .hidden-homepage {
    display: none !important;
}
.subpage .hidden-subpage {
    display: none !important;
}


.homepage .contentarea ul,
.subpage .contentarea > div:nth-child(2) ul,
.subpage .contentarea > div:nth-child(3) ul {
    padding-left: 1em;
}
.homepage .contentarea ul li:before,
.subpage .contentarea > div:nth-child(2) ul li:before,
.subpage .contentarea > div:nth-child(3) ul li:before {
    content: "\2022";
    margin-right: .5em;
}
.homepage .contentarea ul li,
.subpage .contentarea > div:nth-child(2) ul li,
.subpage .contentarea > div:nth-child(3) ul li  {
    list-style: none;
    margin: 0 0 .5em 0;
}

ol {
    padding: 0 0 .5em 15px;
    margin: 0;
}
ol li {
    padding-bottom: .5em;
}

blockquote {
    border: none;
    font-style: italic;
    color: forestgreen;
    line-height: 1.5em;
}

/*
 * ========================================================
 * Block
 *
 */

.bg-blue {
    background-color: #009cdc;
    color: white;
    padding: 1em;
}
@media (min-width: 768px) {
    .bg-blue {
        padding: 2em 1em 3em 1em;
    }
}
.bg-blue.no-margin-top {
    margin-top: 0;
}
.bg-blue.no-margin-bottom {
    margin-bottom: 0;
}

/* Block - Content */
.bg-blue a,
.bg-blue a:hover,
.bg-blue a:visited {
    color: white;
}
.bg-blue a:hover {
    text-decoration: underline;
}

.bg-blue h2,
.bg-blue h3,
.bg-blue h4 {
    color: white;
    font-weight: normal;
}

.bg-blue .btn {
    margin-top: 1em;
    border: 1px solid white;
    font-size: 11pt;
}
.bg-blue .btn:before {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';
    content: "\e258";
    float: left;
    font-size: 7pt;
    margin-top: 5px;
    margin-right: 4px;
}

/*
 * ========================================================
 * Flex
 *
 */
/*
<div class="flex">
 <div>Text</div>
 <div>Text</div>
 <div>Text</div>
</div>
*/
/*.flex {
    margin: 2em 0;
}*/
.flex.vertical-center {
    align-items: center;
    justify-content: center;
}
.always-flex {
	display: flex;
}
.flex--column {
	flex-direction: column;
}
.flex > * {
    padding: .5em 0;
}
.flex img {
    max-width: 100%;
    height: auto;
}
.flex > * > h2:first-child,
.flex > * > h3:first-child,
.flex > * > h4:first-child {
    margin-top: 0;
}

@media (min-width: 768px) {
    .flex {
        display: flex;
    }
    .flex > * {
        flex: 1;
        padding: .5em 1.5em;
    }
    /*
    .flex.no-padding > * {
        padding: 0;
    }
    .flex.no-padding > * {
        padding-right: 2em;
    }
    .flex.no-padding > *:last-child {
        padding-right: 0;
        padding-left: 3em;
    }
    */
    .flex img {
        max-width: 100%;
        height: auto;
    }
}


/*
 * ========================================================
 * Dropdown
 *
 */

.infobar .dropdown {
    display: inline;
}
.infobar .dropdown button {
    border: none;
    background: transparent;
}
.dropdown-menu {
    border-radius: 2px;
    border: none;
    line-height: 1.4em;
}


/*
 * ========================================================
 * Video
 *
 */

.responsive-video {
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;
}
.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*
 * ========================================================
 * Aktuelles
 *
 */
.newseintrag .topic {
    font-size: 13pt;
    line-height: 1.5em;
    margin: .5em 0;
    color: #009CDC;
}

/*
 * ========================================================
 * Anmeldeformular
 *
 */
.anmeldeformular {
    margin-top: 2em;
    color: #009CDC;
    background-color: #ffffff;
    padding: .01em 1em 1em 1em;
}

.anmeldeformular h3 {
    color: #009CDC;
    text-align: center;
    font-weight: bold;
}

.anmeldeformular .btn {
    padding: 6px 18px;
}

.anmeldeformular a {
    color: #009CDC;
}


/*
 * ========================================================
 * Infobox
 *
 */
.infobox {
    max-width: 550px;
}
.infobox h3 {
    color: #009CDC;
    margin-bottom: 0;
}
.infobox .datum {
    margin-bottom: .5em;
}
.infobox .info-content {
    border-top: 1px solid #009CDC;
    margin-top: .5em;
    padding-top: .5em;
}
.btn-open,
.btn-close {
    font-size: 10pt;
}
.btn-open:before {
    content: "\f280";
}
.btn-close:before {
    content: "\f286";
}

.btn-open:before,
.btn-close:before {
    display: inline-block;
    font-family: "Ionicons";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 10px;
    margin-right: 4px;
}


/*
 * ========================================================
 * Sidebar
 *
 */

/*
 * ========================================================
 * Termin Sidebar
 *
 */
.TerminInfoSidebar {
    margin: 0 0 2em 0;
    background-color: var(--color-green);
    /*background: #009CDC url("../images/illu-termine.svg") top left repeat-x;*/
    color: #fff;
    padding: 1em;
    font-size: 11pt;
}
.TerminInfoSidebar .title {
    font-weight: 700;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    /*border-top: 1px solid #59BFE8;*/
    /*border-bottom: 1px solid #59BFE8;*/
    font-size: 13pt;
    line-height: 1.4em;
}
.TerminInfoSidebar .date {
    margin-bottom: 1em;
}
.TerminInfoSidebar .btn {
    margin: .5em 0;
}
.TerminInfoSidebar {
	a:not(.btn) {
		color: #fff;
	}

	.btn {
		box-shadow: 10px 8px 12px rgba(0, 0, 0, 0.2);
		color: var(--color-green);
		transition: all 0.15s ease-in-out;

		&:hover {
			box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.2);
			color: var(--color-green);
			transform: translateY(-2px);
		}
	}
}
.TerminInfoSidebar hr {
    border-color: #fff;
	margin: 25px 0 10px;
}

/*
 * ========================================================
 * Teaser+Termin
 *
 */
.teasertermin {
    margin: 0 0 15px 0;
}
.teasertermin > div {
    padding: 0;
}


/* Termin */
.teasertermin a {
    color: #fff;
}
.teasertermin .btn {
    padding: 8px 24px;
    margin-bottom: 10px;
}
.termin-box .info {
    padding-bottom: 30px;
    border-bottom: 1px solid #59BFE8;
    font-size: 13pt;
}
.termin-box .next-date {
    padding-top: 12px;
    padding-bottom: 14px;
    line-height: 1em;
}
.termin-box .next-date .special {
    font-weight: 600;
    font-size: 18pt;
    line-height: 1.3em;
}
@media (max-width: 991px) {
    .termin-box .next-date .special {
        font-size: 15pt;
        line-height: 1.2em;
    }
}
.termin-box .termin div > p {
    /* Bitte vorher anmelden */
    font-style: italic;
}
.termin-box .termin p a {
    margin: 10px 0;
    font-style: normal;
}
.termin-box .termin > div > div:last-child {
    /* Weitere Termine */
    border-top: 1px solid #59BFE8;
    padding-top: 10px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .termin-box .termin > div > div:last-child {
        /* Weitere Termine */
        margin-top: 20px;
    }
}

.termin-box .special {
    padding-bottom: .2em;
    margin-bottom: .2em;
}

.teasertermin .termin {
    height: 400px;
    background-color: #009CDC;
    /*background: #009CDC url("../images/illu-termine.svg") top left repeat-x;*/
    border-left: 10px solid #FDECE6;
    padding: 20px 0;
}
.termin-box .termin > div {
    background-color: #009CDC;
    color: #fff;
    font-size: 12pt;
    padding: 0.8em 1.5em;
    height: 100%;
}
.termin-box .col1 {
    float: left;
    width: 55%;
}
.termin-box .col2 {
    float: left;
    width: 45%;
    padding-top: .3em;
}
@media (max-width: 991px) {
    .termin-box {
        height: 340px;
    }
    .termin-box .termin {
        background: #009CDC;
        width: 280px;
        height: 340px;
        padding: 20px 0 0 0;
    }
    .termin-box .termin > div {
        background-color: #009CDC;
        margin: 0;
        padding: 0em .7em;
        height: auto;
        max-height: 100%;
        font-size: 11pt;
    }
    .termin-box .col1 {
        float: left;
        width: 57%;
    }
    .termin-box .col2 {
        float: left;
        width: 43%;
        padding-top: 2px;
    }

    .termin-box .info {
        padding-bottom: .7em;
    }
    .termin-box .next-date {
        padding-bottom: .7em;
    }
    .termin-box .special img {
        height: 18px;
    }
    .termin-box .btn {
        padding: 3px 6px;
        font-size: 9.5pt;
    }
    .termin-box .sm_small {
        font-size: 9.5pt;
        border-bottom: 1px solid #59BFE8;
    }
}



/* Logik für Breite + Bild */
.teasertermin .image-box {
    float: left;
    width: 200px; /* wird überschrieben */
}
.teasertermin .termin-box {
    width: 400px;
    float: left;
    display: block;
}
@media (max-width: 991px) {
    .teasertermin .termin-box {
        width: 280px;
    }
}
@media (max-width: 850px) {
    .teasertermin .termin-box {
        display: none;
    }
}


/* Image Slider */
.teasertermin .carousel {
    height: 400px;
}
.teasertermin .carousel .item {
    height: 400px;
}
.teasertermin .carousel .item.hover:hover {
    cursor: pointer;
}
@media (max-width: 991px) {
    .teasertermin .carousel {
        height: 340px;
    }
    .teasertermin .carousel .item {
        height: 340px;
        background-size: cover !important;
    }
}
@media (max-width: 850px) {
    .teasertermin {
        margin-left: -15px;
        margin-right: -15px;
    }
    .teasertermin .carousel {
        height: 370px;
    }
    .teasertermin .carousel .item {
        height: 370px;
        background-size: cover !important;
    }
}
@media (max-width: 767px) {
    .teasertermin .carousel {
        height: 330px;
    }
    .teasertermin .carousel .item {
        height: 330px;
        background-size: cover !important;
    }
}
.visible-mobile-slider {
    display: none !important;
}
.hidden-mobile-slider {
    display: block !important;
}
@media (max-width: 630px) {
    .visible-mobile-slider {
        display: block !important;
    }
    .hidden-mobile-slider {
        display: none !important;
    }
}
@media (max-width: 650px) {
    .teasertermin {
        margin-left: -15px;
        margin-right: -15px;
    }
}
@media (max-width: 630px) {
    .teasertermin .carousel {
        height: auto;
    }
    .teasertermin .carousel .item {
        height: auto;
        background: none !important;
    }

}
@media (max-width: 480px) {
    .teasertermin .carousel {
        height: auto;
    }
    .teasertermin .carousel .item {
        height: auto;
        background: none !important;
    }
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
    background-repeat: no-repeat;
}
.carousel-indicators {
    bottom: 0;
}
.carousel-indicators li {
    border-color: rgba(220, 220, 220, 0.6);
}
.carousel-indicators .active {
    background-color: rgba(220, 220, 220, 0.6);
}




/*
 * ========================================================
 * Homepage Layout
 *
 */

.homepage .contentarea {
    margin-top: 50px;
}
@media (min-width: 768px) {
    .homepage .contentarea {
        display: flex;
        flex-wrap: wrap;
    }
    .homepage .contentarea > div {
        width: 50%;
    }
    .homepage .contentarea > div:last-child {
        padding-left: 60px;
    }
}

/*
 * ========================================================
 * Infobar
 *
 */

.infobar {
    /*margin-bottom: 20px;*/
    /*border-bottom: 1px solid #f1e5d2;*/
    background: #009CDC;
    color: #ffffff;

    min-height: 43px;
    padding: 0 40px;
}
@media (max-width: 767px) {
    .infobar {
        padding: 0 10px;
        margin-bottom: 0;

        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
}

.infobar a,
.infobar a:hover {
    color: #fff;
}

.infobar .logos {
    /*display: none;*/
}
.infobar .logos img {
    max-width: 100%;
    height: auto;
}
.infobar .logo-ffk {
    display: none;
}
@media (min-width: 768px) {
    .infobar .logo-ffk {
        display: block;
        padding: 4px 0 0 0;
    }
}
.infobar .logo-be-berlin {
    padding: 6px 0 0 0;
    margin-left: 5px;
}

.infobar .flex-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.infobar .flex-wrapper > div:first-child {
    text-align: left;
    flex: 1;
}
.infobar .flex-wrapper .logos {
    margin-right: 10px;
    flex: 0 0 220px;
    display: flex;
    flex-wrap: wrap;
}
.infobar .flex-wrapper .logos > div:first-child {
    flex: 80px;
}
.infobar .flex-wrapper .logos > div:last-child {
    flex: 140px;
}
/*
 * ========================================================
 * Aufmacher
 *
 */

.teaser-image .image-container {
    height: 420px;
}
@media (min-width: 768px) {
    .teaser-image .image-container {
        height: 575px;
    }
}

.teaser-image img {
    max-width: 100%;
    height: auto;
}

/* slogan */
.teaser-image .slogan {
	background: lightgreen; /* TODO: REMOVE LATER */
    width: 100%;
    font-size: 24pt;
    line-height: 1.2em;
    font-weight: bold;

    margin: 0 auto;
    padding: 30px 20px 30px 20px;
    color: white;
    text-align: center;

    font-family: 'Open Sans', sans-serif;
}
.teaser-image .slogan .subline {
    display: none;
}
@media (min-width: 768px) {
    .teaser-image .slogan {
        width: 90%;
        padding: 20px;
        font-size: 34pt;
    }
    .teaser-image .slogan .subline {
        display: block;
        font-size: 24pt;
        padding-top: 30px;
        line-height: 1.2em;
    }
}
@media (min-width: 998px) {
    .teaser-image .slogan {
        width: 80%;
        padding: 60px 20px 40px 20px;
        font-size: 34pt;
    }
    .teaser-image .slogan .subline {
        padding-top: 10px;
    }
}
@media (min-width: 1400px) {
    .teaser-image .slogan {
        width: 40%;
        padding: 80px 20px 40px 20px;
        font-size: 38pt;
    }
}

/* pinky (terminbox) */
.teaser-image .pinky {
    width: 85%;

    padding: 15px;
    margin: 0 auto;

    text-align: center;
    font-size: 15pt;

    color: white;
    background-color: rgba(214,11,82,.7);
    border-radius: 10px;
}
.teaser-image .pinky a,
.teaser-image .pinky a:visited {
    color: white;
    font-size: 12pt;
}
@media (min-width: 768px) {
    .teaser-image .pinky {
        width: 520px;
        padding: 20px;
        font-size: 16pt;
    }
    .teaser-image .pinky a,
    .teaser-image .pinky a:visited {
        font-size: 13pt;
    }
}

/*
 * ========================================================
 * Navigation
 *
 */


/* Logo */

.brand-top {
    padding-top: 5px;
    padding-bottom: 5px;
}
.brand img {
    max-width: 100%;
    height: auto;
}
.navbar-brand {
    height: auto;
    padding: 10px 0 0 30px;
}
.navbar-brand img {
    width: 150px;
    max-width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .navbar-brand img {
        width: 180px;
    }
}
.brand-top img {
    width: 200px;
    max-width: 80%;
}

.navbar-nav {
    padding: 20px 0 0 0;
}
.navbar-nav > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 16px;
}
@media (max-width:1199px) {
    .navbar-nav {
        padding: 0;
    }
}
@media (max-width:991px) {
    .brand {
        display: none;
    }
    .navbar-default {
        /*background-color: #FDECE6;*/
        background-color: transparent;
        border: none;
    }
    .navbar-nav {
        padding: 0;
        margin: 0 -15px;
    }
}
@media (max-width: 767px) {
    .navbar-brand {
        padding: 5px 0 5px 15px;
        margin: 10px 0;
    }
    .navbar-nav a {
        font-size: 13pt;
    }
    .navbar-toggle {
        margin-top: 18px;
    }
}
/* xxs 480px */
@media (max-width: 480px) {
    .navbar-brand {
        margin: 10px 0;
    }
    .content {
        font-size: 11pt;
    }
}


/* Navbar */
.navbar-collapse {
    border: none;
}
.navbar {
    min-height: 0;
}

@media (min-width: 768px) {
    .navbar {
        border-radius: 0;
        margin-top: 0;
        /*margin-bottom: 40px;*/
        margin-bottom: 0;
    }

	.navbar.menu-main {
		margin-block-end: 50px;
	}

    .navbar {
        min-height: 0;
    }

    .navbar-default {
        border: none;
        background: none;
    }
    .navbar-nav {
        display: flex;
        float: none;
        margin: 0 auto;
		gap: 15px;
        font-size: 10pt;
		align-items: stretch;
    }

}
@media (min-width:992px) {
    .navbar-nav {
        font-size: 11.5pt;
    }

    .navbar-header {
        display: none;
    }
}
@media (min-width:1200px) {
    .navbar-header {
        display: block;
    }
}


/* Main Nav (Mobile) Style */

.main-nav.mobile {
	padding-block-end: 30px;
}

.main-nav.mobile ul {
    display: none;
    margin: 0 0 0 15px;
    padding: 0;

    list-style-type: none;
    font-size: 1rem;
}

.main-nav.mobile > nav > ul {
    display: block;
    border: none;
    text-align: left;
    margin: 0 -15px;
    padding: 0;
}

/*.main-nav.mobile li.active > a:before {*/
/*    content: '› ';*/
/*    margin-right: 5px;*/
/*    padding-left: 5px;*/
/*}*/
.main-nav.mobile li.active > a {
    text-decoration: underline;
}

.main-nav.mobile li.open > a {
    font-weight: 500;
}

.main-nav.mobile li.open > ul {
    display: block;
}

.main-nav.mobile li {
    margin: 0;
    padding: 0 15px;
	margin-block-end: 1px;

	&[data-theme] {
		background-color: var(--color-soft);
	}
}
.main-nav.mobile > nav > ul > li:first-child {
    /*border-top: 1px solid rgba(99, 180, 255, 0.4);*/
}

.main-nav.mobile li:last-child {
    margin-block-end: 0;
}

.main-nav.mobile li a {
    display: block;
    padding: 10px 6px;
    color: #000;
    line-height: 1.9em;
}

/*.main-nav.mobile li.subpages > a:after {*/
/*    background-repeat: no-repeat;*/
/*    background-position: right bottom;*/
/*    background-size: 14px 14px;*/

/*    background-image: url("../images/symbol_pfeil.svg");*/

/*    width: 20px;*/
/*    height: 20px;*/
/*    !*padding-right: 30px;*!*/

/*    font-size: 12pt;*/
/*    float: right;*/
/*    content: " ";*/
/*    !*margin-left: 15px;*!*/
/*}*/

.main-nav.mobile li.subpages.open > a:after {
    background-image: url("../images/symbol_pfeil_unten.svg");

    font-size: 10pt;
    padding-right: .5em;
}
.navbar-nav .desktop {
    display: none;
}
@media (min-width: 768px) {
    .navbar .mobile {
        display: none;
    }
    .navbar-nav .desktop {
        display: block;
    }
}


/* Burger-Button */

.navbar-default .navbar-toggle {
    border-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #DC4365;

}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: transparent;
}


/* Menu-Punkte */

.navbar-default .navbar-nav li {
    text-align: center;
}
.navbar-default .navbar-nav > li > a {
	border-radius: 10px;
	color: #000;
	font-size: 1rem;
    line-height: 1.3em;
	height: 100%;
}

.navbar-default .navbar-nav > li > a:hover {
	text-decoration: underline;
	color: #000;
}

.navbar-default .navbar-nav > li[data-theme] > a {
	background-color: var(--color-soft, transparent);
}

.navbar-default .navbar-nav > li[data-theme] > a:hover {
	background-color: var(--color-soft, transparent);
}

@media (max-width:767px) {
    .navbar-nav li {
        width: 100% !important;
        text-align: center;
    }
}


/* homepage in white */

/*
 * ========================================================
 * Subnavigation
 *
 */
.navbar-sub li {
    list-style: outside none none;
    margin: 0;
    margin-top: 8px;
}
.navbar-sub ul {
    padding-left: 1em;
}
.navbar-sub ul li {
    margin-bottom: 1em;
}
.navbar-sub > li > a {
    position: relative;
    display: block;
    padding: .5em 0;
}
.navbar-sub > li > a:hover {
    background-color: transparent;
    text-decoration: underline;
}


/*
 * ========================================================
 * Footer
 *
 */

/* layout */
.footer {
    margin-top: 3em;
    padding-top: .1em;
    padding-bottom: 1em;

    background: var(--color-light);
}

.footer > div:first-child {
    text-align: center;
}
.footer > div:last-child {
    /* copyright */
    text-align: center;
}

.footer > div:last-child > div:first-child {
    display: none;
}
@media (min-width: 768px) {
    .footer > div:last-child > div:first-child {
        display: block;
    }
    .footer > div:last-child > div:last-child {
        display: none;
    }
}
@media (min-width: 768px) {
    .footer > div:first-child {
        max-width: 1170px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;

        text-align: left;
    }
}

.footer > div:first-child > div {
    padding: 25px 15px;
    border-bottom: 1px solid #00b0f7;
}
.footer > div:first-child > div:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {

    .footer > div:first-child > div {
        border-bottom: none;
    }

    .footer > div:first-child > div:first-child {
        width: 30%;
        /*background-color: #a8cb77;*/
    }
    .footer > div:first-child > div:nth-child(2) {
        width: 25%;
        /*background-color: #9ecb64;*/
    }
    .footer > div:first-child > div:nth-child(3) {
        width: 25%;
        /*background-color: #86b83c;*/
    }
    .footer > div:first-child > div:nth-child(4) {
        width: 20%;
        /*background-color: #58811c;*/
    }
}

/* footer - text */
.footer a,
.footer h3 {
    color: inherit;
}
.footer img {
    max-width: 100%;
    height: auto;
}
.footer .big {
    font-size: 13pt;
    line-height: 1.5em;
}

/* footer - content*/
.footer > div:first-child > div:first-child  img {
    /* mokis logo */
    width: 160px;
}


/*
 * ========================================================
 * Buttons
 *
 */
.btn {
	background-color: #fff;
	color: #000;
	flex-grow: 0;
	font-size: inherit;
	margin-top: 15px;
	padding: 5px 10px;
}

.btn:hover {
	color: #000;
}

.btn--hover {
	transition: all 0.15s ease-in-out;

	&:hover {
		box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
		color: #000;
		transform: translateY(-2px);
	}
}

.btn--outline {
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	transition: all 0.15s ease-in-out;

	&:hover {
		color: var(--color-primary);
	}
}

.btn--accent {
	background-color: var(--color-primary);
	color: #fff;

	&:hover {
		color: #fff;
	}
}

/* btn-orange */

.content a.btn-orange,
.btn-orange {
    color: #ffffff !important;
    background-color: #d60a51;
    border-color: #E8859B;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
    font-size: 12pt;
}
.btn-orange:focus,
.btn-orange.focus {
    color: #ffffff;
    background-color: #d60a51;
}
.btn-orange:hover {
    color: #ffffff;
    background-color: #d60a51;
}
.btn-orange:active,
.btn-orange.active,
.open > .dropdown-toggle.btn-orange {
    color: #ffffff !important;
    background-color: #d60a51;
}
.btn-orange:active:hover,
.btn-orange.active:hover,
.open > .dropdown-toggle.btn-orange:hover,
.btn-orange:active:focus,
.btn-orange.active:focus,
.open > .dropdown-toggle.btn-orange:focus,
.btn-orange:active.focus,
.btn-orange.active.focus,
.open > .dropdown-toggle.btn-orange.focus {
    color: #ffffff;
    background-color: #d60a51;
}
.btn-orange:active,
.btn-orange.active,
.open > .dropdown-toggle.btn-orange {
    background-image: none;
}


.btn.btn-pink {
	margin-top: 1em;
	border: 1px solid #d60a51;
	font-size: 11pt;
	color: #d60a51;
}
.btn.btn-pink:before {
	/* symbol for "opening" panels */
	font-family: 'Glyphicons Halflings';
	content: "\e258";
	float: left;
	font-size: 7pt;
	margin-top: 5px;
	margin-right: 4px;
}

/*
 * ========================================================
 * Modules
 *
 */

hr.module-hr {
	margin-block: 0;

	@media (min-width: 1230px) {
		margin-inline: -30px;
	}
}

.moduleSpacing {
	margin-block: 40px;

	&:first-child {
		margin-block-start: 0;
	}

	&:last-child {
		margin-block-end: 0;
	}

	@media (min-width: 992px) {
		margin-block: 80px;
	}
}

.moduleSpacing.bleed {
	margin-block: 0;
	padding-block: 40px;

	@media (min-width: 992px) {
		padding-block: 80px;
	}
}

.module-quicksights {
	--gap: 75px;
	--cols: 1;
	flex-wrap: wrap;
	gap: var(--gap);
	row-gap: calc(var(--gap) / 3);
	justify-content: center;
	padding: 0;

	@media (min-width: 768px) {
		row-gap: var(--gap);
	}

	.quicksight {
		/* is flex-column */
		align-items: center;
		border-radius: 25px 75px 25px 75px;
		color: #fff;
		font-size: 1.15rem;
		gap: 20px;
		padding: 20px 35px 15px 35px;

		> * {
			padding: 0;
		}

		@media (min-width: 768px) {
			--cols: 2;
			width: calc((100%  - (var(--cols) - 1) * var(--gap)) / var(--cols));
		}

		@media (min-width: 992px) {
			--cols: 3;
			/*width: calc((100%  - (var(--cols) - 1) * var(--gap)) / var(--cols));*/
		}
	}

	.quicksight .btn {
		background-color: #fff;
		color: #000;
		flex-grow: 0;
		font-size: inherit;
		margin-top: 15px;
		padding: 5px 10px;
	}

	.quicksight__headline,
	.quicksight__text {
		margin: 0;
	}

	.quicksight__headline {
		color: #fff;
		flex-grow: 0;
		font-size: 2rem;
		text-align: center;
	}

	.quicksight__text {
		flex-grow: 1;
		line-height:  170%;
	}

	.quicksight--color-orange {
		background-color: #F19B6F;
	}

	.quicksight--color-green {
		background-color: var(--color-green);
	}

	.quicksight--color-yellow {
		background-color: #FAE28C;
		color: #A07941;
	}

	.quicksight--color-yellow .quicksight__headline {
		color: #A07941;
	}
}

.module-teaser {
	align-items: center;
	flex-direction: column;
	gap: 40px;

	.module-teaser__content {
		align-items: center;
		font-size: 1.4rem;
		gap: 20px;
	}

	.module-teaser__headline,
	.module-teaser__text {
		margin: 0;
	}

	.module-teaser__headline {
		font-size: 2.5rem;
		line-height: 120%;
	}

	.module-teaser__link {
		background-color: #C0CDF7;
		border-radius: 15px;
		font-size: 1.125rem;
		padding: 8px 25px;
	}

	.module-teaser__image {
		width: 100%;
	}

	.module-teaser__image img {
		display: block;
		height: auto;
		width: 100%;
	}

	@media (min-width: 768px) {
		flex-direction: row;

		.module-teaser__content {
			padding: 20px;
		}

		.module-teaser__headline {
			font-size: 2.75rem;
		}

		.module-teaser__image {
			flex: 0 0 45%;
		}
	}

	@media (min-width: 992px) {
		.module-teaser__content {
			padding: 40px;
		}

		.module-teaser__headline {
			font-size: 3.75rem;
		}

	}
}

.module-text-bild.bleed {
	background-color: var(--color-light);
}

.module-text-bild__inner {
	align-items: center;
	flex-direction: column;
	gap: 40px;
	padding-inline: 15px;
}

.module-text-bild__image {
	text-align: center;
	width: 100%;
}

.module-text-bild__content {
	width: 100%;
}

@media (min-width: 768px) {
	.module-text-bild__inner {
		flex-direction: row;
	}

	.module-text-bild__image {
		flex: 0 0 var(--image-width, 60%);
		text-align: left;
	}

	.module-text-bild__content {
		flex: 1;
	}

	.module-text-bild--text-first .module-text-bild__image {
		order: 1;
	}
}

.module-seitentitel {
	align-items: center;
	background-color: var(--color-primary);
	border-radius: 25px;
	color: #fff;
	display: flex;
	min-height: 150px;
	padding: 40px;

	.seitentitel__headline {
		color: inherit;
		margin: 0;
	}
}

/* Ninox Form */
#form {
	.card-title {
		font-size: 1.75rem;
	}

	.form-group label,
	.form-group label p,
	.form-group label a {
		color: var(--color-primary) !important;
	}

	button[type="submit"] {
		background-color: var(--color-primary);
		border: 0;
		box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
		color: #fff;
		transition: all 0.15s ease-in-out;

		&:hover {
			background-color: var(--color-primary);
			box-shadow: 0 10px 5px rgba(0, 0, 0, 0.1);
			color: #fff;
			transform: translateY(-2px);
		}
	}
}
