/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/*!
 * @license
 * MyFonts Webfont Build ID 3878228, 2020-03-10T05:28:10-0400
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: SofiaPro-Bold by Mostardesign
 * URL: https://www.myfonts.com/fonts/mostardesign/sofia-pro/bold/
 *
 * Webfont: SofiaPro-Light by Mostardesign
 * URL: https://www.myfonts.com/fonts/mostardesign/sofia-pro/light/
 *
 *
 * Webfonts copyright: Copyright &#x00A9; Olivier Gourvat - Mostardesign Type Foundry, 2019. All rights reserved.
 *
 * © 2020 MyFonts Inc
 */

/* @import must be at top of file, otherwise CSS will not work */
/* @import url("//hello.myfonts.net/count/3b2d54"); */

@font-face {
    font-family: "SofiaPro-Bold";
    src: url("fonts/3B2D54_0_0.eot");
    src:
        url("fonts/3B2D54_0_0.eot?#iefix") format("embedded-opentype"),
        url("fonts/3B2D54_0_0.woff2") format("woff2"),
        url("fonts/3B2D54_0_0.woff") format("woff"),
        url("fonts/3B2D54_0_0.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "SofiaPro-Light";
    src: url("fonts/3B2D54_1_0.eot");
    src:
        url("fonts/3B2D54_1_0.eot?#iefix") format("embedded-opentype"),
        url("fonts/3B2D54_1_0.woff2") format("woff2"),
        url("fonts/3B2D54_1_0.woff") format("woff"),
        url("fonts/3B2D54_1_0.ttf") format("truetype");
    font-display: swap;
}

/*!
 * Child Theme styles
 * by Thamm IT
 */

/* font definitions
----------------------------------------------------------------------------- */
@media all {
    body,
    body.comfortaa {
        font-family: SofiaPro-Light !important;
        font-weight: normal !important;
        font-style: normal !important;
        font-size: 18px !important;
        line-height: 25px !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: SofiaPro-Bold !important;
        font-weight: normal !important;
        font-style: normal !important;
    }

    .av-special-heading-tag {
        font-family: SofiaPro-Bold !important;
        font-weight: normal !important;
        font-style: normal !important;
        font-size: 40px;
        line-height: 53px;
    }

    .av-subheading {
        font-size: 40px !important;
        line-height: 53px;
    }
}
#top {
    h1 a,
    h2 a,
    h3 a,
    h4 a,
    h5 a,
    h6 a {
        hyphens: auto;
    }
}

/* color definitions
----------------------------------------------------------------------------- */
@media all {
    .main_color,
    .main_color .site-background,
    .main_color .first-quote,
    .main_color .related_image_wrap,
    .main_color .gravatar img .main_color .hr_content,
    .main_color .news-thumb,
    .main_color .post-format-icon,
    .main_color .ajax_controlls a,
    .main_color .tweet-text.avatar_no,
    .main_color .toggler,
    .main_color .toggler.activeTitle:hover,
    .main_color #js_sort_items,
    .main_color.inner-entry,
    .main_color .grid-entry-title,
    .main_color .related-format-icon,
    .grid-entry .main_color .avia-arrow,
    .main_color .avia-gallery-big,
    .main_color .avia-gallery-big,
    .main_color .avia-gallery img,
    .main_color .grid-content,
    .main_color .av-share-box ul,
    #top .main_color .av-related-style-full .related-format-icon,
    .main_color .related_posts.av-related-style-full a:hover,
    .main_color.avia-fullwidth-portfolio .pagination .current,
    .main_color.avia-fullwidth-portfolio .pagination a,
    .main_color .av-hotspot-fallback-tooltip-inner,
    .main_color .av-hotspot-fallback-tooltip-count {
        color: rgb(0, 0, 0);
    }

    .section-inverted.main_color,
    .section-inverted.main_color .site-background,
    .section-inverted.main_color .first-quote,
    .section-inverted.main_color .related_image_wrap,
    .section-inverted.main_color .gravatar img .main_color .hr_content,
    .section-inverted.main_color .news-thumb,
    .section-inverted.main_color .post-format-icon,
    .section-inverted.main_color .ajax_controlls a,
    .section-inverted.main_color .tweet-text.avatar_no,
    .section-inverted.main_color .section-inverted.toggler,
    .section-inverted.main_color .toggler.activeTitle:hover,
    .section-inverted.main_color #js_sort_items,
    .section-inverted.main_color.inner-entry,
    .section-inverted.main_color .grid-entry-title,
    .section-inverted.main_color .related-format-icon,
    .section-inverted.grid-entry .main_color .avia-arrow,
    .section-inverted.main_color .avia-gallery-big,
    .section-inverted.main_color .avia-gallery-big,
    .section-inverted.main_color .avia-gallery img,
    .section-inverted.main_color .grid-content,
    .section-inverted.main_color .av-share-box ul,
    #top .section-inverted.main_color .av-related-style-full .related-format-icon,
    .section-inverted.main_color .related_posts.av-related-style-full a:hover,
    .section-inverted.main_color.avia-fullwidth-portfolio .pagination .current,
    .section-inverted.main_color.avia-fullwidth-portfolio .pagination a,
    .section-inverted.main_color .av-hotspot-fallback-tooltip-inner,
    .section-inverted.main_color .av-hotspot-fallback-tooltip-count,
    #top #wrap_all .section-inverted.main_color h3 {
        color: rgb(255, 255, 255);
    }

    .section-inverted.main_color a {
        color: rgb(225, 225, 225);
    }
}

/* image definitions
----------------------------------------------------------------------------- */
@media all {
    img {
        border-radius: 0 !important;
    }

    .avia-full-stretch,
    .avia-full-contain {
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    .avia-full-stretch .flex_cell_inner,
    .avia-full-contain .flex_cell_inner {
        margin-bottom: 56.25% !important;
    }

    .avia-content-slider .slide-image {
        border-radius: 0;
    }
}

/* general enfold overrides
----------------------------------------------------------------------------- */
@media all {
    .avia-button {
        border-radius: initial !important;
        border: initial !important;
    }

    .avia-button:hover {
        opacity: 1 !important;
    }

    .avia-button.avia-color-light {
        background: rgb(0, 0, 0) !important;
    }

    #top #wrap_all .avia-slideshow-button,
    #top .avia-button,
    .html_elegant-blog .more-link,
    .avia-slideshow-arrows a:before {
        border-radius: 0;
    }

    .section-inverted {
        background: rgb(0, 0, 0);
        color: rgb(255, 255, 255) !important;
    }

    .section-inverted .avia-button {
        background: rgb(255, 255, 255);
        color: rgb(0, 0, 0);
    }

    .homepage-slider {
        margin-bottom: 22px;
    }

    .homepage-slider .avia-button:hover {
        opacity: 1 !important;
    }

    footer.entry-footer,
    .blog-categories {
        display: none !important;
    }

    .container_wrap {
        border-width: 0;
    }

    .caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption {
        text-align: center;
        bottom: 60px;
    }

    .html_elegant-blog .more-link {
        display: initial;
        border: none;
        text-transform: lowercase;
        font-size: inherit;
    }

    .av-subheading.av_custom_color {
        color: inherit;
    }

    .avia-button {
        font-size: 25px !important;
    }

    .flex_cell {
        padding: 30px !important;
    }
}

/* home :: button kontakt
----------------------------------------------------------------------------- */
@media all {
    .home .button-home-kontakt {
        display: inline;
        position: absolute;
        left: calc(-50% + 47px);
        transform: rotate(270deg);
        z-index: 20;
        border: 0;
        background: transparent;
        top: 50%;
    }

    .home .button-home-kontakt div {
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .home .button-home-kontakt .container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .home .button-home-kontakt .avia-button {
        padding: 10px 53px 13px 16px;
    }

    .home .button-home-kontakt .avia_button_icon::before {
        content: "";
        background-image: url(/wp-content/themes/enfold-child/images/contact-button-icon.jpg);
        background-size: 35px 35px;
        display: inline-block;
        width: 60px;
        height: 60px;
        transform: rotate(90deg);
        background-repeat: no-repeat;
        position: absolute;
        bottom: -26px;
        left: -28px;
    }
}

/* home :: button buchungsanfrage
----------------------------------------------------------------------------- */
@media all {
    .home .button-home-buchungsanfrage {
        position: absolute;
        /*bottom: 75px;*/
        top: 50%;
        -ms-transform: translateY(-35%);
        transform: translateY(-35%);
        background: transparent;
        z-index: 1;
    }

    .home .button-home-buchungsanfrage div {
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        max-width: 100%;
    }
}

/* home :: stage image overlay
----------------------------------------------------------------------------- */
@media all {
    .home .home-stage-image-overlay {
        position: absolute;
        bottom: 115px;
        background: transparent;
        z-index: 10;
    }

    .home .home-stage-image-overlay div {
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        max-width: 100%;
    }
}

/* form definitions
----------------------------------------------------------------------------- */
@media all {
    ::-webkit-input-placeholder {
        /* Edge */
        color: rgb(0, 0, 0) !important;
        font-weight: normal;
        opacity: 1;
        -webkit-transition: opacity 0.5s;
        transition: opacity 0.5s;
    }

    *:focus::-webkit-input-placeholder {
        opacity: 0;
    }

    :-moz-placeholder {
        /* Firefox */
        color: rgb(0, 0, 0) !important;
        font-weight: normal;
        opacity: 1;
        -moz-transition: opacity 0.5s;
        transition: opacity 0.5s;
    }

    *:focus:-moz-placeholder {
        opacity: 0;
    }

    ::-moz-placeholder {
        /* Firefox */
        color: rgb(0, 0, 0) !important;
        font-weight: normal;
        opacity: 1;
        -moz-transition: opacity 0.5s;
        transition: opacity 0.5s;
    }

    *:focus::-moz-placeholder {
        opacity: 0;
    }

    :-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: rgb(0, 0, 0) !important;
        font-weight: normal;
        opacity: 1;
        -ms-transition: opacity 0.5s;
        transition: opacity 0.5s;
    }

    *:focus:-ms-input-placeholder {
        opacity: 0;
    }

    ::placeholder {
        color: rgb(0, 0, 0) !important;
        font-weight: normal;
        opacity: 1;
        transition: opacity 0.5s;
    }

    *:focus::placeholder {
        opacity: 0;
    }

    .value_verifier_label {
        color: rgb(0, 0, 0);
        font-weight: bold;
        left: 10px;
        bottom: 8px;
        font-size: 16px;
        line-height: 32px;
    }

    #top .main_color .input-text,
    #top .main_color input[type="text"],
    #top .main_color input[type="input"],
    #top .main_color input[type="password"],
    #top .main_color input[type="email"],
    #top .main_color input[type="number"],
    #top .main_color input[type="url"],
    #top .main_color input[type="tel"],
    #top .main_color input[type="search"],
    #top .main_color textarea,
    #top .main_color select {
        color: rgb(0, 0, 0);
        padding: 8px 6px !important;
    }

    #top .avia_ajax_form input.captcha,
    #top .av-centered-form input.captcha {
        text-align: left;
        padding-left: 80px !important;
    }
}

/* footer menu
----------------------------------------------------------------------------- */
@media all {
    #menu-footer-menu {
        display: flex;
    }

    #menu-footer-menu li a {
        padding: 6px 7px 7px 0;
        font-size: 1rem;
    }

    footer .copyright a {
        display: none;
    }
}

/* gastroguide styles
----------------------------------------------------------------------------- */
@media all {
    .gg-ticket-event-btn {
        color: rgb(0, 0, 0) !important;
        border: 0;
        border-radius: 0 !important;
        cursor: pointer;
        display: inline-block;
        /*font-family: inhertit !important;*/
        font-family: SofiaPro-Bold !important;
        transition: none !important;
        vertical-align: inherit !important;
        background-color: rgb(255, 255, 255) !important;
        text-shadow: none !important;

        text-transform: uppercase;
        font-size: 23px !important;
        font-weight: bold !important;
        letter-spacing: 0.02em;
        min-width: 90px;
        text-decoration: none;
        padding: 16px 16px 10px !important;
        margin: 3px 0 !important;
        line-height: 1.2em !important;
        position: relative;
        text-align: center;
        max-width: 100%;
    }
}

/* openstreetmap
----------------------------------------------------------------------------- */
@media all {
    .shortcode-openstreetmap .container {
        max-width: 100%;
        padding: 0;
    }

    .shortcode-openstreetmap .container .avia_codeblock > .map {
        border: none !important;
    }

    .ol-attribution {
        display: none;
    }
}

/* header logo :: min 768px
----------------------------------------------------------------------------- */
@media all and (min-width: 768px) {
    #header_main .logo img {
        top: 30px;
    }
}

/* main menu :: min 990px
----------------------------------------------------------------------------- */
@media all and (min-width: 990px) {
    #top #header .av-main-nav > li > a {
        color: #000000;
        font-size: 16px;
        font-family: SofiaPro-Bold !important;
        font-weight: normal !important;
        font-style: normal !important;
    }

    #top #header .av-main-nav > li.menu-item-top-level:nth-last-of-type(-n + 3) {
        top: 30px;
        margin-left: 30px;
    }

    #top #header .av-main-nav > li.menu-item-top-level:nth-last-of-type(-n + 3) > a {
        font-size: 10px !important;
        line-height: 10px;
        height: 10px;
    }

    #top #header .av-main-nav > li.menu-item-top-level:nth-last-of-type(-n + 2) {
        position: absolute;
        right: 0;
        top: 45px;
    }
}

/* general enfold overrides :: min 990px
----------------------------------------------------------------------------- */
@media all and (min-width: 990px) {
    .avia-button {
        font-size: 30px !important;
        font-family: SofiaPro-Bold !important;
        font-weight: normal !important;
        font-style: normal !important;
    }
}

/* home :: button kontakt :: min 990px
----------------------------------------------------------------------------- */
@media all and (min-width: 990px) {
    .home .button-home-kontakt .avia_button_icon::before {
        bottom: -21px;
        left: -28px;
    }
}

/* font definitions :: min 1140px
----------------------------------------------------------------------------- */
@media all and (min-width: 1140px) {
    body,
    body.comfortaa {
        font-size: 25px !important;
        line-height: 35px !important;
    }
}

/* main menu :: min 1140px
----------------------------------------------------------------------------- */
@media all and (min-width: 1140px) {
    #top #header .av-main-nav > li > a {
        font-size: 20px;
    }
}

/* main menu :: min 1340px
----------------------------------------------------------------------------- */
@media all and (min-width: 1340px) {
    #top #header .av-main-nav > li > a {
        font-size: 26px;
    }

    #top #header .av-main-nav > li.menu-item-top-level:nth-last-of-type(-n + 3) > a {
        font-size: 13px !important;
        line-height: 13px;
        height: 13px;
    }

    #top #header .av-main-nav > li.menu-item-top-level:nth-last-of-type(-n + 3) {
        margin-left: 35px;
    }
}

/* home :: button kontakt :: min 1340px
----------------------------------------------------------------------------- */
@media all and (min-width: 1340px) {
    .home .button-home-kontakt .avia-button {
        font-size: 40px !important;
        padding: 10px 75px 16px 16px;
    }

    .home .button-home-kontakt .avia_button_icon::before {
        background-size: 55px 55px;
        width: 55px;
        height: 55px;
        bottom: -6px;
        left: -8px;
    }
}

/* main menu :: min 1480px
----------------------------------------------------------------------------- */
@media all and (min-width: 1480px) {
    #top #header .av-main-nav > li > a {
        font-size: 30px;
    }

    #top #header .av-main-nav > li.menu-item-top-level:nth-last-of-type(-n + 3) > a {
        font-size: 15px !important;
        line-height: 15px;
        height: 15px;
    }

    #top #header .av-main-nav > li.menu-item-top-level:nth-last-of-type(-n + 3) {
        margin-left: 42px;
    }
}

/* Masonrys */
.masonry-title-min-height {
    .av-masonry-entry {
        .av-inner-masonry {
            .av-masonry-entry-title {
                min-height: 95px;
            }
        }
        .av-masonry-date {
            display: none;
        }
    }
    a.av-masonry-entry::after {
        content: " ";
        position: absolute;
        top: 1rem;
        right: 2rem;

        z-index: 1;
        background-color: rgba(255, 255, 255, 1);
        background-image: url(/wp-content/themes/enfold-child/images/arrow-sm.svg);
        background-repeat: no-repeat;
        background-position: center center;
        display: flex;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }
}
.av-masonry-entry .av-inner-masonry-content {
    padding: 20px 10px 20px 10px;
}
#top #wrap_all .all_colors h3.av-masonry-entry-title {
    font-size: 18px;
}

.masonry-title-min-height {
    .av-masonry-entry {
        .av-masonry-image-container {
            max-height: 80%;
        }
    }
}

@media all and (min-width: 480px) {
    .masonry-title-min-height {
        .av-masonry-entry {
            .av-masonry-image-container {
                max-height: 75%;
            }
        }
    }
}
@media all and (min-width: 768px) {
    .av-masonry-entry .av-inner-masonry-content {
        padding: 20px;
    }
    #top #wrap_all .all_colors h3.av-masonry-entry-title {
        font-size: 24px;
    }
}
@media all and (min-width: 990px) {
    .masonry-title-min-height {
        .av-masonry-entry {
            .av-masonry-image-container {
                max-height: 70%;
            }
        }
    }
}
@media all and (min-width: 1340px) {
    .masonry-title-min-height {
        .av-masonry-entry {
            .av-masonry-image-container {
                max-height: 80%;
            }
        }
    }
}

#top .avia-button .avia_iconbox_title {
    z-index: 1;
}
/* Filter-Buttons*/
.av-masonry-sort {
    align-items: start;
    display: flex;
    padding-left: 20px;
    a {
        border: 2px solid #bababa;
        border-radius: 60px;
        padding: 12px 24px 8px 24px;
        font-size: 0.85em;
        font-weight: 600;
        color: #000 !important;
        margin-bottom: 10px;
    }
    a:hover {
        border: 2px solid #000;
    }
    .active_sort {
        background-color: #000;
        color: #fff !important;
        border: 2px solid #000;
    }
    .active_sort:hover {
        background-color: #bababa;
        color: #000 !important;
        border: 2px solid #000;
    }
    .text-sep {
        visibility: hidden;
        width: 2px;
    }
}
