
.ce-referenceimages {
    overflow: hidden;
    margin: 0 auto 50px;
    position: relative;
    max-width: 1240px;
    padding: 0 180px;
}
.ce-referenceimages ul{
	list-style: none;
}
.ce-referenceimages ul li{
	float: left;
	width: 15.5%;
    margin-left: 1.4%; 
        font-style: italic;
    font-size: 16px;
    
    background-image: url(../../img/ce-referenceimages/muster.png);
    background-repeat: repeat;
    background-color: #FFF;
    
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
.ce-referenceimages ul li:first-child{
	margin-left:0; 
}
.ce-referenceimages ul li img{
	display: block;
    width: 100%;
    float: left;
    opacity: 0.3;
    webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: auto;
}
.ce-referenceimages ul li:hover img{
	opacity: 1;
}
.ce-referenceimages ul li.showmore {
    background-color: #d7d7d7;
    background-image: url(../../img/ce-referenceimages/arrow.png);
    background-repeat: no-repeat;
    background-position: center center;
    padding-top: 12.5%;
    padding-bottom: 3%;
    height: 0;
    text-align: center;
    position: relative;
}
.ce-referenceimages ul li.showmore a{
	display: block;
	padding-top: 62.5%;
	bottom:0;
	left:0;
	right: 0;
	top:0;
	position: absolute;
}
@media screen and (max-width: 1380px) {
    .ce-referenceimages {
        max-width: 90%;
        padding: 0;
    }
}
@media screen and (max-width: 840px) {
    .ce-referenceimages ul li {
        width: 31%;
        margin: 0 1.16666% 2.33333% !important;
    }
    .ce-referenceimages ul li.showmore {
        padding-top: 25%;
        padding-bottom: 6%;
    }
}
@media screen and (max-width: 440px) {
   .ce-referenceimages ul li {
        margin: 0 0.7% 1.4% !important;
        width: 48.6%;
        float: left;
    }
    .ce-referenceimages ul li.showmore {
        padding-top: 38.6%;
        padding-bottom: 10%;
    }
}
@media screen and (max-width: 359px) {
    .ce-referenceimages {
        max-width: 100%;
    }
}