a, #breadcrumb, #breadcrumb a, #breadcrumb a:visited { color : #00f ; }
a:visited { color : #609 ; }
h1, h2, h3, h4, h5, h6 {
    margin : 5px 0 ;
    padding : 5px 0 ;
    color : #54230E; important; background-color: transparent;}
h2, h3, h4, h5, h6 {
	color: #0A3926!important;  background-color: transparent;
	}
h2 a, h2 a:hover, h2 a:active,  h2 a:visited, h3 a, h3 a:hover, h3 a:active,  h3 a:visited  {
	color: #0A3926!important;  background-color: transparent; text-decoration: none;
	}
h2 a, h2 a:hover, h2 a:active,  h2 a:visited {font-weight: bold;}
h2 {border-bottom: 1px solid #002516;}
#header, #wrapper, #contacts,  .relateditem, .relateditem p.relatedtitle { border-color: #333; color: inherit;}
#header { background-color: #54230E; color: inherit; background-image: none;}
#wrapper { background-image: url(/planning/tpea/images/subnavbg.png) ; }
#header { border-bottom: 1px solid #000; }
#header #pageheading { margin: 0 ; color: #fff; }

#navigation { background: none ; } 
 
#navigation a:hover, #navigation a.current { background: #333 url(/images/hep/bg_nav.png) repeat-x center; color: inherit;}

#related p.relatedtitle {
	background-color: #54230E;
	color: #fff;
	border-color: #00122a;
	font-size: 90%;
	}
.relateditem {
	background-color: #fff;
	border-color: #00122a;
	text-align: left;
	}
#contacts {
	border: 1px solid #000;
	background-color: #fff;
	}
#contacts p.contacttitle {
/*	font-size: 80%;*/
	color: #fff;
	background-color: #54230E;
	border-bottom: 1px solid #000;
	}
#contacts ol {
	list-style-type: square;
	}
#contacts a {
	font-weight: bold;
	}
div#subnavigation ul li a, div#subnavigation ul li a:visited {
	background-color: #E4DFCC;
	border-bottom: 1px solid #B8AC7A;
}
div#subnavigation ul li ul li a, div#subnavigation ul li ul li a:visited {
	background-color: #EDEADD;
	border-bottom: 1px solid #B8AC7A;
	border-left: 5px solid #C7D5E9;
}
div#subnavigation ul li ul {
	border-bottom: 1px solid #B8AC7A;
	}
div#subnavigation ul li a:hover
, div#subnavigation ul li a.current {
	background-color: #CAC09A;
	border-left-color: #CAC09A;
}
#pageconents .docnav ul li a, .docnav ul li a.index { 
		border-color : #00f ; 
    	text-decoration: none!important; 
    	text-align: center; 
	}
#pageconents .docnav ul li a.current, .docnav ul li a:hover {
	background-color : #00f; 
    	color : #fff;  
    	text-decoration: none!important; 
	}
#getnomform {
	list-style-type: none;
	width: 900px; 
	overflow: hidden;
	}
#getnomform li label {
	float: left;
	text-align: right;
	padding-right: 5px;
	width: 140px;
	}
input[type="submit"] {
	margin-left: 145px;
	}
input.subleft {
	margin-left: 5px;
	}
#getnomform label, #reply label {
	width: 15%;
	}
fieldset {
	width: 680px;
	border: 2px solid #ccc;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 20px;
	}
legend {
	font-weight: bold;
	font-size: .9em;
	color: #777; background-color: inherit;
	text-transform: uppercase;
	margin: 1px 6px;
	}
form p { 
	font-size: .8em;
	margin-top: 0;
	margin-bottom: 5px;
	}
form p.details {
	font-size: .9em;
	margin: 5px 0 15px 0;
	width: 700px;
	}	
form p.submitarea {
	width: 680px;
	text-align: center;
	}
form p.submitfinal {
	text-align: left;
	width: 90%;
	padding-left: 25px;
	margin-bottom: 12px;
	}
form p.submitfinal input#submitnom{
	margin-left: -20px;
	}
input#submitnom[type="submit"], input#savenom[type="submit"] {
	margin: 0;
	}
input#fetch[type="submit"] {
	margin: 0.5em 0
	}
table.nomform {
	width: 680px;
	border-spacing: 5px 12px;
	}
table.nomform td {
	vertical-align: top;
	}
table.nomform td.label {
	text-align: right;
	padding: 2px 5px 0 0;
	width: 35%;
	}
table.nomform td.label label {
	font-size: .85em;
	}
span.label { font-size: .85em; }
table.nomform td.check {
	vertical-align: top;
	text-align: right;
	width: 7%;
	}
.sublabel {
	font-size: .7em;
	color: #555; background-color: inherit;
	margin: 3px 0 0 0;
	padding: 0;
	}
.sublabelr {
	font-size: .7em;
	color: #555; background-color: inherit;
	margin: 3px 0 0 0;
	padding: 0;
	text-align: right;
	}
a span.pop {
	display: none;
	text-decoration: none;
	text-align: left;
	width: 40%;
	padding: 5px 10px;
	}
a:hover span.pop {
	display: inline;
	border: 1px solid black;
	position: absolute;
	color: #000;
	background-color: #fff;
	font-weight: normal;
	padding: 5px;
	margin-left: 5px;
	overflow: hidden;
	}
textarea, input[type="text"] {
	font-size: .8em;
	margin-top: 0;
	}
p.notfound { color: red; font-weight: bold; }
p.red { color: red; margin: 0; }
p.green { color: green; margin: 0; }
h3.red { color: red }
p.locked { 
	color: red;  background-color: inherit;
	font-weight: 
	bold; 
	margin: 5px 0 10px 0;
	}
div.toplink {
	position: fixed;
	bottom: 15px;
	right: 3%;
	font-size: .85em;
	border: 1px solid #ccc;
	padding: 0;
	background-color: #fff; color: inherit;
	text-decoration: none;
	}
#pagecontents div.toplink a {
	text-decoration: none;
	display: block;
	height: 100%;
	width: 100%;
	margin: 2px 5px;
	}

/* admin styles */
#pagecontents table.admintable {
	margin: 15px 5px;
	border-spacing: 1px;
	border-collapse: separate;
	}
#pagecontents table.admintable caption {
	text-align: left;
	font-size: 1.1em;
	color: #000066; background-color: inherit;
	padding: 10px 0 5px 0;
	}
#pagecontents table.admintable td {
	border: 1px solid #ccc;
	padding: 5px 9px;
	vertical-align: top;
	font-size: .8em;
	}
#pagecontents table.admintable th {
	border: 1px solid #ccc;
	background-color: #e9e9e9; color: inherit;
	font-weight: bold;
	padding: 5px 9px;
	vertical-align: top;
	font-size: .8em;
	}
#pagecontents table.admintable td ul {
	margin: 5px 0 0 0;
	padding: 0;
	font-size: .9em;
	}
#pagecontents table.admintable td ul li {
	padding-bottom: 1px;
	}
#pagecontents table.admintable td.judges {
	font-size: .7em;
	}
div.switcher {
	border: 1px solid #999;
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: .7em;
	padding: 2px 5px;	
	}
th.edit, td.edit {
	text-align: center!important; 
	}
td.score {
	margin-bottom: 5px;
	padding-top: 5px;
	border-top: 1px dashed #eee;
	}
.count {
	margin: 0px;
	font-size: .8em;
	}	
#pagecontents table.judgetable {
	margin: 15px 5px;
	border-spacing: 1px;
	border-collapse: separate;
	width: 50%;
	}
#pagecontents table.judgetable td {
	border: 1px solid #ccc;
	padding: 5px 9px;
	vertical-align: top;
	font-size: .8em;
	}
#pagecontents table.judgetable th {
	border: 1px solid #ccc;
	background-color: #e9e9e9;
	font-weight: bold;
	padding: 5px 9px;
	vertical-align: top;
	font-size: .8em;
	}
.right1 {
	float:right;
	padding-right:1em;
	}
table#jregister {
		font-size: .9em;
	}
table#jregister td {
		padding:4px;
	}
table.judgeform {
		width:100%;
	}
table.judgeform td {
	padding:10px;
	}
#col1, #col2 {width: 42%;}
img.tpeaedit { border: 0 }
table.datatable tr td ul {
	margin: 0;
	padding: 0;
	}
td.req, td.req:hover, td.req2, td.req2:hover {
	position: relative;
	}
td.req div.pwreq, td.req2 div.pwreq {
	display: none;
	}
td.req:hover div.pwreq {
	display: block;
	position: absolute;
	bottom: 1em;
	left: 3em;
	width: 400px;
	padding: 1em;
	border: 1px solid #54230E;
	background-color: #FFFFE0;
	color: #000;
	text-decoration: none;
	}
td.req2:hover div.pwreq {
	display: block;
	position: absolute;
	top: 1em;
	left: 3em;
	width: 400px;
	padding: 1em;
	border: 1px solid #54230E;
	background-color: #FFFFE0;
	color: #000;
	text-decoration: none;
	}
td.req:hover div.pwreq p, td.req2:hover div.pwreq p {
	font-size: 1em;
	font-weight: bold;
	}
table.judgeform tr td.comment {
	padding-top: 0;
	padding-bottom: 0;
	vertical-align: top;
	} 
div.rowsaved {
	text-align: right;
	margin: 0;
	}
.savehide {
	display: none!important;
	}
#indexformwrapper {
	display: table;
	background-color: #FFFFC2;
	width: 85%;
	margin-left: 1em;
	}
div.indexformcell {
	display: table-cell;
	padding: 1em 2em;
	border: 1px solid #444;
	text-align: left;
	width: 50%;
	}
div.indexformcell p.formhead {
	font-size: 1em;
	font-weight: bold;
	margin: 0;
	padding: 0 0 1em 0;
	}
div.indexformcell p {
	font-size: 0.9em;
	margin: 0;
	padding: 0 0 0.5em 0;
	}
img.nombtn {
	border: 0;
	}
div.tablelayout div.tcell {
     margin: 0 5px;
     }
div.tablelayout div.tcell p {
     margin: 0 10px;
     }
div.tablelayout div.tcell ul,
div.tablelayout div.tcell ol {
     margin: 0 0 0 5px;
     }
div#tpeabuttons.tablelayout {
	margin-left: 15px;
	}
div#tpeabuttons.tablelayout div.trow div.buttonlabel {
	vertical-align: middle;
	}
div#tpeabuttons.tablelayout div.trow div.buttonlabel p {
	font-size: 100%;
	font-weight: bold;
	padding: 0;
	margin: 0 0.5em 0 0;
	}
div#tpeabuttons.tablelayout div.trow div.buttonlabel p a {
	text-decoration: none;
	}
div#tpeabuttons.tablelayout div.trow div.tcell {
	padding: 0.2em 0.5em 0.2em 0;
	margin: 0 0 5px 0;
	background-color: #dedede;
	color: inherit;
	border-bottom: 0.4em solid #fff;
 	}
