/*
Theme Name: CustomTheme
*/

#a,#b,#c,#d,#e,#f,#g,#h,#i,
#j,#k,#l,#m,#n,#o,#p,#q,#r,
#s,#t,#u,#v,#w,#x,#y,#z {
    background-color: #ccc;
    color: #fff;
}

#CDSWIDSSP .widSSPData {
    background-color: transparent !important;
    padding: 0 !important;
}

.goback {
    /*background: #eee;*/
    /*border: 0;*/
    /*border-radius: 3px;*/
    color: #000!important;
    padding: 8px 16px;
    font-weight: 500;
    display: block;
}

.link-gallery {
    text-align: center;
}

.link-gallery a {
    font-weight: bold;
    margin: 40px 0;
    display: block;
}

.gallery-bg {
    position: relative;
    background: #fafafa;
    padding: 20px !important;
    margin-top: 30px;
    display: block;
    width: 100%;
    float: left;
}

.gallery-bg:after {
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -30px;
    content: '';
    height: 60px;
    width: 60px;
    z-index: 1;
    border-radius: 50%;

    background-color: #fafafa;
    background-image: url(images/foto.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#responsive_map {
    width: 100%;
    height: 400px;
}

.container-alfa { background-color: transparent; }
.container-black { background-color: #2a2a2a; }
.more-gutter {
    margin-left: 25px;
    margin-right: 25px;
}

.loghi-100 img {
    width: 100%;
    height: auto;
}


/* HOME */
.home-img {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
}

.home-img-half {
    height: 200px;
}

.home-img a {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    color: #fff;
    display: block;
    font-size: 14px;
}

.home-img p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    margin: 0;

    background-image: -webkit-linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: -moz-linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: -o-linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: linear-gradient(to top,rgba(0,0,0,0.8),rgba(0,0,0,0));
}

.home-img span:not(.credit-by) {
    display: block;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}
.home-img span.credit-by {
    font-size: 10px;
}

/* PARTIAL POST GENERIC */
.post-box {
    position: relative;
    height: 230px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.post-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 15px 15px 15px;

    background-image: -webkit-linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: -moz-linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: -o-linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: linear-gradient(to top,rgba(0,0,0,0.8),rgba(0,0,0,0));
}

.post-title {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 150%;
}

.post-title span {
    font-size: 12px;
    display: block;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    margin-bottom: 5px;
}

.post-title p {
    height: 40px;
    overflow: hidden;
    margin: 0;
}

.news-subtitle {
    font-size: 18px;
    /*font-size: 20px;*/
    /*color: #CF131A;*/
    font-weight: 500;
    color: rgba(0,0,0,0.75);
    font-style: italic;
    /*color: #aaa;*/
    line-height: 150%;
    /*margin-bottom: 60px;*/
    margin-bottom: 35px;
}


/* PARTIAL CAT COLLECTION */
.collection-box {
    position: relative;
    height: 230px;
    margin-bottom: 40px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.collection-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
/*     background: rgba(0,0,0,0.4); */
    background: linear-gradient(to top,rgba(0,0,0,0.9) 0, rgba(0,0,0,0.7) 25px,rgba(0,0,0,0) 60px);
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    padding-top: 30px;
}


/* PARTIAL SINGLE COLLECTION */
.row-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.iframe-img-top {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.collection-img-top {
    float: left;
    height: 300px;
    border-right: 4px solid #fff;

    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    box-sizing: border-box;

    background-color: #eee;
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: cover;
}

.collection-img-top:last-of-type {
    border-right: none;
}

.img-top-alto {
    position: relative;
    height: 400px;
}

.breadcrumb {
    background: #EEE;
    color: #666;
    width: 100%;
    height: 24px;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    padding: 0px 25px;
}

.collection-gallery {
    width: 14.66%;
    margin: 1%;
    float: left;
    height: 160px;
    opacity: 1;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.collection-gallery:hover {
    opacity: 0.6;
}




.home-nicolis-img {
    height: 460px;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
}

.home-nicolis-testo {
    color: #fff;
    padding: 45px;
    font-size: 13px;
}

.home-post-eventi {
    width: 50%;
    float: left;
}

.lamacart-home img {
    height: 110px;
    display: block;
    float: right;
}


/* SPAZI CONGRESSUALI */
.spazi-congressuali img {
    width: 100%;
    height: auto;
}




/* PRESS */
.press {
    margin: 20px 0;
}

.press-logo {
    width: 20%;
    margin-right: 5%;
    float: left;
}

.press-logo img {
    width: 100%;
    height: auto;
}

.press-txt {
    width: 75%;
    float: left;
    font-size: 13px;
    line-height: 130%;
    color: #aaa;
}

.press-txt strong {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
}

.press-txt a {
    background: url(images/pdf.png) no-repeat left center;
    padding-left: 22px;
}

.press-date {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    color: #aaa;
}






/* FOOTER */
.footer-patrocini,
.footer-associati,
.footer-main-sponsor,
.footer-other-sponsor {
    margin: 20px 0;
}

.title-loghi {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    margin-top: 60px;
}

.title-loghi:after {
    content: '';
    display: block;
    background: #eee;
    height: 1px;
}

#footer {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4em;
    color: #999;
    background: #eee;
    padding: 40px 0 0 0;
}
#footer a {
    color: #999;
}
#footer img {
    width: 120px;
    height: auto;
}

.menu-footer ul {
    margin-bottom: 20px;
}

.menu-footer strong {
    font-size: 1.2em;
    margin-bottom: 10px;
    display: block;
}

.copyright {
    margin-top: 40px;
    background: #2A2A2A;
    padding: 20px 0;
    text-align: center;
}

.social-networks {
    position: absolute;
    right: 10px;
    top: 20px;
}

/* 404 */
div.page404 {
    text-align: center;
    font-size: 160px;
    line-height: 120%;
    font-weight: bold;
}
p.page404 {
    text-align: center;
}
p.page404 span {
    display: block;
    font-weight: bold;
    font-size: 40px;
    line-height: 140%;
}

/* DELAY */
.animated:nth-child(1) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.animated:nth-child(2) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.animated:nth-child(3) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.animated:nth-child(4) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.animated:nth-child(5) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.animated:nth-child(6) {
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
}

.stretta {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}


/* MD - meno di 1200px */
@media (max-width: 1200px) {

    .social-networks {
        position: initial;
        margin: 20px auto;
        display: block;
        width: 210px;
    }

}

/* SM - meno di 992px */
@media (max-width: 992px) {

    .collection-gallery {
        width: 23%;
        margin: 1%;
        float: left;
        height: 160px;
    }

}

/* XS - meno di 768px */
@media (max-width: 768px) {

    .collection-gallery {
        width: 48%;
        margin: 1%;
        float: left;
        height: 160px;
    }

    .menu-footer {
        margin-top: 40px;
    }

    .home-post-eventi {
        width: 100%;
    }


}
blockquote{
    margin-top: 20px;
}
.blockquote-pretty{
    position: relative;
    text-align: justify;
    overflow: hidden;
    /*width: 50%;*/
    font-weight: 500;
    font-style: italic;
    font-size: 15px;
    margin-bottom: 16px;
}

.blockquote-pretty .fa-quote-left{
    /*position: absolute;*/
    /*color: rgba(0,0,0,.02);*/
    /*font-size: 211px;*/
    /*top: -22px;*/
    /*left: -5px;*/
    position: absolute;
    color: rgba(0,0,0,.05);
    font-size: 75px;
    top: -1px;
    left: 11px;
}

.blockquote-pretty p{
    margin: 0;
    padding: 34px 24px 8px;
    /*min-height: 100px;*/
    color: #5b5b5b;
}

.custom-pagination a.page-numbers.others-toplink{
    display: none;
}

.loghi-margin-top {
	margin-top: 5px;
}

.loghi-100.loghi-margin-top {
    padding-left: 5px;
    Padding-right: 5px;
}
/*
#social-header {

    position: relative;
}

#social-header  .social-container {
    float: right;
    position: absolute;
    bottom: 18px;
    right: -20px;
    width: 200px;
}

#social-header > .social-networks a {
	margin-bottom: 100px;
}

*/
   
#social-header {
    position: relative;
}


#social-header  .social-container {
    float: right;
    position: absolute;
    bottom: 98px;
    right: 118px;
    width: 100px;
   }


#social-header > .social-networks a {
	margin-bottom: 100px;
}

#social-header .social-network {
    margin-bottom: 5px;
}

#menu-top, #menu-top-inglese, #menu-top-tedesco {
    padding-right: 100px!important;
}


#menu-top-tedesco .menu-item a {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 1170px) { 
 #social-header  .social-container {
        position: relative;
          right: 25px;
     margin-right: 120px;
    }
}


@media (max-width: 768px) { 
    #social-header  .social-container {
        position: relative;
        bottom: 0px;
    }
}

.zoom-instagram-widget__items--no-js.zoom-instagram-widget__items .zoom-instagram-widget__item {
    margin-right: 4px!important;
    margin-bottom: 10px;
}

.container-instagram {
    padding-bottom: 2em;
}


.container-instagram .title-loghi {
    margin-bottom: 20px;
}