/* Shortcode:Flibox
-------------------------------------------------------------------- */
.mk-flipbox-container{
	.perspective(2000px);
	// -ms-transform: perspective(1000px);
	// -moz-transform: perspective(1000px);
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	width: 100%;
	text-align: center;

	&.flip-horizontal{

		.mk-flipbox-front {
			.rotateY(0deg);
			z-index: 2;
		}

		.mk-flipbox-back {
			.rotateY(-180deg);

		}
		&:hover{
			.mk-flipbox-back{
				.rotateY(0deg);
			}
			.mk-flipbox-front{
				.rotateY(180deg);
			}
		}
	}
	&.flip-vertical{
		.mk-flipbox-back {
			.rotateX(180deg);
		}
		.mk-flipbox-flipper {
			.transform-origin(100%, 213.5px);
		}
		&:hover{
			.mk-flipbox-back{
				.rotateX(0deg);
			}
			.mk-flipbox-front{
			    .rotateX(-180deg);
			}
		}
	}
}
.mk-flipbox-flipper {

	.transition(all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000));
	.perspective(2000px);

	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	
	height: 100%;
	position: relative;
}
.mk-flipbox-front, .mk-flipbox-back{
	.backface-visibility();
	.transition(all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000));
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

	
	position: absolute;
	left: 0;
	top:0;
	height:100%;
	width:100%;
	display: table;
}
.mk-flipbox-front {
	.front-icon{
	}
	.front-title{
	}
	.front-desc{
		padding:0 10%;
	}
}
.mk-flipbox-back{
	.back-title{
	}
	.back-desc{
		padding:0 10%;
	}
}
.mk-flipbox-content{
	padding-top:20px;
	display: table-cell;
	vertical-align: middle;
	padding: 10px;
	.back-button{
		display: inline-block;
		padding: 10px 20px;
		margin-top:20px;
	}
	.front-icon, .front-title, .back-title{
		padding:20px;
	}
}
