/*Time to apply widths for accordian to work
Width of image = 640px
total images = 5
so width of hovered image = 640px
width of un-hovered image = 40px - you can set this to anything
so total container width = 640 + 40*4 = 800px;
default width = 800/5 = 160px;
*/

.accordian {
	width: 100%;
	height: 400px;
	min-width:1200px;
	overflow: hidden;
}

/*A small hack to prevent flickering on some browsers*/
.accordian ul {
	width: 100%;
	/*This will give ample space to the last item to move
	instead of falling down/flickering during hovers.*/
}

.accordian li {
	position: relative;
	display: block;
	width: 25%;
	height:400px;
	float: left;
	box-sizing:border-box;
	
	/*Transitions to give animation effect*/
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	/*If you hover on the images now you should be able to 
	see the basic accordian*/
}

/*Reduce with of un-hovered elements*/
.accordian ul:hover li {width: 10%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 70%;}


.accordian li img {
	display: block;
}

/*Image title styles*/
.image_title {
	position: absolute;
	left: 0;
	bottom: 150px;	
	width: 100%;
	padding: 20px;	

}
.image_title a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 20px;
	font-size: 16px;
}

.img-bg {
	width:100%;
	height:100%;
	position:absolute;
	left:0;
	top:0;
	background:#000000;
	opacity:0.6;
}

.img-bg:hover {
	opacity:0.3;
}

.bg01 {
	background:url(../Images/All/bg01.png) center;
	background-size:cover;
}

.bg02 {
	background:url(../Images/All/bg02.png) center;
	background-size:cover;
}

.bg03 {
	background:url(../Images/All/bg03.png) center;
	background-size:cover;
}

.bg04 {
	background:url(../Images/All/bg04.png) center;
	background-size:cover;
}