/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/* Show Accessibility Toolbar Icon */
#pojo-a11y-toolbar.pojo-a11y-toolbar-right .pojo-a11y-toolbar-toggle {
    right: 180px !important;
    width: 40px !important;
}

/* Mouseover bei Bild deaktivieren: */
.no-hover-overlay .avia-image-overlay-wrap:hover .av-image-caption-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
}
.no-hover-overlay .avia-image-overlay-wrap:hover img {
    transform: none !important;
    filter: none !important;
}
.no-hover-overlay .avia-image-overlay-wrap {
    pointer-events: none;
}

.logo img {padding-top:30px;padding-bottom:10px;}

.h-main .av-subheading_below {
   /*text-transform: uppercase;*/
    font-size: clamp(0.9rem, 2vw, 1.8rem) !important;
    letter-spacing: 0.1em;
}

h2 {text-transform: none !important;}

/* Desktop */
@media (min-width: 769px) {
    .h-main h1, .portrait h1 {
        color: white;
        font-size: clamp(2.2rem, 3.5vw, 4rem) !important;
        font-weight: 600 !important;
        text-transform: none !important;
    }
   .portrait h2 {
        color: white;
        text-transform: none !important;
        font-size: clamp(1rem, 2vw, 2rem) !important;
        letter-spacing: 0.1em;
    }
}

/* Mobile & Tablet */
@media (max-width: 768px) {
    .h-main h1, .portrait h1 {
        color: white;
        font-size: clamp(1.6rem, 2.6vw, 2.8rem) !important;
        font-weight: 600 !important;
        text-transform: none !important;
    }
  
     .portrait h2 {
        color: white;
        text-transform: none !important;
        font-size: clamp(1rem, 1.5vw, 1.8rem) !important;
        letter-spacing: 0.1em;
    }

    .hometext h2 {font-size: clamp(1.2rem, 1.8vw, 2rem) !important;}
    .ahk-kontakt {font-size: clamp(1.1rem, 1.8vw, 2rem) !important;}
}

@media (max-width: 480px) {
    div.h-main {
        padding-top: clamp(60px, 10vh, 80px);
    }
}

/* &-Zeichen in Special Heading normal darstellen */
.special_amp {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: serif !important;
  font-weight: 100 !important;
  font-style: inherit !important;
  vertical-align: baseline !important;
}

img.mit-rand {
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  margin-right: 20px !important;
  margin-bottom: 20px !important;
}
h3.mt20 {
    padding-top: 20px !important;
}

div#after_section_1 {display:none;}

a.open-popup-link img {
    transform: scale(1);
    transition: transform 0.3s ease;
    display: block;
}

a.open-popup-link:hover img {
    transform: scale(1.05);
}

/* Ab Tablet/iPhone-Querformat: Spacer-1/4 ausblenden, Mitte auf 100% */
@media (max-width: 989px) {

  /* linke und rechte 1/4-Spalte (Spacer) ausblenden */
  #av_section_1 .flex_column_table.sc-av_one_fourth > .flex_column.av_one_fourth.av-hide-on-mobile {
    display: none !important;
  }

  /* mittlere 1/2-Spalte wird vollbreit */
  #av_section_1 .flex_column_table.sc-av_one_fourth > .flex_column.av_one_half {
    width: 100% !important;
    margin: 0 !important;
  }
}

span.init { font-size: 1.25em; }

#after_section_2 {display:none !important;}

span.kap {font-size:1.4em;}

#notarsiegel {max-width:60%;}

nav.main_menu {display:none !important;}