
.image-grid {
	--gap: 16px;
	--num-cols: 4;
	--row-height: 300px;

	box-sizing: border-box;
	padding: var(--gap);

	display: grid;
	grid-template-columns: repeat(var(--num-cols), 1fr);
	grid-auto-rows: var(--row-height);
	gap: var(--gap);
}

.ie-grid-2cols {
	display:none;
	text-align:center;
	margin: auto;
	}
	
.ie-grid-3cols {
	display:table;
	text-align:center;
	margin: auto;
	}

.ie-grid-2cols div {
	width:50%;
	display: table-cell;
	vertical-align: top;
	max-width:420px;
	}
	
.ie-grid-3cols div {
	width:33.33%;
	display: table-cell;
	vertical-align: top;
	max-width:420px;
	}
	
.ie-gallery-thumbnail {
	width:100%;
	height:auto;
	max-width: 400px;
	padding: 8px;
	}

.image-grid > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.image-grid-col-2 {
	grid-column: span 2;
}

.image-grid-row-2 {
	grid-row: span 2;
}

@media screen and (max-width: 1024px) {
	.image-grid {
		--num-cols: 2;
		--row-height: 200px;
	}
}

.gallery-overlay {
	position: absolute;
	display: none;
	width: 100%;
	height:100%;
	padding-top: 23px;
	padding-bottom: 20px;
	background-color: rgba(22, 28, 33, 0.7);
	z-index: 50;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
}


.fixed_container {
	position: fixed;
	width:100%;
	top: 100px;
	text-align: center;
	display: none;
	z-index:51;
}


.image-container {
	position: relative;
	display: inline-block;
	max-width: 80%;
	height:auto;
	padding: 0;
	background-color: rgba(225, 28, 33, 0.1);
	z-index: 50;
	margin:auto;
	text-align:center;
}

.sl-close {
	display: block;
	position: absolute;
	right: 22px;
	top: 22px;
	z-index: 10060;
	margin-top: -14px;
	margin-right: -14px;
	height: 38px;
	width: 38px;
	line-height: 38px;
	font-family: Arial, Baskerville, monospace;
	color: #FFFFFF;
	font-size: 3rem;
	border: 0 none;
	background: rgba(0,0,0,.35);
	padding: 0;
	cursor: pointer;
	border-radius: 5px;
}

.sl-close:hover {
	color: #eeeeee;
	background: rgba(255,255,255,.35);

}

#Enhanced_Image {
    max-width: 100%;
	width: auto;
    max-height: 77vh;
	display:block;
	position: relative;
    margin: auto;
}

#Image_Description {
	display: block;
	position: absolute;
	left: 0px;
	bottom: 0px;
	z-index: 10061;
	margin-bottom: 0px;
	margin-left: 0px;
	height: 28px;
	/* width: 80px; */
	line-height: 30px;
	font-family: Arial, Baskerville, monospace;
	color: #FFFFFF;
	font-size: 1rem;
	border: 0 none;
	background: rgba(0,0,0,.35);
	cursor: pointer;
	border-radius: 0px 5px 0px 0px;
	padding: 0px 14px 0px 14px;
}

#IE11_CONTENT {
	padding-top:38px;
	display: none;
}

#IE_GRID_COL1OF2 {
	text-align:right;
}
#IE_GRID_COL2OF2 {
	text-align:left;
}
#IE_GRID_COL1OF3 {
	text-align:right;
}
#IE_GRID_COL2OF3 {
	text-align:center;
}
#IE_GRID_COL3OF3 {
	text-align:left;
}


@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.main_container {
		display: none;
	}
	
	#IE11_CONTENT {
		display: block;
	}
}

@media screen and (max-width:930px){

	.ie-grid-3cols {
		display:none;
	}
	
	.ie-grid-2cols {
		display:table;
	}
}


