﻿.fg {
	position: relative;
	overflow: hidden;
	width: 95%;
	margin: 0 auto;
	padding: 0;
}

.fg a:link, .fg a:active, .fg a:visited {
	outline: 0;
	text-decoration: none;
	color: #000000;
}
.fg a:hover {
	color: #ed4800;
}

.fg img {
	border: 0;
}
.fg .clear {
	clear: both;
}

.fg .p10-lr {
	padding: 0 10px;
	font-family: 'Lemon', serif;
	color: #000000;
}
.fg .title {
	font-weight: 700;
	font-family: 'lobster';
}

.fg .thumb-wrapper {
	position: relative;
	overflow: hidden;
	float: left;
	width: 150px;
	height: 112px;
	margin: 8px;
	background-image: url(../images/back.png);
	/*background-color: rgba(128,104,80,0.8);*/
	border-radius: 2px;
	
	z-index: 198;
}

.fg .thumb-wrapper:hover {
	
}

.fg .thumb-wrapper .caption {
	position: absolute;
	display: block;
	width: 94%;
	padding: 0 3%;
	left: 0;
	bottom: 0;
	height: 2em;
	line-height: 1.7em;
	font-family: 'poppins';
	font-size: 0.8em;
	color: #000000;
	
	background-color: rgba(256,256,256,1);
	z-index: 199;
}

.fg .thumb-wrapper .caption a {
	color: #000000;
}
.fg .thumb-wrapper .caption a:hover {
	color: #FFFFFF;
}

div.tooltip-container {
	position: relative;
	cursor: pointer;
	background: url(info.png) right 0 no-repeat;
}

div.tooltip-container .tooltip {
	display: block;
	position: absolute;
	width: 96%;
	padding: 2%;
	left: 0;
	top: -90px;
	color: #000;
	background: #fff;
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-0-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
	line-height: 1.2em;
}

div.tooltip-container .tooltip:before, div.tooltip-container .tooltip:after {
	content: '';
	position: absolute;
	top: -90px;
	left: 0;
	width: 0;
	height: 0;
}

div.tooltip-container .tooltip:after {
	top: -95px;
}

div.tooltip-container:hover .tooltip {
	opacity: 0.85;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.fg .thumb {
	width: 100%;
	height: 112px;
	overflow: hidden;
	display: table-cell;
	vertical-align: top;
	text-align: center;
}
.fg .thumb img {
	width: auto !important;
	width: 100%;
	height: auto !important;
	position: relative;
	display: block;
	margin: auto;
}
.fg .refresh {
	cursor: pointer;
}

.fg .description-wrapper {
	padding-left: 8px;
	font-size: 13px;
	line-height: 1.4em;
	font-family: 'poppins';
}

/***** pagination style *****/
.fg a.paginate, .fg a.current-paginate, .fg a.paginate:hover, .fg a.prev, .fg a.next, .fg a.prev:hover, .fg a.next:hover {
	display: inline-block;
	width: 12px;
	height: 12px;
	padding: 0;
	margin: 2px 2px 0 2px;
	text-decoration: none;
	outline: none;
	background-image: url(nav.png);
	background-repeat: no-repeat;
	background-position: 0 0;
}

.fg a.paginate, .fg a.current-paginate, .fg a.paginate:hover {
	width: 8px;
	height: 8px;
	margin: 2px 3px;
}

.fg a.current-paginate, .fg a.paginate:hover {
	background-position: 0 -8px;
}

.fg a.next {
	background-position: 0 -16px;
}
.fg a.prev {
	background-position: 0 -28px;
}
.fg a.next:hover {
	background-position: 0 -40px;
}
.fg a.prev:hover {
	background-position: 0 -52px;
}
