/*
 Theme Name: Lasik Operation
 Theme URI: https://www.lasik-operation.de
 Description: Custom child theme
 Author: Author
 Template: neve
 Version: 1.0
*/

/* FONTS */
@font-face {
    font-display: swap;
    font-family: 'Abel';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/abel-v18-latin-regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/roboto-v30-latin-500.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url('fonts/roboto-v30-latin-500italic.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/roboto-v30-latin-700.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/roboto-v30-latin-700italic.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Rock Salt';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/rock-salt-v22-latin-regular.woff2') format('woff2');
}

/* GENERAL */
body.logged-in {
    font-family: 'Abel';
    font-size: 18px; /* Ändere das nach Live-gang global */
}
body.logged-in h1, body.logged-in h2, body.logged-in h3 {
    font-family: 'Roboto';
    font-weight: 700;
}
body.logged-in h2 code {
    position: relative;
    left: 0.5em;
    right: 0.5em;
    font-family: 'Roboto';
    font-weight: 700;
    background: none;
    padding: 0 30px 0 0;
    border: none;
}
body.logged-in h2 code:before {
    content: "";
    z-index: -1;
    left: -15px;
    top: -12px;
    border-width: 4px;
    border-style: solid;
    border-color: #2CBEBE;
    position: absolute;
    border-right-color: transparent;
    width: 100%;
    height: 60px;
    transform: rotate(182deg);
    opacity: 0.7;
    border-radius: 50%;
    padding: 0.1em 0.25em;
}
body.logged-in h2 code:after {
    content: "";
    z-index: -1;
    left: -16px;
    top: -22px;
    padding: 0.1em 0.25em;
    border-width: 4px;
    border-style: solid;
    border-color: #2CBEBE;
    border-left-color: transparent;
    border-top-color: transparent;
    position: absolute;
    width: 100%;
    height: 71px;
    transform: rotate(-179deg);
    opacity: 0.7;
    border-radius: 50%;
}
body.logged-in h3 {
    font-weight: 500;
}

.font-beauty {
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-family: 'Rock Salt';
    font-size: 30px;
    line-height: 1.3;
    transform: rotate(-15deg);
}

@media (max-width: 1240px) {
    .font-beauty {
        font-size: 25px;
        right: 0;
        bottom: 15px;
    }
}

.alignfull {
    padding: 0;
}

/* IMAGES */
.wp-block-image {
    margin-bottom: 1em;
}

figure.img-bg-rotate,
figure.img-bg-rotate-links,
.img-bg-rotate figure,
.img-bg-rotate-links figure {
    position: relative;
    align-self: flex-start;
}
figure.img-bg-rotate img,
figure.img-bg-rotate-links img,
.img-bg-rotate figure span,
.img-bg-rotate-links figure span,
.img-bg-rotate figure img,
.img-bg-rotate-links figure img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
}
figure.img-bg-rotate:after,
figure.img-bg-rotate-links:after,
.img-bg-rotate figure:after,
.img-bg-rotate-links figure:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - -10px);
    height: calc(100% - -10px);
    background: #E1EAF1;
    transform: rotate(5deg);
    border-radius: 20px;
}
figure.img-bg-rotate-links:after,
.img-bg-rotate-links figure:after {
    transform: rotate(-5deg);
}

/* HEADER */
.header-top-inner .nv-html-content {
    font-size: .85em;
    font-weight: 400;
}
.header-top .hfg-item-first {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}
.header-top .hfg-item-last {
    display: none;
}
.header-main {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    max-height: 100vh;
}
.header-main .site-logo,
.header-main .col-md-4 {
    width: 270px;
    max-width: 270px;
    flex: auto;
}
.header-main .col-md-8 {
    width: auto;
    max-width: 100%;
    flex: auto;
}
.header-main .site-logo img {
    max-height: 60px;
    width: auto;
}

.menu-desktop.nav-ul li a {
    font-weight: 600;
}
.menu-desktop.nav-ul li li a {
    font-weight: normal;
}

li.menu-item span.caret {
    font-size: 1.5em;
}

.banner-startseite {
    position: relative;
    margin-bottom: 0;
}
.banner-startseite::after {
    position: absolute;
    content: '';
    display: block;
    height: 100px;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(255,0,0,0), #F8F4F1);
    bottom: 0;
}

#mobile-header {
    display: none;       
}
@media (max-width: 959px) {
    .header-main .site-logo,
    .header-main .col-md-4,
    .header-main .col-md-8 {
        max-width: 50%;
    }
    #mobile-header {
        display: block;
        text-align: center;
        font-size: 0.85em;
        padding: 10px;
        -webkit-box-shadow: 0 -1px 3px rgba(0,0,0,.1);
        -moz-box-shadow: 0 -1px 3px rgba(0,0,0,.1);
        box-shadow: 0 -1px 3px rgba(0,0,0,.1);
        border-bottom: 1px solid #f0f0f0;
    }
    header.myfixed #mobile-header,
    .header-menu-sidebar .nav-ul a,
    .header-menu-sidebar .nav-ul a .caret-wrap,
    .header-menu-sidebar .navbar-toggle-wrapper button.navbar-toggle {
        outline: none !important;
    }
    .header-menu-sidebar-inner .nav-menu-primary .nav-ul>li>.sub-menu>li>.sub-menu {
        padding-left: 20px;
        padding-right: 20px;
    }

    #mobile-header {
        display: none;
    }
    .hide-on-mobile,
    .header-top {
        display: none;
    }
    .hide-on-desktop {
        display: block;
    }
    .header-top .mobile-center {
        align-items: center;
        display: flex;
    }
    .builder-item--logo {
        margin: 0 auto;
    }
    .nav-toggle-label {
        margin-right: 10px;
    }
    .icon-bar {
        border-radius: 1px;
        width: 23px;
        height: 3px;
    }
    .hfg_header .header-top-inner {
        background-color: #fff;
    }
    .hfg_header .header-top-inner p {
        text-align: center;
    }
    .hfg_header .header-top-inner p span {
        display: none;
    }
    .mobile-menu-buttons {
        text-align: left;
    }
    .mobile-menu-buttons a {
        border-radius: 50px;
        margin-right: 8px;
        background: #009790;
        color: #fff !important;
        font-weight: 700;
        padding: 6px 10px;
        font-size: 14px;
        white-space: nowrap;
    }
    .mobile-menu-buttons a:nth-child(2) {
        background: #b0b6ba;
    }
    .mobile-menu-buttons a:nth-child(3) {
        background: #bde7e6;
        color: #393939 !important;
    }
    .mobile-menu-buttons a:hover {
        background: #007a74;
        text-decoration: none;
    }
    .mobile-menu-buttons a:nth-child(2):hover {
        background: #929ca3;
    }
    .mobile-menu-buttons a:nth-child(3):hover {
        background: #a2caca;
    }
    .header-menu-sidebar-inner .mobile-left .nav-ul li a {
        outline: none !important;
    }

    body .builder-item--logo .site-logo img {
        max-width: 80px;
    }
}

/* CONTENT */
.page404 {
    text-align: left;
}
.page404 .nv-content-none-wrap {
    padding: 0;
}

.box-vorteile.stk-block-column {
    overflow: unset !important;
    background: none !important;
}
body .box-vorteile.stk-block-column::before {
    content: "" !important;
    position: absolute;
    bottom: -50px;
    background-image: url('/wp-content/uploads/2024/03/vorteile-strich.png');
    background-size: 80% auto;
    background-repeat: no-repeat;
    background-position: center 100%;
    background-color: none !important;
    opacity: 1 !important;
}
body .box-vorteile.stk-block-column .stk-block-column__content {
    margin: 0 !important;
    padding: 24px !important;
    border-radius: 10px;
}

.container100 {
    width: 100%;
}

.beratung-button-google .stk-inner-blocks>:first-child {
    flex: 1 1 auto !important;
}
.beratung-button-google .stk-inner-blocks>:first-child .stk-block-button {
    white-space: nowrap;
}
.beratung-button-google .stk-inner-blocks>:last-child .stk-inner-blocks>:first-child {
    min-width: 60px;
}
body .beratung-google-stars .stk--svg-wrapper .stk--inner-svg svg.ugb-custom-icon {
    height: 50px !important;
}

/* VERANSTALTUNGEN */
body.page-id-3589 .em-search-wrapper {
    display: none;
}

.cta-events-startseite .em-events-list {
    color: #fff;
}

.wp-block-table.block-events table tr td {
    border: none;
    border-bottom: 0.5px solid #fff;
    color: #fff;
    line-height: normal;
    padding: 15px 0;
    font-size: 18px;
}
.wp-block-table.block-events table tr td:first-child {
    font-weight: 700;
    white-space: nowrap;
    padding-right: 25px;
    vertical-align: top;
}
.wp-block-table.block-events table tr td:first-child:before {
    font-family: 'dashicons';
    font-weight: normal;
    content: "\f469";
    font-size: 20px;
    width: 20px;
    height: 20px;
    vertical-align: sub;
    padding-right: 5px;
    color: #fff;
}
.wp-block-table.block-events figcaption,
.wp-block-table.block-events figcaption a {
    text-align: left;
    color: #fff;
    line-height: normal;
    font-size: 15px;
}

/* PAGE - ÜBER UNS - ARZT - KONTAKT */
.arzt-single-seitenleiste .wp-block-stackable-icon-label a,
.kontakt-formularblock a {
    color: #fff;
    text-decoration: none;
}
.arzt-single-seitenleiste .wp-block-stackable-icon-label a:hover,
.kontakt-formularblock a:hover {
    text-decoration: underline;
}
.arzt-single-seitenleiste .wp-block-stackable-icon-label .stk-block-icon,
.kontakt-formularblock .wp-block-stackable-icon-label .stk-block-icon {
    flex: 0 0 30px;
}

.wp-block-table.arzt-single-table td {
    border: none;
    border-bottom: 1px solid #D2D8DF !important;
    padding: 10px 0;
}

/* STACKABLE - TIMELINE */
.timeline-arzt .stk-block-timeline>.stk-inner-blocks {
    align-items: start;
    grid-template-columns: var(--line-dot-size,16px) 1fr;
}
.timeline-arzt .stk-block-timeline__date {
    position: absolute;
    top: 18px;
    left: 2px;
    z-index: 999;
    height: 46px;
    width: 46px;
    background-color: #F0F5F9;
    border: 5px solid #fff;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}
.timeline-arzt .stk-block-timeline__middle {
    z-index: 99;
}
.timeline-arzt .stk-block-timeline__middle:after {
    content: none;
}
.timeline-arzt .stk-block-timeline>.stk-inner-blocks:after {
    top: 65px;
    left: 23px;
    width: 4px;
}
.timeline-arzt .stk-block-timeline>.stk-inner-blocks h3 {
    margin: 10px 0;
    font-size: 22px;
}

@media (max-width: 767px) {
    .timeline-arzt .stk-block-timeline__date {
        top: 10px;
        left: 18px;
    }
    .timeline-arzt .stk-block-timeline>.stk-inner-blocks:after {
        left: 40px;
    }
}

/* WP FORMS */
div.wpforms-container-full {
    margin: 0 !important;
}

.wpforms-form button[type=submit] {
    background-color: #009790 !important;
    border-color: #024488 !important;
    color: #fff !important;
    transition: background 0.3s ease-in-out;
}
 
.wpforms-form button[type=submit]:hover {
    background-color: #022B57 !important;
}

/* FOOTER */
.site-footer {
    margin-top: 80px;
}
.footer-top {
    padding-top: 60px;
    padding-bottom: 60px;
}
.footer-top-inner .nv-footer-content {
    align-items: start;
}
.footer-top-inner .widget {
    margin-bottom: 0;
}
.footer-top-inner .widget h3,
.footer-top-inner .widget p {
    font-family: 'Abel';
    margin-bottom: 10px;
}
.footer-top-inner .widget a {
    text-decoration: none;
}
.footer-top-inner .widget a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: none;
}
.footer-copyright {
    background: #191d1f;
    color: #536375;
    font-size: 14px;
}
.footer-copyright .container span {
    display: block;
    border-top: 1px solid #536375;
    padding-top: 40px;
    padding-bottom: 40px;
}

.layout-fullwidth .container {
    max-width: 1200px !important;
}

.youtube-wrapper {
    max-width: 100%;
    margin: 0 auto 60px;
    padding: 0;
}

.youtube-lazyload {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}
.youtube-lazyload img {
    width: 100%;
    top: -16.82%;
    left: 0;
    opacity: 0.7;
}
.youtube-lazyload .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.youtube-lazyload .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.youtube-lazyload img,
.youtube-lazyload .play-button {
    cursor: pointer;
}
.youtube-lazyload img,
.youtube-lazyload iframe,
.youtube-lazyload .play-button,
.youtube-lazyload .play-button:before {
    position: absolute;
}
.youtube-lazyload .play-button,
.youtube-lazyload .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
}
.youtube-lazyload iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

@media (max-width: 960px) {
    .nv-footer-content {
        flex-wrap: wrap;
        padding: 30px 0;
    }
}
@media (min-width: 769px) {
    footer .footer-top .col-3 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
        margin: 0;
        padding: 25px 15px 40px;
    }
}

