html {
  overflow-y: scroll;
}

body {
  background-color: #fff;
  font-size: 14px;
  color: #464646;
  font-family: Helvetica, Verdana, Arial, sans-serif;
}

html, body {
    height: 100%;
}

h1 {
  font-size: 18px;
}

h2 {
  font-size: 16px;
}

p {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

hr {
  border-top: 1px solid #f3f0e9;
  height: 1px;
  background-color: #f3f0e9;
}

a {
  color: #4c729e;
  text-decoration: none;
}

a:hover, a.noul:hover,#menu a {
  text-decoration: none;
}

ul, ol {
  margin: 5px 0;
}

ul, ol, li {
  margin-left: 10px;
}

pre {
  display: inline;
}

table {
  margin: 10px;
}

td {
  padding: 5px;
}

.tt, .code {
  font-family: monospace;
}

.code {
  margin: 5px;
  padding: 5px 10px;
  border: 1px dashed #b0cbeb;
  background: #f3f0e9;
}

.clear {
  clear: both;
}

.widepad {
  width: 100%;
  height: 25px;
}

.narrowpad {
  width: 100%;
  height: 10px;
  clear: both;
}

.tableheader {
  font-weight: bold;
}

#pagewrapper {
  margin: auto;
  width: 800px;
  position: relative;
  background:rgb(240,240,240);
  background: transparent\9;
  background:rgba(240,240,240,0.7);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#B3F0F0F0,endColorstr=#B3F0F0F0);
  zoom: 1;
  min-height: 100%;
  margin-bottom: -58px; 
}
#pagewrapper:nth-child(n) {
    filter: none;
}
#pagewrapper:after {
    content: "";
    display: block;
}
#footer, #pagewrapper:after {
    height: 48px; 
    margin: auto;
    position: relative;
}
#header {
  background-color: #9a0000;
}

#logotype {
  padding: 5px 20px 5px 20px;
  margin-bottom: -10px;
}

#menu, .section-tag {
  margin-top: -16px;
  padding: 8px 20px 7px 20px;
  background-color: #464646;
  color: #fff;
  font-size: 11px;
}

#menu {
  float: right;
  text-align: center;
}

#menu>a {
  color: #fff;
}

#onecol {
  margin: 5px;
}

#leftcol {
  margin: 5px;
  width: 475px;
  float: left;
}

#rightcol {
  margin: 5px 0 5px 5px;
  width: 300px;
  float: right;
}

.section-tag {
  float: left;
  margin: -31px 5px 5px -20px;
  text-transform: uppercase;
}

.section-tag a {
  color: #fff;
}

.cbox {
  padding: 21px 10px 5px 10px;
  border: 5px solid #f3f0e9;
  background: #FFF;
  border-color: rgba(243,240,233,0.7);
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
}

.cbox h1, .cbox p, .cbox li, #footer {
  line-height: 1.5em;
}

#footer {
  padding: 5px 10px;
  width: 780px;
  background-color: #9a0000;
  color: #fff;
  font-size: 11px;
}

#footer>a {
  color: #fff;
}
img.bg {
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;

    /* Set up proportionate scaling */
    width: 100%;
    height: auto;

    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
}
@media screen and (max-width: 1024px) { 
    img.bg {
        left: 50%;
        margin-left: -512px;
    }
}
.date-past, .date-next, .date-future {
  float: right;
  text-transform: uppercase;
  padding: 7px 20px 8px 20px;
  font-weight: bold;
  font-size: 11px;
}

.date-past {
  color: #ffffff;
  background-color: #464646;
}

.date-next {
  color: #ffffff;
  background-color: #4c729e;
}

.date-future {
  color: #464646;
  background-color: #cccccc;
}

.sponsor {
  overflow: hidden;
}
.sponsor-logo {
  float: right;
  width: 200px;
  max-width: 30%;
  padding: 0 8px;
  margin-top: 0.5em;
  margin-bottom: 1em;
  clear: both;
  display: block;
}
.sponsor-logo img {
  width: 200px;
  max-width: 100%;
}

code {
  display: inline;
}

pre {
  display: block;
  padding: 5px;
  margin: 0 5px;
  width: 90%;
  background: #4c729e;
  color: #ffffff;
}
#bg {
  position: fixed; 
  top: -50%; 
  left: -50%; 
  width: 200%; 
  height: 200%;
}
#bg img {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
  width: auto;
}
