.module-gallery * {
	margin: 0;
	padding: 0;
	outline: none;
}
/*<group=hacks>*/

.clearfix {
	display: inline-table;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Hides from IE-mac \*/

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

#container {
	text-align: left;
	width: 782px;
	margin: 0 auto 10px;
}

#header {
	position: relative;
	padding-top: 20px;
	margin-bottom: 20px;
}

#maincaption {
	margin: 20px;
	margin-top: 10px;
	margin-bottom: 0px;
	line-height: 165%;
	width: 560px;
}

#links {
	position: absolute;
	top: 80px;
	left: 600px;
	width: 160px;
	border-left: 1px solid #ccc;
	padding: 0 6px;
}

h3 {
	font-weight: normal;
	padding: 2px;
	background-color: #cc3030;
	color: #fff7cc;
	text-align: center;
	font: 12px/14px Helvetica, Arial, sans-serif;
	/*border-bottom: 1px solid #333;*/
}

#links ul {
	list-style-type: none;
}

#links ul li a {
	display: block;
	text-decoration: none;
	padding: 2px;
	color: #cc3030;
	padding-left: 4px;
}

#links ul li a:hover {
	background-color: #cc3030;
	color: #fff7cc;
}

#slider {
	/*width: 780px;*/
	/*border: 1px solid #0f0;*/
	margin: 0 auto;
	background-color: #fff;
	border: 1px solid #333;
}

#slider .floating {
	margin-top: 10px;
}

#slider ul {
	list-style-type: none;
	width: 690px;
	height: 348px;
	/*border: 1px solid #00f;*/
}

#slider ul li {
	float: left;
	/*border: 1px solid #f00;*/
	width: 320px;
	height: 480px;
	text-align: center;
	margin: 0 6px;
	padding-top: 6px;
}

#slider ul li a {
	/*display: block;*/
	height: auto;
	color: #333;
	text-decoration: none;
}

#slider ul li a:hover {
	/*color: #ff0ff0;*/
	text-decoration: underline;
}

#slider ul li img {
	display: block;
}

.floating {
	float: left;
}

#butleft, #butright {
	padding: 0px;
	margin: 0px;
}
#butleft img, #butright img {
	padding: 0px;
	margin: 0px;
}

#butleft {
	margin-left: 1px;
	margin-right: 4px;
}

#butright {
	margin-left: 4px;
}

#controls {
	width: 100px;
	margin: 0 auto;
}

#texts {
	width: 330px;
	height: 140px;
	margin: 16px auto 4px auto;
}

.text {
	width: 300px;
	height: 100px;
	border: 1px solid #333;
	background-color: #fff;
	padding: 12px;
	color: #333;
	overflow: auto;
}

#footer {
	border-top: 1px solid #666;
	width: 600px;
	margin: 0 auto;
	text-align: center;
	color: #666;
	padding-top: 4px;
}

#footer a {
	color: #444;
	text-decoration: underline;
}

#footer a:hover {
	text-decoration: none;
}
