
@font-face {
    font-family: 'InputSans';
    src: url('fonts/InputSansCondensed-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'InputSans';
    src: url('fonts/InputSansCondensed-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'InputMono';
    src: url('fonts/InputMono-Black.ttf');
    font-weight: bold;
    font-style: normal;
}

.sidebar {
	width: 20ex;
	float: right;
	margin-left: 3ex;
	margin-bottom: 1ex;
	margin-top: -1px;
	padding: 0ex 2ex;
	background: rgba(0,0,0,.3);
	border-color: #a88600;
	border-width: 1px 4px 4px 1px;
	border-style: ridge;
	color: #f1c516 !important;
}

body {
    font-family: 'InputSans';
    color: #f1c516;
    background-color: #202020;
    font-size: medium;
}
body {
  -webkit-background-size:1rem 1rem;
  -moz-background-size:1rem 1rem;
  background-size:1rem 1rem;
	background-attachment: fixed;
  background-image:-webkit-linear-gradient(left, #181818 1px, transparent 4px), -webkit-linear-gradient(top, #181818 1px, transparent 4px);
  background-image:-moz-linear-gradient(left, #181818 1px, transparent 4px), -moz-linear-gradient(top, #181818 1px, transparent 4px);
  background-image:-o-linear-gradient(left, #181818 1px, transparent 4px), -o-linear-gradient(top, #181818 1px, transparent 4px);
  background-image:-ms-linear-gradient(left, #181818 1px, transparent 4px), -ms-linear-gradient(top, #181818 1px, transparent 4px);
  background-image:linear-gradient(to right, #181818 1px, transparent 4px), linear-gradient(to bottom, #181818 1px, transparent 4px);
}
::selection {
  background-color: #000;
}

/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	width: 896px;
	padding: 72px 48px 84px;
	margin: 0 auto;
	color: #f1c516;
	background-color: #202020;
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	text-shadow: rgba(216, 76, 7, 0.7) 0 .15ex 0;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	
	body {
		width: 712px;
		padding: 48px 28px 60px;
	}
}

/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
	
	body {
		width: 252px;
		padding: 48px 34px 60px;
		font-size-adjust: .4;
	}
	img {
		max-width:60%;
		height:auto
	}
	.sidebar {
		margin: 1rem auto;
	}
	#footerbar {
		font-size-adjust: .25
	}
	
}

/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body {
		width: 436px;
		padding: 36px 22px 48px;
		font-size-adjust: .5;
	}
	img {
		max-width:70%;
		height:auto
	}
	#footerbar {
		font-size-adjust: .4
	}
	/* if the mobile browser is new enough, use flex layout to shuffle
	 * the sidebar to the end */
	.page {
		display: -webkit-box;
		display: -webkit-flexbox;
		display: -webkit-flex;
		display: -moz-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-flex-direction: tb;
		-webkit-flex-direction: column;
		-webkit-flex-flow: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	#pageheader {
		-webkit-box-ordinal-group: -1;
		-webkit-order: -1;
		-ms-box-ordinal-group: -1;
		-ms-flex-order: -1;
		order: -1;
	}
	.sidebar, #footer {
		-webkit-box-ordinal-group: 1;
		-webkit-order: 1;
		-ms-box-ordinal-group: 1;
		-ms-flex-order: 1;
		order: 1;
	}

	.blogform, #blogform {
		padding: 4px 4px;
	}
	
}

/*	End Less
	------	*/
div.header, header.header {
	margin: 0 auto 0.5em auto;
	font-size: 200%;
	font-weight: bold;
	line-height: 1em;
	display: block;
}

a {
    color: #e07c17;
    text-shadow: rgba(241, 197, 22, .4) 0 .15ex 0;
}

a:visited {
    color: #d84c07;
}

hr {
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: dashed none none none;
    border-width: thin;
}

.pageheader .actions ul {
	border-bottom: thin dashed #f1c516;
}
.pageheader #otherlanguages {
	border-bottom: thin dashed #f1c516;
}

#pageinfo {
	margin: 1em 0;
	border-top: thin none #f1c516;
}
#footerbar {
  font-family: 'InputMono';
  font-size: 6pt;
  padding: 2em 0em 0em 0em
}

hr.poll {
	height: 10pt;
	color: #f1c516 !important;
	background: #444;
	border: 2px dashed #f1c516;
}
div.poll {
	margin-top: 1ex;
	margin-bottom: 1ex;
	padding: 1ex 1ex;
	border: 1px dshed #e07c17;
}

/* infobox template */
.infobox {
	float: right;
	margin-left: 2ex;
	margin-top: 1ex;
	margin-bottom: 1ex;
	padding: 1ex 1ex;
	border: 1px solid #f1c516;
	background: #222;
	color: #f1c516 !important;
}

/* notebox template */
.notebox {
	float: right;
	margin-left: 2ex;
	margin-top: 1ex;
	margin-bottom: 1ex;
	padding: 1ex 1ex;
	border: 1px solid #f1c516;
	width: 25%;
	background: #222;
	color: #f1c516 !important;
}

.inlinepage {
	margin: 0 0 1em 0;
	background:rgba(0,0,0,.3);
}

.img {
	border: 1px #e07c17;
	margin: 0 1em;
	border-style: solid solid none solid;
	padding: 0.5ex 0.5ex 0 0.5ex;
}

.img img {
	border: none;
}

.img caption {
  font-size: 85%;
  caption-side: bottom;
  text-align: center;
	border: 1px #e07c17;
  border-style: none solid solid solid;
	padding: 0 1ex 1em 1ex;
}

table.wikipage {
	border: 1px solid #f1c516;
	border-collapse: collapse;
	margin: 0 auto 1.5em auto;
	max-width: 75%;
}

th,td {
	border: 1px solid #f1c516;
	padding: 0.75ex 0.5ex;
}

[class^="month-calendar"] {
	border: none;
	padding: 0.1ex;
}

[id^="fn\:"] {
	margin-bottom: 1em;
}
