/* ALVECA STUDIO */

body {
    margin: 0;
    padding: 0;
    background: #F8F5F0;
    color: #49332D;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.altcolor {
    background-color: #F8F5F0;
}

div#container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: #FFFFFF;
}

div#header {
    position: relative;
    padding: 0;
    background: #F8F5F0;
}

div#header_wrapper {
    padding: 0;
    text-align: center;
}

div#header_wrapper img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

div#emotion-header {
    position: relative;
}

div#emotion-header strong#emotion-header-title {
    position: absolute;
    top: 0;
    left: 0;
}

/* Navigation */

div#navigation {
    margin: 0;
    padding: 20px;
    background: #F8F5F0;
    border-bottom: 1px solid #E5D6C8;
}

ul.mainNav1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
}

ul.mainNav1 li {
    width: auto;
}

ul.mainNav1 li a {
    display: block;
    width: auto;
    padding: 8px 10px;
    background: transparent !important;
    color: #49332D;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
}

ul.mainNav1 li a:hover,
ul.mainNav1 li a.current {
    background: #E5D6C8 !important;
    color: #49332D;
}

ul.mainNav2,
ul.mainNav3 {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Content */

div#content {
    width: 100%;
    float: none;
    background: #FFFFFF;
}

div#content div.gutter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
}

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

h1, h2, h3 {
    font-family: Georgia, serif;
    font-weight: normal;
    color: #49332D;
    line-height: 1.3;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 23px;
}

/* Sidebar */

div#sidebar {
    width: 100%;
    float: none;
    padding: 0;
    background: #E5D6C8;
}

div#sidebar_content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;
}

/* Footer */

div#footer {
    width: 100%;
    margin: 0;
    background: #F8F5F0;
}

div#footer div.gutter {
    width: auto;
    float: none;
    padding: 30px 20px;
    text-align: center;
    background: #F8F5F0;
}

.c {
    clear: both;
}

/* Mobile */

@media screen and (max-width: 768px) {

    div#content div.gutter {
        padding: 30px 20px;
    }

    div#sidebar_content {
        padding: 25px 20px;
    }

    div#navigation {
        padding: 12px;
    }

    ul.mainNav1 {
        gap: 4px 10px;
    }

    ul.mainNav1 li a {
        font-size: 13px;
        padding: 6px 8px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    h3 {
        font-size: 20px;
    }
} @media screen and (max-width: 768px) {
    div#navigation {
        padding: 10px 8px;
    }

    ul.mainNav1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    ul.mainNav1 li a {
        font-size: 16px;
        padding: 12px 10px;
    }

    div#header_wrapper img {
        width: 100%;
        height: auto;
    }

    div#content div.gutter {
        padding: 20px 15px;
    }
}
@media screen and (max-width: 768px) {
    div#navigation {
        padding: 6px 4px !important;
    }

    ul.mainNav1 {
        gap: 2px !important;
        justify-content: center;
    }

    ul.mainNav1 li a {
        font-size: 13px !important;
        padding: 8px 5px !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    ul.mainNav1 li a.current {
        background: transparent !important;
        color: #49332D !important;
        text-decoration: underline;
        text-underline-offset: 5px;
    }
}
/* ALVECA - Treatwell Button */

a#wahanda-online-booking-widget {
    background: #49332D !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    padding: 16px 28px !important;
    height: auto !important;
    width: auto !important;
    display: inline-block !important;
    text-decoration: none !important;
}

a#wahanda-online-booking-widget span {
    background: none !important;
    color: #FFFFFF !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: normal !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    line-height: 1.5 !important;
}
/* ALVECA - Button refinement */

a#wahanda-online-booking-widget {
    display: table !important;
    margin: 15px auto !important;
    padding: 12px 30px !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
}

a#wahanda-online-booking-widget span {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
} 

/* ALVECA - Behandlungen */

.section-group:has(.module-alias-loopTitle) img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    display: block !important;
}

.module-alias-loopTitle h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-top: 15px !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
}  
/* ALVECA – Link underline */
#content a {
    text-decoration-color: #49332D !important;
}  
/* ALVECA - Kontaktformular */
a[href*="/kontakt/"],
a[href*="/kontakt/"] span {
    color: #49332D !important;
    text-decoration: underline !important;
    text-decoration-color: #49332D !important;
} 
form input[type="submit"],
form button[type="submit"] {
    background-color: #60453F !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}