@CHARSET "UTF-8";

/* Make everything by default include padding, border, etc as part of width. */
* {
	box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
	font-family: "Segoe UI", Helvetica, sans-serif;
	font-size: 18px;
	color: #FFF;
	background-color: #202020;
  margin: 0;
  padding: 0;
}

a:link {
	text-decoration:none;
	color: #32aaff;
}
a:visited {
	text-decoration:none;
	color: #8766dd;
}
a:hover {
	text-decoration:underline;
	color: #66bbdd;
}

p {
  padding-left: 8px;
  padding-right: 8px;
}

pre {
  padding-left: 8px;
  padding-right: 8px;
}

.header {
	position: fixed;
	top: 0px;
	left: 200px;
	height: 46px;
	width: 100%;
	border-bottom: solid 4px #808080;
}

#container {
  display: flex;
  flex-direction: column;
	position: relative;
  flex-grow: 1;
	float: left;
	margin-top: 0px;
	margin-left: 240px;
  width: calc(100% - 240px);
	transition: 0.25s all ease-in-out;
}

#container.open {
	margin-top: 0px;
  width: calc(100% - 40px);
	margin-left: 40px;
}

#content-container {
	position: relative;
	width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#sidebar {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 240px;
	background: #000;
	transition: 0.25s all ease-in-out;
	z-index: 999999;
}

#sidebar.closed {
	left: -200px;
}

#sidebar-arrow {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 40px;
	background: #000;
	cursor: pointer;
	border-right: solid 1px #808080;
	transition: 0.25s all ease-in-out;
}

#sidebar-arrow span {
	position: absolute;
	top: calc(50% - 6px);
	width: 12px;
	height: 12px;
	border: 12px solid transparent;
	border-right: 12px solid rgba(255, 255, 255, 0.5);
}

#sidebar.closed #sidebar-arrow span {
	right: 0;
	border: 12px solid transparent;
	border-left: 12px solid rgba(255, 255, 255, 0.5);
}

#sidebar-arrow:hover {
	background: #222;
}

#sidebar-nav {
	position: absolute;
	left: 0;
	right: 40px;
	top: 0;
	bottom: 30px;
}

#sidebar-license {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  font-size: 16px;
  line-height: 1.7em;
  text-align: center;
}

#content {
	float: left;
	flex-grow: 1;
	margin-bottom: 45px;
	width: 100%;
}

#license {
	float: left;
	width: 100%;
	height: 30px;
	font-size: 16px;
	line-height: 1.7em;
	text-align: center;
	background: #101010;
	border-top: 1px solid #808080;
	z-index: 99999;
	transition: 0.25s all ease-in-out;
}

#license span, #sidebar-license span {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#license img, #sidebar-license img {
    vertical-align: middle;
}

.ui-icon-circle-triangle-w {
  -ms-transform: scale(2); /* IE 9 */
  -webkit-transform: scale(2); /* Chrome, Safari, Opera */
  transform: scale(2);
  margin: .5em;
}

.ui-icon-circle-triangle-e {
  -ms-transform: scale(2); /* IE 9 */
  -webkit-transform: scale(2); /* Chrome, Safari, Opera */
  transform: scale(2);
  margin: .5em;
}

td
{
  text-align: center;
}

td.na
{
  background-color: #808080;
}
td.yes
{
  background-color: #408040;
}
td.no
{
  background-color: #804040;
}
td.maybe
{
  background-color: #808040;
}

td.theor
{
  background-color: #d25900;
}

/**********************************************************************
 * Lists
 **********************************************************************/

dl
{
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

ul
{
  width: 100%;
  margin-top: 0px;
  counter-reset: item;
  list-style-image: url("../images/icons/24/item/ice-arrow.png");
}

ul li ul
{
  list-style-image: url("../images/icons/24/item/ocean-title-deed.png"); 
}

ul li ul li ul
{
  list-style-image: url("../images/icons/24/mask/blast-mask.png"); 
}

@font-face {
  font-family: 'Zelda64 Ammo';
  src: url('../font/Zelda64_Ammo.ttf');
}

ol
{
  width: 100%;
  counter-reset: item;
  list-style: none;
}

div#content > ul
{
  margin-left: 8px;
  margin-right: 8px;
  width: calc(100% - 16px);
}

div#content > ol
{
  margin-left: 8px;
  margin-right: 8px;
  width: calc(100% - 16px);
}

ol li
{
  width: 100%;
  counter-increment: item;
}

ol > li:before
{
  display: inline-block;
  padding-top: 17px;
  padding-right: 12px;
  padding-left: 0px;
  margin-left: -34px;
  margin-right: 10px;
  width: 24px;
  height: 24px;
  content: counter(item,decimal-leading-zero);
  font-family: Zelda64 Ammo;
  font-size: 7px;
  /*font-weight: bold;*/
  color: white;
  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;
  text-align: right;
  background-image: url('../images/icons/24/item/heros-bow-ice-arrow.png');
  box-sizing: border-box;
}

ol.icearrow > li:before
{
  background-image: url('../images/icons/24/item/heros-bow-ice-arrow.png');
}

ol.bomb > li:before
{
  background-image: url('../images/icons/24/item/bomb.png');
}

ol.magic_bean > li:before
{
  background-image: url('../images/icons/24/item/magic-bean.png');
}

ol.ocean_deed > li:before
{
  background-image: url('../images/icons/24/item/ocean-title-deed.png');
}

ol.blast_mask > li:before
{
  background-image: url('../images/icons/24/item/blast-mask.png');
}

th
{
  text-align: center;
}

div#sidebar-top
{
  height: 100%;
  width: 100%;
  z-index: 10;
  background-color: #010101;
}

div#content
{
  z-index: 0;
}

div#content > div
{
  padding-left: 8px;
  padding-right: 8px;
}

/**********************************************************************
 * Headers
 **********************************************************************/

h1 {
  float: left;
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 0;
  margin-right: 0;
	width: 100%;
	color: #FFF;
	font-weight: bold;
	text-transform: none;
	background-color: #010101;
	border-bottom: solid 1px #808080;
	font-size: 36px;
	font-weight: bold;
	text-transform: none;
	background-color: #010101;
	border-bottom: solid 1px #808080;
  padding-left: 8px;
}

h2 {
  float: left;
	margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 0;
  margin-right: 0;
	width: 100%;
	color: #80C0C0;
	font-weight: bold;
	text-transform: none;
	background-color: #010101;
	border-bottom: solid 1px #808080;
  font-size: 32px;
  padding-left: 8px;
}

h3 {
  float: left;
	margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 0;
  margin-right: 0;
	width: 100%;
	color: #80C0C0;
	font-weight: bold;
	text-transform: none;
	background-color: #010101;
	border-bottom: solid 1px #808080;
  font-size: 24px;
  border-bottom-width: 0;
  padding-left: 8px;
}

h4 {
  float: left;
	margin-top: 10px;
  margin-bottom: 0px;
  margin-left: 0;
  margin-right: 0;
	width: 100%;
	font-weight: bold;
	text-transform: none;
  font-size: 18px;
  border-bottom-width: 0;
}

.link
{
padding-left: 5px;
font-size: 24px;
font-weight: bold;
text-transform: none;
background-color: #010101;
color: #80C0C0;
transition: 0.15s all ease-in-out;
}

.link:hover {
padding-left: 15px;
}

.selected-sidebar
{
font-size: 24px;
font-weight: bold;
text-transform: none;
background-color: #010101;
color: #F0F0C0;
}

.h4
{}

/**********************************************************************
 * Heading for describing errors and how to fix them
 * Should be used with .h1, .h2, ...etc
 **********************************************************************/
.error_heading
{
background-color: #400101;
}

/**********************************************************************
 * toggle: Style used for table of contents toggling
 **********************************************************************/
.toggle
{
text-decoration:none !important;
}
.toggle
{
text-decoration:none;
}

/**********************************************************************
 * Quotes
 * .quote: for quoting resources/people
 * .quote_ref: Reference 
 * .console: quoting program output
 **********************************************************************/
.quote
{
	font-style: italic;
	background-color: #404040;
	margin-left: 1em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	margin-right: 1em;
	white-space: pre-wrap;	
}

.quote_ref
{
	margin-top: 0.5em;
	margin-left: 1.5em;
	font-weight: bold;
}

.quote_ref:before
{
	content: '--';
}

/* Basically extend quote and adds a few extra elements */
.console
{
	font-style: italic;
	background-color: rgba(215, 215, 240, 1);
	margin-left: 1em;
	margin-right: 1em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	white-space: pre-wrap;
	
	display: block;
	font-family: monospace;
}

/**********************************************************************
 * Notes: interjections inserted on a new-line
 **********************************************************************/
.note
{
	font-style: italic;
	background-color: rgba(220, 220, 250, 0.5);
	width: 100%;
}

/**********************************************************************
 * Highlight: Emphasize something inline
 **********************************************************************/
.highlight
{
	font-style: italic;
	font-weight: bold;
	color: #5060C0;
	/*font-family: sans-serif;*/
}

/**********************************************************************
 * Captions
 **********************************************************************/
.caption
{
	text-align: center;
	font-weight: bold;
	margin: auto auto 1em auto;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.figure div
{
	text-align: center;
	font-weight: bold;
	margin: auto auto 1em auto;
	margin-top: 0.75em;
	margin-bottom: 0.5em;
}

/**********************************************************************
 * Figures
 **********************************************************************/
.figure
{
	text-align: center;
}

/**********************************************************************
 * Tables
 **********************************************************************/
table
{
	margin: auto;
	border-collapse: collapse;
}

table th
{
	border: solid 1px;
	border-bottom: solid 1px;
	padding: 2px;
}

table td
{
	padding: 2px;
	border: solid 1px;
	border-width: 1px;
}
