@import url("../stylesheet.css");

/*** Global stuff ***/

/** Default settings **/

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body {
	padding-top: 3px;

	background: #ffffff
		url("/siteimg/gram-hdr.png") no-repeat scroll 0px 3px;
}

h1,
h2,
h3,
h4 {
	height: 28px;
	clear: none;
	padding: 0 15px;
	text-align: left;
	white-space: pre;
}

h1 {
	background: #f6842a
		url("/siteimg/hdr-left.png") no-repeat scroll left;
}

h2,
h3,
h4 {
	background: #f6842a
		url("/siteimg/hdr-left.png") no-repeat scroll left;
}

td {
	vertical-align: top;
}

textarea,
select,
input[type="text"] {
	width: 100%;
}

a {
	text-decoration: underline;
}

/** Generic classes **/

div.block {
	position: relative;
	border: 1px solid #f6842a;
}

div.block h1,
div.block h2,
div.block h3,
div.block h4 {
	height: 30px;
	clear: none;
	z-index: 1;
	margin: -1px 0 0 -1px;
	border: none;
	padding: 0 15px;
	background: #f6842a
		url("/siteimg/hdr-topleft.png")
		no-repeat scroll top left;
	text-align: left;
}

h1,
div.block h1 {
	padding-top: 1px;
	font-size: 24px;
}

h2,
div.block h2 {
	padding-top: 2px;
	font-size: 21px;
}

h3,
div.block h3 {
	padding-top: 4px;
	font-size: 18px;
}

h4,
div.block h4 {
	padding-top: 5px;
	font-size: 16px;
}

p.note {
	font-size: 80%;
}

table.vertical {
	width: 100%;
}


/* property lists */
div.propitem img {
	float: left;
	margin: 10px;
	border: 1px solid #000000;
}

div.propitem form.viewfull {
	margin: 10px;
}

/* search criteria */
div.searchfilter select {
	max-height: 8em;
}

/** Different parts of the page **/

#hdr {
	background-repeat: no-repeat;
}

/* Top menu */
#menu_main {
	height: 22px;

	margin: 0;
	border: none;
	padding: 0 0 0 5px;

	font-size: 90%;
}

#menu_main div.menu_a,
#menu_main div.menu_d {
	display: block;
	position: relative;
	float: left;
	height: 22px;

	margin: 0;
	border: none;
	padding: 4px 10px 0;

	text-align: center;
	text-transform: uppercase;
	white-space: pre;
}

#menu_main div.menu_d a {
	text-decoration: none;
}

#menu_main div.menu_bd,
#menu_main div.menu_ba,
#menu_main div.menu_ad,
#menu_main div.menu_dd,
#menu_main div.menu_da,
#menu_main div.menu_db,
#menu_main div.menu_ab {
	display: block;
	position: relative;
	float: left;
	height: 22px;
	width: 1px;

	background-color: #ffffff;
}


.menu_sub_empty #menu_sub {
	display: none;
}

.menu_sub_full #menu_sub {
	float: left;
	width: 150px;

	margin: 20px 0 0 15px;
	padding: 0 15px;

	background: #f6842a
		url("/siteimg/hdr-topleft.png")
		no-repeat scroll top left;
	font-size: 90%;
}

#menu_sub div.menu_a,
#menu_sub div.menu_d a {
	display: block;

	margin: 10px 5px;
	border: none;
	padding: 1px 5px;
}


/* bottom disclaimer list */
#disclaimer {
	height: 25px;
	position: relative;
	margin: 0;
	border: 0;
	padding: 1px 10px;
	font-size: 90%;
}

#disclaimer div.menu_d {
	display: block;
	position: relative;
	float: left;

	margin: 5px 4px 0;
	border: none;
	padding: 1px 2px;
}

#disclaimer div.menu_d a {
	text-decoration: none;
}

#disclaimer div.menu_dd {
	display: block;
	position: relative;
	float: left;
	height: 25px;
	background-repeat: no-repeat;
	background-position: center center;
	width: 1px;
	background-image: url("/i/templates/Standard/sub_dd.gif");
}


/* right-hand side */
#vertbar,
#vertborder {
	display:none;
}

#lang_outer {
	height: 140px;
	margin: 0;

	background-color: #f6842a;
	background-image: url("/siteimg/gram-topright.png");
}

#lang_inner {
	display: none;
}

#memsec {
	display: none;
}

div#spacer {
	width: 770px;
	height: 0;
}

/* main page area */
.menu_sub_full div.main {
	margin-left: 200px;
	padding: 10px 30px 0 20px;
}
.menu_sub_empty div.main {
	padding: 10px 30px 0 20px;
}


/* right-hand side */
#rhs div.rhslink {
	margin: 20px 0;
}

/*** Bits for individual pages ***/

/** search page **/
div#page_search.page_search_map div.searchlist h2,
div#page_search.page_search_map div.searchpopup h2 {
	background-color: #f6842a;
	margin-top: 0;
}

div#page_search.page_search_map div.searchlist h2 a,
div#page_search.page_search_map div.searchpopup h2 a {
	background-color: #f6842a;
}

div#page_search.page_search_map table#map_border {
	position: absolute;
	left: 240px;
	top: 70px;
	width: 550px;
	height: 400px;

	background-color: #8080ff;
}

div#page_search.page_search_map div#filters {
	top: 65px;
	left: 20px;
	width: 180px;
	padding: 5px;
}

div#page_search.page_search_map div.searchfilter-minmax,
div#page_search.page_search_map div.searchfilter {
	clear: both;

	padding: 5px 10px;

	color: #000000;
}

div#page_search.page_search_map div#filters label {
	display: block;
	text-align: left;
}

div#page_search.page_search_map div.searchfilter select,
div#page_search.page_search_map div.searchfilter-minmax select,
div#page_search.page_search_map div.searchfilter input {
	width: 100%;
}

div#page_search.page_search_map div.searchfilter-minmax label.minmax {
	float: left;
	width: 20%;
	margin-top: 3px;
}

div#page_search.page_search_map div.searchfilter-minmax input {
	float: right;
	width: 75%;
}

div#page_search.page_search_map div.submit {
	text-align: right;
	margin-top: 10px;
}


/** Property page **/

div#page_property div#summary {
	position: absolute;
	right: 50px;
	width: 300px;
}

div#page_property div#summary table.vertical th {
	text-align: left;
}

div#page_property div#img {
	margin-top: 5px;
	width:395px;
}

div#page_property div#img img {
	border:2px solid #000;
}


/* Table of thumbnail images */
div#page_property table.thumbs {
	border: none;
}

div#page_property table.thumbs a {
	margin: 0 6px;
	padding: 0;
}

div#page_property table.thumbs img {
	border:2px solid #000;
}

div#page_property table.thumbs th {
	border:1px solid #ccc;
	border-style:solid solid none solid;
	text-align:center;
}

div#page_property form[action="/property_post.cgi"],
div#page_property div#basket {
	display: none;
}


/** gram pages **/

div#page_gram td.left,
div#page_gram td.right {
	padding: 20px;
}

div#page_gram td.right {
	border-left: 1px solid #f6842a;
}

/* IE7 messes up without this. */
div#page_gram table.vertical th {
	width: 33%;
}
