/* Based on a design by François PLANQUE - http://fplanque.net/ */

html {
  height: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: #fff;
  font-size: 76%;
  font-family: "Trebuchet MS", Trebuchet, Verdana, Arial, Helvetica, sans-serif;
  /* hide overflow:hidden from IE5/Mac */
  /* \*/
  overflow: hidden; /* get rid of scroll bars in IE */
  /* */
}

body {
  overflow: hidden; /* get rid of scroll bars in IE */
  height: 100%;
  max-height: 100%;
	padding: 0;
	margin: 0;
  border: 0;
}

a, a:link, a:visited {
	color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #273;
}

a:hover {
	color: #fff;
  text-decoration: none;
  background: #273;
}

a.permalink_right {
  float: right;
  border: 0;
}

a.permalink_right img {
  border: 0;
}

/* Footer */
#footer {
  display: block;
  position: absolute;
  bottom: -1px;
  right: 18px;
	width: 100%;
  height: 50px;
	margin: 0;
	background: #273;
  color: #fff;
  z-index: 4;
}

#footer a #footer a:link, #footer a:visited, #footer a:hover {
  text-decoration: none;
  border: none;
  background: transparent;
}

#footer img {
  border: none;
}

/* Header */
#head {
  display: block;
  position: absolute;
  top: 0;
  right: 18px;
  width: 100%;
  height: 60px;
  z-index: 10;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

#head h1 {
  position: absolute;
  width: 100%;
  font-size: 4em;
  line-height: 1em;
  color: #273; /* Comment #273 */
  padding: 0;
  margin: 20px 0 0 228px;
}

/* Main content */
#content {
  display: block;
  position: relative;
  height: 100%;
  max-height: 100%;
  padding-left: 200px;
  overflow: auto;
  z-index: 1;
}

h2 {
	font-size: 2em;
	margin-left: 1em;
}

h3.bTitle {
  font-size: 2em;
  color: #273;
  margin-bottom: 5px;
  border-bottom: 1px solid #000;
  font-weight: bold;
  text-align: left;
  padding: 0 0 8px 0;
}

.bPost, .bPostpublished {
	margin: 0 2.5ex;
	padding: 0;
  font-size: 1.2em;
  line-height: 1.4em;
}

.bSmallHead {
	font-size: 80%;
	color: #000;
	margin: 2ex 0 1ex 0;
}

.bText {
	margin-top: 0;
	margin-bottom: 0;
}

.bSmallPrint {
	color: #000;
	font-size: 80%;
	margin: 1ex 0 2ex 0;
}

/* Sidebar */
#nav {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  height: 100%;
  z-index: 5;
  background-image: url(../../../images/bg-mouthpiece.jpg);
  background-repeat: no-repeat;
  background-position: left 55%;
  width: 200px;
}

* html #nav {
  margin-top: 80px;
  background-position: left 50px;
}

/* Navigation Links */
#nav ul {
	display: block;
  width: 150px;
  background-color: #f8f8f8;
  list-style: none;
  margin-left: -25px;
}

* html #nav ul {
  margin-left: 15px;
}

#nav li {
  display: block;
  width: 100%;
  padding: 0;
  height: 25px;
  line-height: 25px;
  text-align: center;
  font-size: 1.3em;
}

#nav li a, #nav li a:link, #nav li a:visited {
  display: block;
  width: 100%;
  margin-top: 5px;
  text-decoration: none;
  background-color: #fff;
  color: #273;
  border: 1px solid #000;
}

#nav li a:hover {
  display: block;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-right: 5px solid #273;
}

#nav li.act a, #nav li.act a:link {
  display: block;
  margin-top: 5px;
  text-decoration: none;
  background-color: #273;
  color: #fff;
  border: 1px solid #000;
  font-weight: bold;
  cursor: default;
}

#nav li.act a:visited {
  display: block;
  font-weight: bold;
  color: #fff;
}

#nav li.act a:hover {
  color: #fff;
  font-weight: bold;
  border-right: 1px solid #000;
}

#nav li.act a:active {
  font-weight: bold;
}

/* Search Form */
#head form {
  float: right;
  width: 175px;
  margin: 0 28px 0 0;
  background: #fff;
}

#head form fieldset {
  width: 160px;
}

#head form fieldset legend {
  color: #273;
  font-size: 1.2em; 
}

input.SearchField {
	background-color: #eee;
  width: 150px;
}

input.submit, input.reset {
	background-color: #ddd;
	color: #000;
	border: 1px solid #000;
	font-weight: bold;
	padding: 1px;
}

input.submit:hover {
	color: #273;
	text-decoration: underline;
}

/* Calendar */
table.bCalendarTable {
  position: absolute;
  top: 29px;
  right: 220px;
  margin-left: 16px;
	border: 1px solid #000;
	border-collapse: separate; 
  background: #f8f8f8;
  width: 177px;
}

* html table.bCalendarTable {
  top: 10px;
  right: 250px;
}

table.bCalendarTable a, table.bCalendarTable a:link, table.bCalendarTable a:visited {
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #273;
}

table.bCalendarTable a:hover {
	background-color: #273;
	color: #fff;
  text-decoration: none;
}

caption.bCalendarCaption {
  display: block;
  position: absolute;
  top: 10px;
  right: 220px;
	border: 1px solid #000;
	background-color: #273;
	border-bottom: 0;
  font-size: 1em;
  width: 177px;
  margin-left: 16px;
}

* html caption.bCalendarCaption {
  top: 0;
  right: 0;
}
caption.bCalendarCaption a, caption.bCalendarCaption a:link, caption.bCalendarCaption a:visited {
  color: #fff;
  text-decoration: none;
  border-bottom: 0;
  font-size: 1em;
}

caption.bCalendarCaption a:hover {
  color: #fff;
  text-decoration: none;
  border-bottom: 0;
  font-size: 1em;
}

tr.bCalendarRow {
  text-align: center;
}

th.bCalendarHeaderCell {
	color: #273;
  font-size: 0.8em;
}

td.bCalendarCell {
  width: 2em;
  height: 1em;
  font-size: 1em;
}

.bCalendarLinkPost {
  font-size: 1em;
  font-weight: bold;
}

td#next, td#prev {
  font-weight: bold;
  font-size: 1.1em;
  white-space: nowrap;
}

td#next {
  text-align: right;
}

td#prev {
  text-align: left;
}

table.bCalendarTable tfoot td {
	background-color: #eee;
	border-top: 1px solid #000;
}

table.bCalendarTable tfoot a, table.bCalendarTable tfoot a:link, table.bCalendarTable tfoot a:visited {
  color: #000;
	text-decoration: none;
  border: none;
}

table.bCalendarTable tfoot a:hover {
	background-color: #273;
	color: #fff;
  text-decoration: none;
}

.pad1 {
  display: block;
  height: 60px;
}

.pad2 {
  display: block;
  height: 60px;
}

#pad3 {
  display: block;
  width:18px;
  height: 45px;
  float: left;
}

.center {
  text-align: center;
  margin: 0 auto;
}

img.left {
  float: left;
  margin-right: 5px;
}
