

@media screen and (max-width: 1024px) and (min-width: 992px){
    .navbar.navbar-default .container{padding: 0px;}
    .nav>li>a {
        margin-left: 10px;
    }
    .navbar-fixed-top li a {
        font-size: 15px;
    }
    #linee .nav.nav-pills li a{font-size: 20px;}
    .banner_small{bottom: 70px;}

}
@media screen and (max-width: 991px) and (min-width: 768px){
    #carousel-sliderhome{margin-top: 110px;}
    .main-message h1{font-size: 35px;}
    .hero-overlay, .slider_news {
        height: 530px;
    }
    .navbar-fixed-top li a {
        font-size: 17px;
    }
    .navbar-right{float: left !important;}
    .container.linee .nav.nav-pills li a{font-size: 18px;}

    .navbar.navbar-default .col-md-10.col-sm-12.col-xs-12, .navbar.navbar-default .container,
    .navbar.navbar-default .col-md-10.col-sm-12.col-xs-12 .navbar-collapse{
        padding: 0px;
    }
    .navbar-collapse .navbar-nav.navbar-right:last-child {
        margin-right:0px;
    }
    .hero-overlay {
        height: auto;
    }
    #preventivo .hero-overlay {
        height: 530px;
    }
    .box-servizio.icona{

        display: block;
        height: auto;
        max-width: 100%;
    }
    .content_linee {
        padding: 0px 30px;
    }
    section.container.linee .content_elenco_linee .col-md-2, section.container.linee .col-md-7{padding-left: 15px;}
    .navbar.navbar-default.navbar-fixed-top.navbar-scroll-changed.fixed-header .branding img#logo{max-width: 100% !important;}
}


@media (max-width: 768px){
    #carousel-sliderhome{display: none;}
    .navbar-default .navbar-nav>li>a{margin-left: 3px !important;}
    .container.linee table.linee_table thead tr th, .container.linee table.linee_table tbody tr td{border: 1px solid;}
    li a img.bandiere, .icona, section.container.linee img.icona_spedizione{width: 25px; }
    .container.linee table.linee_table tbody tr td:first-child{font-size: 18px;}

}

@media (min-width: 992px) and (max-width: 1024px){
    #carousel-sliderhome{display: block; }

    .hero-overlay,.slider_news {
        height: 550px;
    }
}
@media (min-width: 1024px){ 
    .hero-overlay,.slider_news {
        height: 650px;
    }
}

@media screen and (max-width: 767px){
    .main-message{display: none;}
    .container.linee table.linee_table tbody tr td:first-child{font-size: 18px;}
    li a img.bandiere, .icona, section.container.linee img.icona_spedizione{width: 25px; }
    .container.linee table.linee_table thead tr th, .container.linee table.linee_table tbody tr td{border: 1px solid;}
.table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: scroll;
    overflow-y: hidden;
    border: 1px solid #ddd;
}
    body,html{overflow-x: hidden;}
    h2, .h2{font-size: 25px;}
    p, span, h1,h2,h3,h4,h5,h6{text-align: center;}
    #form_preventivo.container .row .col-md-12.content_preventivo{padding: 40px 15px;}
    
    .navbar.navbar-default.navbar-fixed-top.navbar-scroll-changed.fixed-header .branding img#logo,.branding img#logo {
        transition: 1s;
        max-width: 25% !important;
    }
    .content_linee {
        padding: 0px 30px;
    }
    .hero-overlay{height: 0px;}
    section.container.linee .content_elenco_linee .col-md-2, section.container.linee .col-md-7{padding-left: 15px;}
    #servizi_elenco .col-md-9 h3, #servizi_elenco .col-md-9 p {padding: 0px 15px; text-align: center;}

    .nav li:nth-last-child(-n+3) {display: inline-block; padding: 0px 5px;}
        #preventivo .hero-overlay{height: 350px;}

}

@media screen and (max-width: 450px){
    #preventivo .hero-overlay{height: 350px;}

table.table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
@media screen and (max-width: 430px){
    #preventivo .hero-overlay .main-message {
        display: none;
    }
    #preventivo .hero-overlay{height: 350px;}
}

@media screen and (max-width: 767px) and (min-width:200px) and (orientation: landscape){
    .navbar.navbar-default.navbar-fixed-top.navbar-scroll-changed.fixed-header .branding img#logo, .branding img#logo {
        transition: 1s;
        max-width: 15% !important;
    }
    .navbar-nav>li>a{padding-top: 5px;line-height: 16px!important;}
    .navbar-fixed-top li a {
        font-size: 16px;
    }
}


@media (min-width: 1280px) and (max-width: 2500px){
    .hero-overlay,.slider_news {
        height: 750px;
    }
}