/* RESPONSIVE SCALING LAYOUT */

@media (max-width: 1600px) {
    body .inert_tab .e-con-inner::before {--width-sticky: 100px;margin-bottom: -68px;}
    body .mps_tab .e-con-inner::before {--width-sticky: 127px;margin-bottom: -92px;}

}
@media (max-width: 1530px) {
    body .inert_tab .e-con-inner::before, body .mps_tab .e-con-inner::before {content: unset;}
    body .area_patu::before {right: 0;left: 100%;top:20px;}
    body .area_alessano::before {left: 0;top:20px;}

}
@media (max-width: 1440px) {
    body header .elementor-widget-site-logo .elementor-widget-container {padding-right: 0 !important;}
    body header .hfe-site-logo .hfe-site-logo-container img {max-width: 190px;}
    body header .elementor-widget-button {margin-left: 0 !important;}
    body header .main-navigation ul li:not(.menu-item-has-children) > a {padding-right: 3px !important;}

}
@media (max-width: 1366px) {
    body header .elementor-button.elementor-button-link {padding: 10px 14px;}
    body header .header-absolute .elementor-element.e-flex.e-con-boxed.e-con {padding: 0 10px;}
    body header .hfe-site-logo .hfe-site-logo-container img {max-width: 150px;}

}
@media (max-width: 1280px) {
    body header .hfe-site-logo .hfe-site-logo-container img {max-width: 130px;}
    body header .elementor-button.elementor-button-link {padding: 10px 15px;}

}
@media (max-width: 1200px) {
    body #menu-principale > li > ul button {left: calc( 100% - 52px );}

    body header #button_menu {position: absolute;right: 0;}
    body header #hamb_menu_div {position: absolute;z-index: 999;}
    body header .hfe-site-logo .hfe-site-logo-container img {max-width: 200px;}
    body header #hamb_menu > div {padding: 0;}
    body header #hamb_menu > div .menu-mobile-nav-button {padding: 13px 15px 13px 15px;}
    body nav.mobile-menu-tab.mobile-navigation {padding-right: 0;padding-left: 0;}
    body nav.mobile-navigation ul > li.menu-item > a{padding-left:30px;padding-right: 30px;}
    body .mobile-navigation .dropdown-toggle, .mobile-navigation-categories .dropdown-toggle {padding-right: 30px;padding-left: 30px;}
    body .current_page_item.current-menu-parent.current_page_parent > a {background: var(--e-global-color-primary);color: white !important;}
    body .current_page_item.current-menu-parent.current_page_parent .dropdown-toggle {color: white;}
    body .mobile-menu-tab.mobile-navigation .sub-menu a {padding-left: 60px !important;color: var(--e-global-color-accent) !important;}
    body #button_menu a {border-radius: 10px;}

}
@media (max-width: 1110px) {
    
}
@media (max-width: 1023px) {
    body .hfe-page-title.hfe-page-title-wrapper h1 {font-size: 60px !important;}
    
    html body :where(.btn_download, .btn_bim) .elementor-button-content-wrapper {flex-direction: column !important;gap: 0px !important;}
    html body :where(.btn_download, .btn_bim) .elementor-button-content-wrapper .elementor-button-icon {height: 25px;}
    body .inte_bim, body .btn_bim {width: 11% !important;}
    body .inte_download, body .btn_download {width: 15% !important;}
    body .imgg a img {width: 100%;height: 140px !important;}
    body .imgg {background-color: white;}
    body .autob_tab .row_autob {justify-content: space-between;}


}
@media (max-width: 991px) {
    
}
@media (max-width: 767px) {
    body .autob_tab .row_autob {flex-wrap: nowrap;padding-top: 15px;padding-bottom: 15px;}
    body .btn_bim a, body .btn_download a{padding-left: 10px !important;padding-right: 10px !important;}

    body .inert_tab .e-con-inner::before {display: none;}
    body .mps_tab .e-con-inner::before {display: none;}
    body .inert_tab, body .mps_tab {padding: 0 10px;}

    body .inte_autob .elementor-heading-title {font-size: 19px !important;}
    body .inte_autob > div {border-radius: 0;}
    body .inte_autob > div:first-child {border-radius: 20px 0 0 0;}
    body .inte_autob > div:last-child {border-radius: 0 20px 0 0;}
    /* body .autob_tab > div {width: max-content !important;max-width: max-content !important;}
    body .inte_autob {padding: 0;}
    body .autob_tab .row_autob *, body .autob_tab .inte_autob *, body .autob_tab .row_autob .elementor-button {padding: 0 10px 0 0 !important;}
    body .autob_tab {overflow-x: scroll;} */
    body .autob_tab .row_autob .elementor-button svg {padding: 0 !important;}
    
    body .autob_tab .row_autob .elementor-button .elementor-button-text {display: none;}
    body .autob_tab .row_autob .elementor-button .elementor-button-content-wrapper {gap: 0px;align-items: center;}
    body .autob_tab > div > div > div {width: calc(37.5% - 10px) !important;}
    body .autob_tab > div > div > div.inte_download, body .autob_tab .btn_download {width: 25% !important;}
    body .autob_tab .inte_autob > div {padding-right: 0;padding-left: 0;}
    body .autob_tab > div > div {gap: 10px;}
    body .autob_tab .inte_desc, body .autob_tab .desc_campo, body .autob_tab .campo_tipo, body .autob_tab .inte_tipo {display: none;}
    
    body .inert_tab *, body .inert_tab .inte_inerti *,
    body .mps_tab  *, body .mps_tab .inte_mps * {font-size: 19px !important;}
    
    body p {font-size: 18px;}
    body .gallery_com .gallery.gallery-columns-3 .gallery-item {width: 50%;}

    /* body .inert_tab > div, body .mps_tab > div {width: max-content !important;max-width: max-content !important;}
    body .inert_tab, body .mps_tab {overflow-x: scroll;}
    body .inert_tab .row_inerti > div {width: 16.6% !important;}
    body .mps_tab .row_mps > div {width: 16.6% !important;} */
    body div[class*="uni_"] img {max-width: 80px;}

    body .autob_tab .intes_img, body .autob_tab .inte_finitura, body .autob_tab .finitura, body .autob_tab .imgg {display: none;}
    
    /*test*/
    body .inte_mps, body .inte_inerti {position: sticky;top: 0;z-index: 9999999;}

    body .mps_tab .row_mps .imgg {display: none;}
    body .mps_tab .intes_uni, body .mps_tab .intes_img {display: none;}
    body .mps_tab .row_mps .nomee, body .mps_tab .row_mps .mmm {width: 50%;}
    body .mps_tab .row_mps div[class*="uni_"] {width: 33.33%;margin-top: 10px;margin-bottom: 10px;}
    body .mps_tab .row_mps {padding-top: 20px;}

    body .inert_tab .row_inerti .imgg {display: none;}
    body .inert_tab .intes_uni, body .inert_tab .intes_img {display: none;}
    body .inert_tab .row_inerti .nomee, body .inert_tab .row_inerti .mmm {width: 50%;}
    body .inert_tab .row_inerti div[class*="uni_"] {width: 33.33%;margin-top: 10px;margin-bottom: 10px;}
    body .inert_tab .row_inerti {padding-top: 20px;}
    body .row_inerti .nomee p, body .row_inerti .mmm p, body .row_mps .nomee p, body .row_mps .mmm p {font-weight: bold;}

    body h2.elementor-heading-title {font-size: 38px !important;line-height: 1.3 !important;}
    body h3.elementor-heading-title {font-size: 35px !important;line-height: 1.3 !important;}
    body .hfe-page-title.hfe-page-title-wrapper h1 {font-size: 50px !important;}

}
@media (max-width: 645px) {
    html body :where(.btn_download, .btn_bim) .elementor-button-content-wrapper .elementor-button-icon {width: 35px;}
    body .blocco-fis_cta {max-width: 100%;border-top-left-radius: 0px;}

    body h2.elementor-heading-title {font-size: 33px !important;line-height: 1.3 !important;}
    body h3.elementor-heading-title {font-size: 30px !important;line-height: 1.3 !important;}
    body .int_codice .elementor-heading-title, body .int_nome .elementor-heading-title {font-size: 25px !important;}
    body #copyrights_footer p {font-size: 15px !important;}

    body .row.form_contatti .column-50.privacy {flex: 60%;}
    body .row.form_contatti .column-50.wpcf7-button {flex: 40%;}
    body .hfe-page-title.hfe-page-title-wrapper h1 {font-size: 40px !important;}

}
@media (max-width: 479px) {
    body header .hfe-site-logo .hfe-site-logo-container img {max-width: 170px;}
    body h2.elementor-heading-title {font-size: 30px !important;line-height: 1.3 !important;}
    body h3.elementor-heading-title {font-size: 27px !important;line-height: 1.3 !important;}
    
}
@media (max-width: 399px) {
    
}
@media (max-width: 364px) {
    
}