/*  Compojoom Template */
.tiles_box {box-shadow: 0 5px 10px #999999;border-radius: 0 0 2px 2px; margin: 10px; background: #fff; overflow: hidden; padding: 3px 8px 5px 8px;}
.tiles_holder {position:relative;}
.tiles_scroller {position: absolute;}

.aTile {position: absolute; display: inline-block; z-index: 2; overflow: hidden;}
.aTile_holder {position: relative; width:100%; height: 100%; overflow: hidden;}

.aTile_inner:hover { opacity: 1; }

.aTile h2 {text-shadow: 3px 3px 3px black; color: #fff; }
.aTile p {text-shadow: 3px 3px 3px black; color: #eee; font-size: 120%;
	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Verdana, sans-serif; margin: 5px 0;
}

.btn_scroll_left, .btn_scroll_right {display: block; height: 100%; margin: 5px 0; text-align: center; background: none;}
.btn_scroll_left img, .btn_scroll_right img {position:absolute; top: 45%;}

.tiles_buttons {position: absolute; bottom: 15px;}

.tiles_button_left {margin:0}
.tiles_button_multi {}

.tiles_button_last{}

.tiles_overlay {position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 3;}

/* Absolute link */
.tiles_absolute_link {position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index:5; opacity: 0;}


.tiles_left_control {position:absolute; z-index: 4; width: 40px; left: 0; top: 0; background: none !important; }
.tiles_right_control {position:absolute; z-index: 4; width: 40px; right: 0; top: 0; background: none !important;}
.btn_scroll_left {
	width: 38px;
	height: 100%;
	background-repeat: no-repeat;
	background-image: url("/templates/cj2013/images/arrows.png");
	background-position: 0 50%;
	opacity: 0.5;
}
.btn_scroll_right {

	width: 38px;
	height: 100%;
	background-image: url("/templates/cj2013/images/arrows.png");
	background-repeat: no-repeat;
	background-position: -36px 50%;
	opacity: 0.5;
}
.btn_scroll_left:hover {
	opacity: 1;
}
.btn_scroll_right:hover {
	opacity: 1;
}
.aTile_inner{
	padding: 24px;
	margin: 1px;
	display: block;
	box-shadow:0 0 8px #0C0C0C inset;
	-webkit-box-shadow: 0 0 8px #0C0C0C inset;
	-moz-box-shadow: 0 0 8px #0C0C0C inset;
	/*opacity: 0.9;*/
}
.aTile h2 {
	font-size: 18px;
	margin: 0 0 0 10px;
	line-height: 26px;
}
.aTile p {
	font-size: 12px;
	margin: 0 0 0 10px;
}

.tiles_buttons {
	opacity: 0;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	left: 10px;
	width: auto;
}

.tile-overlay {
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.5);
	position: absolute;
	width: 99%;
	height: 0;
	margin: 1px;
	bottom: 0;
	transition: linear 200ms;
}

.tile-2h .tile-overlay,
.tile-2x .tile-overlay {
	height: 30px;
}

.tile-2x .tile-overlay {
	padding-right: 2px;
}

.aTile:hover .tile-overlay {
	height: 99%;
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.8);
	-webkit-transition: linear 400ms;
	-o-transition: linear 400ms;
	transition: linear 400ms;
}

.aTile:hover .tile-overlay .fa {
	display: none;
}

.aTile:hover .tile-2h .tile-overlay {
	height: 40%;
	transition: linear 400ms;
}

.aTile:hover .tiles_buttons {
	opacity: 1;
	transition: linear 1200ms;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
}

.aTile:hover h2 {
	margin-top: 10px;
}

.tile_45.aTile:hover .tile-2h .tile-overlay{
	height: 60%;
}

.impressive .tiles_box {
	background: #FFF;
	border: none;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.impressive .aTile_inner {
	border: none;
	opacity: 1;
}

.impressive .aTile_holder:hover .tiles_buttons {
	opacity: 1;
}