

.effects .img {
    overflow: hidden;
    position: relative;
}

.effects .img img {
    display: block;
    height: auto;
    margin: 0;
/*    max-width: 100%;
*/    padding: 0;
	
}
.overlay {
    background: rgba(0, 153, 204, 0.8) none repeat scroll 0 0;
    display: block;
    overflow: hidden;
    position: absolute;
    transition: all 0.5s ease 0s;
    z-index: 20;
}

.expand {
    color: #fff;
    display: block;
    font-size:16px;
    font-weight: 500;
    height:45px;
    line-height: 24px;
    position: absolute;
    width:65px;
    z-index: 100;
	text-transform:uppercase;
	font-family: 'Dosis', sans-serif;
	margin:auto;
	left:0;
	top:0;
	bottom:0;
	right:0;
	padding:0px;
	border:0px;
}
.expand span {
    color: #fff;
    font-size:14px;
    font-weight: 400;
    height: auto;
    line-height: 24px;
    text-align: center;
    width: 100%;
    z-index: 100;
	text-transform:uppercase;
	font-family: 'Dosis', sans-serif;
	
}
#effect-1 .overlay {
    bottom: 0;
    height: 0;
    left: 0;
    right: 0;
    width: 100%;
}
#effect-1 .overlay a.expand {
    bottom: 50%;
    left: 0;
    margin: 0 auto -30px;
    right: 0;
}
#effect-1 .img.hover .overlay {
    height: 100%;
}
#effect-2 .overlay {
    height: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
}
#effect-2 .overlay a.expand {
    left: 0;
    margin: -30px auto 0;
    right: 0;
    top: 50%;
}
#effect-2 .img.hover .overlay {
    height: 100%;
}
#effect-3 .overlay {
    bottom: 0;
    height: 100%;
    left: 0;
    top: 0;
    width: 0;
}
#effect-3 .overlay a.expand {
    bottom: 0;
    left: 50%;
    margin: auto 0 auto -30px;
    top: 0;
}
#effect-3 .img.hover .overlay {
    width: 100%;
}
#effect-4 .overlay {
    bottom: 0;
    height: 100%;
    right: 0;
    top: 0;
    width: 0;
}
#effect-4 .overlay a.expand {
    bottom: 0;
    margin: auto -30px auto 0;
    right: 50%;
    top: 0;
}
#effect-4 .img {
    overflow: hidden;
}
#effect-4 .img.hover .overlay {
    width: 100%;
}
#effect-5 .overlay {
    bottom: 0;
    left: 0;
    opacity: 0;
    right: 0;
    top: 0;
}
#effect-5 .overlay a.expand {
    border-radius: 0;
    bottom: 0;
    height: 100%;
    left: 0;
    margin: auto;
    right: 0;
    top: 0;
    transition: all 0.5s ease 0s;
    width: 100%;
}
#effect-5 .img.hover .overlay {
    opacity: 1;
}
#effect-5 .img.hover .overlay a.expand {
    border-radius: 30px;
    height: 60px;
    width: 60px;
	display:flex;
	justify-content:center;
	align-items:center;
}
#effect-6 .overlay {
    bottom: 0;
    left: 0;
    opacity: 0;
    right: 0;
    top: 0;
}
#effect-6 .overlay .expand {
    left: 0;
    margin: 0 auto;
    opacity: 0;
    right: 0;
    top: 0;
    transition: all 0.5s ease 0s;
}
#effect-6 .img.hover .overlay {
    opacity: 1;
}
#effect-6 .img.hover .overlay .expand {
    margin-top: -30px;
    opacity: 1;
    top: 50%;
}
@media only screen and (max-width: 1100px) {
.effects {
    padding-left: 5px;
}
.effects .img {
    width: 100%;
}
.effects .img:nth-child(n) {
    margin-right: 5px;
}
.effects .img:first-child {
    margin-left: 0;
}
.effects .img:nth-child(2n-1) {
   /* margin-left: -5px;*/
}
.effects .img:nth-child(2n) {
    margin-right: 0;
}
.effects .img:last-child {
    margin-right: 0;
}
}
@media only screen and (max-width: 520px) {
.effects .img {
    width: 100%;
}
.effects .img:nth-child(n) {
    margin-right: 0;
}
.effects .img:first-child {
    margin-left: 0;
}
.effects .img:nth-child(2n-1) {
    margin-left: 0;
}
.effects .img:nth-child(2n) {
    margin-right: 0;
}
.effects .img:last-child {
    margin-right: 0;
}
.effects .img img {
    margin: 0 auto;
}
}
