

/* border */
img { border: 0; }
#logo img { border: 1px solid black; }

/* background-color */
body, #wrappermain, #bottom { background-color: white; }

/* background-image */
#header { background-image: url('../img/headerbg.gif'); }
body { background-image: url('../img/diagstripe.gif'); }

/* colour */
body { color: #333; }
#header { color: #666; }

/* clear */
.clear { clear:both; }

/* display */
#guide li { display: inline; }
#logo img { display: block; }

/* float */
.left, .right, .rightbar { float:left; }

/* font */
body { font-family: Arial, Verdana, sans-serif, Serif; }

/* font-size */
body { font-size: 62.5%; }
h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2.5em; }
h4 { font-size: 2em; }
h5 { font-size: 1.6em; }
h6, p, li { font-size: 1.2em; }
li li { font-size: 1em; };

/* height */
.clear { height:0.1%; }
#header { height: 100px; }

/* left */

/* list-style */
li { list-style: square; }

/* line-height */
p, li { line-height: 1.5em; }

/* margin */
body, #alert ul { margin: 0; }
#container { margin: 0 auto; }
#guide li { margin: 0 1em; }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0.25em 0; }
#header, #wrappermain, #bottom { margin-bottom: 1em; }

/* min-height */
#content { min-height: 400px; }

/* min-width */
body { min-width: 900px; }

/* padding */
body, div { padding: 0; }
#content, #alert { padding: 3em 0.5em 0.5em 0.5em; }
#alert ul { padding: 0.5em 1.5em; }
#header { padding: 1em; }
h1, h2, h3, h4, h5, h6, p { padding: 10px; }
ul, ol { padding: 10px 10px 10px 20px; }

/* position */
body, #wrappermain, #content, #rightbar, #bottom, #header { position: relative; }
#login, #logout, #logo { position: absolute; }

/* text-align */
.copyright, #guide { text-align: center; }
#header h4 { text-align: right; }

/* width */
body, .clear { width:100%; }
#container { width:900px; }
.lrrb { width:325px; } /*left-right-rightbar*/
.lr { width:445px; } /*left-right*/
.lrb { width:650px; } /*left-rightbar*/
.l { width:890px; } /*left only*/
.rightbar { width:240px; }


/* -- menu -- */
#menu {
  width:100%;
  border-bottom: 2px solid #333;
  position: absolute;
  top: 0;
  left: 0;
  background-color: white;
}

/*lvl1*/
#menu ul {
  margin: 0;
  padding: 0;
}
#menu li {
  position: relative;
  list-style: none;
  float: left;
  margin: 0;
  padding: 0;
}
#menu li a {
  display: block;
  padding: 0.5em 1em;
}
#menu li a:hover {
  background: blue;
  color: white;
}

/*lvl2*/
#menu li div {
  position: absolute;
  top: 2.5em;
  left: -10000px;
  width: 250px;
  z-index: 1000;
  background-color: white;
}
#menu li div li {
  width: 100%;
}
#menu li:hover div {
  left: auto;
}


/* -- page-menu -- */
#page_menu {
  text-align: center;
  position: relative;
}
#page_menu ul {
  position: relative;
  margin: 0;
  padding: 0;
}
#page_menu li {
  position: relative;
  display: inline;
  margin: 0 15px;
  list-style: none;
}
#page_menu li.full {
  position: static;
}
#page_menu li div {
  position: absolute;
  border: 1px solid #333;
  margin-left: -130px;
  background-color: white;
  z-index:500;
  width: 300px;
  left: -6000px;
}
#page_menu li.full div {
  margin-left: -0.65%;
  width:99%;
}
#page_menu li:hover div {
  left: 0;
}
#page_menu li li {
  display: block;
  text-align: left;
}
#page_menu .intro {
  margin: 5px;
}
#page_menu ul ul ul {
  float: left;
  width:21%;
}
#page_menu ul li:hover ul ul {
  left:0;
}

/* modules */
.modProperty {
  text-align: center;
}
.gallery {
  padding:5px;
}
.gallery li {
  position: relative;
  float: left;
  padding: 2px;
  margin: 2px;
  overflow: hidden;
  background: #e6e6e6;
}
.gallery span {
  display: block;
}
.gallery .image {
  line-height: 0;
  background-color: white;
  text-align: center;
}
.gallery .image img {
  margin: 0;
  padding: 0;
  display: inline;
  width:100%;
  height:auto;
}
.gallery .title {
  line-height: 1.5em;
  height: 1.5em;  /*height is equal to the height of 1 line of text to ensure that increasing text-size or str-length doesn't break the layout*/
  overflow: hidden;
}.modContacts ul, .modRegion_links ul {
  padding: 0 1em;
}
.modContacts ul li, .modRegion_links ul li {
  margin: 0.5em 0;
  list-style: none;
}
.modContacts .title, .modRegion_links .title {
  font-weight: bold;
  display: block;
  text-decoration: underline;
}
.modRegion_links li li {
  list-style: square;
  margin: 0;
}

/* forms */
.simple_field_list {
  margin: 0;
  padding: 0;
}
.simple_field_list li {
  list-style: none;
  position: relative;
}.enq {
  margin: 0 1em;
}
.enq li {
  width: 205px;
  margin-bottom: 0.5em;
}
.enq li input {
  display:block;
}
.enq li select {
  width: 99%;
}
.enq textarea {
  width: 97.5%;
  height: 8em;
}
.enq img {
  margin-left:0;
}
.enq .calbutton {
  right:auto;
  margin-top: -27px;
}.simple_field_list .date {
  width: 170px;
}
.calbutton {
  background-image: url('../img/calbutton.gif');
  width: 28px;
  height: 28px;
  display: block;
  position: absolute;
  margin-top: -28px;
  margin-left: 176px;
  right:0;
}
.cal {
  background-color: white;
  color: #0066cc;
  width: 170px;
  text-align: center;
  position: absolute;
  left: 2px;
  padding: 0;
  display: none;
  border: 1px solid #313131;
  z-index:1000;
}
.cal p {
  margin: 5px 2px;
  padding: 0;
}
.cal .hide {
  position: absolute;
  background-image: url('../img/close2.gif');
  top: 0;
  right: 0;
  cursor: default;
  width: 24px;
  height: 24px;
  display: block;
}
.cal .reset {
  padding: 2px 5px;
  border: 1px solid #999;
  cursor: default;
}
.cal .reset:hover {
  background-color: #0066cc;
  color: #f6f6f6;
}
.cal ul {
  width: auto;
  padding: 2px;
  margin: 2px;
  /*border: 1px solid #0066cc;*/
  position: relative;
}
.cal table, .cal td, .cal tr, .cal th {
  color: #0066cc;
  border: 0;
  padding: 0;
  margin: 0 auto;
}
.cal table {
  /*border: 1px solid #0066cc;*/
  margin: 2px;
  padding: 2px;
  width: 98%;
}
.cal td {
  width: 1em;
  padding: 0;
  width: 14.285714%;
}
.cal th {
  border-bottom: 2px solid #313131;
}

.cal td:hover {
  background-color: #0066cc;
  color: #f6f6f6;
  cursor: default;
}
.cal .selected {
  background-color: #ffcc66;
}

.horizantal {
  position: relative;
}
.horizantal li {
  display:inline;
}
.arr {
  position: absolute;
  left: 5px;
  top: 0;
}
.singleleft {
  background-image: url('../img/singleleft.gif');
  display: block;
  width: 10px;
  height: 20px;
  left: 30px;
}
.doubleleft {
  background-image: url('../img/doubleleft.gif');
  display: block;
  width: 17px;
  height: 20px;
}
.singleright {
  background-image: url('../img/singleright.gif');
  display: block;
  width: 10px;
  height: 20px;
  left: auto;
  right: 30px;
}
.doubleright {
  background-image: url('../img/doubleright.gif');
  display: block;
  width: 17px;
  height: 20px;
  left:auto;
  right: 5px;
}
/* -- login -- */
#login, #logout {
  border: 1px solid #333;
  background-color: #f6f6f6;
  left: -3000px;
}
