/* .gallery is used in image gallery pages, .imageframe in image pages */

.gallery, .imageframe {
	float: left;
	vertical-align:top;
	border: 0;
	margin: 0 auto;
	text-align: center;
	clear: both;
}

.gallery {
	display: table;
}

.gallery {
	padding: 2px 0;
	margin-top: 3px;
	max-width: 100%; /*IE still neeeds layout */
}
@media (max-width:750px) {
	.gallery {
		padding: 1px 0;
	}
}
@media (min-width:750px) {
	.imageframe {
		padding: 5px;
	}
}
.gallery p, .imageframe p {
	font-size: small;
}

p.gallerysub {
	text-align:left;
	font-size:16px;
	padding: 8px 0 3px;
}

div.galleryrow {
	display: flex;
    flex-flow: row wrap;
	justify-content: center;
	margin-left:auto;
	margin-right:auto;
    padding-left: 8px;
    padding-right: 8px;
}

div.imagegroup {
	display: inline;
	justify-content: center;
	flex-basis: auto;
    
}

div.imageblock {
	display: inline; 
}

div.image {
	display:inline;
}

div.gallery.left div.galleryrow{
	justify-content: flex-start;
	-webkit-justify-content: flex-start;
	margin-left: 4px;
}

div.galleryrow h2{
	margin: -5px 0 4px 0;
	text-align:center;
	clear: both;
}
div.galleryrow h3{
	margin: 4px 0 2px 0;
	text-align:left;
	clear: both;
}
div.galleryrow h3, div.headerrow h3 {
	font-size: medium;
}

div.galleryrow img {
	vertical-align:top;
}

div.image, div.image2 {
	display: inline;
	float: left;
}

div.imagegroup div.image.clear {
	display: inline;
	clear:both;
}

div.image img, div.image2 img {
	float: none;
}

div.gallery.left div.imagegroup {
	text-align: left;
	}

@media (max-width:360px) {
	/* Force to one-column */

	div.gallery.left div.imagegroup {
	text-align: center;
	}
	div.imagegroup div.imagelg img, div.imagegroup div.imagemd img  { 
		max-width: 100%;
		height: auto !important;
	}
}
div.image2 img, div.image2 a:hover img {
	border: 0;
}
div.image p, div.image2 p, div.imagegroup p {
	clear: both;
	text-align:center;
}
div.image2 {
	border: 2px solid #3077c2;
	display: block;
}
div.imagegroup p {
   text-align: center;
	margin: 0 auto;
}

@media (pointer:none) {
  .solcontent a:hover img {
	border: none;
	}
}

div.galleryrow div.image200 p  {
	max-width: 196px;
}

@media (max-width:833px) {

	div.galleryrow div.image200 img  {
		max-width: 180px;
		height: auto !important;	
	  }

	div.galleryrow div.image200 p  {
		max-width: 175px;
	}
}

@media (max-width: 756px) {

	div.galleryrow div.image200 img  {
		max-width: 150px;
		height: auto !important;	
	  }

	div.galleryrow div.image200 p  {
		max-width: 146px;
	}
}

@media (max-width:640px) {

	div.galleryrow div.image200 p  {
		padding: 1px 1px 4px 1px;
	}

	.solcontent a img {
		border: none;
	}
	.solcontent a:hover img {
		border: none;
	}
}

@media (max-width:634px) {
	div.galleryrow.imgx4, div.galleryrow.imgx4   {
		max-width: 400px;
	}


	div.galleryrow div.image200 img  {
		max-width: 180px;
		height: auto !important;	
	  }

	div.galleryrow div.image200 p  {
		max-width: 146px;
	}

}

@media (max-width:350px) {

	div.galleryrow div.image200 img  {

			max-width: 150px;
		height: auto !important;	
	}
	div.galleryrow div.image200 p  {
		max-width: 146px;
	} 
}

@media (max-width:812px) {
	div.imagelg img, div.imagemd img {
	  max-width: 100%;
	  height: auto !important;	
	}
}

div.right {
	text-align: right;
}
div.newsection {
	padding-top: 8px;
}
.solminihd {
	margin: 4px 0;
}
div.solminihdlable {
	float: left;
	width: 72px;	
	margin: 0;
	padding: 0;
}
	
div.solminihddescs, div.solminihddescl {
	float: left;
	margin: 0;
	padding: 0 0 0 2px;
}
	
div.solminihddescs {
	width: 300px;	
}
@media (max-width:766px) {	
	div.solminihd {
		width: 400px;	
	}
}
	
.solminihdlable p,
.solminihddescl p,
.solminihddescs p	{
	margin: 0;
	padding: 0;
	vertical-align: bottom;
	}
	
.solminihdlable p {
	font-size: small;	 
	font-weight: bold;
	text-align: right; 
	}

.solminihddescl p, .solminihddescs p	{
	font-size: small;	 
	text-align: left;
	}
		
.solcontent p.solhead {
	font-size:medium;
	font-weight:bold;
	margin: 0.75em 0 0 0;
	}

@media (max-width:600px) {
	div.solminihdlable {
		clear: both;
	}
}

div.solsech {
	font-size: small;
	text-align: center;
	margin: 4px 8px 0 8px;
}

div.solsech h3 {
	font-size: medium;
}

div.solsech p, div.solsecf p {
	font-weight: normal;
	padding-left: 0px;
	margin: 2px auto;
}

div.solsecw800 p {max-width: 800px;}
div.solsecw750 p {max-width: 750px;}
div.solsecw640 p {max-width: 640px;}
div.solsecw600 p {max-width: 600px;}
div.solsecw512 p {max-width: 512px;}
div.solsecw500 p {max-width: 500px;}
div.solsecw400 p {max-width: 400px;}
div.solsecw320 p {max-width: 320px;}
div.solsecw300 p {max-width: 300px;}
div.solsecw250 p {max-width: 250px;}
div.solsecw200 p {max-width: 200px;}

p.caption {
	font-weight:normal;
}

div.headerrow {
	padding: 0 2px;
	clear: both;
	text-align: left;
}


div.headerrow h2{
	text-align:left;
	font-size:x-large;
	margin-top: 4px;
}

div.headerrow h3{
	margin: 0;
	font-size:medium;
	text-align:left;
	clear: both;
	padding:8px 0 1px 2px;
}

div.headerrow h2 + h3{
	padding-top: 0;

}

div.headerrow p{
	max-width: 800px;
	margin-left: 6px;

}

@media (max-width: 750px) {
	div.headerrow h2{
		font-size:large;
	}
	
	div.galleryrow h3, div.headerrow h3{
		font-size: small;
		padding-top:2px;
	}
	div.headerrow p{
		font-size: small;
	}
	
}

@media (max-width: 720px) {
	div.solminihdlable {
		clear:both;
	}
}

div.imageframe.solresize img {
	max-width: 100%;
	height: auto !important;
}
