/* HEADER FOTOGRAFICO */
.home .entry-header {
    position: relative;
    height: 680px;
    margin: 0 0 50px;
}
.home .entry-header #header_photo {
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.home .entry-header #header_photo .photo {
    position: relative;
    width: 100%;
    height: 680px;
}
.home .entry-header #header_photo .photo .desktop,
.home .entry-header #header_photo .photo .mobile,
.home .entry-header #header_photo .photo .ombra {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.home .entry-header #header_photo .photo .desktop {
    z-index: 1;
}
.home .entry-header #header_photo .photo .mobile {
    z-index: 2;
    display: none;
    visibility: hidden;
}
.home .entry-header #header_photo .photo .ombra {
    z-index: 3;
    background: rgba(0, 0, 0, 0.25);
}
.home .entry-header #header_photo .photo .claim {
    font-size: 35px;
    font-weight: 500;
    font-style: italic;
    line-height: 42px;
    position: absolute;
    z-index: 4;
    bottom: 150px;
    left: 50%;
    width: 550px;
    margin-left: -275px;
    text-align: center;
    color: #FFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.home .entry-header #header_photo .owl-nav {
    position: absolute;
    z-index: 11;
    bottom: 90px;
    left: 50%;
    display: block;
    width: 110px;
    height: 18px;
    margin-left: -55px;
}
.home .entry-header #header_photo .owl-prev, .home .entry-header #header_photo .owl-next {
    line-height: 0;
}
.home .entry-header #header_photo .owl-prev svg, .home .entry-header #header_photo .owl-next svg {
    width: 40px;
    height: auto;
    transition: all 0.2s ease;
    opacity: 0.8;
}
.home .entry-header #header_photo .owl-prev:hover svg, .home .entry-header #header_photo .owl-next:hover svg {
    opacity: 1;
}
.home .entry-header #header_photo .owl-prev {
    float: left;
}
.home .entry-header #header_photo .owl-next {
    float: right;
}
.home.page .entry-title {
    font-size: 45px;
    line-height: 61px;
    position: absolute;
    z-index: 10;
    top: 150px;
    left: 50%;
    display: block;
    width: 740px;
    margin: 0 0 0 -370px;
    padding: 0;
    text-align: center;
    color: #FFF;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 1060px) {
    .home .entry-header,
    .home .entry-header #header_photo .photo {
        height: 520px;
    }
    .home .entry-header #header_photo .photo .claim {
        bottom: 100px;
    }
    .home .entry-header #header_photo .owl-nav {
        bottom: 40px;
    }
    .home.page .entry-title {
        top: 100px;
    }
}
@media screen and (max-width: 780px) {
    .home.page .entry-title {
        right: 20px;
        left: 20px;
        width: auto;
        margin: 0;
    }
}
@media screen and (max-width: 767px) {
    .home .entry-header,
    .home .entry-header #header_photo .photo {
        height: 430px;
    }
    .home .entry-header #header_photo .photo .desktop {
        display: none;
        visibility: hidden;
    }
    .home .entry-header #header_photo .photo .mobile {
        display: block;
        visibility: visible;
    }
    .home .entry-header #header_photo .photo .claim {
        font-size: 22px;
        line-height: 24px;
        bottom: 90px;
    }
    .home .entry-header #header_photo .owl-nav {
        bottom: 25px;
        width: 70px;
        height: 10px;
        margin-left: -35px;
    }
    .home .entry-header #header_photo .owl-prev svg, .home .entry-header #header_photo .owl-next svg {
        width: 20px;
    }
    .home.page .entry-title {
        font-size: 34px;
        line-height: 44px;
        top: 50px;
    }
}
@media screen and (max-width: 640px) {
    .home .entry-header #header_photo .photo .claim {
        right: 20px;
        left: 20px;
        width: auto;
        margin-left: 0;
    }
}

/* CONTENUTO TESTUALE */
#contenuto_testuale {
    width: 960px; margin: 0 auto 70px; text-align: left;
    font-size: 16px; line-height: 22px; font-weight: 300;
}
@media screen and (max-width: 1020px) {
    #contenuto_testuale { width: auto; margin: 0 30px 70px; }
}
@media screen and (max-width: 767px) {
    #contenuto_testuale { margin: 0 20px 40px; }
}

/* SEZIONE EVENTI */
#home_sezione_eventi {
    box-sizing: border-box;
    padding: 0 0 80px;
    background: linear-gradient(180deg, rgba(233, 61, 127, 0) 0%, rgba(233, 61, 127, 0.15) 25.96%);
}
#home_sezione_eventi_container {
    position: relative;
    width: 960px;
    margin: 0 auto;
}
#home_sezione_eventi h2.intro {
    font-family: "Bree Serif", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 41px;
    margin: 0 0 30px;
    padding: 0;
    color: #333;
}
#home_sezione_eventi a.evento {
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    width: 300px;
    height: auto;
    margin: 0 30px 0 0;
    padding: 0 0 80px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #FFF;
    box-shadow: 0 0 10px rgba(91, 112, 86, 0.25);
}
#home_sezione_eventi a.evento.terzo {
    margin: 0;
}
#home_sezione_eventi a.evento:hover, #home_sezione_eventi a.evento:active,
#home_sezione_eventi a.evento:focus {
    text-decoration: none;
}
#home_sezione_eventi a.evento .immagine {
    position: relative;
    width: 100%;
    height: 170px;
    margin: 0 0 15px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#home_sezione_eventi a.evento .hover {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    transition: all 0.3s ease;
    opacity: 0;
    background: #E93E7F;
}
#home_sezione_eventi a.evento:hover .hover, #home_sezione_eventi a.evento:active .hover,
#home_sezione_eventi a.evento:focus .hover {
    opacity: 0.4;
}
#home_sezione_eventi a.evento .titolo {
    font-family: "Bree Serif", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
    display: block;
    box-sizing: border-box;
    margin: 0 15px 10px;
    padding: 0;
    color: #333;
}
#home_sezione_eventi a.evento .titolo.condate {
    margin: 0 15px 8px;
}
#home_sezione_eventi a.evento .date {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    display: block;
    box-sizing: border-box;
    margin: 0 15px 15px;
    padding: 0 0 0 18px;
    color: #333;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxMiAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJ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UM0LjI4NTcxIDAuMTgyODEyIDQuMDkyODYgMCAzLjg1NzE0IDBIM0MyLjc2NDI5IDAgMi41NzE0MyAwLjE4MjgxMiAyLjU3MTQzIDAuNDA2MjVWMS42MjVIMS4yODU3MUMwLjU3NTg5MyAxLjYyNSAwIDIuMTcwOSAwIDIuODQzNzVWNC4wNjI1SDEyVjIuODQzNzVDMTIgMi4xNzA5IDExLjQyNDEgMS42MjUgMTAuNzE0MyAxLjYyNVoiIGZpbGw9IiNFOTNFN0YiLz48L3N2Zz4=");
    background-repeat: no-repeat;
    background-position: left 3px;
    background-size: 12px auto;
}
#home_sezione_eventi a.evento .descrizione {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    display: block;
    box-sizing: border-box;
    margin: 0 15px;
    padding: 20px 0 0;
    color: #333;
    border-top: 1px solid #C4C4C4;
}
#home_sezione_eventi a.evento .fondo {
    position: absolute;
    z-index: 1;
    right: 15px;
    bottom: 0;
    left: 15px;
    width: auto;
    height: 60px;
}
#home_sezione_eventi a.evento .fondo .pulsante {
    font-family: "Bree Serif", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    display: inline-block;
    box-sizing: border-box;
    padding: 6px 20px 10px 15px;
    text-align: center;
    color: #FFF;
    background: #E93E7F;
}
#home_sezione_eventi a.evento:hover .fondo .pulsante,
#home_sezione_eventi a.evento:active .fondo .pulsante,
#home_sezione_eventi a.evento:focus .fondo .pulsante {
    background: #671D39;
}
#home_sezione_eventi a.evento .fondo .pulsante svg {
    margin: 0 0 0 15px;
}
#home_sezione_eventi a.pulsante {
    font-family: "Bree Serif", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    margin: 40px 0 0;
    padding: 6px 20px 10px 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #E93E7F;
    border: 1px solid #E93E7F;
    background-color: transparent;
}
#home_sezione_eventi a.pulsante:hover, #home_sezione_eventi a.pulsante:active,
#home_sezione_eventi a.pulsante:focus {
    background: rgba(233, 62, 127, 0.1);
}
#home_sezione_eventi a.pulsante svg {
    margin: 0 0 0 15px;
}
@media screen and (max-width: 1020px) {
    #home_sezione_eventi_container {
        width: auto;
        margin: 0 30px;
    }
    #home_sezione_eventi a.evento.secondo {
        margin: 0;
    }
    #home_sezione_eventi a.evento.terzo {
        display: none;
        visibility: hidden;
    }
}
@media screen and (max-width: 767px) {
    #home_sezione_eventi { padding: 0 0 60px; }
    #home_sezione_eventi_container { margin: 0 20px; }
    #home_sezione_eventi h2.intro {
        font-size: 24px;
        line-height: 33px;
    }
}
@media screen and (max-width: 670px) {
    #home_sezione_eventi a.evento {
        float: none;
        width: auto;
        margin: 0 auto 20px;
    }
    #home_sezione_eventi a.evento.secondo {
        margin: 0 auto;
    }
}

/* SEZIONE CATEGORIE IMPRESE */
#home_categorie_imprese {
    box-sizing: border-box;
    padding: 0 0 60px;
    margin: 0 0 60px;
    background: linear-gradient(180deg, rgba(233, 61, 127, 0.15) 74.55%, rgba(233, 61, 127, 0) 100%);
}
#home_categorie_imprese_container {
    width: 960px;
    margin: 0 auto;
}
#home_categorie_imprese h2.intro {
    font-family: "Bree Serif", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 41px;
    margin: 0 0 10px;
    padding: 0;
    color: #333;
}
#home_categorie_imprese p.intro {
    font-size: 16px;
    font-weight: 300;
    line-height: 19px;
    margin: 0 0 20px;
    padding: 0;
    color: #333;
}
#home_categorie_imprese .box {
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    width: 300px;
    margin: 10px;
    padding: 0 0 80px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #FFF;
    box-shadow: 0 0 10px rgba(91, 112, 86, 0.25);
    max-height: none;
}
#home_categorie_imprese .box:hover, #home_categorie_imprese .box:active,
#home_categorie_imprese .box:focus {
    text-decoration: none;
}
#home_categorie_imprese .box .immagine {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 0 0 15px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#home_categorie_imprese .box .hover {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    transition: all 0.3s ease;
    opacity: 0;
    background: #E93E7F;
}
#home_categorie_imprese .box:hover .hover, #home_categorie_imprese .box:active .hover,
#home_categorie_imprese .box:focus .hover {
    opacity: 0.4;
}
#home_categorie_imprese .box h2 {
    font-family: "Bree Serif", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
    display: block;
    box-sizing: border-box;
    margin: 0 15px;
    padding: 0;
    color: #333;
}
#home_categorie_imprese .box p {
    font-size: 16px;
    font-weight: 300;
    line-height: 19px;
    display: block;
    box-sizing: border-box;
    margin: 10px 15px 0;
    color: #333;
}
#home_categorie_imprese .box .fondo {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 0;
    left: 12px;
    width: auto;
    height: 60px;
}
#home_categorie_imprese .box .fondo .pulsante {
    font-family: "Bree Serif", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    display: inline-block;
    box-sizing: border-box;
    padding: 6px 20px 10px 15px;
    text-align: center;
    color: #FFF;
    background: #E93E7F;
}
#home_categorie_imprese .box:hover .fondo .pulsante,
#home_categorie_imprese .box:active .fondo .pulsante,
#home_categorie_imprese .box:focus .fondo .pulsante {
    background: #671D39;
}
#home_categorie_imprese .box .fondo .pulsante svg {
    margin: 0 0 0 15px;
}
#home_categorie_imprese .categorie_imprese_container {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 -80px;
    padding: 0 80px;
}
#categorie_imprese_carousel {
    position: static;
    width: 990px;
    margin: 0 0 0 -10px;
}
#categorie_imprese_carousel .owl-nav { position: static; }
#categorie_imprese_carousel .owl-stage { padding-left: 0 !important; }
#categorie_imprese_carousel .owl-dots { display: none; }
#categorie_imprese_carousel .owl-item { padding: 0 0 10px; }
#categorie_imprese_carousel .owl-prev, #categorie_imprese_carousel .owl-next {
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    box-sizing: border-box;
    width: 53px;
    height: 53px;
    margin-top: -27px;
    padding-top: 21px;
    transition: all 0.3s ease;
    text-align: center;
    background: #E93E7F;
}
#categorie_imprese_carousel.col2 .owl-prev, #categorie_imprese_carousel.col2 .owl-next,
#categorie_imprese_carousel.col3 .owl-prev, #categorie_imprese_carousel.col3 .owl-next {
    display: none;
    visibility: hidden;
}
#categorie_imprese_carousel .owl-prev {
    z-index: 1;
    left: 0;
}
#categorie_imprese_carousel .owl-next {
    z-index: 1;
    right: 0;
}
#categorie_imprese_carousel .owl-prev:hover, #categorie_imprese_carousel .owl-next:hover {
    background: #671D39;
}
@media screen and (max-width: 1160px) {
    #home_categorie_imprese .categorie_imprese_container {
        margin: 0 -20px;
        padding: 0 20px;
    }
    #categorie_imprese_carousel .owl-prev, #categorie_imprese_carousel .owl-next {
        top: 58px;
        margin-top: 0;
    }
}
@media screen and (max-width: 1020px) {
    #home_categorie_imprese_container {
        width: auto;
        margin: 0 30px;
    }
    #home_categorie_imprese .categorie_imprese_container {
        margin: 0 -30px;
        padding: 0 30px;
    }
    #categorie_imprese_carousel .owl-prev, #categorie_imprese_carousel .owl-next,
    #categorie_imprese_carousel .owl-prev:hover, #categorie_imprese_carousel .owl-next:hover {
        background: #FFF;
    }
    #categorie_imprese_carousel .owl-prev path, #categorie_imprese_carousel .owl-next path {
        transition: all 0.3s ease;
        fill: #E93E7F;
    }
    #categorie_imprese_carousel .owl-prev:hover path, #categorie_imprese_carousel .owl-next:hover path {
        fill: #671D39;
    }
    #categorie_imprese_carousel.col2 .owl-prev, #categorie_imprese_carousel.col2 .owl-next,
    #categorie_imprese_carousel.col3 .owl-prev, #categorie_imprese_carousel.col3 .owl-next {
        display: block;
        visibility: visible;
    }
}
@media screen and (max-width: 767px) {
    #home_categorie_imprese {
        padding: 0 0 50px;
        margin: 0 0 50px;
    }
    #home_categorie_imprese_container {
        margin: 0 20px;
    }
    #home_categorie_imprese h2.intro {
        font-size: 24px;
        line-height: 33px;
    }
    #home_categorie_imprese .box {
        width: 240px;
    }
    #home_categorie_imprese .categorie_imprese_container {
        margin: 0 -20px;
        padding: 0 20px;
    }
    #categorie_imprese_carousel {
        width: 780px;
    }
    #categorie_imprese_carousel .owl-prev, #categorie_imprese_carousel .owl-next {
        top: 63px;
        width: 44px;
        height: 44px;
        padding-top: 18px;
    }
}