.accordian {
    width: 100%;
    height: 500px;
    overflow: hidden;
    /*Time for some styling*/
    margin: 0px 0px;
    border-radius: 30px;
    border: solid 2px #fff;
 
}

/*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%;
    float: left;
    /*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*/
    margin-left: -34px;
}

/*Reduce with of un-hovered elements*/
.accordian ul:hover li {
    width: 90px;
}

.accordian ul:hover li:last-child {
    width: 95px;
}

/*Lets apply hover effects now*/
/*The LI hover style should override the UL hover style*/
.accordian ul li:hover {
    width: 90%;
}


.accordian li img {
    display: block;
}

/*Image title styles*/
.image_title {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 640px;

}

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


@media (min-width: 1280px) and (max-width: 1440px) {

.accordian li {
    position: relative;
    display: block;
    width: 20%;
    float: left;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    margin-left: -40px;
}
.accordian {
    width: 100%;
    height: 405px;
    overflow: hidden;
    margin: 0px 0px;
    border-radius: 30px;
    border: solid 2px #fff;
}

.accordian li img {
    display: block;
    width: 1100px;
}

}