

.agentes-mapa {
    --padding-v: var(--padding-lg);
    --padding-h: var(--padding-lg);
    --tab-color: var(--blue);
}
@media (max-width: 480px) {
    .agentes-mapa {
        --padding-v: var(--padding-m);
        --padding-h: var(--padding-s);
    }
}

.agentes-mapa__header {
    background: var(--light-grey);
    border-radius: var(--border-radius-big);
    padding: var(--padding-v) var(--padding-h);
}
.agentes-mapa__header fieldset {
    background: var(--yellow);
    margin-bottom: 0;
}
.agentes-mapa__location {
    display: flex;
}
.agentes-mapa__tabs {
    display: flex;
    justify-content: center;
}
.agentes-mapa__tabs .tab {
    outline: 0;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    align-items: center;
    border: 1px solid var(--tab-color);
    border-radius: var(--border-radius-big);
    color: var(--black);
    display: flex;
    justify-content: flex-start;
    line-height: 1.25;
    padding: var(--padding-xs);
    width: calc(50% - var(--padding-xs) / 2);
}
.__accessible .agentes-mapa__tabs .tab:focus {
    outline: 2px dashed !important;
}
.agentes-mapa__tabs .tab:first-child {
    margin-right: var(--padding-xs);
}
@media (hover: hover) {
    .agentes-mapa__tabs .tab:hover {
        background: var(--tab-color);
    }
}
.agentes-mapa__tabs .tab.active {
    background: var(--tab-color);
}
.agentes-mapa__content {
    background: var(--light-grey);
    border-radius: var(--border-radius-big);
    padding: var(--padding-v) var(--padding-h);
}
.agentes-mapa__content h2 {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
    max-width: 42.1875rem;
    margin: 0 auto var(--padding-s);
    text-align: center;
    text-transform: uppercase;
}
.agentes-mapa__content h2 strong,
.agentes-mapa__content h2 b {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
}
.agentes-mapa__content p {
    max-width: 63.75rem;
    margin: 0 auto var(--padding-s);
    padding: 0 var(--padding-xs);
}
.agentes-mapa__map {
    font-family: var(--font-sans2);
    font-weight: 400;
    line-height: var(--line-height);
    background: var(--black);
    border-radius: var(--border-radius-big);
    padding: var(--padding-lg) var(--padding-xl);
    position: relative;
}
.agentes-mapa__map .hover-off {
    display: none;
}
.agentes-mapa__map .indicator {
    outline: 0;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: var(--font-sans2);
    font-weight: 400;
    line-height: 1;
    background: transparent;
    color: var(--indi-color);
    display: flex;
    font-size: var(--font-size-base-s);
    padding: 0;
}


.__accessible .agentes-mapa__map .indicator:focus {
    outline: 2px dashed !important;
}
.agentes-mapa__map .indicator:not(:last-child) {
    margin-bottom: var(--padding-m);
}
.agentes-mapa__map .indicator * {
    pointer-events: none;
}
.agentes-mapa__map .indicator .number {
    align-items: center;
    background: var(--indi-color);
    border-radius: 50%;
    color: var(--black);
    display: flex;
    height: 1.875rem;
    justify-content: center;
    width: 1.875rem;
}
.agentes-mapa__map .indicator .text {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 0.9375rem;
    display: flex;
    height: 1.875rem;
    justify-content: center;
    padding: var(--padding-xxxs) var(--padding-xxs);
}
.agentes-mapa__map .indicator.--green {
    --indi-color: #00B87F;
}
.agentes-mapa__map .indicator.--blue {
    --indi-color: #2193B2;
}
.agentes-mapa__map .indicator.--pink {
    --indi-color: #D46CAA;
}
.agentes-mapa__map .indicator.--red {
    --indi-color: #A52121;
}
.agentes-mapa__map .indicator.--yellow {
    --indi-color: #EFB600;
}
.agentes-mapa__agents {
    max-width: 73.125rem;
}
.agentes-mapa__agents a.card-directory{
     background-color: var(--white);
    color: var(--black);
 }
@media (max-width: 480px) {
    .agentes-mapa__content, .agentes-mapa__map {
        border-radius: var(--border-radius-xs);
    }
    .agentes-mapa__map {
        padding: var(--padding-xxs) var(--padding-xxs);
    }
    .agentes-mapa__map .legend,
    .agentes-mapa__map .indicators {
        display: none;
    }
    .agentes-mapa__content .card-directory:not(:last-child) {
        margin-bottom: var(--padding-s);
    }
    .agentes-mapa .tab {
        font-size: 1rem;
    }
    .agentes-mapa__location {
        margin-top: var(--padding-s);
    }
}
@media (min-width: 480px) {
    .agentes-mapa__header {
        display: flex;
    }
    .agentes-mapa__header .form {
        margin-right: var(--padding-m);
        margin-bottom: 0;
        min-width: 26.25rem;
    }
    .agentes-mapa__map {
        display: flex;
        justify-content: space-between;
    }
    .agentes-mapa__map svg {
        height: 100%;
        width: 100%;
    }
    .agentes-mapa__map .map {
        height: 41.25rem;
        display: block;
        min-width: 56.5625rem;
        width: 56.5625rem;
    }
    .agentes-mapa__map .legend {
        bottom: var(--padding-lg);
        position: absolute;
        left: var(--padding-xl);
        width: 18.875rem;
    }
    .agentes-mapa__agents {
        display: flex;
        flex-wrap: wrap;
        grid-gap: var(--padding-m);
        gap: var(--padding-m);
        margin: var(--padding-lg) auto 0;
        position:relative;
    }
    .agentes-mapa__agents .card-directory {
        width: calc(25% - var(--padding-m) / 4 * 3);
    }
    .agentes-mapa__tabs .tab {
        height: 3.75rem;
        padding: var(--padding-xs) var(--padding-m);
        width: 26.25rem;
    }
    .agentes-mapa__tabs .tab:first-child {
        margin-right: var(--padding-m);
    }
    .agentes-mapa__location select {
        font-size: var(--font-size-base);
    }
}


/* BS */

#mapa-svg{
    position: relative;
    padding: 0;

}
#mapa-svg .zones-info {
    position: absolute;
}
#mapa-svg .zone-number,
#mapa-svg .name,
#mapa-svg .point {
    position: absolute !important;
}
#mapa-svg .zone-number,
#mapa-svg .point {
    transform: translateX(-50%) translateY(-50%);
}
#mapa-svg .zone-number {
    border-radius: 50%;
    color: var(--black);
    text-align: center;
    line-height: 1.4rem;
    height: 1.4rem;
    width: 1.4rem;
    align-items: center;
    vertical-align: middle;
    font-size: var(--font-size-base-s);
}
#mapa-svg svg{
    background-size: cover !important;
}

#mapa-svg .zones-name{
    display: inline-block;
}
#mapa-svg .zone-description {
    width: 70%;
    border-top: 3px solid blue;
    padding: 1em 2em;
    display: inline-block;
    float: right;
}


#mapa-svg .zones-name .zone-name{
    font-weight: bold;
}

#mapa-svg .organization.svg-active .name{
    fill: #ae1f7a !important;
    font-size: 1.2em;
    cursor: auto !important;
}

#mapa-svg .organization .name{
    font-size: 0.65em;
    line-height: 1.1em;
    font-family: 'Trebuchet MS';
    color: var(--white) !important;
}

/* hover */
#mapa-svg.svg-transparent path,
#mapa-svg.svg-transparent .organization,
#mapa-svg.svg-transparent .zone-number
{
    opacity: 0.25;
}
#mapa-svg .zone-name.svg-hover{
    opacity: 1 !important;
    cursor:pointer;
}
#mapa-svg path.svg-hover,
#mapa-svg .zone-number.svg-hover{
    opacity: 1 !important;
    /*stroke-width: 10px !important;*/
    cursor: pointer;
}
#ficha-agente #mapa-svg path.svg-hover{
    opacity: 1 !important;
    stroke-width: 4px !important;
}

#mapa-svg .point.circle{
    border-radius: 50%;
}
#mapa-svg .point.circle.small{
    background-color: var(--black);
    width: 16px;
    height: 16px;
}
#mapa-svg .point.circle.big{
    width: 34px;
    height: 34px;
    background: #65727C !important;
    border: 1px solid var(--black) !important;
}

/*#mapa-svg .point.innobasque.circle.small,
#mapa-svg .point.innobasque.circle.big{
    background-color: var(--purple-dark) !important;
}*/
#mapa-svg .point.oval{
    background: #65727C !important;
    border: 1px solid var(--black);
    width: 37px;
    height: 80px;
    border-radius: 20px;
    position: absolute;
    top: 288px;
    left: 696px;
}

/*
#mapa-svg .point.innobasque{
    -webkit-background-size: auto 100%;
    -moz-background-size: auto 100%;
    -o-background-size: auto 100%;
    background-size: auto 100% !important;
    background-color: transparent !important;
    width: 8em;
    height: 5em;
    border: none;
    border-radius: 0;
}*/


#mapa-svg .organization.svg-hover,
#mapa-svg .zone-number.svg-hover{
    opacity: 1 !important;
    cursor: pointer;
    font-weight: bold;
}

/*#mapa-svg .organization.svg-hover .point.innobasque {*/
    /*width: 9em;*/
    /*height: 6em;*/
/*}*/
/*#mapa-svg .organization[data-organizacion-id="14"] .name{*/
    /*display: none;*/
/*}*/

#mapa-svg .organization.svg-hover .point.oval{
    width: 40px;
    height: 84px;
}
#mapa-svg .organization.svg-hover .point{
    width: 20px;
    height: 20px;
}
#mapa-svg .organization.svg-hover  .point.circle.big{
    width: 37px;
    height: 37px;
}


@media (max-width: 990px) {
    #mapa-svg .zone-number {
        height: 1.1em;
        width: 1.1em;
        font-size: 0.9em;
    }
}
@media (max-width: 767px) {
    #mapa-svg .organization .name {
        font-size: 8px;
        line-height: 8px;
    }
}
@media (max-width: 576px) {
    #mapa-svg .point.circle {
        width: 13px;
        height: 13px;
    }
    #mapa-svg .point.circle.big {
        width: 19px;
        height: 19px;
    }
    #mapa-svg .point.oval {
        width: 17px;
        height: 42px;
    }
    #mapa-svg span.zone-number {
        line-height: 1em;
        height: 1em;
        width: 1em;
        font-size: 0.8em;
    }
}
@media (max-width: 480px){
    #mapa-svg .point.circle,
    #mapa-svg .point.circle.small{
        width: 8px;
        height: 8px;
    }
    #mapa-svg .point.circle.big {
        width: 11px;
        height: 11px;
    }
    #mapa-svg .point.oval {
        width: 10px;
        height: 30px;
    }
    #mapa-svg .organization .name {
        font-size: 7px;
        line-height: 7px;
    }
}
/* bs */
.agentes-mapa__content ul.pagination li.page-item.active span{
    color: var(--purple);
    font-weight: bold;
}/* bs */
