﻿

.cards {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 1.5%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.card {
    position: relative;
    margin-bottom: 20px;
    /*padding-bottom: 30px;*/
    background: #fefff9;
    color: #363636;
    text-decoration: none;
    -moz-box-shadow: rgba(0, 0, 0, 0.19) 0 0 8px 0;
    -webkit-box-shadow: rgba(0, 0, 0, 0.19) 0 0 8px 0;
    box-shadow: rgba(0, 0, 0, 0.19) 0 0 8px 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin: 5px;
    min-width: 444px;
}

.cardLasUpdate {
    min-width: 280px;
}


@media (max-width: 700px) {
    .card {
        width: 100%;
    }
}


@media (min-width: 980px) {
    .card:nth-child(even) {
    }

    .card:nth-child(3n) {
    }
}

.card span {
    display: block;
}

.card .card-summary {
    padding: 5% 5% 3% 0%;
    font-size: .7em;
}

.card .card-header {
    position: relative;
    /*height: 300px;*/
    height: 250px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.15);
    /*background-blend-mode: overlay;*/
    /*  -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px;
    border-radius: 4px 4px 0 0;*/
    image-rendering: pixelated;
}



.cardLasUpdate .card-headerLasUpdate {
    position: relative;
    /*height: 300px;*/
    height: 170px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.15);
    /*background-blend-mode: overlay;*/
    /*  -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px;
    border-radius: 4px 4px 0 0;*/
    image-rendering: pixelated;
}

    .card .card-header:hover, .card .card-header:focus {
        /*background-color: rgba(187, 63, 148, 0.85);*/
    }

.card .card-title {
    padding: 0.5% 0 0.5% 0;
    color: white;
    font-family: "DejaVu Sans";
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
}

.card .card-title2 {
    padding: 0.5% 0 0.5% 0;
    color: white;
    font-family: "DejaVu Sans";
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
}


.card .card-title h3 {
    font-size: 0.7em;
    line-height: 1.2;
    padding: 0 3.5%;
    margin: 0;
}

.card .card-meta {
    max-height: 0;
    overflow: hidden;
    color: #666;
    font-size: .78em;
    text-transform: uppercase;
    position: absolute;
    bottom: 5%;
    padding: 0 5%;
    -moz-transition-property: max-height;
    -o-transition-property: max-height;
    -webkit-transition-property: max-height;
    transition-property: max-height;
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
}

.card:hover, .card:focus {
    box-shadow: 0 4px 75px 6px rgba(217,11,80,0.78);
    /*transform: scale(1.3);*/
    z-index: 1000;
}

    .card:hover .card-meta, .card:focus .card-meta {
        max-height: 1em;
    }

img {
    max-width: 100%;
}

body {
    font-size: 17px;
    line-height: 1.4;
}

* {
    -moz-transition-property: background-color, border-color, box-shadow, color, opacity, text-shadow, -moz-transform;
    -o-transition-property: background-color, border-color, box-shadow, color, opacity, text-shadow, -o-transform;
    -webkit-transition-property: background-color, border-color, box-shadow, color, opacity, text-shadow, -webkit-transform;
    transition-property: background-color, border-color, box-shadow, color, opacity, text-shadow, transform;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -moz-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
}

.mainVidImg {
    height: 600px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    image-rendering: pixelated;
}

@media (max-width: 450px) {
    .card {
        min-width: 180px !important;
        /*margin-bottom: 20px;*/
    }

        .card .card-header {
            height: 193px !important;
        }

        .card:nth-child(even) {
        }

    .mainVidImg {
        height: 215px !important;
    }
}
