/*
*    ___ ___ ____  _____ _____ _____ _____ _____ 
*   | | | . |    \|   __|   __|     |   __|   | |
*   |_  | . |  |  |   __|__   |-   -|  |  | | | |
*     |_|___|____/|_____|_____|_____|_____|_|___|
*
Theme Name:   Christine Bauer Malerei
Theme URI:    https://www.48design.de
Description:  Theme for Christine Bauer based on enfold
Author:       48DESIGN
Author URI:   https://www.48design.de
Template:     enfold
Version:      0.4.8
License:      -
License URI:  -
Tags:         christine bauer, malerei, enfold
Text Domain:  christinebauermalerei
*/

/* logo */
#logo {
    margin: 3em 13%;
    padding: 0;
}

#logo a {
    font-size: 55px;
    font-weight: bold;
    line-height: 90%;
    color: #b3d234;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
}

@media only screen and (min-width: 768px) {
    #logo .logosep {
        visibility: hidden;
    }
}
@media only screen and (max-width: 989px) {
    #logo {
        margin: 2em 10%;
        padding: 0;
    }
    #logo a {
        font-size: 45px;
        font-size: 3.75vw;
    }
}
@media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .container {
        margin: 0 15px;
    }
    #logo {
        margin: 5px 0;
    }
    #logo a {
        font-size: 40px;
    }
    #logo .logohead {
        word-spacing: 9999px;
    }
}

/* header */
.html_header_sidebar #top #header {
    width: 400px;
    min-height: 99.9vh;
}
.html_header_left #main {
    margin-left: 400px;
}

.html_header_sidebar #top #header_main .inner-container {
    display: flex;
    flex-direction: column;
    height: 96vh;
}
nav.main_menu {
    flex-grow: 1;
    height: auto;
}

.html_header_sidebar #top #header .social_bookmarks {
    margin-bottom: 2em;
}

.av-share-box li:hover a,
.social_bookmarks li:hover a {
    background-color: transparent !important;
    transform: scale(1.5);
}

.av-social-link-instagram:hover a {
    color: #a67658 !important;
}
.av-social-link-pinterest:hover a {
    color: #cb2027 !important;
}
.av-social-link-facebook:hover a {
    color: #37589b !important;
}
.av-social-link-twitter:hover a {
    color: #46d4fe !important;
}
.av-social-link-whatsapp:hover a {
    color: #00e676 !important;
}
.av-social-link-tumblr:hover a {
    color: #345574 !important;
}
.av-social-link-reddit:hover a {
    color: #FF4500 !important;
}
.av-social-link-mail:hover a {
    color: #9fae37 !important;
}

#header .avia-custom-sidebar-widget-area .widget {
    margin-bottom: 1em;
}

@media only screen and (max-width: 989px) {
    #header_main .avia-custom-sidebar-widget-area {
        margin-bottom: 2em;
    }
}

@media only screen and (max-width: 767px) {
    .html_header_sidebar #top #header {
        min-height: auto;
    }
    .html_header_sidebar #top #header_main .inner-container {
        height: auto;
    }

    .responsive #header_main .container {
        height: 80px !important;
    }
    .responsive .logo a {
        vertical-align: top !important;
    }
    .responsive .logo img {
        max-height: 80px !important;
    }

}

/* main menu */
.av-burger-overlay #av-burger-menu-ul > li > a,
.html_header_sidebar #header .av-main-nav > li > a {
    text-transform: uppercase;
    line-height: 26px;
    padding: 0;
}

.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li a,
.av-burger-overlay #av-burger-menu-ul > li {
    line-height: 26px
}

.av-burger-overlay #av-burger-menu-ul > li > a .avia-menu-text,
.html_header_sidebar #header .av-main-nav > li > a .avia-menu-text {
    font-size: 32px;
    font-weight: bold;
}

#top #av-burger-menu-ul {
    vertical-align: top !important;
}

.av-burger-overlay-bg {
    background: #fff;
}
.av-burger-overlay-active #top .av-hamburger-inner, .av-burger-overlay-active #top .av-hamburger-inner::before, .av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: #969696;
}

.html_header_sidebar #header .av-main-nav li.current-menu-ancestor  > a .avia-menu-text {
    color: #b2d233;
}


/* fullscreen slider on mobile */
@media only screen and (max-width: 767px) {
    body.page-startseite .avia-fullscreen-slider .avia-slideshow > ul > li:nth-child(1) {
        /* background-image: url(https://2021.bauerchristine.de/wp-content/uploads/3-Galerie-38-Karlruhe-2013-710x375.jpg) !important; */
        background-position: 26% center !important;
    }
    body.page-startseite .avia-fullscreen-slider .avia-slideshow > ul > li:nth-child(2) {
        background-position: 92% center !important;
    }
    body.page-startseite .avia-fullscreen-slider .avia-slideshow > ul > li:nth-child(4) {
        background-position: 28% center !important;
    }    
}

/* only on mobile/desktop */
@media only screen and (min-width: 769px) {
    .only_mobile { display: none !important; }
}    
@media only screen and (max-width: 768px) {
    .only_desktop { display: none !important; }
}

.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li.only_mobile a,
.av-burger-overlay #av-burger-menu-ul > li.only_mobile,
.av-burger-overlay #av-burger-menu-ul > li.only_mobile > a .avia-menu-text {
    font-size: 20px;
    line-height: 20px;
}
.only_mobile.spacer {
    visibility: hidden;
}

/* DEBUG */
/*
.html_header_sidebar #header .av-main-nav > li {
    overflow: visible !important;
}
.html_header_left #header .avia_mega_div {
    display: block !important;
    opacity: 1 !important;
    top: -5px;
}
*/
/* DEBUG END */
#top #header .avia_mega_div > .sub-menu {
    padding: 0 0 0 50px;
}
#header .avia_mega_div {
    box-shadow: none;
}
#header .avia_mega_div .sub-menu:first-child {
    display: flex !important;
}
#top #header .avia_mega_div > .sub-menu > li > ul li {
    list-style: none outside;
}
.header_color .avia-bullet {
    display: none;
}
#header .avia_mega_div li a {
    text-transform: uppercase;
}
#header .nine.units {
    width: 33vw !important; /* enfold fix, if fullscreen slider in content */
    min-width: 660px !important;
}
#top #header .avia_mega_div > .sub-menu a:hover {
    text-decoration: none;
}

.html_av-overlay-full #top #wrap_all #av-burger-menu-ul {
    text-align: left;
    padding-left: 2em !important;
}
.html_av-overlay-full #top #wrap_all #av-burger-menu-ul .sub-menu {
    padding-left: 0.5em !important;
}
#av-burger-menu-ul > li.menu-item-27.av-width-submenu.av-active-burger-items.av-show-submenu > ul:nth-child(2) {
    padding-top: 0.5em;
}
#av-burger-menu-ul > li.menu-item-27.av-width-submenu.av-active-burger-items.av-show-submenu > ul:nth-child(2) > li > ul > li:first-child {
    padding-top: 1em;
}

/* menu coloring */
.main_menu ul:first-child > li > a .avia-menu-text {
    color: #c2d6c0 !important;
}
/* #1 */
.main_menu ul:first-child > li:nth-child(1) > a .avia-menu-text {
    color: #6eac93 !important;
}
.main_menu ul:first-child > li:nth-child(1) > a:hover .avia-menu-text,
.main_menu ul:first-child > li:nth-child(1) > a:active .avia-menu-text,
.main_menu ul:first-child > li:nth-child(1).current-menu-item > a .avia-menu-text {
    color: #0d754b !important;
}
/* #2 */
.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li:nth-child(2) a,
.main_menu ul:first-child > li:nth-child(2) .mega_menu_title.heading-color a:hover,
.main_menu ul:first-child > li:nth-child(2) > a .avia-menu-text {
    color: #f46aad !important;
}
.main_menu ul:first-child > li:nth-child(2) .mega_menu_title.heading-color,
.main_menu ul:first-child > li:nth-child(2) > a:hover .avia-menu-text,
.main_menu ul:first-child > li:nth-child(2) > a:active .avia-menu-text,
.main_menu ul:first-child > li:nth-child(2) > a.open-mega-a .avia-menu-text,
.main_menu ul:first-child > li:nth-child(2).current-menu-item > a .avia-menu-text {
    color: #ed0677 !important;
}
/* #3 */
.main_menu ul:first-child > li:nth-child(3) > a .avia-menu-text {
    color: #d18cc1 !important;
}
.main_menu ul:first-child > li:nth-child(3) > a:hover .avia-menu-text,
.main_menu ul:first-child > li:nth-child(3) > a:active .avia-menu-text,
.main_menu ul:first-child > li:nth-child(3).current-menu-item > a .avia-menu-text {
    color: #b33f97 !important;
}
/* #4 */
.main_menu ul:first-child > li:nth-child(4) > a .avia-menu-text {
    color: #f79c8c !important;
}
.main_menu ul:first-child > li:nth-child(4) > a:hover .avia-menu-text,
.main_menu ul:first-child > li:nth-child(4) > a:active .avia-menu-text,
.main_menu ul:first-child > li:nth-child(4).current-menu-item > a .avia-menu-text {
    color: #f15a40 !important;
}
/* #5 */
.main_menu ul:first-child > li:nth-child(5) > a .avia-menu-text {
    color: #fabf77 !important;
}
.main_menu ul:first-child > li:nth-child(5) > a:hover .avia-menu-text,
.main_menu ul:first-child > li:nth-child(5) > a:active .avia-menu-text,
.main_menu ul:first-child > li:nth-child(5).current-menu-item > a .avia-menu-text {
    color: #f7941d !important;
}
/* #6 */
.main_menu ul:first-child > li:nth-child(6) > a .avia-menu-text {
    color: #deea9e !important;
}
.main_menu ul:first-child > li:nth-child(6) > a:hover .avia-menu-text,
.main_menu ul:first-child > li:nth-child(6) > a:active .avia-menu-text,
.main_menu ul:first-child > li:nth-child(6).current-menu-item > a .avia-menu-text {
    color: #c8dc5d !important;
}

/* secondary menu */
.menu-secondary-container {
    position: relative;
    clear: both;
}

#header .avia-custom-sidebar-widget-area .widget {
    padding: 0;
}

#menu-secondary {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: auto;
    float: initial;
}

#menu-secondary li {
    display: table-cell;
    position: relative;
    text-align: center;
    line-height: 0.75em;
}

#menu-secondary li a {
    text-transform: uppercase;
    color: #c2d6c0;
    font-weight: bold;
}

#menu-secondary li a:hover {
    color: #97b394;
}

#menu-secondary li.current-menu-item,
#menu-secondary li.current_page_item,
#menu-secondary li.current-menu-ancestor {
    padding: 0;
    margin: 0;
    left: 0;
    width: auto;
    box-shadow: none;
    background: none;
}
#menu-secondary li.current-menu-item a,
#menu-secondary li.current_page_item a,
#menu-secondary li.current-menu-ancestor a {
    color: #97b394;
}
.widget_nav_menu ul:first-child > .current-menu-item > a,
.widget_nav_menu ul:first-child > .current_page_item > a {
    padding: 0;
}

/* content */
html.html_header_sidebar #wrap_all {
    background: #f8f8f8;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    text-transform: uppercase;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

.entry-content p:first-child {
    margin-top: 8px;
}

.avia_textblock {
    line-height: inherit;
}

.avia_textblock h3 + p {
    margin-top: 0;
}

.avia_textblock h4 + p {
    margin-top: 0;
}

.msp {
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: left;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

body {
    line-height: 1.2em;
}

#top label {
    font-weight: normal;
}

.el_after_av_slideshow .template-page.av-content-full {
    padding-top: 0;
}

.main_color input[type='submit'] {
    background-color: #ccc;
    border-color: #bbb;
    min-width: 180px;
}

.avia-section.avia-builder-el-first .av-content-full {
    padding-bottom: 0;
}

.social_links .avia-button.avia-size-x-large {
    font-size: 24px;
    padding: 5px;
    background-color: transparent !important;
}

.social_links .avia-button.avia-size-x-large:hover {
    transform: scale(1.25);
}

#top .fullsize .template-blog .big-preview img,
.post-entry img {
    max-height: 480px;
    width: auto;
}

/* blog + news */
#top.single-post .fullsize .single-small.with-slider .blog-meta,
#top .fullsize .template-blog .post-title,
#top .fullsize .template-blog .post .entry-content-wrapper {
    text-align: left;
    width: initial;
    max-width: initial;
}

.single-post .single-big a.lightbox-added {
    pointer-events: none;
}

#top .fullsize .template-blog .big-preview {
    padding: 0 0 50px 0;
}

#top .fullsize .template-blog .post-title {
    font-size: 18px;
    padding: 0;
}

#top .fullsize .template-blog .post .entry-content-wrapper {
    font-size: 16px;
}

.av-share-box .av-share-link-description {
    text-align: center;
    display: none;
}

@media only screen and (max-width: 767px) {
    #top .fullsize .template-blog .big-preview {
        padding: 0 0 6vw 0;
    }
}

@media only screen and (max-width: 1600px) {
    .responsive .container {
        max-width: initial;
    }
}

/* gallery */
.avia_desktop .av-hover-overlay-active .av-masonry-image-container {
    opacity: 1;
}
.av-masonry-entry .av-inner-masonry-content {
    width: 100.1%;
}

.av-large-gap .av-masonry-pagination {
    margin: 0 0 0 -15px;
}
h3.av-masonry-entry-title {
    text-transform: none;
}

.av-masonry-gallery .pagination-meta {
    display: none;
}

.av-masonry-gallery .pagination .current {
    background-color: #eee;
}

@media only screen and (max-width: 767px) {
    .av-masonry-gallery figcaption.av-inner-masonry-content {
        display: none !important;
    }
}

/* news, exhibitions, postlist, vita */
.postlist .postlist-time {    
    position: relative;
    width: 64px;
    height: 64px;
    color: #fff;
    font-size: 28px;
    line-height: 22px;
    font-weight: bold;
    overflow: hidden;
    word-spacing: 9999px;
}
.postlist .postlist-time {
    float: left;
}

ul.avia-timeline-vertical {
    width: auto;
}

.av-milestone h2.av-milestone-date {
    text-transform: none;
    font-size: 16px;
    padding: 0 20px 0 0;
}

.av-milestone h2.av-milestone-date strong {
    font-weight: normal !important;
    width: 85px;
}

.avia-timeline-vertical .av-milestone-content-wrap {
    padding: 0;
}
.avia-timeline-vertical .av-milestone-content-wrap h4 {
    margin-bottom: 8px;
}
.avia-timeline-vertical .av-milestone-content-wrap h4 + p {
    margin-top: 0;
}

.avia-timeline-vertical .entry-content-header {
    margin-top: 20px;
}

.avia-timeline-vertical .entry-content-header h4 {
    text-transform: none;
    margin-bottom: 0;
}

.avia-timeline-vertical .av-milestone-icon-wrap {
    display: none;
}

.postlist ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.postlist li {
    list-style: none outside !important;
    margin-left: 0;
}

.postlist .postlist-title {
    font-size: 18px;
}

.postlist .postlist-entry {
    transition: all 0.25s ease;
}

.postlist .postlist-entry:hover .entry-title,
.postlist .postlist-entry:hover {
    color: #333 !important;
}

.postlist .postlist-title,
.postlist .entry-content {
    margin-left: 130px; /* 80 square + 50 padding */
}

.postlist .entry-content-header .postlist-content {
    font-weight: normal;
    margin-top: 0.5em;
}

.postlist .postlist-entry {
    margin-bottom: 1em;
}

.postlist .postlist-entry .postlist-content p {
    margin-top: 0;
}

.postlist hr.postlist-spacer {
    visibility: hidden;
}

.postlist .postlist-entry.postlist-entry-first-of-year + article:not(.postlist-entry-same-year) {
    min-height: 80px;
}

.postlist .postlist-entry .postlist-time {
    box-shadow: inset 0 0 0 2000px #0D754B; 
    text-shadow: none;
    transition: all 0.25s ease;
}

body.page-aktuelles .postlist .postlist-time {
    background-color: #0D754B;
}

body.page-aktuelles .postlist .postlist-entry:hover .postlist-time {
    box-shadow: inset 0 0 0 0px transparent;
    text-shadow:0px 0px 5px rgba(0,0,0,0.48);
}

body.page-ausstellungen .postlist .postlist-time {
    background-color: #F15B40;
}

@media only screen and (max-width: 989px) {
    .av-no-preview ul.avia-timeline-vertical li {
        padding: 0;
    }
    .av-no-preview .avia-timeline-vertical .av-milestone-icon-wrap {
        display: none;
    }
    .av-no-preview .avia-timeline-vertical .av-milestone-content-wrap {
        padding: 0 0 1.5em 0;
    }
    .avia-timeline-vertical.av-milestone-placement-left .av-milestone-contentbox {
        margin-top: 0 !important;
    }
    .av-milestone-content p:first-child {
        margin-top: 0;
    }
    .av-no-preview .avia-timeline-vertical .av-milestone-date {
        display: inline-block;
        padding: 0;
    }

    .avia-timeline-vertical.av-milestone-placement-left .av-milestone-contentbox {
        margin-left: 0;
        margin-top: 1em;
    }

    .postlist .postlist-time {
        margin-right: 100%;
        margin-bottom: 1em;
    }
    .postlist .postlist-title,
    .postlist .entry-content {
        margin-left: 0;
    }
}

/* cookie message */
.avia-cookie-consent a.avia-cookie-consent-button.avia-cookie-close-bar {
    background-color: #b3d234;
    color: #fff;
    border-color: #fff;
}
.avia-cookie-consent a.avia-cookie-consent-button.avia-cookie-hide-notification {
    background-color: #666;
    color: #000;
    border-color: #666;
}
.avia-cookie-consent a.avia-cookie-consent-button.av-extra-cookie-btn {
    border-color: #666; 
}
@media only screen and (max-width: 767px) {
    .avia-cookie-consent a.avia-cookie-consent-button {
        margin: 5px;
    }
}

/* data privacy */
#top .av-toggle-switch input[type="checkbox"]:checked + .toggle-track {
    background-color: #b3d234;
}

#top .av-cookie-disable-external-toggle {
    margin-bottom: 50px;
}