.map {
    max-width: 1140px;
    margin: 50px auto 0 auto;
    font-family: "Titillium Web";
}

.map:nth-child(n+2) {
    padding-top: 50px;
    border-top: 1px solid #e1e3e4;
}

.map-section {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.under-map {
    margin-top: 50px;
    font-size: 20px;
    line-height: 28px;
}

.map path[data-flag] {
    cursor: pointer;
}


/* Table */
.map-table {
    width: 35%;
}

.map table {
    border-collapse: collapse;
    width: 100%;
}

.map th {
    background-color: #E2007A;
    color: white;
}

.map table td, .map th {
    border: 1px solid #E2007A;
    padding: 5px;
}

.map table td:nth-child(1), .map table th:nth-child(1) {
    text-align: left;
}

.map table td:nth-child(n+2), .map table th:nth-child(n+2) {
    text-align: right;
}

.map table tfoot td {
    font-weight: bold;
}

.table-title {
    font-size: 24px;
    line-height: 28px;
}

.undertable {
    margin: 15px 0;
    font-weight: 600;
    text-transform: uppercase;
}


/* Level 1 */
.map-container {
    width: 65%;
    padding-right: 50px;
}

.map-item {
    fill:#E2007A;
    stroke: #9c0a5e;
    stroke-width: 3;
    transition: all 0.3s;
}

.map-item:hover {
    fill: #b51471;
}

.map-item.disabled {
    fill: #c3c6c9;
    opacity: 1;
    stroke: transparent;
}

.popc-areas path {
    fill: transparent;
    stroke: #9c0a5e;
    stroke-width: 1;
    pointer-events: none;
}

.counties * {
    fill: transparent;
    stroke: #9c0a5e;
    stroke-width: 0.5;
    pointer-events: none;
}

.counties-small * {
    stroke: #9c0a5e;
}

.counties-indywidual * {
    fill: #eb0e8e;
    stroke: #9c0a5e;
}

.city * {
    fill: white;
    stroke: white;
    stroke-width: 0.5;
    pointer-events: none;
}

.city-small * {
    fill: white;
    stroke-width: 0.3;
    stroke: #ffffff;
}

.content-section-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.content-section-item .table-title {
    width: 100%;
}

.item-map {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 50px;
    box-sizing: border-box;
}

.item-map svg {
    width: 100%;
    max-width: 50%;
}

.item-content {
    width: 50%;
}


/* Level 2 */
.province_0 {
    max-width: 600px;
}

.province_2 {
    max-width: 400px;
}

.province_3 {
    max-width: 500px;
}

.map-item-bg {
    fill:#c3c6c9;
    opacity: 0.5;
    pointer-events: none;
}

.popc-areas-clickable path {
    fill: #eb0e8e;
    stroke:#9c0a5e;
    stroke-width: 1;
    transition: all 0.3s;
}

.popc-areas-clickable path:hover {
    fill:#b51471;
}

@media (max-width: 1200px) {
    .map {
        max-width: unset;
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .map-section {
        flex-direction: column;
    }

    .map-container {
        width: 100%;
        padding-right: 0;
    }

    .map-container svg {
        width: 100%;
    }

    .map-table {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .table-title {
        font-size: 20px;
        line-height: 24px;
    }
    .item-map {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .item-content {
        width: 100%;
    }
}
