body .a .a_e .a_e_m {display: none;}

.pee-usa-map {
    width: 100%;
    max-width: 1155px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
}

/* BOTONES */
.pee-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pee-buttons .pee-buttons__title {
    max-width: 340px !important;
    display: block;
}
.pee-buttons .pee-buttons__bl {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    box-sizing: border-box;
    margin-bottom: 16px;
    margin-top: 8px;
}

.pee-buttons .pee-buttons__bl button.btn {
    width: 152px;
    height: 34px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #36AEFF;
    background: #fff;
    border: 1px solid #36AEFF;
    border-radius: 5px;

    cursor: pointer;

    font-family: 'MarcinAntB', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 17.12px;
    letter-spacing: 0.325px;
    text-align: center;
}

.pee-buttons .pee-buttons__bl button.btn.active {
    color: #fff;
    background: #36AEFF;
    border: 0px;
}
.pee-buttons .pee-buttons__bl button.btn:hover {
    opacity: 0.8;
}

/* BARRAS */
.pee-barras {
    width: 100%;
    border-bottom: 1px solid #e6e6e6;

    box-sizing: border-box;
    padding: 8px 0px;

    margin-bottom: 24px;
}
.pee-barras--majority__main {
    font-family: 'MarcinAntB', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    display: block;
}

.pee-barras--majority__main b {
    display: block;
}

.pee-barras--viz {
    width: 100%;
    height: 60px;
    position: relative;
    margin-bottom: 8px;
    margin-top: 4px;

    display: flex;
    justify-content: center;
}

.pee-barras--viz:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 1px;
    height: 40px;
    transform: translateX(-50%);
    border-left: 1px dashed #262626;
    z-index: 100;
}

.pee-barras--viz:after {
    content: 'Majority';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);

    font-family: 'MarcinAntB', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.pee-barras-viz--images {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;

    pointer-events: none;
    
}
.pee-barras-viz--images img {
    width: 60px;
    height: 60px;
    border-radius: 50%;

    box-sizing: border-box;
    object-fit: cover;
    background: #fff;
}
.pee-barras-viz--images img:first-of-type {
    border: 2px solid #36AEFF;
}
.pee-barras-viz--images img:last-of-type {
    border: 2px solid #FF3636;
}

.pee-barras-viz--bars {
    width: calc(100% - 112px);
    display: flex;
}
.pee-barras-viz--barra {
    width: auto;
    height: 30px;
}

.pee-barras-viz__dem,
.pee-barras-viz__rep,
.pee-barras-viz__other {
    position: relative;
    width: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: width 0.3s;
}

.pee-barras-viz--barra {
    display: flex;
    align-items: center;
}

.pee-barras-viz--barra.barra--dem {
    width: 100%;
    background-color: #36AEFF;
    justify-content: flex-start;
}
.pee-barras-viz--barra.barra--rep {
    width: 100%;
    background-color: #FF3636;
    justify-content: flex-end;
}
.pee-barras-viz--barra.barra--other {
    width: 100%;
    background: #ccc;
}

.pee-barras-viz--barra .pee-barras-viz--text {
    font-family: 'MarcinAntB', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.39px;
    text-align: center;
    color: #fff;
}
.pee-barras-viz--barra.barra--dem .pee-barras-viz--text {
    margin-left: 10px;
    z-index: 10;
}
.pee-barras-viz--barra.barra--rep .pee-barras-viz--text {
    margin-right: 10px;
    z-index: 10;
}

.pee-barras--viz .pee-barras-viz__rep img {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #FF3636;
}
.pee-barras-viz--names {
    width: 100%;
    display: flex;
    justify-content: space-between;

    position: absolute;
    top: -16px;
    left: 0px;
}
.pee-barras-viz--name {
    font-family: 'MarcinAntB', sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: left;

    text-transform: uppercase;
}
.pee-barras--viz .pee-barras-viz__rep .pee-barras-viz--name {
    left: auto;
    right: 0px;
    text-align: right;
}

/* MAPA */
.pee-map {
    width: 100%;
    display: flex;
    flex-direction: column;
    
    margin-bottom: 24px;

    position: relative;
}

.pee-tipo__key {
    position: absolute;
    top: -11px;
    left: 0px;
    
    font-family: 'MarcinAntB', sans-serif;
    font-size: 14px;
    line-height: 14.3px;

    padding-top: 3px;
    padding-left: 30px;
}
.pee-tipo__key:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0px;
    width: 20px;
    height: 10px;
    border: 3px solid #000;
}

.pee-map .pee-viz {
    width: 100%;
    height: auto;
}

.pee-map .pee-viz svg {
    height: 100%;
}

/* SVG DEL MAPA */
svg path, svg circle, svg rect {
    cursor: pointer;
}
svg path:hover, svg circle:hover, svg rect:hover {
    opacity: 0.75;
}

svg text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    fill: #333333;
    pointer-events: none;
}
svg .text-circles-mb text,
svg .text-rects-mb text {
    font-size: 20px;
}

svg .circles-info,
svg .circles-dk,
svg .text-circles-dk,
svg .rects-dk,
svg .text-rects-dk {
    display: none;
}
svg path.key-state {
    stroke-width: 3px;
    stroke: #000;
}

.pee-leyenda {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;

    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e6e6e6;
    pointer-events: none;
}
.pee-leyenda .pee-leyenda__title,
.pee-buttons .pee-buttons__title {
    width: 100%;
    max-width: 360px;

    font-family: 'MarcinAntB', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 15.9px;
    letter-spacing: -0.20px;
    text-align: center;
    text-transform: uppercase;
}
.pee-leyenda svg {
    max-width: 100%;
}

.pee-info {
    width: 100%;
    background: #FFFEE6;

    box-sizing: border-box;
    padding: 12px;
    border-bottom: 1px solid #e6e6e6;

    font-family: 'MarcinAntB', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 15.9px;
    text-align: left;
}

.pee-info .pee-info__text {
    display: block;
}
.pee-info .pee-info__text:last-of-type {
    margin-top: 8px;
}

@media (min-width: 768px) {
    /* BARRAS */
    .pee-barras--viz {
        height: 80px;
        margin-top: unset;
    }
    .pee-barras--viz::before {
        height: 60px;
    }
    .pee-barras--viz:after {
        font-size: 14px;
    }
    .pee-barras--majority__main {
        font-size: 14px;
    }
    .pee-barras--majority__main b { display: inline; }
    .pee-barras-viz--images img {
        width: 80px;
        height: 80px;
    }
    .pee-barras-viz--barra .pee-barras-viz--text {
        font-size: 28px;
        margin-top: 0px;
    }
    .pee-barras-viz--bars {
        width: calc(100% - 146px);
        display: flex;
    }

    .pee-barras-viz--barra.barra--dem .pee-barras-viz--text {
        margin-left: 10px;
    }
    .pee-barras-viz--barra.barra--rep .pee-barras-viz--text {
        margin-right: 10px;
    }

    .pee-barras-viz--names {
        top: auto;
        bottom: -6px;
        width: calc(100% - 164px);
        left: 50%;
        transform: translateX(-50%);
    }
    .pee-barras-viz--name {
        font-size: 14px;
    }
    .pee-barras-viz--barra {
        height: 40px;
    }
}

@media (min-width: 1001px) {
    .pee-map {
        flex-direction: row;
        align-items: flex-start;
    }
    .pee-map .pee-tipo {
        flex-direction: column;
        order: 1;
        border-top: 0px;
        border-bottom: 0px;

        padding-top: 0px;
    }

    .pee-tipo__key {
        position: absolute;
        top: 0px;
    }

    .pee-map .pee-viz {
        order: 2;
    }
    .pee-map .pee-viz svg {
        padding-top: 24px;
        overflow: visible;
    }
    
    svg .circles-mb,
    svg .rects-mb,
    svg .text-circles-mb,
    svg .text-rects-mb {
        display: none;
    }

    svg .circles-info,
    svg .circles-dk,
    svg .text-circles-dk,
    svg .rects-dk,
    svg .text-rects-dk {
        display: block;
    }
}

@media (min-width: 1199px) {
    body .a .w-cr {
        margin: 3rem var(--grid-10-2-column-content) 2rem var(--grid-10-2-column-content);
    }
}

/* TOOLTIP */
.pee-tooltip--hover {
    display: block;
    position: absolute;
    top: 0;
    left: 0;

    width: 155px;
    height: auto;
    background: #fff;
    border: 1px solid #e6e6e6;
    opacity: 0;
    pointer-events: none;

    box-sizing: border-box;
    padding: 8px;
}
.pee-tooltip--touch {
    display: none;
}
.pee-tooltip--touch__info > span:first-of-type,
.pee-tooltip--hover span:first-of-type {
    display: block;
    font-family: 'MarcinAntB', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 14.3px;
    text-align: left;
    margin-bottom: 6px;
}
.pee-tooltip--touch__info hr,
.pee-tooltip--hover hr {
    height: 1px !important;
    background: #e6e6e6 !important;
    margin: 0px !important;
    border: 0px !important;
}
.pee-tooltip--touch__info > span:last-child,
.pee-tooltip--hover span:last-of-type {
    display: block;
    font-family: 'MarcinAntB', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 6px;
}

@media screen and (pointer: coarse) {
    .pee-tooltip--hover {
        display: none;
    }
    .pee-tooltip--touch {
        display: block;
        position: fixed;
        bottom: 4px;

        width: 100%;
        max-width: 360px;
        height: auto;
        background: #fff;
        border: 1px solid #e6e6e6;
        opacity: 0;

        box-sizing: border-box;
        padding: 12px 24px 12px 12px;
        box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);

        z-index: 1000;
    }
    .pee-tooltip--touch .pee-tooltip--touch__close {
        position: absolute;
        top: 4px;
        right: 6px;
        transform: scaleY(1.2) scaleX(1.6);

        cursor: pointer;

        font-family: 'MarcinAntB', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.2;

        z-index: 1000;
    }
}

@media screen and (max-width: 345px) {
    .pee-barras--majority__main {
        font-size: 11px;
    }
}