/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.wegg-embed-video-responsive {
    position: relative;
    margin: 20px 0;
    width: 480px;
    height: 300px;
}

.wegg-embed-video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.wegg-accordion-row {
    margin-top: 0;
}
.wegg-accordion-row:not(:last-child) {
    border-bottom: 1.5px solid #eee;
}
.wegg-accordion-title {
    padding: 12px 0 6px 32px;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: var( --e-global-color-text );
}
.wegg-accordion-title>img {
    display: inline-block;
    width: 22px;
    height: auto;
    margin-right: 22px;
    vertical-align: sub;
}
.wegg-accordion-chevron {
    width: 24px;
    height: 24px;
    display: block;
    left: 0;
    top: calc(50% - 12px);
    position: absolute;
    fill: #5b93ce;
}
.wegg-accordion-chevron>svg {
    transition: transform 0.15s ease-in-out;
}
.wegg-accordion-chevron>svg>path {
    fill: #c36;
}
.wegg-accordion-row:hover .wegg-accordion-chevron {
    fill: #306181
}
.wegg-accordion-open>.wegg-accordion-title>.wegg-accordion-chevron>svg {
    transform: rotate(180deg);
    transition: transform 0.15s ease-in-out;
}
.wegg-accordion-description {
    padding-left: 32px;
    overflow: hidden;
    color: #575757;
    font-size: 16px;
    transition: max-height 0.7s ease-in-out;
    margin-bottom: 6px;
}
.wegg-accordion-row:not(.wegg-accordion-open) .wegg-accordion-description {
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
}

.wegg-filter {
    display: flex;
    flex-direction: row;
    column-gap: 16px;
    flex-wrap: wrap;
}

.wegg-filter-col {
    min-width: 20%;
    flex: auto;
    margin-bottom: 16px;
}

.wegg-filter h6 {
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.wegg-filter-dropdown-check-list {
    display: inline-block;
    position: relative;
    width: 100%;
}

.wegg-filter-dropdown-check-list .anchor {
    width: 100%;
    position: relative;
    cursor: pointer;
    display: inline-block;
    color: #ccc;
    background-color: #fafafa;
    border-style: none;
    border-radius: 10px 10px 10px 10px;
    padding: 10px 36px 10px 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    white-space: nowrap;
    overflow-x: clip;
    text-overflow: ellipsis;
    transition: all .3s;
    letter-spacing: 0.5px;
}

.wegg-filter-dropdown-check-list:has(input:checked) .anchor {
    color: var(--e-global-color-secondary);
}

.wegg-filter-dropdown-check-list .anchor:hover {
    outline: none;
    color: var(--e-global-color-secondary);
}

.wegg-filter-dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 1px solid #130F26;
    border-top: 1px solid #130F26;
    padding: 4px;
    right: 14px;
    top: 50%;
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: translateY(-50%) scaleY(0.8) rotate(-135deg);
}

.wegg-filter-dropdown-check-list ul.items {
    min-width: 100%;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    margin: 0;
    background-color: #ffffff;
    border-radius: 10px;
    position: absolute;
    padding: 16px 22px;
    z-index: 10;
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.1);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #575757;
    top: 50px;
}

.wegg-filter-dropdown-check-list ul.items li {
    list-style: none;
    margin: 8px 0;
    white-space: nowrap;
}
.wegg-filter-dropdown-check-list ul.items li label {
    vertical-align: top;
}

.wegg-filter-dropdown-check-list ul.items li input[type="checkbox"] {
    margin-right: 8px;
}
.wegg-filter-spacing {
    flex-grow: 1;
}
#wegg-filter-search {
    width: 39px;
    height: 39px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.20s ease-in-out;
}
#wegg-filter-search.visible {
    width: 100%;
    overflow: visible;
}
#wegg-filter-search .anchor {
    width: 39px;
    height: 39px;
    background-image: url(assets/img/search.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}
#wegg-search-field::placeholder {
    color: #ccc;
}
#wegg-search-field,
.wegg-booking input[type="text"],
.wegg-booking input[type="tel"],
.wegg-booking input[type="email"],
.wegg-booking textarea {
    line-height: 39px;
    color: var(--e-global-color-secondary);
    background-color: #fafafa;
    border-style: none;
    border-radius: 10px 10px 10px 10px;
}
#wegg-search-field {
    width: 0;
    display: none;
    padding: 0 39px 0 23px;
}
#wegg-filter-search.visible #wegg-search-field {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
#wegg-search-field:focus-visible {
    outline: 1px solid #0085f2 !important;
    box-shadow: 0 0 0 3px rgba(0, 133, 242, 0.4) !important;
}
#wegg-search-field:focus {
    outline: none;
    color: var(--e-global-color-secondary);
}
#wegg-filter-clear {
    flex-basis: 100%;
    text-align: right;
    height: 32px;
}
#wegg-filter-clear>span {
    background-image: url(assets/img/clear-filters.svg);
    background-repeat: no-repeat;
    background-position: center right;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 32px;
    padding-right: 24px;
    cursor: pointer;
    display: none;
}

.wegg-filter-search-col-grow {
    flex-grow: 1;
}

.wegg-filter-search-col-grow #wegg-filter-search {
    width: 100%;
}

#wegg-filter-no-results {
    display: none;
    font-size: 20px;
    color: #ccc;
}

.wegg-filter-break-phone,
.wegg-filter-break-tablet {
    display: none;
}

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

.wegg-col {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.wegg-col-grow {
    flex-grow: 1;
}

.wegg-col-auto {
    flex: auto;
    flex-grow: 0;
}

.wegg-col-break-phone,
.wegg-col-break-tablet {
    display: none;
}

.wegg-bold {
    font-weight: bold !important;
}

.cassageom-region {
    fill: #ffffff;
    cursor: pointer;
    transition : fill 0.25s ease-in-out;
}

.cassageom-region:hover {
    fill: #d3347b;
}

#delegati-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#delegati-map {
    width: 100%;
    height: 500px;
}

#delegati-map-table-wrapper {
    width: 100%;
}

#delegati-map>* {
    height: 100%;
}

#delegati-map-table {
    border-collapse: collapse;
    border-spacing: 0;
}

#delegati-map-table td,
#delegati-map-table th {
    border: none;
}

#delegati-map-table thead,
#delegati-map-table tfoot {
    color: var(--e-global-color-c656376);
    background-color: var(--e-global-color-primary);
    padding: 10px 10px 10px 10px;
    border-style: none;
}

#delegati-map-table th {
    font-family: "Manrope", Sans-serif;
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 1em;
    letter-spacing: 0.5px;
}

#delegati-map-table td {
    font-family: "Manrope", Sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: 0.5px;
    color: var(--e-global-color-text);
    background-color: var(--e-global-color-c656376);
    padding: 15px 10px 15px 10px;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: var(--e-global-color-bb371ed);
    text-align: left;
    vertical-align: top;
}

#delegati-map-table-wrapper input[type="search"] {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    color: var(--e-global-color-bb371ed);
    background-color: #F1F3F9;
    border-style: none;
    border-radius: 10px 10px 10px 10px;
    padding: .5rem 1rem;
}

#delegati-map-table-wrapper input[type="search"]:focus {
    color: var(--e-global-color-secondary);
}

#delegati-map-table-wrapper div.dt-container .dt-paging .dt-paging-button {
    color: var(--e-global-color-text) !important;
    padding: 10px 10px 10px 10px;
    margin-right: calc(6px / 2);
    margin-left: calc(6px / 2);
    margin-top: calc(6px / 2);
    margin-bottom: calc(6px / 2);
}

#delegati-map-table-wrapper div.dt-container .dt-paging .dt-paging-button.current,
#delegati-map-table-wrapper div.dt-container .dt-paging .dt-paging-button:hover {
    color: var(--e-global-color-accent) !important;
}

#delegati-map-table-wrapper div.dt-container .dt-paging .dt-paging-button:hover,
#delegati-map-table-wrapper div.dt-container .dt-paging .dt-paging-button.current {
    background: transparent !important;
    border: 1px solid transparent !important;
}

#delegati-map-table-wrapper div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end:has(.dt-paging) {
    width: 100%;
    justify-content: center;
}

#form-prenotazione form {
    display: block;
}

.jet-form-builder-message--error:has(.wegg-durc-message-warning) {
    border: 1px solid orange;
    color: orange;
}


@media screen and (max-width: 1023px) {

    .wegg-col-break-tablet {
        flex-basis: 100%;
        display: block;
    }

    .wegg-filter-break-tablet {
        flex-basis: 100%;
        display: block;
    }
    .wegg-filter-col:not(.wegg-filter-tab):not(.wegg-filter-single) {
        width: calc(50% - 10px);
    }
    .wegg-filter-search-col:not(.wegg-filter-search-col-grow),
    #wegg-filter-search,
    #wegg-search-field {
        width: 100% !important;
    }
    .wegg-filter-search-col:not(.wegg-filter-search-col-grow) h6 {
        display: none !important;
    }
    #wegg-search-field {
        display: block;
    }
    .wegg-filter ul {
        flex-wrap: wrap;
        column-gap: 30px;
    }

}

@media screen and (max-width: 767px) {

    .wegg-col-break-phone,
    .wegg-col-break-tablet {
        flex-basis: 100%;
        display: block;
    }

    .wegg-filter-break-phone,
    .wegg-filter-break-tablet {
        flex-basis: 100%;
        display: block;
    }

    .wegg-filter-col:not(.wegg-filter-tab) {
        width: 100%;
    }

}