/**
 * @package Joomla.Site
 * @subpackage mod_home_slides
 *
 * @license GNU General Public License version 2 or later; see LICENSE.txt
 * @version 1.0.0
 */
 
#home-container{
	display:table;
	width:100%;
}
#home-container .one-big{
	display:table-cell;
	position:relative;
	width:75%;
	overflow:hidden;
	border:solid #fff 2px;
	-webkit-transition:background-image .5s ease;
	-moz-transition:background-image .5s ease;
	-o-transition:background-image .5s ease;
	transition:background-image .5s ease;
}
#home-container .two-small{
	display:table-cell;
	position:relative;
	width:25%;
	border:solid #fff 2px;
}
#home-container .two-small .small-item{
	position:relative;
	display:block;
	overflow:hidden;
}
#home-container .two-small .small-item:last-child{
	border-top:solid #fff 4px;
}
#home-container .one-big:before,
#home-container .two-small .small-item:before{
	display:block;
	content:'';
    padding-top:65%;
}
#home-container .two-small .small-item:before{
	padding-top:100%;
}
#home-container .two-small .small-item .small-item-label{
	position:absolute;
	display:block;
	top:0;
	width:98%;
	height:100%;
	padding:2%;
	opacity:1;
	-webkit-transition:opacity .3s linear;
	-moz-transition:opacity .3s linear;
	-o-transition:opacity .3s linear;
	transition:opacity .3s linear;
}
#home-container .two-small .small-item .small-item-label a{
	position:absolute;
	color:#000;
	width:98%;
	bottom:4%;
	right:4%;
	text-transform:uppercase;
	text-align:right;
	z-index:1999;
}
#home-container .two-small .small-item .small-item-label:after{
    content:'';
    position:absolute;
    top:100%;
    left:0%;
    width:150%;
    height:150%;
    background:rgba(255,255,255,0.8);
    -webkit-transform-origin:0 0;
    -ms-transform-origin:0 0;
    transform-origin:0 0;
    transform:rotate(-45deg);
}
#home-container .two-small .small-item .small-item-hover{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,0.9);
	opacity:0;
	-webkit-transition:opacity .3s linear;
	-moz-transition:opacity .3s linear;
	-o-transition:opacity .3s linear;
	transition:opacity .3s linear;
}
#home-container .two-small .small-item .small-item-hover h3{
	padding:10px;
	margin:0;
	font-size:90%;
	line-height:2;
}
#home-container .two-small .small-item .small-item-hover p{
	padding:10px;
	margin:0;
	font-size:75%;
}

#home-container .two-small .small-item .small-item-hover .home-box-read-more{
	position:absolute;
	bottom:15px;
	right:15px;
	color:#333;
	text-decoration:none;
}

#home-container .two-small .small-item .small-item-hover .home-box-read-more:hover{
	color:#000;
}

#home-container .two-small .small-item:hover .small-item-hover{
	opacity:1;
}
#home-container .two-small .small-item:hover .small-item-label{
	opacity:0;
}
#home-container .slide-arrow-prev,
#home-container .slide-arrow-next{
	display:none;
	position:absolute;
	width:10%;
	height:100%;
	background:transparent;
	background-size:40px 40px;
	background-position:center center;
	background-repeat:no-repeat;
	z-index:10000;
}
#home-container .slide-arrow-prev{
	left:0;
	background-image:url(../img/prev.png);
}
#home-container .slide-arrow-next{
	right:25%;
	background-image:url(../img/next.png);
}

@media screen and (max-width: 992px){
	#home-container{
		display:table;
	}
	#home-container .one-big{
		display:table-row;
		width:100%;
	}
	#home-container .two-small{
		display:table-row;
		width:100%;
	}
	#home-container .two-small .small-item{
		display:inline-block;
		width:49%;
		border-top:solid #fff 4px;
	}
	#home-container .two-small .small-item:first-child{
		border-right:solid #fff 2px;
	}
	#home-container .two-small .small-item:last-child{
		border-top:0;
		border-left:solid #fff 2px;
	}
}
