@charset "utf-8";
/**************** Parliament of the Cook islands website - presentation styles in CSS */
/**************** created by Joe Settree, April 2008. email: joe (dot) settree (at) aph (dot) gov (dot) au */

/**************** Contents **************************/
/* Body and Container */
/* Text and Link Styles */
/* Header */
/* Sidebar */
/* Sidebar navigation links */
/* Main content area */
/* Footer */
/* Misc floating elements */
/* Members index page - boxes */
/* Members individual page - list with no bullet points */

/**************** Body and Container ****************/

body  {
	font: 80% Verdana, Arial, Helvetica, sans-serif;
	background: #154c4f;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	margin-top: 15px;
	margin-bottom: 15px;
	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;
	background-color: #154c4f;
}

.cookislands #container {
	width: 90%;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
	background-color: #FFFFFF;
	background-image: url(images/background.gif)
} 

/**************** Text and Link Styles ****************/

a:link {
	color: #0156b8;
	text-decoration: underline;
}

a:visited {
	text-decoration: underline;
	color: #4b5970;
}

a:hover {
	color: #0000C0;
/*	background-color: #FFFFFF; */
	text-decoration: none;
}

a:active {
	text-decoration: none;
	color: #0000FF;
}

h2
{
	font-weight: bolder;
	font-size: 1.5em;
	letter-spacing: 0.05em;
	color: #154c4f;
}

h3
{
	font-weight: bolder;
	font-size: 1.1em;
	letter-spacing: 0.1em;
}

h4
{
	font-size: 90%;
	font-weight: bolder;
}

h5
{
	font-size: 90%;
	font-style: italic;
}

/**************** Header ****************************/

.cookislands #header 
{ 
	background: #dbe1bd; 
	padding: 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. */
} 

.cookislands #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 0px 0px 12px; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

/**************** Sidebar **************************/

.cookislands #sidebar1 {
	float: left; 
	width: 150px; /* since this element is floated, a width must be given */
	height: 100%;
	background: #f7f4dc; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 0px 0; /* top and bottom padding create visual space within this div  */
	border-top: 2px solid #ffffff;
}
.cookislands #sidebar1 h3, .cookislands #sidebar1 p {
	margin-left: 5px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 5px;
}

/**************** Sidebar navigation links ****************/

#navigation 
{
	width: 150px;
}

#navigation ul 
{
	list-style: none;
	margin: 0;
	padding: 0;
}

#navigation li 
{
	border-bottom: 2px solid #FFFFFF;
}

#navigation li a:link, #navigation li a:visited 
{
	font-size: 90%;
	font: Verdana, Arial, Helvetica, sans-serif;
	display: block;
	padding: 0.4em 0 0.4em 0.5em;
	border-left: 12px solid #aecfcf;
	border-right: 0px solid #aecfcf;
	background-color: #f7f4dc;
	color: #000000;
	text-decoration: none;
}

#navigation li a:hover 
{
	background-color: #aecfcf;
	text-decoration: underline;
	color: #000000;
}

/**************** Main content area ******************/

.cookislands #mainContent 
{ 
	margin: 0 20px 0 13em; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
} 

/**************** Footer *****************************/

.cookislands #footer 
{ 
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#dbe1bd;
} 
.cookislands #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 */
}

#footer ul
{
	font-size: 0.85em;
	text-align: center;
	list-style: none;
	padding: 8px 0px 0px;
	margin: 2px 0px 1px;
}

#footer li
{
	display: inline;
	padding: 5px 5px;
}

#footer p
{
	font-size: 0.85em;
	text-align: center;
	margin: 0px;
	padding: 0px 0px 0px 5px;
}

/**************** Misc floating elements ****************/

/* Miscellaneous classes for reuse */

.float-right 
{ /* 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;
}

.float-left 
{ /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 10px;
}

.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;
}

/**************** Members index page - boxes ****************/

.membersindex
{
	width: 32em;
	float: left;
	display: block;
	padding: 0.5em 0.5em 0.5em 0.5em;
	border-bottom: 0.3em solid #ffffff;
	border-top: 0.3em solid #ffffff;
	border-left: 0.3em solid #ffffff;
	border-right: 0.3em solid #ffffff;
	background-color: #f7f4dc;
}

/**************** Members page - list with no bullet points ****************/

#members ul
{
	list-style: none;
	margin: 2em;
	padding: 0;
}

/**************** END OF CSS FILE ***************************/