/* This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, content styled with an h1 tag, for example, would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
}

body {
  background-color: #FFFFFF;
  border-bottom-style: none;
  border-left: solid 1px #CCCCCC; 
  border-right: solid 1px #CCCCCC; 
  border-top-style: none;
  color: #666666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
  margin: 0 0 0 0; 
  padding: 0 0 0 0; 
  text-align: center; 
}

h1 {
	color: #FFF;
	font-size: 150%;
	line-height: 14px;
	margin-bottom: 35px;
}

h2 {
	color: #FFF;
	font-size: 110%;
	line-height: 1.2em;
	padding-left: 20px;
	margin-bottom: 0px;
}

img { outline:none}

/*----------outerwrapper----------------*/

#outerWrapper {
	margin: 0 auto;
	text-align: left;
	width: 980px;
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
}

/*--------------header-----------------*/

#header {
	font-weight: bold;
	line-height: 15px;
	margin: 0px;
	padding: 0px;
	height: 80px;
	background: #FFF;
	position: relative;
}

#header .places  {
	font-size: 120%;
	font-weight: normal;
	padding-top: 51px;
	margin: 0px 0px 0px 35px;
	color: #15436A;
	z-index: 200;
	position: relative;
	line-height: 1.2em;
	width: auto;
}

#header .chas { position: absolute; top: 43px; left: 605px; }



#contentWrapper {
	margin: 20px 0px 0px 30px;
	padding: 0px;
	width: 920px;
	background-image: url(corbycatflapsimages/corby-catflaps-background.jpg);
	background-repeat: repeat-y;
	background-position: left top;
	color: #FFF;
	height: 688px;
	position: relative;
}

#picturebox {
	height: 275px;
	width: 900px;
	margin-left: 30px;
	background-color: #05436a;
	background-image: url(corbycatflapsimages/cat-asking-for-catflap.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	position: relative;
}
.picturebox-wording {
	height: 130px;
	width: 345px;
	position: absolute;
	left: 23px;
	top: 108px;
	padding: 0px;
	color: #FFF;
	font-size: 110%;
	text-align: justify;
	line-height: 1.3em;
}
#content {
	background-color: #FFC;
	height: 800px;
	width: 900px;
	margin-left: 30px;
	margin-top: 20px;
}

/*-----------------------left sidebar-----------------*/


#leftsidebar {
	float: left;
	margin: 0px;
	padding: 45px 0px 0px 25px;
	width: 290px;
	height: 530px;
	font-size: 95%;
	position: relative;
}
#leftsidebar p {
	font-size: 130%;
	line-height: 1.25em;
	padding-right: 10px;
}

/*-------------middle---------------*/

#middle {
	margin: 0;
	padding: 45px 0px 0px;
	float: left;
	width: 270px;
}
#middle dl { margin-left: 20px; width: 300px; margin-top: 42px; }

#middle dl dt { font-weight: bold; margin: 0px 0px 5px; padding: 0px; }

#middle dl dd {
	margin-bottom: 45px;
	display: block;
	font-size: 90%;
	width: 260px;
}

#middle .catflap_images {
	float: left;
	padding-right: 10px;
	display: block;
	clear: both;
	padding-bottom: 25px;
	padding-top: 4px;
}

#middle .catflap_images_bottom { float: left; padding-right: 12px; display: block; clear: both; padding-bottom: 30px; margin-left: -11px; padding-top: 4px; }
#middle h2 {
	padding-bottom: 0px;
	margin-bottom: 10px;
}




/*-----------------------right sidebar-----------------*/

#rightsidebar {
	float: right;
	padding: 45px 0px 0px;
	width: 275px;
	height: 530px;
}

/*-----------------footer---------------- */


#footer {
	margin: 0px;
	padding: 0px;
	height: 130px;
	position: relative;
	background-color: #FFF;
	background-image: url(corbycatflapsimages/northamptonshire-trading-standards-logo1.jpg);
	background-repeat: no-repeat;
	background-position: 850px 19px;
}
#footer .littledog {
	position: absolute;
	bottom: 0px;
	left: 0px;
}
#footer .phone {
	text-align: center;
	font-size: 115%;
	padding-top: 65px;
	padding-bottom: 0px;
	margin: 0px;
	color: #666;
}
#footer .xtremis {
	font-size: 80%;
	color: #999;
	text-align: center;
	margin: 6px 0px 0px;
	padding: 0px;
}
#footer .creditcards {
	text-align: center;
	margin-top: 35px;
	margin-bottom: 0px;
	position: absolute;
	margin-left: 415px;
}

/* Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without being cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before the close of the container with floated elements. */


.clearFloat {
  clear: both;
  display: block;
}


.displace {
	position: absolute;
	left: -5000px;
	}


/*-----------------form elements---------------------*/


#contactform {
	padding: 0px;
	margin: 37px 0px 0px 22px;
	width: 250px;
	height: 460px;
	float: left;
}

#contactform #form  { margin: 0px 0px 30px; padding: 0px; width: 250px; float: left; }

#form p label  {
	margin: 15px 0px;
	vertical-align: top;
	text-align: left;
	padding: 0px;
	color: #FFF;
	line-height: 1.7em;
}

#contactform #form p  { line-height: 1em; margin: 0px; padding: 0px; } 

#form p input {
	padding: 0px;
	width: 226px;
	height: 20px;
	margin: 0px 0px 10px;
	border: 1px solid #1C5381;
}

#form p textarea {
	width: 226px;
	margin: 0px 0px 25px;
	padding: 0px;
	border: 1px solid #1C5482;
	height: 100px;
}



#contactform .success1 {
	line-height: 1.4em;
	padding: 0px;
	margin: 2px 0px 5px;
	font-size: 120%;
	color: #FFF;
	font-weight: bold;
}

#contactform .success2 {
	line-height: 1.5em;
	padding: 0px;
	font-size: 110%;
	margin: 0px 20px 0px 0px;
	color: #FFF;
	font-weight: bold;
}



/*----------------psuedo styles -------------------*/


a,  a:link { color: #666; text-decoration: none; outline:none; 
}


a:visited { color: #666; text-decoration: none; outline:none; 
}

a:hover { color: #95945E; text-decoration: underline; outline:none; 
}

a:focus { color: #F00; outline:none;
}

a:active { color: #666; outline:none; 
}


.xtremis a:link { color: #999; text-decoration: none; outline:none;
}
.xtremis a:visited { color: #999; text-decoration: none; outline: none; 
}
.xtremis a:hover { color: #333; text-decoration: none; outline:none;
}

.xtremis a:active { color: #666; text-decoration: none; outline:none; 
}
.xtremis a:focus { color: #666; text-decoration: none; outline:none; 
}



.homesecure {
	position: absolute;
	left: 755px;
	top: 17px;
	height: 50px;
	width: 192px;
	display: block;
	margin: 0px;
	padding: 0px;
	z-index: 500;
}


.homesecure a { height: 50px; width: 192px; background: url(corbycatflapsimages/updown.gif) no-repeat 0 0; outline:none; display: block; margin: 0px; padding: 0px; }

.homesecure a:hover { height: 50px; width: 192px; background: url(corbycatflapsimages/updown.gif) no-repeat 0px -50px; outline:none; display:block; margin: 0px; padding: 0px; }



.approved {
	position: absolute;
	left: 94px;
	bottom: 0px;
}


/*-----------------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 */

.clearfloat { 
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
