/* owner:       Heddon's Gate Hotel
 * name:        heddonsgate.css
 * description: Style Sheet
 * version:     18
 * date:        3 March 2010
 * author:      Edmund Eyles
 *
 * Overall layout of page:
 * Content cell 650px wide.
 * Half-width images 303px wide (half full-width, less 10px padding each side,
 * less 1px border each side).
 *
 * @font-face not supported by any browser Mar 09.  Damn.  
 * Fonts
 *@font-face {
 *	font-family: Aspire DemiBold;
 *	src: url("/fonts/Aspire-DemiBold.ttf") format("truetype");
 *}
 */

/* Main elements */

BODY {
	color: #000;
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", serif;
	font-size: 11pt;
	margin: 0;
  overflow: scroll;
	padding: 0;
}

TABLE#wrapper {
	border: 1px solid;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	width: 781px;
}

/* Column width settings don't seem to work reliably as mimimum-width settings,
   as least in Firefox.  This has led to the unfortunate use of the spacer HR */
COL#col_main { width: 650px; }
COL#col_sidebar { width: 142px; }
COL.col_content { width: 325px; }

TR#row_header {
	border-bottom: 1px solid;
	margin: 0;
}

TD#cell_content {
	border-right: 1px solid;
	margin: 0;
	padding: 0;
}

DIV#menu {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 0.9em;
}

#motd {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", serif;
	font-size: 0.9em;
  line-height: 1.5;
	margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 25px;
	padding: 5px;
  text-align: center;
}

DIV#footer {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 0.78em;
	margin: 0;
	padding-bottom: 10px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 20px;
}

/* Other block elements */
 
H1, H2, H3 {
	display: block;
	font-family: "Lucida Calligraphy", "Monotype Corsiva", "Apple Chancery", "URW Chancery L", cursive;
	margin: 0;
	padding: 0;
	text-align: center;
}
 
H1 {
	font-size: 2em;
	font-weight: bold;
}

H2 {
	font-size: 1.3em;
	font-weight: normal;
}

H3 {
	font-size: 1.1em;
	font-weight: normal;
}

H3:first-letter {
	font-size: 2em;
	vertical-align: middle;
}

UL LI { margin-left: 1em; }

UL.conditions {	font-size: 80%; }

P {
	margin: 0;
	text-align: left;
}

P.centred { text-align: center; }

P.credit { font-size: 70%; }

P.footnote {
	font-size: 75%;
	font-style: italic;
}

P.form_note {
	font-size: 75%;
	width: 305px;
}

P.poem {
	font-family: "Lucida Calligraphy", "Monotype Corsiva", "Apple Chancery", "URW Chancery L", cursive;
	margin-left: 1em;
	text-indent: -1em;
}

P.quote {	font-style: italic; }

TABLE {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
	padding: 0;
	table-layout: auto;
	vertical-align: middle;
	width: 100%;
}

TABLE.calculator { border: 1px solid #888; }

TD, TH {
	margin: 0;
	padding: 10px;
}

TD.centred, TH.centred { text-align: center; }

TD.right, TH.right { text-align: right; }

TD.top, TH.top { vertical-align: top; }

TD.nopad, TH.nopad { padding: 0; }

TR.lnhtexp { line-height: 1.6; }

TABLE.calculator TD {
  text-align: left;
  vertical-align: top;
  width: 25%;
}

TABLE.data TD, TABLE.data TH {
	border: 1px solid #888;
	padding: 5px;
	text-align: center;
}

TH {
	font-weight: bold;
	text-align: left;
}

UL {
	margin: 0;
	padding: 0;
}

/* Links */
 
A, SPAN#active {
	color: #000;
	padding-bottom: 0;
	padding-left: 1px;
	padding-right: 1px;
	padding-top: 0;
	text-decoration: none;
}

A:hover, A:focus, A.imglink:hover, A.imglink:focus, BUTTON:hover, BUTTON:focus { background-color: #a97; }

A.imglink {
	display: block;
	height: 100%;
  padding-bottom: 0;
	padding-left: 1px;
  padding-right: 1px;
  padding-top: 1px;
}

A.imglink IMG { border: 0; }

DIV#menu A, SPAN#active {
	display: block;
	margin-bottom: 2px;
	margin-top: 2px;
	padding: 0;
	text-align: center;
	width: 142px;
}

A.button, BUTTON {
	border: 2px outset;
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", serif;
	font-weight: bold;
	padding-bottom: 0.3em;
	padding-left: 0.6em;
	padding-right: 0.6em;
	padding-top: 0.3em;
}

/*
 * Firefox bug: if an A has padding when it is the only content of a TD, 
 * Firefox calculates the width of its column without taking account of the 
 * padding.  When the padding is then applied, then if this is the widest cell 
 * in the column, the edge of the content is pushed out of the TD.  
 */
TABLE.data A { padding: 0; }

/*
 * Other inline elements
 */

HR.spacer {
  border: 0;
  height: 0;
  margin: 0;
  padding: 0;
  width: 650px;
}
 
IMG {
	border: 1px solid #888;
	margin: 0;
  padding: 0;
}

IMG.banner { border: 0; }

INPUT, TEXTAREA {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", serif;
	margin: 0;
	padding-left: 3px;
	padding-right: 3px;
}

INPUT[type="text"], TEXTAREA { border: 1px solid #888; }

SPAN.bold {	font-weight: bold; }

SPAN.hidden {	display: none; }

SPAN.italic {	font-style: italic; }

SPAN.smallcaps { font-variant: small-caps; }

SPAN.underline { text-decoration: underline; }

*.clear_left { clear: left }

/* Media rules */
 
@media screen {

	A, BUTTON { background-color: #cb9; }
	
	A.imglink { background-color: transparent; }
	
	BODY { background-color: #cb9; }

  #motd {
    background-color: #fef1d9;
    color: #000;
  }
  
	P.footnote { display: block; }

	SPAN#active { background-color: #ffd; }

	TABLE#wrapper {
		/* background-color: #fec; */
		background-image: url("/graphics/textured_background.gif");
		background-repeat: repeat;
	}
	
	TD#cell_sidebar, TR#row_header { background-color: #edb; }
	
}

@media print {

	A, BODY, BUTTON, TR#row_main, TR#row_header, TABLE#wrapper { background-color: transparent; }
  
  #motd { color: #000; }
	
	P.footnote { display: none; }

}