/* ############################## */
/* BLOCK_001 - SLIDER FULL SCREEN */
/* ############################## */
#block_001 .slider {
    position: relative;
    height: calc(100vh - 127px);
    min-height: 600px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

#block_001 .slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

#block_001.v2 .padding {
    padding: 180px 0 100px;
}

#block_001.v2 .slider {
    height: calc(93vh - 127px);
}

#block_001.v2 .slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(210, 164, 139, 0.5);
}

#block_001.v2 .slider .box-overlay {
    position: relative;
    z-index: 1;
    height: 115%;
    width: 50vw;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#block_001.v2 .slider .box-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#block_001.v3 .slider {
    height: calc(87vh - 127px);
}

#block_001.v3 .text-big p {
    color: #ffffff;
}

#block_001.v3 .margin-negative {
    margin-top: -180px;
}

#block_001.v3 .img-negative {
    margin-bottom: -250px;
}


/* ############################## */
/* BLOCK_002 - BANNER CTA */
/* ############################## */

#block_002 {
    position: relative;
}

.bg-fade-right::before {
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.5) 60%,
            rgba(0, 0, 0, 0.0) 100%);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.bg-fade-left::before {
    background: linear-gradient(to left,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.5) 60%,
            rgba(0, 0, 0, 0.0) 100%);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.bg-fade-center::before {
    background-color: rgba(0, 0, 0, 0.5);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#block_002 .btn-discover-more::before {
    background-color: #ffffff;
}

#block_002.v1 {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#block_002.v1.full-height {
    height: 85vh;
    display: flex;
    align-items: center;
}

/* #################################### */
/* BLOCK_003 - LOOP DI BOX */
/* #################################### */

#block_003 .border-right {
    border-right: 1px solid var(--color-1);
}

/* #################################### */
/* BLOCK_004 - SEZIONE MEDIA/TEXT */
/* #################################### */

#block_004 {
    position: relative;
}

/* #################################### */
/* BLOCK_005 - ARTICOLI DEL BLOG */
/* #################################### */

#block_005 #article {
    padding-top: 183px;
}

#block_005 #article .box {
    padding: 90px 110px;
}

#block_005 #article .bg-1 {
    background-color: #E9D1C0;
}

#block_005 #article .bg-2 {
    background-color: #FFF4E0;
}

#block_005 #article img {
    margin-top: -270px;
}

#block_005 #article .badge-next-event span {
    display: inline-block;
    padding: 7px 23px;
    border-radius: 50px;
    background-color: var(--color-1);
    color: #ffffff;
    font-size: clamp(12px, 1vw, 18px);
    font-family: var(--font-1);
    text-transform: uppercase;
    font-weight: 300;
}

#block_005 #article .event-date {
    display: inline-block;
    font-family: var(--font-1);
    font-size: clamp(16px, 1.4vw, 25px);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-1);
}

#block_005 .splide__pagination {
    bottom: -3.5em;
}

/* #################################### */
/* BLOCK_006 - FORM PRENOTAZIONE IFRAME */
/* #################################### */

#block_006 {
    background-color: #fffcf7;
}

#block_006 .container.custom {
    max-width: 1170px;
}

/* #################################### */
/* BLOCK_007 - PHOTOGALLERY */
/* #################################### */

.padding-fix {
    padding-top: 120px;
}

#block_007.v3 .margin-negative {
    margin-top: -220px;
}

#block_007.v3 .splide__slide:nth-child(odd) {
    width: 37% !important;
}

#block_007.v3 .splide__slide:nth-child(even) {
    width: 63% !important;
}

#block_007.v3 .splide__slide:nth-child(odd) img {
    height: 65vh;
    object-fit: cover;
    object-position: center center;
}

#block_007.v3 .splide__slide:nth-child(even) img {
    height: 65vh;
    object-fit: cover;
    object-position: center center;
}

#block_007.v3 .splide__pagination {
    bottom: -3.5rem;
}

#block_007.v3 .splide__pagination .splide__pagination__page.is-active {
    background-color: var(--color-1);
}

#block_007.v4 .margin-negative {
    margin-top: -220px;
}

#block_007.v4 .splide__pagination {
    bottom: -3.5rem;
}

/* #################################### */
/* BLOCK_008 - FORM CONTATTI */
/* #################################### */

#block_008.bg-contatti {
    background-color: #FFFCF6;
}

#block_008.bg-job {
    background-color: #F9F0E7;
}

#block_008.bg-contatti #form input[type="text"],
#block_008.bg-contatti #form input[type="email"],
#form input[type="file"],
#block_008.bg-contatti #form input[type="tel"],
#block_008.bg-contatti #form textarea {
    background-color: #F9F0E7 !important;
}

#block_008.bg-job #form input[type="text"],
#block_008.bg-job #form input[type="email"],
#form input[type="file"],
#block_008.bg-job #form input[type="tel"],
#block_008.bg-job #form textarea {
    background-color: #FFFCF6 !important;
}


/* #################################### */
/* BLOCK_009 - GRIGLIA CONTENUTI */
/* #################################### */

#block_009 .parent {
    display: grid;
    grid-template-columns: minmax(0, 50px) 1fr 1fr 1fr minmax(0, 50px);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    grid-template-rows: 1fr 1fr minmax(100px, auto) minmax(200px, auto) 1fr minmax(200px, auto) 1fr minmax(220px, auto);
}

#block_009 .bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#block_009 .div1 {
    grid-area: 1 / 2 / 2 / 3;
}

#block_009 .div2 {
    grid-area: 1 / 3 / 3 / 6;
}

#block_009 .div3 {
    grid-area: 2 / 2 / 5 / 3;
}

#block_009 .div4 {
    grid-area: 3 / 3 / 4 / 4;
}

#block_009 .div5 {
    grid-area: 4 / 3 / 6 / 5;
}

#block_009 .div6 {
    grid-area: 5 / 1 / 6 / 3;
}

#block_009 .div7 {
    grid-area: 6 / 2 / 8 / 4;
}

#block_009 .div8 {
    grid-area: 6 / 4 / 7 / 5;
}

#block_009 .div9 {
    grid-area: 7 / 4 / 9 / 6;
}

#block_009 .div10 {
    grid-area: 8 / 2 / 9 / 4;
}


/* #################################### */
/* BLOCK_010 - GRIGLIA IMMAGINI */
/* #################################### */

#block_010 .parent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    grid-template-rows: repeat(4, 350px);
}

#block_010 .bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#block_010 .div1 {
    grid-area: 1 / 1 / 2 / 2;
}

#block_010 .div2 {
    grid-area: 1 / 2 / 3 / 4;
}

#block_010 .div3 {
    grid-area: 2 / 1 / 4 / 2;
}

#block_010 .div4 {
    grid-area: 3 / 2 / 4 / 4;
}

.div5 {
    grid-area: 4 / 1 / 5 / 4;
}


/* #################################### */
/* BLOCK_011 - SEZIONI ALTERNATE */
/* #################################### */

#block_011 {
    position: relative;
}

#block_011.v1 .custom-position {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

#block_011.v1 .custom-position .bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#block_011.v1 .custom-position .container-fluid {
    width: 100%;
    height: 100%;
}

#block_011.v1 .custom-position .container-fluid .row {
    height: 100%;
}

#block_011.v2 .bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#block_011.v2 .padding-fix {
    padding-top: 45vh;
}

#block_011.v2 #editor p {
    color: #ffffff;
}

#block_011.v2 .margin-negative {
    margin-top: -35vh;
}

#block_011.v2 .btn-discover-more::before {
    background-color: #ffffff !important;
}

/* #################################### */
/* BLOCK_012 - ACCORDION */
/* #################################### */

#block_012 .accordion {
    background-color: unset;
    cursor: pointer;
    padding: 20px 0;
    width: 100%;
    border: none;
    outline: none;
    transition: 0.4s;
}

#block_012 .accordion span {
    font-family: var(--font-1);
    font-size: 18px;
    color: #D2A48B;
    font-weight: 500;
    text-transform: uppercase;
}

#block_012 .accordion i {
    font-size: 20px;
    color: var(--color-1);
    transition: .1s ease-in-out;
}

#block_012 .accordion i.opened {
    transform: rotate(180deg);
}

#block_012 .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-bottom: 1px solid #d9d9d9;
}

/* #################################### */
/* BLOCK_013 - BOX CONTATTI */
/* #################################### */

#block_013 {
    background-color: #fffcf6;
}

#block_013 #box-contact {
    background-color: var(--color-1);
    height: 100%;
}

#block_013 #box-contact i {
    font-size: 40px;
    color: var(--color-2);
}

#block_013 p {
    color: #ffffff;
    margin-bottom: 10px;
}

#block_013 p:last-child {
    margin-bottom: 0;
}

#block_013 #box-contact .section-label {
    font-family: var(--font-2);
}

#block_013 #box-contact.contatti a {
    color: #ffffff;
    text-decoration: none;
    transition: .1s ease-in-out;
}

#block_013 #box-contact.contatti a:hover {
    opacity: .7;
}

#block_013 #box-contact.location,
#block_013 #box-contact.location i,
#block_013 #box-contact.location p {
    transition: .1s ease-in-out
}

#block_013 #box-contact.location:hover {
    background-color: #63483f;
}