/* ============================================
   CHARTS ALQUILERES - Estilos
   Gráficos de scatter y tabla de municipios
   ============================================ */

/* Generales de estilo */

.chart-alquileres *, 
.chart-alquileres *:before, 
.chart-alquileres *:after {
    box-sizing: border-box;
}

.chart-alquileres {
    font-family: 'Encode Sans', sans-serif;
    /* max-width: 900px;
    margin: 0 auto;
    padding: 20px; */
}

.chart-alquileres h4 {
    font-size: 22px;
    font-weight: 700;
    color: black;
    text-align: left;
    margin: 20px 0px;
}

.chart-alquileres p {
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    color: #181818;
}

.chart-alquileres .fuente {
    font-size: 12px;
    color: #181818;
}

.chart-alquileres hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

.chart-alquileres #contenedor-subida-alquiler-precio {
    width: 100%;
}

/* ---- Scatter: Precios 2015 ---- */

#contenedor-subida-alquiler-precio {
    width: 100%;
}

#circulos-subida-alquiler-precio {
    width: 100%;
    position: relative;
}

#circulos-subida-alquiler-precio text {
    font-size: 14px;
    font-family: 'Encode Sans', sans-serif;
}

#circulos-subida-alquiler-precio .eje-vertical-subida-alquiler-precio line {
    stroke: #939393;
    stroke-width: 0.5;
}

#circulos-subida-alquiler-precio .eje-vertical-subida-alquiler-precio text {
    fill: #000000;
    font-weight: 400;
}

#circulos-subida-alquiler-precio .eje-vertical-subida-alquiler-precio path {
    stroke-width: 0;
}

#circulos-subida-alquiler-precio .eje-horizontal-subida-alquiler-precio path {
    stroke-width: 0;
}

#circulos-subida-alquiler-precio .eje-horizontal-subida-alquiler-precio text {
    fill: #939393;
}

#circulos-subida-alquiler-precio .eje-horizontal-subida-alquiler-precio line {
    stroke: #939393;
    stroke-dasharray: 3;
    stroke-width: 0.5;
}


/* ---- Scatter: Tamaño municipio ---- */

#contenedor-subida-alquiler-tamun {
    width: 100%;
}

#circulos-subida-alquiler-tamun {
    width: 100%;
    position: relative;
}

#circulos-subida-alquiler-tamun text {
    font-size: 14px;
    font-family: 'Encode Sans', sans-serif;
}

#circulos-subida-alquiler-tamun .eje-vertical-subida-alquiler-tamun line {
    stroke: #939393;
    stroke-width: 0.5;
}

#circulos-subida-alquiler-tamun .eje-vertical-subida-alquiler-tamun text {
    fill: #000000;
    font-weight: 400;
}

#circulos-subida-alquiler-tamun .eje-vertical-subida-alquiler-tamun path {
    stroke-width: 0;
}

#circulos-subida-alquiler-tamun .eje-horizontal-subida-alquiler-tamun path {
    stroke-width: 0;
}

#circulos-subida-alquiler-tamun .eje-horizontal-subida-alquiler-tamun text {
    fill: #939393;
}

#circulos-subida-alquiler-tamun .eje-horizontal-subida-alquiler-tamun line {
    stroke: #939393;
    stroke-dasharray: 3;
    stroke-width: 0.5;
}


/* ---- Tabla municipios ---- */

.tabla-municipios-alquiler {
    font-family: 'Encode Sans', sans-serif;
    font-size: 12px !important;
}

.container-tabla-municipios-alquiler {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.div-tabla-municipios-alquiler {
    width: 100%;
}

.tabla-municipios-alquiler table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px !important;
    border-spacing: 2px;
}

.tabla-municipios-alquiler th {
    color: #444;
    font-weight: 400;
    font-size: 10px;
    text-transform: uppercase;
    cursor: s-resize;
    vertical-align: bottom;
    height: 50px;
}

.tabla-municipios-alquiler td,
.tabla-municipios-alquiler th {
    padding: 6px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    line-height: 14px;
}

.expanded-row td {
    background-color: #F5F5F5;
    border-top: 2px solid #ddd;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}


/* ---- Buscador y paginación ---- */

.search-municipios-contenedor {
    display: flex;
    justify-content: space-between;
    margin: 30px 10px 5px 10px;
}

.search-municipios-contenedor input {
    width: 250px;
    border: 1px solid #cecece;
    height: 35px;
    padding: 5px;
    font-family: 'Encode Sans', sans-serif;
    font-size: 14px;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.75);
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 0 10px 2px rgb(0 0 0 / 10%);
    overflow: hidden;
    border-radius: 0;
}

#pagination-municipios-alquiler {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

#pagination-municipios-alquiler .pagination-btn {
    background-color: #ffffff;
    border: 1px solid #cecece;
    color: rgba(0, 0, 0, 0.75);
    height: 35px;
    width: 35px;
    border-radius: 0;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 0 10px 2px rgb(0 0 0 / 10%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#pagination-municipios-alquiler .pagination-btn:hover:not(:disabled) {
    background-color: #f0f0f0;
}

#pagination-municipios-alquiler .pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#pagination-municipios-alquiler .pagination-info {
    font-family: 'Encode Sans', sans-serif;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.75);
    margin: 0 5px;
    white-space: nowrap;
}


/* ---- Botón expand ---- */

.expand-btn {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #cecece;
    color: #404040;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    text-align: center;
    font-size: 28px;
}

.expand-btn:hover {
    background-color: #c5c5c5;
}


/* ---- Mini-chart en fila expandida ---- */

.grafico-minichart-tabla-municipios text {
    font-size: 12px;
    font-family: 'Encode Sans', sans-serif;
}

.grafico-minichart-tabla-municipios .eje-horizontal-grafico-minichart-tabla-municipios path {
    stroke-width: 0;
}

.grafico-minichart-tabla-municipios .eje-horizontal-grafico-minichart-tabla-municipios text {
    fill: #939393;
}

.grafico-minichart-tabla-municipios .eje-horizontal-grafico-minichart-tabla-municipios line {
    stroke: #939393;
    stroke-width: 1;
}
