html {
	padding: 25px;
	background-color: #EEE;
}

body {
	padding: 20px;
	background: white url(/TFGallery/images/bg_even.png) repeat-x;
	outline: 1px solid #AAA;
	border: 2px solid white;
	font-size: 12pt;
}

a {
	text-decoration: none;
	color: #003366;
	font-family: Tahoma;
}

#site_name {
	margin: 7px 0 7px 0;
}

#gallery {
	float: right;
	width: 80%;
}

#gallery img {
	border: 0;
	display: block;
	margin: auto;
}

#footer {
	clear: both;
	color: #777;
	padding-top: 15px;
	text-align: center;
}

.tfgallery_body {
	background-color: #D0D0D0;
	width: 100%;
	outline: 1px solid #AAA;
	border: 1px solid #FFF;
	margin: auto;
	border-spacing: 7px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	list-style: none;
	padding: 0;
}

.tfgallery_body td,
.tfgallery_body > li {
	padding: 20px;
	outline: 1px solid #AAA;
	border: 2px solid white;
	display: table-cell;
}

.tfgallery_body td:hover,
.tfgallery_body > li:hover {
	background-color: #F8FCFF !important;
}

/* Start :nth-child even-odd hack; required for < CSS3 browsers */

.tfgallery_body td,
.tfgallery_body td + td + td,
.tfgallery_body > li,
.tfgallery_body > li + li + li {
	background: #EEE url(/TFGallery/images/bg_odd.png) repeat-x;
}

.tfgallery_body td:last-child,
.tfgallery_body td + td,
.tfgallery_body > li + li {
	background: white url(/TFGallery/images/bg_even.png) repeat-x;
}

/* End :nth-child hack */

.tfgallery_body td:nth-child(odd),
.tfgallery_body > li:nth-child(odd) {
	background: #EEE url(/TFGallery/images/bg_odd.png) repeat-x;
}

.tfgallery_body td:nth-child(even),
.tfgallery_body > li:nth-child(even) {
	background: white url(/TFGallery/images/bg_even.png) repeat-x;
}

.tfgallery_body a {
	margin: auto;
	display: block;
	padding: 2px;
	border: 1px solid #999;
	outline: 2px solid white;
}

ul.tfgallery_categories {
	padding: 10px;
	width: 17%;
	list-style: inside;
	list-style-image: url(/TFGallery/images/folder.png);
	background: url(/TFGallery/images/bg_odd.png) repeat-x #F0F0F0;
	border: 2px solid white;
	outline: 1px solid #C5C5C5;
}

ul.tfgallery_categories li {
	padding: 1px;
}

ul.tfgallery_categories li:hover {
	padding: 0;
	background: url(/TFGallery/images/bg_odd.png) repeat-x #CCC;
	border: 1px solid #BBB;
	outline: 2px solid white;
	border-radius: 3px;
	-khtml-border-radius: 3px;
	-khtml-outline-radius: 3px;
	-webkit-border-radius: 3px;
	-webkit-outline-radius: 3px;
	-moz-border-radius: 3px;
	-moz-outline-radius: 3px;
	text-shadow: white 1px 1px 1px;
}

ul.tfgallery_categories a {
	display: block;
	padding: 5px;
}

ul.tfgallery_image_info {
	padding: 0;
	list-style: none;
	margin: 5px auto 5px auto;
	font-family: Arial;
	font-size: 10pt;
}
