.portfolio-map {
    background-color: var(--white);
    padding: 40px 0px;
}

.portfolio-map .inner-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.portfolio-map .pm-map {
    width: 70%;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    position: relative;
}

.portfolio-map .pm-dropdown {
    display: none;
}


.portfolio-map .pm-panel {
    width: 30%;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    position: relative;
}

.portfolio-map .pm-information {
    margin-top: 80px;
    border: 20px solid #eff4f7;
    padding: 10px 20px;
    min-height: 260px;
    display: table;
    width: 100%;
}

.pm-information-cell {
    display: table-cell;
    vertical-align: middle;
}

    .pm-information-cell p {
        text-align: center;
    }

.pm-key {
    padding: 10px 50px;
}



.pm-key-table {
    column-count: 2;
}

.pm-key-table .pm-key-item {
    min-height: 36px;
    line-height: 36px;
    padding-left: 36px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
}

.pm-key-color {
    position: absolute;
    left: 0;
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 1px solid transparent;
    border-radius: 16px;
    background-color: #d9d9d9;
}

.pm-state-name {
    height: 48px;
    line-height: 48px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pm-state-projects, .pm-state-total-units {
    height: 64px;
    line-height: 64px;
    padding-left: 60px;
    background: url(/images/common/map-projects.svg) no-repeat 10px center transparent;
}

.pm-state-total-units {
    background-image: url(/images/common/map-units.svg);
}

/* Interactive map styles */
.portfolio-map.portfolio-map-interactive .pm-map path[data-name]:hover, .portfolio-map.portfolio-map-interactive .pm-map g[data-name]:hover path {
    fill: #555 !important;
    cursor: pointer;
}
.portfolio-map.portfolio-map-interactive .pm-information {
    display: table;
}
.portfolio-map.portfolio-map-interactive tspan {
    cursor: pointer;
}

/* Static map styles */
.portfolio-map.portfolio-map-static .pm-information {
    display: none;
}
.portfolio-map.portfolio-map-static tspan {
    cursor: default;
}


@media (max-width: 1280px) {
    .pm-key-table {
        column-count: 1;
    }
    .pm-key-column {
        width: 100%;
    }

    .pm-state-name {
        height: 28px;
        line-height: 28px;
        font-size: 24px;
    }
}


@media (max-width: 1080px) {

    .pm-key-table .pm-key-item {
        height: 24px;
        line-height: 24px;
        padding-left: 24px;
    }

    .portfolio-map .pm-information {
        margin-top: 40px;
    }

    .pm-key-color {
        width: 22px;
        height: 22px;
    }

    .pm-state-name {
        height: 28px;
        line-height: 28px;
        font-size: 24px;
    }

    .pm-key h5 {
        margin-bottom: 10px;
    }
}

@media (max-width:780px) {


    .portfolio-map .pm-map {
        display: none;
    }

    .portfolio-map .pm-panel {
        width: 70%;
    }

    .portfolio-map .pm-dropdown {
        display: block;
        margin-bottom: 10px;
    }

    #pm-states {
        width: 100%;
        z-index: 7;
        color: #09264c;
        font-size: 18px;
    }


    .portfolio-map .pm-information {
        margin-top: 0;
    }

    .pm-key {
        display: none;
    }

    .portfolio-map.portfolio-map-static .pm-information {
        display: table;
    }
}

@media (max-width:360px) {
    .pm-state-name {
        height: 20px;
        line-height: 20px;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .pm-state-projects, .pm-state-total-units {
        height: 64px;
        line-height: 64px;
        padding-left: 30px;
        background: url(/images/common/map-projects.svg) no-repeat 10px center transparent;
        background-size: 15px 15px;
    }

    .pm-state-total-units {
        background-image: url(/images/common/map-units.svg);
    }

}