/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.cpop-lh-neighborhoods a,
.cpop-lh-activities-card a,
.cpop-lh-activities-card a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.cpop-lh-neighborhoods a:hover {
    text-decoration: underline !important;
}

.cpop-lh-activities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cpop-lh-activities-card {
    width: 33.3%;
    text-align: center;
    padding: 1%;
    flex: 0 1 33%;
    margin-bottom: 10px;
}

.cpop-lh-activities-card a {
    background-color: transparent !important;
    display: block;
    transition: all .2s ease;
}

.cpop-lh-activities-card a:visited,
.cpop-lh-activities-card a:focus {
    outline: none;
}

@media ( min-width: 1024px ) {
    .cpop-lh-activities-card a:hover {
        text-decoration: none;
        transform: translateY(-5px);
    }
}

@media ( min-width: 1024px ) {
    .cpop-lh-activities-card a:hover .cpop-lh-activities-card-img img{
        box-shadow:  0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

.cpop-lh-activities-card-img {
    overflow: hidden;
    padding-bottom: 56%;
    position: relative;
    margin-bottom: 5px;
    transition: all .2s ease;
}

.cpop-lh-activities-card img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all .2s ease;
}

.cpop-lh-activities-card p {
    font-size: 16px;
    line-height: 1.2;
}

.js-cpop-lh-directions-map {
    margin: 0 0 1.41575em;
}

.cpop-lh-directions-wrapper {
    height: 500px;
    display: flex;
    border: 1px solid grey;
}

.cpop-lh-directions-routes {
    width: 30%;
    background-color: #e8e8e8;
    overflow: auto;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.cpop-lh-directions-routes div {
    margin-bottom: 10px;
    background-color: #fff;
    box-sizing: border-box;
    color: #000;
    display: block;
    font-family: Arial,sans-serif;
    font-size: 14px;
    padding: 8px 15px;
    text-decoration: none !important;
    width: 100%;
    transition: all .2s linear;
}

.cpop-lh-directions-routes div:hover {
    color: #fff;
    background-color: #b4161b;
    cursor: pointer;
}

.cpop-lh-directions-routes .cpop-lh-route-link-active {
    background-color: #b4161b;
    color: #fff;
}

.cpop-lh-directions-map {
    position: relative;
    width: 70%;
    height: 100% !important;
    display: none;
    border: 0;
}