.row{
    margin:0 !important;
}
.row.oe-row.oe-row-home {
    padding: 0px 4vw 0 4vw;
}
.animated{
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    z-index: 99;
}
.flip-anim {
    transition: all 0.5s;
    width: 43vw;
    height: calc(43vw * 9 / 16);
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    border-radius: 0.3vw;
}
.image-flip{
    padding: 1.1vw !important;
}
.flip-anim>img {
    position: absolute;
}

.flip-action {
    position: absolute;
    top: 0px;
    width: 43vw;
    height: calc(43vw * 9 / 16);
    margin-top: 1vw;
    margin-left: 0.33vw;
    z-index: 100;
}
.flip-info-front{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    color: white;
    padding: 1.5vw;
    font-size: 14px;
    text-shadow: 0 0 3px #000;
}
.flip-hidden {
    background: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    display: none;
    -webkit-transform:  rotate3d(0, 1, 0, -180deg);
    transform: rotate3d(0, 1, 0, -180deg);
    color: white;
    padding: 1.5vw;
    font-size: 14px;
}
.flip-hidden:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-size: 21%;
    background-image: url('/img/play.png');
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
}

.flip-show {
    display: block;
}

.animated.flip-180 {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-animation-name: flip-180;
    animation-name: flip-180;
}

.animated.flip-to-90 {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-animation-name: flip-to-90;
    animation-name: flip-to-90;
}

.animated.flip-to-180 {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    -webkit-animation-name: flip-to-180;
    animation-name: flip-to-180;
}
.SubjectLabel{
    font-size: 1.318vw;
    font-weight: 700;
    font-family: sans-serif;
}
.InstructorLabel{
    font-size: 1.318vw;
    font-weight: 700;
    font-family: sans-serif;
}
.IntroText{
    font-size: 1.025vw;
    font-weight: 400;
    font-family: sans-serif;
}

.card {
    transition: all 1s;
    transform-style: preserve-3d;
    width: 43vw;
    height: calc(43vw * 9 / 16);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    border-radius: 0.3vw;
}

.rotate{
    transform: perspective(600px) rotateY(180deg);
}
.card-front{
    border-radius: 0.3vw;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    backface-visibility: visible;
    transform: perspective(0px) rotateY(0deg);
}
.card-back {
    border-radius: 0.3vw;
	position: absolute;
	backface-visibility: hidden;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	transform: perspective(600px) rotateY(180deg);
	top: 0;
    padding: 2vw;
    color: white;
}


@keyframes flip-to-180 {
    from {
        -webkit-transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -270deg);
        transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -270deg);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    60% {
        -webkit-transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -170deg);
        transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -170deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    to {
        -webkit-transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -180deg);
        transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -180deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }


}

@keyframes flip-to-90 {
    0% {
        -webkit-transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg);
        transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    100% {
        -webkit-transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -270deg);
        transform: perspective(800px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -270deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
}