/***************/
/* main layout */
/***************/
body { margin: 0; padding: 0; background:url(../images/body_bg.png) repeat-x; font-family:Arial, Helvetica, sans-serif;  color:#333;   /* backgrounds? */ }

#bodyWrapper { width: 981px; margin: auto; }

/* specific link colours for this site */
a         { color: #333; text-decoration: none; }
a:link    { color: #333; text-decoration: underline; }
a:visited { color: #333; text-decoration: none; }
a:hover   { color: #333; text-decoration: nine; }
a:active  { color: #333; text-decoration: none; }

h2{ font-size:12px; }

a.grey{ color:#333; text-decoration:underline; }
a.white{ color:#fff; text-decoration:underline; }
a.red{ color:#dc1f28; text-decoration:underline; }

/** formatting **/
.input{ background: #666666; height:10px; width:187px; padding:5px; color:#fff; border:0px; margin-bottom:4px; }


/*******************/
/* header elements */
/*******************/
#header { height:140px; position:relative; }
#header #txt { padding:29px 0 0 17px; }
#header #easy { position:absolute; bottom:0px; left:10px; }
#header #donate { position:absolute; bottom:0px; left:251px; }

#logo {  margin:15px 0 17px 0; }

ul#nav      {  background:url(../images/nav_bg.png) repeat-x; padding:10px 0 10px 9px;}
ul#nav li   { float: left; margin-right: 13px; }
ul#nav li a { display: block; font-size:11px;  text-decoration:none; color:#fff; }
ul#nav li a:hover { color:#000; }


/********************/
/* content elements */
/********************/
#main { margin:21px 3px 0 3px; }
.content { float:right; width:686px;  }

/** leftside **/
#leftside{ float:left; width:283px; min-height:200px; }

#blog_latest{  border:1px solid #d0d0d0; background:#f4f4f4; padding:12px; width:255px; height:131px; margin-bottom:15px;  }
#blog_latest h1, #donate_leftside h1{ margin-bottom:8px;  }
#donate_leftside{  border:1px solid #d0d0d0; background:#f4f4f4; padding:12px; width:255px; height:100px; margin-bottom:15px; }

#latest_news{ float:left; width:255px; border:1px solid #d0d0d0; background:#f4f4f4; padding:12px; margin-right:14px; }
#next_event{  float:right; width:366px;  background:url(../images/next_event_bg.png) repeat-x; height:248px; padding:12px; color:#fff;   }

/* for elements of dates, events, new etc.. **/
h3{ font-size:12px; font-weight:bold; margin-bottom:0px; padding:0;   }
h3 a{ font-size:12px; font-weight:bold; margin-bottom:0px; padding:0;  text-decoration:none;   }
h3 a:hover{ font-size:12px; font-weight:bold; margin-bottom:0px; padding:0; text-decoration:none;    }
.date{ font-size:11px; }
.list_content{ margin-top:10px; }

/**team members **/
.teamItem{ float:left; width:135px; margin:1px 1px 1px 1px; height:195px; }
#team_leftside{  width:344px; float:left;  margin-right:8px;  }
#team_rightside{ width:330px; float:right;  }

/** research member */
.research_member_item{ width:545px; float:right; }
.research_member_item h2{ padding:0px; margin:0px; }
.research_member_item img{ margin-top:5px; }
/***********/
/* headers */
/***********/
#dynamic-header {
	list-style: none;
	height: 326px; /* change me */
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 960px; /* change me */
}
#dynamic-header .dynamic-header-image {
	left: 0px;
	position: absolute;
	top: 0px;
}
#dynamic-header #dynamic-header-pagination {
	bottom: 10px;
	cursor: pointer; /* doesn't make sense but the 'links' have a weird transition otherwise */
	position: absolute;
	right: 10px;
	z-index: 1001;
}
#dynamic-header #dynamic-header-pagination span {
	background: #ccc;
	background: rgba(255, 255, 255, 0.8);
	color: #555;
	cursor: pointer;
	padding: 2px 5px;
}
#dynamic-header #dynamic-header-pagination span:hover,
#dynamic-header #dynamic-header-pagination span.dynamic-header-selected {
	background: #aaa;
	background: rgba(255, 255, 255, 0.45);
}


/*********/
/* items */
/*********/
.item          { margin-bottom: 10px; }
.item .title   { font-size: 1em; font-weight: bold; }
.item .image   { float: left; margin-right: 5px; margin-bottom: 5px; }


/*******************/
/* footer elements */
/*******************/
#footer { border-top:1px solid #d9d9d9; margin-top:20px;  font-size:10px;   }
#footer p{ margin:2px 0 0 0; }

#footer #content { margin-top:2px; background:#f4f4f4; min-height:200px;  }
#footer .item{ float:left; width:197px; padding:0 25px; border-right:1px solid #666666; min-height:100px; margin-top:22px;   }
#footer .item:last-child{ border-right:none;    }
#footer .item .icon a { margin-right:5px; }

#footer a { text-decoration: none; color:#333; text-decoration:none;  } /* for the clevercherry.com link */
#footer a:hover  {  text-decoration:underline;  } 

ul.logos{  }
ul.logos li:first-child{ margin-left:14px;  }
ul.logos li{ float:left; margin-right:20px;  margin-top:38px;   }


/***********************/
/* general form styles */
/***********************/
.required { color: #f00; }

/* all form elements are contained within a formrow div, with a label and
 *  then the element, this is the best way (but still not good) to emulate
 *  a table */
div.formrow {
  clear: both;
  text-align: left;
  margin-bottom: 10px;
}

div.formrow label {
  float: left;
  text-align: right;
  margin-right: 10px;
  width: 80px; /* default width for a default form, add new form ids and override */
}
div.formrow.indent { margin-left: 90px; } /* label width + label margin-right, override as above */
div.formrow label.radio {
	float: none;
	text-align: inherit;
	margin-right: 0;
	width: auto;
}

#recaptcha_widget         { margin-bottom: 15px; }
#recaptcha_image          { float: left; width: 300px; }
#recaptcha_options        { border-left: 1px solid #999; padding-left: 5px; float: left; margin-left: 10px; }
#recaptcha_response_field { width: 325px; }
#recaptcha_notice         { font-size: 0.833em; color: #555; }

/* message and error boxes, not just useful in contact form */
#messages,
#errors,
#warnings,
#info { margin-bottom: 10px; }
.message { border: 1px solid #080; background: #efe; color: #080; padding: 3px 5px; margin-bottom: 15px; float: left; } /* you may need to clearfix this */
.message.nomargin { margin-bottom: 0; } /* if before something with a margin-top */
.message.info { border-color: #880; background: #ffe; color: #880; } /* info box in yellow */
.message.warn { border-color: #f40; background: #ffe; color: #f40; } /* warning box in orange */
.message.error { border-color: #f00; background: #fee; color: #f00; } /* error box in red */
