/* style sheet for Wordpress theme macaulay */

/*
Theme Name: Macaulay Blogs
Theme URI: http://blogs.macaulay.ac.uk
Description: This is the theme for the Macaulay Blogs site.
Version: 1.1
Author: Macaulay Institute
Author URI: http://www.macaulay.ac.uk/
Tags: None yet available

*/

body  {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 1em;
	background: #F2F2F2;
	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;
}

/* Tips for this Hybrid layout
1. Since the side columns em-based sizing is based on the user's default font size, you will want to be sure that background graphics in the columns take that into account. Built correctly, this is more accessible for those that need larger font sizes, since the width of the columns remains proportionate. If this is undesirable with your design, simply change the width to a pixel size and be sure to change the margins on the #mainContent div accordingly.
2. Since the sizing of side columns in this layout are based on the 100% font size in the body element, if you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the column widths will downsize proportionately. You may want to increase their widths, and the size of the #mainContent div's side margins, to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
4. The #container div is not necessary for this layout at the 100% width. You may want to use it to create faux columns or limit the width of the layout.
5. It is not neccessary to have the 100% width on the #container div since, by nature, a div takes up 100% of the available space. It is here so that if you want to decrease the size of the overall container - perhaps leaving a bit of margin on each side - this will already be available for adjustment.
*/
.thrColHybHdr #container { 
	width: 960px;
	background: #FFFFFF;
	/*margin: 0 auto;  the auto margins (in conjunction with a width) center the page if needed */
	text-align: left; /* this overrides the text-align: center on the body element. */
	margin:0 auto;
}  
.thrColHybHdr #header_lightgreen { 
	position:relative;
	background-image: url(http://www.macaulay.ac.uk/images/shadedgreen61.jpg);
	background-position: 0px 0px;
	background-repeat:repeat-x;
	text-align: right;
	color: #FFFFFF;
	font-size: 2em;
	line-height: 61px;
	font-weight: bolder;
	padding-right: 10px;
	height: 61px;
} 
.thrColHybHdr #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 */
}

/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColHybHdr #sidebar1 p" rule.
*/
.thrColHybHdr #leftcontent {
	float: left; 
	width: 11em; /* since this element is floated, a width must be given */
/*	background: #EBEBEB; */ /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0; /* top and bottom padding create visual space within this div */
	padding-left: 15px;
}
.thrColHybHdr #rightcontent{
	float: right; 
	width: 11em; /* since this element is floated, a width must be given */
/*	background: #EBEBEB; */  /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 0; /* top and bottom padding create visual space within this div */
/*	border-left: 1px solid #ccc; */
	margin-left: 15px; 
}
.thrColHybHdr #leftcontent h3, .thrColHybHdr #leftcontent p, .thrColHybHdr #rightcontent p, .thrColHybHdr #rightcontent h3 {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}

/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
.thrColHybHdr #centercontent {
 	margin: 0 12em 0 12em;  /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */ 
	padding: 0 10px 0 10px; /* padding here creates white space "inside the box." */

} 
.thrColHybHdr #footer { 
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD;
} 
.thrColHybHdr #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 */
}

/* Miscellaneous classes for reuse */
.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;
}

.navigation {
	padding: 0px;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 18px;
	text-align: center;
	width: 100%;
/*	border: 1px grey solid; */
}

#breadcrumbs {
	/*text-align: right; */
	text-decoration:none;
	color: #669900;
	font-size: 0.9em;
	width: 100%;
	/* float: right; */
	line-height: 55px;
	height:55px;
	padding-right: 10px;
	margin-left: 15px;
}

/* Top navigation menu */
#topmenu {
	margin-top: 0px;
	color: #669900;
	font-size: 0.8em;
	text-align: right;
	border-top:#FFFFFF solid 5px;
}
#topmenu a:link, #topmenu a:visited {
	color: #000000;
	text-decoration: none;
}
#topmenu a:hover {
	color: #669900;
	text-decoration: none;
}
/* Top navigation menu */

/* Formatting of the hyper-links */
a:link, a:visited {
	/*font-weight: bold;*/
	text-decoration: none;
	color:#009900;
}

a:hover {
	text-decoration: underline;
	color: #336600;
}
/* Formatting of the hyper-links */

/*footer*/

.footer_outer {
	border: 1px solid gray;
	text-decoration: none; 
	clear: both;
	width: 100%;
	background: #FFFFFF;
	text-align: left;
	color: #000000;
	font-size: 0.8em;
}

.footer_outer a:link, .footer_outer a:visited {
	text-decoration: none;
	color: #000000;
}

#foot {
	width: 100%;
	text-decoration: none;
	background: #FFFFFF;
	text-align: right;
	color: #FFFFFF;
	font-size: 0.8em;
}
.foot {
	width: 100%;
	text-decoration: none;
	background: #FFFFFF;
	text-align: right;
	color: #000000;
	font-size: 0.8em;
}
#foot a:link, #foot a:visited {
	text-decoration: none;
	color: #000000;
}
.foot a:link, .foot a:visited {
	text-decoration: none;
	color: #000000;
}

#foot a:hover {
	text-decoration: none;
	color: #999999;
}
.foot a:hover {
	text-decoration: none;
	color: #999999;
}
#footleft {
	width: 100%;
	text-decoration: none;
	background: #FFFFFF;
	text-align: left;
	color: #000000;
	font-size: 0.8em;
}
.footleft {
	width: 100%;
	text-decoration: none;
	background: #FFFFFF;
	text-align: left;
	color: #000000;
	font-size: 0.8em;
}

/*end of footer*/

/* Formatting of Images not to have a border - only noticed when RSS feed icon added */
a img { border:none; }

#menu_header {
	background-image:url(http://www.macaulay.ac.uk/images/shadedgreen.jpg);
	background-repeat: repeat-x;
	text-align:right;
	font-weight:bold;
}

/*#menu_header li a {
	padding: 0px 50px 0px 0px;
}*/

#menu_header div.lefttriangle {
 	background-image:url(http://www.macaulay.ac.uk/images/triangle4.gif);
	background-position: 0px 0px;
	background-repeat:no-repeat;
}

/* test of the triangle thing */

ul li.indent_1 a {
/*	border: 1px dashed red; */
	display: block;
	padding-left: 10px;
	}
	
ul li.indent_2 a {
/*	border: 1px dashed red; */
	display: block;
	padding-left: 20px;
}

#leftcontent  {
	width: 170;
	padding-left:5px;
	padding-right:5px;
}
	
#leftcontent ul {
	margin: 0;
	padding:0;
	list-style: none;
}
	
#leftcontent ul li {
	margin: 0px;
	font-size: 0.8em;
	position: relative;
	list-style: none;
	padding: 5px 5px 5px 5px;
	border: 1px solid #ffffff;
	text-decoration: none;
	background-color: #669900;
	color: #ffffff;
}
#leftcontent ul li a:link, #leftcontent ul li a:visited {
	text-decoration: none;
	color: #ffffff;
}
#leftcontent ul li a:hover {
	text-decoration: none;
	color:#000000;
}

/* test of the triangle thing */

#leftcontent ul li#menu_header {
	margin: 0px;
	font-size: 0.8em;
	position: relative;
	list-style: none;
	padding: 0px 5px 0px 0px;
	border: 1px solid #ffffff;
	text-decoration: none;
	background-color: #669900;
	color: #ffffff;
	line-height: 20px;
}
/* test of the triangle thing */

.post {font-size: 0.85em;}

#clearfooter{
	clear:both;
	height:30px;
	}

/*Alterations to deal with James Hutton Institute*/

.bannertext {
	padding-right: 15px;
	padding-left: 15px;
}

.bannertext a:link, .bannertext a:visited {
	text-decoration:none;
	font-weight:bold;
	color:#000000;
}

.bannertext a:hover {
	text-decoration:none;
	color:#333333;
}

#banner {
	border:1px black solid;
	margin-bottom:7px;
	padding:5px 5px 11px 5px;
/* Height altered by Andrew Thorburn - 28th March 2011*/
/*	height:114px;
	height: 150px; */
}

.homepagelogos {
	position: relative;
	float:left;
	width:960px;
	padding: 30px 0px 15px 0px;
}
