/**********************************************************
Name:			main.css
Description:	Global CSS definitions for Nisa Today's site.
				These styles define the base layout of
				every page.
Date:			04/10/2007
Author:			Andrei Vais
**********************************************************/


/*	Re-define HTML elements	*/
body
{
	color: #666666;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	margin:  0 10px 0 10px;
	padding:  0 0 0 0;
}
/*	End of HTML redefinitons	*/

/*	Generic classes useed throughtout the site	*/
.clearfloat
{
	clear: both;
}

.bold
{
	font-weight: bold;
}

.italic
{
	font-style: italic
}

.normal
{
	font-weight: normal;
}

ol li strong
{
	border-top: 2px solid #2AB455;
	border-bottom: 2px solid #2AB455;
	background-color: #000000;
	color: #FFFFFF;
	padding: 3px 5px 3px 5px;
	display: block;
}

ol li
{
	margin-bottom: 8px;
}

h1, h2, h3, h4, h5
{
	color: #21467B;
	float: left;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	line-height: 100%;
	margin: 35px 0 15px 0;
	padding: 0 0 0 0;
	color: #2AB455;
	font-size: 130%;
	width: 100%;
}

h2, h3, h4, h5
{
	font-size: 110%;
	margin: 0;
}

h5
{
	font-size: 100%;
	margin: 5px 0 10px 0;
}

h4, h5
{
	color: #666666;
}

/*	End of generic classes	*/

/*	Define classes used to create the content box shadow	*/
#nisaCorporate
{
	clear: both;
	margin: 10px auto 0 auto;
	padding: 0 0 0 0;
	max-width: 948px;
	min-width: 724px;
	width: 100%;
}

#leftShadow, #rightShadow
{
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	width: 100%;
}

#leftShadow
{
	background: url('../images/boxLeftShadow.gif') bottom left no-repeat;
}

#rightShadow
{
	background: url('../images/boxRightShadow.gif') bottom right no-repeat;
}

#bottomShadow
{
	background: url('../images/boxBottomShadow.gif') bottom left repeat-x;
	height: 37px;
	padding: 0 0 0 0;
	margin: 0 30px 0 30px;
	width: 95%;
}

/*	the following container is used by IE6 to work out min-width and max-width for #nisaCorporate container 	*/
#em
{
	width: 1em;
	height: 0;
	overflow: hidden;
}
/*	End of content box shadow definitions	*/

/*	Define the box that will contain all the page content elements	*/
#allPageContent
{
	 background: #FFFFFF;
	 margin: 0 12px 0 12px;
	 padding: 0 0 0 0;
	 border: 7px solid #FFFFFF;
	 width: 95.7%;
}
/*	End of definitions for the all page content elements box	*/

/*	Start footer style rules*/
#footer
{
	color: #000000;
	float: right;
	font-size: 80%;
	margin: 22px 0 0 1px;
	padding: 0 0 0 0;
}
/*	End of footer style rules*/


/*	Start Header elements style rules	*/

/*	Header background image definition	*/
#pageHeaderBackgroundImage
{
	background: #FFFFFF url('../images/header_bg.jpg') top left no-repeat;
	height: 162px;
	width: 100%;	
}

#pageHeaderBackgroundImage #logo
{
	border: 1px solid #C6C6C6;
	background-color: #FFFFFF;
	margin-top: -5px;
	margin-left: 10px;
	display: block;
	padding: 0px;
	width: 202px;
}

#pageHeaderBackgroundImage #logo img
{
	margin: 1px;
	padding: 0px;
}

/*	Start main navigation style rules	*/
div#pageheader
{
	background: url('../images/greydot.gif') top repeat-x;
	border-top: 8px solid #FFFFFF;
	padding: 1px 0 0 0;
	margin: 0 0 0 0;
	width: 100%;
}

div#pageheader div#pn1
{
	background: #E3E3E3 url('../images/greydot.gif') bottom repeat-x;
	float: left;
	margin: 0 0 0 0;
	padding: 0 0 2px 0;
	width: 100%;
}

div#pageheader div#pn2
{
	background: #FFFFFF url('../images/whitetogreyshadow.gif') top right no-repeat;
	float: left;
	margin: 0 0 0 0;
	padding: 15px 0 16px 0;
	width: 30%;
}

div#primarynav
{
	background: url('../images/greydot.gif') right repeat-y;
	clear: left;
	margin: 0;
	padding: 0;
	float: left;
	width: 28.6%;
}

div#primarynav ul
{
	list-style-type: none;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	width: 100%;
}

div#primarynav ul li
{
	float: left;
	margin: 0;
	padding: 0 0 0 0;
	display: inline;
	background: url('../images/greydot.gif') bottom repeat-x;
	width: 99%;
}

div#primarynav ul li a
{
	/*border: 1px solid green;*/
	background: url('../images/navItemGreyArrow.gif') left no-repeat;
	color: #2ab255;
	display: block;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: bold;
	margin: 0 0 0 8px;
	padding: 6px 0 9px 12px;
	text-decoration: none;
}

div#primarynav .changeNavItem
{
	font-style: italic;
	font-weight: normal;
}

div#primarynav ul li a:hover, div#primarynav ul li a.selected
{
	background: url('../images/navItemDarkBlueArrow.gif') left no-repeat;
}
/*	End main navigation style rules	*/
/*	End Header elements style rules	*/

/*	Start of generic classes	*/
#allPageContent a.newsLink img
{
	border: 0px solid #D1D1D1;
	margin-left: 18px;
}
/*	End of generic classes	*/

/*	Totasliser Styles	*/

#totaliserBar
{
	width: 205px;
	height: 825px;
	float: right;
	z-index: 10;
	background-color: white;
	background-image: url('../images/totaliser.jpg');
	/*border: 1px solid red;*/
	background-repeat: no-repeat;
}

#rightBar
{
	width: 205px;
	height: 500px;
	float: right;
	z-index: 10;
	background-color: white;
	background-image: url('../images/right_non_totaliser.jpg');
	/*border: 1px solid red;*/
	background-repeat: no-repeat;
}

#totaliserBar .totalFigure
{
	position: relative;
	left: 0;
	font-weight: bold;
	width: 100%;
	text-align: center;
	color: black;
	font-size: 140%;
}

#totaliserBar #top_total
{
	top: 275px;
}

#totaliserBar #mid_total
{
	top: 320px;
}

#totaliserBar #bot_total
{
	top: 420px;
}

#totaliserBar #AvailableText,
#totaliserBar #diffTotals,
#totaliserBar #DonatedToDate
{
	position: relative;
	font-size: 110%;
	left: 4px;
	width: 200px;
	text-align: center;
	font-weight: bold;
}


#totaliserBar #AvailableText
{
	top: 495px;
	height: 15px;
	font-weight: bold;
}

#totaliserBar #diffTotals
{
	top: 535px;
	height: 140px;
	text-align: left;
}

#totaliserBar #DonatedToDate
{
	color: #FF0000;
	height: 20px;
	top: 530px;
	font-weight: bold;
}

#totaliserBar #DonatedToDate p, #totaliserBar #AvailableText p {line-height: 150%;}

#totaliserBar #CharityRegNo
{
	position: relative;
	font-size: 85%;
	top: 560px;
	text-align: center;
}

#totaliserBar #CharityRegNo p
{
	line-height: 140%;
	margin: 0 0 8px 0;
	padding: 0;
}

div#pageheader div#contributionsFrom
{
	background-color: #e3e3e3;
	float: left;
	font-size: 85%;
	margin: 0 0 0 0;
	padding: 8px 0 0 10px;
	width: 65%;
}

div#pageheader div#contributionsFrom p.label, div#pageheader div#contributionsFrom p.from
{
	float: left;
	margin: 0;
	padding: 0;
	width: 30%;
}

div#pageheader div#contributionsFrom p.from
{
	width: 65%;
}

#cheques
{
	/*clear: both;*/
	float: left;
	font-size: 85%;
	margin: 20px 0 20px 0;
	border-top: 1px solid #fad099;
	padding: 5px 0 0 0;
	width: 100%;
	display: block;
}

#cheques .cheque, #innerPageContainerContent .cheque
{
	width: 260px;
	height: 91px;
	background-image: url('../images/mad_cheque.jpg');
	margin: 0px 0px 10px 0px;
	float: left;
}

#innerPageContainerContent .cheque
{
	display: none;
	margin-top: 10px;
}

#cheques .cheque .beneficiary, #innerPageContainerContent .cheque .beneficiary
{
	position: relative;
	left: 22px;
	top: 25px;
	width: 140px;
	height: 35px;
	line-height: 18px;
	font-weight: normal;
	color: black;
}

#cheques .cheque .amount, #innerPageContainerContent .cheque .amount
{
	position: relative;
	left: 162px;
	top: 30px;
	width: 55px;
	height: 18px;
	line-height: 18px;
	font-weight: normal;
	color: black;
}

#innerPageContainerContent .cheque .hideCheque
{
	position: relative;
	left: 0;
	top: 30px;
	width: 140px;
	height: 18px;
	line-height: 18px;
	font-weight: normal;
	color: black;
}

#innerPageContainer
{
	float: left;
	margin: 0;
	padding: 0;
	width: 70%;
}

#innerPageContainerContent
{
	display: inline;
	width: 66%;
	float: left;
	margin: 0;
	margin-left: 3%;
	margin-top: 12px;
	padding: 0;
}

#innerPageContainerContent p
{
	line-height: 140%;
}

#innerPageContainer a
{
	color: #816681;
}

img.floatLeft{
	float: left;
	margin: 0px 10px 5px 0px;
}

#diffTotals  a
{
	color: #2ab255;
	text-decoration: none;
}

#diffTotals  a.selected
{
	font-weight: bold;
}

#totaliserChanger
{
	float: right;
	text-align: left;
	border: 1px solid #F6A233;
	background-color: white;
	opacity: 0.9;
	width: 140px;
	margin-top: 20px;
	margin-right: 30px;
}

#totaliserChanger #title
{
	font-weight: bold;
	margin: 5px;
}

#CharityAddress
{
	display: inline;
	float: left;
	font-size: 85%;
	line-height: 150%;
	margin: 30px 0 0 4.5%;
	padding: 0 0 10px 0;
	width: 93%;
}

#CharityAddress span {font-weight: bold;}

#CharityRegNo
{
	float: right;
	font-size: 90%;
	list-style: none;
	margin: -5px 0 0 0;
	padding: 0 0 30px 0;
	width: auto;
}

#CharityRegNo li
{
	border-left: 1px solid #666666;
	float: left;
	margin: 0;
	padding: 0 10px;
	width: auto;
}

#CharityRegNo li.first {border: 0; padding-left: 0;}