html,body {
    height:100%;
    margin:0;
    padding:0;
    overflow: hidden;
}
#wrapper {
    position:relative;
    display: table;
    width: 100%;
    height: 100%;
    -webkit-transition: background-color 1s; /* Safari */
    transition: background-color 1s;
}

.parent {
    width: 100%;
    height: 100%;
    display: table;
    text-align: center;
}
.parent > .child {
    display: table-cell;
    vertical-align: middle;
    font-size: 100px;
}

#cards-container {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.card {
    width: 79% !important;
    height: 228px;
    border: 0 !important;
    margin-top: 10px;
    border-radius: 0 !important;
    margin-right: auto;
    margin-left: auto;
    background-color: #ffffff;
}

.card > .image {
    display: table;
    width: 49%;
    height: 228px;
    float: left;
}

.image > div {
    display: table-cell;
    vertical-align: middle;
    background-position: center;
}

.card img {
    width: 100%;
    max-height: 228px;
}

.card > .body {
    margin-left: 51%;
    padding: 5px;
}

.card .card-text {
    font-size: 1.1em;
}

@media (max-width: 1050px) {
    .card-title {
        font-size: 1em;
    }

    .card-text {
        font-size: 0.7em;
    }
}

@media (max-width: 770px) {
    #top {
        font-size: 25px;
    }

    .card-text {
        display: none;
    }
}

@media (max-width: 450px) {
    .card > .image {
        display: block;
        width: 100%;
        height: auto;
    }
    .card > .body {
        margin-left: 0;
    }
}

@media (max-width: 250px) {
    #top {
        display: none;
    }

    #bottom {
        display: none;
    }
}

@media (max-height: 410px) {
    #top {
        display: none;
    }

    #bottom {
        display: none;
    }
}

@media (max-width: 300px), (max-height: 290px) {
    .card {
        height: auto;
    }

    .card > .image {
        display: none;
    }

    .card > .body {
        margin-left: 0;
    }
}

@media (min-width: 576px) {
    .col-sm {
        -webkit-flex-basis: 0;
        -webkit-flex-grow: 1;
    }
}