/* Basic stuff */

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: 'Alegreya Sans', Arial, Sans-Serif;
  font-size: 15px;
  line-height: 110%;
  background: #ffffff url(../images/bg/header.jpg) repeat-x top left;
  color: #333333;
}

/* Headings */

h1 {   
  clear: both;
  font-family: 'Alegreya Sans',Helvetica, Arial, Sans-Serif;
  font-size: 19px;
  color: #997755;
}

h2 {
  font-family: 'Alegreya Sans',Helvetica, Arial, Sans-Serif;
  font-size: 17px;
  color: #886644;
}

h2 a {
  color: #886644;
}

h2 a:hover {
  color: #aa6644;
}

h3 {
  font-family: 'Alegreya Sans',Helvetica, Arial, Sans-Serif;
  font-size: 16px;
  color: #886644;
}

h4 {
  font-family: 'Alegreya Sans',Helvetica, Arial, Sans-Serif;
  font-size: 15px;
  color: #886644;
}

h5 {
  font-family: 'Alegreya Sans',Helvetica, Arial, Sans-Serif;
  font-size: 14px;
  color: #886644;
}

h6 {
  font-family: 'Alegreya Sans',Helvetica, Arial, Sans-Serif;
  font-size: 13px;
  color: #999999;
}


h1, h2, h3, h4, h5, h6, p, dl {
  margin: 0px;
  padding: 6px 0px;
}


.leftColumn h1,
.leftColumn h2, 
.leftColumn h3,
.leftColumn h4,
.leftColumn h5,
.leftColumn h6,
.leftColumn p,
.leftColumn dl {
  padding-left: 0;
}

/* link colour */
a {
  color: #0077aa;
}

a:hover {
  color: #ff00ff;
}

/* diff colour for bold - no */
b {
  color: #333333;
}


/* list set up */
ol, ul {
  margin: 0px 25px;
  padding: 0px 0px;
  color: #333333;}

ul {
  list-style-image: url(../images/icons/bullet.png);
}

/* code set up */
code {
  margin: 1px 1px;
  padding: 1px;
  display: block;
  overflow: auto;
  font-family: courier, monospace;
  font-size: 14px;
  line-height: 100%;
  white-space: pre-line;
  background: #ddddee;
}



/**************************************************************
   Images
 **************************************************************/

img.floatRight {
  margin: 5px 0px 5px 5px;  
}

img.floatLeft {
  margin: 5px 15px 10px 0px;
}

a img {  
  border: 0px solid #ffffff;
}

a:hover img {  
  /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
  border: 0px solid #FFF !important;
  border: 0px solid #ffffff;
}



/**************************************************************
Tables -- added by BoB
**************************************************************/

table {
  padding: 0px 0px 50px 15px;

}

td.ppl {
  padding: 2px 50px 2px 0px; 
/*   background-color: #c1eafa; */
  border: solid 000;
  border-width: 1px 0px 0px 0px;
  width: 50%
}

td.pub {
  padding: 2px 20px 20px 0px; 
/*   background-color: #c1eafa; */
  border: solid 000;
  border-width: 1px 0px 0px 0px;
  width: 80%
}

td.pubextra {
  padding: 2px 20px 20px 0px; 
/*   background-color: #c1eafa; */
  border: solid 000;
  border-width: 1px 0px 0px 0px;
  width: 20%
}



td.research {
  padding: 2px 20px 20px 0px; 
/*   background-color: #c1eafa; */
  border: solid 000;
  border-width: 1px 0px 0px 0px;
  width: 80%
}

#content {  
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");  
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}




/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
  position: relative;
  height: 130px;
}

/* Holds the site title and subtitle */
#header #title {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 20%;
  padding: 5px;
  text-align: left;
  height: 120px;
  width: 800px;
}

#header h1 {
  position: absolute;
  top: 0px; 
  left: 0px; 
  margin: 0;
  padding: 0;
 font: 500 32px verdana, hevetica, arial, verdana, sans-serif;
  letter-spacing: -0px;
/**  text-transform: lowercase; **/
  color: #ddeeff;
}

/* careful! the position is absolute */
#header h2 {
  position: absolute;
  top: 60px; 
  left: 2px; 
  margin: 0;
  padding: 0;
  font: 700 14px hevetica, arial, verdana, sans-serif;
/**  text-transform: lowercase; **/
  color: #00aaff;
}

/* careful! the position is absolute */
#header h3 {
  position: absolute;
  top: 75px;
  left: 2px;
  margin: 0;
  padding: 0;
  font: 700 1em hevetica, arial, verdana, sans-serif;
/**  text-transform: lowercase; **/
  color: #00aaff;
}


/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
}

#header img.balloons {
  position: absolute;
  z-index: 2;
  top: 70px;
  right: 400px;
}



/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu { 
  float: left;
  width: 100%;
  clear: both;  
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px;
  padding: 5px 0.5em;
  font: 14px "Alegreya sans", verdana, sans-serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #555555;
}

#mainMenu li a:hover,
#mainMenu li a.here {
  color: #00aaff;
  border-top: 5px solid #00aaff;
}


#mainMenu li a.last {
  margin-right: 0;
}




/**************************************************************
   .sideMenu: The side bar menu
   Modified by DWM, as some elements weird
 **************************************************************/

ul.sideMenu {
  margin: 0;
  padding: 0;
}

.sideMenu li {
  margin: 10px 0px;
  padding: 0px 0px;    
  color: #555555;
  display: block;
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif); 
  font: 14px "Alegreya sans", verdana, sans-serif;

}

.sideMenu li.here {
  margin: 10px 0px;
  padding: 0px 0px;    
  color: #dd5533;
  display: block;
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif);  
  font: 14px "Alegreya sans", verdana, sans-serif;
}

.sideMenu li a {
  display: block;
  margin: 0 0px;
  padding: 0px 0px;    
  color: #555555;
  text-decoration: none;
  font: 14px "Alegreya sans", verdana, sans-serif;
} 

.sideMenu li a:hover {
  color: #0077aa;
  background: #eeeeee;
  font: 14px "Alegreya sans", verdana, sans-serif;
}



/* Submenu of active menu item */
.sideMenu li ul {
  margin: 0px 0px;
  padding: 0px 0px;
  font: 12px "Alegreya sans", verdana, sans-serif;
}

.sideMenu li ul li {
  margin: 0px 0px;
  padding: 0px 15px;    
  font: 12px "Alegreya sans", verdana, sans-serif;
  color: #555555;  
  background: url(../images/icons/bullet.png) no-repeat;
}

.sideMenu li ul li a {
  font: 12px "Alegreya sans", verdana, sans-serif;
  color: #0077aa;  
}

.sideMenu li ul li a:hover {
  font: 12px "Alegreya sans", verdana, sans-serif;
  color: #0077aa;  
  background: #eeeeee;
}



/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;
  padding-bottom: 4em;
}




/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;
  margin-top: -3.8em;
  background: #000 url(../images/bg/footer.jpg) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 27px;
}



/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 99%;
}
.width80 {
  width: 79%;
}
.width75 {
  width: 74%;
}
.width70 {
  width: 69%;
}
.width67 {
  width: 66%;
}
.width60 {
  width: 59%;
}
.width50 {
  width: 49.7%;
}
.width55 {
  width: 54.5%;
}
.width33 {
  width: 32.7%;
}
.width25 {
  width: 24.7%;
}
.width20 {
  width: 19.8%;
}
.width15 {
  width: 14.8%;
}

/**************************************************************
   Alignment classes
 **************************************************************/
.floatLeft {
  float: left;
}
.floatRight {
  float: right;
}
.alignLeft {
  text-align: left;
}
.alignRight {
  text-align: right;
}



/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666666;
}

.grey a {
  color: #999999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  margin-bottom: 2em;
  background: #555555 url(../images/bg/gradient.jpg) repeat-x bottom left; 
}

.standard {
  margin-bottom: 2em;
  background: #ffffff;
}





