﻿.delay-1 .item{-webkit-animation-delay: 0.1s;animation-delay: 0.1s;}
.delay-2 .item{-webkit-animation-delay: 0.2s;animation-delay: 0.2s;}
.delay-3 .item{-webkit-animation-delay: 0.3s;animation-delay: 0.3s;}
.delay-4 .item{-webkit-animation-delay: 0.4s;animation-delay: 0.4s;}
.delay-5 .item{-webkit-animation-delay: 0.5s;animation-delay: 0.5s;}
.delay-6 .item{-webkit-animation-delay: 0.6s;animation-delay: 0.6s;}
.delay-7 .item{-webkit-animation-delay: 0.7s;animation-delay: 0.7s;}
.delay-8 .item{-webkit-animation-delay: 0.8s;animation-delay: 0.8s;}

.t-3dflip{-webkit-perspective: 1000px;perspective: 1000px;}
.t-3dflip .item{-webkit-transform-style: preserve-3d;transform-style: preserve-3d;-webkit-backface-visibility: hidden;backface-visibility: hidden;}
.active .t-3dflip .item:nth-child(1){-webkit-transform-origin: 0% 50%;transform-origin: 0% 50%;-webkit-animation: rotateOutLeft 0.6s forwards;animation: rotateOutLeft 0.6s forwards;}
.active .t-3dflip .item:nth-child(2){opacity: 0;-webkit-transform-origin: 100% 50%;transform-origin: 100% 50%;-webkit-animation: rotateInRight 0.6s ease-in forwards;animation: rotateInRight 0.6s ease-in forwards;}

.t-bringback{-webkit-perspective: 1000px;perspective: 1000px;}
.t-bringback .item{-webkit-transform-style: preserve-3d;transform-style: preserve-3d;-webkit-backface-visibility: hidden;backface-visibility: hidden;}
.active .t-bringback .item:nth-child(1){-webkit-animation: hideLeft 0.8s forwards;animation: hideLeft 0.8s forwards;}
.active .t-bringback .item:nth-child(2){z-index: -1;-webkit-animation: showRight 0.8s forwards;animation: showRight 0.8s forwards;}

.active .t-superscale .item:nth-child(1){-webkit-animation: scaleDown 0.6s ease-in-out forwards;animation: scaleDown 0.6s ease-in-out forwards;}
.active .t-superscale .item:nth-child(2){opacity: 0;-webkit-animation: scaleIn 0.6s ease-in-out forwards;animation: scaleIn 0.6s ease-in-out forwards;}

.t-frontrow{overflow: hidden;}
.active .t-frontrow .item:nth-child(1){-webkit-animation: moveToBack 0.8s forwards;animation: moveToBack 0.8s forwards;}
.active .t-frontrow .item:nth-child(2){-webkit-animation: moveToFront 0.8s forwards;animation: moveToFront 0.8s forwards;}

/* Stack back 3D*/
.t-stackback{-webkit-perspective: 1000px;perspective: 1000px;}
.t-stackback .item{-webkit-transform-style: preserve-3d;transform-style: preserve-3d;-webkit-backface-visibility: hidden;backface-visibility: hidden;}
.active .t-stackback .item:nth-child(1){-webkit-animation: moveLeft 0.8s forwards;animation: moveLeft 0.8s forwards;}
.active .t-stackback .item:nth-child(2){z-index: -1;-webkit-animation: popUp 0.8s ease-in forwards;animation: popUp 0.8s ease-in forwards;}

/* Center flip */
.t-flip{-webkit-perspective: 1500px;perspective: 1500px;}
.t-flip .item{-webkit-transform-style: preserve-3d;transform-style: preserve-3d;-webkit-backface-visibility: hidden;backface-visibility: hidden;}
.active .t-flip .item:first-child{-webkit-animation: flipOut 0.8s ease-in forwards;animation: flipOut 0.8s ease-in forwards;}
.active .t-flip .item:nth-child(2){opacity: 0;-webkit-animation: flipIn 0.8s ease-in forwards;animation: flipIn 0.8s ease-in forwards;}