/*---------------------------------------------------------------------------------------------------------------------------
	This file contains all the styles for the ACPO-APA registration site.
-----------------------------------------------------------------------------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	margin: 0;
	padding: 20px 0 20px 0;
	background: #ffffff;
	font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;
	font-size: 100%;	
	color: black;
}

#wrapper {
	position: relative;
	width: 959px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
	background: #ffffff;
}

#container {	
	width: 957px;
	margin: 0 auto;
	padding: 0 0 66px 0;
	overflow: hidden;
	background: #ffffff;
}

#content {  /* This appears below the header */
	clear: both;
	width: 957px;
	margin: 0;
	padding: 10px 0 0 0;
	border: none;
	background: transparent url("images/content_top.jpg") no-repeat left top;
}

#content.index
	clear: both;
	width: 957px;
	margin: 0 auto;
	padding: 30px 0 0 0;
	border: none;
}

#content.index img {
	border: none;
	margin: 0 10px;
	}

h2 {
	margin: 0;
	padding: 10px 20px 20px 20px;
	text-align: center;
	font-size: 120%;
	font-weight: bold;
	color: #13499f;
}

#footer {
	clear: both;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 957px;
	height: 66px;
	background: transparent url("images/footer_bkgnd.jpg") no-repeat left bottom;
	padding: 0;
	margin: 0;
}

.clear {
	clear: both;
	line-height: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

em img {  /* This is the style for the required star */
	border: none;
	vertical-align: super;
	padding: 0;
	margin: 0;
}	

/*----------------------------------------------------------------------------------
	HEADERS - There are three types, Text only, Text plus logo, and Graphic only
----------------------------------------------------------------------------------*/

/*------------------------------------------
	TEXT HEADERS
------------------------------------------*/

#headerText {      /* This is the large block of colour behind the header text */
	width: 957px;
	margin: 0;
	padding: 0;
	border: none;
	background: #314884;
}

#headerText h1 {
	margin: 0;
	padding: 40px 20px;
	text-align: center;
	font-size: 160%;
	font-weight: bold;
	color: #ffffff;
}

/*------------------------------------------
	GRAPHIC HEADERS
------------------------------------------*/

#headerGraphic {
	width: 957px;
	height: 234px;
	margin: 0;
	padding: 0;
	border: none;
	text-align: center;
	overflow: hidden;
	background: transparent;
}

#headerGraphic img {
	margin: 0;
	padding: 0;
	border: none;
}

/*------------------------------------------
	LOGO HEADERS
------------------------------------------*/

#headerLogo {
	width: 957px;
	margin: 0;
	padding: 0;
	border: none;
	text-align: left;
	background: #ffffff;
}

#logo{
	float: left;
	width: 340px;
	margin: 0;
	padding: 20px 0;
	border: none;
}

#logo img {
	margin: 0;
	padding: 0 20px;
	border: none;
}

#headerLogo h1 {
	margin: 0;
	padding: 80px 20px 0 0;
	text-align: left;
}

#headerLogoText {
	float: left;
	width: 300px;
	margin: 0;
	padding: 0;
}

#headerLogoText h1 {
	font-size: 160%;
	font-weight: bold;
	color: #314884;
}


/*----------------------------------------------------------------------
	Content displayed outside of form
-----------------------------------------------------------------------*/

#content.index p {
	margin: 1.5em 0;
	padding: 0;
	}

div.pages {
	clear: both;
}

div.pages p {
	margin: 0;
	padding: 8px 26px;
	text-align: center;
	color: #13499f;
	font-size: 80%;
	font-weight: bold;
}

div.pageText {
	margin: 0;
	padding: 8px 26px;	
}

div.pageText p {
	padding: 8px 0;
	margin: 0;
	font-size: 80%;
}

div.required {
	margin: 0;
	padding: 8px 26px 0 26px;
}

div.required p {
	text-align: right;
	padding: 0;
	margin: 0;
	font-size: 80%;
}

/*-------------------------------------------------------------------------------------
	Content displayed in the form
------------------------------------------------------------------------------------------*/	

form {
  margin: 0 auto;
  padding: 0;
  width: 957px; /* this defines the width of the form and the fieldset but not the items within the fieldset */
}

form fieldset {    
	float: left;    
	clear: left;    
	width: 100%;    
	margin: 0px 0 0 0;    
	padding: 0 0 10px 0;
	background: #ffffff url("images/fieldset_bkgnd_blue.jpg") repeat-x top left;
  border-color: #dbe7fa;
  border-width: 1px 1px 1px 1px;
  border-style: solid none none none;
  font-size: 80%;
}

form fieldset legend {
  padding: 0;
	margin: 0 10px 0 6px;
	color: #d2232a;
	font-weight: bold;
	font-size: 120%;
}

form fieldset legend span {
  padding: 4px;
	margin: 0;
	background: #ffffff;
}

/*------------------------------
	input styles
--------------------------------*/	

fieldset select {
	border-color: #b77575;
}

input, select, textarea {
  font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;
  font-size: 100%;
  color: #000000;
}

form textarea {
	width: 640px;
	height: 150px;
	text-wrap: normal;
	word-wrap: break-word;
	overflow: auto;
}


form input.inputRadio, form input.inputCheck {
	padding: 0;
	margin-left: -1.8em;
	margin-right: .8em;
}

form div.inlineCheck input.inputCheck, form div.inlineRadio input.inputRadio {
	border: none;
}

div.check input.inputCheck, div.radio input.inputRadio {
	border: none;
}


/*--------------------------------------------
	the divs that provide the form layout
--------------------------------------------*/	

form div {
	float: left;
  clear: left;
  width: 100%;
  margin: 1.2em 0 0 0;
}

form div.pText {
	float: left;
  clear: left;
  width: 100%;
  margin: .8em 0 .8em 0;
  padding: 0;
}

form div label {
  float: left;
  width: 260px;
  padding: .3em 0;
  margin: 0 .8em 0 .8em;
  text-align: left;
}

form div.subSection div.freeLabel {
	display: inline;
  float: left;
  width: 260px;
  padding: .3em 0;
  margin: 0 .8em 0 .8em;
  text-align: left;
}

form div.subSection div.inlineRadio, form div.subSection div.inlineCheck {
	clear: none;
	float: left;
  width: 560px;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  text-align: left;
}


form div.subSection div.inlineRadio input.inputText, form div.subSection div.inlineCheck input.inputText {
  padding: 0;
  margin: 0 0 .5em 0;
}

form div.pText div.subText {
	display: inline;
	float:left;
	width: 560px;
	padding: 0;
	margin: 0 0 0 277px;
}

form div.pText div.subText p {
	padding: 0 0 .8em 0;
	margin: 0 0 0 0;
}

form div.pText p {
	padding: .8em;
	margin: 0;
}

form div label.labelCheck, form div label.labelRadio {
	display: block;
	width: 95%;
  padding: 0 0 0 2.2em;
  margin: 0 0 .3em 0;
  text-align: left;
}

form div input.inputText {
  width: 300px;
  padding: 0;
  margin: 0 0 0 0;
}

div.textAfterInput {
	width: 90%;
	padding-left: 2.3em;
	padding-bottom: .2em;
	margin-top: -1.1em;
}


/*---------------------------------------------------------
	The button section at the bottom of the form
---------------------------------------------------------*/

fieldset.buttons {    
	float: left;
	clear: both;    
	width: 100%;
	padding: 5px 0;
	margin: 20px 0 0 0;
	border-color: #dbe7fa;
  border-width: 1px 0 0 0;
  border-style: solid none none none;
  background: transparent;   
}

fieldset.buttons input {
	color: #ffffff;
	background: #01245b url("images/button_bkgnd_blue.jpg") repeat-x bottom left;
	padding: 1px 4px;
	border: 1px solid #7f9db9;
	cursor: pointer;
}

form fieldset.buttons div.leftButton {
	float: left;
	width: 25%;
	min-height: 10px;
	padding: 0;
	margin: 0;
	text-align: left;
}

form fieldset.buttons div.centreButton {
	clear: none;
	float: left;
	width: 50%;
	min-height: 10px;
	padding: 0;
	margin: 0;
	text-align: center;
}

form fieldset.buttons div.rightButton {
	clear: none;
	float: left;
	width: 25%;
	min-height: 10px;
	padding: 0;
	margin: 0;
	text-align: right;
}

form fieldset.buttons div.leftButton input{
	margin-left: 10px;
}

form fieldset.buttons div.rightButton input{
	margin-right: 8px;
}


