﻿@media (max-width: 414px) {

    html, form, body {
        min-width: 320px;
        max-width: 414px;
    }

    header nav {
        width: 100% !important;
    }
      .carousel{
        width:100%;
    }
    .Subheader {
        height: 100px !important;
        width: 100% !important;
    }

    .SottoBanner {
        display: none;
    }

    .Img_Logo {
        top: 80px;
        left: 5% !important;
        width: 50% !important;
    }

    .BGColor {
        padding: 0 20px;
    }

    #MP_Menu {
        display: none;
    }

    .LK_Open_Menu {
        display: inherit !important;
        float: right;
        font-size: 16px;
        color: #fff;
        line-height: 50px;
        margin-right: 20px;
    }

    #MP_Menu_Responsive {
        display: normal;
        position: relative;
        z-index: 800;
        margin: 0;
    }

    .carousel-inner {
        height: 100px;
    }



    section {
        width: 100%;
        padding: 0 20px;
        margin: 20px 0;
    }

    .HomePage .col-md-4,
    .BoxNews .col-md-4 {
        margin-left: 0;
        margin-bottom: 150px;
        margin-top: 50px;
        width: 100%;
    }
     .HomePage .col-md-4{
         line-height:12px;
     }
    .HomePage .BoxPrimoPiano a,
    .HomePage .BoxPapaChiesa a,
    .HomePage .BoxBeneComune a {
         bottom: -95px;
    }
        .HomePage .col-md-4:last-of-type,
        .BoxNews:nth-of-type(2) .col-md-4,
        .BoxNews:last-of-type .col-md-4 {
            margin-right: 0;
            margin-left: 0;
        }

    .BoxNews_Image img {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-bottom: 30px;
    }

    .Info .Newsletter {
        margin-top: 50px;
    }

    footer section {
        margin: 0 !important;
        padding: 0 20px;
    }

    footer .col-md-6 {
        padding: 0 20px;
    }

    .Page_Detail .col-md-8 {
        padding-right: 0;
    }

    .Btn_HomeList {
        width: 100%;
        margin: 0;
    }
}
/* IPhone e Smartphone */
@media only screen (max-device-width: 414px) {
    html, form, body {
        min-width: 320px;
        max-width: 414px;
    }

    header nav {
        width: 100% !important;
    }

    .Subheader {
        height: 100px !important;
        width: 100% !important;
    }
      .carousel{
        width:100%;
    }
    .SottoBanner {
        display: none;
    }

    .Img_Logo {
        top: 80px;
        left: 5% !important;
        width: 50% !important;
    }

    .BGColor {
        padding: 0 20px;
    }

    #MP_Menu {
        display: none;
    }

    .LK_Open_Menu {
        display: inherit !important;
        float: right;
        font-size: 16px;
        color: #fff;
        line-height: 50px;
        margin-right: 20px;
    }

    #MP_Menu_Responsive {
        display: normal;
        position: relative;
        z-index: 800;
        margin: 0;
    }

    .carousel-inner {
        height: 100px;
    }



    section {
        width: 100%;
        padding: 0 20px;
        margin: 20px 0;
    }

     .HomePage .col-md-4,
    .BoxNews .col-md-4 {
        margin-left: 0;
        margin-bottom: 150px;
        margin-top: 50px;
        width: 100%;
    }
     .HomePage .col-md-4{
         line-height:12px;
     }
    .HomePage .BoxPrimoPiano a,
    .HomePage .BoxPapaChiesa a,
    .HomePage .BoxBeneComune a {
         bottom: -95px;
    }

        .HomePage .col-md-4:last-of-type,
        .BoxNews:nth-of-type(2) .col-md-4,
        .BoxNews:last-of-type .col-md-4 {
            margin-right: 0;
            margin-left: 0;
        }

    .BoxNews_Image img {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-bottom: 30px;
    }

    .Info .Newsletter {
        margin-top: 50px;
    }

    footer section {
        margin: 0 !important;
        padding: 0 20px;
    }

    footer .col-md-6 {
        padding: 0 20px;
    }

    .Page_Detail .col-md-8 {
        padding-right: 0;
    }

    .Btn_HomeList {
        width: 100%;
        margin: 0;
    }
}

@media (min-width: 415px) and (max-width: 768px) {
    html, form, body {
        min-width: 415px;
        max-width: 768px;
    }

    header nav {
        width: 100% !important;
    }

    .Subheader {
        height: 180px !important;
        width: 100%!important;
    }

    .SottoBanner {
        display: none;
    }
    .carousel{
        width:100%;
    }
    .carousel-inner {
        height: 180px !important;

    }


    .Img_Logo {
        top: 80px;
        left: 5% !important;
        width: 30% !important;
    }

    .BGColor {
        padding: 0 20px;
    }

    #MP_Menu {
        display: none;
    }

    .LK_Open_Menu {
        display: inherit !important;
        float: right;
        font-size: 16px;
        color: #fff;
        line-height: 50px;
        margin-right: 20px;
    }

    #MP_Menu_Responsive {
        display: normal;
        position: relative;
        z-index: 800;
        margin: 0;
    }

    .carousel-inner {
        height: 190px;
    }



    section {
        width: 100%;
        padding: 0 20px;
        margin: 20px 0;
    }

    h1 {
        padding: 50px 20px;
    }

    .HomePage .col-md-4,
    .BoxNews .col-md-4 {
        margin-left: 0;
        margin-bottom: 80px;
        margin-top: 50px;
        width: 100%;
    }

        .HomePage .col-md-4:last-of-type,
        .BoxNews:nth-of-type(2) .col-md-4,
        .BoxNews:last-of-type .col-md-4 {
            margin-right: 0;
            margin-left: 0;
        }

    .col-md-4 .BoxNews_Image {
        height: 350px;
    }

    .BoxNews_Image img {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-bottom: 30px;
    }

    .Info .Newsletter {
        margin-top: 50px;
    }

    footer section {
        margin: 0 !important;
        padding: 0 20px;
    }

    footer .col-md-6 {
        padding: 0 20px;
    }

    .Page_Detail .col-md-8 {
        padding-right: 0;
    }

    .Btn_HomeList {
        width: 100%;
        margin: 0;
    }
}
/* Ipad */
@media  (min-width : 770px) and (max-width : 1200px) {
    html, form, body {
        min-width: 770px;
        max-width: 1200px;
 
    }

    header nav {
        width: 100% !important;
    }

    .Subheader {
        height: 180px !important;
        width: 100% !important;
    }

    .SottoBanner {
        display: none;
    }
      .carousel{
        width:100%;
    }
    .carousel-inner {
        height: 180px !important;
    }


    .Img_Logo {
        top: 80px;
        left: 5% !important;
        width: 30% !important;
    }

    .BGColor {
        padding: 0 20px;
    }

    #MP_Menu {
        display: none;
    }

    .LK_Open_Menu {
        display: inherit !important;
        float: right;
        font-size: 16px;
        color: #fff;
        line-height: 50px;
        margin-right: 20px;
    }

    #MP_Menu_Responsive {
        display: normal;
        position: relative;
        z-index: 800;
        margin: 0;
    }

    .carousel-inner {
        height: 190px;
    }



    section {
        width: 100%;
        padding: 0 20px;
        margin: 20px 0;
    }

    h1 {
        padding: 50px 20px;
    }

    .HomePage .col-md-4,
    .BoxNews .col-md-4 {
        margin-left: 0;
        margin-bottom: 80px;
        margin-top: 50px;
        width: 100%;
    }

        .HomePage .col-md-4:last-of-type,
        .BoxNews:nth-of-type(2) .col-md-4,
        .BoxNews:last-of-type .col-md-4 {
            margin-right: 0;
            margin-left: 0;
        }

    .col-md-4 .BoxNews_Image {
        height: 350px;
    }

    .BoxNews_Image img {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-bottom: 30px;
    }

    .Info .Newsletter {
        margin-top: 50px;
    }

    footer section {
        margin: 0 !important;
        padding: 0 20px;
    }

    footer .col-md-6 {
        padding: 0 20px;
    }

    .Page_Detail .col-md-8 {
        padding-right: 0;
    }

    .Btn_HomeList {
        width: 100%;
        margin: 0;
    }
}
