/* Style file for Sustainable Blewbury website */

/* Where relevant, link style and behaviour are also specified */

body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	background-color: #FFFFFF;
	margin: 0; /* good practice to zero the margin and padding of the body element */
	padding: 0;
	text-align: center; /* centres container in IE 5*; text is set to left aligned default in the #container selector */
	color: #005500;
}
.twoColHybLtHdr #container { 
	width: 100%;  /* create a container 100% of the browser width */
	background: #F4FFF4;
	background-image: url(images/Old%20Blewbury%20map214.jpg);
	margin: 0 auto; /* auto margins (in conjunction with width) centre the page */
	border: 1px solid #000000;
	text-align: left; /* overrides the text-align: centre on the body element. */
} 
.twoColHybLtHdr #header { 
	background: #DDDDDD; 
	padding: 0 0px;  /* 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. */
} 
.twoColHybLtHdr #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: 0px 0; /* using padding instead of margin keeps the element away from the edges of the div */
}

/* Tips for sidebar1:
1. Since we are working in relative units, it's best not to use padding on the sidebar. It will be added to the overall width for standards compliant browsers creating an unknown actual width. 
2. 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 ".twoColHybLtHdr #sidebar1 p" rule.
*/
.twoColHybLtHdr #sidebar1 {
	float: left; 
	width: 200px; /* since this element is floated, a width must be given */
	background: #FFF0C8; /* background colour is displayed only for the length of the content in the column */
	padding: 0 0 5px 0; /* top and bottom padding could be used to create visual space within this div  */
}
.twoColHybLtHdr #sidebar1 h3, .twoColHybLtHdr #sidebar1 p {
	margin-left: 0px; /* left and right margin should be given to every element placed in the side columns */
	margin-right: 0px;
}

/* Tips for mainContent:
1. 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.
2. Be aware it is possible to cause float drop (the dropping of the non-floated mainContent area below the sidebar) if an element wider than it can contain is placed within the mainContent div. WIth a hybrid layout (percentage-based overall width with em-based sidebar), it may not be possible to calculate the exact width available. If the user's text size is larger than average, you will have a wider sidebar div and thus, less room in the mainContent div. You should be aware of this limitation - especially if the client is adding content with Contribute.
*/

.twoColHybLtHdr #mainContent {
	/* the right margin can be given in percentages or pixels. It creates space down the right side of the page. */
	color: #005500;
	font-size: 13px;
	padding: 5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	margin: 0 5px 0 205px; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
}
.twoColHybLtHdr #mainContent a:link {color: #005500; text-decoration: none; font-weight: bold;}
.twoColHybLtHdr #mainContent a:visited {color: #005500; text-decoration: none; font-weight: bold;}  
.twoColHybLtHdr #mainContent a:focus {color: #005500; text-decoration: underline; font-weight: bold;}
.twoColHybLtHdr #mainContent a:hover {color: #005500; text-decoration: underline; font-weight: bold; background-color: #FFCC66;}
.twoColHybLtHdr #mainContent a:active {color: #005500; text-decoration: none; font-weight: bold;}

.twoColHybLtHdr #footer { 
	padding: 0 0px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD;
} 
.twoColHybLtHdr #footer p {
	margin: 0; /* zeroing margins of the first element in the footer avoids the possibility of margin collapse - a space between divs */
	padding: 0px 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;
}

tr, td, p, form {
	margin: 3px 3px 10px 10px;
	padding: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

img {margin: 3px; padding: 0px;}

table {margin: 0px; padding: 0px; border-width: 1px; border-color: #000000;}

/* Top banner */
.banner {
	background-color: #008000;
	color: white;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	border-width: 1px;
	padding: 0;
	border-color: #FFFFFF;
}
.banner a:link {color: #FFFFFF; background-color: #008000; text-decoration: none;}
.banner a:visited {color: #FFFFFF; background-color: #008000; text-decoration: none;}
.banner a:focus {color: #FFFFFF; background-color: #008000; text-decoration: none;}
.banner a:hover {color: yellow; background-color: #008000; text-decoration: underline; font-style: italic;}
.banner a:active {color:white; background-color: #008000; text-decoration: none;}

/* Left-hand column containing links and blank space */
.columnindex {background-color: #FFF0C8;}

/* Highest level of heading */
.entryheading {
	color: #B03000;
	font-size: 19px;
	font-weight: bold;
	padding: 5px;
	margin-top: 12px;
	margin-right: 5px;
	margin-bottom: 3px;
	margin-left: 5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.entryheading a:link {color:#B03000; text-decoration: none;}
.entryheading a:visited {color:#B03000; text-decoration: none;}
.entryheading a:focus {color:#B03000; text-decoration: none;}
.entryheading a:hover {color:#B03000; text-decoration: underline;}
.entryheading a:active {color:#B03000; text-decoration: none;}

/* Main body text style */
.entrytext {
	color: #000000;
	font-size: 13px;
	padding: 5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	margin: 0 5px 0 5px; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
}
.entrytext a:link {color: #005500; text-decoration: none; font-weight: bold;}
.entrytext a:visited {color: #005500; text-decoration: none; font-weight: bold;}  
.entrytext a:focus {color: #005500; text-decoration: underline; font-weight: bold;}
.entrytext a:hover {color: #005500; text-decoration: underline;	font-weight: bold; background-color: #FFCC66;}
.entrytext a:active {color: #005500; text-decoration: none;	font-weight: bold;}

/* Left, centre and right of banners at head and foot of page */
.footleft {font-size: 12px; margin: 3px 0 3px 0;}
.footmid {font-size: 13px; margin: 3px 0 3px 0;}
.footright {font-size: 10px; margin: 3px 0 3px 0;}
.headleft {font-size: 16px;}
.headmid {font-size: 26px;}
.headright {font-size: 14px;}

/* Links in left-hand vertical column */
.index {
	background-color: #FFF0C8;
	color: #005500;
	font-size: 12px;
	padding: 0 10px 0 10px;
	margin: 0px 0px 0px 0px; /* left and right margin should be given to every element placed in the side columns */
}
.index a:link { color: #005500; text-decoration: none; font-weight: normal}
.index a:visited {color: #A50021; text-decoration: none; font-weight: normal}
.index a:focus {text-decoration: none; font-weight: normal}
.index a:hover {background-color: #FFCC66; text-decoration: underline; font-weight: normal}
.index a:active {color: #800000; text-decoration: none; font-weight: normal}

/* Headings in left-hand vertical column */
.indexhead {
	background-color: #008000;
	color: white;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 5px 2px 10px;
	margin: 3px 0 0 0;
}

/* Text in red italics */
.redname {
	color: #A500B0;
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 13px; 
	font-style: italic; 
}
/* Text in purple  */
.purplename {
	color: #8000B0;
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 13px; 
/*	font-style: italic; */
	}
	.indexleft {
	background-color: #FFF0C8;

	color: #8000B0;
	font-family: Verdana, Arial, Helvetica, sans-serif; 
    text-align: left;
	font-size: 13px;
	padding: 0px 5px 0px 5px;
	margin: 0px 0px 0px 0px; /* left and right margin should be given to every element placed in the side columns */
}
.indexright {
	background-color: #FFF0C8;

	color: #8000B0;
    font-family: Verdana, Arial, Helvetica, sans-serif; 
	float:right;
	text-align: right;
	font-size: 13px;
	font-weight: bold;
	padding: 0px 0px 0px 5px;
	margin: 0px 0px 0px 0px; /* left and right margin should be given to every element placed in the side columns */
}


/* Box at start of main content */
.intro {
    color: #005500;
	background-color: #F4FFF4;
	font-size: 13px;
	padding: 5px;
	margin: 5px;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}
.intro a:link {color: #005500; text-decoration: none; font-weight: bold;}
.intro a:visited {color: #005500; text-decoration: none; font-weight: bold;}  
.intro a:focus {color: #005500; text-decoration: underline; font-weight: bold;}
.intro a:hover {color: #005500;	text-decoration: underline;	font-weight: bold; background-color: #FFCC66;}
.intro a:active {color: #005500; text-decoration: none;	font-weight: bold;}

/* For putting text or labels in red italics */
.redname {
	color: #A50000;
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 13px; 
	font-style: italic; 
}
/* Text in purple italics */
.purplename {
	color: #8000B0;
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 13px; 
}

/* Horizontal links strip at top and bottom of page */
.rowindex {
	background-color: #FFF0C8;
	font-size: 12px;
	color: black;
	text-align: center;
	padding: 2px;
}
.rowindex a:link {color: #005500; text-decoration: none; font-weight: normal}
.rowindex a:visited {color: #A50021; text-decoration: none; font-weight: normal}
.rowindex a:focus {text-decoration: underline; font-weight: normal}
.rowindex a:hover {text-decoration: underline; font-weight: normal; background-color: #FFCC66;}
.rowindex a:active {text-decoration: none; font-weight: normal}

/* Separators in horizontal links strip at top and bottom of page (if used) */
.rowindexsep {
	color: #005500;
	background-color: #FFF0C8;
	font-size: 12px;
	text-align: center;
	padding: 2px;
	margin: 0;
}

/* Second level of headings */
.subheading {
	color: #8000B0;
	font-weight: bold;
	font-size: 16px;
	padding: 2px 2px 2px 2px;
	font-style: italic;
	margin-bottom: 2px;
}
.subheading a:link {color:#8000B0; text-decoration: none;}
.subheading a:visited {color:#8000B0; text-decoration: none;}
.subheading a:focus {color:#8000B0; text-decoration: none;}
.subheading a:hover {color:#8000B0; text-decoration: underline; background-color: #FFCC66;}
.subheading a:active {color:#8000B0; text-decoration: none;}

/* Black version */
.subheadingblack {
	color: #000000;
	font-weight: bold;
	font-size: 16px;
	padding: 2px 2px 2px 2px;
	font-style: italic;
	margin-bottom: 2px;
}

/* Third level of headings */
.subsubheading {
	color: #0000B0;
	font-weight: bold;
	font-size: 13px;
	padding: 2px 2px 2px 2px;
	margin-bottom: 2px;
	font-style: italic;
}
.subsubheading a:link {color: #0000B0; text-decoration: none;}
.subsubheading a:visited {color: #0000B0; text-decoration: none;}
.subsubheading a:focus {color: #0000B0; text-decoration: none;}
.subsubheading a:hover {color: #0000B0; text-decoration: underline; background-color: #FFCC66;}
.subsubheading a:active {color: #0000B0; text-decoration: none;}

/* Picture label headings (if used) */
.tagmain {
	color: #005500;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 5px 5px 5px;
	margin: 5px 5px 5px 5px;
}
.tagmain a:link {color: #005500; text-decoration: none;}
.tagmain a:visited {color: #005500; text-decoration: none;}
.tagmain a:focus {color: #005500; text-decoration: underline;}
.tagmain a:hover {color: #005500; text-decoration: underline; background-color: #FFCC66;}
.tagmain a:active {color: #005500; text-decoration: none;}

/* Picture label text (if used) */
.tagtext {
	color: #005500;
	font-size: 13px;
	padding: 5px 5px 5px 5px;
	margin: 5px 5px 5px 5px;
	font-style: italic;
	font-variant: normal;
}
.tagtext a:link {color: #005500; text-decoration: none;}
.tagtext a:visited {color: #005500; text-decoration: none;}
.tagtext a:focus {color: #005500; text-decoration: underline;}
.tagtext a:hover {color: #005500; text-decoration: underline; background-color: #FFCC66;}
.tagtext a:active {color: #005500; text-decoration: none;}

/* Top of page links */
.toppage {
	font-size: 12px;
	background-color: #FFF0C8;
	color: #005500;
	padding: 2px;
	margin: 0px;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-style: italic;
	font-weight: bold;
	border: 0px solid #000000;
}
.toppage a:link {color: #005500; text-decoration: none; font-weight: bold;}
.toppage a:visited {color: #005500; text-decoration: none; font-weight: bold;}
.toppage a:focus {color: #005500; text-decoration: underline; font-weight: bold;}
.toppage a:hover {color: #005500; text-decoration: underline; font-weight: bold; background-color: #FFCC66;}
.toppage a:active {color: #800000; text-decoration: none;}

/* Date of last update */
.updated {font-size: 10px;}

a:link {color: #005500; text-decoration: none; font-weight: bold;}
a:visited {color: #005500; text-decoration: none; font-weight: bold;}  
a:focus {color: #005500; text-decoration: underline; font-weight: bold;}
a:hover {color: #005500; background-color: #F0F060; text-decoration: underline;	font-weight: bold;}
a:active {color: #005500; text-decoration: none;	font-weight: bold;}

dl {margin: 5px; padding: 5px;}

dt {padding-top: 0px;}

dt { }

dd {padding-bottom: 9px;}

ul {margin: 0px 5px 0px 20px; padding: 0px 5px 3px;}

li {
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 20px;
}
