@media (max-width: 1399.98px) {
    body{
        padding-top: 86px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
	body.single-laboratori-ricerca h1 {font-size: 3.2rem; line-height: 3.3rem;}
}

@media (min-width: 992px) and (max-width: 1199px) {
	body.single-laboratori-ricerca h1 {font-size: 2.8rem; line-height: 3rem;}
}

@media ((max-width: 1399.98px) and (max-height: 850px)) {
    #menu-main > li:not(.btn_menu) a{
        font-size: 1.6rem !important;
    }
    #menu-main > li:not(.btn_menu) .sub-menu a{
        font-size: 1.4rem !important;
    }
    #menu-main .menu-item-has-children > a span:after{
        transform: translateY(-50%) rotate(90deg);
        transition: .3s;
    }
    #menu-main .menu-item-has-children > a.menuOpen span:after{
        transform: translateY(-50%) rotate(-90deg);
        transform: .3s;
    }
}
@media (max-height: 850px){
     
    .main-menu{
        padding-top: 0 !important;
    }
    .section_close_menu{
        position: relative !important;
    }
    .menu_page .container.h-100{
        height: auto !important;
    }
    .menu_page {
        overflow-y: scroll;
        height: 100vh;
    }
    #menu-main{padding-bottom: 3rem;}
}

@media (max-width: 1199.98px) {
    .w_25_lg{
        width: 25% !important;
    }
     .sub-menu > li a{
        font-size: 1.4rem !important;
    }
    #menu-main > li > a{
        font-size: 1.6rem !important;
    }
   
    body{
        padding-top: 77px;
    }
	#sticky_sidebar .inner-wrapper-sticky{
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
		margin-top: 3rem;
    }
}




@media (max-width: 991.98px) {
    .nav-pills .nav-link:after, .nav-pills .nav-link:before{display: none;}
    h1, .h1{
        font-size: 3.5rem !important;
        line-height: 3.4rem !important;
    }
    h2, .h2, .h2_mobile{
        font-size: 2.9rem !important;
    }
    h3, .h3, .nav-link, #menu-main > li > a, .h3_mobile{
        font-size: 2rem;
    }
    h4, .h4{
        font-size: 1.8rem;
    }
    .f_big{
        font-size: 8rem;
        line-height: 7rem;
    }
    .w_100_mobile{
        width: 100% !important;
    }
    .position_relative_mobile{
        position: relative !important;
    }
    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal{
        justify-content: center;
    }
    .bg_image_none_mobile{
        background-image: none !important;
    }
    .border_bottom_mobile_1{
        border: 0;
        border-bottom: solid 1px;
    }
    .after_border_vert_1:after{
        display: none;
    }
    .border_mobile_none{
        border: 0px !important;
    }
    .h_300px_mobile{
        height: 500px !important;
    }
    .h_70_mobile{height: 70% !important;}
    .h_30_mobile{height: 30% !important;}
    .accordion-button, .accordion-body{padding-left: 0 !important; padding-right: 0 !important;}
    .top_none_mobile{top: inherit !important;}
    .bottom_0_mobile{bottom: 0 !important;}
    .list_style_none_mobile{list-style: none;}
    .transoform_none_mobile{transform: none !important;}
    .start_none_mobile{left: inherit !important;}
    .border_top_mobile_1{border-top: 1px solid;}
    .submenu_visible{position: relative !important;left: inherit !important;}
    .top_0_mobile{top:0 !important}
    .bottom_0_mobile{bottom: 0 !important;top: inherit !important}
    body{
        padding-top: 83px;
    }
    .main-menu{
        overflow-y: scroll;
        height: 100%;
    }
    .bg_contain_mobile{
        background-size: contain;
    }
    .language-switcher{
        justify-content: flex-start;
    }
    .language-switcher .lang-link{
        color: white;
    }
    #open_menu{
        padding: 0;
        width: 100%;
        height: 2px;
        position: relative;
    }
     #open_menu:before{
        content: '';
        padding: 0;
        width: 17px;
        height: 2px;
        top: -5px;
        left: -1px;
        position: absolute;
        background-color: #004ec1;
        transform: translateY(-50%);
        border-radius: 50px;
    }
     #open_menu:after{
        content: '';
        padding: 0;
        width: 17px;
        height: 2px;
        top: 5px;
        left: -1px;
        position: absolute;
        background-color: #004ec1;
        transform: translateY(-50%);
        border-radius: 50px;
    }
    .width_17_mobile{
        width: 17px;
    }
}

@media (max-width: 767.98px) {
    h1, .h1{
        font-size: 3.2rem !important;
        line-height: 3rem !important;
    }
    h2, .h2, .h2_mobile{
        font-size: 2.4rem !important;
    }
    h3, .h3, .nav-link, .h3_mobile{
        font-size: 1.8rem;
    }
    h4, .h4{
        font-size: 1.5rem;
    }
    h5,.h5{font-size: 1.2rem;}
    .f_big{
        font-size: 5rem;
        line-height: 5rem;
    }
    .h_300px_mobile{
        height: 400px !important;
    }
    .toggle_priv, .toggle_ssn{
        width: 24px;
        height: 50px;
    }
    .toggle_ssn:after{
        left: 50%;
        top: 2px;
        transform: translateX(-50%);
    }
    .toggle_priv:after{
        left: 50%;
        bottom: 2px;
        transform: translateX(-50%);
    }
    .sub-menu > li a{
        font-size: 1.3rem !important;
    }
    #menu-main > li > a{
        font-size: 1.4rem !important;
    }
    
    body{
        padding-top: 0px;
    }
    .site-header-fixed {
        position: relative;
    }
    .banner_dona_ora .btn{
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }
    .banner_dona_ora{
        top: 85% ;
    }
    .search_bar{font-size: 1rem;}
    .page-template-tpl_simple_with_header_and_project_sidebar .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.mobile_33{
        flex-basis: 26% !important
    }
    .w_70_mobile{
        width: 70% !important;
    }
}

@media (max-width: 575.98px) {
    h1, .h1{
        font-size: 2.8rem !important;
        line-height: 2.6rem !important;
    }
    h2, .h2, .h2_mobile{
        font-size: 2.2rem !important;
        line-height: 2rem !important;
    }
    h3, .h3, .nav-link, #menu-main > li a, .h3_mobile{
        font-size: 1.6rem;
    }
    h4, .h4{
        font-size: 1.4rem;
        
    }
    h5, .h5{
        font-size: 1.2rem;
    }
    .f_big{
        font-size: 3rem;
        line-height: 3rem;
    }
    .h_300px_mobile{
        height: 300px !important;
    }
     #menu-main > li a{
        font-size: 1.2rem !important;
    }
    .sub-menu > li a{
        font-size: 1.1rem !important;
    }
}