/* CSS reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
  text-align: left;
  margin: auto;
}
table, table td { 
  border: 1px solid #333;
}
table td {
  padding: 3px;
}
/* Begin main CSS */
body._0 { background: url('res/strips.png'); color: #000; font: bold 20px Comic Sans, Comic Sans MS, cursive; letter-spacing: 4px; text-align: center; }
body._1 { background: url('res/bg.png') repeat-x; font: 16px sans-serif; }

/* Toggle button */
#toggle {
  font: 16px sans-serif;
  color: #22f;
  letter-spacing: 0px;
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #333;
  padding: 5px;
}
#toggle._1 {
  background-color: #f0f6f7;
}
#toggle._0 {
  background-color: #fff;
  border: 8px solid #d50000;
  position: fixed;
}

/* 0 styles */
h1._0, h2._0, h3._0 {
  font: 40px Impact;
}
img._0 {
  text-align: left;
}
body.preset1 h1._0, body.preset1 h2._0, body.preset1 h3._0, body.preset1 p._0, body.preset1 ul._0, body.preset1 table._0, body.preset1 pre._0, #nav.preset1 div._0 {
  background-color: #ff5151;
}
body.preset2 h1._0, body.preset2 h2._0, body.preset2 h3._0, body.preset2 p._0, body.preset2 ul._0, body.preset2 table._0, body.preset2 pre._0, #nav.preset2 div._0 {
  background-color: #3eff47;
}
body.preset3 h1._0, body.preset3 h2._0, body.preset3 h3._0, body.preset3 p._0, body.preset3 ul._0, body.preset3 table._0, body.preset3 pre._0, #nav.preset3 div._0 {
  background-color: #f7ff24;
}
body.preset4 h1._0, body.preset4 h2._0, body.preset4 h3._0, body.preset4 p._0, body.preset4 ul._0, body.preset4 table._0, body.preset4 pre._0, #nav.preset4 div._0 {
  background-color: #2bf3ff;
}
body.preset5 h1._0, body.preset5 h2._0, body.preset5 h3._0, body.preset5 p._0, body.preset5 ul._0, body.preset5 table._0, body.preset5 pre._0, #nav.preset5 div._0 {
  background-color: #ff54ef;
}
#nav._0 {
  width: 400px;
}
#main._0 {
  width: 90%;
}

/* 1 styles */
/* Header */
#header._1 {
  text-align: center;
  color: #333;
  height: 80px;
  background-color: #e4f1f3;
  padding: 10px; 
}
#header._1 .title {
  font: small-caps 40px Verdana, Arial, sans-serif;
}
#header._1 .subtitle {
  font: small-caps 12px Verdana, Arial, sans-serif;
  text-align: right;
}
/* Nav menu */
#nav._1 {
  font: 12px Verdana, Arial, sans-serif;
  text-transform: uppercase;
  text-align: left;
  vertical-align: top;
  display: inline-block;
  width: 220px;
  padding-bottom: 10px;
  border-right: 1px solid #ddd;
  background-color: #fff;
}
#nav._1 div {
  padding: 10px;
}
#nav._1 a {
  color: #444;
  text-decoration: none;
}
#nav._1 div:hover {
  background-color: #e2eff2;
}
#nav._1 .lev1:before {
  content: '\00a0\00a0\00a0\00a0';
  color: #555;
}

#main._1 {
  padding: 15px; 
  text-align: center; 
  margin: auto;
  width: 970px;
  background-color: #fff;
  -moz-border-radius: 15px;
  border-radius: 15px;
}
#content._1 {
  vertical-align: top;
  display: inline-block;
  width: 730px;
  text-align: left;
  background-color: #fff;
  padding-left: 10px;
}
p._1 {
  padding-top: 10px;
  padding-bottom: 10px;
}
img._1 {
  max-width: 730px;
  margin: auto;
}
h2._1 {
  font: 24px Verdana, Arial, sans-serif;
}
h3._1 {
  font: 18px Arial, sans-serif;
}
div._1.floating {
  float: right;
  display: float;
}
pre._1 {
  font: 12px monospace;
  background-color: #eee;
  border: 1px solid #aaa;
  width: 450px;
  text-align: left;
}

/* Global toggle helper styles */
._1._1only, ._0._0only {
  visibility: visible;
}
._1._0only, ._0._1only {
  visibility: hidden;
}