/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.cpop-lh-gmap {
    display: none;
    height: 800px;
}

@media ( max-width: 992px ){
    .cpop-lh-gmap {
        height: 600px !important;
    }
}

@media ( max-width: 767px ){
    .cpop-lh-gmap {
        height: 400px !important;
    }
}

.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;
}

.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;
}







/* Yes/No Confirmation Elements */
.cpop_deletion_confirmation_wrapper_div {
    min-width: 10em;
}

.cpop_deletion_confirmation_info_div {
    height: 2.2em;
}

.cpop_deletion_confirmation_div {
    display: none;
    height: 2.2em;
    margin-bottom: 5px;
}

.cpop_confirm_deletion_button,
.cpop_deny_deletion_button {
    display: block;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 2em;
    margin-right: 10px;
    padding: 0px 10px !important;
}

.cpop_confirm_deletion_button {
    background-color: #4CAF50;
}

.cpop_confirm_deletion_button:hover {
    background-color: #52bc5c;
    color: white;
}

.cpop_deny_deletion_button {
    background-color: #8b0000;
    margin-top: 5px;
}

.cpop_deny_deletion_button:hover {
    background-color: #ba1414;
    color: white;
}

/* Generic styles to apply to all public-facing tables */
.cpop_public_table tr:nth-child(even) td {
    background: #EFEFEF !important;
}