@media (min-width: 992px) {
    .slide .slide__content--headings .titolo-big-comab p {
        font-size: 40px;
    }
}

@media (max-width: 1800px) {
    .banner_slider.banner_slider_wide {
      max-width: 88%;
      margin: 0 auto;
  }
}

@media (max-width: 1400px) {
    .banner_slider.banner_slider_wide {
      max-width: 100%;
      margin: 0 auto;
  }
  .banner_slider_wrapper .slider-textarea, .banner_slider_wrapper .slider-social-links-wrapper { display: none; }

}




@media only screen and (max-width: 1200px){ 

  .lg-hide { display: none ; }
  .banner_slider.banner_slider_wide { 
      max-width: 100%;
      margin: 0;
      padding: 0;
  }
  .site-description h2, .site-description h2:before { display: none; }

  .slide .ttm-btn {
      font-size: 12px;
  }
  .slide .ttm-btn.ttm-btn-size-md:not(.btn-inline) {
      padding: 12px 21px 12px 21px;
  }
  .slide .ttm-icon.ttm-icon_element-size-xs {
      height: 36px;
      width: 36px;
      line-height: 36px;
  }

  .slide .fbox { bottom: 45%; }
  .slide .fbox {
      padding: 25px 20px;
      color: rgb(255, 255, 255);
      width: 200px;
      height: 150px;
  }
  .slide .fbox h6 { line-height: 40px; font-size: 30px; }
  .overlay_banner_header .slide .slide__content { padding-top: 0; }


}
@media only screen and (max-width: 1024px){
  .banner_slider .slide {
      height: 460px;
  }

  .slide .slide__content--headings h2 {
      font-size: 44px;
      line-height: 40px;
  }
  .banner_slider_2 .slide .slide__content--headings h2 { font-size: 70px; line-height: 90px; }


}

@media only screen and (max-width: 991px){ 
  .md-hide { display: none ; } 
  .slide .slide__content--headings h2 {
      font-size: 34px;
      line-height: 40px;
  }

  .banner_slider_2 .slide .slide__content--headings h2.border_text { font-size: 120px; line-height: 140px; }
  .banner_slider_2 .slide .slide__content--headings h2 { font-size: 60px; line-height: 70px; }
  .banner_slider_2 .slide .slide__content--headings > span.border_text { font-size: 55px; line-height: 70px; }
  .banner_slider_3 .slide .slide__content--headings h2 { font-size: 60px; line-height: 65px; margin-bottom: 15px; }

}

@media only screen and (max-width: 767px){

    .sm-hide { display: none !important; }

    .banner_slider .slide { height: 420px; }

    .slide .slide__content--headings > h3 { font-size: 14px; }
    .slide .slide__content--headings > h3:before { width: 21px; left: -35px; }
    .slide .slide__content--headings > h3:after {  width: 21px; right: -35px; }
    .slide .slide__content--headings h2 { font-size: 30px; line-height: 38px; }
    .slide .slide__content--headings p { font-size: 14px; }

    .banner_slider_2 .slide .slide__content--headings h2.border_text { font-size: 80px; line-height: 100px; }
    .banner_slider_2 .slide .slide__content--headings > span { font-size: 17px; }

    .banner_slider_2 .slide .slide__content--headings h2 { font-size: 45px; line-height: 65px; margin-bottom: 15px; }
    .banner_slider_2 .slide .slide__content--headings > span.border_text { font-size: 35px; line-height: 50px; }
    .banner_slider_3 .slide .slide__content--headings h2 { font-size: 45px; line-height: 55px; margin-bottom: 15px; }

}


@media only screen and (max-width: 600px){

    .banner_slider .slide { height: 320px; }

    .slide .ttm-btn { font-size: 10.5px; }
    .slide .ttm-btn.ttm-btn-size-md:not(.btn-inline) {
        padding: 10px 22px;
    }

    .slide .slide__content--headings p { display: none; }

    .banner_slider_2 .slide .slide__content--headings h2.border_text { font-size: 60px; line-height: 80px; }
    .banner_slider_2 .slide .slide__content--headings > span { font-size: 15px; }

    .banner_slider_2 .slide .slide__content--headings > span.border_text { font-size: 25px; line-height: 40px; }
    .banner_slider_2 .slide .slide__content--headings h2 { font-size: 30px; line-height: 40px; margin-bottom: 0; }

    .banner_slider_3 .slide .slide__content--headings .highlight_text { font-size: 17px; margin-bottom: 15px; }
    .banner_slider_3 .slide .slide__content--headings .highlight_text::after { height: 14px; bottom: 0; left: -10px; right: -10px; }
    .banner_slider_3 .slide .slide__content--headings h2 { font-size: 30px; line-height: 34px; margin-bottom: 10px; }


}

@media only screen and (max-width: 400px){
    .banner_slider .slide {
        height: 300px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .banner_slider .slide {
      height: 600px;
  }

}




@media (min-width: 576px) {
    #photogallery {
        height: 313px;
        width: 267px;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    #photogallery {
        height: 423px;
        width: 361px;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    #photogallery {
        height: 365px;
        width: 311px;
        object-fit: cover;
    }
}

@media (min-width: 1200px) {
    #photogallery {
        height: 447px;
        width: 381px;
        object-fit: cover;
    }
    
    .menu-container {
        display: flex;
        align-items: center;
    }
    
    .menu-container > *:nth-last-of-type(3) {
        border-left: 2px solid grey;
        padding-left: 10px;
        border-top: none;
        padding-top: unset;
    }
    .menu-container > *:nth-last-of-type(4) {
        margin-right: 10px;
    }
}

@media (min-width: 1400px) {
    #photogallery {
        height: 392px;
        width: 334px;
        object-fit: cover;
    }
}