/*
	The styles used in Anywherever.php
	
	Colors used:
		#336633 is a nice dark green used for panels
		#66CC99 is a nice light green used for input fields
		#FFFF99 is a pleasing yellow used for emphasis
*/

* {
	margin:0px;
	padding:0px;
}

body {
	background-color:white;
	font-family:sans-serif;
	min-width:800px;
}

/*
	page header section
*/

h1 {
	font-size:3em;
	font-style:italic;
	color:white;
	background:#336633 url(images/panel.png) repeat-x;
	line-height:0px;
	border-bottom:3px white solid;
}

#map {
	float:right;
	margin:10px 10px 0px 0px;
}

#title {
	margin:16px 11px 10px 11px;
}

#loginForm {
	padding:5px;
	border-bottom:3px white solid;
	background:#336633 url(images/feet.png) center left no-repeat;
	text-align:right;
	font-size:0.8em;
}

#loginForm p {
	font-weight:bold;
	color:white;
	text-align:right;
	padding-right:1em;
	display:inline;
	font-style:italic;
}

#loginForm label {
	color:white;
	margin:0em 0em 0em 0.3em;
	display:inline;
	position:static;
}

#loginForm input {
	display:inline;
	margin:0em;
}

/*
	container for menu and page contents
*/

#body {
	position:relative;
	width:100%;
	background-color:#336633;
}

/*
	menu items
*/

#menu {
	position:absolute;
	left:0px;
	top:0px;
	bottom:0px;
	width:7.5em;
	background:#336633 url(images/panel.png) repeat-x;
	overflow:visible;
} 

#menu h2 {
	margin:1em 0em 0.5em 0.6em;
	font-size:0.8em;
	color:white;
}

#menu ul {
	margin:0em 0.6em;
	list-style:none;
	font-size:0.8em;
}

#menu a, #loginForm a {
	color:#66CC99;
	font-weight:bold;
	text-decoration:none;
}

#menu a:hover, #loginForm a:hover {
	color:#FFFF99;
	font-weight:bold;
	text-decoration:none;
}

/*
	Main page content
*/

#page {
	position:relative;
	margin-left:9.375em;
	padding-left:15px;
	padding-right:15px;
	padding-bottom:1em;
	background-color:white;
	border-bottom:1px white solid;
	display:inline-block;
	font-size:0.8em;
	min-height:30em;
}

#page h2 {
	font-size:1.8em;
	padding:0.15em 0.2em;
	color:white;
	margin:0px -15px 15px -12px;
	background:#336633 url(images/panel.png) repeat-x;
}

#page h2 a {
	color:#66CC99;
	font-style:italic;;
}

#page h2 a:hover {
	color:#FFFF99;
	text-decoration:none;
}

#page h3, div.journalEntry h5, fieldset h4, div.comment h4, div.comment h5 {
	clear:left;
	font-size:1em;
	margin:1.5em 1em 1em 0em;
	width:60%;
	padding-bottom:0.6em;
	color:#336633;
	font-weight:bold;
	background:url(images/hr.png) repeat-x bottom right;
}

p, ul.features li {
	margin:1em 0em 0.5em 0em;
	color:black;
	text-align:justify;
}

p.error {
	color:#336633;
	padding:0em 4em;
	font-style:italic;
	font-weight:bold;
}

p.error a {
	text-decoration:underline;
}

a {
	color:#336633;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

table {
	border-collapse:collapse;
}

th {
	padding:0.25em 0em;
	vertical-align:top;
	font-weight:bold;
	text-align:left;
	color:#336633
}	

td {
	padding:0.25em 0em 0.25em 1em;
	vertical-align:top;
	text-align:left;
}

table.routePlotter {
	margin-left:3em;
	margin-top:1em;
}

table.routePlotter th {
	padding:0.25em 1.5em 0.25em 1em;
}

table.routePlotter td {
	padding:0.25em 1.5em 0.25em 1em;
}

/*
	Terms and conditions
*/

#terms {
	overflow:auto;
	border:1px black solid;
	margin:2em 6em;
	height:20em;
	padding:0.5em 1em;
}

#terms h2 {
	color:#336633;
	margin:0.5em 0em 1em 0em;
	padding:0px;
	font-weight:bold;
	background:white none;
	font-size:1em;
}

#terms h3 {
	margin:0.5em 0em;
	font-size:1em;
	font-weight:bold;
	color:black;
}

#terms p {
	text-align:left;
}

h4 {
	font-weight:bold;
}


/*
	Journal page formatting
*/

div.comment {
	margin:1em 3em 1em 3em;
	overflow:hidden;
	position:relative;
}

div.comment h4 {
	margin-top:0px;
}

div.comment img {
	float:left;
	border:1px black solid;
	margin-right:1em;
	margin-bottom:1em;
}

div.comment div {
	display:inline-block;
}

div.journalEntry {
	margin:1em 3em 2em 3em;
	overflow:hidden;
	position:relative;
	background:url(images/hr.png) repeat-x bottom right;
}

div.journalEntry h4 {
	font-size:1em;
	padding:0.75em 0.75em;
	text-align:right;
	color:white;
	font-style:italic;
	background:#336633 url(images/feet.png) center left no-repeat;
}

div.journalEntry h5 {
	clear:none;
	margin-top:0em;
	padding-top:0em;
	font-style:italic;
}

div.journalEntry img {
	float:right;
	border:1px black solid;
	margin-left:1em;
}

div.journalEntry dl {
	float:left;
	width:13em;
	padding:0.5em 1em 1em 1em;
	list-style:none;
}

div.journalEntry dt {
	font-weight:bold;
	padding-top:0.5em;
}

div.journalEntry div {
	margin-left:15em;
	padding:1em 1em 0.5em 1em;
	text-align:justify;
}

ul.features {
	margin-left:3em;
	list-style-image:url(images/bullet.png);
}

ul.actionList {
	margin:1em 1em;
	clear:left;
}

ul.actionList li {
	display:inline;
	list-style:none;
	padding:0em 0.5em;
	margin:0em 0.2em;
	border-left:1px #336633 solid;
	border-right:1px #336633 solid;
}

/*
	The page footer
*/

#footer {
	background:#336633 url(images/panel.png) repeat-x;
	clear:both;
	margin-top:3px;
	font-size:0.8em;
	font-style:italic;
	overflow:hidden;
	color:white;
	padding:0.5em 0.75em;
}

#footer p {
	text-align:right;
	color:white;
	margin:0.25em;
}

#footer p a {
	color:#66CC99;
	text-decoration:underline;
}

#footer p a:hover {
	color:#FFFF99;
	text-decoration:underline;
}

/*
	Map positioning
*/

#mapPanel {
	overflow:hidden;
}

#interactiveMap {
	height:338px;
	max-width:675px;
	border:1px black solid;
}

#mapPanel #sideBar {
	float:left;
	width:14em;
	height:338px;
	margin-right:15px;
	/*overflow:auto;*/
}

#mapPanel #sideBar h3, #mapPanel #sideBar p.first {
	margin-top:0em;
}

#mapPanel th {
	color:black;
}

img.portrait {
	border:1px black solid;
	margin:1.5em 0.5em 0.5em 0.5em;
}

/*
	Used on the writeInJournal page
*/

fieldset {
	border:none;
	margin:0.5em;
}

fieldset div {
	margin:0.5em;
	float:left;
	padding:0.75em;
	border:2px #336633 solid;
}

fieldset ul.actionList {
	margin-bottom:0px;
	margin-left:0em;
	margin-top:0.5em;
}

fieldset li {
	margin-left:0em;
}

fieldset h4 {
	margin-top:0em;
	width:auto;
}

/*
	Form elements
*/

label {
	display:block;
	color:#336633;
	margin:0em 0em 0.2em 1em;
	clear:both;
}

input, select {
	display:inline-block;
	margin:0.2em 0.75em 0.2em 1em;
	border:1px black solid;
	background:#66CC99 url(images/input.png) repeat-x bottom right;
	color:black;
}

label input, label select {
	display:block;
	margin:0.2em 0em 0em 0em;
}

input:hover, input:focus {
	background:#FFFF99 url(images/activeinput.png) repeat-x bottom right;
}

input[type=submit] {
	background:#66CC99 url(images/submit.png) repeat-x top left;
	font-weight:bold;
}

input[type=submit]:hover {
	background:#FFFF99 url(images/activesubmit.png) repeat-x top left;
}

label span {
	color:black;
}

input[type=hidden] {
	display:none;
	visibility:hidden;
}

label.inline {
	float:left;
	margin-bottom:1em;
	clear:none;
}

input.inline {
	display:inline;
	background:white none;
	border:none;
}

input[type=checkbox], input[type=radio] {
	background:white none;
	border:none;
	display:inline;
}

label.subject {
	margin-top:0.75em;
	margin-bottom:0.5em;
}

label.subject input {
	width:25em;
	background:white;
	border:2px #336633 solid;
	padding-left:0.5em;
	/*background:white url(images/whiteInput.png) repeat-x top right;*/
}

textarea {
	display:block;
	border:2px #336633 solid;
	margin:0.2em 0em 0em 0em;
	width:35em;
	height:20em;
	padding:0.5em;
	/*overflow:auto;*/
	font-size:1em;
	font-family:sans-serif;
	/*background:white url(images/whiteInput.png) repeat-x top right;*/
}