div.gallery {
}
div.gallery .stat {
	clear: both;
	font-size: 12px;
	text-align: center;
	color: #666;
	margin: 0px;
	padding: 2px;
}
div.gallery .title {
	font-size: 1.5em;
	padding: 1em;
	clear: both;
}
div.gallery .back {
	clear: both;
	text-align: right;
	margin: 0px;
	padding: 4px;
	font-size: 20px;
	font-weight: bold;
}
div.gallery .back a,
div.gallery .back a:visited {
	text-decoration: none;
	color: #060;
}
div.gallery .back a:hover {
	text-decoration: underline;
	color: #3C0;
}
div.gallery .pages {
	clear: both;
	text-align: center;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #666;
	margin-top: 10px;
	padding-top: 10px;
	color: #666;
}
div.gallery .pager {
	clear: both;
	float: right;
}
div.gallery * {
	box-sizing: border-box;
}
div.gallery ul {
	margin: 0;
	padding: 0;

}
div.gallery ul li {
	float: left;
	margin: 0px;

	overflow: hidden;
	width: 20%;
}
div.gallery ul li > a {
	height: 0;
	padding-bottom: 40%;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	
	margin: 5px;
	overflow: hidden;
	display: block;

	border: 1px solid #000

}

div.gallery img {
	display: block;
	width: 100%;
}
div.gallerylist {
}
/* widget */
div.gallerylist_witget ul  {

}
div.gallerylist_witget ul  li {

}

div.gallerylist_witget ul li {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #093;
	clear: both;
	padding: 2px;
	height: 80px;
	margin-top: 12px;
	margin-right: 2px;
	margin-bottom: 20px;
	margin-left: 2px;
	overflow: hidden;
}
div.gallerylist_witget ul li h3 {
	font-size: 14px;
	text-decoration: none;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
div.gallerylist_witget ul li .tn_sizer {
	overflow: hidden;
	height: auto;
	width: 200px;
	float: left;
	padding: 0px;
	border: 4px solid #090;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 0px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}
/* list */

div.gallerylist ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

div.gallerylist ul li {

	flex-basis: auto;
	flex-grow: 0;

	text-align: center;

	padding: 1em;
	margin: 1px;

	width: calc(20% - 2em - 4px);
}

div.gallerylist ul li .tn_sizer {
	overflow: hidden;
	height: auto;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	height: 0;
	padding-bottom: 60%;
}
div.gallerylist ul li .tn_sizer img {

	height: auto;
	width: 100%;
}

div.gallerylist ul li .title {
	overflow: hidden;
	height: 2.5em;
	margin: 0px;
	padding: 0px;
	clear: none;
}
div.gallerylist ul li .title h2 {
	margin: 0px;
	padding: 0px;
	font-size: 20px;
}
div.gallerylist ul li .details {
	padding: 1em;
}
div.gallerylist ul li a,
div.gallerylist ul li a:link,
div.gallerylist ul li a:visited {
	color: #060;
	text-decoration: none;
	margin: 0px;
	padding: 0px;
}
div.gallerylist ul li a:hover {
	color: #0C0;
	text-decoration: underline;
}
div.gallerylist ul li img {
	float: left;
}
div.gallerylist:hover {

}