html 
{
height:100%;
}

body 
{
    height:100%;
	font-family: Arial, Helvetica, sans-serif;
	font-weight:bold;
	color:white;
	line-height:1.5em;
	margin:0px;
	/*padding-bottom:60px;*/
}

#wrapper 
{
    min-height:100%;
    position:relative;
}

#ew_header {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:#262626 none no-repeat scroll 90% 50%;
	border-bottom:1px solid #4F4F4F;
	border-top:1px solid #000000;
	height:100px;
	margin:0 auto;
	width:100%;
}

#ew_header ul {
	margin-top:2em;
}

#ew_header ul li {
	display:inline;
}

/*=================================================
NAV MENU BACKGROUNDS & COLOURS
=================================================*/
#ew_header a:link, #ew_header a:visited {
	color:#aaaaaa;
	text-decoration:none;
}
/*#ew_header a:hover {
	text-decoration:underline;
}*/

/*=================================================
CUSTOM UNDERLINES FOR LINKS
=================================================*/
#ew_header a:hover {
	text-decoration:none;
	background-image: url("images/custom_underline.gif");
	background-repeat:repeat-x;
	background-position:100% 100%;
	padding-bottom:2px;
	white-space:nowrap;
}

#text_column {
	width:600px;
	padding-left:2em;
	font-size:100%;
	margin-left:auto;
	margin-right:auto;
}

#text_column h1 {
	line-height:normal;
}

#text_column h2 {
	margin-top:2em;
	clear:both;
}

#text_column h2 a:hover {
	text-decoration:none;
}

#text_column img.leftFloat{
	float:left;
	padding-right:1em;
}

#text_column img.rightFloat{
	float:right;
	padding-left:1em;
}

.ImageCaption, .caption {
	font-size:80%;
	font-style:oblique;
	color:#CCCCCC;
	line-height:normal;
}

#text_column .LeadIn {
	font-style:oblique;
}

h2 a, a.toc:link, a.toc:visited {
	color:white;
}

h2.portfolio {
	padding-top:2em;
}

/*=================================================
JQUERY SIMPLE DROP DOWN MENU (jsddm)
=================================================*/
#jsddm
{	margin: 0;
	padding: 0}
	
	#jsddm li
	{	float: left;
		/*list-style: none;*/}

	#jsddm li a
	{	display: block;
		background: #262626; /*background of the permanently visible menu (same as the header background)*/
		padding: 0px 0em;
		/*text-decoration: none;*/
        color: #EAFFED;/*undetermined effect*/
		white-space: nowrap}

	#jsddm li a:hover
	{background:#262626; /*colour of the permanently visible menu item when hovered over (same as the header background)*/
	    background-image: url("images/custom_underline.gif");
	    background-repeat:repeat-x;
	    background-position:100% 100%;
	    padding-bottom:2px;
	 }
		
		#jsddm li ul
		{	margin: 0;
			padding: 0;
			position: absolute; /*stops the width of permanently visible menu items being lengthened to width of their submenus*/
			visibility: hidden;}
		
		#jsddm li ul li
		{	float: none;
			display: inline}
		
		#jsddm li ul li a
		{	width: auto;
			background:black /*background of the drop down menu*/}
		
		#jsddm li ul li a:hover
		{background:#262626;
		    background-image: url("images/custom_underline.gif");
	        background-repeat:repeat-x;
	        background-position:100% 100%;
	        padding-bottom:2px;}

/*=================================================
FOOTER
=================================================*/
div#spacer {height:2em;}

div#footer 
{       position:absolute;
		bottom:0;
		width:100%;
		height:2em;			/* Height of the footer */
		background:#262626;
		text-align:right;
		font-size:x-small;
}

