﻿
h1{
    font-size:20px;
}
    h1.citiesHeader {
        font-size: 16px;
    }

.poplocations::after{
    content: "";
    width: calc(33% - 29px);
}

.locationoverlay {
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    height: 247px;
    width: 360px;
    position: relative;
    color: white;
    background-color: black;
}

.locationoverlay::before{
    position:absolute;
    display:block;
    width:360px;
}

    .locationoverlay:hover {
        color: black;
        text-shadow: 2px 2px 2px #333, 2px 8px 6px rgba(0,0,0,0.2), 0px -5px 35px rgba(255,255,255,0.3);
    }

    .locationoverlay:after {
        content: '\A';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.6);
        opacity: 1;
        transition: opacity 0.3s;
        -webkit-transition: opacity 0.3s;
        -moz-transition: opacity 0.3s;
    }

    .locationoverlay:hover:after {
        opacity: 0;
    }

.locationimg {
    background-size: cover;
    height: 100%;
    background-repeat: no-repeat;
    width: 100%;
    background-position: center;
    transition: all .3s ease-out;
    background-color:black;
}

    .locationimg:hover {
        text-shadow: 2px 2px 2px #333, 2px 8px 6px rgba(0,0,0,0.2), 0px -5px 35px rgba(255,255,255,0.3);
        transition: all .3s ease-out;
        color: black;
    }

.locationname {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    font-size: 2.0625rem;
    font-weight: 900;
    line-height: 1.25em;
    font-family: proximanova-semibold;
    letter-spacing: 1px;
    z-index: 99;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.need-details {
    margin: 30px 0;
}

.details-content {
    text-align: center;
    border-top: 1px dotted black;
    width: 280px;
}
@media (max-width:991px) {
    .locationoverlay {
        width:340px;
    }
}
