/*==========  Non-Mobile First Method  ==========*/
.slicknav_menu {z-index: 99999; position: absolute; width: 100%;
    display:none;
    background-color: #ffffff;

    }
.slicknav_btn  {padding: 0px!important;margin-top: 10px;
    margin-bottom:10px;
color: #000!important;
}
.slicknav_menutxt {display: none!important;}
.slicknav_menu a {font-style: normal!important;}
.slicknav_nav a {
    border-bottom-style:dotted;
    border-bottom-width: 1px;
    border-bottom-color: #808080;;
    padding: 5px 0px;
    margin: 2px 5px;
    text-decoration: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #416FBA; }

.slicknav_nav .slicknav_row a {
    border-bottom-style:none!important;}
.slicknav_nav a:hover, .slicknav_nav .slicknav_row a:hover  {background-color: transparent!important;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #416FBA!important; opacity: 0.7;
}
.slicknav_nav .slicknav_row {
    padding-left:0px;}
.slicknav_icon{color: #000!important; margin-top: 10px!important;}
.slicknav_icon:before {
    background: transparent;
    width: 1.125em;
    height: 0.875em;
    display: block;
    content: "";
    position: absolute;
    color: #000!important;
}
.slicknav_icon-bar {background-color: #000!important;}
.slicknav_btn {background-color: rgba(0,0,0,0.0)}
.slicknav_nav a:hover {background-color: rgba(0,0,0,0.25); color: #FFFFFF}
.sociallinguemob {float: right;  padding-top: 7px; padding-bottom: 7px; font-style: normal!important;
    padding-right:4px; color: #FFFFFF}
.sociallinguemob a {font-style: normal!important; color: #FFFFFF}

#logomobile {position: absolute!important; left:12px; top: 5px; z-index: 99999}
.rigabiancasocial {height: 60px; background-color: #FFFFFF}



/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .careventonext { width: 250px; margin: 0 20px}
    .careventonext.slick-current { }
    .eventoabs {position: absolute; z-index: 9999; left:calc(50% + 180px);}
    .masonheight {min-height: 182px!important;}
        .masonheight .conteventopassato {min-height: 182px!important;}
    }
.galleriaeventopassato {width: 40%!important; min-height: 182px;
    float: left}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .conteventopassato {width: 720px}
    .careventonext.slick-current {transform: scale(1);  }
    .careventonext { width: 600px; margin: 0 20px}

    .masonheight {
        min-height: 288px !important;
    }

    .masonheight .conteventopassato {
        min-height: 288px !important;
    }

    .testohome {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .wpcf7-acceptance {
        margin-bottom: 60px !important;
    }

    .footerhome {
        position: relative !important;
        z-index: 999;
        float: left;
        background-color: #1D4B86;
    }

    #overhidden {
        overflow: visible;
    }

    .sliderhomefull {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: visible;
        background: no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .h3age, .h3hea, .h3sub {
        transform: translate(0px, 0);
    }

    label {
        width: 100%
    }

    #paginafull {
        padding-top: 70px
    }

    .eventoabs {
        position: absolute;
        z-index: 9999;
        left: 0 !important;
        top: 150px;
        width: 100%;
        opacity: 1 !important;
        float: right;
        font-size: 21px;
        margin-bottom: 0px;
        margin-top: 0px;
        padding-right: 15px;
        padding-left: 15px;

        -webkit-box-shadow: 0px 5px 5px 0px rgba(99, 99, 99, 0.20);
        -moz-box-shadow: 0px 5px 5px 0px rgba(99, 99, 99, 0.20);
        box-shadow: 0px 5px 5px 0px rgba(99, 99, 99, 0.20);
    }

    .testohomefull {
        z-index: 9999;
        float: left;
        position: relative;
        min-height: auto;
        width: calc(100% - 15px)
    }

    .testomobslider {
        padding: 20px !important;
        margin: 10px !important;
        padding-left: 30px !important;
    }

    .testoslider h1 {
        color: #FFFFFF;
        margin-bottom: 0px;
        font-size: 30px;
    }

    .testoslider h2 {
        color: #F69338;
        font-family: 'Lato', cursive;
        font-size: 28px;
    }

    .testohome .col-xs-12 {
        padding-left: 0px;
        padding-right: 0px;
        width: ca
    }

    .testohome .row {
    }

    .testoslider {
        height: auto
    }

    .testoslider {
        font-size: 18px;
        line-height: 22px;
        font-weight: bold;
        margin-top: 0px;
        min-height: auto
    }

    .sliderhomefull {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: -999;
        overflow: hidden;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .divmobile {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: -999;
        overflow: hidden;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .bxslider img {
        width: 100%;
        height: auto
    }

    .lisliderfull {
        width: 100%;
        float: left;
        position: relative
    }

    .footerhome {
        position: relative !important;
        bottom: 0px;
        z-index: 999;
        float: left;
        background-color: #1D4B86;
    }

    .slicknav_menu {
        display: block;
    }

    .grid-sizer {
        float: left;
        margin-bottom: 0px
    }

    .grid-item {
        float: left;
        margin-bottom: 0px
    }

    body {
        background-image: none !important;
    }

    .colonnaeventopassato {
        margin-bottom: 15px !important;
    }

    .lisliderfull {
        width: 100%;
        height: 1200px;
        float: left;
        position: relative
    }
}



/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .conteventopassato {width: 100%}
    .careventonext { width: 360px; margin: 0 20px}
    .masonheight {min-height: inherit!important;}
    .masonheight .conteventopassato {min-height: inherit!important;}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .careventonext { width: 250px; margin: 0 20px}


}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}