* {
  border: 0;
  margin: 0;
  padding: 0;
}

html, body {
/*  height: 100%; */
  font-size: 16px;
  line-height: 1.2em;
}

body {
  /* bg_texture-rv.png */
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QgWBjoQG+VUfAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAQklEQVQY02Ncs2rlfwY8gIWBgYGBi4sLLvDt2zcUBUy4JOAmIOtGN42BgYGBBVknNlNY0AXQ3cOEzV5kkzDcgG4aAP3uFRiHP44gAAAAAElFTkSuQmCC');
}

div#header, div#footer {
  /* bg_texture.png */
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAAZiS0dEAC0AtwD+WgZnRAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wJCxMEJDU2r3gAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAQElEQVQY042OsQ0AIAzDDOKKjv3/rrwBGxRQERmT1nJx984jDcDMZiFpO6jZMAnx+6QBlC+HjCBpOcREn8vhpA1beA990EMg2wAAAABJRU5ErkJggg==');
}

body {
  background-color: #fff;
  color: #000;
  font-family: DejaVuSansCondensed, sans-serif;

  background-size: auto;
  background-position: fixed;
}

hr {
  height: 2px;
  color: white;
  background-color: white;
  margin: 2em auto;
}

em {
  font-weight: bold;
  font-style: normal;
  color: #fbb;
}

a:link {
  font-weight: normal;
  color: #56b3f4;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:visited {
  color: #56a3e4;
}

.center {
  text-align: center;
}

div#header {
  height: 3.8ex;
  color: #fff;
  border-bottom: 1px solid #444;
  font-family: DejaVuSansCondensed, sans-serif;
  font-size: 90%;
}

div#header a {
  color: #fff;
  font-weight: normal;
}

div#header table {
  display: inline-block;
  float: right;
}

div#header tr {
  vertical-align: middle;
}

div#header td {
  line-height: 3.5ex;
  padding: 0 1ex;
}

div#header img.logo {
  height: 3ex;
  padding: .4ex 2ex;
}


div#push_footer {
  clear: both;
  height: 20px;
}

div#footer {
  border-top: 1px solid #444;
  font-family: DejaVuSansCondensed, sans-serif;
  font-size: 90%;
  color: #aaa;
}

div#footer a {
  color: #ddd;
  font-weight: normal;
}

div#footer img.logo {
  max-width: 26ex;
  padding: 3ex;
  float: left;
}

div#footer > ul {
  float: left;
  margin-left: 15ex;
}

div#footer > ul > li {
  padding: 3ex 8ex;
  list-style: none;
}

div#footer > ul > li ul {
  margin-left: 0;
  padding-left: 0;
}

div#footer > ul > li > ul > li {
  padding: .25ex;
  list-style: none;
  margin-left: 0;
}

div#footer > ul > li > ul > li > ul {
  margin-left: 3ex;
}

div#footer div.copyright {
  text-align: center;
  clear: both;
  padding-bottom: 1em;
}

div#container {
}

div#content {
  background-color: #000;
  color: #fff;

  max-width: 95%;
  margin: 1ex auto 3ex;
  padding: 1em 1ex 2em 1ex;

  -moz-box-shadow: 0px 0px 24px #222;
  -webkit-box-shadow: 0px 0px 24px #222;
  -o-box-shadow: 0px 0px 24px #222;
  box-shadow: 0px 0px 24px #222;
}

@media (min-width: 1200px) {
	div#content {
		max-width: 1000px;
	}
}
@media (min-width: 1800px) {
	div#content {
		max-width: 1200px;
	}
}

div.clear_both {
  clear: both;
}

h1, h2 {
  clear: both;
}

h1, h2, h3, h4, h5, h6 {
  margin-left: auto;
  margin-right: auto;
  max-width: 90%;
}

p, table.p {
  margin-left: auto;
  margin-right: auto;
  max-width: 85%;
}

table.p {
  border-collapse: collapse;
}

table.p.twocols td {
  border: 1px transparent;
  max-width: 60%;
  padding: 0 14px;
}

h2 {
  margin-top: 1.5em;
}

h3, h4, h5, h6, p, table.p, ul, ol {
  margin-top: 1em;
}

ul ul {
  margin-top: 0;
  margin-bottom: 1em;
}

table.p p, table.p ul, table.p ol {
  margin-top: 0;
}

li {
  padding-top: .5em;
}

h1 {
  text-align: center;
  font-weight: normal;
  font-size: 2em;
  line-height: 1.2em;
  margin-bottom: 1em;
}

h2 {
  font-weight: bold;
  font-size: 1.5em;
  line-height: 1.2em;
}

h3 {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.2em;
}

h4 {
  padding-left: 3ex;
  font-weight: bold;
  font-style: italic;
}

ol, ul {
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
}

li {
  margin-left: 5px;
}

ul {
  list-style-type: square;
}

ul ul {
  list-style-type: disc;
  max-width: 90%;
  margin-left: 5%;
}

table.highlights {
  margin-left: auto;
  margin-right: auto;
  max-width: 770px;
}

table.highlights td {
  width: 110px;
  text-align: center;
  vertical-align: middle;
}

ul.thumbs {
  text-align: center;
  padding-bottom: 1em;
  max-width: 95%;
}

ul.thumbs > li {
  display: inline-block;
  list-style: none;
  padding: 0;
}

ul.thumbs.width200 > li {
  width: 200px;
}
ul.thumbs.width175 > li {
  width: 175px;
}
ul.thumbs.width150 > li {
  width: 150px;
}
ul.thumbs.width100 > li {
  width: 100px;
}
ul.thumbs.width40 > li {
  width: 40px;
}

ul.thumbs > li > a {
}

.size200 img {
  margin-top: .5em;
  height: 200px;
}

.size175 img {
  margin-top: .5em;
  height: 175px;
}

.size150 img {
  margin-top: .5em;
  height: 150px;
}

.size100 img {
  margin-top: .5em;
  height: 100px;
}

.size40 img {
  margin-top: .5em;
  height: 40px;
}

.imghalfborder img {
  border: .5ex solid #fff;
}

p.code, code, p.samp, samp {
  font-family: DroidSansMono, monospace;
  font-size: 90%;
}

p.code, code {
  color: #bbe;
}

p.samp, samp {
  color: #beb;
}

p.samp, p.code {
  word-break: break-all;
  white-space: pre-wrap;
  font-size: 80%;
  max-width: 80%;
  border: 1px solid #bbb;
  background-color: #222;
  padding: .2ex .3ex;
  padding-left: .5ex;
}

ul p.samp, ul p.code,
ol p.samp, ol p.code {
  max-width: 100%;
}

p.definition {
  border-left: 15px solid #bbb;
  margin-top: 16px;
  max-width: 85%;
}

.menu, span.ui {
  font-style: italic;
}

span.ui, ul.menu > li {
  border-bottom: 1px black dotted;
}

ul.menu, ul.menu > li {
  display: inline;
}

@media (min-width: 800px) {
	iframe.youtube {
		width: 480px;
		height: 320px;
	}
	iframe.youtube-large {
		width: 640px;
		height: 480px;
	}
}
