/* General layout styles for CTC site
   All color styling is in seasonal style sheets */

/* LAYOUT ELEMENTS */

body {
	margin: 0px auto;
	padding: /* 30px */ 0;
	background-attachment: fixed;

}

.checkboxlabel {
	width: 250px;
	text-align: left;
	font-size: .9em;
	font-weight: normal;
	line-height: 1.4em;
	/*display: inline;
	float: right;*/

}


/* Contains all page contents within the border: pageheader (pagetitle, banner image, and main nav),
mainContent, and footer */
div#outerWrapper {
	width: 708px;
	height: auto;
	margin: 20px auto;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .8em;
	border: 1px solid;
}
div#outerWrapperWide {
	width: 900px;
	height: auto;
	margin: 20px auto;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .8em;
	border: 1px solid;
}

img#pagetitle {
	margin: 10px auto 0;
}

/* Contains mainContent and footer */
div#innerWrapper {
	letter-spacing: 0.03em;
	margin-top: 20px;
	padding: 20px 30px 20px;
}

div#mainContent {
	padding: 20px 20px 0 20px;
}

/* IE Windows hack \*/
* html div#innerWrapper {
	margin-top: 0;
	padding-top: 0;
}
/* end IE hack */

div#highlights {
	border: 1px solid;
	margin: 40px 20px;
	padding: 0 20px;
}

div#colLeft {
	float: left;
}

div#colRight {
	float: right;
	margin-right: 40px;
}

div.clear {
	clear: both;
}

/* NAVIGATION */

div.nav {
	width: 100%;
	float: left;
	border-bottom: 1px solid;
	font-weight: bold;
	font-size: .9em;
	letter-spacing: 0.04em;
	/* This doesn't center the ul in the div, don't know why.
	text-align: center; */
}

/* IE Windows hacks \*/
* html div.nav {
	float: none;
}
/* Peekaboo bug */
* html #innerWrapper {
	height: 1%;
}
/* end of hack */



div#mainnav {
	border-top:1px solid;

}

div.nav ul {
	/* Firefox needs the 0 top and bottom margins else the div gets too tall. */
	margin: 0 0 0 0px; 
	/* This doesn't center the li elements in the div, don't know why. */
	/* display: block;
	margin: 0 auto; */
}

* html div.nav ul {
	float: left; /* IE needs this; doesn't hurt in other browsers */ 
	margin-left: 15px;
}

div.nav li {
	float: left;
	list-style-type: none;
	padding: 12px 6px; /* must be same as padding on div.nav li a */
}

div.nav a {
	padding: 12px 6px; /* must be same as padding on div.nav li */
}

div.nav a, div.nav a:link, div.nav a:visited, div.nav a:hover, div.nav a:active {
	
	text-decoration: none;
	border: none;
}

/* Make the active mainnav link connect to the secondary nav menu */
/*
#mainnav a.active.has2nav {
	border-bottom: 1px solid;
}*/

/* FOOTER */

div#footer {
	padding: 20px 0;
	margin-top: 30px;
}

#footerLinks {
	float: left;
	padding-right: 20px;
	margin-top: 60px;
}

div#footer img#logo {
	margin-left: 10px;
}


ul#footerLinks {
	text-align: right;
	float: right;
}

ul#footerLinks li {
	font-size: .8em;
	font-weight: bold;
	display: inline;
	list-style: none;
	padding: 0 20px;
	border-right: 1px solid;
}
ul#footerLinks li.last {
	border-right:  none;
}

#footerLinks a, #footerLinks a:link, #footerLinks a:visited {
	text-decoration: none;
	border-bottom: none;
}

#footerLinks a:hover {
	text-decoration: none;
	border-bottom: 1px solid;
}

#footerLinks a:active {
	text-decoration: none;
	border-bottom: none;
}

p.pipedlinks {
	font-weight: bold;
	font-size: .88em;
}

ul.pipedlinks {
	margin-top: 30px;
	margin-left: 0;
	padding-left: 0;
}

ul.pipedlinks li {
	font-weight: bold;
	font-size: .88em;
	border-left: 1px solid;
	list-style-type: none;
	padding: 0 20px;
	display: inline;
}

ul.pipedlinks li.first {
	border-left: none;
	margin-left: 0;
	padding-left: 0;
}

/* LISTS */

div#mainContent dd, div#mainContent li {
	margin-bottom: 10px;
}
 
dl.boardmembers dt {
	font-style: italic;
	margin-top: 15px;
}

div#mainContent dl.boardmembers dd {
	margin-bottom: 3px;
}

ul.horiz li {
	display: inline;
}

ul.nobullet {
	line-height: 0.5em;  /*RAH changed from 0.2 to 1.2*/
}

ul.nobullet li {
	list-style-type: none;
	margin-bottom: 0;
	margin-top: 1px;
}

.tightlist {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
/* Event listings on home page and events page */

div#mainContent ul.event {
	margin-top: 20px;
	margin-bottom: 20px;
}

div#mainContent ul.event li {
	list-style-type: none;
	padding: 0;
	margin: 4px 0;
}

ul.event {
	font-weight: normal;
 }
 
li.eventdate {
	font-weight: bold;
}

div#mainContent ul.event li.eventdescr {
	margin-top: 20px;
}


/* Nested lists */
li ul {
	margin-top: 10px;
	margin-bottom: 30px;
}


/* In home page highlights it's a span, in
the events itinerary it's an li */
ul.event li.eventtime, ul.event span.eventtime {
	font-weight: normal;
}

ul.event {
	font-weight: normal;
}
 li.eventname {
	font-weight: 600;

}

div#highlights ul.event li.eventloc {
	font-style: italic;
}

.more {
	font-size: .88em;
	margin-top: 30px;
}

div.eventslist ul {
	margin-left: 0px;
}

li span.eventheading {
	font-style: italic;
}

/* FORMS */

form {
	margin: 5px 0;
	/* Doesn't work in IE6, and best to use same for all 
	width: 95% */
	width: 515px;
	padding: 15px 20px 0px;
	float: left;
}

form p {
	margin-left: 20px;
	margin-right: 20px;
} 

fieldset {
	border: 1px solid;
	font-size: .9em;
	margin: 0 0 20px 0;
	padding: 8px 0 12px;
	width: 100%;
	float: left;
}

legend {
	font-weight: bold;
	margin-left: 40px;
}

/* IE needs this else pushes contents right underneath legend */
div.fieldsetContents {
	margin-top: 5px; /* was 20 */
}

div.formNode {
	width: 100%;
	margin: 7px 0 7px 0;
	float: left;
}

/* h6.fauxlabel is used for a label on a set of radio buttons or checkboxes. It is styled to look like an
html label element, but doesn't have the label functionality. */
label, h6.fauxlabel {
	font-size: 1em;
	width: 170px; 
	text-align: right;
	font-weight: bold;	
	line-height: 1.4em;
	display: block;
	float: left;
}

/* This operates on text input and also on checkboxes that aren't in 
a formOptions div, do don't use just input.text. It gets undone for
formOptions input below with a -20px margin. */
input, select {
	font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 1em;  /* IE default is too big */
    font-weight: normal;
	margin: 0 0 0 5px;
}


/* end IE hack */

input.text {
	padding-left: 1px; /* between text and left edge of input area */
}

input.text, select, textarea {
	border: 1px solid;
}

div.formOptionsWithLabel select {
	margin-left: 5px;
	margin-top: 15px; /* good for Firefox, bad for Opera and IE6 */
}

/* Select elements drop too far down in IE */
/* But Opera has same problem... */
/* IE6 hack \*/
* html form ul.horiz select {
	margin-top: 0px;
}

textarea {
	margin: 7px 25px 7px;
	width: 410px;       /* This value should remain constant */
	height: 150px;     /* This value can be overridden with another style, if needed */
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1.4em;  
	padding: 1px 2px;  /* between text and borders */
}

label.textarea {
	float: none;
	text-align: justify; 
	width: 450px;  /* align with right border of textarea */
	margin: 7px 40px 0 25px;
	padding: 0;
	line-height: 1.3em;
	font-weight: normal;
}

/* Move the first in a series of textareas up */
label.textarea.top {
	margin-top: 0;
}

label.textarea.bold {
	font-weight: bold;
}
textarea.medium {
	height: 200px; 
	overflow: scroll;
}

textarea.long {
	height: 300px; 
	overflow: scroll;
}
textarea.skinny {
	margin: 0 0 0 5px;
	height: 32px;
	width: 300px; 
	overflow: auto;
}
textarea.veryskinny {
	margin: 0 0 0 5px;
	height: 96px;
	width: 200px; 
	overflow: auto;
}
textarea.short {
	height: 100px;
}

textarea.veryshort {
	height: 50px;
	overflow: auto;
}

/* fauxradio is used for input element labels that should look like radio labels */
label.radio, label.checkbox, label.fauxradio {
	display: inline;
	float: none;
	width: auto;
	text-align: left;
	font-weight: normal;
}

ul.horiz label.radio, label.checkbox, label.fauxradio {
	margin-right: 10px;
}

/* Not sure why checkbox label needs this and radio label doesn't... */
label.checkbox {
	margin-left: 6px;
}

label.fauxradio {
	margin-left: 3px;
}

/* If "fauxradio" inputs are lined up in columns with labels on the left, the righthand column may need to 
be pulled leftward to prevent hanging out too far to the right. */
label.rightColumn {
	margin-left: -8px;
}

/* formOptions encloses a set of radio buttons or checkboxes */
div.formOptions {
	margin: 0 15px 0 180px;  
}

div.formOptions li {
	margin-bottom: 5px;
}

/* formOptionsWithLabel wraps around a formOptions div if we want to add a heading */
/* div.formOptionsWithLabel {
	margin-top: 10px;
	margin-bottom: 5px;
} */

/* float the formOptions left to circumvent IE6 bug: if not floated, the first button/checkbox is 
slightly indented to the right */
div.formOptionsWithLabel div.formOptions {
	padding: 0;
	float: left;
	margin-left: -20px; 
}

/*
div.formOptions ul {
	margin-top: 20px;
}*/

form .formOptions input {
	margin-left: 0;
}

div.formOptions li {
	list-style-type: none;
}

/* For elements whose display is dependent on an event */
.hidden {
	display: none;
}


input.button  {
	border-width: 1px;
	border-style: outset;
	margin-top: 20px;
	margin-left: 10px;
}

form.justbutton fieldset {
	border: 0;
} 

form table {
	margin: 10px 20px;
}

form h2 {
	margin-left: 10px;
}


/* PAGE LINKS */

a, a:link, a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
/*	border-bottom: 0px solid;*/
	border-bottom-width: 1px;
	border-bottom-style: solid;
	/*border-bottom-color: -moz-use-text-color; this doesn't work well*/
}
a:active {
	text-decoration: none;
}

/* HEADINGS */

h1 {
	font-size: 1.3em;
	font-weight: 600;
	margin-top: 40px;
	margin-bottom: 20px;
}

div#highlights h1 {
	text-align: center;
}

h2 {
	font-size: 1.1em;
	margin-top: 20px;
	padding-bottom: 2px;
}

h3 {
	font-size: 1em;
	margin-top: 20px;
}

h3 a {
	border-bottom: 1px solid;
}

h4 {
	font-size: 1em;
	font-style: italic;
}

/* TABLES */

table#trailblazes { /* trailblazes is used several places for tables on the page body */
	border: 1px solid;
	border-collapse: collapse;
}

table#trailblazes td.th {
	font-weight: bold;

}

table#trailblazes td {
	border: 1px solid;
	padding: 6px;	
}
table#formtable {  /*these for tables on Forms */
	border: 1px solid;
	border-collapse: collapse;
}

table#formtable td.th {
	font-weight: bold;
	font-size: .5em;}
th {
	font-weight: bold;
	font-size: .8em;}

table#formtable td {
	border: 1px solid;
	padding: 6px;	
}

table#pastevents td, table#events td  {
	vertical-align: top;
	padding: 10px 5px;
}


table#pastevents td.eventtitle {
	width: 65%;
}


table#events td.eventtitle {
	width: 45%;
}

table#events td.eventdate {
	width: 30%;
}

/* Both event table listings and event details */
.eventalert {
	font-size: 1em;
	font-variant: small-caps;
	font-weight: bold;
}
.smallnotice {
	font-size: 11px;
}	
/* Event details only */
li.eventalert {
	font-size: 1.1em;
}



/* IMAGES */

div#mainContent img {
	padding: 2px;
	border: 0px solid;
	margin-top: 20px; /* was 40/20*/
	margin-bottom: 0px;
}

div#mainContent img.inline {
	padding: 0px;
	border: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
}

div#mainContent img.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	
}

div#mainContent img.floatright {
	float: right;
	margin-left: 10px;
	/* Not sure if this is a general thing. Needed for guidebook img in trails/maps.php. Maybe just need inline style */
	margin-top: -10px; 
}

div#mainContent img.floatleft {
	float: left;
	margin-right: 10px;
	margin-top: 5px;

}

div#mainContent img.noborder, div#mainContent form img {
	border: 0;
	padding: 0;
}

/* MISCELLANEOUS */


/* For text next to a right-floated img. Needed for IE. */
p.floatleft, ul.floatleft, div.floatleft {
	float: left;
	width: 300px;
}

/* For text next to a left-floated img. Needed for IE. */
p.floatright, ul.floatright, div.floatright {
	float: right;
	width: 300px;
}

abbr {
	border-bottom: none;
}

div.quotation {
	/* 470px width prevents wrapping of the top quote on the home page */
	width: 470px;
	margin: 0 auto;
	text-align: center;
}

p.quote {
	font-style: italic;
	font-size: .9em;
	line-height: 1.5em;
}

p.quotesource {
	font-size: .8em;
	margin-top: -6px;
}
p.copyrite {
	font-size: .8em;
	margin-top: -6px;
	text-align: center;
}

.errordetail {
	font-weight: normal;
	font-size: 0.9em;
}
	
.bold {
	font-weight: bold;
}

.nobold {
	font-weight: normal;
}

