/* GENERALE */
#toplevel_page_eliano img {
    width: auto !important;
    height: 50% !important;
    filter: grayscale(1) brightness(255) !important;
    -webkit-filter: grayscale(1) brightness(255) !important;
}

.archive .elementor-element.elementor-element-6fdc661.info.e-con-full.e-flex.e-con.e-child {
    padding: 4px !important;
}

.overflow {
    overflow: hidden;
}

.none {
    display: none;
}

.elementor-widget-image a {
    width: 100%;
}

.elementor-element.elementor-element-660cdcb.e-con-full.e-flex.e-con.e-child {
    min-height: 97px;
}

.single-annunci .elementor-element.elementor-element-6949ace.e-flex.e-con-boxed.e-con.e-parent {
    padding: 0;
}

.card-annuncio h3.elementor-icon-box-title {
    margin: 0;
}

.elementor-element.elementor-element-8940d79.e-con-full.e-flex.e-con.e-child {
    min-height: 90px;
}

.page-id-1097 .elementor-loop-container.elementor-grid {
    grid-template-columns: repeat(2, 1fr);
}

.page-id-1097 .elementor-widget-loop-grid .elementor-grid {
    grid-column-gap: var(--grid-column-gap, 0px);
}

@media (max-width: 767px) {
    .page-id-1097 .elementor-loop-container.elementor-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* visibilità template categoria*/
.e-con-inner>* {
    visibility: visible !important;
}

form p:nth-child(6) {
    display: flex;
    flex-direction: column;
    position: relative;
}

form p:nth-child(6) input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin-bottom: 0;
}

form p:nth-child(6) .wpcf7-spinner {
    position: absolute;
    left: 41%;
    right: 41%;
    bottom: 20%;
}

/* nuova costruzione */
.postid-772 .elementor-element.elementor-element-0c8d2e2.e-con-full.e-flex.e-con.e-child.animated.fadeInUp {
    display: none !important;
}

.archive .elementor.elementor-973.elementor-location-footer {
    margin-top: 100px;
}


/* Carosello immagini */

#galleria .swiper-slide-inner {
    height: 500px;
}

#galleria .swiper-slide-image {
    height: 100%;
    object-fit: cover;
}

.citta h2.elementor-heading-title.elementor-size-default a {
    color: var(--e-global-color-7471ddd) !important;
    font-family: var(--e-global-typography-35d4f5f-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-35d4f5f-font-size) !important;
    text-transform: var(--e-global-typography-35d4f5f-text-transform) !important;
    line-height: var(--e-global-typography-35d4f5f-line-height) !important;
    letter-spacing: var(--e-global-typography-35d4f5f-letter-spacing) !important;
    word-spacing: var(--e-global-typography-35d4f5f-word-spacing) !important;
}

/* TIPOLOGIA */
.container {
    max-width: 1140px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.square {
    width: 100%;
    height: 350px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 22px;
    color: white;
    display: flex;
    transition: all 1s ease;
    justify-content: center;
    transition: all 1s ease;
}

.square::before {
    content: '';
    background: linear-gradient(0deg, rgba(2, 0, 36, 0.75) 0%, rgba(0, 0, 0, 0) 50%);
    width: 100%;
    height: 100%;
}

.card {
    position: relative;
    width: calc(33% - 7px);
    margin: 10px 5px;
    display: flex;
    justify-content: center;
}

.square:hover {
    transform: scale(1.1);
    transition: all 1s ease;
}

/* .title {
    position: absolute;
    bottom: 20px;
    font-size: 30px !important;
    color: white !important;
} */

.number {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
}

/* FINE TIPOLOGIA */

@media (max-width: 897px) {
    .card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .card {
        width: 100%;
    }
}