* {
	float: left;
	width: 100%;
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	min-width: 1100px;
	height: 100%;
	min-height: 100%;
	color: #CCC;
	font-family: "segoe ui", "courier new", serif, monospace;
	background: #101010;
	background: url(/img/bg/2.png) repeat fixed top left #101010;
}

a {
	float: none;
	width: auto;
	color: #CCC;
	text-decoration: none;
	transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    -webkit-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
}

a.gecko {
	color: #FFF;
	font-weight: bold;
}

a:hover {
	color: #FFF;
}

span {
	float: none;
}

ol, ul {
	list-style-type: none;
}

.fixed {
	position: fixed;
	z-index: 999999;
}

.fixed.top {
	top: 0;
}

.fixed.bottom {
	bottom: 0;
}

.blackoutline {
	text-shadow: 0px -1px #000, 1px -1px #000, 1px 0px #000, 1px 1px #000, 0px 1px #000, -1px 1px #000, -1px 0px #000, -1px -1px #000;
}

.blackoutline.two {
	text-shadow: 0px -2px #000, 2px -2px #000, 2px 0px #000, 2px 2px #000, 0px 2px #000, -2px 2px #000, -2px 0px #000, -2px -2px #000;
}

.logo {
	margin: 15px 0;
	width: 166px;
	height: 40px;
}

#footer .logo {
	margin: 0;
	width: 166px;
	height: 29px;
}

/* Header ////////////*/
#header {
	width: 100%;
	height: 70px;
	background: #202020;
}


#header ul {
	margin: 0;
	padding: 0;
	width: auto;
}

#header li {
	position: relative;
	display: inline-block;
	padding: 0 5px;
	width: auto;
	text-align: center;
	line-height: 20px;
	border: 1px solid transparent;
	border-top: none;
	border-bottom: none;
	cursor: pointer;
	transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -webkit-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
}

#header li:hover {
	background: #303030;
	border-color: #000;
}

#header .sub-title {
	padding: 25px 10px;
	color: #FFF;
	text-decoration: none;
}

.sub-menu {
	position: absolute;
	top: 70px;
	left: -1px;
	width: 200px;
	background: #202020;
	border: 1px solid #000;
	visibility: hidden;
	opacity: 0;
	z-index: 99;
    transition: opacity 0.25s ease-out;
    -moz-transition: opacity 0.25s ease-out;
    -webkit-transition: opacity 0.25s ease-out;
    -o-transition: opacity 0.25s ease-out;
}

#header .sub-menu div {
	padding: 3px 5px;
	color: #FFF;
	text-align: left;
	background: #383838;
	border: 1px solid #000;
	border-left: none;
	border-right: none;
}

#header .sub-menu div:first-child {
	border-top: none;
}

#header .sub-menu li {
	text-align: left;
	font-size: 12px;
	width: 100%;
	border: none;
}

#header .sub-menu li a {
	float: left;
	padding: 1px 5px 1px 20px;
	width: 100%;
}

#header .sub-menu li a:hover {
	color: #FFF;
}

#header li:hover .sub-menu {
	visibility: visible;
	opacity: 1;
}

/* Title/ ////////////*/
#title {
	position: relative;
	padding: 15px 40px;
	height: 70px;
	color: #FFF;
	font-family: "segoe ui", monospace, sans-serif;
	font-size: 40px;
	font-weight: bold;
	line-height: 35px;
	background: #1AB0EA;
	border: 1px solid #000;
	border-left: none;
	border-right: none;
	z-index: 1;
}

#title .img {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: url(/img/bg/1.jpg) repeat fixed top left #000;
	opacity: 0.8;
	z-index: -1;
}


/* Jump Links ////////*/
#jump-links {
	padding: 0 40px;
	font-size: 20px;
	background: #181818;
	border-bottom: 1px solid #000;
}

#jump-links a, #jump-links div {
	float: left;
	padding: 5px 15px 10px 5px;
	width: auto;
}

#jump-links div {
	color: #FFF;
	font-weight: bold;
}

#jump-links a:hover {
	color: #FFF;
	text-decoration: underline;
	cursor: pointer;
}



/* Nav ///////////////*/
#nav {
	padding: 5px 5px 5px 40px;
	width: 300px;
	min-height: calc(100% - 222px);
}

#nav .title {
	padding: 5px 0;
	color: #FFF;
	font-size: 24px;
	font-weight: bold;
}

#nav .sub-title {
	margin: 0;
	padding: 5px 0;
	color: #FFF;
}

#nav ul {
	margin: 0;
	padding: 0 0 0 20px;
}

/* Content ///////////*/
#footer {
	padding: 20px 30px;
	background: #202020;
	border-top: 1px solid #000;
	display: flex;
	justify-content: center;
	align-items: center; 
}

#footer .left, #footer .right {
	width: 50%;
}

#footer .right {
	text-align: right;
}

/* Content ///////////*/
#content {
	position: relative;
	padding: 5px;
	width: calc(100% - 300px);
	min-height: calc(100% - 222px);
}

#content a:hover, a.gecko:hover {
	color: #1AB0EA;
}

p {
	margin: 0 0 20px 0;
	line-height: 22px;
}

h2:before {
	display: block;
	margin: 25px 0;
	border: 2px solid #888;
	content: '';
}

p.end:after {
    float: left;
    display: block;
    width: 100%;
    margin: 25px 0 0 0;
    border: 1px solid #888;
    content: '';
    box-sizing: border-box;
}

h2 {
	margin: 0 0 25px 0;
	color: #EEE;
}

h3 {
	margin: 0;
	padding: 1px 0 2px 5px;
	color: #EEE;
	font-size: 16px;
	font-family: monospace;
	background: #303030;
}

h4 {
	margin: 15px 0 5px 0;
}

h5 {
	margin: 0 0 10px 0;
	color: #EEE;
	font-size: 20px;
}

h5 span {
	padding: 2px 20px 2px 50px;
	color: #EEE;
	background: #303030;
	border: 1px solid #383838;
	border-left: none;
}

.navi {
	position: absolute;
	right: 15px;
	bottom: 0;
	width: 404px;
	height: 295px;
	background: url(/img/404/navi.png) no-repeat transparent;
	opacity: 0.25;
}

.v {
	padding: 1px 3px;
	font-size: 16px;
	font-family: monospace;
	background: #303030;
	border-radius: 2px;
}

.i {
	font-style: italic;
}

.b {
	font-weight: bold;
}

.code-block {
	margin: 0 0 5px 0;
	font-size: 16px;
	font-family: monospace;
	background: #202020;
	border-left: 5px solid #808080;
}
.code-block.red {background: #302020;}
.code-block.red h3 {background: #504848;}
.code-block.green {background: #203020;}
.code-block.green h3 {background: #485048;}
.code-block.blue {background: #202030;}
.code-block.blue h3 {background: #484850;}

.code-block .s {
	color: #EEE;
	background: rgba(255, 255, 255, 0.15);
}
.code-block .s.f {
	background: rgba(255, 255, 255, 0.35);
}

.code {
	position: relative;
	padding: 10px 5px;
}

.code-block:not(.red):not(.green):not(.blue) .code {
	padding: 10px 20px;
}

.line-numbers, .offset-numbers {
	position: absolute;
	width: 37px;
	text-align: right;
	border-right: 1px solid #808080;
}

.offset-numbers {
	width: 110px;
}

.code-lines {
	padding: 0 0 0 42px;
}

.code-lines .t {
	padding: 0 0 0 41px;
}

.code-lines .t .t {
	padding: 0 0 0 36px;
}

.line-numbers div, .offset-numbers div, .code-lines div {
	padding: 0 10px 0 5px;
}

.offset-numbers div {
	background: #403030;
}

.offset {
	color: #EEE;
	background: #403030;
	border-bottom: 1px solid #808080;
}

.offset-lines {
	padding: 0 0 0 110px;
}

.offset-lines .row div {
	width: 18px;
	min-height: 19px;
}

.offset-lines .row div:first-child {
	margin: 0 0 0 5px;
	padding: 0 0 0 5px;
}

.offset-lines .row div:last-child {
	margin: 0 5px 0 0;
	padding: 0 5px 0 0;
}

.offset-lines.byte .row div {
	padding: 0 5px;
	width: 18px;
}

.offset-lines.half .row div:nth-child(2n) {
	padding: 0 5px 0 0;
	width: 23px;
}
.offset-lines.half .row div:nth-child(2n+1) {
	padding: 0 0 0 5px;
	width: 23px;
}

.offset-lines.word .row div:nth-child(4n) {
	padding: 0 5px 0 0;
	width: 23px;
}
.offset-lines.word .row div:nth-child(4n+1) {
	padding: 0 0 0 5px;
	width: 23px;
}

.parameters {
	width: 100%;
}

.parameter {
	margin: 0 0 5px 0;
}

.parameter div {
	padding: 0 0 0 20px;
	line-height: 22px;
}