.bg-gradient-custom {
    background: hsl(218, 41%, 19%) 80%;
    background: -webkit-linear-gradient(to right, hsl(218, 41%, 35%) 15%, hsl(218, 41%, 30%) 35%, hsl(218, 41%, 20%) 75%, hsl(218, 41%, 19%) 80%);
    background: linear-gradient(to right, hsl(218, 41%, 35%) 15%, hsl(218, 41%, 30%) 35%, hsl(218, 41%, 20%) 75%, hsl(218, 41%, 19%) 80%);
}

@media (min-width: 769px) {
    .bg-gradient-custom {
        border-top-right-radius: .3rem;
        border-bottom-right-radius: .3rem;
    }
}

#mapa_centro_de_eventos_wrapper {
    overflow-x: scroll;
    margin: 1rem 0 0 0;
    padding: 1rem 0;
}

#mapa_centro_de_eventos {
    min-width: 700px !important;
    height: auto !important
}

[id^="fileira_"] g {
    cursor: pointer;
}

[id^="fileira_"] g rect {
    fill: #fff;
}

[id^="fileira_"] g:hover rect {
    fill: #111;
}

[id^="fileira_"] g.selected rect {
    fill: #999;
}

[id^="fileira_"] g:hover path,
[id^="fileira_"] g.selected path {
    fill: #FFF;
}

#pcr_t text,
#pcr_b text {
    fill: #007bff;
}

#a1 rect,
#a7 rect,
#a8 rect,
#a19 rect,
#a20 rect,
#a26 rect,
#l1 rect,
#l5 rect,
#l10 rect,
#l11 rect,
#l21 rect,
#l22 rect,
#l27 rect,
#l32 rect,
#z1 rect,
#z11 rect,
#z12 rect,
#z13 rect,
#z14 rect,
#z24 rect,
#ex_pcr_t rect,
#ex_pcr_b rect {
    stroke: #007bff;
}

#a1,
#a7,
#a8,
#a19,
#a20,
#a26,
#l1,
#l5,
#l10,
#l11,
#l21,
#l22,
#l27,
#l32,
#z1,
#z11,
#z12,
#z13,
#z14,
#z24,
#a1:hover rect,
#a7:hover rect,
#a8:hover rect,
#a19:hover rect,
#a20:hover rect,
#a26:hover rect,
#l1:hover rect,
#l5:hover rect,
#l10:hover rect,
#l11:hover rect,
#l21:hover rect,
#l22:hover rect,
#l27:hover rect,
#l32:hover rect,
#z1:hover rect,
#z11:hover rect,
#z12:hover rect,
#z13:hover rect,
#z14:hover rect,
#z24:hover rect,
#ex_pcr_t path,
#ex_pcr_b path {
    fill: #007bff;
}

#po_t text,
#po_b text {
    fill: #dc3545;
}

#a4 rect,
#a14 rect,
#a23 rect,
#e12 rect,
#e24 rect,
#l3 rect,
#l13 rect,
#l18 rect,
#z8 rect,
#z17 rect,
#ex_po_t rect,
#ex_po_b rect {
    stroke: #dc3545;
}

#a4,
#a14,
#a23,
#e12,
#e24,
#l3,
#l13,
#l18,
#z8,
#z17,
#a4:hover rect,
#a14:hover rect,
#a23:hover rect,
#e12:hover rect,
#e24:hover rect,
#l3:hover rect,
#l13:hover rect,
#l18:hover rect,
#z8:hover rect,
#z17:hover rect,
#ex_po_t path,
#ex_po_b path {
    fill: #dc3545;
}

#pmr_t text,
#pmr_b text {
    fill: #6f42c1;
}

#a11 rect,
#a17 rect,
#e15 rect,
#e21 rect,
#l16 rect,
#m13 rect,
#m42 rect,
#z3 rect,
#z18 rect,
#z22 rect,
#ex_pmr_t rect,
#ex_pmr_b rect {
    stroke: #6f42c1;
}

#a11,
#a17,
#e15,
#e21,
#l16,
#m13,
#m42,
#z3,
#z18,
#z22,
#a11:hover rect,
#a17:hover rect,
#e15:hover rect,
#e21:hover rect,
#l16:hover rect,
#m13:hover rect,
#m42:hover rect,
#z3:hover rect,
#z18:hover rect,
#z22:hover rect,
#ex_pmr_t path,
#ex_pmr_b path {
    fill: #6f42c1;
}

#cao_guia_t text,
#cao_guia_b text {
    fill: #fd7e14;
}

#k41 rect,
#ex_cao_guia_t rect,
#ex_cao_guia_b rect {
    stroke: #fd7e14;
}

#k41,
#k41:hover rect,
#ex_cao_guia_t path,
#ex_cao_guia_b path {
    fill: #fd7e14;
}

.reserved rect,
#ex_indisponivel_t rect,
#ex_indisponivel_b rect {
    stroke: #999 !important;
}

.reserved:hover rect {
    fill: #eee !important;
}

.reserved:not(.self):hover path,
.reserved:not(.self, #a1, #a7, #a8, #a19, #a20, #a26, #l1, #l5, #l10, #l11, #l21, #l22, #l27, #l32, #z1, #z11, #z12, #z13, #z14, #z24, #a4, #a14, #a23, #e12, #e24, #l3, #l13, #l18, #z8, #z17, #a11, #a17, #e15, #e21, #l16, #m13, #m42, #z3, #z18, #z22, #k41) path,
#ex_indisponivel_t path,
#ex_indisponivel_b path {
    fill: #999 !important;
}

#reservado_t text,
#reservado_b text {
    fill: #007340;
}

.self rect,
#ex_reservado_t rect,
#ex_reservado_b rect {
    stroke: #007340 !important;
    fill: #007340 !important;
}

.self:hover rect {
    fill: #007340 !important;
}

.self path,
#ex_reservado_t path,
#ex_reservado_b path {
    fill: #FFF !important;
}

@media print {
    #mapa_centro_de_eventos_wrapper {
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    #mapa_centro_de_eventos {
        width: 210mm;
        height: 297mm;
        transform: translate(10%, 5%) scale(1.1);
    }

    #legenda_b,
    #geral_b,
    #ex_geral_b,
    #pcr_b,
    #ex_pcr_b,
    #pmr_b,
    #ex_pmr_b,
    #po_b,
    #ex_po_b,
    #cao_guia_b,
    #ex_cao_guia_b,
    #indisponivel_b,
    #ex_indisponivel_b,
    #disponivel_b,
    #ex_disponivel_b,
    #reservado_b,
    #ex_reservado_b {
        display: none;
    }
}