@charset "utf-8";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	/* background: #660000; */
	background-attachment: scroll;
	background-image: url(img/gradientx.png);
	background-position: top;
	background-repeat: repeat-x;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
.twoColFixRtHdr #container { 
	/* width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	/* background: #FFFFFF; */
	background-color: transparent;
	margin: 0 100px; /* the auto margins (in conjunction with a width) center the page */
	border: 1px 0;
	border-color: #660000;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
.twoColFixRtHdr #header { 
	/* background: #FFD5D5; */
	margin: 0;
	background-color: transparent;
	padding: 0 10px 0 20px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	height: 140px;
} 
.twoColFixRtHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	display: none;
}
#logo {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	float: left;
}
#titlebox {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 30px; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	position: relative;
	/* top: -30px;  /* I've no idea why a negative number... but it works */
	text-align: center;
	top: 0px;
	overflow: hidden;
}
#title {
    margin: 0;
}
	
.twoColFixRtHdr #sidebar1 {
	/* float: right; /* since this element is floated, a width must be given */
	width: 100%; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	/* If you change the width of the sidebar, see also the right margin width on #mainContent */
	/* background: #FFD5D5; /* the background color will be displayed for the length of the content in the column, but no further */
	background-color: transparent;
	margin: 0;
	padding: 5px 0;
	text-align: center;
	color: #FFFFFF;
	font-weight: bold;
}
.navlink:hover {
    padding: 5px;
	font-weight: bold;
	color: black;
	/* border: 1px solid #660000; */
	/* outline: 1px solid invert; */
}
.navlink {
    margin: 0;
    padding: 5px;
	font-weight: bold;
	color: #FFFFFF;
	/* border: 1px solid #FFD5D5; */
}
.navlink a {
    font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}
.navlink a:hover {
	color: #660000;
	/* outline: 1px solid #FFFFFF; */
}

#currentpage {
    margin: 0;
    padding: 5px;
	font-weight: bold;
    background-color: #660000;
	color: white;
}
	
.twoColFixRtHdr #mainContent { 
	/* margin: 0 160px 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	margin: 0;
	padding: 20px 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background-color: #FFFFFF;
} 

#mainContent a {
	color: #660000;
}
#mainContent h2 {
	color: #660000;
}
#mainContent hr {
	color: #660000;
}

/* Standard setup for a picture with caption that sits on the left side of the text, with text flowing around it */
.leftpic {
	clear: left;
    float: left;
	padding: 10px 30px 10px 0px;
	font-style: italic;
	font-size: 80%;
}
.leftpic img {
    margin: 0;
	padding: 0;
}
.leftpic p {
    margin: 0;
	padding: 0;
	text-align: center;
}
/* and for a picture on the right */
.rightpic {
	clear: right;
    float: right;
	padding: 10px 0px 10px 30px;
	font-style: italic;
	font-size: 80%;
}
.rightpic img {
    margin: 0;
	padding: 0;
}
.rightpic p {
    margin: 0;
	padding: 0;
	text-align: center;
}
/* and for a picture in the centre */
.centrepic {
	clear:both;
    text-align: center;
	padding: 10px 0px 10px 0px;
	font-style: italic;
	font-size: 80%;
}
.centrepic img {
    margin: 0;
	padding: 0;
}
.centrepic p {
    margin: 0;
	padding: 0;
}

/* was getting coloured boxes around these images! */
.imglink {
    border-style: none;
	text-decoration: none;
	color: white;
}
.imglink img {
    border-style: none;
	text-decoration: none;
	color: white;
}

.newsitem {
    border-top: 2px solid #660000;
}
	
#angellist {
    margin: 0 40px;
    border: 3px solid #660000;
	padding: 5px 20px;
	float: left;
}
#angellist ul {
    list-style-type: none;
}
#angellist ul li {
    margin-left: 40px;
	text-indent: -40px;
}

#contactlist {
    list-style-type: none;
}
	
.twoColFixRtHdr #footer { 
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD; 
	/* border-top: 10px solid #FFFFFF; */
	margin: 10px 0 0 0;
	font-size: 80%;
	text-align: right;
} 
.twoColFixRtHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

/* Some one-offs */
#emerylogo {
    border: 1px solid black;
}
