h1 {
    display: block;
}

.card {
    display: inline-block;
    will-change: transform;
    margin: 8px;
    float: right;
    border-radius: 3px;
    overflow: hidden;
    background-color: #fafafa;
    width: calc(50% - 16px);
    -webkit-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    align-self: center;
}

@media (max-width: 768px) {
    .card {
        display: block;
        width: calc(100% - 16px);
        padding: 0;
        margin: 8px;
    }
}

.card__image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repat;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    border: 2px solid #fff;
    opacity: 0;
    -webkit-transition: all 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

.card__title {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14pt;
    line-height: 1.5em;
    margin: 0;
    padding: 0 16px;
    font-weight: 400;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5), 0px 2px 0px rgba(0, 0, 0, 0.35);
    -webkit-transition: all 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media (max-width: 768px) {
    .card__title {
        font-size: 3.5vw;
    }
}

.card__subtitle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 11pt;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    color: #000;
    padding: 0 16px;
    margin: 0;
    -webkit-transition: all 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
    font-weight: bold;
}

@media (max-width: 768px) {
    .card__subtitle {
        font-size: 2.5vw;
    }
}

.card__subtitle span {
    font-weight: normal;
    font-size: 14px;
    color: #0A6FB7;
}

.card__text {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #666;
    font-size: 14px;
    display: block;
    left: 0;
    right: 0;
    top: 100px;
    padding: 16px;
    margin: 0;
    line-height: 1.6;
    position: absolute;
    overflow: hidden;
    -webkit-transition: width 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: width 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
    -webkit-transition: delay 0.1s;
    transition: delay 0.1s;
}

.card__action-bar {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    background: #fff;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    padding: 0 8px;
    border-top: 1px solid #E0E0E0;
    boz-sizing: border-box;
    height: 52px;
    -webkit-transition: left 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: left 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

.card__button {
    display: inline-block margin: 0 auto;
    padding: 5px 20px;
    width: 25%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #0A6FB7;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #003464;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.card__button:hover {
    background: #003464;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

.card__button-default {
    margin: 0 auto;
    padding: 5px 20px;
    width: 30%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    color: #666;
    background: rgb(235, 235, 235);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #999;
    transition: all 0.5s;
}

.card__button-default:hover {
    color: #666;
    background: #fff;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #ccc;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

.card__button_dis {
    display: inline-block margin: 0 auto;
    padding: 5px 20px;
    width: 25%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    color: #6A6969;
    background: #B7B8B8;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #003464;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.ratestars {
    display: inline-block;
    float: left;
    margin: 13px;
    color: goldenrod;
}
/*        */

.card--medium {
    display: block;
    box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.5);
    height: 170px;
    min-height: 170px;
    position: relative;
}

.card--medium:hover {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
}

.card--medium .card__image {
    position: relative;
    float: left;
    margin: 10px;
    width: 92px;
    height: 92px;
    z-index: 100;
    opacity: 1;
}

.card--medium .card__title {
    color: #0A6FB7;
    padding-top: 10px;
    background: #E1F3FD;
    text-shadow: none;
}

.card--medium .card__text {
    font-size: 16px;
    top: 50px;
}

.card--medium .card__action-bar {
    left: 0;
}

.card--small {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    height: 136px;
    min-height: 136px;
}

.card--small .card__image {
    border-radius: 1px 0 0 1px;
    position: absolute;
    left: 0;
    top: 0;
    width: 136px;
    opacity: 1;
    max-height: 136px;
}

.card--small .card__image:after {
    opacity: 0;
}

.card--small .card__title {
    color: #0A6FB7;
    left: 136px;
    top: 20px;
    background: none;
    text-shadow: none;
}

.card--small .card__subtitle {
    opacity: 1;
    left: 136px;
}

.card--small .card__text {
    top: 30px;
    opacity: 0;
    left: 136px;
}

.card--small .card__action-bar {
    left: 136px;
}