/*

Styles for the Rose-Hulman Robotics Team web site at rhitrobotics.org

Created 21 June 2008 by Tom Most

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	/* Trac overrides */
	letter-spacing: 0;
	font-family: Geneva, Verdana, sans-serif;
	background-color: transparent !important;
	border-width: 0 !important;
	margin-left: 0 !important;
}
h2 { font-size: 22px; margin: 14px 0 0 0; }
h3 { font-size: 18px; margin: 10px 0 0 0; }
h4 { font-size: 16px; font-style: italic; }
h5::before, h6::before { content: "Too many levels of heading! "; color: white; background: red; }
body {
	line-height: 1.5;
	background: white;
	color: #3a3a3a;
	font-family: Geneva, Verdana, sans-serif;
	font-size: 14px;
	min-width: 750px;
}
ins { text-decoration: underline; }
del { text-decoration: line-through; }
em, i, kbd, samp { font-style: italic; }
code, pre { font-family: "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; }
pre { font-size: 13px; line-height: 1.4; }
small { font-size: .87em; }
p, ul.expanded > li, ol.expanded > li, h4, h5, h6, pre {
	margin: 7px 0 7px 0;
}
blockquote { margin: 1.5em 2em 1.5em 2em; }
ul { list-style: round; padding-left: 2em; }
ol { list-style: decimal; padding-left: 2em; }
dt { margin-top: 1.5em; }


:link { color: #254D8C; border-bottom: none; }
:visited, :link:active { color: #7e1111; border-bottom: none; }
:link:hover { color: #254D8C; }
:link:hover, :visited:hover { background-color: transparent; color: #7e1111; }

:link img, :visited img { border: 0; }


#masthead {
	padding-bottom: 20px;
}
#masthead img#gear {
	position: absolute;
	top: 0; left: 0;
}
#masthead img#rhrt {
	position: absolute;
	left: 190px;
	top: 14px;
}
#internav {
	background: #fce4e4;
	color: #7e1111;
	line-height: 1;
	margin-top: 100px;
	padding: 8px 0 8px 180px;
}
#internav :link,
#internav :visited {
	text-decoration: none;
	color: #7e1111;
	padding: 0 10px 0 10px;
}
#internav :link:hover,
#internav :visited:hover {
	text-decoration: underline;
}

#intranav {
	width: 180px;
	float: left;
	padding-top: 74px;
}
#intranav ul {
	margin: 0 18px 30px 8px;
	padding: 0;
}
#intranav li {
	display: block;
	padding: 0;
	margin: 7px;
}
#intranav li :link,
#intranav li :visited {
	display: block;
	padding: 5px 0 5px 8px;
	line-height: 1;
	text-decoration: none;
	border-left: 4px solid #434343;
	color: #434343;
	background: #e0e0e0;
}
#intranav li :link:hover,
#intranav li :visited:hover {
	background: #fce4e4;
}
#intranav li :link:hover,
#intranav li :visited:hover,
#intranav li.current :link,
#intranav li.current :visited {
	color: #7e1111;
	border-left: 4px solid #7e1111;
}

#ctxnav {
	position: absolute;
	right: 20px;
	font-size: 11px;
	margin-top: -16px;
}
#ctxnav ul {
	margin: 0;
	padding: 0;
}
#ctxnav li {
	list-style: none;
	display: inline;
	padding: 0 .5em 0 .5em;
}

#content-wrapper {
	margin: 0 20px 0 186px;
	line-height: 1.7;
}
#content {
	/* Make all the stuff that the Trac stylesheets set to clear
           not clear the left nav */
	float: left;
	width: 100%; /* IE compat? */
}
h1 {
	font-size: 30px;
	line-height: 1;
	margin-top: 26px;
	margin-bottom: 26px;
}

#foot { 
	clear: left;
	padding: 20px 0 20px 0;
	text-align: center;
	font-size: 12px;
	margin-left: 200px;
	margin-right: 20px;
}

/* Fix Trac's form styles */
input[type="button"],
input[type="submit"],
input[type="reset"] {
	padding-left: 1em;
	padding-right: 1em;
	border-width: 2px;
	border-style: solid;
	border-color: #ddd #888 #888 #ddd;
}

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
	border-width: 2px;
	border-style: solid;
	border-color: #888 #ddd #ddd #888;
}
input[type="text"],
input.textwidget, textarea,
input[type="text"]:focus,
input.textwidget:focus, textarea:focus {
	padding: .1em;
	border-width: 2px;
	border-style: solid;
	border-color: #888 #ddd #ddd #888;
	color: black;
}
div.wikitoolbar {
	margin-left: 2px;
}

legend {
	color: #555;
}

/* Specific Trac elements */

/* One of the little boxes in the top right */
form#prefs {
	border-width: 0;
	background-color: #e0e0e0;
}

/* Push the "Edit this page" button down past the nav */
form#modifypage {
	clear: both;
}

/* Various things set to clear that shouldn't be. */
#info,
table.listing,
#content.prefs #tabcontent {
	clear: right;
}

.wikipage {
	padding-left: 0;
}

