body {
	background-color: white;
	font-size: 12pt;
	margin: 0;
	padding: 0;
}

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

a:hover {
	color: #376D96;
}

#tfg_site_name {
	background: #0D121F url(/TFGallery/images/bg_header.png) repeat-x;
	color: #F4F7FF;
	font-family: "DejaVu Serif", "Times New Roman";
	margin: 0;
	padding: 15px;
	text-shadow: #0D121F 2px 2px 5px, #0D121F 2px 2px 5px;
}

#tfg_site_name {
	vertical-align: middle;
}

#tfgallery {
	background-color: white;
	padding: 15px;
}

#tfgallery img,
#tfg_footer img,
.tfg_container img
{
	border: 0 !important;
	box-shadow: #0D121F 2px 2px 5px, #0D121F 2px 2px 10px;
	vertical-align: middle;

	-moz-box-shadow: #0D121F 2px 2px 5px, #0D121F 2px 2px 10px;
	-webkit-box-shadow: #0D121F 2px 2px 5px, #0D121F 2px 2px 10px;
}

#tfgallery img#tfg_current_img {
	box-shadow: #0D121F 2px 2px 5px;
	display: block;
	margin: auto;

	-moz-box-shadow: #0D121F 2px 2px 5px;
	-webkit-box-shadow: #0D121F 2px 2px 5px;
}

#tfgallery ul.tfgallery_categories {
	display: block;
	position: static;
}

#tfg_breadcrumbs {
	background: #E2ECF3;
	box-shadow: #0D121F 0 1px 4px, inset 0 15px 20px white;
	font-family: Tahoma;
	margin-bottom: 15px;
	padding: 5px 0 5px 15px;

	-moz-box-shadow: #0D121F 0 1px 4px, inset 0 15px 20px white;
	-webkit-box-shadow: #0D121F 0 1px 4px, inset 0 15px 20px white;
}

#tfg_breadcrumbs > div {
	border-radius: 7px;
	cursor: default;
	display: table-cell;
	padding: 1px 8px 1px 1px;

	-moz-border-radius: 7px;
}

#tfg_breadcrumbs > div > a,
#tfg_breadcrumbs > div > span
{
	border-radius: 7px;
	display: inline-block;
	padding: 3px 10px 3px 10px;

	-moz-border-radius: 7px;
}

#tfg_breadcrumbs > div:hover {
	background: #0D121F url(/TFGallery/images/bg_header.png) repeat-x;
	box-shadow: 0 1px 5px #0D121F;
	color: white;

	-moz-box-shadow: 0 1px 5px #0D121F;
	-webkit-box-shadow: 0 1px 5px #0D121F;
}

#tfg_breadcrumbs > div:hover > a,
#tfg_breadcrumbs > div:hover > span
{
	background: #F5F7FF url(/TFGallery/images/bg_odd.png) repeat-x;
	color: #283966;
}

#tfg_breadcrumbs > div:hover ul.tfgallery_categories {
	display: block;
	margin: -5px 0 0 -2px;
}

#tfg_footer,
.tfg_container
{
	background: #0D121F url(/TFGallery/images/bg_header.png) repeat-x;
	border: 2px solid white;
	border-radius: 15px;
	box-shadow: inset #0D121F 0 0 50px, inset #0D121F 0 0 50px, inset #0D121F 0 5px 25px, #0D121F 0 0 10px;
	clear: both;
	color: white;
	margin: 15px;
	overflow: hidden;
	padding: 10px;
	text-align: center;

	-moz-border-radius: 15px;
	-moz-box-shadow: inset #0D121F 0 0 50px, inset #0D121F 0 0 50px, inset #0D121F 0 5px 25px, #0D121F 0 0 10px;
	-webkit-box-shadow: inset #0D121F 0 0 50px, inset #0D121F 0 0 50px, inset #0D121F 0 5px 25px, #0D121F 0 0 10px;
}

#tfg_footer a,
#tfg_pagination a
{
	color: #B4D7F2;
}

#tfg_footer a:hover,
#tfg_pagination a:hover
{
	color: #376D96;
}

#tfg_pagination {
	clear: both;
	text-align: center;
}


#tfg_pagination img {
	box-shadow: #0D121F 2px 2px 5px;
	opacity: .25;

	-moz-box-shadow: #0D121F 2px 2px 5px;
	-webkit-box-shadow: #0D121F 2px 2px 5px;

	-o-transition-property: opacity;
	-o-transition-duration: 250ms;
	-o-transition-timing-function: ease-in;
	-webkit-transition-property: opacity;
	-webkit-transition-duration: 250ms;
	-webkit-transition-timing-function: ease-in;
}

#tfg_pagination img:hover {
	opacity: 1;
}

#tfg_pagination img#tfg_active_img {
	opacity: 1;
}

.tfgallery_body {
	background-color: #0D121F;
	border: 2px solid white;
	border-radius: 10px;
	border-spacing: 7px;
	box-shadow: inset #0D121F 0 0 50px, inset #0D121F 0 0 50px, inset #0D121F 0 5px 25px, #0D121F 0 0 7px 1px, #0D121F 0 0 3px;
	margin: auto;
	list-style: none;
	padding: 0;
	width: 100%;

	-moz-border-radius: 10px;
	-moz-box-shadow: inset #0D121F 0 0 50px, inset #0D121F 0 0 50px, inset #0D121F 0 5px 25px, #0D121F 0 0 7px 1px, #0D121F 0 0 3px;
	-webkit-box-shadow: inset #0D121F 0 0 50px, inset #0D121F 0 0 50px, inset #0D121F 0 5px 25px, #0D121F 0 0 7px 1px, #0D121F 0 0 3px;
}

.tfgallery_body td,
.tfgallery_body > li {
	padding: 20px;
	display: table-cell;
}

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

/* Start :nth-child even-odd hack;
 * required for < CSS3 browsers,
 * but designed only for four columns
 */

.tfgallery_body td,
.tfgallery_body td + td + td,
.tfgallery_body > li,
.tfgallery_body > li + li + li {
	background: #E2ECF3;
	box-shadow: inset 0 50px 70px white, inset 0 25px 50px white;

	-moz-box-shadow: inset 0 50px 70px white, inset 0 25px 50px white;
	-webkit-box-shadow: inset 0 50px 70px white, inset 0 25px 50px white;
}

.tfgallery_body td:last-child,
.tfgallery_body td + td,
.tfgallery_body > li + li {
	background: white;
	border: 1px solid white;
	box-shadow: inset 0 50px 70px #E2ECF3, inset 0 20px 20px rgba(13,18,31,.05);

	-moz-box-shadow: inset 0 50px 70px #E2ECF3, inset 0 20px 20px rgba(13,18,31,.05);
	-webkit-box-shadow: inset 0 50px 70px #E2ECF3, inset 0 20px 20px rgba(13,18,31,.05);
}

/* End :nth-child hack */

.tfgallery_body td:nth-child(odd),
.tfgallery_body > li:nth-child(odd) {
	background: #E2ECF3;
	box-shadow: inset 0 50px 70px white, inset 0 25px 50px white;

	-moz-box-shadow: inset 0 50px 70px white, inset 0 25px 50px white;
	-webkit-box-shadow: inset 0 50px 70px white, inset 0 25px 50px white;
}

.tfgallery_body td:nth-child(even),
.tfgallery_body > li:nth-child(even) {
	background: white;
	border: 1px solid white;
	box-shadow: inset 0 50px 70px #E2ECF3, inset 0 20px 20px rgba(13,18,31,.05);

	-moz-box-shadow: inset 0 50px 70px #E2ECF3, inset 0 20px 20px rgba(13,18,31,.05);
	-webkit-box-shadow: inset 0 50px 70px #E2ECF3, inset 0 20px 20px rgba(13,18,31,.05);
}

.tfgallery_body a {
	margin: auto;
	display: block;
	padding: 2px;
}

ul.tfgallery_categories {
	background: url(/TFGallery/images/bg_header.png) repeat-x #0D121F;
	box-shadow: 0 3px 10px #0D121F;
	display: none;
	list-style: inside;
	list-style-image: url(/TFGallery/images/folder.png);
	margin: 0;
	max-height: 400px;
	overflow: auto;
	padding: 10px;
	position: absolute;
	width: 250px;
	z-index: 10;

	-moz-box-shadow: 0 3px 10px #0D121F;
	-webkit-box-shadow: 0 3px 10px #0D121F;
}

ul.tfgallery_img_list {
	list-style-image: url(/TFGallery/images/image.png);
}

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

ul.tfgallery_categories a:hover {
	background: url(/TFGallery/images/bg_odd.png) repeat-x #F5F7FF;
	border-radius: 3px;
	box-shadow: 0 1px 10px black;
	color: #376D96;
	text-shadow: white 1px 1px 1px;

	-moz-border-radius: 3px;
	-moz-box-shadow: 0 1px 10px black;
	-webkit-box-shadow: 0 1px 10px black;
}

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

