.ig-item {
	position: relative;
	float: left;
	padding: 3px;
	background-color: #fff;
	margin-right: 10px;
	margin-bottom: 10px;
	overflow: hidden; 
	font-size: 0px;
}

.ig-item img {
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.4),0 1px 0 1px rgba(255,255,255,.1);  
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,.4),0 1px 0 1px rgba(255,255,255,.1);  
    box-shadow: 0 1px 0 rgba(255,255,255,.4),0 1px 0 1px rgba(255,255,255,.1);
}

.ig-title {
	position: absolute;
	top: 0;
	left: 0;
	padding: 10px;
	font-size: 12px;
	background-color: rgba(255,255,255,.8); 
	width: 100%;
	height: 100%;
	color: #111;
	text-align: left;
	opacity:0.0;
    filter:alpha(opacity=0);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.ig-item:hover .ig-title {
	opacity:1.0;
    filter:alpha(opacity=100);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.ig-video-icon {
	width: 30px;
	height: 30px;
	background-image: url(../images/play-etc.png);
	background-position: -35px -275px;
	position: absolute;
	top: 4px;
	right: 3px;
}

.ig-video-popup-icon {
	background-image: url(../images/play-etc.png);
	background-position: -20px -15px;
	position: absolute;
	height: 100px; 
	width: 100px;
	background-repeat: no-repeat;
	left: 50%;
	top: 50%;
	font-size: 60px;
	line-height: 40px;
	z-index:999;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.ig-video-popup-icon:hover {
	background-position: -140px -15px;
}

.ig-popup-title {
	padding: 20px;
	font-size: 2em;
	position: absolute;
	bottom: 20px;
	background-color: rgba(255,255,255,.8); 
	float: left;
	width: calc(100% - 40px);
}

.white-popup {
	position: relative;
	background: #FFF;
	padding: 20px;
	width: auto;
	max-width: 680px;
	margin: 20px auto;
	cursor: pointer;
}

.white-popup video {
  width: 100%    !important;
  height: auto   !important;
}

.img-responsive {
	width: 100%
}

.mfp-container .mfp-content {
	max-width: 100% !important;
}
