@charset "utf-8";
/* CSS Document */

/*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: 100%;
	overflow: hidden;
	
	/*Time for some styling*/
	margin:0px auto;
	/*box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.35);
	-webkit-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.35);
	-moz-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.35);*/
}

/*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: 24.80%;
	float: left;
	/*padding-left:0.20%;*/
	
	background:#fff;
	border-left: 2px solid #fff;*/
	
	box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.5);
	
	/*Transitions to give animation effect*/
	transition: all 2s;
	-webkit-transition: all 2s;
	-moz-transition: all 2s;
	/*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: 5.10%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 83.80%;}

.accordian ul:hover li .black {
   opacity: 0.5;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
   height:100%;
   width:100%;
   background:#000;
   }

.accordian ul:hover li .black:hover {
    opacity: 1;
	height:100%;
   width:100%;
   background:#000;
      }

.accordian li img {
	display: block !important;
	height:100% !important;
}

.black {
	display: block !important;
	height:100% !important;
}

/*Image title styles*/
.image_title {
	position: absolute;
	left: 0; top: 55%;	
	width: 85%;
	/*z-index:999;*/
	font-family: 'century_gothic';

}
.image_title a {
	background: rgba(238, 27, 36, 100);
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px;
	font-size: 18px;
	font-weight:bold;
}

.image_title p {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	font-size: 10px;
	font-weight:bold;
	text-transform:uppercase;
	margin:0px;
}


.pageloader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../images/ajax-loader.gif) 50% 50% no-repeat #ebebeb;
}

#preloader { 
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../images/ajax-loader.gif) 50% 50% no-repeat #ebebeb;
}

.entry {
    background: none repeat scroll 0 0 rgba(238, 27, 36, 0.5);
    box-sizing: border-box;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 0.2s linear 0s;
    width: 100%;
    z-index: 100;
}


@media screen and (max-width:767px) {
.accordian li {
	width: 24.70%;
}	

/*Reduce with of un-hovered elements*/
.accordian ul:hover li {width: 5%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 83.70%;}
.accordian ul li .image_title {
	width:90%;	
}
.accordian ul li:hover .image_title {
	width:90%;	
}
}


@media screen and (min-width: 300px) and (max-width: 480px){
.accordian li {
	width: 24.40%;
}
/*Reduce with of un-hovered elements*/
.accordian ul:hover li {width: 4.80%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 83.60%;}
.accordian ul li .image_title {
	width:90%;	
}
.accordian ul li:hover .image_title {
	width:90%;	
}
}

/* Mobile Landscape View */
@media screen and (min-width: 480px) and (max-width: 767px){
.accordian li {
	width: 24.60%;
}
/*Reduce with of un-hovered elements*/
.accordian ul:hover li {width: 4.80%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 83.60%;}
.accordian ul li .image_title {
	width:90%;	
}
.accordian ul li:hover .image_title {
	width:90%;	
}
}

/* Mobile Landscape View */
@media screen and (min-width: 640px) and (max-width: 767px){
.accordian li {
	width: 24.60%;
}
/*Reduce with of un-hovered elements*/
.accordian ul:hover li {width: 5%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 83.60%;}

.accordian ul li .image_title {
	width:90%;	
}
.accordian ul li:hover .image_title {
	width:90%;	
}
}


/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 

.accordian li {
	width: 24.70%;
}
/*Reduce with of un-hovered elements*/
.accordian ul:hover li {width: 5%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 83.70%;}
}

/* Mobile Landscape View */
@media screen and (min-width: 768px) and (max-width: 980px){
.accordian li {
	width: 24.70%;
}

/*Reduce with of un-hovered elements*/
.accordian ul:hover li {width: 5%;}
/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {width: 83.70%;}

}

.accordian ul li:hover .image_title {
	width:40%;	
}	