#hexGrid {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	list-style-type: none;
	padding-left: 0;
}

.hex {
	position: relative;
	visibility: hidden;
	/* fix for jagged edges in FF on hover transition */
	transition: all 0.5s;
	backface-visibility: hidden;
	will-change: transform;
	transition: all 0.5s;
}
.hex::after{
	content:'';
	display:block;
	padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
	position: absolute;
	width: 96%;
	padding-bottom: 110.851%; /* =  width / sin(60) */
	margin: 2%;
	overflow: hidden;
	visibility: hidden;
	outline: 1px solid transparent; /* fix for jagged edges in FF on hover transition */
	-webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
	-ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
	transform: rotate3d(0,0,1,-60deg) skewY(30deg);
	transition: all 0.5s;
}
.hexIn * {
	position: absolute;
	visibility: visible;
	outline: 1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
	display:block;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #fff;
	overflow: hidden;
	-webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
	-ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
	transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}

.hex img {
	left: -100%;
	right: -100%;
	width: auto;
	height: 100%;
	margin: 0 auto;
}

.hex h1 {
	width: 100%;
	padding: 0 5%;
	font-family: rubik;
	font-weight: 400;
	font-size: 16px !important;
	opacity: 1;
	color: #fff;
	font-weight: 700;
}
.hex p {
	width: 100%;
	padding: 0 5%;
	font-family: verdana;
	font-weight: 400;
	font-size: 12px !important;
	opacity: 1;
	color: #fff;
}

.demo1 {
	color: #fff !important;
	text-transform: capitalize;
	text-align: center;
	bottom: 55%;
	/*padding-top:40%;*/
	font-size: 1.5em !important;
	z-index: 1;
}

.demo2 {
	color: #fff !important;
	top: 50%;
	text-align: center;
}

.demo3 {
	color: #fff !important;
	font-size: 12px !important;
	top: 119px;
	left: 50%;
	width: 100%;
	transform: translateX(-50%);
}

.img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-position: center center;
	background-size: cover;
	overflow: hidden;
	-webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.img:before, .img:after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: '';
	transition: opacity 0.5s;
}
.img:before {
	background: #1E83B7;
}
.img:hover:before {
	background: #107ab1;
}

.hex.in-honor-of .img:before {
	background: #B6F6F7;
}
.hex.in-honor-of .img:hover:before {
	background: #50dcde;
}

li.hex.in-honor-of h1, li.hex.in-honor-of h4, li.hex.in-honor-of p {
	color: #025eaa !important;
}
p.no-mem-hon {
	color: #fff;
	text-align: center;
	width: 100%;
}

p.demo2 {
	top: 44%  !important;
}
span.demo32 {
	width: 100%;
	text-align: center;
	position: relative;
	display: inline-block;
}

.donation_type-in-honor-of {
	background: #B6F6F7;
}
.donation_type-in-memorial-of {
	background: #1E83B7;
}

.donation_type-in-honor-of * {
    color: #03315a !important;
}


@media (min-width:1201px) { /* <- 5-4  hexagons per row */
	#hexGrid{
		padding-bottom: 6%
	}
	.hex {
		width: 20%; /* = 100 / 5 */
	}
	.hex:nth-child(9n+6){ /* first hexagon of even rows */
		margin-left:10%;  /* = width of .hex / 2  to indent even rows */
	}
	h1.demo1 {
		margin-bottom: 5px;
	}
	p.demo2 {
		padding: 15px 5% 0 !important;
	}
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
	#hexGrid{
		padding-bottom: 6%;
		font-size: 13px;
	}
	.hex {
		width: 25%; /* = 100 / 4 */
	}
	.hex:nth-child(7n+5){ /* first hexagon of even rows */
		margin-left:12.5%;  /* = width of .hex / 2  to indent even rows */
	}
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
	#hexGrid{
		padding-bottom: 8%;
		font-size: 14px;
	}
	.hex {
		width: 33.333%; /* = 100 / 3 */
	}
	.hex:nth-child(5n+4){ /* first hexagon of even rows */
		margin-left:17%;  /* = width of .hex / 2  to indent even rows */
	}
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
	#hexGrid{
		padding-bottom: 14%;
		font-size: 12px;
	}
	.hex {
		width: 50%; /* = 100 / 3 */
	}
	.hex:nth-child(3n+3){ /* first hexagon of even rows */
		margin-left:25%;  /* = width of .hex / 2  to indent even rows */
	}
	h1.demo1 {
		margin: 0 1% !important;
		bottom: 65%  !important;
	}

	p.demo2 {
		top: 44%  !important;
	}
	span.demo32 {
		width: 100%;
		text-align: center;
		position: relative;
		display: inline-block;
	}
}

@media (max-width: 400px) {
	#hexGrid {
		font-size: 8px;
	}
}