/*
Element Styles
*/

.ae-postbox.pb1 {
    padding: 39px 0 20px;
}

.ae-postbox.pb1 .ae-contentbox-entry {
    text-align: center;
}

.ae-postbox.pb1 .ae-contentbox-entry a:hover{
    text-decoration: none;
}

.ae-postbox.pb1 h3 {
    margin-bottom: 27px;
}

.ae-postbox.pb1 .ae-imgbox {
    overflow: hidden;
    position: relative;
    height: 172px;
    background: #f9f3f3;
}

.ae-postbox.pb1 .ae-imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ae-postbox.pb1 .ae-img-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    /* bottom: -366px; */
    bottom: 0;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.ae-postbox.pb1 .ae-imgbox:hover .ae-img-overlay {
    /* bottom: 0; */
    opacity: 1;
}

.ae-postbox.pb1 .ae-img-overlay p {
    font-family: "Comfortaa","Helvetica-Light", helvetica, arial, cursive;
    color: #fff;
    text-align: center;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.ae-postbox.pb1 h5 {
    color: #6bc7d9;
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
}

.ae-postbox.pb1 h5:hover {
    cursor: pointer;
}

.ae-postbox.pb1 .ae-lastmod {
    font-size: 12px;
    font-style: italic;
    color: #999;
    margin-top: 0;
}