body{
    overflow-x: hidden;
}

.social-jumbotron{
    background: transparent;
}

.socialwall {
    margin: auto;
    overflow: hidden;
}

.socialwall .brick {
    background-color: #FFF;

    color: #333;   
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
    border-radius: 3px;
    width: 240px; 
}

.socialwall .brick .brick-content{
    padding: 10px;   
    display: block;  
}

.socialwall .brick > img {
    width: 100%;
    max-width: 100%;
    margin: 0px;
    padding: 0px;
    display: block;
    background-image: url(../img/preloader.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 32px;
}

.socialwall .brick .testo-twitter {
    font-size:15px;
    line-height: 17px;
    color: #FFF !important;
    text-decoration: none !important;
    font-weight: bold;
    font-family: "Trebuchet MS",Georgia,"Times New Roman",Times,serif;
    display: block;
    background: #414141;
    margin: 5px 0;
    padding: 10px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.socialwall .brick .testo-twitter a{
    color: #FFF !important;
    text-decoration: none !important;
}

.socialwall .brick .testo-twitter .quote{
    color:#c21523;
    font-family: "Trebuchet MS",Georgia,"Times New Roman",Times,serif;
    font-size: 46px;
    line-height: 39px;
    height: 20px;
    font-weight: bold;
    display: block;
    width: 100%; 
    overflow: hidden;
}

.socialwall .brick .testo-twitter .quote.quote-top{
    text-align: left;
    margin-bottom:5px;
}

.socialwall .brick .testo-twitter .quote.quote-bottom{
    text-align: right;
    margin-top:5px; 
}

.socialwall .brick .testo {
    font-size:14px;
    line-height: 16px;
    color: #414141 !important;
    text-decoration: none !important;
    font-family: "Trebuchet MS",Georgia,"Times New Roman",Times,serif;
    display: block;
    margin: 5px 0;
    padding: 5px 0 15px 0;
    border-bottom:1px solid #bfbebe;
    
}
.socialwall .brick .testo a {
    color: #414141 !important;
    text-decoration: none !important;  
}

.socialwall .brick .profilo {
    font-size:14px;
    line-height: 16px;
    color: #414141;
    font-family: "Trebuchet MS",Georgia,"Times New Roman",Times,serif;
    display: block;
    padding: 5px 0; 
    white-space: nowrap;
    position: relative;
    padding-left: 59px;
    width: 100%;
    overflow: hidden;
    height: 49px;
    margin-top:10px;
}

.socialwall .brick .profilo img {
    position: absolute;
    left:0;
    top:0;  
    width: 49px;
    height: 49px; 
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    -ms-border-radius:50%;
    border-radius:50%;     
}

.socialwall .brick .profilo .profilo-testo{
    float:left;
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;  
    width:auto;
    margin-top: 3px;
    font-family: "Trebuchet MS",Georgia,"Times New Roman",Times,serif;  
    font-weight: bold;
    color:#a3a8a9;
}

.socialwall .brick .profilo .profilo-testo b{
    font-size:14px;
    line-height: 16px;
    color: #414141;  
    font-family: "Trebuchet MS",Georgia,"Times New Roman",Times,serif;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}

.socialwall .brick .top-brick {
    display: block;
    width:100%;
    padding:0px 0;
    background: red;
    text-align: center;
    margin-bottom:5px;
    height: 34px;
    line-height: 34px;
}

.socialwall .brick .top-brick > img{
    height: 20px;
    width:auto;
    left:50%;
    margin:7px 0 0 -12.5px;
    padding: 0;
    display: inline;
    float:left;
    position: relative;
}

.socialwall .brick.facebook .top-brick{
    background: #3B5998;
}

.socialwall .brick.twitter .top-brick{
    background: #5EA9DD;
}

.socialwall .brick.instagram .top-brick{
    background: #2A5B83;
}
.socialwall .brick.google .top-brick{
    background: #DD4B39;
}

.mostraAltri{
    width:300px;
    background: #d70f1d;
    color: #FFF !important;
    display: block;
    position: relative;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif;
    font-size: 15px;
    padding: 0;
    text-align: center;
    float:left;
    display: block;
    left:50%;
    margin-left:-150px;
    margin-top:20px;
    text-decoration: none !important;

}

.socialwall .brick .share{
    width: 100%;
    padding:0 9px;
    background: #e1e1dd;
    position: relative;
    display: block;
    height: 34px;
    margin-top:10px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #414141; 
    font-family: "Trebuchet MS",Georgia,"Times New Roman",Times,serif;    
    text-decoration: none;
    line-height: 34px;
}
.socialwall .brick .share img{
    position: absolute;
    right: 9px;
    top:9px;
    border: 0;
}

.socialwall .share-div {
    position: relative;
    display: block;   
}
.socialwall .share-links {
    background: url("../img/bgsocial.png") right top no-repeat;
    border: 0;
    bottom: 4px;
    height: 26px !important;
    padding: 4px 10px;
    position: absolute;
    right: 30px;
    text-align: right;
    width: 82px;
    display: none;
}
.socialwall .share-links a {
    display: inline;
    float: left;
    height: 18px !important;
}
.socialwall .share-links a {
    margin: 0 3px;
}
.socialwall .share-links a.share {
    display: inline;
    float: right;
    height: 18px !important;
    margin: 0;
    width: 21px !important;
}
.socialwall .share-links a img {
    display: block;
    height: 100% !important;
    width: auto;
}

/******** INTESTAZIONE SOCIALWALL *****/
#header-title{
    position: relative;
    float:left;
    margin-top:-115px;
    z-index: 1001;
}
#header-title h2{
    text-align:center;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif;
    font-size:40px;
    color:#414141;
    margin-right:60px;
}
#wall-nav{
    position:relative;
    float:left;
    list-style: none;
    margin:0;
    padding:0;
}
#wall-nav li{
    position:relative;
    float:left;
    width:24%;
    margin: 0 1px; 
}
#wall-nav li a{
    display: block;
    position: relative;
    background:#FFF;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif;
    font-size:15px;
    color:#414141;
    padding:0;
    text-align: center;
    width:100%;
}

#wall-nav li a:hover,
#wall-nav li a.active{
    background-color:#d70f1d;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAAAaCAYAAABhCmRdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS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xvhVtrGCmKxQH2H9AC+9Q/2rcg+B7XTwkrzHhxITY39lvzPs70GJeYDTvNBfGXNWYrrYljz2UJ6L/cWYIZyG+HUDZQ0xkfJMUyg9vCTrN8o9WthOG/sr29kbxuCM/T0ZxuCA9zGNwQe+v8gwBq9Q/24Yg/z9JhpoYgI0bQI0fRM0eIwI0Ewt0LSI0MwI0Ewt0DzeOTRvFmiuY3AQhplrgmZmgaZXGAQtNBAjoXkkQNO1QDMnQtMiQCMs0IwcQ3PB93tq2movPIHmBWK2FaE5Y39N0BzwPiZoymZuERrdcq9Cs/JZIogSjbAgQKObuT3Ccl+ERjdzVWjKZm4RGt3MVaHRLfcqNLrlngMagX0xQRPjM8U+rPZJibCsC5qICZqEAE2HAM2AAM2YAE1KgGbmCzRyDAR8PDFpBFs2UodGaFo2YoLGJ4kwluD8vVNhSYHmiDEc2cgbg43gi0S4SHD+MEFDEZZbpNiFsGxkNnKj9+RSIqQEaGRfJBd7CU6bkI3UKSwbk41gDAc0vtsIi6RmaCYOhWVK0AhjgkbgMCx9956OQjNz54RsJAhLN4Yll/fELhFEyEZu1whQv2YwLJvuPRklgviisKRkIzt8KBfZSJ3C0kfDUkqEfhXDMikRlrZsZEkUlpElG2k6NENCNjIhZiM2wzJ1aFj2Cau9SVfmBuAvBseyjy8wZCM/w7AcXQ3AsBPux044l0So6j3lBuDvkI2EnfAbJUJuAD40KBu5h51wCjRcO+EUifAdEzc3ACl7I5WhkVB8EzQud8IphuXU4U74pKbV/j8DMPwuNxiWJIkgQjbCDk2E7ewYdsIXXKs9t/ckfkg2EnbCmSVCUiIsbdnIMyEbWROEpQ2aFQGaZcOhcfkvDC7DMrXoyviajoff5Qbv6ZbV/p8BGITl/UBD2QmvKhHOnwIMAIeETA7RetgKAAAAAElFTkSuQmCC');
    color:#FFF;
    text-decoration: none !important;
}    


.formPosta{
    padding: 0;
}

.posta{
    width: 97%;
    margin: 5px 1px 0 1px; 
    text-align: center;
    display: block;
    background: #dc2834;
    color:#efefef !important;
    font-size: 15px;
    padding: 0;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif;
    text-decoration: none !important;
    position: relative;  
    height: 33px;
    line-height: 33px;   
}

.posta span{
    position: absolute;
    right:3px;
    top:3px;
    width: 32px;
    height: 27px;
}

.posta.closed{
    color: #dc2834 !important;     
}

.posta.opened span{
    background: url(../img/post-open.jpg) center center no-repeat;
}

.posta.closed span{
    background: url(../img/post-close.jpg) center center no-repeat;
}

#shareon{
    background: #FFF;
    width: 97%;
    margin: 0px 1px 0 1px;
    padding: 15px 0; 
}

#shareon .label-form{
    width: 100%;
    display: block;
    text-align: center;
    font-size:15px;
    line-height: 15px;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif; 
    padding-bottom: 15px;
}

#shareon textarea{
    font-size:12px;
    border:1px dashed #414141;
    background: #FFF;
    width: 100%;
    padding: 15px;
    height: 110px;
    display: block;
    color:#414141;
    line-height: 19px;
}

#shareon .buttonImage{
    border:0px dashed #414141;
    background: #414141 url(../img/btn-immagine.png) center center no-repeat;
    width: 100%;
    padding: 15px;
    height: 110px;
    display: block;
    position: relative;
    color:#fff;
    text-align: center;
}

#shareon .buttonImage img{
    position: absolute;
    right: 10px;
    top: 10px;
}

#shareon .buttonImage span{
    position: absolute;
    top: 32px;
    left: 10px;
    font-size:12px;
    line-height: 16px;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif; 
    color:#ededed;
    text-align: left;
}

#shareon .buttonImage.loading{
    background: #414141 url(../img/preloader.gif) center center no-repeat; 
    background-size:30px;
}

#shareon .buttonImage.nobg{
    background: #414141; 
}

#shareon .inviaShare{
    background: red; 
    display: inline;
    color:#FFF;
    height: 32px;
    font-size:15px;
    line-height: 32px;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif; 
    margin-top: 15px;
    text-decoration: none;
    border-right:1px solid #FFF;
    border-left:1px solid #FFF;
}

#shareon .inviaShare img{

    display: inline;
    height: 18px;  
    width: auto !important;
    margin: 0 10px 0 -5px;
}

#shareon .inviaShare.tw{
    background: #5EA9DD;
}

#shareon .inviaShare.fb{
    background: #3B5998;
}

/****** GALLERY ******/

.gallery-jumbotron{
    background: transparent;
    padding-left:0;
    padding-right:0;
    padding-top:20px;
    padding-bottom:0px;
    margin-bottom:0px;
}

.gallerywall {
    margin: auto;
}

.gallerywall .brick {
    background: transparent;  
    border: none;
    width: 240px;
}

.gallerywall .brick .brick-content{
    padding: 0.5px;   
    display: block;  
}

.gallerywall .brick a {
    width: 100%;
    height : 100%;
    margin: 0px;
    padding: 0px;
    display: block;
    position: relative;
}

.gallerywall .brick a .overlay-gallery {
    position:absolute;
    background-color: rgba(65, 65, 65,0.7);
    background-image:url(../img/occhio.png);
    background-position:center center;
    background-repeat:no-repeat;
    left:0;
    top:0;
    width: 100%;
    height : 100%;
    z-index: 1;
    opacity:0;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
    transition: opacity 0.5s;

}

.gallerywall .brick a:hover .overlay-gallery {
    opacity:1; 
}

.gallerywall .brick a img {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    display: block;
    position: relative;
    background-image: url(../img/preloader.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 32px;   
}

.paginazione-gallery{
    height: 60px;
    background: #d70f1d;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    font-size:15px;
    color:#FFF;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif;  
    line-height: 60px;
}

.social-gallery{
    position: absolute;
    display: block;
    top:23px;
    right:23px;
    height: 14px;  
}

.social-gallery a{
    float:left;
    display: inline;
    position: relative;
    height: 14px;
    margin:0 5px;
}

.social-gallery a img{
    float:left;
    display: inline;
    position: relative;
    border:0;
    height: 14px;
}

#header-title.gallery-title{
    margin-top:-100px;
}

#header-title.gallery-title h2{
    font-size: 52px;
}

.box-gallery{    
    padding:0 5px;
    margin:0 0 30px 0; 
}

.box-gallery-content{    
    padding:0;
    margin:0;
    border-top:12px solid #d70f1d; 
    background: #fff;  
    position: relative;
    float: left;
    width: 100%;
}

.box-gallery-content .col-sx{    
    width: 50%;
    display: block;
    padding:10px 10px 10px 10px;
    float: left; 
    position: relative;
}

.box-gallery-content .col-dx{    
    width: 50%;
    display: block;
    padding:15px 10px 10px 10px;
    float: left; 
    position: relative;
}

.box-gallery-content .col-dx h3.title {
    background: none;
    color: #414141;
    font-family: HomesteadRegular,Tahoma,Geneva,sans-serif;
    font-size: 14px;
    padding:0;
    margin: 0;
    text-align: left;
    height: auto;
    float: left; 
    width: 100%;  
    line-height: 20px;  
}

.btn-open-gallery{
    color:#FFF !important;
    background: #414141;
    padding:5px;
    line-height: 12px;
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0 0 0;
    float: left;
    position: relative;
    text-decoration: none !important;
}

.box-gallery-content .social{
    float: left;
    width: 100%;
    margin-top:10px;
}

.box-gallery-content .social img{
    float: left;
    height: 16px;
    margin:0 5px 0 0;
}

.page-gallery .lista-gallery{
    margin-top:-80px;   
}
.socialwall-home{
    border-top:1px solid #b0aea9;
    border-bottom:1px solid #b0aea9;
    margin-bottom:15px;
    position: relative;
    float:left;


}
.socialwall-home .col-sx-wall-home{
    border-left:1px solid #b0aea9;
    border-right:1px solid #b0aea9;
    font-family:HomesteadRegular,Tahoma,Geneva,sans-serif;
    color:#414141;
    font-size: 18px;
    line-height:32px;

    padding-top:3px;
    padding-bottom:3px;
}
.socialwall-home .col-dx-wall-home{
    border-left:1px solid #b0aea9;
    border-right:1px solid #b0aea9;

    padding-top:3px;
    padding-bottom:3px;
    padding-left:10px;
    padding-right:10px;
}
.socialwall-home .btn-home-wall{
    display:block;
    color:#FFF;
    text-shadow:0 !important;
    font-size: 12px; 
    height: 22px;
    padding: 2px 0 0 0;
    text-align:center;
    text-decoration: none;
    background:#414141;
    /*width:96px;*/
    font-weight:bold;
    position:relative;
    margin:5px 0;
}

.socialwall-home .wall-home-img img {
    position: absolute;
    left:0;
    top:2px;  
    width: 34px;
    height: 34px; 
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    -ms-border-radius:50%;
    border-radius:50%;     
}

.socialwall-home .wall-home-data{
    padding-top:8px;
    color:#414141;
    font-style:italic;
    text-align:center;
}
.socialwall-home .wall-home-text{
    padding-top:8px;
    color:#414141;
}