/*
*  CSS Animated Blocks
*/

@import "variables.less";

.animated-blocks {
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
}
.animated-blocks::after {
    content: "";
    display: table;
    clear: both;
}
.animated-blocks > .animated-block {
    float: left;
	border: 2px solid #5d4e65;
    min-height: @ablock-min-height;
	color: @ablock-font-color;
	background: @ablock-bgr-color;
    padding: 1.25em;
    position: relative;
    text-align: center;
    transition: all .2s ease-in-out;
}
.animated-blocks > .animated-block:hover {
    background-color: @ablock-active-bgr-img2;
    *zoom: 1;
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='@ablock-active-bgr-img1', endColorstr='@ablock-active-bgr-img2');
    background-size: 100%;
    background-origin: border-box;
	background-image: -webkit-linear-gradient(top,@ablock-active-bgr-img1,@ablock-active-bgr-img2);
	background-image: linear-gradient(to bottom,@ablock-active-bgr-img1,@ablock-active-bgr-img2);
    border: @ablock-border-hover;
    box-shadow: 0px 0px 10px 0px #323232;
    transform: scale(1.025);
    z-index: 2;
	
}
.animated-blocks ul {
    color: @ablock-font-color2;
    font-size: 0.75em;
    list-style-type: none;
    padding: 0;
}
.animated-blocks ul li {
    margin: 0 0 0.83em;
}
.animated-blocks .button-holder {
    text-align: center;
    margin: 0 auto;
}
.animated-blocks .css-button {
    font-size: 1em;
    font-weight: 700;
    padding: 5px 18px;
    bottom: 20px;
	background-position: inherit;
	white-space: nowrap;
}
.animated-blocks > .animated-block:hover .css-button {
	background-image: -webkit-linear-gradient(top,@ablock-button-bgr-img1,@ablock-button-bgr-img2);
    background-image: linear-gradient(to bottom,@ablock-button-bgr-img1,@ablock-button-bgr-img2);
}

/**** Animated Posters Block ****/
.animated-posters-blocks {
    margin-top: 60px;
}
.animated-posters-blocks::after {
	content: '';
	display: table;
	margin-bottom: 100px;
	clear: both;
}
.animated-posters-blocks .poster-element {
	display: inline;
	float: left;
	padding: 0;
	-webkit-perspective: 1000px;
	perspective: 1000px;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition-property: perspective;
	-moz-transition-property: perspective;
	transition-property: perspective;
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
.animated-posters-blocks .poster-element:hover {
	-webkit-perspective: 5000px;
	perspective: 5000px;
}
.animated-posters-blocks .poster-element img {
	width: 100%;
	height: auto;
	border: 10px solid #fcfafa;
	-webkit-transform: rotateY(30deg);
	-moz-transform: rotateY(30deg);
	transform: rotateY(30deg);
	-webkit-box-shadow: 0 3px 10px #888;
	-moz-box-shadow: 0 3px 10px #888;
	box-shadow: 0 3px 10px #888;
	-webkit-transition-property: transform;
	-moz-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
.animated-posters-blocks .poster-element:hover img {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	transform: rotateY(0deg);
}
.poster-info {
	border: 10px solid #fcfafa;
	padding: 10px;
	width: 55%;
	height: 45%;
	background-color: #efefef;
	position: absolute;
	right: 0;
	top: 55%;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	-moz-box-shadow: 0 20px 40px #888;
	-webkit-box-shadow: 0 20px 40px #888;
	box-shadow: 0 20px 40px #888;
	-webkit-transform: translateZ(30px) rotateY(30deg);
	-moz-transform: translateZ(30px) rotateY(30deg);
	transform: translateZ(30px) rotateY(30deg);
	-webkit-transition-property: transform, box-shadow, margin;
	-moz-transition-property: transform, box-shadow, margin;
	transition-property: transform, box-shadow, margin;
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
.animated-posters-blocks .poster-element:hover .poster-info {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-box-shadow: 0 5px 10px #888;
	-moz-box-shadow: 0 5px 10px #888;
	box-shadow: 0 5px 10px #888;
	top: 60%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
}
.poster-info h1,
.poster-info h2,
.poster-info h3,
.poster-info h4 {
	color: @font-color;
	font-variant: small-caps;
	text-align: center;
	margin: 0;
	padding: 0 0 15px;
	font-size: 1vw;
}
.poster-info p {
	margin: 0;
	padding: 0 0 15px;
	font-size: 1vw;
}
.poster-info a {
	position: absolute;
	bottom: 10px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #eee;
	padding: 5px 10px;
	color: #666;
	font-size: 1vw;
	text-decoration: none;
	display: block;
	width: 80px;
	text-align: center;
	margin: 0 auto;
	border: 1px solid rgba(0,0,0,.2);
    border-bottom-color: rgba(0,0,0,.3);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	white-space: nowrap;
	background-origin: border-box;
	background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eeeeee));
	background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
	background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
	background-repeat: repeat-x;
	border-color: #eeeeee #eeeeee #ffffff;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    border-radius: 4px;
    text-shadow: 0 1px 0 #fff;
	cursor: pointer
}
.poster-info a:not(.css-button):hover, .poster-info a:not(.css-button):focus {
	color: #333333;
	background-position: 0 -15px;
	background-color: #eee;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}
@media screen and (min-width:320px) and (max-width:750px) {
	.poster-info p, .poster-info a,
	.poster-info h1, .poster-info h2,
	.poster-info h3, .poster-info h4 {
		font-size: inherit;
	}
}

/**** Animated Futuristic Block ****/
.futuristic-panel-outer {
	position: relative;
	margin: auto;
	width: 100%;
	height: @future-block-height * 2;
	text-align: center;
}
.futuristic-panel {
	position: absolute;
	background: #eee;
	width: 50%;
	height: @future-block-height;
	background: -moz-radial-gradient(center center, #eee, #999);
	background: -webkit-radial-gradient(center center, #eee, #999);
	background: radial-gradient(at center center, #eee, #999);
	-webkit-box-shadow: 1px 1px 16px #00b4f5 inset;
	-moz-box-shadow: 1px 1px 16px #00b4f5 inset;
	box-shadow: 1px 1px 16px #00b4f5 inset;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eee', endColorstr='#999',GradientType=1 );
	z-index: 9;
}
.futuristic-panel.left-top {
	left: 0;
	top: 0;
	-webkit-transition: 1s 2s top, 2s left cubic-bezier(1,0,1,1);
	-moz-transition: 1s 2s top, 2s left cubic-bezier(1,0,1,1);
	-o-transition: 1s 2s top, 2s left cubic-bezier(1,0,1,1);
	transition: 1s 2s top, 2s left cubic-bezier(1,0,1,1);
}
.futuristic-panel.right-top {
	right: 0;
	top: 0;
	-webkit-transition: 1s 2s top, 2s right cubic-bezier(1,0,1,1);
	-moz-transition: 1s 2s top, 2s right cubic-bezier(1,0,1,1);
	-o-transition: 1s 2s top, 2s right cubic-bezier(1,0,1,1);
	transition: 1s 2s top, 2s right cubic-bezier(1,0,1,1);
}
.futuristic-panel.left-bottom {
	left: 0;
	bottom: 0;
	-webkit-transition: 1s 2s bottom, 2s left cubic-bezier(1,0,1,1);
	-moz-transition: 1s 2s bottom, 2s left cubic-bezier(1,0,1,1);
	-o-transition: 1s 2s bottom, 2s left cubic-bezier(1,0,1,1);
	transition: 1s 2s bottom, 2s left cubic-bezier(1,0,1,1);
}
.futuristic-panel.right-bottom {
	right: 0;
	bottom: 0;
	-webkit-transition: 1s 2s bottom, 2s right cubic-bezier(1,0,1,1);
	-moz-transition: 1s 2s bottom, 2s right cubic-bezier(1,0,1,1);
	-o-transition: 1s 2s bottom, 2s right cubic-bezier(1,0,1,1);
	transition: 1s 2s bottom, 2s right cubic-bezier(1,0,1,1);

}
.futuristic-panel-outer:hover .animated-screw {
	-webkit-transform: rotate(720deg);
	-moz-transform: rotate(720deg);
	-o-transform: rotate(720deg);
	transform: rotate(720deg);
}
.futuristic-panel-outer:hover .futuristic-panel.left-top {
	left: -30%;
	top: -50px;
	-webkit-transition: 1s top, 2s 1s left cubic-bezier(0,1,1,1);
	-moz-transition: 1s top, 2s 1s left cubic-bezier(0,1,1,1);
	-o-transition: 1s top, 2s 1s left cubic-bezier(0,1,1,1);
	transition: 1s top, 2s 1s left cubic-bezier(0,1,1,1);
}
.futuristic-panel-outer:hover .futuristic-panel.right-top {
	right: -30%;
	top: -50px;
	-webkit-transition: 1s top, 2s 1s left cubic-bezier(0,1,1,1);
	-moz-transition: 1s top, 2s 1s left cubic-bezier(0,1,1,1);
	-o-transition: 1s top, 2s 1s left cubic-bezier(0,1,1,1);
	transition: 1s top, 2s 1s right cubic-bezier(0,1,1,1);
}
.futuristic-panel-outer:hover .futuristic-panel.left-bottom {
	left: -30%;
	bottom: -50px;
	-webkit-transition: 1s bottom, 2s 1s left cubic-bezier(0,1,1,1);
	-moz-transition: 1s bottom, 2s 1s left cubic-bezier(0,1,1,1);
	-o-transition: 1s bottom, 2s 1s left cubic-bezier(0,1,1,1);
	transition: 1s bottom, 2s 1s left cubic-bezier(0,1,1,1);
}
.futuristic-panel-outer:hover .futuristic-panel.right-bottom {
	right: -30%;
	bottom: -50px;
	-webkit-transition: 1s bottom, 2s 1s right cubic-bezier(0,1,1,1);
	-moz-transition: 1s bottom, 2s 1s right cubic-bezier(0,1,1,1);
	-o-transition: 1s bottom, 2s 1s right cubic-bezier(0,1,1,1);
	transition: 1s bottom, 2s 1s right cubic-bezier(0,1,1,1);
}
.futuristic-panel-outer:hover .futuristic-panel-title {
	top: 0px;
	-webkit-transition: 0.8s top;
	-moz-transition: 0.8s top;
	-o-transition: 0.8s top;
	transition: 0.8s top;
}
.futuristic-panel-outer:hover .futuristic-panel-text {
	opacity: 1;
	-webkit-transition: 0.8s opacity;
	-moz-transition: 0.8s opacity;
	-o-transition: 0.8s opacity;
	transition: 0.8s opacity;
}
.futuristic-panel-outer:hover .futuristic-panel-title  {
	color: #efefef !important;
	text-shadow: 1px 1px 1px #000;
	-webkit-transition: 1s 2s color, 1s 2s text-shadow;
	-moz-transition: 1s 2s color, 1s 2s text-shadow;
	-o-transition: 1s 2s color, 1s 2s text-shadow;
	transition: 1s 2s color, 1s 2s text-shadow;
}
.animated-screw {
    position: absolute;
	width: 30px;
    height: 30px;
    border: 1px solid #666;
    border-radius: 50%;
    background-color: #C0C0C0;
	box-shadow: 1px 1px 1px #999;
	-webkit-transition: all 0.8s ease-in-out;
	-moz-transition: all 0.8s ease-in-out;
	-o-transition: all 0.8s ease-in-out;
	transition: all 0.8s ease-in-out;
}
.animated-screw-brim {
    width: 100%;
    height: 2px;
    background-color: #666;
    position: absolute;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
    transform: rotate(45grad) translateY(-50%);
    top: 50%;
}
.futuristic-panel-title {
    position: absolute;
    width: 100%;
    top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
    transform: translateY(-50%);
	background: transparent;
    z-index: 15;
}
.futuristic-panel .title-text {
	margin: auto;
	line-height: @future-block-height;
}
.futuristic-panel-title .text-right,
.futuristic-panel-title .text-left {
    width: 50%;
    float: left;
}
.futuristic-panel-text {
    position: relative;
	text-align: center;
    top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
    transform: translateY(-50%);
	opacity: 0;
}
.futuristic-panel-text .title-letter1 {
	-webkit-animation: color-change 2s 1s infinite;
	-moz-animation: color-change 2s 1s infinite;
	-o-animation: color-change 2s 1s infinite;
	-ms-animation: color-change 2s 1s infinite;
	animation: color-change 2s 1s infinite;
}
.futuristic-panel-text .title-letter2 {
	-webkit-animation: color-change 2s 2s infinite;
	-moz-animation: color-change 2s 2s infinite;
	-o-animation: color-change 2s 2s infinite;
	-ms-animation: color-change 2s 2s infinite;
	animation: color-change 2s 2s infinite;
}
@-webkit-keyframes color-change {
	0% {
		color: red;
		-webkit-transform: scale(1);
	}
	50% {
		color: blue;
		-webkit-transform: scale(1.2);
	}
	100% {
		color: red;
		-webkit-transform: scale(1);
	}
}
@-moz-keyframes color-change {
	0% {
		color: red;
		-moz-transform: scale(1);
	}
	50% {
		color: blue;
		-moz-transform: scale(1.2);
	}
	100% {
		color: red;
		-moz-transform: scale(1);
	}
}
@-ms-keyframes color-change {
	0% {
		color: red;
		-ms-transform: scale(1);
	}
	50% {
		color: blue;
		-ms-transform: scale(1.2);
	}
	100% {
		color: red;
		-ms-transform: scale(1);
	}
}
@-o-keyframes color-change {
	0% {
		color: red;
		-o-transform: scale(1);
	}
	50% {
		color: blue;
		-o-transform: scale(1.2);
	}
	100% {
		color: red;
		-o-transform: scale(1);
	}
}
@keyframes color-change {
	0% {
		color: red;
		transform: scale(1);
	}
	50% {
		color: blue;
		transform: scale(1.2);
	}
	100% {
		color: red;
		transform: scale(1);
	}
}