/* 
Theme Name: ViaMed Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: ViaMed Elementor Child is a child theme of Hello Elementor
Author: AddUse GmbH
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

strong {
    font-weight: 500 !important;
}

.bold strong {
    font-weight: bolder !important;
}

:target {
    scroll-margin-top: 70px; /* Höhe des fixen Menüs */
}

.elementor-menu-toggle .e-font-icon-svg {
    fill: rgb(9, 140, 118);
}

@media screen and (min-width: 480px) {
    :target {
        scroll-margin-top: 160px;
    }
}

#footer_box_underline a {
    color: #fff;
    text-decoration: none;
}

#footer_box_underline a:hover {
    color: #fff;
    text-decoration: underline;
}

body {
    margin: 0;
    padding: 0;

    /* Hintergrund mit radialen Kreisen */
    background: radial-gradient(
            circle at 10% 30%,
            rgba(9, 140, 118, 0.4),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(9, 140, 118, 0.4),
            transparent 25%
        );
    background-size: 200% 200%;
    background-repeat: no-repeat;
    animation: bodyBackgroundAnimation 45s infinite alternate ease-in-out;
}

@keyframes bodyBackgroundAnimation {
    0% {
        background-position: 10% 0%, 50% 35%;
    }
    50% {
        background-position: 10% 80%, 50% 50%;
    }
    100% {
        background-position: 10% 10%, 50% 25%;
    }
}

/* Accordion */

span.e-n-accordion-item-title-icon {
    margin: 0 0 0 auto;
}

.e-n-accordion-item {
    /*hyphens: auto;*/
}

.hyphenate {
    hyphens: auto;
}

/* Menü */

#desktop-menu .sub-menu {
    padding: 10px 10px 10px 0;
    margin-left: -8px !important;
}

#desktop-menu .sub-menu li a {
    text-decoration: none;
    padding-top: 6px;
    padding-bottom: 6px;
}

#desktop-menu li a:hover,
#desktop-menu li.current-menu-parent > a,
#desktop-menu li.current-menu-item > a {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 7%; /* 1.12px */
    text-underline-offset: 25%; /* 4px */
    text-underline-position: from-font;
}

#desktop-menu .sub-menu li a:hover,
#desktop-menu .sub-menu li.current-menu-item a,
a.link-green,
.link-green a {
    text-decoration: none;
    color: #098c76;
}

@media screen and (max-width: 1024px) {
    #vm-mobile-menu .elementor-nav-menu {
        padding-top: 20px;
    }

    #vm-mobile-menu .sub-arrow svg {
        display: none;
    }

    #vm-mobile-menu .sub-arrow::before {
        content: '';
        display: inline-block;
        width: 22px;
        height: 22px;
        background-image: url('img/plus.svg');
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 8px;
        vertical-align: middle;
    }

    .has-submenu.highlighted .sub-arrow {
        transform: rotate(45deg); /* Dreht das SVG um 90 Grad */
        transition: transform 0.3s ease; /* Sanfte Übergangsanimation */
    }

    #vm-mobile-menu .elementor-nav-menu li a {
        display: flex;
        justify-content: space-between;
    }

    #vm-mobile-menu .elementor-nav-menu li li a {
        font-size: 16px;
        text-decoration: none;
        margin-left: 10px;
    }

    #vm-mobile-menu .mobile-menu-address {
        padding: 24px;
        font-family: Rubik;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        color: #777878;
    }

    #vm-mobile-menu .mobile-menu-address p {
        margin: 0;
    }

    #vm-mobile-menu .mobile-menu-intro {
        background-color: var(--Light-Green, #00d29c);
        color: #00463e;
        font-family: Rubik;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    #vm-mobile-menu .mobile-menu-intro a {
        color: #00463e !important;
        padding: 12px 24px;
    }

    #vm-mobile-menu .mobile-menu-intro li {
        border: 0 !important;
    }

    #vm-mobile-menu .mobile-menu-intro li a {
        gap: 10px;
        justify-content: flex-start;
    }

    #vm-mobile-menu .mobile-menu-intro li:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: calc(100% - 48px);
        border-bottom: 1px dotted #00463e;
    }
}

/* Headerbild */

.no-underline,
.stoerer,
.no-underline a,
.stoerer a,
.no-underline p,
.stoerer p {
    text-decoration: none !important;
}

/* sidebar med */

.sid-btn-med {
    display: none;
}

@media (min-width: 520px) {
    .sid-btn-med {
        display: flex;
        position: fixed;
        top: 310px;
        right: 0px;
        min-width: 120px;
        height: 60.3px;
        padding: 14.4px;
        align-items: center;
        gap: 13px;
        text-align: left;
        background: var(--Light-Green, #00d29c);
        border-radius: 12.15px 0 0 12.15px;
        box-shadow: 0 3.6px 3.6px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.3s;
        color: var(--Dark-Green, #00463e) !important;
        font-family: Rubik;
        font-size: 16px;
        font-weight: 400;
        line-height: 28.8px;
        letter-spacing: 1.8px;
        text-transform: uppercase;
        text-decoration: none !important;
        transition: transform 0.3s ease;
        /* Übergangseffekt */
        transform: translateX(145px);
        z-index: 10;
    }

    .sid-btn-med img {
        margin-left: 7px;
        height: 45px;
    }

    .sid-btn-med:hover {
        transform: translateX(0) !important;
    }
}

/* Accordion */
.elementor-widget-n-accordion
    .e-n-accordion-item:first-child
    .e-n-accordion-item-title {
    border: 0 !important;
}

.elementor-widget-n-accordion.faq-accordion
    .e-n-accordion-item:first-child
    .e-n-accordion-item-title {
    border-top: 1px solid #777878 !important;
}

/* FAQ */
#faq-navigation .active a {
    font-weight: 700 !important;
}

#faq-sticky .e-n-accordion-item-title-text {
    padding-right: 50px;
}

/* TAB */

.e-n-tabs-heading {
    justify-content: left;
}

.e-n-tabs-heading button,
.e-n-tabs-heading button:hover {
    border-radius: 0;
}

.e-n-tabs-heading button:hover {
    border-radius: 0;
    background-color: #dfefed !important;
}

@media screen and (min-width: 1024px) {
    .e-n-tabs-heading button:first-child {
        border-radius: 20px 0px 0px 20px !important;
        padding-left: 32px;
    }

    .e-n-tabs-heading button:last-child {
        border-radius: 0px 20px 20px 0px !important;
        padding-right: 32px;
    }
}

.e-n-tabs-heading button[aria-selected='true'] {
    font-weight: 700 !important;
    border-radius: 0;
}

/* Startseite Leistungen toggle */

#event-untersuchung,
#event-diagnostik,
#event-sprechstunde,
#event-chirurgie {
    cursor: pointer;
}

.event-icon svg {
    transition: transform 0.3s ease;
}

.event-untersuchung,
.event-diagnostik,
.event-sprechstunde,
.event-chirurgie {
    display: none;
    transition: all 0.3s ease;
}

.sidbox .contentbox {
    font-size: 16px !important;
}

.sidbox .contentbox h3 {
    font-size: 28px !important;
    font-style: normal;
    font-weight: 300;
    line-height: 40px;
}

@media (max-width: 768px) {
    .hyphenate {
        hyphens: auto;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

.elementor-1130
    .elementor-element.elementor-element-8b5bddd
    .elementor-button:hover
    svg {
    fill: none;
}

.sid-btn-text {
    font-family: var(--e-global-typography-a142b2f-font-family), Sans-serif;
}
