

body {
	font-size: 0.9em;
	margin: 0px;
	text-align: center; /* IE trick in CSS to center. Top+Bottom Left+Right. */
	color: #262365; /*navy*/
	font-family: 'Book Antiqua', 'Times New Roman', serif;
	position: relative;
	background: url(images/parchment_tile.jpg);
	background-color: #f3f0df; /*cream*/
	}
	
#sky {
	background: url(images/sky_tile.jpg) repeat-x; 
	background-color: #a6cef2; /*light blue*/
	height: 144px;
	margin-left: 0px;
	margin: 0px;
}
#sea {
	background-color: #262365; /*navy*/
	height: 51px;
}
#rope {
	background: url(images/rope_tile.jpg) repeat-x;
	background-color: #b6a281; /*light-brown*/
	height: 10px;
}

#content_wrapper {
	margin: 0px auto; /* Firefox trick in CSS to center. vert_margins horz_margins. */
	width: 940px; /* width of site */
	text-align: left; /* Set text back to normal after page is centered */
	position: absolute;
	top: 0px;
	
	/*for centering absolute divs in Firefox*/
	left: 0;
	right: 0;
}

a {
   outline: none;
}

/*---------------- Header ------------------------------------------*/
	
#header {
	height: 144px;
	margin-left: 0px;
	position: relative;
	margin: 0px;
}

#a_and_g {
	background: url(images/Annah_and_George.png) no-repeat;
	top: 38px;
	left: 311px;
	height: 70px;
	width: 316px;
	position: absolute;
}

/*---------------- Nav_bar ------------------------------------------*/
#nav_bar {
	height: 62px;
	position: relative;
}

#nav_bar ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nav_bar ul {
	margin: 0;
	padding: 0;
}

#boat {
	background: url(images/sailboat.png) no-repeat;
	position: absolute;
	height: 156px;
	width: 197px;
	bottom: 10px;
	right: 20px;
}

/*---------------------------- Main Content -------------------------------------*/

#map {
	background: url(images/map.jpg) no-repeat;
	position: absolute;
	height: 421px;
	width: 742px;
	z-index: -1;
}
#map_f {
	background: url(images/map_flipped.jpg) no-repeat;
	position: absolute;
	height: 421px;
	width: 742px;
	z-index: -1;
	left: -741px;
}

#content {
	min-height: 280px;/*475px;*/
	margin-left: 45px;
	margin-right: 25px;
	margin-bottom: 125px;
}

.center_page {
	text-align: center;
}

hr {
	border-top: dashed #848375 1px; /*medium grey*/
	border-bottom: none;
	border-left: none;
	border-right: none;
	
	margin-top: 30px;
	margin-bottom: 30px;
}

img {
	border: solid #262365 3px;
	border-style: double;
	margin: 10px;
}

.right_img {
	float: right;
	margin: 20px 30px; /*y x*/
	margin-right: 10px;
}

.left_img {
	float: left;
	margin: 20px 30px; /*y x*/
	margin-left: 10px;
}

.exception {
	border: none;
	margin: 0px;
}

.indent {
	margin-left: 40px;
}

#gift_button {
	margin-top: 30px;
	margin-left: 0px;
	border: none;
}

a:link #gift_button, a:visited #gift_button{
	border: solid #b6b6a3 1px;
}

a:active #gift_button, a:hover #gift_button{
	border: solid #747458 1px;
}

.subheading {
	font-size: 0.9em;
	font-weight: normal;
	font-style: italic;
}

/*---------------- Links ------------------------------------------*/

a:link, a:visited {
    color: #c9677c; /*dark salmon pink*/
    text-decoration: none;
}

a:hover, a:active {
	text-decoration: underline;
	color: #c9677c; /*dark salmon pink*/ /*#a40225; dark red*/
}

/*---------------- unordered lists --------------------------------*/

ul li {
	list-style: none;
	margin-top: 20px;
	font-weight: bold;
}

ul li ul li {
	list-style: disc;
	margin-top: 5px;
	font-weight: normal;
}

ul li ul li ul li {
	list-style: circle;
}

/*----------------------- Footer ----------------------------------------------*/

#footer {
	color: #c1bfae; /*light grey*/
	position: absolute;
	bottom: 10px;
	/*font-size: .8em;*/
	
	left: 0;
	right: 0;
	text-align: center;
}

#footer a:link, 
#footer a:visited {
    color: #c1bfae; /*light grey*/
    text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
	color: #848375; /*medium grey*/
}


#footer a:active {
	color: #848375; /*medium grey*/ 
}

/*----------------------- Buttons ----------------------------------------------*/
/*For image links:*/

#home_link {
	background: url("images/home.png") no-repeat 0 -51px;
	width: 106px;
	left: 0px;
}

#event_link {
	background: url("images/event_details.png") no-repeat 0 -51px;
	width: 135px;
	left: 106px;
}

#where_to_stay_link {
	background: url("images/where_to_stay.png") no-repeat 0 -51px;
	width: 135px;
	left: 241px;
}

#about_link {
	background: url("images/about_dartmouth.png") no-repeat 0 -51px;
	width: 172px;
	left: 376px;
}

#gifts_link {
	background: url("images/gifts.png") no-repeat 0 -51px;
	width: 66px;
	left: 548px;
}

#contact_link {
	background: url("images/contact_us.png") no-repeat 0 -51px;
	width: 111px;
	left: 614px;
}

#home_link, 
#event_link, 
#where_to_stay_link, 
#about_link, 
#gifts_link, 
#contact_link {
	display: block;
	height: 51px;
	position: absolute;
	top:0px;
}

#home_link:hover, 
#event_link:hover, 
#where_to_stay_link:hover, 
#about_link:hover, 
#gifts_link:hover, 
#contact_link:hover {
	background-position: 0 0;
}

/*Hide the link's default text*/

#home_link span,
#event_link span, 
#where_to_stay_link span, 
#about_link span, 
#gifts_link span, 
#contact_link span{
	display: none;
}

/*----------------------- Page Marker ----------------------------------------------*/

#knot {
	background: url(images/knot.png) no-repeat;
	position: absolute;
	height: 28px;
	width: 148px;
	bottom: -7px;
}

/*Change width of button to show the arrow which indicates the current page*/
body#home #knot {
	left: -7px;
}
body#event #knot {
	left: 100px;
}
body#where_to_stay #knot {
	left: 230px;
}
body#about #knot { 
	left: 388px;
}
body#gifts #knot {
	left: 501px;
}
body#contact #knot {
	left: 589px;
}