/*
Theme Name: Dati Mezzogiorno theme
Author: (rob.a) grafica | Web Solutions & graphic design
Author URI: robagrafica.com
Version: 1.0 @2025
*/

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import "assets/css/custom_carousel.css";

@font-face {
    font-family: 'Satoshi';
    src: url("assets/fonts/Satoshi/Satoshi-Variable.woff2") format("woff2");
    /*src: url("assets/fonts/Satoshi/Satoshi-Variable.woff") format("woff");*/
}

@font-face {
    font-family: 'Satoshi-italic';
    src: url("assets/fonts/Satoshi/Satoshi-VariableItalic.woff2") format("woff2");
    /*src: url("assets/fonts/Satoshi/Satoshi-VariableItalic.woff") format("woff");*/
}


:root {
    /* Font Family */
    --font_primary: 'Satoshi', sans-serif;
    --font_alternative: 'Spectral', serif;

    /* Colors */
    --pink: 239, 133, 223;
    --mappa3: 75, 153, 175;

    --theme_primary_color: #501e6e;
    --theme_primary_color_light: #AC3E9D;
    --theme_txt_black: #222222;
    --theme_dark: #37124D;
    --theme_green: rgb(40, 163, 57);
    --theme_pink: rgba(var(--pink), 1);
    --theme_red: #e5351f;
    --theme_light: #ede8f0;
    --theme_mappa3: rgba(var(--mappa3), 1);


    /* Header / footer heights */
    --header_height: 120px;
    --footer_height: 180px;

    --transition: all .3s;
    /*--container: 100%;*/
}


html, body {
    font-family: var(--font_primary);
    font-size: 16px;
    font-weight: 100;
    color: var(--theme_primary_color);
    line-height: 1.25rem;
}

b, strong {
    font-weight: 600;
}

.font_serif {
    font-family: var(--font_alternative);
}

.title_page, h1, h2, h3, h4, h5, h6 {
    /*font-family: var(--font_alternative);*/
    color: var(--theme_primary_color_light);
}

.title_archivio {
    font-family: var(--font_alternative);
    color: var(--theme_primary_color);
}

h1.title_page {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--theme_primary_color);
}

h2.title_page {
    font-size: 1.5rem;
}

h1.title_archivio {
    font-size: 2.5rem;
}

h2.title_archivio {
    font-size: 1.4rem;
    text-transform: uppercase;
}

h1.title_percorsi {
    font-size: 2rem;
}

a, img, a.azienda_row .row {
    transition: var(--transition);
}

a, .sidebar_group a {
    color: inherit !important;
    text-decoration: none;
}

.post_content a {
    text-decoration: underline !important;
    color: var(--theme_primary_color_light) !important;
}

.post_content a:hover {
    color: var(--theme_primary_color) !important;
    /*text-decoration: underline !important;*/
}

a:hover {
    text-decoration: none;
    opacity: .85;
}

a.azienda_row:hover .row {
    background-color: var(--theme_light);
    font-weight: 900;
}

.theme_sticky {
    position: sticky;
    top: calc(var(--header_height) - 3rem);
}


/*.modal.lightbox .modal-dialog:not(.modal-fullscreen){*/
/*    max-width: 60vw;*/
/*}*/
.modal.lightbox .lightbox-caption {
    background-color: white;
    color: transparent;
    font-size: 0;
}

.modal.lightbox .lightbox-caption span {
    color: var(--theme_primary_color);
    font-size: 1rem;
}

.scroll_element {
    scrollbar-color: var(--theme_primary_color) rgba(255, 255, 255, 0.3);
    scrollbar-width: thin;
}

.img_preview a img {
    border: 1px solid #501E6E80;
}

.img_preview a:hover img {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px #501E6E80;
}


/*----------------------
    citazioni
----------------------*/
.theme_blockquote {
    font-family: var(--font_alternative);
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5rem;
    color: var(--theme_pink);
    font-style: italic;
    position: relative;
}

.theme_blockquote:before {
    content: url(assets/images/virgolette_sx.svg);
    position: absolute;
    width: 30px;
    top: -20px;
    left: -30px;
}

.theme_blockquote:after {
    content: url(assets/images/virgolette_dx.svg);
    position: absolute;
    width: 30px;
    bottom: -20px;
    right: -30px;
}

/*----------------------
    BUTTONS and LINKS
----------------------*/
a.view_all {
    font-size: .75rem;
    /*color: var(--theme_green) !important;*/
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: underline;
}

.btn, .wp-element-button {
    border-radius: 20px;
    text-decoration: none;
    /*padding: 1rem 1.5rem;*/
    background-color: var(--theme_primary_color);
    color: white !important;
    transition: var(--transition);
    font-size: .8rem;
    text-transform: uppercase;
    font-family: var(--font_primary);
}
.wp-element-button {
    padding: 0 1rem !important;
}

.btn.btn_outline {
    border: 2px solid var(--theme_primary_color);
    color: var(--theme_primary_color) !important;
    background-color: transparent;
    text-transform: uppercase;
    font-size: .6rem;
}

.btn:hover {
    color: white;
    background-color: var(--theme_primary_color);
    opacity: .8;
}

.btn.btn-sm {
    border-radius: 10px;
    font-size: .7rem;
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: .42px;
    font-weight: 500;
    color: var(--theme_primary_color_light);
    border: 1px solid var(--theme_primary_color_light);
}

.btn.btn-sm:hover {
    background-color: white;
    border-color: white;
}

button:focus {
    outline: none;
}

.btn_dropdown {
    border-radius: 30px;
    background-color: #fff;
    border: 1px solid var(--theme_primary_color) !important;
    padding: 5px 10px;
    color: var(--theme_primary_color);
    font-size: .9rem;
}

ul.dropdown-menu {
    margin-left: 10px !important;
}

.dropdown-menu li {
    background-color: var(--theme_primary_color);
    padding: 5px 10px;
    font-size: .9rem;
    white-space: nowrap;
}

.dropdown-menu li:not(:first-child) {
    border-top: 1px solid white;
}


/*----------------------
    HEADER
----------------------*/
header {
    height: var(--header_height);
    background-color: var(--theme_light);
    z-index: 100;
    position: sticky;
    top: 0;
}
#top_header{
    background-color: white;
}
#top_header div[class^="col"], #top_header div[class*=" col"] {
    text-align: end;
}
#top_header img{
    height: 30px;
}

#banner_hp {
    background-color: var(--theme_primary_color_light);
    max-height: 640px;
    overflow: hidden;
    position: relative;
}

.banner_hp__logo {
    position: absolute;
    bottom: 15%;
    width: 100%;
    z-index: 20;
}

.home__search {
    background-color: var(--theme_primary_color);
    color: white;
}

/*----------------------
    MENU
----------------------*/
.btn_menu {
    width: 46px;
    cursor: pointer;
}


#desk_menu {
    list-style: none;
    text-align: end;
    margin: 0;
}

#desk_menu li {
    display: inline-block;
    margin-right: 1rem;
    font-weight: 500;
}

#desk_menu li a:hover, .desk_menu li.current-menu-item {
    color: var(--theme_pink) !important;
    /*text-decoration: line-through !important;*/
    /*text-decoration-thickness: 7px !important;*/
    /*text-decoration-color: rgba(229, 53, 31, 0.7) !important;*/
}


#mobile-menu {
    position: fixed;
    top: var(--header_height);
    background-color: var(--theme_light);
    width: 100%;
    border-bottom: 2px solid;
    z-index: 100;
    border-top: 2px solid;
    padding: 20px 0 0;
}
#mobile-menu ul{
    list-style: none;
    font-weight: 500;
}
#mobile-menu ul li{
    margin-bottom: 1rem;
}


/*----------------------
    breadcrumbs
----------------------*/
#breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 0;
    font-size: 12px;
}

/*----------------------
    HOME PAGE
----------------------*/
.menu_page_item {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.25rem;
    letter-spacing: .6px;
    padding: 10px .5rem;
    border-width: 2px 0;
    border-style: solid;
    /*margin: 2rem auto;*/
    position: relative;
    display: flex;
    align-items: start;
    min-height: 150px;
}

.menu_page_item:after {
    content: '\F138';
    font-family: bootstrap-icons;
    position: absolute;
    right: 5px;
    top: 40%;
}

.hp_content {
    padding: 2rem 0;
    font-family: var(--font_alternative);
    font-size: 1.2rem;
    letter-spacing: -0.48px;
    line-height: 1.5rem;
}

.pubblicazioni_preview {
    text-align: center;
    font-size: 1.125rem;
    color: #FFFFFFBF;
    line-height: 1.5rem;
    border-right: 1px solid var(--theme_pink);
}

.pubblicazioni_preview__title {
    font-size: 1.5rem;
    font-family: var(--font_alternative);
    font-style: italic;
    margin: 4px 0;
}

.hp_map {
    position: relative;
    border-right: 1px solid var(--theme_pink);
}

.col-4:last-of-type .hp_map {
    border-right: 1px solid white;
}

.hp_map__caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, .8);
    text-align: center;
    padding: 30px 0;
    font-size: 1.2rem;
    font-weight: 500;
}

/*----------------------
    Images
----------------------*/
.preview_img, .preview_img_div {
    border-radius: 30px;
    /*background-color: #000000;*/
    overflow: hidden;
}

.preview_img_div img {
    /*transform: scale(1.2);*/
    max-width: 100%;
}

/*----------------------
    POST GRIDS
----------------------*/


/*----------------------
    PAGE ARCHIVIO
----------------------*/

#pagina_archivio .cover {
    height: calc(50vh - 180px);
    max-height: 580px;
    overflow: hidden;
    display: grid;
    align-content: center;
    margin-bottom: 1.5rem;
}

/*----------------------
    PAGE ARCHIVIO
----------------------*/
.scheda_testata, .scheda_content .scheda_title {
    font-size: .8rem;
    text-transform: uppercase;
    line-height: 1rem;

}

.scheda_content .scheda_title {
    font-weight: bold;
}

.scheda_content .scheda_title.small {
    font-size: .6rem;
    margin-right: 10px;
}

.scheda_title h1 {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

.scheda_data, .scheda_segmenti, .scheda_info {
    font-size: .8rem;
    line-height: 1rem;
}

.scheda_segmenti ul li {
    font-size: .75rem;
    margin-bottom: 6px;
}

.scheda_keywords {
    list-style: none;
    padding-left: 0;
}

.scheda_keywords li {
    display: inline-block;
    margin-left: 5px;
}

.h_scroll .scheda_keywords {
    white-space: nowrap;
    padding-left: 1rem;
}

.h_scroll {
    overflow: hidden;
}

.h_scroll .scroll_on {
    animation-name: infiniteScroll;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/*----------------------
    SEARCH RESULTS
----------------------*/

.sidebar_group {
    padding-bottom: 2rem;
    font-size: .6rem;
}

.sidebar_title_group {

    font-weight: bold;
    text-transform: uppercase;
    border-top: 1px solid;
    margin-bottom: 10px;
}

.sidebar_group ul {
    list-style: none;
    padding: 0;
}

.sidebar_group ul li {
    line-height: 1rem;
}

.view_all_tags {
    cursor: pointer;
    font-weight: bold;
}

/*----------------------
    Pagination
----------------------*/
.pagination {
    justify-content: center;
    /*font-size: .6rem;*/
}

.pagination .page-numbers {
    list-style: none;
}

.pagination .page-numbers li {
    display: inline-block;
    margin-left: 10px;
}

.pagination a.page-numbers {
    color: var(--theme_primary_color);
    font-size: inherit;
    border: none !important;
    background-color: transparent;
}

.pagination a.page-numbers:focus {
    box-shadow: none;
}

.pagination .page-item.disabled a.page-numbers {
    font-weight: bold;
}

/*----------------------
    Single post
----------------------*/
.term_post {
    text-transform: uppercase;
    font-size: .6rem;
    font-weight: bold;
}

.post_date, .post_parent_name {
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.post_abstract {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6rem;
}

.post_archive_item {
    border-top: 2px solid var(--theme_pink);
    transition: var(--transition);
    position: relative;
}

.post_row_list:last-of-type .post_archive_item {
    border-top: 2px solid var(--theme_pink);
    border-bottom: 2px solid var(--theme_pink);
}

.post_archive_item:hover {
    background-color: #501E6E0D;
}

.post_archive_item .icon_hover {
    opacity: 0;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: var(--transition);
    color: var(--theme_primary_color_light);
}

.post_archive_item:hover .icon_hover {
    opacity: 1;
}

.post_archive_item .titolo_studio h1 {
    font-size: 1.5rem;
}

.post_archive_item .titolo_studio h2 {
    font-size: 1.125rem;
}

.post_archive_item .post_parent_name {
    font-size: .875rem;
}

.autore {
    font-size: 1rem;
    font-weight: 500;
    margin: 1rem 0;
}

.titolo_studio {
    font-family: var(--font_alternative);
    font-style: italic;
    color: var(--theme_primary_color_light);
    line-height: normal;
    letter-spacing: -0.76px;
}

.titolo_studio h1 {
    font-size: 1.6rem;
    font-weight: 300;
}

.titolo_studio h2 {
    font-size: 1.1rem;
    font-weight: 300;
}

.prefazione_di {
    font-size: 1.375rem;
    color: var(--theme_primary_color);
    font-weight: 400;
    font-style: normal;
}

.theme_content {
    font-family: var(--font_alternative);
    font-size: 1.375rem;
    line-height: 24px;
}

.bibliografia {
    font-size: .875rem;
    font-weight: 400;
}

.bibliografia span {
    text-transform: uppercase;
}

.altre_info {
    font-size: 1.125rem;
    font-weight: 500;
    border-top: 1px var(--theme_pink) solid;
    padding: .5rem;
}

.altre_info:last-of-type {
    border-bottom: 1px var(--theme_pink) solid;
}

.team_abstract {
    font-size: 1.125rem;
    font-weight: 500;
}

.featured_post_img.team {
    width: 140px;
    height: 140px;
    border-radius: 100%;
    /* overflow: hidden; */
    background-color: var(--theme_primary_color);
    background-size: cover;
    background-blend-mode: screen;
    background-repeat: no-repeat;
    justify-self: center;
}


/*.featured_post_img.team img {*/
/*    mix-blend-mode: screen;*/
/*    border-radius: 100%;*/
/*    !*top: -5px;*!*/
/*    position: absolute;*/
/*    !*max-width: 210px;*!*/
/*    !*left: -5px;*!*/
/*    max-width:150px;*/
/*    top:-2px;*/
/*    left: -3px;*/
/*}*/

/*----------------------
    Single page (I dati)
----------------------*/
.allegati span {
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--theme_primary_color_light);
}

.allegati i {
    vertical-align: middle;
    background-color: var(--theme_primary_color_light);
    color: white;
    border-radius: 100%;
    padding: 12px;
}

.dati_abstract {
    border-top: 1px solid var(--theme_primary_color_light);
}

.dati_abstract__title {
    color: var(--theme_primary_color_light);
    font-weight: bold;
    text-transform: uppercase;
}

.dati_abstract__content {
    font-family: var(--font_alternative);
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.dati_abstract__content a {
    color: var(--theme_primary_color_light) !important;
    text-decoration: underline;
}

/*----------------------
    Single page (FAQ)
----------------------*/
.domanda {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6rem;
}

.risposta {
    font-family: var(--font_alternative);
    font-size: 1rem;
    line-height: 1.3rem;
}

/*----------------------
    Single scheda (erogazione)
----------------------*/
.scheda_title {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.6rem;
    max-width: 200px;
    display: block;
}

.scheda_title:after {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--theme_pink);
    display: block;
    margin: 20px 0;
}

.scheda_label {
    font-size: .5rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: .6rem;
}

.location_name {
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 400;
}

.scheda_location .scheda_label {
    width: 60px;
    display: inline-block;
}

.location_header {
    font-family: var(--font_alternative);
    font-size: .9rem;
    font-weight: 100;
    text-transform: lowercase;
    line-height: 1rem;
    letter-spacing: -.36px;
}

.location_header:first-letter {
    text-transform: uppercase;
}

.scheda_header_row_table > div {
    border-top: none;
    padding-top: .5rem;
}

.scheda_header_table {
    border-top: 2px solid var(--theme_pink);
    border-bottom: 2px solid var(--theme_pink);
    padding: 1rem 0;
}

.scheda_row_table {
    font-weight: 400;
}

.scheda_row_table:hover .scheda_row_cell {
    background-color: var(--theme_light);
    font-weight: 900;
    cursor: crosshair;
}

.scheda_row_cell {
    padding: .5rem 0;
    font-size: .55rem;
    text-transform: lowercase;
    border-bottom: 1px solid rgba(var(--pink), .5);
    transition: var(--transition);
}

.scheda_row_cell.tipo {
    font-size: .6rem;
}

/*----------------------
    theme table
----------------------*/
.theme_table_header {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.6875rem;
    line-height: normal;
    border-top: var(--theme_primary_color_light) solid 2px;
    border-bottom: var(--theme_primary_color_light) solid 2px;
    top: calc(var(--header_height) * 3);
    background-color: white;
    z-index: 10;
}

.theme_table_header .col {
    padding-right: 6px;
    padding-left: 6px;
}

.theme_table_rows {
    font-size: 0.6875rem;
    line-height: normal;
    border-bottom: rgba(var(--pink), .5) solid 1px;
}

.theme_table_rows .col {
    overflow-wrap: anywhere;
    padding-right: 6px;
    padding-left: 6px;
}

.theme_table_rows .col-2 {
    overflow-wrap: normal;
}

/*----------------------
    FOOTER
----------------------*/

.footer_top {
    background-color: white;
    border-top: 10px solid rgba(80, 30, 110, .1);
}

.footer_bottom {
    background-color: var(--theme_primary_color);
    color: white;
}

ul#footer_menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#footer_menu li {
    display: inline-block;
    margin-right: 20px;
}


/*----------------------
    FORM ELEMENTS
----------------------*/

.site_search, .inner_search {
    position: relative;
}

.site_search input {
    border-radius: 30px;
    /*padding: 5px 10px;*/
    width: 100%;
    height: 60px;
    border: 1px solid rgba(var(--pink), .5);
    padding: 5px 10px;
}

.inner_search input {
    border-radius: 30px;
    /*padding: 5px 10px;*/
    width: 100%;
    height: 40px;
    border: none;
    padding: 5px 10px;
}

.site_search button {
    background-color: transparent;
    border: none;
    position: absolute;
    right: 10px;
    top: 14px;
    padding: 0;
}

.inner_search button {
    background-color: transparent;
    border: none;
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 0;
}

.site_search button i {
    color: var(--theme_pink) !important;
    font-size: 2rem;
}

/*.inner_search button i {*/
/*    color: var(--theme_green) !important;*/
/*    font-size: 1.5rem;*/
/*}*/

.site_search .search_select {
    position: absolute;
    width: 45%;
    top: -50px;
    left: 0;
    border-radius: 30px;
    background-color: transparent;
    color: white;
    font-size: .9rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFFFFF' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 0.65rem auto;
    height: 40px;
}


select {
    width: 100% !important;
    border: none;
    padding: 6px 10px;
}

select:focus-visible {
    outline: none;
}

.theme_select {
    border: 1px solid #eee;
}
span.select2.select2-container.select2-container--default {
    width: 100% !important;
}


/*
    complianz cookie
*/

#cmplz-document p, .editor-styles-wrapper .cmplz-unlinked-mode p, #cmplz-document li, .editor-styles-wrapper .cmplz-unlinked-mode li, #cmplz-document td, .editor-styles-wrapper .cmplz-unlinked-mode td {
    font-size: 1rem !important;
}


/*----------------------
MAPPA
----------------------*/

.filter_drop{
    display: none;
    width: 100%;
    max-height: 50vh;
    overflow-y: scroll;
}
/*#filter_show{*/
/*    display: block;*/
/*}*/
/*#filter_hide{*/
/*    display: none;*/
/*}*/

.leaflet-top {
    z-index: 0 !important;
}

#map, #mapOC {
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
    background-color: var(--theme_primary_color);
}

#map.mappa_2 {
    background-color: var(--theme_green);
}

#map.mappa_3 {
    background-color: var(--theme_mappa3);
}


#map .leaflet-tile-pane, #mapOC .leaflet-tile-pane {
    opacity: .85;
}

#progress {
    display: none;
    position: absolute;
    z-index: 1000;
    left: 400px;
    top: 300px;
    width: 200px;
    height: 20px;
    margin-top: -20px;
    margin-left: -100px;
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    padding: 2px;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: #76A6FC;
    border-radius: 4px;
}

.marker-cluster-small {
    background-color: rgba(147, 130, 201, 0.3);
}

.mappa_2 .marker-cluster-small {
    background-color: rgba(40, 163, 57, 0.3);
}

.mappa_3 .marker-cluster-small {
    background-color: rgba(var(--mappa3), 0.3);
}

.marker-cluster-small div {
    background-color: rgba(147, 130, 201, 0.8);
    color: var(--theme_light);
}

.mappa_2 .marker-cluster-small div {
    background-color: rgba(40, 163, 57, 0.8);
}

.mappa_3 .marker-cluster-small div {
    background-color: rgba(var(--mappa3), 0.8);
}

.marker-cluster-medium {
    background-color: rgba(147, 130, 201, 0.3);
}

.mappa_2 .marker-cluster-medium {
    background-color: rgba(40, 163, 57, 0.3);
}

.mappa_3 .marker-cluster-medium {
    background-color: rgba(var(--mappa3), 0.3);
}

.marker-cluster-medium div {
    background-color: rgba(147, 130, 201, 0.8);
    color: var(--theme_light);
}

.mappa_2 .marker-cluster-medium div {
    background-color: rgba(40, 163, 57, 0.8);
    color: var(--theme_light);
}

.mappa_3 .marker-cluster-medium div {
    background-color: rgba(var(--mappa3), 0.8);
    color: var(--theme_light);
}

.marker-cluster-large {
    background-color: rgba(147, 130, 201, 0.8);
}

.mappa_2 .marker-cluster-large {
    background-color: rgba(40, 163, 57, 0.8);
}

.mappa_3 .marker-cluster-large {
    background-color: rgba(var(--mappa3), 0.8);
}

.marker-cluster-large div {
    background-color: rgba(147, 130, 201, 0.8);
    color: var(--theme_light);
}

.mappa_2 .marker-cluster-large div {
    background-color: rgba(40, 163, 57, 0.8);
    color: var(--theme_light);
}

.mappa_3 .marker-cluster-large div {
    background-color: rgba(var(--mappa3), 0.8);
    color: var(--theme_light);
}

.leaflet-popup-content {
    margin: 20px;
    line-height: 1.4;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: var(--theme_light) !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    font-family: var(--font_primary) !important;
}

/*.leaflet-popup-content {*/
/*    padding: 0 10px;*/
/*}*/

.map_link {
    background-color: rgba(147, 130, 201, 1);
    margin-top: 1rem;
    text-transform: uppercase;
    font-size: .7rem;
    padding: 1px 5px;
    color: white;
    /* border: 1px solid; */
    text-align: center;
    border-radius: 10px;
}

.mappa_2 .map_link {
    background-color: var(--theme_green);
}

.mappa_3 .map_link {
    background-color: var(--theme_mappa3);
}
