@media (max-width: 767px) {
    #top {
        height: 280px;
    }
    #top .container {
        position: absolute;
        bottom: 0;
        width: 100%;
        background-position: bottom center;
    }
    #come-arrivare, #biglietti-abbonamenti, #newsletter {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #programma-2018 img, #come-arrivare img, #biglietti-abbonamenti img, #newsletter img {
        max-width: 100%;
    }
    #news {
        /*height: 602px;
         background: url('../images/news.png') bottom right no-repeat;*/
    }
    #main {
        padding-top: 30px;
    }
    #cartello {
        text-align: center;
    }
    #cartello img {
        max-width: 100%;
    }
    #programma-4 {

        text-align: center;
    }
    #programma-5 {
        margin-top: -40px;
        text-align: center;
    }
    #programma-6 {
        margin-top: -40px;
        margin-bottom: 30px;
        text-align: center;
    }
    #programma-4 img, #programma-5 img, #programma-6 img {
        max-width: 100%;
    }

    #tende img {
        margin-top: 230px;
        max-width: 100%;
    }
    #social {
        text-align: center;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #top {
        height: 373px;
    }
    #newsletter {
        text-align: right;
    }
    #news {
        /*height: 602px;
         background: url('../images/news.png') bottom right no-repeat;*/
    }
    #biglietti-abbonamenti {
        margin-top: 100px;
    }
    #main {
        padding-top: 160px;
    }
    #cartello img {
        max-width: 100%;
    }
    #come-arrivare, #biglietti-abbonamenti, #newsletter {
        text-align: center;
    }
    #come-arrivare img, #biglietti-abbonamenti img, #newsletter img {
        max-width: 100%;
    }
    #programma-4 {
        padding-top: 80px;
        text-align: right;
    }
    #programma-5 {
        margin-top: -40px;
    }
    #programma-6 {
        margin-top: -100px;
        margin-bottom: 30px;
        text-align: right;
    }
    #programma-4 img, #programma-5 img, #programma-6 img {
        max-width: 100%;
    }
    #tende img {
        margin-top: 150px;
        width: 100%;
    }
    img.cartello {
        margin-top: 24px;
        width: 100%;
    }
    #social {
        text-align: right;
    }
}
@media (min-width: 992px) {
    #top {
        height: 449px;
    }
    #newsletter {
        text-align: right;
    }
    #news {
        /*height: 602px;
         background: url('../images/news.png') bottom right no-repeat;
         padding: 85px 20px 20px 10px;*/
    }
    #news-content {
        padding: 0 16.666666666%;
    }
    #biglietti-abbonamenti {
        margin-top: 60px;
    }
    #come-arrivare, #biglietti-abbonamenti, #newsletter {
        text-align: center;
    }
    #come-arrivare img, #biglietti-abbonamenti img, #newsletter img {
        max-width: 100%;
    }
    #main {
        padding-top: 125px;
    }
    #cartello img {
        max-width: 100%;
    }
    #programma-4 {
        padding-top: 120px;
        text-align: right;
    }
    #programma-5 {
        margin-top: -40px;
    }
    #programma-6 {
        margin-top: -100px;
        margin-bottom: 30px;
        text-align: right;
    }
    #programma-4 img, #programma-5 img, #programma-6 img {
        max-width: 100%;
    }
    #tende img {
        margin-top: 246px;
        width: 100%;
    }
    img.cartello {
        margin-top: 70px;
        width: 100%;
    }
    #social {
        text-align: right;
    }
}
@media (min-width: 1200px) {
    #top {
        height: 538px;
    }
    .homepage{
      /* margin-top:320px; */
    }
    #newsletter {
        text-align: right;
    }
    #main {
        padding-top: 125px;
    }
    #news {
        /*padding: 160px 30px 20px;*/
    }
    #biglietti-abbonamenti {
        margin-top: 60px;
    }
    #come-arrivare, #biglietti-abbonamenti, #newsletter {
        text-align: center;
    }
    #come-arrivare img, #biglietti-abbonamenti img, #newsletter img {
        max-width: 100%;
    }
    #programma-4 {
        padding-top: 80px;
        text-align: right;
    }
    #programma-5 {
        margin-top: -80px;
    }
    #programma-6 {
        margin-top: -100px;
        margin-bottom: 30px;
        text-align: right;
    }

    #tende img {
        margin-top: 230px;
        width: 100%;
    }
    img.cartello {
        margin-top: 20px;
        width: 100%;
    }
}
