#home-map-app {
    min-height: 540px;
}

.home-map-container {
    height: inherit;
}

.home-map-wrapper {
    display: flex;
    height: 540px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 25%);
}

#home-map {
    height: 100%;
    flex-grow: 1;
    background-color: #fff
}

.zoom-control {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 99;
    display: flex;
    box-shadow: 0 7px 15px 0 rgb(0 0 0 / 15%);
    flex-flow: column;
    background-clip: padding-box;
}

.zoom-control a {
    width: 30px;
    height: 30px;
    margin: 0;
    display: inline-block;
    font-size: 16px;
    line-height: 26px;
    -webkit-font-smoothing: subpixel-antialiased;
    color: #001e3c;
    border: none;
    background-color: #fff;
    text-align: center;
}

.zoom-control .control-zoom-in {
    border-bottom: 1px solid;
}


.c-menu-control {
    position: absolute;
    z-index: 99;
    left: 12px;
    top: 12px;
}

.c-menu-control .c-map-menu {
    position: relative;
}

.c-menu-control .c-map-menu::before {
    position: absolute;
    top: -3px;
    bottom: -3px;
    right: 0;
    content: ' ';
    left: 0;
    width: 28px;
    background-color: rgba(68, 65, 65, 0.84);
    border-radius: 28px;
    content: ' ';
}

.c-menu-control .c-map-menu::after {
    position: absolute;
    top: -3px;
    bottom: -3px;
    right: 0;
    content: ' ';
    z-index: -10;
}

.c-menu-control .c-map-menu .menu-category {
    position: relative;
    padding: 12px 0;
    display: flex;
    align-items: center;
}

.c-menu-control .c-map-menu .menu-category .category-icon {
    cursor: pointer;
    height: 28px;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.c-menu-control .c-map-menu .menu-category .category-icon .c-icon {
    padding: 2px;
    color: #fff;
    fill: #fff;
    width: 24px;
    height: 24px;
}


.c-menu-control .c-map-menu .menu-category .layer-title {
    position: absolute;
    left: 34px;
    cursor: pointer;
    width: max-content;
    padding: 0 11px;
    font-size: 16px;
    text-shadow: 0 0 4px #fff;
    font-weight: 500;
}

.c-menu-control .c-map-menu .menu-category.active .category-icon {
    background-color: #f7a600;
    box-shadow: 0 0 4px 0 black;
}

.c-menu-control .c-map-menu .menu-category.active .layer-title, .c-menu-control .c-map-menu .menu-category:hover .layer-title {
    background-color: rgba(68, 65, 65, 0.6);
    border-radius: 20px;
    color: #fff;
    text-shadow: none;
}

.c-eahw-logo {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 99;
    height: 50px;
    width: 70px;
}

.c-eahw-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.c-legend {
    position: absolute;
    right: 12px;
    bottom: 20px;
    z-index: 99;
    max-width: 300px;
    min-width: 200px;
    background-color: #fff;
    min-height: 70px;
    padding: 10px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 25%);
}


.c-legend .c-legend-title {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 4px;
}

.c-legend .c-legend-param-sentence {
    font-size: 12px;
    font-weight: 500;
    padding: 0 20px 4px 0;
}

.c-legend-basic .c-legend-item {
    margin: 3px 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.c-legend-basic .c-legend-item .c-legend-item-icon {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border: 0.5px solid rgba(19, 21, 41, 0.5);
}

.c-analysis-panel {
    width: 300px;
    padding: 20px 14px 6px 20px;
    height: 100%;
    overflow-y: scroll;
    border-left: solid 1px #efefef;
    background-color: #fff;
}

.c-analysis-panel .c-analysis-panel-container {
    height: 100%;
    overflow-y: scroll;
}

.c-analysis-panel .analysis-title {
    padding: 10px 0;
    font-weight: bold;
}

.c-analysis-panel .categories-legend {
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
}

.c-analysis-panel .categories-legend .legend-item {
    width: auto;
    max-width: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #262c38;
    margin: 0 4px;
    padding: 6px;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 15%);
}

.country-analysis-info {
    width: 100%;
}

.country-analysis-info .country-item {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
}

.country-analysis-info .country-item .country-flag {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
}

.country-analysis-info .country-item .country-bar {
    min-width: 180px;
    margin-left: 10px;
}


.country-analysis-info .categories-bar {
    height: 10px;
    background-color: #e9ecef;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.c-eahw-explore {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-eahw-explore .more-text {
    margin-right: 20px;
    font-weight: 700;
}

.c-eahw-explore .explore-btn {
    height: 38px;
    background-color: #14162b;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 20px;
    padding: 0 15px;
    font-size: 14px;
    text-align: center;
    line-height: 1.1;
}

.leaflet-bottom {
    z-index: 99;
}

/*768px and lower*/
@media screen and (max-width: 768px) {
    .home-map-wrapper {
        height: auto;
        flex-direction: column;
    }

    #home-map {
        height: 540px;
        flex-grow: 0;
    }

    .c-eahw-logo {
        position: absolute;
        top: 80px;
        right: 12px;
        left: initial;
        height: 40px;
        bottom: initial;
        width: 50px;
    }

    .c-analysis-panel {
        width: 100%;
        padding: 20px;
        border-top: solid 2px #efefef;
        border-left: none;
    }

    .country-analysis-info .country-item .country-bar {
        width: 100%;
    }

    .c-eahw-explore {
        flex-direction: column;
    }

    .c-eahw-explore .explore-btn {
        margin-top: 10px;
    }
}