:root{
    --fontFamily: 'Montserrat'
}

/* =========================
   MAPA
   ========================= */
.mapa-obras {
    width: 100%;
}

.mapa-obras .mapa-obras-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.mapa-obras .mapa-obras-svg #svg_1 {
    filter: drop-shadow(-3px 4px 0px white) drop-shadow(-12px 9px 0px rgba(0, 0, 0, 0.1));
}

/* Estado sem obra */
.mapa-obras .state .shape {
    fill: #A9ABAE !important;
    transition: fill 0.2s ease, opacity 0.2s ease;
}

/* Estado que possui pelo menos uma obra */
.mapa-obras .state.has-obras .shape {
    fill: #FFCC33 !important;
    cursor: pointer;
}

/* Estado selecionado */
.mapa-obras .state.has-obras.is-active .shape {
    fill: #666666 !important;
}

.mapa-obras .state.has-obras:hover .shape,
.mapa-obras .state.has-obras:focus .shape {
    opacity: 0.9;
}

.mapa-obras .state.has-obras:focus {
    outline: none;
}

/* Rótulos internos ficam brancos. */
.mapa-obras .mapa-label {
    font-family: var(--fontFamily);
    fill: #FFFFFF !important;
    user-select: none;
    pointer-events: none;
    outline: 0;
}

/* UFs posicionadas fora do mapa. */
.mapa-obras .mapa-label.text-out {
    fill: #FFCC33 !important;
}

.mapa-obras .mapa-label.has-obras {
    cursor: pointer;
    pointer-events: auto;
}

.mapa-obras .mapa-label.text-out.has-obras {
    fill: #FFCC33 !important;
}

.mapa-obras .mapa-label.text-out.has-obras.is-active {
    fill: #666666 !important;
}

/* =========================
   LISTAGEM
   ========================= */
.listagem-obras {
    font-family: var(--fontFamily);
    width: 100%;
}

.listagem-obras .obras-loader {
    font-family: inherit;
    display: none;
    margin: 0;
}

.listagem-obras .obras-resultado {
    font-family: inherit;
    display: none;
}

.listagem-obras .obra-item {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 2px solid #A9ABAD;
}

.listagem-obras .obra-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.listagem-obras .obra-item__titulo {
    font-family: inherit;
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.listagem-obras .obra-item p,
.listagem-obras .obras-mensagem {
    font-family: inherit;
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.listagem-obras .obra-item p:last-child,
.listagem-obras .obras-mensagem:last-child {
    margin-bottom: 0;
}

.listagem-obras .obra-item p strong {
    font-weight: 500;
}
