.overlay-class {
  	position: relative;
}

.overlay-class:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	right: 0;
	bottom: 0;
	display:block!important;
	z-index: 1;
}