/**
 * @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');
}*/


/*nur das für CGF notwenige CSS übrig*/

@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%;	/*SBL modifiziert, damit Abstand zwischen den Kästchen entfällt*/
	/*min-width: 320px;*/
	/*max-width: 480px;*/
	/*max-height: 360px;*/
	/*width: 48%;*/
	background: #3085a3;
	background: none;	/*SBL*/
	text-align: center;
	cursor: pointer;
	display: inline-block;
	will-change: transform;
	
	margin: -15px 0 0 0;	/*sbl*/
}

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: 0.8;
	margin: 0;
}

figure.imageeffectck figcaption {
	padding: 3em 0em 0em 0em;	/*SBL*/
	color: #fff;
	text-transform: uppercase;
	-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 {
	word-spacing: -0.15em;
	font-weight: 300;
	font-size: 1.5em;
	line-height: 24px;
	font-family: 'Open Sans';
}

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

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

figure.imageeffectck .imageeffectck_desc {
	letter-spacing: 0px;	/*SBL*/
	font-size: 1.2em;	/*SBL*/
}

/* Individual effectcks */


/*---------------*/
/***** Bubba *****/
/*---------------*/

figure.effectck-bubba {
	background: none;	/*SBL*/
}

figure.effectck-bubba img {
	opacity: 1;	/*SBL*/
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effectck-bubba:hover img {
	opacity: 0.4;
}

figure.effectck-bubba figcaption::before,
figure.effectck-bubba figcaption::after {
	position: absolute;
	top: 0%;	/*SBL*/
	right: 0%;	/*SBL*/
	bottom: 0%;	/*SBL*/
	left: 0%;	/*SBL*/
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effectck-bubba figcaption::before {
	border: 0px solid #fff;	/*SBL*/
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

figure.effectck-bubba figcaption::after {
	border: 0px solid #fff;	/*SBL*/
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}

figure.effectck-bubba .imageeffectck_title {
	/*padding-top: 30%;*/
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,-20px,0);
	transform: translate3d(0,-20px,0);
}

figure.effectck-bubba .imageeffectck_desc {
	padding: 0;	/*SBL*/
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effectck-bubba:hover figcaption::before,
figure.effectck-bubba:hover figcaption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

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


/* Media queries */
/*
@media screen and (max-width: 50em) {
	figure.imageeffectck {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}


@media screen and (max-width: 50em) {
	figure.imageeffectck {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}*/


