#topnav {
	background: #27343c url(../graphics/nav-right-corner.gif) no-repeat top right;
}

#navcontainer {
	/*width: 400px;
	margin: 10px 0 0 20px;*/
	padding: 0;
	height: 36px;
	/*background: #ddd;
	border-bottom: 1px solid #3c3c3c;*/
/*	background: url(../graphics/nav_left_logo.jpg) no-repeat top left;
	background: url(../images/navendleft.gif) no-repeat top left;
	background: url(../images/navendright.gif) no-repeat top right;*/
}

#navcontainer ul {
	border: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
}

#navcontainer ul li {
	display: block;
	float: left;
	text-align: center;
	padding: 0;
	margin: 0;
}

li.home {
	width: 80px;
}
	li.home a:link, li.home a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-home-shifty.gif) no-repeat 0 0;	
	}
	li.home a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.homepage li.home a:link, .homepage li.home a:visited {
		background-position: -80px 0;
	}

li.gallery {
	width: 80px;
}
	li.gallery a:link, li.gallery a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-gallery-shifty.gif) no-repeat 0 0;	
	}
	li.gallery a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.gallerypage li.gallery a:link, .gallerypage li.gallery a:visited {
		background-position: -80px 0;
	}

li.upload {
	width: 80px;
}
	li.upload a:link, li.upload a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-upload-shifty.gif) no-repeat 0 0;	
	}
	li.upload a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.uploadpage li.upload a:link, .uploadpage li.upload a:visited {
		background-position: -80px 0;
	}
li.partners {
	width: 80px;
}
	li.partners a:link, li.partners a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-partners-shifty.gif) no-repeat 0 0;	
	}
	li.partners a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.partnerspage li.partners a:link, .partnerspage li.partners a:visited {
		background-position: -80px 0;
	}
li.register {
	width: 80px;
}
	li.register a:link, li.register a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-register-shifty.gif) no-repeat 0 0;	
	}
	li.register a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.registerpage li.register a:link, .registerpage li.register a:visited {
		background-position: -80px 0;
	}

li.about {
	width: 80px;
}
	li.about a:link, li.about a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-about-shifty.gif) no-repeat 0 0;	
	}
	li.about a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.aboutpage li.about a:link, .aboutpage li.about a:visited {
		background-position: -80px 0;
	}

li.leaderboard {
	width: 110px;
}
	li.leaderboard a:link, li.leaderboard a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-leaderboard-shifty.gif) no-repeat 0 0;	
	}
	li.leaderboard a:hover {
		background-position: -110px 0;
		outline: none;
	}
	.leaderboardpage li.leaderboard a:link, .leaderboardpage li.leaderboard a:visited {
		background-position: -110px 0;
	}

li.prizes {
	width: 80px;
}
	li.prizes a:link, li.prizes a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-prizes-shifty.gif) no-repeat 0 0;	
	}
	li.prizes a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.prizespage li.prizes a:link, .prizespage li.prizes a:visited {
		background-position: -80px 0;
	}
li.rules {
	width: 80px;
}
	li.rules a:link, li.rules a:visited {
		display: block;
		height: 36px;
		background: url(../graphics/nav-rules-shifty.gif) no-repeat 0 0;	
	}
	li.rules a:hover {
		background-position: -80px 0;
		outline: none;
	}
	.rulespage li.rules a:link, .rulespage li.rules a:visited {
		background-position: -80px 0;
	}
/*********************** Gallery Tabs ************************/

/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.3.1
*/
/* default space between tabs */
.yui-navset .yui-nav li {
    margin-right:0.5em; /* horizontal tabs */
}
.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li {
    margin:0 0 0.5em; /* vertical tabs */
}

/* default width for side tabs */
.yui-navset-left .yui-nav, .yui-navset-right .yui-nav { width:6em; }
.yui-navset-left { padding-left:6em; } /* map to nav width */
.yui-navset-right { padding-right:6em; } /* ditto */

/* core */

.yui-nav, .yui-nav li {
    margin:0;
    padding:0;
    list-style:none;
}
.yui-navset li em { font-style:normal; }

.yui-navset {
    position:relative; /* contain absolute positioned tabs (left/right) */
    zoom:1;
	
	padding: 10px; /* AD */
}

.yui-navset .yui-content { zoom:1; }

.yui-navset .yui-nav li {
    display:inline-block;
    display:-moz-inline-stack;
    *display:inline; /* IE */
    vertical-align:bottom; /* safari: for overlap */
    cursor:pointer; /* gecko: due to -moz-inline-stack on anchor */
    zoom:1; /* IE: kill space between horizontal tabs */
}

.yui-navset-left .yui-nav li, .yui-navset-right .yui-nav li {
    display:block;
}

.yui-navset .yui-nav a {
    outline:0; /* gecko: keep from shifting */
}

.yui-navset .yui-nav a { position:relative; } /* IE: to allow overlap */

.yui-navset .yui-nav li a {
    display:block;
    display:inline-block;
    vertical-align:bottom; /* safari: for overlap */
    zoom:1;
	
	background: #f5f5f5; /* AD */
	text-decoration: none; /* AD */
  	/*font-size: 110%;*/ /* AD */
	/*font-weight: 600;*/ /* AD */
	color: #555; /* AD */
}

.yui-navset-left .yui-nav li a, .yui-navset-right .yui-nav li a {
    display:block;
}

.yui-navset-bottom .yui-nav li a {
    vertical-align:text-top; /* for inline overlap (reverse for Op border bug) */
}

.yui-navset .yui-nav li a em { display:block; }

/* position left and right oriented tabs */
.yui-navset-left .yui-nav, .yui-navset-right .yui-nav { position:absolute; z-index:1; }
.yui-navset-left .yui-nav { left:0; }
.yui-navset-right .yui-nav { right:0; }

/********************** Border Tabs ******************************/
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.3.1
*/
.yui-navset .yui-nav li a, .yui-navset .yui-content {
    /*border:1px solid #000;   label and content borders */
	border:1px dotted #ccc; /*AD*/
}

.yui-navset .yui-nav .selected a, .yui-navset .yui-nav a:hover, .yui-navset .yui-content {
    /*background-color:#f6f7ee;*/ /* active tab, tab hover, and content bgcolor */
	background-color:#fff; /* AD */
}

.yui-navset .yui-nav li em { /* tab padding */
	/*padding:.5em;*/
	padding: 3px 5px; /* AD */
}

/* defaults to orientation "top" */
.yui-navset .yui-nav .selected a {
    border-bottom-width:0; /* no bottom border for active tab */
    padding-bottom:1px; /* to match height of other tabs */
}

.yui-navset .yui-content {
    margin-top:-1px; /* for active tab overlap */
}

/* overrides for other orientations */

.yui-navset-bottom .yui-nav .selected a {
    border-width:0 1px 1px; /* no top border for active tab */
    padding:1px 0 0; /* to match height of other tabs */
}

.yui-navset-bottom .yui-content {
    margin:0 0 -1px; /* for active tab overlap */
}

.yui-navset-left .yui-nav li.selected a {
    border-width:1px 0 1px 1px; /* no right border for active tab */
    padding:0 1px 0 0; /* to match width of other tabs */
}

.yui-navset-left .yui-content {
    margin:0 0 0 -1px; /* for active tab overlap */
}

.yui-navset-right .yui-nav li.selected a {
    border-width:1px 1px 1px 0; /* no left border for active tab */
    padding:0 0 0 1px; /* to match width of other tabs */
}

.yui-navset-right .yui-content {
    margin:0 -1px 0 0; /* for active tab overlap */
}
