
/* Sovrascrivo il default per ART in questo contesto */

.testoIntro ul {
    margin: 0;
    padding: 0 0 1.5rem 45px;
}

/* Widget "Mappa UPP Task Force" */

.upp-map-legend {
    margin-bottom: 20px;
}

.upp-map-legend__title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.upp-map-legend__list {
    list-style: none;
    padding: 0;
    margin: 0 -20px;
}

.upp-map-legend__list .collapse-header {
    margin: 0 20px;
}

.upp-map-legend__list .upp-map-legend__button {
    display: flex;
    border-top: 0;
    padding: 10px 0 10px 10px;
    margin-left: -10px;
}

.upp-map-legend__list .upp-map-legend__button:focus {
    outline: none;
}

.upp-map-legend__list .upp-map-legend__button:focus-visible {
    /*border-color: #f90;*/
    -webkit-box-shadow: 0 0 0 2px #f90;
    box-shadow: 0 0 0 2px #f90;
    outline: 0;
}

.upp-map-legend__list .upp-map-legend__button:hover,
.upp-map-legend__list .upp-map-legend__button.hover {
    background: 0 0;
    text-decoration: underline;
}

.upp-map-legend__list .upp-map-legend__button[data-toggle=collapse] {
    color: #06c;
}

.upp-map-legend__list .upp-map-legend__button[data-toggle=collapse]:before {
    order: 3;
    margin-left: 8px;
}

.upp-map-legend__list .collapse-body {
    position: relative;
    margin: 10px 20px 25px;
    padding: 25px 25px 15px;
    box-shadow: 0 0 15px 5px rgba(0,0,0,.1);
}

.upp-map-legend__list .collapse-body .arrow {
    position: absolute;
    display: block;
    width: 1rem;
    height: 0.5rem;
    margin: 0 8px;
    top: calc(-0.5rem - 1px);
}

.upp-map-legend__list .collapse-body .arrow:after {
    position: absolute;
    display: block;
    content: "";
    border-color: transparent;
    border-style: solid;
    top: 2px;
    border-width: 0 0.5rem 0.5rem;
    border-bottom-color: #fff;
}

.upp-map-legend__list .collapse-body__foot {
    margin-top: 18px;
    text-align: right;
}

.upp-map-legend__list .collapse-body__foot a {
    text-decoration: underline;
    font-weight: bold;
    color: #06c;
}

/*
.upp-map-legend__anchor {
    display: flex;
    align-content: flex-start;
    justify-content: left;
    color: #06c;
    cursor: pointer;
    font-weight: 600;
}
*/

.upp-map-legend__swatch {
    display: block;
    flex-shrink: 0;
    margin-top: 7px;
    margin-right: 8px;
    width: 12px;
    height: 12px;
    border: solid 1px #444444;
}

.upp-map-legend__swatch--macroarea-1 {
    background: #4392E0;
}

.upp-map-legend__swatch--macroarea-2 {
    background: #BFDFFF;
}

.upp-map-legend__swatch--macroarea-3 {
    background: #6AAAEB;
}

.upp-map-legend__swatch--macroarea-4 {
    background: #F2F7FC;
}

.upp-map-legend__swatch--macroarea-5 {
    background: #4392E0;
}

.upp-map-legend__swatch--macroarea-6 {
    background: #0066CC;
}

.upp-map-map {
    margin-top: 30px;
}

@media (min-width: 1200px) {
    .upp-map-map {
        margin-left: 80px;
    }
}

.map-svg a:focus {
    outline: none;
}

.macroarea-anchor:focus {
    outline: none;
}

.map-svg--withcurrent .macroarea-anchor,
.map-svg--hovered .macroarea-anchor {
    opacity: 0.3;
    transition: all 0.3s ease;
}

.map-svg--withcurrent .macroarea-anchor--current,
.map-svg--hovered .macroarea-anchor--hover {
    opacity: 1;
}

