p, li {
	line-height: 1.8em;
}
h1, h2 {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	margin: 0 0 10px 0;
	letter-spacing:-1px;
}
h1 {
	padding: 0;
	font-size: 3em;
	color: #333;
}
h2 {
	padding-top: 10px;
	font-size:2em;
}
pre {
	font-size: 1.2em;
	line-height: 1.2em;
	overflow-x: auto;
}
div#page {
	width: 1000px;
	background-color: #fff;
	margin: 0 auto;
	text-align: left;
	border-color: #ddd;
	border-style: none solid solid;
	border-width: medium 1px 1px;
}
div#container {
	padding: 20px;
}
div#ads {
	clear: both;
	padding: 12px 0 12px 66px;
}
div#footer {
	clear: both;
	color: #777;
	margin: 0 auto;
	padding: 20px 0 40px;
	text-align: center;
}
















/*w880px*/
.gallerySpace {
	width: 600px;
	float: left;
	margin: 0 20px 20px 0;
	overflow: hidden;
}
.controls {
	margin-bottom: 5px;
	width:848px;
	height:25px;
	overflow:hidden;
	
	
	
}
.ss-controls {
	float: left;
}
.nav-controls {
	float: right;
}
.controls a {
	display: block;
	float: left;
	padding: 1px 8px;

	font-size: 85%;
	color: #5eca24;
	text-decoration: none;
}
.controls a:hover {
	background-color: #5eca24;
	color: #FFF;
}
.controls a.prev {
	margin-right: 5px;
}
.slideshow-container {
	width: 600px;
	height: 400px;
	position: relative;
	clear: both;
}
.loading {
	width: 600px;
	height: 400px;

	position: absolute;
	top: 0;
	left: 0;
	background: url(../images/parts/galleriffic_loader.gif) no-repeat center;
}
.slideshow span.image-wrapper, .slideshow a.advance-link {
	display: block;
	width: 600px;
	height: 400px;
	text-align: center;	
}
.slideshow a.advance-link img {
	position: absolute;
	top: 0; left: 0;
}
.caption {
	font-size: 85%;
	color: #999;
	text-align: center;
	padding: 5px 0;
}

.navigation {
	width: 240px;
	height: 400px;
	float: right;
	margin: 0;
	overflow: hidden;
	background-image: url(../images/gallery/bg.gif);
	background-repeat:repeat;

}
.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	padding: 1px 8px;
	border: 1px solid #67a701;
	font-size: 95%;
	margin: 0 1px;
	color: #009fe8;
	text-decoration: none;
}
.pagination a:hover {
	background-color: #4FB4E0;
	color: #FFF;
}
.pagination span.current {
	font-weight: bold;
	background-color: #f0f0f0;
	color: #666;
}
.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 1px;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #67a701;
}
ul.thumbs li.selected a.thumb {
	background-color: #4FB4E0;
	border: 1px solid #FFF;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
/*clearfix*/
.pagination, ul.thumbs {
	display: inline-block;
	padding: 0;
} 
.pagination:after, ul.thumbs:after{
    content: "."; 
    display: block; 
    height: 0; 
    font-size:0;	
    clear: both; 
	visibility:hidden;
}
