/* -----------------------------------
** MEGO WEB PAGE
** MAIN STYLESHEET
/* -----------------------------------
** Created by Ken Cox for GrafikPharm
** www.grafikpharm.com
/* -----------------------------------
** COLOR PALETTE
/* -----------------------------------
** PRIMARY
** #374f51 - dark green
** #f2ece1 - light tan
** #ecdec9 - med tan
** -----------------------------------
** SECONDARY
** #90988c - muted green
** -----------------------------------
** ACCENT COLOR
** #569196 - meg green
*/

/* ---------------- RESETS---------------- */

/* zeros out all common page elements so they can be reliably styled later */
* { margin: 0; padding: 0; }
table {  border-collapse: collapse;  border-spacing: 0; } 
td, th { vertical-align: top; }
fieldset,img { border: 0; } 
address,caption,cite,code,dfn,th,var { font-style: normal; font-weight: normal; } 
ol,ul { list-style: none; } 
caption,th { text-align: left; } 
h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; } 
q:before, q:after { content:''; } 
abbr,acronym { border: 0; } 
a img { border: 0; }
sup {line-height: 100%;}

/* ---------------- GLOBAL ---------------------- */

body {
	background: #E9E1C7 url('../images/site_bg.gif') top left repeat-x;
	
	/* global typography */
	font-family: arial, verdana, helvetica, sans-serif;
	font-size: .8em;
}

/* ---------------- LINKS ---------------- */

a {
	color: #374f51;
}

a:hover {
	color: #569196;
}

/* ---------------- TEXT ---------------- */



/* ---------------- STRUCTURE ---------------- */

#container {
	width: 740px; /* PAGE WIDTH */
	margin: 0 auto;
	background-color: #374f51;
	border: 1px solid #fff;
	color: #374f51;
	position: relative;
}

/* masthead */
#masthead {
	height: 71px;
	background: #fff url('../images/masthead.gif') top left no-repeat;
}
		
	#content {
		margin: 0 17px 17px 17px;
	}
	
	#inner-content {
		border: 1px solid #fff;
		background: #fff url('../images/photo.jpg') top left no-repeat;
		overflow: auto; /* keep floats from breaking through bottom */
		padding-bottom: 20px;
	}

		#inner-content p {
			margin-left: 253px;
			margin-top: 22px;
			margin-right: 10px;
			line-height: 20px;
		}
		
		#inner-content h2 {
			font-weight: bold;
			margin: 33px 5px 0 253px;
			font-size: 1.2em;
			
		}

	#link {
		width: 204px;
		border-right: 9px solid #ecdec9;
		float: left;
		margin-top: 331px;
		text-align: right;
		padding: 8px 12px 8px 8px;
		background-color: #f2ece1;
		font-weight: bold;
	}

#footer {
	margin-top: 4px;
	padding-top: 4px;
	padding-right: 10px;
	text-align: center;
	color: #90988c;
	font-size: .8em;
}

	#footer a, #footer a:visited {
		color: #90988c;
	}
	
	#footer a:hover {
		color: #569196;
	}
/* MISC CLASSES */

.hide {
	position: absolute;
	top: 0;
	left: -1000px;
}

.clear {clear: both;}

/* TESTING */

/* div {border: 1px dotted red;} */

/* BROWSER BUG FIXES */

/* patch IE 5.x page centering bug */
* html body { text-align: center; }
* html #container {text-align: left;}
/* provide a couple of extra pixels to accommodate IE's needs */
* html #container {width: 742px;}