/*
Theme Name: Meine Lieblinge
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


.bgimage_tuerkis:before{
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100vw + 200vh);
    top: 0;
    background-image: url(img/flaeche_tuerkis.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    left: -100vh;
}
.bgimage_gruen:before{
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100vw + 200vh);
    top: 0;
    background-image: url(img/flaeche_gruen.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    left: -100vh;
}
.bgimage_hellgruen:before{
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100vw + 200vh);
    top: 0;
    background-image: url(img/flaeche_hellgruen.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    left: -100vh;
}
.bgimage_weiss_oben:before{
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100vw + 200vh);
    top: 0;
    background-image: url(img/flaeche_weiss_oben.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    left: -100vh;
}


.bgimage_tuerkis_oben_schraeg:after{
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100vw + 200vh);
    bottom: 0;
    background-image: url(img/flaeche_tuerkis_schraeg_unten.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    left: -100vh;
}

.bgimage_weiss_oben_stage:before{
    content: "";
    position: absolute;
    height: 207px;
    width: 5000px;
    top: 0;
    background-image: url(img/flaeche_weiss_oben_stage.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    left: 0-(calc((5000px - 100vw) / 2));
}


.bgimage_weiss_unten_schraeg:after{
    content: "";
    position: absolute;
    height: 100%;
    width: calc(100vw + 200vh);
    bottom: 0;
    background-image: url(img/flaeche_weiss_unten_schraeg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    left: -100vh;
}


/*
produkte tabelle
*/

/*
tabs
*/
.ml_tabs_classic .nav ul li.active:before,
.ml_tabs_classic .nav ul li:hover:before{
    content:"";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background-image: url(img/tabs_underline.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}
.ml_tabs_bio .nav ul li.active:before,
.ml_tabs_bio .nav ul li:hover:before{
    content:"";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background-image: url(img/tab-title-bg_bio.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}
.ml_tabs_laxx .nav ul li.active:before,
.ml_tabs_laxx .nav ul li:hover:before{
    content:"";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background-image: url(img/tab-title-bg_laxx.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}




#productCarousel .ml_tabs{
    display:none;
}
/*
#productCarousel .awb-swiper-button-prev,
#productCarousel .awb-swiper-button-next*/


#productCarousel .swiper-slide img{

    transition: all 0.25s ease-in;
}
.product_scale_step0{
    -ms-transform: scale(1);
    -moz-transform: scale(1); 
    -o-transform: scale(1); 
    -webkit-transform: scale(1); 
    transform: scale(1); 
}
.product_scale_step1{
    -ms-transform: scale(.85);
    -moz-transform: scale(.85); 
    -o-transform: scale(.85); 
    -webkit-transform: scale(.85); 
    transform: scale(.85); 
}
.product_scale_step2{
    -ms-transform: scale(.65);
    -moz-transform: scale(.65); 
    -o-transform: scale(.7); 
    -webkit-transform: scale(.65); 
    transform: scale(.65); 
}
.product_scale_step3{
    -ms-transform: scale(.55);
    -moz-transform: scale(.55); 
    -o-transform: scale(.55); 
    -webkit-transform: scale(.55); 
    transform: scale(.55); 
}
.product_scale_step4{
    -ms-transform: scale(.40);
    -moz-transform: scale(.40); 
    -o-transform: scale(.40); 
    -webkit-transform: scale(.40); 
    transform: scale(.40); 
}


/*
    recipe
*/

.ml_recipe_photoframe_img{
    position:absolute !important;
    top:8%;
    left:11.2%;
    width:79.7%;
}
.ml_recipe_photoframe_title{
    position:absolute !important;
    bottom:2.5%;
    left:11.2%;
    z-index: 100;
    width: 80%;
    opacity:0.7!important;

    height:17%;
    display: table !important;
}
.ml_recipe_photoframe_title h3{
    display: table-cell !important;
    vertical-align: middle !important;
}


.ml_recipe_photoframe:nth-child(1) .ml_recipe_photoframe_title{
    -ms-transform: rotate(1deg);
    -moz-transform: rotate(1deg); 
    -o-transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
    transform: rotate(1deg); 
  
}
.ml_recipe_photoframe:nth-child(2) .ml_recipe_photoframe_title{
    -ms-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
    -o-transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
}
.ml_recipe_photoframe:nth-child(3) .ml_recipe_photoframe_title{
    -ms-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
  
}

.ml_recipe_photoframe:nth-child(1){
    -ms-transform: rotate(-7deg);
    -moz-transform: rotate(-7deg); 
    -o-transform: rotate(-7deg);
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg); 
}
.ml_recipe_photoframe:nth-child(2){
    -ms-transform: rotate(10deg);
    -moz-transform: rotate(10deg); 
    -o-transform: rotate(10deg);
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg); 
    margin-top:35px!important;
}
.ml_recipe_photoframe:nth-child(3){
    -ms-transform: rotate(6deg);
    -moz-transform: rotate(6deg); 
    -o-transform: rotate(6deg);
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg); 
    margin-top:5px!important;
}




.recipe_image{
    position: relative;
    overflow: visible !important;
    -webkit-transform:rotate(3deg);
    -moz-transform:rotate(3deg);
    -ms-transform:rotate(3deg);
    -o-transform:rotate(3deg);
    transform:rotate(3deg);
}
/*
.recipe_image img{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}*/
.recipe_image:before{
    content:"";
    width:102px;
    height:93px;
    position: absolute;
    top:-40px;
    left:-40px;
    background-image: url(img/klebeecke.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}
.recipe_image:after{
    content:"";
    width:102px;
    height:93px;
    position: absolute;
    bottom:-50px;
    right:-40px;
    background-image: url(img/klebeecke.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
}

.pom-default {
    background-image: url('img/print-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: relative;
    margin-left:25px;
}
.pom-default:after{
    content:"Rezept ausdrucken";
    font-family: "AYearWithoutRain";
    font-size: 14px;
    white-space:  nowrap;
    position: absolute;
    bottom:-22px;
    margin-left: -100%;
}
@media print {
    .fusion-tb-header{
         display:none !important;
     }
      #section-to-print {
        margin:0;
     padding:0;
       left: 0;
       top: 0;
      }
      h1,h2{
          font-size:60% !important;
      }
      p{
          font-size:80% !important;
      }
       #section-to-print>div>div>div{
           padding-top:0;
           padding-bottom:0;
           padding-left:5%;
           padding-right:5%;
           margin:5%;;
       }
       body{
              padding:0;
              
       }
       .printomatic{
        display:none !important;
       }
}




.ml_zutaten ul{
    padding-inline-start: 20px !important;
}


/*
 blog
*/
.ml_magazin_blog .fusion-grid li.post-card:nth-child(n+4) .fusion-column-wrapper{

    width:80%;
  
}
.ml_magazin_blog .fusion-grid li.post-card:nth-child(2n+3) .fusion-column-wrapper{

    width:70%;
    
}
.ml_magazin_blog .fusion-grid li.post-card:nth-child(3n+2) .fusion-column-wrapper{

    width:60%;

}
.ml_magazin_blog .fusion-grid li.post-card:nth-child(4n+1) .fusion-column-wrapper{

    width:50%;
  
}

.ml_magazin_blog .fusion-grid li.post-card .fusion-column-wrapper {

     margin:auto;
  
}

.ml_magazin_blog .fusion-grid li.post-card:nth-child(4n+1) p,
.ml_magazin_blog .fusion-grid li.post-card:nth-child(4n+1) h2
{
    text-align:right;
}



/*
form
*/


.fusion-form-form-wrapper .fusion-form-field .fusion-form-checkbox input:hover:not(:checked)+label:before {
    border-color: #00afaa !important; 
}
.fusion-form-form-wrapper .fusion-form-field .fusion-form-checkbox input:checked+label:before {
    border: 1px solid  #00afaa !important; 
}


.fusion-form-form-wrapper .fusion-form-field .fusion-form-checkbox input:checked+label:after {
    background:  #00afaa !important; 
    top:10px !important; 
}
.fusion-form-form-wrapper .fusion-form-field .fusion-form-checkbox label:before {
    top:10px !important; 
}



/*
font-size helper
*/

.dynfont_postheadline{
    font-size: clamp(30px, 4vw, 50px) !important;
    line-height:1.2 !important;
}

/*
sticky header
*/
.stickyheader{
    width:100% !important;
}

.bgimage_weiss_oben_stage_sticky:after{
    content: "";
    position: absolute;
    height:61px;
    width: 100vw;
    left: 0;
    background-color: #ffffff;
    z-index:1;
}
.bgimage_weiss_oben_stage_sticky:before{
    content: "";
    position: absolute;
    height: 207px;
    width: 5000px;
    top: 60px;
    background-image: url(img/demolition_white_top.png);
    background-repeat: no-repeat;
    background-position: top center;
    left: 0-(calc((5000px - 100vw) / 2));
    z-index:1;
    pointer-events: none;
     filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.15));
}


/*

redesign 2025
*/
.rotate_7_left {
    transform: rotate(-7deg);
}.rotate_3_right {
    transform: rotate(3deg);
}
.rotate_5_right {
    transform: rotate(5deg);
}
.schnippel{
    cursor: pointer;
}




.bg_abriss_oben_weiss25:before{
    content: "";
    position: absolute;
    height:47px;
    width: 100vw;
    bottom: 0;
    background-image: url(img/abriss-weiss-oben.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    left:0;
}
.bg_abriss_unten_weiss25:after{
    content: "";
    position: absolute;
    height:97px;
    width: 100vw;
    top: 0;
    background-image: url(img/abriss-weiss-unten.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    left:0;
}

/*
problem verschachtelte tabs
*/
.specrow{
    float:none !important;
    clear: both !important;
    width: 100% !important;
}

/*
rezepte 25
*/
.oval-frame{
    display: inline-block;
      padding: 1em 2em;
      border: 2px dashed #008080; /* Farbe wie im Beispiel */
      border-radius: 50% / 40%;    /* macht die Form oval */
      transform: rotate(-3deg);    /* sorgt für die leichte Schräglage */
      font-family: 'Arial', sans-serif;
      font-size: 1.5em;
      color: #008080;
      text-align: center;
      margin: 2em auto;
}


/*
maskierter abriss
*/
.masked_div:before {
    content: "";
    position: absolute;
    height:100px;
    width: 100vw;
    top: 0;
    background-image: url(img/pattern.jpg);
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: repeat;
    background-size: auto;
    left:0;

    /* Maske mit PNG */
  -webkit-mask-image: url(img/abriss-weiss-unten.png); /* für Chrome/Safari */
  mask-image: url(img/abriss-weiss-unten.png);         /* für Firefox */

  /* Optional: Maske anpassen */
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;

  -webkit-mask-size: contain;
  mask-size: contain;

  -webkit-mask-position: top center;
  mask-position: top center;
}

#flying_nav{
    /*overflow: visible !important;
    width:calc(50vw - 50px) !important;*/
}
#flying_nav ul{
    justify-content: start !important;
    align-items: start !important;
    flex-direction: column !important;
}
#flying_nav ul li{
  width: auto !important;
  overflow: visible !important;
  height:64px !important;
}
#flying_nav ul li .fusion-text{
     height:40px !important;
     width: auto;
    padding-right: 10px !important;
}

#flying_nav ul li .fusion-text p{
    margin: 0 !important;
    line-height: 40px !important;
    padding:0 20px 0 120px !important;
}
#flying_nav ul li .fusion-text p:before{
    content: "";
    position: absolute;
    z-index: -1 !important;
    width: calc(100%);
    height: 40px !important; 
    background-color: #00afaa !important; 
    border-bottom-right-radius: 20px !important;
    border-top-right-radius: 20px !important;
    left: 0px !important;

}

#flying_nav ul li .fusion-text{
    transition: all 0.25s ease-in-out;
   transform: translateX(-200px);
    opacity: 0;
}
#flying_nav ul li:hover .fusion-text{
    transform: translateX(-100px);
    opacity: 1;
}
html {
  scroll-behavior: smooth;
}


/*
.floating_navi .fusion-imageframe{
    transition: all 0.35s ease-in-out;
    transform-origin: center center !important;
}
.floating_navi:hover .fusion-imageframe{
    transform: scale(1.3);
}

*/
.mega_menu_product_arrow img{
    width:clamp(50px,10vw,100px) !important;
}

.mega_menu_product_cardgrid ul{
    justify-content: center;
}