/*----------  Resets ----------*/
/* it's good practice to zero the margin and padding of the body and other elements to account for differing browser defaults */
/*body, address, blockquote, dl, ol, ul, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, img, p, pre, div, form, input {*/
* {
    margin:0;
    padding:0;
} /*--- End Reset ---*/
html {
	height: 100%;
}
body {
	text-align: center;
	font-size: 0.83em;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #FAFCFE;
}
h1	{
	color: #2157a1;
	font-size: 1.4em;
	font-weight: bold;
	margin: 0em 0em 0.1em;
	display: block;
	/*vertical-align: text-top;*/
}
h2  		        {
	color: #2157a1;
	font-size: 1.2em;
	font-weight: bold;
	background-color: #EBEEF1;
	padding: 0.1em;
}

h3		             {
	color: #2157a1;
	font-size: 1.1em;
	font-weight: bold;
	margin: 0.3em 0 0.2em
}
h4			        {
	font-size: 1em;
	font-weight: bold;
	margin: 0.2em 0 0.2em;
}
h5			        {
	font-style: italic;
	margin: 0.2em 0 0.2em;
	font-size: 1em;
}
h6				     { margin: 0.2em 0 0.1em }
p {
	margin-top: 0.2em; margin-bottom: 0.2em
}
a			{ color: #2157a1; text-decoration: none }
a:link		{ color: #2157a1;}
a:visited	{ color: #2157A1;}
a:hover		{
	color: #2869C1;
	background-color: #EBEEF1
}
a:active	{ color: red }
a.black {color: black}
a.black:link {color: black }
a.black:visited {color: black }
a.black:hover { color: blue; text-decoration: none }
a img {
	border-style: none;
	vertical-align: text-bottom;
}
blockquote {
	margin-right: 2em;
	margin-left: 2pc;
}
#footer a img, #footer a:hover img {
	vertical-align: text-bottom;
	display: inline;
}



table		        /* font size set to ensure inheritance from body size */  {
	font-size: 1em;
	border-style: none;
	width: 100%;
	border-collapse: collapse  /* effect is the same as cell spacing = 0 and overrides cell spacing  */;
	margin: auto;
}

th   {
	background-color: #ebeef1;
	vertical-align: middle;
	padding: 0.25em;
}
td	 {
	vertical-align: top;
}
table.padded td {
	padding: 0.25em;
}
ul			      {
	padding-left: 1em;
	margin-left: 0.5em;
	list-style-type: disc;
}
li {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	list-style-position: outside;
}
ol		        { list-style-type: decimal; margin: 0.5em 5% }
ul ol		 { }
ul ul		 { margin-top: 0.5em; margin-bottom: 0.5em }
sm /*  small text  */    {
font-size: 0.8em
}
form { display: inline; }
input, textarea, select {
	border: 1px solid #2157A1;
	font-size: 1em;	
}	
textarea   /* Font and size for text area on forms */ {
	font-size: 0.9em;
	font-family: Arial 
}
input.txt {
	font-size: 0.83em;
}

.check {
	/* checkbox style */
	vertical-align: middle;
	display: inline;
	border-style: none;
	margin: 0px;
	padding: 0px;
}
.radio {
	border-style: none;
}
hr           {
	color: gray;
	background-color: gray;
	height:1px;
	margin: 0.25em 0em;
	/*font-size: 0.5em;*/
	vertical-align: middle;
	display: block;
	border: none;
}
.inner {
	margin: 5px;
	height: 100%;
	overflow: visible;
}
#url {
	font-weight: bold;
	color: #2157A1;
	padding-left: 1em;
}
.cent {
	text-align: center;
}
.prev  {float: left;}
.next  {float: right;}
.just { text-align: justify }
.sm      { font-size: 0.9em }

.phs2 {
	font-size: 1.1em;
	font-weight: bold;
	color: #2157A1;
	font-style: italic;
}

.bl  /* phs blue */  { color: #2157a1 }
.events  {
	font-size: 0.9em; 
	text-align: right }

div.label {
	float: left;
	text-align: right;
	width: 12em;
	font-weight: bold;
	color: #2157A1;
	clear: none;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}
div.fld {
	text-align: left;
	margin-left: 12.6em;
	padding-top: 0.25em;
	float: none;
	padding-bottom: 0.25em;
	}
.div50 {
	float: left;
	width: 49%;
	margin-right: 0.9%
}
.div100 {
	width: 100%;
	float: left;
}
.navbar {
	background-color: #EBEEF1;
	width: 100%;
}
.navbar .cent {
	width: 50%;
	margin-left: 25%;
}

.clearfix:after {
	/* another solution to force containment of floats */
    content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	font-size: 1px;
}

.smcaps  /* Small capitals */ { font-variant: small-caps }
.more    /* style for more link */    { font-style: italic; text-align: right }
.gbtn      {  /*syle used for google search go buttonm*/	
	color: white;
	font-weight: bold;
	background-color: #2157a1;
	padding-right: 0.1em;
	padding-left: 0.1em;
	border-color: #2157a1;
	border-style: outset;
}
.bluebutton       /* blue button style */ {
	color: white;
	font-weight: bold;
	background-color: #2157a1;
	border-color: #2157a1;
	border-style: outset;
	padding-right: 0.2em;
	padding-left: 0.2em;
	margin-right: 0.2em;
	margin-left: 0.2em;
}
.float_l /* float left */  { float: left }
.float_r /* float right */  { float: right }
.imglft {
	/* use to float an image left, so needs a bit of margin on the right */
	float: left;
	margin-right: 5px;
}
.img_rt {
	float: right;
	margin-left: 5px;
}

.txtbox { background-color: #ebeef1 }
.img-flc   { text-align: center; margin-right: 1em; margin-bottom: 1em; float: left; clear: both }
.img-frc    {
	text-align: center;
	margin-bottom: 1em;
	margin-left: 1em;
	float: right;
}
.caption  /* caption text style for images */ {
	font-size: 0.8em;
	text-align: center;
	margin: 0 auto;
	height: auto;
}
.blueback {
	background-color: #2157A1;
	color: #FFFFFF;
}
.blackborder {
 border: solid 1px #000 }
.bottomborder {
	border-bottom: 1px solid #808080;
}

.phs {
	font-variant: small-caps;
	color: #FFFFFF;
	background-color: #2157A1;
	padding-left: 0.2em;
	padding-right: 0.2em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	font-style: italic;
}
.pubs {
	padding-left: 2em;
	text-indent: -2em;
}
#container {
	width: 85%;
	height: 100%;
	margin: auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element*/
	background-color: #FFFFFF;
	border: 1px solid #2157A1;
	max-width: 1000px;
} 
#banner {
	background-color: #FFFFFF;
	overflow: hidden;
}
#banner h1 {
	font-size: 3em;
	color: #FFFFFF;
	font-style: italic;
	font-variant: small-caps;
}

#header {
	font-size: 0.85em;
	margin-bottom: 3px;
	line-height: 1.6em;
}
#bann_imgs {
	background-image: url(../images/Banner2.jpg);
	background-repeat: repeat-x;
	height: 96px;
}

#leftsidebar {
	width: 8.5em;
	float: left;
}

#main {
	margin-left: 8.6em;
	background-color: #FFFFFF;
	height: 100%;
}
#main .inner {
	margin-top: 0px;
	margin-right: 0px;
}
#dataform {
	padding-top: 0.25em;
	padding-bottom: 0.25em;

}
#dataform select {
	/* style for dropdown boxes on forms */
	width: 12em;
}
#dataform .wide_select {
	width: 20em;
}
#dataform td {
	padding: 0.25em;
}

#linkstab {
	/* style for table of downloads and links  */
}
#linkstab td {
	border-bottom: 1px solid #CCCCCC;
	padding: 0.1em 0.2em;
}

#footer {
	clear: both;
	text-align: center;
	font-size: 0.85em;
	padding: 0.1em 0.25em;
	margin-top: 5px;
	background-color: #2157A1;
	color: #FFFFFF;
}
#footer a {
	color: #FFFFFF;
}

#footer a:hover {
	color: #EBEEF1;
	background-color: #2869C1
}
#copyright {
	font-size: 0.85em;
	text-align: center;
}
#ft_cent {
	/* this creates a centred text in the footer  */
	width: 50%;
	text-align: center;
	margin-left: 25%;
}
#ft_left {
	float: left;
	width: 20%;
	text-align: left;
}
#ft_right {
	float: right;
	width: 20%;
	text-align: right;
}
#error_zone {
	color: #CC3333;
	visibility: hidden;
}

