.gal_mini_padd{
padding-left: 25px;
padding-right: 25px;
overflow:hidden;
height: 300px;
position:relative;
width:678px;
}
.gal_padd{
padding-left: 25px;
padding-right: 25px;
overflow:hidden;
height: 300px;
position:relative;
width:678px;
}

#gallery {
position:relative; 
overflow:hidden;
width:628px;
height: 300px;
}
#gall_mini {
position:relative;
overflow:hidden;
width:628px;
height: 124px;
}

.gallery-elements {
overflow:hidden;
position:relative;
width:628px;
height:300px;

}
.gallery_mini-elements {
overflow:hidden;
position:relative;
width:124px;
}

.gallery-elements img {
display:block;
float:left;
position:relative;
width:628px;
}
.gallery_mini-elements img {
display:block;
float:left;
position:relative;
width:124px;
margin-right: 2px;
cursor:pointer;

}

.gallery-control .cleft {
position:relative;
background:transparent url(/f/i/gallery-left.png) no-repeat scroll 0 0;
display:block;
float:left;
height:49px;
width:49px;
cursor:pointer;
top:-180px;
left:-25px;
}
.gallery-control .cright {
position:relative;
background:transparent url(/f/i/gallery-right.png) no-repeat scroll 0 0;
display:block;
float:right;
height:49px;
width:49px;
cursor:pointer;
top:-180px;
right:25px;
}
.captionPhoto{
width: 628px;
}
.captionPhoto td{
vertical-align: middle;
text-align: center;
font-size: 16px;
padding-top: 15px;
padding-bottom: 15px;
font-style:italic;
}
.img-counter-bg{
	position: absolute;
	top: 0px; left: 0px;
	opacity: 0.5;
	background-color:#fff;
	border: 1px solid #999;
	height: 20px;
	width: 100%;
	line-height: 20px;
}
	.img-counter-text{
		position: absolute;
		top: 7px; left: 35px;
		padding: 0;
		margin: 0;
		height: 20px;
		line-height: 20px;
		padding-left: 3px;
		padding-right: 3px;
		_width: 100px;
		text-align: center;

	}
	.img-counter-text p{
		position: relative;
		top: 1px;
		opacity: 1;		
		color: black;
		line-height: 20px;
		font-weight: bold;
	}