/* ------------------     sample image gallery      ------------------ */


#visual_overview {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
  -webkit-flex-flow: row wrap;
}

#visual_overview li {
	height: 100px;
	max-height: 100px;
	text-align: center;
	margin: 0;
	width: 150px;
	padding: 5px 2px;
}

#visual_overview h2 {
	width: 150px;
	margin: 0;
	padding: 0;
	height: auto;
	font-size: 80%;
	font-weight: bold;
	color: white;
	background: #135;
	text-align: left;
	vertical-align: top;
}

#visual_overview p {
	width: 150px;
	margin: 0;
	background: #fff;
	text-align: justify;
	vertical-align: top;
	color: #999;
	font-size: 80%;
	font-weight: normal;
  }

#visual_overview a {
	color: #777;
	text-decoration: none;
}

#visual_overview a:hover {
	color: #135;
	text-decoration: none;
}

#visual_overview h2 a {
	color: white;
	text-decoration: none;
}

#visual_overview h2 a:hover {
	color: #777;
	text-decoration: none;
}

#visual_overview img {
	max-height: 100px;
	border-width: 0px;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
	filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
}

#visual_overview img:hover {
	filter:alpha(opacity=100);
	-moz-opacity:1;
	-khtml-opacity: 1;
	opacity: 1;
}

/* for small devices, alter the declarations */

@media only screen and (max-width: 319px) {
#visual_overview {
	justify-content: space-around;
}
#visual_overview h2 {
	width: 100%;
}
#visual_overview p {
	width: 100%;
}
#visual_overview li {
	width: 100%;
	padding-top: 0;
	margin: 0 5px;
}
#visual_overview img {
	width: max-width;
	height: auto;
}
}

/* alter declarations for alignment of images depending on screen size */

@media only screen and (min-width: 320px) and (max-width: 919px) {
#visual_overview {
	justify-content: space-around;
}
}
@media only screen and (min-width: 920px) {
#visual_overview {
	justify-content: space-between;
}
}

