.channel_subcategory {
    background-color: #000;
    width: 100%;
    margin: 0;
    position: unset;
}

.neighborhood-district-header span {
    z-index: 2;
}

.neighborhood-district-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.4;
}

.neighborhood-district-container {
    padding: 1.5rem 0;
}

.district-breadcrumbs {
    text-transform: capitalize;
}

.district-breadcrumbs,
.district-breadcrumbs a {
    color: #000;
    font-family: 'GilroyReg';
    font-size: 18px;
    line-height: 1;
}

.district-breadcrumbs a:hover {
    color: #5ab8f4;
}

.district-breadcrumbs span {
    color: #000;
}

.district-breadcrumbs i {
    font-size: 14px;
}

.category-container {
    color: #fff;
    padding: 3rem;
    background-size: cover;
    background-position: center;
    text-align: center;
    font-family: 'GilroyBold';
    font-size: 19px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    flex-direction: column;
}

.category-container img {
    z-index: 2;
    height: 50px;
    width: 80px;
    margin-bottom: .5rem;
    object-fit: contain;
    object-position: bottom;
}

.category-container span {
    z-index: 1;
    font-size: 22px;
    text-transform: uppercase;
}

.category-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.4;
}

.neighborhood-column {
    padding: 0 5px;
}

.neighborhood-map-container {
    color: #5ab8f4;
    overflow: hidden;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    margin-top: 2rem;
    position: sticky;
    top: 90px;
}

.neighborhood-map-container.map-sticky {
    max-width: 100%;
    z-index: 5;
    border-radius: 0;
    padding: .05rem;
    background: #fff;
    transition: all 0.2s;
}

.district-name {
    font-family: GilroyHeavy;
    text-transform: uppercase;
    font-size: 36px;
}

.top-map-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.right-district-header {
    display: flex;
    align-items: center;
}

.district-map-button {
    display: flex;
    align-items: center;
    border: 2px solid #5ab8f4;
    border-radius: 15px;
    background: #fff;
    padding: .25rem 1rem;
    text-transform: uppercase;
    font-family: GilroyBold;
    font-size: 16px;
    margin-right: 1rem;
    cursor: pointer;
}

.district-map-icon {
    font-size: 36px;
}

.district-map {
    position: relative;
    width: 2000px;
    top: -200px;
    left: -500px;
    transition: all 0.2s;
    height: 0px;
}

.district-map.map-open {
    position: relative;
    max-width: 100%;
    width: 2000px;
    height: 400px;
    top: 0;
    left: 0;
}

#map-overlay {
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
}

#map-overlay.map-open,
.mobile-map-container {
    display: none;
}

@media(max-width: 499px) {
    .neighborhood-map-container {
        top: 55px;
    }

    .district-name {
        font-size: 22px;
    }

    .district-map-icon {
        font-size: 26px;
    }

    .district-map-button {
        font-size: 12px;
    }

    .neighborhood-map-container {
        display: none;
    }

    .mobile-map-container {
        display: block;
    }

    .mobile-map-container {
        position: sticky;
        top: 55px;
        overflow: hidden;
        margin-top: 2rem;
        padding: 1rem;
        border-radius: 15px;
        width: 90%;
        z-index: 5;
        transition: all 0.2s;
        background: #fff;
    }

    .top-mobile-content {
        z-index: 3;
        position: relative;
        color: #5ab8f4;
        text-align: center;
    }

    #mobile_map_text {
        font-family: 'GilroyBold';
        text-transform: uppercase;
        font-size: 20px;
    }

    .district-map-icon {
        position: absolute;
        right: 0;
        top: -17px;
        font-size: 45px;
    }

    #mobile-map-overlay {
        width: 100%;
        height: 100%;
        background: #767676;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0.1;
    }

    .mobile-map-container.map-open {
        position: absolute;
        top: 55px;
        margin: 0;
        border-radius: 0;
        width: 100%;
        background: #fff;
        padding: 0;
        transition: all 0.2s;
    }

    .mobile-map-container.map-open .top-mobile-content {
        display: none;
        padding: .5rem;
    }

    .mobile-map-container.map-open #mobile-map-overlay {
        display: none;
    }

    .mobile-map-container.map-open .district-map {
        height: 87vh;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
    }

    .mobile-map-container.map-open .district-map iframe {
        height: 100% !important;
    }

    .mobile-map-container.map-sticky {
        width: 100%;
        border-radius: 0;
        padding: .25rem;
        transition: all 0.2s;
    }

    .mobile-map-container.map-sticky .top-mobile-content,
    .mobile-map-container .alt-content {
        display: none;
    }

    .mobile-map-container.map-sticky .top-mobile-content.alt-content,
    .mobile-map-container.map-open .top-mobile-content.alt-content {
        justify-content: space-between;
        display: flex;
        align-items: center;
        text-align: unset;
    }

    .mobile-map-container .district-name,
    .mobile-map-container .district-map-button {
        white-space: nowrap;
    }

    .mobile-map-container .district-map-button {
        margin-right: .5rem;
        padding: .25rem 1rem;
    }

    .mobile-map-container.map-sticky .district-map-icon,
    .mobile-map-container.map-open .district-map-icon  {
        position: relative;
        font-size: 24px;
        top: unset;
        right: unset;
    }
}