.reol-gallery-wrapper{
	position: fixed;
	z-index: 100;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: url(../img/overlay.png);
}
.reol-gallery-wrapper.loading .reol-gallery{
	background: center center url(../img/load.gif) no-repeat;
}
.reol-gallery-wrapper.loading .reol-gallery-controls{
	display:none;
}
.reol-gallery{
	position: absolute;
	top: 80px;
	left: 30px;
	right: 30px;
	bottom: 140px;
	min-width: 320px;
}
.reol-gallery img{
	box-shadow: 0 0 5px rgba(0,0,0,.7);
}
.reol-gallery-thumbs{
        visibility: hidden; /*SIXSQFT-152 hide as per design changes */
	position: absolute;
	bottom: 0;
	left: 0px;
	right: 0px;
	background: #222;
	box-shadow: inset 0 1px 3px rgba(0,0,0,.5);
}
.reol-gallery-thumbs ul{
	list-style-type: none;
	text-align: center;
	width: 100%;
	padding: 20px 0;
}

.reol-gallery-thumbs li{
	display: inline-block;
	padding: 2px;
	margin: 0 10px 0 0;
	zoom: 1;
    *display: inline;
	
}
.reol-gallery-thumbs li:hover{
	background: #ccc;
	cursor: pointer;
}
.reol-gallery-thumbs li.active{
	background: #fff;
	box-shadow: 0 0 5px rgba(0,0,0,.2);
}
.reol-gallery-thumbs li img{
	display: block;
	height: 80px;
	box-shadow: 0 0 5px rgba(0,0,0,.2);
}
.reol-gallery-dismiss{
	position: absolute;;
	display: block;
	z-index: 10;
	top: 10px;
	right: -24px;
	color: #ccc !important;
	font-size: 20px;
	vertical-align: middle;
	line-height: 20px;
	font-weight: bold;
        background-image: url('/wp-content/themes/realnews/img/l/close-button.png');
        background-repeat: no-repeat;
        height: 49px;
        width: 49px;
}
.reol-gallery-dismiss:hover{
	color: #fff !important;
}
.reol-gallery-dismiss span{
	font-weight: bold;
	font-size: 40px;
	line-height: 20px;
	display: inline-block;
}
.reol-gallery-img{
	position: absolute;
	z-index: 1;
}
.reol-gallery-img img{
	max-width: none;
	display: block;
	width: 100%;
	position: relative;
	z-index: 1;
}
.reol-gallery-controls a{
	position: absolute;
	z-index: 2;
	display: block;
	top: 0;
	bottom: 0;
	width: 20%;
	min-width: 57px;
	text-indent: -1000px;
	overflow: hidden;
	transition: opacity .25s ease-in-out;
   	-moz-transition: opacity .25s ease-in-out;
   	-webkit-transition: opacity .25s ease-in-out;
}
.reol-gallery-controls .reol-gallery-previous{
	left: -70px;
	background: left center url('/wp-content/themes/realnews/img/l/chevron-left.png') no-repeat;
	opacity:0.2;
	filter:alpha(opacity=20); /* For IE8 and earlier */
}

.reol-gallery-controls .reol-gallery-next{
	width: 40%;
	left: auto;
	right: -70px;
	background: right center url('/wp-content/themes/realnews/img/l/chevron-right.png') no-repeat;
	opacity:0.2;
	filter:alpha(opacity=20); 
}
.reol-gallery-img:hover .reol-gallery-previous,
.reol-gallery-img:hover .reol-gallery-next{
	opacity:0.5;
	filter:alpha(opacity=50);
}
.reol-gallery-img .reol-gallery-previous:hover,
.reol-gallery-img .reol-gallery-next:hover{
	opacity:0.9;
	filter:alpha(opacity=90);
}

.reol-gallery-pagination {
  text-align: center;
  padding-bottom: 10px;
}

.reol-gallery-pagination .reol-gallery-pagination-count {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

@media (max-width: 600px) {
  .reol-gallery-thumbs li img{
	height: 40px;
  }
  .reol-gallery-thumbs li{
  	padding: 1px;
  	margin-right: 5px;
  }
  .reol-gallery-controls .reol-gallery-previous{
 	background-image: url(../img/previous_small.png);
  }
  .reol-gallery-controls .reol-gallery-next{
  	background-image: url(../img/next_small.png);
  }

}
.reol-gallery-thumbs li.active img{
	box-shadow: none;
}
.reol-gallery-caption{
 	padding: 10px 0;
 	text-align: center;
 	color: #f5f5f5;
 	text-shadow: 0 1px 1px rgba(0,0,0,.5);
}