.hoverImg {
	transition: visibility 0s .1s, opacity .2s linear, border .2s;
	opacity: 0.7;
	filter: alpha(opacity=40);
	max-height: 256px;
	align: middle;
	border-radius: 4px;
	border: 1px solid #ddd;
	vertical-align: middle;
	margin: 4px 0.55% 4px 0.55%;
	object-fit: cover;
	width: 15%;
	min-width: 300px;
}

.hoverImg:hover {
	transition: visibility 0s .2s, opacity .2s linear, border .4s;
	opacity: 5.0;
	border: 1px solid #000;
	filter: alpha(opacity=100);
}

.gallery {
    margin: 0px 5% 0px 5%;
    border: 4px dotted #779;
    text-align: center;
    min-width: 320px;
}

a p {
	margin: 0px;
}

p.subtext {
	font-size: 12;
}

.filelink
{
	margin:8px;
}

.filelink a {
  padding: 14px 16px;
  text-decoration: none;
  font-size: 24px;
  display: block;
  position: relative;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  -webkit-transition: all 300ms;
  transition: all 300ms;
  z-index: 1;
  color: white;
  overflow: hidden;
  border-style: groove;
  border-color: #777;
  display: inline-block;
  height: 46px;
  background-color: #046DAA;
}
.filelink a:hover {
  border-color: steelblue;
  color: black;
}
.filelink a:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  -webkit-transition: all 300ms;
  transition: all 300ms;
  background: white;
}

/* Fill Skew */
.filelink a::after {
  left: -20%;
  right: -20%;
  -moz-transform: skewX(45deg) scale(0, 1);
  -ms-transform: skewX(45deg) scale(0, 1);
  -webkit-transform: skewX(45deg) scale(0, 1);
  transform: skewX(45deg) scale(0, 1);
}

.filelink a:hover::after {
  -moz-transform: skewX(45deg) scale(1, 1);
  -ms-transform: skewX(45deg) scale(1, 1);
  -webkit-transform: skewX(45deg) scale(1, 1);
  transform: skewX(45deg) scale(1, 1);
}

.parentfilelink a {
	background-color: #777;
}
