/* modification of base elements, and classes dedicated to an element */

body {
	margin: 0; padding: 0;
	background: #ececec url('../images/bg.jpg') scroll top left repeat-x;
	text-align:center; /* for IE block centering */ 
	font: 1em/1.125em Verdana, Arial, Helvetica, sans-serif ;
	color: #606060;
	border-top: 10px solid #217fd4;
}

body.no_banner {
	background-image: none;
}

body > div { 
	margin: 0 auto; /* center in not-IE */ 
	padding: 0;
	text-align: left; /* counter inheritance of IE block centering */
}

h1, h2, h3, h4, h5, h6 {
	color: #8ebb11; 
	font-weight: normal;
	margin: 20px 0;
	line-height: 1.125em;
}

h1 {
	font-size: 1.5em; /* 24px from 16px */
	line-height: 1.5em;
	width: 100%;
	border-bottom: 1px solid #dcddde;
	margin-bottom: 	25px;
}

h2 {
	font-size: 1.125em; /* 18px from 16 px */
}

form h2 {
	font-size: 1em;
	margin: 10px 0;
	clear: both;
}

h3, h4, h5, h6 {
	font-size: 1em; /* 16px */
	font-weight: bold;
}

p {
	margin: 20px 0;
}

a:link, a:visited {
	color: #48a8ff;
	text-decoration: none;
}

a:hover, a:active {
	color: #8cbc00;
	text-decoration: underline;
}


a img {
	border: none;
}

span.col {
	display:block;
	float: left;
	padding: 2px;
}

#banner {
	position: relative;
	height: 280px;
	width: 980px; 
	margin: 0 auto 11px;
	background: #1471c6  url('../images/kaiapoi_banner.jpg') center top no-repeat;
}

#banner p {
	position: absolute;
	margin: 0;
	bottom: 10px;
	left: 38px;
	color: #FFFFFF;
	font-size: 0.9375em; /* 15px from 16 px */
}

#advertisment {
 	margin: 15px 0 !important;
}


#search_box {
	overflow: hidden;
	width: 980px;
	height: 166px;
	margin-bottom: 10px;
	background: transparent url('../images/search_bg.jpg') top left repeat-x;
	text-align: left;
	
}

form#search_form {
	display: block;
	width: 980px;
	margin: 0;
	padding: 0;
}

#search_form h2 {
	color: #444444;
	margin-bottom: 0;
	font-size: 1.125em; /* 18px from 16px */
}

#search_form p {
	margin: 0;
	font-size: 0.75em;
	font-weight: bold;
}

#search_left {
	display: block;
	float: left;
	width: 350px;
	height: 120px;
	padding-left: 45px;
	background: transparent url('../images/search_left.jpg') left center no-repeat;
}

#search_center {
	display: block;
	float: left;
	width: 350px;
	padding-left: 20px;
}

#search_right {
	display: block;
	float: right;
	width: 175px;
	height: 120px;
	padding-right: 25px;
	background: transparent url('../images/search_right.jpg') right center no-repeat;
}

#search {
	border: 1px solid #c3c3c3;
	color: #818181;
	width: 348px; 
	height: 29px;
	line-height: 29px;
}

#search_area {
	border: 1px solid #c3c3c3;
	color: #818181;
	width: 348px; 
	padding: 7px 2px 6px 6px;
	margin: 0;
}

#search_submit {
	width: 175px;
	height: 36px;
	margin-top: 46px;
	font-size: 0.9375em; /* 15px from 16px */
	font-weight: bold;
	color: #FFFFFF; 	
	border: none;
	background: transparent url('../images/search_button.jpg') center center no-repeat;
	cursor: pointer;
}

#search_submit.active {
	color: #000000;
}

#search_box div {
	clear: both;
	width: 512px;
	height: 49px;
	line-height: 43px;
	background: #000000 url('../images/all_categories_bg.jpg') left top no-repeat;
}

* html #search_box div {
	
}

#search_box a:link, #search_box a:visited, #search_box a:active {
	display: inline-block;
	width: 100%;
	color: #FFFFFF;
	text-decoration: none;
	text-indent: 25px;
	font-size: 0.9375em; /* 15px from 16px */
	font-weight: bold;
	background: transparent url('../images/link_arrow.gif') 475px 20px no-repeat;
}

* html #search_box a { /* IE6 */
	width: 480px !important;
}

#search_box a:hover, #search_box a:focus {
	color: #227dcf;
	background-image: url('../images/link_active.gif');
}

#regions {
	width: 980px;
	height: 109px;
	margin: 0px auto;
	text-align: center;
	background: #e1e2e3 url('../images/region_bg.jpg') left top repeat-x;
}

#regions ul {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 13px 0 0 25px;
	background: transparent url('../images/region_top.jpg') center top no-repeat;
	list-style-type: none;
}

* html #regions ul {
	height: 109px;
}

#regions li {
	float: left;
	overflow: hidden;
	width: 173px;
	height: 40px;
	line-height: 40px;
	margin: 0 6px 6px;
	padding: 0;
	font-size: 0.8125em; /* 13px from 16px */
	font-weight: bold;
	background: transparent url('../images/region_button.png') center center no-repeat;
}

#regions a:link, #regions a:visited, #regions a:active {
	display: block;
	float: left;
	width: 100%;
	margin: 0; padding: 0;
	color: #FFFFFF;
	text-decoration: none;
	background: transparent url('../images/link_arrow.gif') 155px center no-repeat;
}

#regions a:hover, #regions a:focus {
	/* text-decoration: underline; */
	background-image: url('../images/link_active.gif');
	color: #227dcf;
}

#main {
	width: 956px; /* 980px */
	padding: 12px;	
	background: #FFFFFF;
	text-align: left;
}

#menu {
	position:relative;
	float: left;
	width: 204px; /* 204px */
	padding: 8px 0;
	background: #1170c5 url('../images/menu_bg.jpg') left top repeat-x; 
	background: -moz-linear-gradient(top, #639DFD, #4162C2 370px); /* Recent Firefox */
	font-size: 0.75em; /* 12px from 16px */
}

#menu ul {
	width: 187px;
	margin: 0 0 25px 0;
	padding: 20px 9px 0 8px;
	background: transparent url('../images/menu_rborder.jpg') right top no-repeat;
	list-style-type: none;
	line-height: 25px;
}

#menu li {
	width: 179px;
	padding: 0 0 0 8px;
	margin: 0;
	background: transparent url('../images/menu_bullet.gif') left center no-repeat;
}

#menu a:link, #menu a:visited, #menu a:active {
	display: block;
	width: 100%;
	color: #FFFFFF;
	text-decoration: none;
	background: transparent url('../images/menu_underline.jpg') center bottom no-repeat;
}

#menu a:hover, #menu a:focus {
	color: #333333;
}

#menu_top {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 204px;
	height: 8px;
	background: transparent url('../images/menu_top.jpg') left top no-repeat;
}

#menu_base {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 204px;
	height: 8px;
	background: transparent url('../images/menu_base.jpg') left bottom no-repeat;
}

#content {
	position: relative;
	float: right;
	width: 680px; /* 740px */
	padding: 20px 30px;
}

#content > *:first-child {
	margin-top: 0;
}


.boxes {
	overflow: hidden;
	width: 700px; /* overflows container ot allow extra RHS margin on children */
	margin-bottom: 20px;
	text-align: center;
}

.boxes div {
	position: relative;
	float: left;
	overflow: hidden;
	width: 159px;
	height: 75px;
	padding: 0;
	margin: 0 15px 12px 0;
	font-size: 0.9375em; /* 15px from 16px */
	font-weight: bold;
	background: #cef546 url('../images/section_button.jpg') center center no-repeat;
}

.boxes a:link, .boxes a:visited, .boxes a:active {
	display: block;
	width: 129px;
	height: 55px;
	padding: 20px 15px 0;
	color: #333333;
	text-decoration: none;
}

.boxes a:hover, .boxes a:active {
	text-decoration: underline;
	color: #227dcf;
}

#content p, #content li, #content table {
	font-size: 0.875em; /* 14px from 16 px */
}

#content li *, #content table * {
	font-size: 1em;
}

#index_hide {
	display: none;
}

#categories {

}

#list_one {
	float: left;
	width: 325px;
	margin: 0;
	margin-left: 10px;
	padding: 0;
	list-style-type: none;
	font-size: 0.93em; /* 13px from 14px */
	line-height: 20px;
}

#list_one li {
	width: 100%;
	margin: 0px;
	padding: 0px;
	background: url('../images/underline-l2r.jpg') bottom right no-repeat;
	height: 2.4em;
}

* html #list_one li {

}

#list_one a:link, #list_one a:visited {
	display: block;
	float: left;
	width: 300px;
	padding-left: 25px;
	background: url('../images/cat-pointer-l.gif') left center no-repeat; 
	font-weight: normal;
	vertical-align:middle;
	min-height: 20px;
	margin-top: 5px;
	color: #0000FF;
	color: #629bfb;
}

#list_two {
	float: right;
	width: 325px;
	margin: 0;
	margin-right: 10px;
	padding: 0;
	list-style-type:none;
	text-align:right;
	font-size: 0.93em; /* 13px from 14px */
	line-height: 20px;
}

#list_two li {
	width: 100%;
	margin: 0px;
	padding: 0px;
	background: url('../images/underline-r2l.jpg') bottom left no-repeat;
	height: 2.4em;
}

#list_two a:link, #list_two a:visited { 
	display: block;
	float: right;
	width: 300px;
	padding-right: 25px;
	background: url('../images/cat-pointer-r.gif') right center no-repeat; 
	font-weight: normal;
	vertical-align:middle;
	min-height: 20px;
	margin-top: 5px;
	color: #0000FF;
	color: #629bfb;
}

* html #list_one a:link, * html #list_one a:visited, * html #list_two a:link, * html #list_two a:visited, { /* IE 6 */
	height: 20px;
}

#categories p a {

}

#regional a:link, #regional a:visited {

}


#text_links {
	margin-top: 20px;
	text-align: center;
}
ul.cat_list {
	margin: 0px 10px;
	padding: 0px;
	list-style-type:none;
}

ul.cat_list li {
	margin: 0px;
	padding: 0px;
	display: inline;
}

#footer {
	width: 980px;
	height: 118px;
	line-height: 118px;
	padding: 0 0 44px 0;
	margin: 0 auto;
	font-size: 0.8125em; /* 13px from 16px */
	color: #FFFFFF;
	text-align: left;
	background: #77a900 url('../images/footer_bg.jpg') center top no-repeat;
}

#footer p {
	margin: 0 25px;
}

#footer a:link, #footer a:visited, #footer a:active {
	color: #ffffff;
	text-decoration: none;
}

#footer a:hover, #footer a:focus {
	text-decoration: underline;
}

#gallery {
	display:block;
	width: 100%;
	margin:0px;
	padding: 0px;
}

#gallery li {
	display: block;
	float: left;
	width: 25%;
	margin: 0px;
	padding: 10px 0px;
	text-align: center;
	height: 120px;
}

* html #gallery li { /* IE 6 */
	width: 24%;
}

*+html #gallery li { /* IE 7 */
	width: 24%;
}

.outline {
	margin:0;
	padding: 0;
	border: 1px solid #BABABA;
	overflow: hidden;
}

#gallery a:link img, #gallery a:visited img {
	border: 1px solid #666;
}

#gallery a:hover img {
	border: 1px solid #6f9dd6;
}

/*####################################################################*/
/* Listing pages */

ins { /* google ads element */
	display: block !important;
	margin-top: 10px !important;
}

#filter {
	background-color: #FFFFFF;
	/* border: 1px solid #86B3DD; */
	margin: -20px 0 10px;
	padding: 5px;
}

div + #filter { /* custom content at top of category */
	margin-top: 0;
}

#filter h2 {
	margin: 0;
	font-size: 1em; /* 16px */
	font-weight: bold;
}

#filter p {
	margin: 0;
}

#filter a:link, #filter a:visited {
	color: #629BFB	;
	font-weight: bold;
}

.homelink {
	position: absolute;
	top:-23px;
	right: 30px;
}

#content .homelink:first-child {
	top: -3px;
}

#search_left p a {
	font-weight:bold;
}

h1.cat { /* color: #36F; */ }

h2.cat_head_local
{
	margin: 0;
	padding: 5px;
	/* font-size:1em; */
}

h2.cat_head_general
{
	margin: 0;
	padding: 5px;
}

.listing {
	position: relative;
	width: 672px;
	min-height: 100px;
	overflow:visible;
	margin: 0 0 1em 0;
	padding: 4px;
	font-size: 0.93em; /* 13px from 14px */
	/* color: #0000FF; */
}

.l3 {
	background: url('../images/listing-gold-bg.jpg') top left repeat-x;
	border: 2px solid #C0CA00
}

.l2, .notice {
	background: url('../images/listing-silver-bg.jpg') top left repeat-x;
	border: 2px solid #FFFFFF;
}

.l1 {
	min-height: 50px;
	border: 1px solid #CCCCCC;
}

.notice {
	height: auto;
}

.notice h2 {
	margin: 0;
	font-size: 1em;
	font-weight: bold;
}

.listing img.banner, .listing object {
	position:relative;
	display: block;
	margin: -4px;
	margin-bottom: 0px;
	padding: 0px;
}

.listing img.logo {
	float: right;
	margin: 5px 4px 10px 10px;
}

.l3 img.logo {
	border: 1px solid #C0CA00;
}

.l2 img.logo {
	border: 1px solid #FFFFFF;
}

.listing h3 {
	font-size: 1em;
	margin: 0;
	font-weight: bold;
	color: #629bfb;
}

.listing p {
	margin: 0;
}

.listing p.address {
	line-height: 1.5em;
	font-weight:bold;
}

.listing p.contacts {
	line-height: 1.5em;
}

.listing a:link, .listing a:visited , .listing a:active {
	color: #629bfb;
	text-decoration: underline;
}
	
.listing a:hover, .listing a:focus {
	/* color: #3366FF; */
	text-decoration: none;
}

#listing_banner {
	border: 1px solid #B7CDE2;
	width: auto;
	overflow: hidden;
	margin: 15px 0 0;
	padding: 0;
}

* html #listing_banner img { margin-bottom: -2px;} /* IE 6 */
*+html #listing_banner img { margin-bottom: -2px;} /* IE 7 */

#listing_logo {
	width: 678px;
	margin: 0;
	margin-top: 1em;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid #B7CDE2;
}

#listing_logo img {
	display:block;
	margin: 5px;
	float: left;
	border: 1px solid #B7CDE2;
}

#listing_logo h1 {
	font-family:Arial, Helvetica, sans-serif;
	text-align:center;
	padding: 35px 0px;
	width:auto;
	margin: 0;
	border: none;
}

#listing_contact_details {
	margin: 0;
	margin-top: 1em;
	padding:0px;
	width: 678px;
	background: #FFFFFF;
	border: 1px solid #B7CDE2;
}

#listing_contact_details h1 {
	font-family:Arial, Helvetica, sans-serif;
	padding: 10px 10px 0px;
	width:auto;
	margin: 0;
}

#listing_contact_details div {
	float: left;
	width: 50%;
	margin: 0px;
	text-align: left;
}

#listing_contact_details h2 {
	width: auto;
	padding: 10px 10px 0px;
	margin: 0;
	font-size: 1em;
	font-weight: bold;
}

#listing_contact_details p {
	padding: 10px;
	position: relative;
	width: 90%; /* for hours columning, IE */
	margin: 0;
}

#listing_contact_details a {
	font-weight: bold;
}

#listing_contact_details span.col_left {
	display: block;
	float: left;
	clear: left;
	width: 25%;
	margin: 0px;
	padding: 0px;
}

#listing_contact_details span.col_right {
	display: block;
	float: left;
	margin: 0px;
	padding: 0px;
	width: 70%; /* for IE */
}

#listing_more_details {
	width: 678px;
	margin: 0;
	margin-top: 1em;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid #B7CDE2;
}

#listing_more_details div {
	float: left;
	width: 33%;
	margin: 0px;
	text-align: left;
}

#listing_more_details h2 {
	width: auto;
	padding: 10px 10px 0px;
	margin: 0;
	font-size: 1em;
	font-weight: bold;
}

#listing_more_details p {
	padding: 10px;
	margin: 0;
}

#listing_info {
	width: 678px;
	margin: 0;
	margin-top: 1em;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid #B7CDE2;
}

#listing_info h2 {
	width: auto;
	padding: 10px 10px 0px;
	margin: 0;
	font-size: 1em;
	font-weight: bold;
}

#listing_info p {
	padding: 10px;
	margin: 0;
}

/*
#listing_info ul {
	margin-top: -1em;
} */

#listing_gallery {
	width: 678px;
	margin: 0px;
	margin-top: 1em;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid #B7CDE2;
}

#thumbnails {
	width: 300px;
	float: left;
	margin: 0px;
	padding: 0px;
	list-style-type:none;
}

* html #thumbnails {
	width: 320px;
}

#thumbnails li {
	display:block;
	float: left;
	width: 140px;
	height: 120px;
	text-align: center;
	margin: 5px;
	overflow: hidden;
}

#images {
	display: block;
	float: right;
	width: 360px;
	margin: 0px;
	padding: 5px;
	text-align:center;
	list-style-type: none;
}

* html #images { /* IE 6 */
	width: 350px;
}

#images li {
	width: 100%;
	text-align: center;
}

* html #images li { /* IE 6 */
	margin: 0px;
	padding: 0px;
	border: none;
	display: inline;
}

*+html #images li { /* IE 7 */
	margin: 0px;
	padding: 0px;
	border: none;
	display: inline;
}

#images li img {
	display: none;
}

ul.paging {
	width: 100%;
	text-align: center;
	margin:0px;
	margin-top: 1em;
	padding: 0px;
}

ul.paging li {
	display: inline;
}

ul.paging a.current {
	font-weight: bold;
	font-size: 1.1em;
}

/*####################################################################*/
/*patching up copied code*/

h2.relic { color: #CC6666; }

table#options, table.options {
	width: 680px;
	margin: 0 auto;
	padding: 0;
	border: none;
	border-collapse: collapse;
}

table#options th, table#options td, table.options th, table.options td {
	padding: 0;
	margin: 0 5px;
	width: 205px;
	background-color:#F1F4FE;
	border:0px solid #FFFFFF;
	border-left-width:10px;
	border-right-width:10px;
	vertical-align:top;
}

table#options th {
	padding: 10px 10px 0px 10px;
}

table#options td.link, table.options td.link  {
	background-color:#FFFFFF;
	text-align:center;
}

table#options p, table.options p  {
	margin:5px 10px;
}
/*####################################################################*/
/*general styles/overrides - may have to overwrite any of above styles*/


.border {
	border: 1px solid #dadada;
}

.left {
	text-align: left;
}

.center {
	text-align:center;
}

.right {
	text-align: right;
}

.alert {
	font-weight: bold;
	text-align: center;
	color: #FF0000;
}

.compact {
	 font-size:smaller; 
	 letter-spacing:-1px;
}

.clear {
	display: block;
	width: 100%;
	height: 1px;
	clear: both;
}

* html .clear { /* IE6 */
	/* display: none; */
}
