.primo-livello.navbar-default {
    top:42px;
}

.testata {
    top: 120px;
}
#body {
    margin-top: 242px
}

.menu-servizio {
    font-family: Helvetica, sans-serif;
    font-size: 14px;

    width: 100%;
    height: 42px;
    padding-top: 11px;
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #fafafa;
    z-index: 10;
    text-transform: uppercase;

    opacity: 0.98;
    border-bottom: 1px solid #000;
}

.menu-servizio .container {
    background: transparent;
}

.menu-servizio a {
    color:#023364;
}


.primo-livello .container {
    width:1170px;
}

.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    margin-left: 00px;
}

.navbar-default.primo-livello .navbar-nav>li>a {
    padding-left: 6px;
    padding-right: 6px;

    font-size: 14px
}
@media (min-width: 920px) {
    .navbar-brand img {
        padding-top: 5px;
        height: 38px;
    }
}

.social a {
    opacity: 1;
}

/*TILT*/
.social a img {
    height: 22px;
    width: auto;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.social a:hover img {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}


/* EVENTI PROMO */

.evento-item {
    position: relative;
    width: 100%;
    height: 280px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #BBBBBB;
}
a.evento-link {
    text-decoration: none!important;
    background-color: #000;
    display: block;

}

.evento-description {
    padding: 140px 0px 0px 0px;
    position: absolute;
    top: 0px;
    left: 0px;
}
.evento-item h3, .evento-item h4, .evento-item p {
    margin: 0px 0px 5px 0px;
    padding: 8px;
    display: inline-block;
    width: auto;
    /*
    background-color: rgba(228, 255, 3, .91);
    color: #000;
    */
    background-color: rgba(2, 51, 100, .91);
    color:#fff;
    line-height: 1em;

}

.evento-item.cat-2 h3, .evento-item.cat-2 h4, .evento-item.cat-2 p {
    background-color: rgba(235, 1, 129, .91);
    color:#fff;
}

@keyframes showHover {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes hideHover {
    from {opacity: 1;}
    to {opacity: 0;}
}
@keyframes zoomInBgImage {
    from {background-size: cover;}
    to {background-size: 1000px;}
}
@keyframes zoomOutBgImage {
    from {opacity: 1;}
    to {opacity: 0;}
}

.evento-hover {
    position: absolute;
    width: 100%;
    height: 280px;
    background-color: rgba(255, 255, 255, .12);
    color: #023364;
    top: 0px;
    left:0px;
    text-align: right;
    font-size: 28px;

    animation: hideHover 200ms ease both;
    opacity: 0;

}
.evento-item.cat-2 .evento-hover {
    color: #EB0181;
}
a.evento-link:hover .evento-hover {

    animation: showHover 200ms ease both;
}
/*
a.evento-link:hover .evento-item {

    animation: zoomInBgImage 200ms ease both;
}*/

/*
a.evento-link:hover .evento-item h3, a.evento-link:hover .evento-item h4, a.evento-link:hover .evento-item p {
     width: 100%;
}
*/


/*

.eventi li.active a, .eventi li a:hover {
    background-color: rgb(228, 255, 3)!important;
    color: #000!important;
}

.promo .active a {
    background-color: rgb(235, 1, 129)!important;
}

*/


.action {
    top: 92px !important;
}


/** social SHARE **/

.btn-twitter {
    background: #00acee;
    border-radius: 0;
    color: #fff
}

.btn-twitter:link, .btn-twitter:visited {
    color: #fff
}

.btn-twitter:active, .btn-twitter:hover {
    background: #0087bd;
    color: #fff
}

.btn-facebook {
    background: #3b5998;
    border-radius: 0;
    color: #fff
}

.btn-facebook:link, .btn-facebook:visited {
    color: #fff
}

.btn-facebook:active, .btn-facebook:hover {
    background: #30477a;
    color: #fff
}

.btn-googleplus {
    background: #e93f2e;
    border-radius: 0;
    color: #fff
}

.btn-googleplus:link, .btn-googleplus:visited {
    color: #fff
}

.btn-googleplus:active, .btn-googleplus:hover {
    background: #ba3225;
    color: #fff
}

.btn-mail {
    background-color: #fff;
    border-radius: 0;
    color: #000
}

.btn-mail:link, .btn-mail:visited {
    color: #444
}

.btn-mail:active, .btn-mail:hover {
    background-color: #e9e9e9;
    color: #000;
}

.btn-whatsapp {
    background-color: #69ca3b;
    border-radius: 0;
    color: #fff
}

.btn-whatsapp:link, .btn-whatsapp:visited {
    color: #fff
}

.btn-whatsapp:active, .btn-whatsapp:hover {
    background-color: #56A61E;
    color: #fff;
}



/* modifiche ottobre 2017 */
.home #body {
    margin-top: 120px;
}

.menu-servizio {
    height: 50px;

    background-color: #20A4DE;
    background-color: #B4DDF6;
}
.primo-livello.navbar-default {
    top: 50px;
    height: 31px;
}

.navbar-default.primo-livello .navbar-nav>li>a {
    padding-top: 19px!important;
}

.menu-mobile-home li a {
    background-color: #023364;
    color: #eaf4fe;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

.menu-mobile-home li a:hover {
    background-color: #eaf4fe;
    color: #023364;
}

#blocchi-home .blocco {
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.37);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.37);
    box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.37);

    border-radius: 5px;
}
#blocchi-home .blocco img {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
