/* codeDESIGN - djc2_items_grid.css */
@charset "utf-8";

div.djc2_items_flip {
	margin-top: 60px;
}

div.djc2_items_flip div.row.flex::before,
div.djc2_items_flip div.row.flex::after {
	content: none;
}
div.djc2_items_flip div.row.flex {
	justify-content: space-between;
}

div.djc2_items_flip div.row.flex:not(:last-child) {
	margin-bottom: 60px;
}

div.djc2_items_flip div.row.flex div.col-md-4 {
	width: calc((100% / 3) - 40px);
}
@media only screen and (max-width: 991px) {
	div.djc2_items_flip div.row.flex div.col-md-4 {
		width: 100%;
	}
	div.djc2_items_flip div.row.flex div.col-md-4:not(:last-child) {
		margin-bottom: 60px;
	}
}

div.djc2_items_flip div.djc2_flip_item_tile {
	display: block;
	position: relative;
	width: 100%;
	padding-top: 100%;
	perspective: 1000px;
}

div.djc2_items_flip div.djc2_flip_item_tile_inner {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	-moz-transition: all 0.5s ease 0s;
	-webkit-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
	transform-style: preserve-3d;
}

div.djc2_items_flip div.djc2_items_flip_item_image {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

div.djc2_items_flip div.djc2_items_flip_item_gradient {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	transform: rotateY(180deg);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

div.djc2_items_flip div.djc2_items_flip_item_gradient {
	background: var(--ci_color_grey);
	background: -moz-linear-gradient(45deg, var(--ci_color_black) 0%, var(--ci_color_grey) 50%, var(--ci_color_black) 100%);
	background: -webkit-linear-gradient(45deg, var(--ci_color_black) 0%, var(--ci_color_grey) 50%, var(--ci_color_black) 100%);
	background: linear-gradient(45deg, var(--ci_color_black) 0%, var(--ci_color_grey) 50%, var(--ci_color_black) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1d1d1b",endColorstr="#1d1d1b",GradientType=1);
}

div.djc2_items_flip div.djc2_items_flip_item_gradient a {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

div.djc2_items_flip div.row:nth-child(2n+1) div.col-md-4:nth-child(2n+1) div.djc2_flip_item_tile:hover div.djc2_flip_item_tile_inner {
	transform: rotateY(180deg);
}
div.djc2_items_flip div.row:nth-child(2n) div.col-md-4:nth-child(2n) div.djc2_flip_item_tile:hover div.djc2_flip_item_tile_inner {
	transform: rotateY(180deg);
}

div.djc2_items_flip div.row:nth-child(2n+1) div.col-md-4:nth-child(2n) div.djc2_flip_item_tile_inner {
	transform: rotateY(180deg);
}
div.djc2_items_flip div.row:nth-child(2n) div.col-md-4:nth-child(2n+1) div.djc2_flip_item_tile_inner {
	transform: rotateY(180deg);
}
@media only screen and (max-width: 991px) {
	div.djc2_items_flip div.row:nth-child(2n+1) div.col-md-4:nth-child(2n) div.djc2_flip_item_tile_inner {
		transform: rotateY(0deg);
	}
	div.djc2_items_flip div.row:nth-child(2n) div.col-md-4:nth-child(2n+1) div.djc2_flip_item_tile_inner {
		transform: rotateY(0deg);
	}
}

div.djc2_items_flip div.row:nth-child(2n+1) div.col-md-4:nth-child(2n) div.djc2_flip_item_tile:hover div.djc2_flip_item_tile_inner {
	transform: rotateY(360deg);
}
div.djc2_items_flip div.row:nth-child(2n) div.col-md-4:nth-child(2n+1) div.djc2_flip_item_tile:hover div.djc2_flip_item_tile_inner {
	transform: rotateY(360deg);
}
@media only screen and (max-width: 991px) {
	div.djc2_items_flip div.row:nth-child(2n+1) div.col-md-4:nth-child(2n) div.djc2_flip_item_tile:hover div.djc2_flip_item_tile_inner {
		transform: rotateY(180deg);
	}
	div.djc2_items_flip div.row:nth-child(2n) div.col-md-4:nth-child(2n+1) div.djc2_flip_item_tile:hover div.djc2_flip_item_tile_inner {
		transform: rotateY(180deg);
	}
}

div.djc2_items_flip div.djc2_items_flip_item_text {
	display: block;
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 20%;
	font: var(--font-h2_component);
	text-align: center;
	text-transform: uppercase;
	color: var(--ci_color_white);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 0;
}
div.djc2_items_flip div.djc2_items_flip_item_image div.djc2_items_flip_item_text {
	background: rgba(0, 0, 0, 0.5);
}
div.djc2_items_flip div.djc2_items_flip_item_text span {
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
}