.card {
    display: inline-block;
    will-change: transform;
    margin: 8px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background-color: #fafafa;
    height: 35%;
    width: 47.66%;
    -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);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
    cursor: pointer;
    align-self: center;
}

@media (max-width: 768px) {
    .card {
        display: block;
        width: 98%;
        padding: 0;
        margin: 8px auto;
    }
}

.card__image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repat;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    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: 24px;
	line-height: 33px;
    background: rgba(0, 0, 0, 0.35);
    color: #FFF;
    margin: 0;
    position: absolute;
    left: 0;
    right: 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);
    /*white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -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__subtitle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #000;
    padding: 0 16px;
    -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__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);
	    /*text-align: left;*/
}


/*
.card__button {
    outline: none;
    position: relative;
    display: inline-block;
    line-height: 52px;
    padding: 0 16px;
    color: #ff1744;
}
*/

.card__button {
    margin: 0 auto;
    padding: 5px 20px;
    width: 200px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #0b727a;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #0b7179;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.card__button:hover {
    background: #033235;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.card__button-default {
    color: #666;
    background: #ccc;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #999;
}

.card__button-default:hover {
    color: #666;
    background: #fff;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #ccc;
}


/*   CARD BIG     */

.card--big {
    box-shadow: 0 27px 55px 0 rgba(0, 0, 0, 0.3), 0 17px 17px 0 rgba(0, 0, 0, 0.15);
    height: 304px;
    min-height: 304px;
}

.card--big .card__image {
    border-radius: 1px 1px 0 0;
    left: 0;
    right: 0;
    top: 0;
    opacity: 1;
    max-height: 176px;
}

.card--big .card__title {
    top: 135px;
}

.card--big .card__text {
    top: 176px;
}

.card--big .card__action-bar {
    left: 0;
}


/*----- 		CARD MEDIUM 		-----*/

.card--medium {
    box-shadow: 0 13px 25px 0 rgba(0, 0, 0, 0.3), 0 11px 7px 0 rgba(0, 0, 0, 0.19);
    height: 208px;
    min-height: 208px;
}

.card--medium .card__image {
    border-radius: 1px 1px 0 0;
    left: 0;
    right: 0;
    top: 0;
    max-height: 0;
    opacity: 0;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
}

.card--medium .card__title {
    color: #0A6FB7;
    top: 20px;
    background: none;
    text-shadow: none;
}

.card--medium .card__text {
    font-size: 16px;
    top: 50px;
}

.card--medium .card__action-bar {
    left: 0;
}


/*----- 		CARD SMALL 		-----*/

.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;
    z-index: 1200;
}

.card--small .card__image:after {
    opacity: 0;
}

.card--small .card__title {
    color: #0b717a;
    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;*/
}

.unactive .card__button {
    background-color: #a2a2a2 !important;
	
    cursor:default;
}


.unactive .card__image {
    opacity: 0.5;
}

.unactive h2.card__title {
    color: #8a8686;
}

.card.card--small.unactive {
    cursor: auto;
}

