
/* ============================================================== */
/*      NEIGHBORHOODS 			 								  */
/* ============================================================== */
#dmg_layout_internal.dmg_internal_area_neighborhoods {
    max-width: 100%;
    margin-bottom: 0;
}

#dmg_layout_internal.dmg_internal_area_neighborhoods #dmg_layout_internal-page {
    max-width: 100%;
    padding: 30px 0;
}

#dmg_layout_internal .neighborhoods-wrapper .page-heading {
    padding: 0 5px;
    color: #3b3b3b;
    font-size: 40px;
    line-height: 1.15em;
}

.neighborhoods-wrapper p {
    font-size: 16px;
}

.neighborhoods-wrapper p a:hover {
    color: #235191;
}

.neighborhoods-map-wrapper {
    margin-top: 50px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.view-controls {
    width: 100%;
    margin: 30px 0 16px;
    padding: 0;
    text-align: center;
    display: none;
}

.view-controls label {
    font-size: 18px;
    margin: 0 20px;
    line-height: 1em;
}

.view-controls input {
    color: #F00;
    margin: -2px 8px 0 0;
    vertical-align: middle;
}

.neighborhoods-map {
    height: calc(100vh - 300px);
    background: #FFFFFF;
    flex: 1;
}

.neighborhoods-description {
    width: 290px;
    min-width: 290px;
    padding: 10px 0;
    height: calc(100vh - 300px);
    background: #FFFFFF;
    
    box-sizing: border-box;
}

.neighborhood-search {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

#neighborhoodterm {
    width: 100%;
    max-width: 480px;
    padding: 0 0 0 8px;
    height: 36px;
    line-height: 36px;
    background: #edeef2;
    border: 0;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    position: relative;
}
.neighborhood-search:after {
    content: "\f002";
    height: 36px;
    line-height: 36px;
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    right: 23px;
    
}

.neighborhood-overflow {
    height: calc(100vh - 367px);
    overflow-y: scroll;
}    

.neighborhood-details {
    padding: 5px 10px;
    border-bottom: 1px solid #e5e5e5;
}

.neighborhood-details:last-child {
    border: 0;
}

.neighborhood-details a:hover {
    text-decoration: none;
}

.neighborhood-details:hover,
.neighborhood-details.active {
    background: #dfdfe0;
}

.neighborhood-title {
    font-size: 20px;
}

.neighborhood-desc {
    margin: 6px 0;
}

.map-info {
    width: 300px;
    font-size: 16px;
}

.map-info-title {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
}

.map-info span {
    margin-bottom: 8px;
    display: block;
}

.map-info a:hover {
    text-decoration: none;
}

/* == Desktop
============================================================================ */
@media only screen and (max-width: 968px) {
    .view-controls {
        display: block;
    }        
    
    .neighborhoods-map-wrapper {
        margin-top: 10px;
    }

    .neighborhoods-description {
        width: 100%;
        display: none;
    }

    .neighborhoods-map-wrapper.list-view .neighborhoods-description {
        display: block;
    }

    .neighborhoods-map-wrapper.list-view .neighborhoods-map {
        display: none;
    }

    .neighborhoods-map-wrapper.map-view .neighborhoods-description {
        display: none;
    }

    .neighborhoods-map-wrapper.map-view .neighborhoods-map {
        display: block;
    }

    #neighborhoodterm {
        max-width: 100%;
    }
   
}
