
/* --
  Layout Stylesheet for Meg Munn MP website

  (c) Colin Sewell, 2008
*/

/* for design debugging, shows the divs ! */
/*
div {	
	border: 1px solid #cccc00;
	background-color: #cfcfcf;
}
*/

body {
	margin: 10px;
	padding: 0px;
	text-align: center;		/* center main page content (older browsers like IE 5.5) */
}


#outer {
	width: 800px;
	border: 1px solid #eaeaea;
	background-color: #ffffff; /*#fcfcfc;*/
/*	background: url(../images/decorations/bg-page-leftright.gif) repeat-y top center;  */
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	padding: 1px 1px 10px 1px;
}


#header {
	width: 800px;
	height: 125px;
	border: 0px solid blue;
	margin: 0px;
	padding: 0px;
}

#header.headerdefault {
	background-image: url(../images/banners/header-1.jpg);
}

#header.headerhome {
	background-image: url(../images/banners/header-1.jpg);
}

#header.headerabout {
	background-image: url(../images/banners/header-2.jpg);
}

#header.headerheretohelp {
	background-image: url(../images/banners/header-3.jpg);
}

#header.headerconstituency {
	background-image: url(../images/banners/header-4.jpg);
}

#header.headernews {
	background-image: url(../images/banners/header-5.jpg);
}

#header.headerreports {
	background-image: url(../images/banners/header-9.jpg);
}

#header.headerspeeches {
	background-image: url(../images/banners/header-6.jpg);
}

#header.headercontact {
	background-image: url(../images/banners/header-7.jpg);
}

#header.headerlinks {
	background-image: url(../images/banners/header-8.jpg);
}


#headerlogo {
	width: 130px;
	text-align: center;
}

#headerbanner {
	width: 455px;
	padding: 0px;
	border: 0px solid yellow;
	overflow: hidden;
}

#headeraddress {
	width: 200px;
	margin-left: 0px;
	padding: 0px;
	border: 0px solid yellow;
	text-align: center;
	background: url(../images/misc/portcullisssmallfeint.gif) no-repeat top center; 
}


#bodyblock {
	position: relative;
	width: 800px;
	margin-top: 10px;
	padding: 0;
}


#leftcolumn {
	position: relative;
	float: left;
	width: 140px;
	margin: 0px;
	padding-left: 5px;
}


#latestnewsnote, #latestviewsnote, #latestoutaboutnote {
	padding-bottom: 10px;
}

#latestnewsnote p, #latestnewsnote h3, #latestviewsnote p, #latestviewsnote h3, #latestoutaboutnote p, #latestoutaboutnote h3 {
	margin: 4px 1px;
	padding: 4px 1px;
}


#newsnote {
	width: 140px;
	height: 140px;
	background-image: url(../images/misc/postitnote.gif);
	background-repeat: no-repeat;
	padding: 10px 0px 1px 10px;
}

#newsnote p, #newsnote h3 {
	margin: 1px;
	padding: 1px;
}

#viewsnote {
	width: 140px;
	height: 140px;
	background-image: url(../images/misc/postitnote2.gif);
	background-repeat: no-repeat;
	padding: 10px 0px 1px 10px;
}

#viewsnote p, #viewsnote h3 {
	margin: 1px;
	padding: 1px;
}

#outaboutnote {
	width: 140px;
	height: 140px;
	background-image: url(../images/misc/postitnote2.gif);
	background-repeat: no-repeat;
	padding: 10px 0px 1px 10px;
}

#outaboutnote p, #viewsnote h3 {
	margin: 1px;
	padding: 1px;
}


.leftextra {
	width: 140px;
/*	border: 1px solid #ccc; */
	margin-bottom: 35px;
}


#pagecontent {
	position: relative;
	width: 610px;
	margin-left: 15px;
	padding-left: 15px;
	padding-right: 10px;
	border-left: 1px solid #cacaca;
/*	border: 1px solid #cacaca; */
	background-color: #fff;
	text-align: left;
	overflow: hidden;
}


#footer {
	position: relative;
	top: 5px;
	width: 800px;
	margin-top: 10px;
	padding: 1px;
	border-top: 1px solid #eaeaea;
	text-align: center;
}

#footerleft {
	position: relative;
	width: 140px;
	padding: 2px;
	text-align: center;
}

#footermiddle {
	position: relative;
	width: 440px;
	padding: 2px;
}

#footercopyright {
	position: relative;
	width: 200px;
	padding: 2px;
	text-align: right;
}

#footercopyright p {
	text-align: right;
}


#SplashContent {	/* for the bottom home page extra content, surveys, etc. */
	overflow: visible;
	border: 1px solid #cc0000;
	background-color: #FFFFE1;
	margin-top: 2px;
}

#SplashContent p {
	font-family: verdana, arial, helvetica, sans-serif, serif;
	font-size: 120%;
	font-weight: normal;
	margin: 6px;
}

#SplashContent img {
	border: 1px solid #e0e0e0;
	margin-left: 8px;
}

#commonsspeecheslink {
	width: 450px;
	padding: 5px;
	margin: 5px;
}


/* Other Layout Bits
   ----------------- */

/* Div Clear space after Float fix  -  to stretch a container div to contain floated elements */
.ClearFix:after {
	content: ".";
	display: block;
	height: 0;
	font-size: 0;
	clear: both;
	visibility: hidden;
}

.ClearFix  {display: inline-table;}  /* fix for IE Mac only */

/* Hide from IE Mac, IE Win Only \*/
	* html .ClearFix  {height: 1%;}
	.ClearFix {display:block;}
/* End IE Mac Hack */


.ClearBoth {
	clear: both;
	display: none;
}


div.DivShow {	/* for design debugging, shows the divs ! */
	border: 1px solid #cccc00;
	background-color: #cfcfcf;
}

div.DivBorder {
	border: 1px solid #cccccc;
}

div.Spacer {
	clear: both;
	height: 1px;
}

div.DivFloatLeft {
	float: left;
	margin: 1px;
}

div.DivCentreText {
	text-align: center;
}

