#propertiesavailable {
    width: 15.4vw;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    float: none;
    height: 12vw;
    position: relative;
    margin: 0.5em 1vw 1.5vw;
    margin-bottom: 1.5vw;
    border: none;
    overflow: hidden;
}
div[id*="buttonator"]{
    height: 12vw;
}
.type-available {
    height: 100%;
}

#propertiesavailable a.button-link {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
    color: #4c4c4c;
    line-height: 1;
    overflow: hidden;
}

#propertiesavailable .type-available a::before {
    content: '';
    display: block;
    width: 100.5%;
    height: 100.5%;
    position: absolute;
    bottom: -0.5%;
    left: 0px;
    z-index: 333;
    background: url('/files/u138100/for-sale.jpeg') no-repeat center bottom;
    background-size: cover;
}

#propertiesavailable .type-available a::after {
    display: block;
    padding-top: 1vw;
    pointer-events: none;
    text-rendering: auto;
    font-size: 3vw;
    line-height: 1;
}

#propertiesavailable .type-available a span {
    content: '';
    text-transform: uppercase;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1vw;
    line-height: 1.1;
    background-color: #15a5c5;
    padding: 1.2em 5px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: #fffff8;
    z-index: 400;
    margin: 0;
    position: relative;
    background-color: #15a5c5;
}
#propertiesavailable .type-available a:hover span {
    background-color: #0b87a2;
}

@media (max-width: 1380px) {
    #propertiesavailable {
        width: 15em;
        margin: 0.5em 1em 1.5em;
        margin-bottom: 1.5em;
        height: 10em;
    }
    div[id*="buttonator"]{
        height: 10em;
    }
    #propertiesavailable .type-available a span {
        font-size: 1em;
    }
}