/**
 * @copyright	Copyright (C) 2015 Cédric KEIFLIN alias ced1870
 * http://www.joomlack.fr
 * http://www.template-creator.com
 * @license		GNU/GPL
 * Plugin Image Effect CK
 * */

/*@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'feathericons';
	src:url('../fonts/feathericons/feathericons.eot?-8is7zf');
	src:url('../fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'),
		url('../fonts/feathericons/feathericons.woff?-8is7zf') format('woff'),
		url('../fonts/feathericons/feathericons.ttf?-8is7zf') format('truetype'),
		url('../fonts/feathericons/feathericons.svg?-8is7zf#feathericons') format('svg');
}*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

.gridck {
	position: relative;
	margin: 0 auto;
	padding: 1em 0 4em;
	/*max-width: 1000px;*/
	list-style: none;
	text-align: center;
}

/* Common style */
figure.imageeffectck {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	/*min-width: 320px;*/
	/*max-width: 480px;*/
	/*max-height: 360px;*/
	/*width: 48%;*/
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	display: inline-block;
}

figure.imageeffectck img {
	position: relative;
	display: block;
	/*min-height: 100%;*/ /* do not use because it distord the images in Safari and mobiles */
	max-width: 100%;
	width: 100%;
	opacity: 1;
	margin: 0;
}

figure.imageeffectck figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.imageeffectck figcaption::before,
figure.imageeffectck figcaption::after {
	pointer-events: none;
}

figure.imageeffectck figcaption,
figure.imageeffectck figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	/*width: 100%;
	height: 100%;*/
}

/* Anchor will cover the whole item by default */
/* For some effectcks it will show as a button */
figure.imageeffectck figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

figure.imageeffectck .imageeffectck_title {
	font-weight: bold;
	font-size: 1.5em;
	line-height: 24px;
	font-family: 'Arial';
}

figure.imageeffectck .imageeffectck_title span {
	font-weight: 800;
}

figure.imageeffectck .imageeffectck_title,
figure.imageeffectck .imageeffectck_desc {
	margin: 0;
}

figure.imageeffectck .imageeffectck_desc {
	letter-spacing: 1px;
	font-size: 68.5%;
}


/* Individual effectcks */
/*---------------*/
/***** Julia *****/
/*---------------*/
/*Boite couleur bg *****/
figure.effectck-julia {background: none;}
/*Transition zoom & couleur bg*****/
figure.effectck-julia img {
	-webkit-transition: opacity 1s, -webkit-transform 1s;
	transition: opacity 1s, transform 1s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effectck-julia figcaption {
	text-align: center;
}
/*Boite ensemble texte*****/
figure.effectck-julia .imageeffectck_title {
    background-color: #ffffff;
    border-radius: 0px;
    color: #9ebd01;
    font-style: normal;
    font-weight: bold;
    margin-top: 355px;
    padding: 0.5em 0;
    position: relative;
}
/*boite texte *****/
figure.effectck-julia .imageeffectck_desc {
	display: inline-block;
	margin: 0;
	padding: 0.5em;
	background: none;
	color: #ffffff;
	font-style: normal;
	text-transform: none;
	font-weight: normal;
	font-size: 140%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-360px,0,0);
	transform: translate3d(-360px,0,0);
}

figure.effectck-julia .imageeffectck_desc:first-child {
	-webkit-transition-delay: 0.15s;
	transition-delay: 0.15s;
}

figure.effectck-julia .imageeffectck_desc:nth-of-type(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effectck-julia .imageeffectck_desc:nth-of-type(3) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effectck-julia:hover .imageeffectck_desc:first-child {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

figure.effectck-julia:hover .imageeffectck_desc:nth-of-type(2) {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
}

figure.effectck-julia:hover .imageeffectck_desc:nth-of-type(3) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

figure.effectck-julia:hover img {
	opacity: 1;
	-webkit-transform: scale3d(1.05, 1.05, 2);
	transform: scale3d(1.05, 1.05, 2);
}

figure.effectck-julia:hover .imageeffectck_desc {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
