.grid
{
	position: relative;
	margin: 0 auto;
}
/* Common style */
.grid FIGURE
{
	position: relative;
	float: left;
	overflow: hidden;
	background: #3085A3;
	text-align: center;
	cursor: pointer;
	transition: transform 500ms ease-in-out;
}
.grid FIGURE IMG
{
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 1;
	transition: all 750ms ease-in-out;
}
.grid FIGURE IMG:hover
{
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 1;
	transform: scale(1.1);
	transition: all 750ms ease-in-out;
}
.grid FIGURE FIGCAPTION
{
	padding: 2em;
	color: #FFF;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.grid FIGURE FIGCAPTION::before, .grid FIGURE FIGCAPTION::after
{
	pointer-events: none;
}
.grid FIGURE FIGCAPTION, .grid FIGURE FIGCAPTION > A
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid FIGURE FIGCAPTION > A
{
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
.grid FIGURE H2
{
	word-spacing: 0;
	font-weight: 400;
}
.grid FIGURE H2 SPAN
{
	font-weight: 400;
}
.grid FIGURE H2, .grid FIGURE P
{
	margin: 0;
}
.grid FIGURE A P
{
}
.grid A FIGURE P
{
	font-size: 16px !important;
	line-height: 18px;
	text-align: left;
	color: #FFF;
	text-transform: none;
}
.grid FIGURE FIGCAPTION .gridlink
{
	padding: 30px 0 5px;
	text-align: right;
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 90px;
}
.grid FIGURE FIGCAPTION .gridlink P
{
	text-align: right;
	text-transform: uppercase;
	padding-right: 30px;
	position: relative;
}
.grid FIGURE FIGCAPTION .gridlink P:before
{
	content: '';
	position: absolute;
	background: #FFF;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 80%;
}
.grid FIGURE FIGCAPTION .gridlink P:after
{
	content: '';
	position: absolute;
	right: -5px;
	margin-top: -15px;
	height: 30px;
	width: 30px;
	background: url(/themes/custom/cyfex/img/arrow_white.png);
	background-size: contain;
	background-repeat: no-repeat;
}
@media screen and (max-width: 1440px)
{
	.grid FIGURE FIGCAPTION .gridlink P:before
	{
		content: '';
		position: absolute;
		background: #FFF;
		left: 0;
		bottom: 0;
		height: 3px;
		width: 70%;
	}
}
@media screen and (max-width: 1280px)
{
	.grid FIGURE FIGCAPTION .gridlink P:before
	{
		content: '';
		position: absolute;
		background: #FFF;
		left: 0;
		bottom: 0;
		height: 3px;
		width: 65%;
	}
}
@media screen and (max-width: 1024px)
{
	.grid FIGURE FIGCAPTION .gridlink P:before
	{
		content: '';
		position: absolute;
		background: #FFF;
		left: 0;
		bottom: 0;
		height: 3px;
		width: 80%;
	}
}
@media screen and (max-width: 768px)
{
	.grid FIGURE FIGCAPTION .gridlink P:before
	{
		content: '';
		position: absolute;
		background: #FFF;
		left: 0;
		bottom: 0;
		height: 3px;
		width: 70%;
	}
}
@media screen and (max-width: 640px)
{
	.grid FIGURE FIGCAPTION .gridlink P:before
	{
		content: '';
		position: absolute;
		background: #FFF;
		left: 0;
		bottom: 0;
		height: 3px;
		width: 80%;
	}
}
/*---------------*/
/***** Zoe *****/
/*---------------*/
FIGURE.effect-zoe FIGCAPTION
{
	top: auto;
	bottom: 55px;
	padding: 15px;
	height: auto;
	color: #000;
	background: rgba(255, 255, 255, 0.75);
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 500ms ease-in-out;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0, 100%, 0);
	height: 300px;
}
FIGURE.effect-zoe H2
{
	width: 100%;
	color: #000;
	text-align: left;
	font-size: 22px;
	padding: 0 !important;
	transition: transform 500ms ease-in-out;
	background: transparent !important;
}
FIGURE.effect-zoe P.description
{
	color: #FFF !important;
	text-transform: none;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
	width: 100%;
	padding: 10px 0 0;
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	-webkit-backface-visibility: hidden;
	/* Fix for Chrome 37.0.2062.120 (Mac) */
}
FIGURE.effect-zoe P.icon-links A
{
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 500ms ease-in-out;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0, 100%, 0);
}
FIGURE.effect-zoe H2, FIGURE.effect-zoe P.icon-links A
{
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 500ms ease-in-out;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0, 0%, 0);
}
FIGURE.effect-zoe H2
{
	display: inline-block;
	position: relative;
	top: -5px;
}
FIGURE.effect-zoe:hover P.description
{
	opacity: 1;
}
FIGURE.effect-zoe:hover FIGCAPTION, FIGURE.effect-zoe:hover H2, FIGURE.effect-zoe:hover P.icon-links A
{
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0, 45%, 0);
	color: #FFF !important;
	background: rgba(4, 171, 211, 0.75);
	transition: transform 500ms ease-in-out;
	/*// Front Carousel*/
}
/*---------------*/
/***** Bootstrap Carousel *****/
/*---------------*/
.slider .carousel .carousel-item
{
	height: 100vh;
	position: relative;
}
.slider .carousel .carousel-item:after
{
	position: absolute;
	bottom: 0;
	left: 50%;
	right: 0;
	transform: translate(-50%, 0%);
	content: " ";
	width: 100vw;
	border-style: solid;
	border-width: 0 1300px 100px 1300px;
	border-color: transparent transparent #FFF transparent;
}
.carousel.slide.carousel-fade .carousel-inner .carousel-item IMG
{
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	object-fit: cover;
	margin-top: 0;
}
.slider .carousel .carousel-item .carousel-caption
{
	bottom: 20%;
}
.slider .carousel .carousel-indicators
{
	bottom: 15%;
	animation: bounce 500ms ease-in-out infinite alternate running !important;
}
.slider .carousel .carousel-caption
{
	position: absolute;
	top: 55%;
	left: 35%;
	transform: translate(-50%, -50%);
}
.carousel.slide.carousel-fade .carousel-inner .carousel-item .carousel-caption H1
{
	color: #FFF;
	font-size: 3.5em;
	font-weight: 700;
	max-width: 420px;
	text-align: left;
}
.carousel.slide.carousel-fade .carousel-inner .carousel-item .carousel-caption P
{
	color: #FFF;
}
.view-headerimage.view-id-headerimage .headerimage .scrolltocontent A.scroll-arrow IMG
{
	bottom: 15%;
	animation: bounce 500ms ease-in-out infinite alternate running !important;
}
.slide .scrolltocontent
{
	position: absolute;
	left: 50%;
	bottom: 15%;
	transform: translate(-50%, -50%);
	z-index: 1;
	animation: bounce 500ms ease-in-out infinite alternate running !important;
}
.parallax
{
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: calc(100vh + 45px) !important;
	width: 100vw;
}
@media screen and (max-width: 991px)
{
	.parallax
	{
		background-attachment: scroll;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		height: auto;
		width: 100%;
	}
}
/*---------------*/
/***** Cookies Module *****/
/*---------------*/
.block-cookies .cookiesjsr-banner
{
	background: #04ACD4;
}
.block-cookies .cookiesjsr-banner BUTTON
{
	background: #04ACD4;
	color: #FFF;
}
.block-cookies .cookiesjsr-layer--body BUTTON
{
	background: #04ACD4 !important;
	color: #FFF !important;
}
.block-cookies .cookiesjsr-layer .cookiesjsr-layer--body UL.cookiesjsr-service-groups LI.cookiesjsr-service-group .cookiesjsr-service-group--content
{
	background: #04ACD4;
	color: #FFF;
}
.block-cookies .cookiesjsr-layer .cookiesjsr-layer--footer .cookiesjsr-layer--actions BUTTON
{
	background: #04ACD4;
	color: #FFF;
	border: 2px solid #04ACD4;
}
