/* ======================
Author's custom styles
======================*/

/* mukta-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/mukta-v17-latin-300.woff2') format('woff2');
}

/* mukta-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/mukta-v17-latin-regular.woff2') format('woff2');
}

/* mukta-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/mukta-v17-latin-500.woff2') format('woff2');
}

/* mukta-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/mukta-v17-latin-600.woff2') format('woff2');
}

/* mukta-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/mukta-v17-latin-700.woff2') format('woff2');
}

/* mukta-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/mukta-v17-latin-800.woff2') format('woff2');
}


html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-size: 1.25em;
    line-height: 1.5em;
    color: #000;
    font-family: 'Mukta', Arial, Verdana, sans-serif;
    background-color: #fff;
    font-weight: 300;
}

footer {
    padding: 20px 0 40px;
    color: #fff;
    background-color:#807d81;
}

footer .container {
    padding-top:15px;
}

header {
    background-color: #fff;
}

header .container {
    padding-top:0;
    padding-bottom:0;
    padding-left:0;
    padding-right:0;
}

.main-container {
    padding-top:1.25rem;
    padding-bottom:1.25rem;
    /* padding-bottom:1.25rem; */
}

a:link,
a:visited {
    text-decoration: none;
    color: #b5113e;
}

a:hover,
a:active,
a:focus {
    color: #b8274c;
    font-weight:400;
}

button.btn-primary,
a.btn:link,
a.btn:visited {
    font-size:1.25rem;
    text-decoration: none;
    color: #fff;
}

a.btn:hover,
a.btn:active,
a.btn:focus {
    text-decoration: underline;
}



footer a:hover,
footer a:active,
footer a:focus {
    color:#fff;
    text-decoration: none;
}

#logo {
    display: none;
}

h1,
.h1 {
    font-size: 1.375rem;
    line-height: 1.25em;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

h2,
.h2 {
    font-size: 1.75rem;
    line-height: 1.25em;
    margin: 0 0 15px 0;
    font-weight: 400;
}

h3,
.h3 {
    font-size: 1.5rem;
    line-height: 1.250em;
    margin: 0 0 15px 0;
    font-weight: 600;
}

h4,
.h4 {
    font-size: 1.375rem;
    line-height: 1.25rem;
    font-weight: 600;
}

h5,
.h5 {
    font-size: 1.0rem;
    line-height: 20px;
    margin: 3px 0 0 0;
    font-weight: 500;
}

.overhead-text {
    color:#5c5a5e;
    font-size:18px;
    line-height:110%;
}

.overhead-text strong {
    font-weight:600;
}


a.bm-button {
    background-color: #bdb9bb;
    color:#fff;    
    border:0;
    border-radius:0;
    padding:25px 30px;
    text-decoration: none;
    font-weight:500;
}

a.bm-button:hover {
    background-color: #ffdd00;
    color:#000;    
}


.showcase-overlay {
    position:absolute;
    top:0; left:0;
    width:100%;
    background-color: rgba(0, 0, 0, 0.5); 
    padding:10px 20px;
    font-weight:400;
}


.strong,
strong {
    font-weight: 500;
}

.fw-400 {
    font-weight:400;
}

.fw-500 {
    font-weight:400;
}

.small {
    font-size: 0.875rem;
    line-height: 1.3rem;
}

ol.listing, ul.listing {
    padding-left:1.5rem;
    color:#ccc;
}

ol.listing, ul.listing {
    line-height:120%;
}

ol.listing span, ul.listing span {
    color:#000;
}

.listing-square {
    list-style-type: square;
    color:#004a98;
}

.listing-square span {
    color:#000;
}

.checklist li {
    list-style-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" transform="translate(0,2)" width="20" height="20" fill="%236d7f0a" class="checkmarker bi bi-check2-circle" viewBox="0 0 16 16"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z"/></svg>');
    margin-bottom:10px;
}

.black {
    color:#000 !important;
}

.bg-white {
    background-color:#fff;
    padding-top:2rem;
    padding-bottom:2rem;
}

.bg-yellow {
    background-color:#ffdd00;
    padding-top:2rem;;
    padding-bottom:2rem;
}

.bg-yellow.centered,
.bg-white.centered {
    padding:2rem 1rem;
}

.bg-grey {
    background-color:#807d81;
    padding-top:2rem;;
    padding-bottom:2rem;
    color:#fff;
}

.bg-lightgrey {
    background-color:#e3e2e3;
    padding-top:1.5rem;;
    padding-bottom:1.5rem;
}

.bg-yellow p:last-of-type,
.bg-grey p:last-of-type,
.bg-lightgrey p:last-of-type {
    margin-bottom:0;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.textbox-centered {
    max-width:none;
}       

section {
  scroll-margin-top: 80px;
}


/* mobile Navigation
*****************************/
.navbar-brand {
    padding: 0;
    margin-left:0.75em;
    width: 250px;
    height: 80px;
    background-image: url('../img/logo-rehamed.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.navbar-toggler {
    border: 1px solid #636466;
    border-radius: .25rem;
    outline: 0;
    margin-right:0.75em;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 73, 152, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .navbar-toggler-icon:hover,
.navbar .navbar-toggler-icon:focus,
.navbar .navbar-toggler-icon:active {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 73, 152, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    outline: 0;
    box-shadow: none;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.navbar-nav {
    padding-top:10px;
}

.navbar-nav .nav-link {
    padding: 5px 10px 5px 25px;
    color: #333;
    outline: none;
    font-size: 1.rem;
    line-height: 1.75em;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #636466;
    background-color:#ffdd00;
}

.dropdown-toggle::after {
	display: none;
}

.dropdown-menu {
    border:0;
}

.dropdown-item {
    padding-left:30px;
    padding-top:8px;
    padding-bottom:8px;
    color:#000 !important;
}
.dropdown-item.last {
    border-bottom: 0;
}    

.dropdown-item:focus, .dropdown-item:hover {
    color: #000;
    background-color: #d0c9ac;
    text-decoration: none;
}

#sloganbar {
    background-color:#2a2a2a;
    color:#fff;
    font-size: 1rem;
    padding:0.5rem 0;
    text-align: center;
}

#btn-offer {
    position: absolute;
    top:0; right:0;
    width:150px;
}    

/* end mobile Navigation
******************************/

@media (min-width: 400px) {

}

@media (min-width: 576px) {

    .overhead-text {
        color:#5c5a5e;
        font-size:24px;
        line-height:120%;
    }

}

@media (min-width: 768px) {

    header {
        margin: 0;
        background-color: #fff;
    }

    .header-container {

    }

    .overlay-container {
        display:flex;
        flex-direction: column;
        justify-content:end;
    }

    .main-container {
        padding-top:2.5rem;
    }

    footer .container {
        padding-top:15px;
        padding-bottom:40px;
        font-size:1.125rem;
    }


    h1,
    .h1 {
        font-size: 2rem;
        line-height: 120%;
        font-weight: 500;
    }

    h2,
    .h2 {
        font-size: 1.5rem;
        line-height: 1.25em;
        font-weight: 500;
    }
    h3,
    .h3 {
        font-size: 1.25rem;
        line-height: 1.75rem;
        font-weight: 400;
    }
    h4,
    .h4 {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
    h5,
    .h5 {
        font-size: 1.1rem;
        line-height: 20px;
    }

    hr {
        margin:1.5rem 0;
    }

    .overhead-text {
        color:#5c5a5e;
        font-size:30px;
        line-height:120%;
    }

    .overhead-text strong {
        font-weight:600;
    }

    .bg-yellow {
        padding-top:3rem;
        padding-bottom:3rem;
    }

    .bg-yellow.centered {
        padding-top:0;
        padding-bottom:0;        
    }

    .bg-grey {
        padding-top:3rem;
        padding-bottom:3rem;
    }

    .bg-white {
        padding-top:3rem;
        padding-bottom:3rem;
    }    

    .bg-lightgrey {
        padding-top:2rem;
        padding-bottom:2rem;        
    }

    .centered {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .textbox-centered {
        max-width:350px;
    }

}

@media (min-width: 992px) {

    #logo {
        display: inline-block;
        width:250px;
        height:auto;
        margin-top:20px;
        margin-bottom:20px;
    }    

    .navbar-brand {
        display: none;
    }

    .navbar {
        position: absolute;
        top: 1px;
        right: 0px;
        padding:0;
        margin: 0;
    }

    .navbar-nav {
        padding:0;
        margin: 0;
    }    

    .navbar .navbar-nav .nav-link {
        display: flex;
        justify-content: center; /* Vertikale Achse bei flex-direction: column */
        align-items: center;     /* Horizontale Achse */
        flex-direction: column;
        width: 250px;
        height: 125px;
        padding: 0;
        text-align: center;
        color: #5c5a5e;
        font-size: 1.5rem;
        line-height: 1.5rem;
        text-decoration: none;
        font-weight: 400;
        outline: none;
    }

    .navbar-nav .nav-link:hover {
        color: #000;
        font-weight:400;
        background-color:#ffdd00;
    }


    #therapie #nav-therapieangebot,
    #jobs #nav-jobs,
    #termin #nav-termin,
    #kontakt #nav-kontakt {
        background-color:#ffdd00;
    }

    .navbar .navbar-nav .nav-link {
        width:130px;
        font-size: 1.25rem;
    }

    .overhead-text {
        color:#5c5a5e;
        font-size:40px;
        line-height:120%;
    }

    .textbox-centered {
        max-width:400px;
        font-size:1.25rem;
    }    

}

@media (min-width: 1200px) {

    #logo {
        width:300px;
    }    

    .navbar .navbar-nav .nav-link {
        width:160px;
        font-size: 1.25rem;
    }

    h1,
    .h1 {
        font-size: 2.25rem;
        line-height: 120%;
        font-weight: 400;
        margin-bottom:1.5rem;
    }

    h2,
    .h2 {
        font-size: 1.75rem;
        line-height: 120%;
        font-weight: 400;
    }
    h3,
    .h3 {
        font-size: 1.5rem;
        line-height: 1.75rem;
        font-weight: 400;
    }
    h4,
    .h4 {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
    h5,
    .h5 {
        font-size: 1.125rem;
        line-height: 20px;
    }

    .overhead-text {
        color:#5c5a5e;
        font-size:60px;
        line-height:120%;
    }

    .textbox-centered {
        max-width:450px;
        font-size:1.375rem;
    }        

}

@media (min-width: 1400px) {

    #logo {
        width:339px;
    }    

    .navbar .navbar-nav .nav-link {
        width:180px;
        font-size: 1.25rem;
    }

}


@media (min-width: 1600px) {

    .navbar .navbar-nav .nav-link {
        width:190px;
        font-size: 1.375rem;
    }

}

@media (min-width: 1750px) {

    .container {
        max-width:1400px;
    }

}
