/* =========================================================
   RESPONSIVE
   ========================================================= */


/* ---------------------------------------------------------
   ab 1900px
   --------------------------------------------------------- */

@media screen and (min-width: 1900px) {
    .row-footer > div {
		flex: 1 !important;
	}
}



/* ---------------------------------------------------------
   bis 1880px 
   --------------------------------------------------------- */

@media screen and (max-width: 1880px) {
    html {
        font-size: 1.2vw;
    }
}


/* ---------------------------------------------------------
   bis 1199px 
   --------------------------------------------------------- */

@media screen and (max-width: 1199px) {	

    main .custom-wrap-inner p {
		hyphens: auto;
		hyphenate-limit-chars: 6 6 8;
		hyphenate-limit-lines: 2;
    }
}


/* ---------------------------------------------------------
   bis 1199px landscape
   --------------------------------------------------------- */




/* ---------------------------------------------------------
   ab 1200px
   --------------------------------------------------------- */

@media screen and (min-width: 1200px) {	
    main .custom-wrap-inner p {
		hyphens: auto;
		hyphenate-limit-chars: 6 6 12;
		hyphenate-limit-lines: 2;
    }
}


/* ---------------------------------------------------------
   1200px – 1400px
   --------------------------------------------------------- */

@media screen and (min-width: 1200px) and (max-width: 1400px) {
    html {
        font-size: 1.0625em;
    }

    .row-intro .custom-wrap {
        padding-right: 5em;
    }

    .section-infos .row-content {
        padding: 1.25em 4em 2em 8em;
    }

    .section-contact .row-contentt {
        padding: 3.333em 4em 2.5em 7.5em;
    }

    .section-midwife-search .row-content {
        padding: 2em 3vw 4.5em;
    }

    .custom-select-language {
        margin-bottom: 1em;
    }
	
	.section-infos,
    .section-contact,
    .section-midwife-search {
        padding-right: 0;
        padding-left: 0;
    }
	
	.section-midwife-search {
		padding-top: 0;
		padding-bottom: 2em;
	}

}
	

	
/* ---------------------------------------------------------
   Medium: 768px – 1199px
   --------------------------------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1199px) {
    html {
        font-size: 17px;
    }

    h1 {
        font-size: 2.75em;
    }
	
	h1.h2 {
		font-size: 2.75em;
	}

    h2 {
        font-size: 1.625em;
    }
	
	.row-navbar {
		height: 4rem;
	}

    .intro-right {
        padding-top: 1em;
        padding-left: 1.75em;
    }

    .row-intro .custom-wrap {
        padding-right: 2.5em;
    }

    .row-intro .custom-btn {
        min-width: 42%;
    }

    .intro-logos {
        font-size: 100%;
    }

    .img-intro {
        transform: translate(-.5em, .875em) scale(1.05);
    }

    .breaking-news-container {
        z-index: 1;
    }

    .section-infos,
    .section-contact,
    .section-midwife-search {
        padding-right: 0;
        padding-left: 0;
    }

    .section-infos {
        padding-top: 0;
    }

    .section-infos .row-content .content-right {
        padding-left: 0;
		padding-right: 1.75rem;
    }

    .section-infos .row-content h2 {
        margin-top: 1.5rem;
		margin-right: 1rem;
    }

    .section-midwife-search {
        padding-top: 0;
        padding-bottom: 2em;
    }

    .section-midwife-search .row-content {
        padding-right: 0;
        padding-left: 0;
    }

    .section-news .row-content .custom-col {
        padding: 1.125rem 1.25rem 3rem;
        font-size: 16px;
    }

    .section-news .row-content .custom-col .custom-expand,
    .section-news .row-content .custom-col .custom-collapse {
        right: 1.125rem;
        bottom: 0.75rem;
    }
	
	.section-main .custom-wrap-inner {
		padding-top: 2rem;
	}

    .content-right {
        padding-top: 0.275em;
        padding-right: 1em;
    }

    .custom-title-logo {
        font-size: 1.25em;
    }

    .custom-container-form h4,
    .custom-container-form label {
        font-size: 100%;
    }

    .custom-select-language {
        margin-bottom: 0.75em;
    }

    .footer-logo {
        height: 2.5em;
    }

    .readmorebutton,
    .readmoreclose {
        padding-right: 2.6em;
        background-size: 12px auto;
    }
	
	.custom-container-form fieldset legend {
		font-size: 100%;
	}
}


/* ---------------------------------------------------------
   Tablet: 768px – 991px
   --------------------------------------------------------- */

@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 2.1vw;
    }
	
	h1 {
        font-size: 2.25em;
    }
	
	h1.h2 {
		font-size: 2.25em;
	}
}


/* ---------------------------------------------------------
   Small: 767px und kleiner
   --------------------------------------------------------- */

@media screen and (max-width: 767px) {
    html {
        font-size: 18px;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    h1 {
        font-size: 2.25em;
    }
	
	h1.h2 {
		font-size: 2.25em;
	}
	
	.custom-small,
	.custom-container-form h4, 
	.custom-container-form .h4	{
		font-size: 95%;
	}
	
	header {
		padding-bottom: 0;
	}

    .row-navbar {
        height: 58px;
    }

    .intro-logos {
        display: none;
    }

    .row-intro {
        padding: 0;
    }
	
	.intro-wrap {
		padding-top: 1.5rem;
	}

    .intro-left {
        text-align: center;
    }

    .intro-right {
        padding: 1.75em 1.25em 2.25em;
    }

    .row-intro .custom-wrap {
        padding-right: 0;
    }

    .img-intro {
        width: 65%;
        max-width: 220px;
        margin-right: auto;
        margin-left: auto;
        transform: translateX(0);
    }

    .breaking-news-container {
        margin-top: -0.5rem;
		margin-bottom: 2.5rem;
    }

    .row-content {
        padding-right: 1.25em;
        padding-left: 1.25em;
    }

    .content-right,
    .contact-right {
        padding-left: 0;
    }

    .content-left {
        padding-left: 0;
    }
	
	.section-news,
    .section-infos,
    .section-contact,
    .section-midwife-search {
        padding-right: 0;
        padding-left: 0;
    }
	
	.section-news .h2 {
		 padding-left: 1em;
		 padding-right: 1em;
	 }
	
	.section-news .row-content {
		 padding-left: 0;
		 padding-right: 0;
	 }

    .section-infos {
        padding-top: 0;
    }

    .section-infos .row-content .content-right {
        padding-top: 0;
        padding-left: 0;
    }

    .section-infos .row-content h2 {
        margin-top: 1.5rem;
    }

    .section-midwife-search {
        padding-top: 0;
        padding-bottom: 2em;
    }

    .section-midwife-search .row-content {
        padding-right: 0;
        padding-left: 0;
    }
	
	.section-main .custom-wrap-inner {
		padding-top: 2rem;		
	}

    .img-contact {
        width: 7em;
    }

    .row-btnimprint {
        padding-left: 2.25em;
    }
	
	.custom-body-home h1 {
		margin-top: -1rem;
	}

    .custom-title-logo {
		margin-left: .75rem;
        font-size: clamp(9px, 3.5vw, 1.075rem);
    }

    .custom-container-form {
        padding: 2em 1.25em 1.5em;
    }

    .custom-container-form h4,
    .custom-container-form label {
        font-size: 100%;
    }
	
	.custom-container-form fieldset legend {
		font-size: 100%;
	}
	
	.custom-container-form .custom-control-label {
		font-size: 100%;
	}
	
	.custom-container-form .form-row p {
		font-size: 100% !important;
	}

    .custom-select-language {
        margin-bottom: 0.75em;
    }

    .footer-link {
        display: block;
        padding: 0.5em;
        font-size: 100%;
    }

    .footer-logo {
        height: 6vw;
    }

    .readmorebutton,
    .readmoreclose {
        padding-right: 2.6em;
        background-size: 12px auto;
    }
}


/* ---------------------------------------------------------
   Extra Small: 575px und kleiner
   --------------------------------------------------------- */

@media screen and (max-width: 575px) {
    html {
        font-size: 17px;
    }

    h1 {
        font-size: 8vw;
    }

    h2 {
        font-size: 1.75em;
    }

    .logos-col {
        margin-bottom: -1em;
        padding: 0;
    }

    .row-intro .custom-btn {
        min-width: 13em;
    }

    .footer-logo {
        height: 13vw;
		max-height: 50px;
    }

    .row-footer .custom-logo-link {
        display: block;
        margin-bottom: 0.25em;
        padding: 0.75em;
    }

    .breaking-news-headline {
        margin-left: 1em;
    }

    .marquee {
        animation-duration: 8s;
        -webkit-animation-duration: 8s;
        -moz-animation-duration: 8s;
    }

    .readmorebutton,
    .readmoreclose {
        padding-right: 2.25em;
        background-position: center 52%;
    }

    .readmoretext {
        display: none;
    }

    .breaking-maintext {
        padding: 2em 1.5em 0;
        font-size: 95%;
        line-height: 1.4;
    }

    .closebutton {
        transform: translate(0.5em, 0.25em);
    }
}


/* ---------------------------------------------------------
   Extra Extra Small: 400px und kleiner
   --------------------------------------------------------- */

@media screen and (max-width: 400px) {
    html {
        font-size: 4.75vw;
    }

    h1 {
    }

    h2 {
        font-size: 1.78em;
    }
}
