.gs-ads {
    text-align: center;
}

.gs-one-ad {
    margin: 2px;
    padding: 0;
    background-color: #ebebeb;
    width: 24%;
    display: inline-block;
    /* height: 500px; */
    /* float: left; */
    vertical-align: top;
}

.gs-one-ad .gs-body {
    /*display: table;*/
}

.gs-one-ad .gs-body > div {
    /*display: table-cell;*/
}

.gs-one-ad .gs-body .gs-main-preview {
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: left;
}

.gs-one-ad .gs-category {
    padding: 5px;
    color: #fff;
    position: relative;
    top: 9px;
    left: 5px;
}

.gs-one-ad .gs-photo-count {
    padding: 3px 5px;
    color: #fff;
    position: relative;
    top: 5px;
    right: 5px;
    background-color: #00000087;
    float: right;
    border-radius: 20px;
}

.gs-one-ad .gs-state {
    padding: 5px;
    color: #000;
    border: 2px solid;
    position: absolute;
    right: 15px;
}

.gs-one-ad .gs-date {
    /* position: absolute; */
    /* right: 15px; */
    /* bottom: 10px; */
    display: block;
    margin-top: 20px;
    color: #fff;
    text-align: right;
    font-weight: bold;
}

.gs-one-ad .gs-body .gs-ad-data {
    vertical-align: top;
    padding: 10px;
    text-align: left;
}

.gs-one-ad .gs-body .gs-ad-data .gs-photos .gs-one-photo {
    width: 70px;
    height: 70px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
}

.gs-one-ad .gs-buttons {
    margin-top: 15px;
}

.gs-buttons > button {
    vertical-align: bottom;
    min-width: 200px;
}


@media (max-width: 768px) {
    .gs-one-ad {
        width: 49% !important;
    }
}

@media (max-width: 450px) {
    .gs-one-ad {
        width: 100% !important;
    }
}