.GALLERY {
	background-color: rgba(255,255,255,0.5);
	padding: 10px;
}
.GALLERY-icon img {
	position: absolute;
	z-index: 1000;
	right: 0px;
	bottom: 0px;
	height: 71px;
	width: 71px;
}
.BLANKTHUMB  {
	position: relative;
	background-color: rgba(255,255,255,0.4);
}
.BLANKTHUMB img {
	display: block;
	height: 100%;
	width: 100%;
}
.grid-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, auto));/* CONTROLS HOW MANY IMAGES ACROSS THE MEASURE*/
	grid-auto-rows: minmax(0px, 87px);/* This maintains the height and crops portrait images to fit */
	grid-gap: 3px;
	position: relative;
	padding-bottom: 81px;
	min-height: 505px;
}
.grid-wrapper .grid-item {
	transition: 0.8s;
	position: relative;
}
.grid-wrapper .grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;	
	display: block; /* MUST BE BLOCK - to remove extra space below image  */
}
.grid-wrapper .grid-item:hover {
  box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.7);
  transition: 0.8s;
}
.magnifying-glass {
	position: absolute;
	z-index: 100;
	right: 4px;
	bottom: 4px;
	opacity: 0.3;
	height: 20px;
	width: 20px;
}
.magnifying-glass:hover      {
	opacity: 1.0;
}
a{ /* THIS MAKES THE ANIMATED 'PREVIOUS' AND NEXT BUTTONS  */
	-webkit-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}
#gallery-Overlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}
#gallery-Center, #gallery-BottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}
.gallery-Loading {
	background: #fff url(assets/loading.gif) no-repeat center;
}
#gallery-Image {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}
#gallery-Slide {
	display: block;
	position: absolute;
	width: 100%;
}
#gallery-PrevLink, #gallery-NextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
	font-size: 100000px;  /* Workaround needed for IE */
	overflow: hidden;     /* Workaround needed for IE */
	color: #666;
	line-height: 9999px; /* THIS WAS ADDED LATER DUE TO ERRORS */
}
#gallery-PrevLink {
	left: 0;
}
#gallery-PrevLink:hover {
	background: transparent url(assets/prevlabel.png) no-repeat 0 15%;
}
#gallery-NextLink {
	width: 100%;
	right: 0;
}
#gallery-NextLink:hover {
	background: transparent url(assets/nextlabel.png) no-repeat 100% 15%;
}
#gallery-Bottom {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #F00;
	line-height: 14px;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
	margin-bottom: 2px;
}
#gallery-CloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url(assets/closelabel.png) no-repeat center;
	outline: none;
	margin-top: 0px;
	margin-right: -2px;
	margin-bottom: 7px;
	margin-left: 0;
}
#gallery-Caption, #gallery-Number {
	margin-right: 71px;
}
#gallery-Caption {
	color: #a58b49;
	font-size: 14px;
	line-height: 18px;
	margin-top: -3px;
	margin-bottom: 3px;
}
******************* RESPONSIVE CSS {
}
@media (max-width:700px) {
.GALLERY {
	width: 100%;
	background-image: none;
	margin-top: 10px;
	margin-left: 0px;
	padding: 0px;
	background: none;
	float: left;
}
.GALLERY-icon img   {
	right: 10px;
	bottom: 10px;
}
.BLANKTHUMB {
	display: none;
}
.grid-wrapper {
	display: block;
	padding-bottom: 87px;
	min-height: 0px;
	background-color: rgba(255,255,255,0.6);
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
}
.grid-wrapper  .grid-item{
	margin-bottom: 4px;
}
.grid-wrapper .grid-item:hover {
	box-shadow: none;
}
.magnifying-glass {
	display: none;
}
