/* https://codepen.io/creme/pen/wmGwEg */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #f9f9fb;
}

#main-content {
    display: flex;
    justify-content: center;
}

:not(.has-property-icon)>.property-icon {
    display: none;
}

.property-icon {
    z-index: 1;
}

.app-card {
    width: 288px;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%), 0 1px 2px 0 rgb(0 0 0 / 20%);
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.app-card:hover,
.app-card.hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.3), 0 0 1px 0 rgba(0, 0, 0, 0.25);
}

.app-card:hover .app-card-content,
.app-card.hover .app-card-content {
    box-shadow: inset 0 3px 0 0 #FFC72A;
    border-color: #FFC72A;
}

.app-card:hover .app-card-img .overlay,
.app-card.hover .app-card-img .overlay {
    background-color: rgba(25, 29, 38, 0.8);
    transition: opacity 0.2s ease;
    opacity: 1;
}

.app-card-img {
    position: relative;
    height: 180px;
    width: 100%;
    background-color: #fff;
    transition: opacity 0.2s ease;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.app-card-img .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;
}

.app-card-img .overlay .overlay-content {
    line-height: 150px;
    width: 100%;
    text-align: center;
    color: #fff;
}

.app-card-img .overlay .overlay-content a {
    color: #fff;
    padding: 0 2rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
}

.app-card-img .overlay .overlay-content a:hover,
.app-card-img .overlay .overlay-content a.hover {
    background: rgba(0, 105, 55, .9);
    border-color: rgba(0, 105, 55, .9);
}

.app-card-content {
    width: 100%;
    min-height: 124px;
    background-color: #fff;
    border-top: 1px solid #E9E9EB;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 5px 5px;
    transition: all 0.2s ease;
    margin-bottom: 0px !important;
}

.app-card-content a {
    text-decoration: none;
    color: #202927;
}

.app-card-content h2,
.app-card-content a h2 {
    color: #54565B;
    overflow: hidden;
    line-height: 1.5em;
    max-height: 1.5em;
    font-size: .95rem;
    font-weight: 650 !important;
    margin-bottom: 0;
    color: #54565B;
    font-weight: normal;
}

.app-card-content p,
.app-card-content a p {
    font-size: 0.8rem;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(32, 41, 28, 0.8);
    line-height: 1em;
    height: 2em;
}

.tag {
    color: #006937;
    background-color: #F3F5F8;
    display: inline-block;
    font-size: 0.75rem;
    margin-right: 4px;
    padding: 2px 4px;
    border-radius: 2px;
    border: none;
}

.tag-container {
    bottom: 5px;
    position: absolute;
    max-height: 50px;
    text-align: left;
}

.description-container {
    text-align: left;
    position: relative;
    font-size: 0.75rem;
    margin-right: 4px;
    padding: 2px 4px;
    border-radius: 2px;
    max-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}