 /*margin: top, right, bottom, left*/
body, button, input, textarea {
	font-family:	"Helvetica Neue", Verdana, "Trebuchet MS", "Tahoma", sans-serif;
	font-weight:	300;
	line-height: 	1.4em;

	color:			#f1f1f1;
	background: 	#414040;
	text-rendering: optimizeLegibility;
}

body, button, input {
	font-size:		17px;
	border-width:	0px;
	margin:			0px;
	padding:		0px;
}

textarea, div.middle input {
	font-size: 15px;
}


body, button {
	height:			100%;
}

input {
	padding-left: 5px;
}

table.portfolio {
	background: #414040;
	background: linear-gradient(45deg,  rgba(206,220,231,0.2) 0%,rgba(89,106,114,0.3) 100%);
	margin-left: 0px;
	margin-right: 0px;
	width: 100%;
}

table.portfolio tr {
	border-top: thin solid #009900;
	border-bottom: thin solid #009900;
	border-collapse: separate;
}



b, strong {
	font-weight: 600; /* i wish finer adjustments could be made
		but these browsers won't recognise it unless i jump to 600. :(
	*/
}

code, pre {
	text-rendering: auto; /* chrome has issues with optimizeLegibility. */
	margin:			0;
	padding:		0;
    white-space:	pre-wrap;
	-moz-tab-size:	4;
	-o-tab-size:	4;
	tab-size:		4;
	font-size:		inherit; /* web browsers too stupid otherwise! */
	line-height:	inherit;
	font-weight:	inherit;
	word-spacing:	inherit;
}

table.list code {
	background-color: inherit;
}

code {
	background-color: rgba(127, 127, 127, 0.15);
}

table, thead, tbody, tr, td, th {
	font-size:		inherit; /* web browsers too stupid otherwise! */
	font-family:	inherit;
	line-height:	inherit;
	font-weight:	inherit;
	letter-spacing:	inherit;
	word-spacing:	inherit;
}

article {
	border-radius:	7px;
	padding:		15px;
	padding-top:	0px;
	margin:			30px auto 0 auto;
	min-width:		320px;
	max-width:		650px;

	background: -moz-linear-gradient(top,  #201917 0%, #333131 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#201917), color-stop(100%,#333131));
	background: -webkit-linear-gradient(top,  #201917 0%,#333131 100%);
	background: -o-linear-gradient(top,  #201917 0%,#333131 100%);
}

*.dark article, *.dark *.banner_bg {
	box-shadow: 0 0 4px 1px green;
}

*.sep {
	height: 0px;
	width: 100%;
}

span.red, span.unc, span.comment {
	color: #f44 !important;
}

span.db {
	background: 		#414040;
	background-color: 	#414040;
}


#Editor {
	margin-left: 50px;
}

q {
	quotes: "\201C" "\201D";
	font-style: italic;
}
q:before, blockquote:before {
    content: open-quote;
}
q:after, blockquote:after {
    content: close-quote;
}


blockquote {
	display: table;
	padding: 8px;
	margin: 0px 40px 0px 40px;
	max-width: 500px;
	background: grey;
	border-width: 0px;
	background: white;
}

body.dark *.gradient {
	color: white;
}

*.gradient {
	background: #333;
}

body.dark table.list, body.dark blockquote {
	background: #414040;
	background: linear-gradient(45deg,  rgba(206,220,231,0.1) 0%,rgba(89,106,114,0.1) 100%);
}



body.dark a, body.dark *.button {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	color: white;
}


body.trans *, body.trans {
	-webkit-transition: all 1.0s ease-in-out !important;
	-moz-transition: all 1.0s ease-in-out !important;
	-o-transition: all 1.0s ease-in-out !important;
	-ms-transition: all 1.0s ease-in-out !important;
	transition: all 1.0s ease-in-out !important;
}

a, span.button {
	text-decoration: none;
	text-wrap: none;
	white-space: nowrap;
}

a:active, span.button:active {
	color: gold;
}

span.disabled, span.disabled:active, span.disabled:hover {
	color: white !important;
	text-shadow: none !important;
	background: #666 !important;
}

a:hover, a:active, body.dark a:hover, body.dark a:active, .button:active, .button:hover {
	text-shadow:
		-5px 0px 6px white,
		0px 0px 6px white,
		5px 0px 6px white;
}



.button {
	border: none;
	display: inline-block;
}


body.dark article a, *.button {
	color: #f4f4f4;
	border-radius: 5px;
	border-top: thin solid #737474;
	border-bottom: thin solid #222;
	background-color: #3B4655;
	padding: 0px 5px 3px 5px;
	text-shadow: 0px -1px 1px black;
}


*.banner_bg *.root {
	font-weight: 500;
	font-size: 110%;
	line-height: 175%;
}

span.homelink {
	font-weight: 600;
	font-size:	115%;
}

span.activelang {
	text-shadow:
		-5px 0px 6px rgba(206, 220, 231, 0.7),
		0px 0px 6px  rgba(206, 220, 231, 0.7),
		5px 0px 6px  rgba(206, 220, 231, 0.7) !important;
}

span.lang {
	margin:			0px  !important;
	padding:		4px;
	line-height:	100%;
	float:			right;
}
body.dark span.lang {
	background-color: #000000;
}
body.light span.lang {
	background: transparent;
}


*.overlay {
	pointer-events: none;
	position: absolute;
	display: inline-block;
	width: 100%;
}


nav.overlay span {
	pointer-events: auto;
}

nav.overlay span.banneritem {
	font-size: 80%;
}

*.banner_bg {
	min-width:	500px;
	text-align: center;
	background: url('/jeebox/resources/texture2.png');
}


*.banner {
	color: white;
	text-align: center;
	font-size: 100%;
	font-weight: 400;
	border-width: 0px;
	border-color: transparent;
	border-style: solid;
	display: inline-block;
	width: 100%;
	background: -moz-linear-gradient(left,  rgba(55,50,48,0) 0%, rgba(55,50,48,0.95) 25%, rgba(55,50,48,0.95) 75%, rgba(55,50,48,0) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(55,50,48,0)), color-stop(25%,rgba(55,50,48,0.95)), color-stop(75%,rgba(55,50,48,0.95)), color-stop(100%,rgba(55,50,48,0)));
	background: -webkit-linear-gradient(left,  rgba(55,50,48,0) 0%,rgba(55,50,48,0.95) 25%,rgba(55,50,48,0.95) 75%,rgba(55,50,48,0) 100%);
	background: -o-linear-gradient(left,  rgba(55,50,48,0) 0%,rgba(55,50,48,0.95) 25%,rgba(55,50,48,0.95) 75%,rgba(55,50,48,0) 100%);
	background: -ms-linear-gradient(left,  rgba(55,50,48,0) 0%,rgba(55,50,48,0.95) 25%,rgba(55,50,48,0.95) 75%,rgba(55,50,48,0) 100%);
	background: linear-gradient(left,  rgba(55,50,48,0) 0%,rgba(55,50,48,0.95) 25%,rgba(55,50,48,0.95) 75%,rgba(55,50,48,0) 100%);
}

*.banner a {
	text-decoration: none;
	color: white;
	text-shadow: 0 0 2px white;
}

*.banner a:hover {
	text-shadow:
		4px -4px 9px white,
		8px -8px 9px white,
		-4px 4px 9px white,
		-8px 8px 9px white;
}

*.banner a:active {
	text-shadow:
		4px -4px 9px white,
		8px -8px 9px white,
		-4px 4px 9px white,
		-8px 8px 9px white;
	color: gold;
}

*.container {
	position:	relative;
	margin:		0;
	width: 		100%;
	min-height:	100%;
}

*.bottom *.banner, *.top *.banner {
	padding: 5px 0px 8px 0px;
}

div.top {
	padding-bottom: 0px;
}
*.bottom {
	padding-top:	14px;
	background: 	none;
	position:		absolute;
	bottom:			0px;
	width:			100%;
}
*.middle {
	padding: 0px 0px 50px 0px;
}
div.fullscreen {
	height: 100vh;
}
*.spacer {
	padding-top: 50px;
	border-bottom-width: 20px;
	margin-top: 20px;
	margin-bottom: 0px;
}

table {
	min-width: 90%;
	border-style: solid;
	border-width: 0px;
	margin: 0px;
	border-collapse: collapse;
	vertical-align: top;
}
td {
	padding: 3px;
	vertical-align: middle;	
}

table.fullscreen tr {
	height: 100vh;
}

table.list {
	border-width: 0px;
	border-color: black;
	margin-left: 2em;
	margin-right: 2em;
	display: table;
}
table.list td {
	min-width: 6em;
	border-width: 1px;
	border-color: #666666;
	border-style: none;
	padding: 9px;
	padding-right: 6px;
}
table.list td.td1 {
	max-width: 6em;
}
table.list td.td2 {
	width: 100%;
}


img {
	border-style:	none;
	vertical-align: middle;
    max-width:		650px;
}

img.centerimg {
	text-align:	center;
	display:	block;
	margin:		0 auto;
}

*.banner_bg img {
	vertical-align: bottom;
	margin-bottom: 5px;
}

*.smallgrey {
	font-size: 60%;
	color: #888888;
	text-align: right;
}

*.error {
	color:red;
	font-weight:bold;
}
blockquote {
	margin-top:    2px;
	margin-bottom: 2px;
}

span.banneritem a {
	text-shadow: 0px 0px 10px white;
}

span.banneritem {
	margin: 0 10px 0 10px;
	text-shadow:
		0px 2px 5px #f44,
		0px -2px 5px #f44;
}


*.hidden {
    border: 0 none;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

		/* NORMAL BUTTON */
*.button {
	-khtml-user-select: none; 
	-webkit-user-select: none; 
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
}


h1, h2, h3, h4, h5, h6, h7 {
	margin: 0px;
	padding: 0px;
	color: white;
	font-weight: bold;
	display: inline;
	text-shadow:
		0px -0.2ex 0.5ex rgba(170, 51, 0, 0.85),
		0px 0.2ex 0.5ex rgba(170, 51, 0, 0.85); /*#AA3300;*/
	-webkit-mask-image:  -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 70%, rgba(255,255,255, 0.5) 100%);
	line-height: 1.3em;
}

h3 {
	font-size: 170%;
	line-height: 1.3em;
}

h4 {
	padding-top: 20px;
	text-align: left;
	font-size: 145%;
}

hr {
	background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 75%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.4)), color-stop(75%,rgba(255,255,255,0)));
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,0.4) 0%,rgba(255,255,255,0) 75%);
	background: radial-gradient(center, ellipse cover,  rgba(255,255,255,0.4) 0%,rgba(255,255,255,0) 75%);
	
	margin-top: 10px;
	margin-bottom: 8px;
	height: 2px;
	border: 0px;
}

*.headerwrapper {
	text-align:center;
	padding: 15px 0px 25px 0px;
}


/**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/
/* Not everything in life has to be so dark! Let there be light! */

#light {
	cursor: pointer;
	width: 16px;
	height: 16px;
}
body.light div, body.light nav, body.light article {
	background: transparent;
}
body.light *.banner_bg, body.light table, body.light input, body.light blockquote, body.light {
	color: black;
	background: white;
	text-shadow: none;
}

body.light .banner {
	box-shadow: none;
	background: #fceabb;
	background: -moz-linear-gradient(top,  #fceabb 0%, #f9d577 50%, #f7cb5d 51%, #f9e8bb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fceabb), color-stop(50%,#f9d577), color-stop(51%,#f7cb5d), color-stop(100%,#f9e8bb));
	background: -webkit-linear-gradient(top,  #fceabb 0%,#f9d577 50%,#f7cb5d 51%,#f9e8bb 100%);
	background: -o-linear-gradient(top,  #fceabb 0%,#f9d577 50%,#f7cb5d 51%,#f9e8bb 100%);
	background: -ms-linear-gradient(top,  #fceabb 0%,#f9d577 50%,#f7cb5d 51%,#f9e8bb 100%);
	background: linear-gradient(top,  #fceabb 0%,#f9d577 50%,#f7cb5d 51%,#f9e8bb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#f9e8bb',GradientType=0 );
}

body.light *.banner_bg {
	color: #333;
}

body.light *.banner_bg, body.light table, body.light blockquote {
	box-shadow: 0px 0px 2px 0px rgba( 0, 0, 255, 0.5 ); 
}
   
body.light *.banneritem {
	text-shadow: none;
}

body.light a {
	color: blue;
	text-shadow: none;
	border-radius: 0px;
	border-top: none;
	border-bottom: none;
	background-color: none;
	text-shadow: none;
}
body.light a:hover {
	text-shadow: 0px 0px 6px blue;
}
body.light a:active {
	color: gold;
}
body.light *.banner a:active {
	color: white;
}
body.light, *.light *.gradient {
	color: #333;
	background: #f5f5f5 !important;
}
body.light *.banner {
	color: black;
}
body.light h3, body.light h4, body.light h5, body.light h6  {
	color: #333;
	text-shadow: none;
	-webkit-mask-image: none;
}

body.light hr {
	background: -moz-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.4) 0%, rgba(255,255,255,0) 75%);
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 75%);
	background: radial-gradient(center, ellipse cover,  rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 75%);
}

