/*
Theme Name: mamma lucia
Description: Child theme for Avada theme
Author: Applexx
Author URI: https://www.applexx.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/



:root {
    --awb-color1:#fff;
    --awb-color3: #cc071e;
  }


  /*
  white bg link color
  */
  .white_bg a{
    color:#000 !important;
  }
  .white_bg a:hover{
    text-decoration: underline  !important;
  }

/*
polylang current language
*/
.current-lang a{
    font-weight:bold !important;
}
li.lang-item{
    margin-left:0px !important;
}
li.lang-item-first{
    margin-left:60px !important;
}



/*
lightbox
*/
.ilightbox-container{
    height:80vh !important;
}
.ilightbox-holder{
    top:10vh !important;
}
.ilightbox-loader.metro-white{
          display:none !important;
}

.ml_button_red{
    background-color: var( --awb-color3)  !important;
    border-color:var( --awb-color3)   !important;
     
}
.ml_button_red span{ 
     color: var( --awb-color1)  !important;
}
.ml_button_red:hover{
    background-color: var( --awb-color1)  !important;
}
.ml_button_red:hover span{
    color: var( --awb-color3)  !important;
}



#ml_lightbox_close{
    cursor: pointer;
}
.ilightbox-overlay{

    opacity: 0.75  !important;
    background: #000  !important;

}

/*
lighbox close outside
*/
.ilightbox-toolbar.metro-white,
.ilightbox-fullscreen{
    display:none !important;
}
/*
.ilightbox-toolbar.metro-white{
    display:block !important;
    height: 40px !important;
    width: 40px !important;
    top:50vh !important;
    right:50% !important;
    margin-right:-642px !important;
    margin-top:calc(-50px - 40vh);
    left:initial !important;
}
@media only screen and (max-width: 1422px){

    .ilightbox-toolbar.metro-white{
        margin-right:0 !important;
        right:4% !important;
    }
}*/




.ml_ilightbox-close{
    background:none;
    top:-50px;
    right:0;
    position:absolute;
    display: block !important;
    width:35px !important;
    height:35px !important;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g id="ICONS-24Px-close" serif:id="ICONS/24Px/close" transform="matrix(0.869565,0,0,0.869565,0,0)"><path id="Path-2" d="M46,0C15.333,30.667 0,46 0,46" style="fill:rgb(0,0,167);"/><path d="M44.939,-1.061C14.273,29.606 -1.061,44.939 -1.061,44.939L1.061,47.061C1.061,47.061 16.394,31.727 47.061,1.061L44.939,-1.061Z" style="fill:white;"/><g id="Path-21" serif:id="Path-2" transform="matrix(7.04481e-16,1,-1,7.04481e-16,46,-1.77636e-14)"><path d="M46,-0C15.333,30.667 -0,46 -0,46" style="fill:rgb(0,0,167);"/></g><g transform="matrix(7.04481e-16,1,-1,7.04481e-16,46,-1.77636e-14)"><path d="M44.939,-1.061C14.273,29.606 -1.061,44.939 -1.061,44.939L1.061,47.061C1.061,47.061 16.394,31.727 47.061,1.061L44.939,-1.061Z" style="fill:white;"/></g></g></svg>');
    background-size:contain;
    background-repeat:no-repeat;
    z-index:10000;
    cursor:pointer;
    pointer-events: all;
}
.ml_ilightbox-close:hover{
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g id="ICONS-24Px-close" serif:id="ICONS/24Px/close" transform="matrix(0.869565,0,0,0.869565,0,0)"><path id="Path-2" d="M46,0C15.333,30.667 0,46 0,46" style="fill:rgb(204,7,30);"/><path d="M44.939,-1.061C14.273,29.606 -1.061,44.939 -1.061,44.939L1.061,47.061C1.061,47.061 16.394,31.727 47.061,1.061L44.939,-1.061Z" style="fill:rgb(204,7,30);"/><g id="Path-21" serif:id="Path-2" transform="matrix(7.04481e-16,1,-1,7.04481e-16,46,-1.77636e-14)"><path d="M46,-0C15.333,30.667 -0,46 -0,46" style="fill:rgb(0,0,167);"/></g><g transform="matrix(7.04481e-16,1,-1,7.04481e-16,46,-1.77636e-14)"><path d="M44.939,-1.061C14.273,29.606 -1.061,44.939 -1.061,44.939L1.061,47.061C1.061,47.061 16.394,31.727 47.061,1.061L44.939,-1.061Z" style="fill:rgb(204,7,30);"/></g></g></svg>');

}



/*
content boxen abstand
*/

.ml_inner_box_grid.fusion-layout-column>div.fusion-column-wrapper{
    margin-left:235px;
    margin-right:235px;
}
.ml_inner_box.fusion-layout-column>div.fusion-column-wrapper{
    margin-left:150px;
    margin-right:150px;
}
.ml_inner_box_left.fusion-layout-column>div.fusion-column-wrapper{
    margin-left:150px;
}
.ml_inner_box_right.fusion-layout-column>div.fusion-column-wrapper{
    margin-right:150px;
}

@media only screen and (max-width: 1500px){

    
    .ml_inner_box_grid.fusion-layout-column>div.fusion-column-wrapper{
        margin-left:calc((100vw - 640px) * (235 - 0) / (1500 - 640) + 0px);
        margin-right:calc((100vw - 640px) * (235 - 0) / (1500 - 640) + 0px);
                  
    }
    .ml_inner_box.fusion-layout-column>div.fusion-column-wrapper{
        margin-left:calc((100vw - 640px) * (150 - 0) / (1500 - 640) + 0px);
        margin-right:calc((100vw - 640px) * (150 - 0) / (1500 - 640) + 0px);          
    }
    .ml_inner_box_left.fusion-layout-column>div.fusion-column-wrapper{
        margin-left:calc((100vw - 640px) * (150 - 0) / (1500 - 640) + 0px);
    }
    .ml_inner_box_right.fusion-layout-column>div.fusion-column-wrapper{
        margin-right:calc((100vw - 640px) * (150 - 0) / (1500 - 640) + 0px);          
    }
    
}
@media only screen and (max-width: 640px){

    .ml_inner_box_grid.fusion-layout-column>div.fusion-column-wrapper,
    .ml_inner_box.fusion-layout-column>div.fusion-column-wrapper,
    .ml_inner_box_left.fusion-layout-column>div.fusion-column-wrapper,
    .ml_inner_box_right.fusion-layout-column>div.fusion-column-wrapper{
        margin-left: 1.92% !important;
        margin-right: 1.92% !important;
    }


}


/*
product grid
*/
.ml_square_element{
    aspect-ratio: 1 / 1; 
}/*
.pagination{
    display: none !important; 
}*/

.post_cards_elem1 ul li {
  display: none !important; 
}

@media only screen and (max-width: 640px){
    .post_cards_elem1 ul li:nth-child(-n+1) {
        display: flex !important;
    }
    .post_cards_elem2 ul li:nth-child(-n+1) {
        display: none !important;
    }
}
@media only screen and (min-width: 641px){
    .post_cards_elem1 ul li:nth-child(-n+2) {
        display: flex !important;
    }
    .post_cards_elem2 ul li:nth-child(-n+2) {
        display: none !important;
    }
}
@media only screen and (min-width: 1025px){
    .post_cards_elem1 ul li:nth-child(-n+4) {
        display: flex !important;
    }
    .post_cards_elem2 ul li:nth-child(-n+4) {
        display: none !important;
    }
}

/*
product details
*/
.ml_prod_img{
    -webkit-box-shadow: 0px 5px 15px 1px rgba(0,0,0,0.24); 
    box-shadow: 0px 5px 15px 1px rgba(0,0,0,0.24);
}
.ml_prod_table_container p{
    font-size:16px;
}


/*
toggles
*/
.fusion-accordian .panel-title a.active,
.fusion-accordian .panel-title a:hover{
    color:#000000 !important;
}
.ml_toggles .fusion-toggle-heading{
    color:#000000 !important;  
}
.ml_toggles .fusion-panel:nth-child(1){
    border-top-style: solid !important;  
    border-top-width: 1px !important;  
    border-top-color: rgb(204, 7, 30) !important;  ;
}



.pom-default {
    background-image: url('img/print.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: relative;

}


@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;
              
       }
   }
   


/*
header logo
*/
.pos_absolute{
    position:absolute  !important;
}



 /*
footer
*/
.ml_footer>div{
    max-width:1500px !important;
}
.malu_nomargin p{
    margin:0 !important;
}


/*
kein widget im iframe
*/

.produkt-template-default #BorlabsCookieWidget{
    display:none !important;
}


/*
prodcat
*/

.ml_cat_hl{
    font-size: min(8vw, 85px) !important;
}
.ml_cat_sl{
    font-size: min(6vw, 42px) !important;
}

.h2_responsiv{
    font-size: min(5vw, 32px) !important;
}




/*
    slider
*/
.full-width-slider,
.full-width-slider div.background{
    max-height:50vh !important;
    height:50vh !important;
}

.slide-content-container {

}
.slide-content{
    padding-left:114px;
}
@media only screen and (max-width: 1024px){
    .slide-content{
        padding-left:calc((100vw - 640px) * (120 - 0) / (1500 - 640) + 0px);
    }
}
/*

.slide-content-container {
    padding: 0 30px !important;
    margin-left: calc(-4% / 2 ) !important;
    margin-right: calc(-4% / 2 )  !important;
}

.slide-content{
    width:100% !important;
    max-width:1500px !important;
    padding:0 150px ;
    
}

@media only screen and (max-width: 1024px){
    .slide-content{
        padding-right:0;
        padding-left:30px;
        width:auto !important;
        margin-left:calc((100vw - 640px) * (120 - 0) / (1500 - 640) + 0px) !important;
        margin-right:30px !important;
    }
}

*/

.slide-content .fusion-title-heading {
    text-shadow: rgb(0, 0, 0) 2px 2px 15px;
    text-transform: uppercase;
}
.slide-content .fusion-title-heading h1,
.slide-content .fusion-title-heading h3 {
    text-shadow: rgb(0, 0, 0) 0px 0px 15px;
}
.slide-content h1.fusion-title-heading {
    font-size: min(8vw, 85px) !important;
}


/*
print products
*/

#prod-section-to-print-big,
#printmebig,
#prod-section-to-print-small,
#printmesmall{
  display:none;
}

#prod-section-to-print-small table tr th,
#prod-section-to-print-small table tr td,
#prod-section-to-print-big table tr th,
#prod-section-to-print-big table tr td{
  padding:5px !important;
  font-size:13px !important;
 line-height:13px !important;
}

#prod-section-to-print-small strong,
#prod-section-to-print-big strong{
    font-weight:600 !important;
}