/* STRUCTURE */

#page {
  width: 992px;
  margin: 20px auto;
}
#menu {
 width: 220px;
}
#content {
  width: 390px;
  margin: 20px 30px;
}
#sidebar {
  width: 230px;
  margin-top: 7px;
}
#menu, #content, #sidebar {
  float: left;
}
#page {
  padding-bottom: 19px;
}
 #header {
  padding-bottom: 16px;
 }
#middle, #footer {
  padding: 30px;
  margin: 0;
}
#middle {
  padding: 40px 30px 30px;
}
#footer {
  padding: 10px 30px 20px;
}
#header {
  position: relative;
  z-index: 5;
 }
 .container {
  position: relative;
  z-index: 4;
  margin-top: -20px;
  padding: 0 14px;
}

/* GLOBAL */

body {
  margin: 0;
  font-family: arial,verdana,helvetica,sans-serif;
  color: #795141;
  background-image: url('../images/tartan.png');
}
h1 {
  background-image: url('../images/header/header.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-color: #DF1F26;
  margin: 0;
}
h1 a {
  display: block;
  height: 180px;
}
h2 {
  color: #5F0D10;
  font-weight: normal;
  margin: 0 0 15px;
  text-shadow: 0 0 1px #eeffee;
  font-size: 1.5em;
  line-height: 1.4em;
}
p {
  margin: 0 0 15px;
  font-size: 0.95em;
}
a {
  color: #DF1F26;
}
a:hover {
  color: #5F0D10;
}
a span {
  display: none;
}
ul, li {
  margin: 0;
  padding: 0;
}
img {
  border: 0;
  width: 100%;
}

/* SPECIFIC */

/* modx */

a.qmButton span {
  display: inline;
}

/* backgrounds, borders and shading */
#h1, #middle, #footer {
  background-color: #fff;
}
h1 {
  border: 1px solid #5F0D10;
}
#footer {
  border-bottom: 1px solid #5F0D10;
}
#middle, #footer {
  border-left: 1px solid #5F0D10;
  border-right: 1px solid #5F0D10;
}
#header .wrapper, .container {
  background-repeat: repeat-y;
  background-position: top center;
}
#header, #page {
  background-repeat: no-repeat;
  background-position: bottom center;
}
#header {
  background-image: url('../images/border-bottom-header.png');
}
#page {
  background-image: url('../images/border-bottom-page.png');
}
.container {
  background-image: url('../images/border-sides-container.png');
}

/* menu styles */
#menu a {
  color: #fff;
  text-decoration: none;
}
#menu ul {
  list-style: none;
  padding: 20px 0;
  background-color: #fff;
  border-right: 1px solid #aaa;
}
#menu ul li {
  line-height: 2em;
  margin-bottom: 10px;
}
#menu ul li.last {
  margin-bottom: 0px;
}
#menu ul li a {
  display: block;
  padding-right: 20px;
  font-weight: bold;
  text-shadow: 0 0 1px #5F2A2C;
  font-size: 0.8em;
  text-align: right;
  background-color: #DF1F26;
  border: 1px solid #4B2022;
  border-right: 0;
}
#menu ul li.active a {
  background-color: #fff;
  color: #4B2022;
  font-weight: bold;
  text-shadow: 0 0 1px #eeffee;
}

/* content styles */

/* sidebar styles */

#sidebar p {
  margin-top: 20px;
}

/* footer styles */

#footer .wrapper {
  overflow: hidden; /* to hide line in flashobject */
  border-top: 1px solid #fff; /* to prevent flickering from jquery */
}
#footer object {
  margin-top: -2px;
}

/* clearfix */

.clearfix:after {
clear:both;
content:".";
display:block;
height:0;
line-height:0;
visibility:hidden;
}
.clearfix {
display:inline-block;
}
html[xmlns] .clearfix {
display:block;
}
* html .clearfix {
height:1%;
}