
/*************************************************************************/
/* Scrollbars */
html {
  scrollbar-face-color: rgb( 40, 40, 40 );
  scrollbar-base-color: rgb( 40, 40, 40 );
  scrollbar-3dlight-color: rgb( 40, 40, 40 );
  scrollbar-highlight-color: rgb( 40, 40, 40 );
  scrollbar-track-color: #000;
  scrollbar-arrow-color: #000;
  scrollbar-shadow-color: rgb( 40, 40, 40 );
  scrollbar-dark-shadow-color: rgb( 40, 40, 40 );
}

::-webkit-scrollbar { width: 8px; height: 8px;}
::-webkit-scrollbar-button {  background-color: rgb( 50, 50, 50 ); height: 0px; width: 0px; }
::-webkit-scrollbar-track {  background-color: rgb( 40, 40, 40 );}
::-webkit-scrollbar-track-piece { background-color: #000;}
::-webkit-scrollbar-thumb { height: 50px; background-color: rgb( 50, 50, 50 );; border-radius: 3px;}
::-webkit-scrollbar-corner { background-color: rgb( 40, 40, 40 );}}
::-webkit-resizer { background-color: rgb( 50, 50, 50 );}

/*************************************************************************/
/* Dynamic */
@-ms-viewport {
	width: 			device-width;
}

@font-face {
    font-family: 	"SourceSansPro-Light";
    src:			url("../fonts/SourceSansPro-Light.ttf");
}

@font-face {
    font-family: 	"SourceCodePro-Regular";
    src:			url("../fonts/SourceCodePro-Regular.ttf");
}

/*************************************************************************/
/* Reset */
html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
{
	margin: 		0;
	border: 		0;
	font-size: 		100%;
	text-decoration:none;
	vertical-align: baseline;
}

/*************************************************************************/
/* Basic */
html, body
{
	height: 		100%;
	width: 			100%;
	overflow-x:		hidden;
}

body
{
	color: 			#5b5b5b;
	background: 	#282828;
    background-image:url(../img/bg-grid-1.png), url(../img/bg-grid-2.png);
}

/*************************************************************************/
/* Vars */
:root
{
	--topbar-height: 40px;
	--topbar-font-size: 20px;
	--bright-colorA: #d3a800;
	--center-form-width: 40%;
	--center-form-padding: 10px;
	--entry-thumbnail-size: 53px;
}

/*************************************************************************/
/* Custom - Top Bar Menu */
a, a:hover, a:active
{
	color:			var( --bright-colorA );
}

/*************************************************************************/
/* Custom - Top Bar Menu */
.topbar
{
	box-sizing: 	border-box;
	display: 		block;

	position:		fixed;
	top:			0px;

	width: 			100%;
	height: 		var( --topbar-height );

	margin: 		0px;
	padding: 		0px;

	background: 	var( --bright-colorA );

	font-family: 	"Segoe UI Black";

	overflow:		hidden;
    z-index:        1000;
}

.login-logo
{
	display:		inline-block;
	/*height: 		var( --topbar-height );*/
	padding: 3px;
}


.topbar-title
{
	display: 		inline-block;

	height: 		var( --topbar-height );

	padding-left: 	5px;
	
	vertical-align:	text-bottom;
	font-size:		var( --topbar-font-size );
	line-height: 	calc( var( --topbar-height ) - var( --topbar-font-size ) / 2 );

	color: rgb( 35, 35, 35 );
}

.topbar-title:hover
{
	color: rgb( 35, 35, 35 );
}

#topbar-controls {
    float: right;
}

#upload-button {
    display: inline-block;
}

#upload-button img {
    height: 		var( --topbar-height );
    box-sizing: 	border-box;
	display: 		inline-block;
	height: 		var( --topbar-height );
	padding: 		calc( var( --topbar-height ) / 5 );
}

.topbar-logout-form
{
	display: inline-block;
}

.logout-button
{
	box-sizing: 	border-box;
	display: 		inline-block;

	height: 		var( --topbar-height );

	padding: 		calc( var( --topbar-height ) / 5 );
	color: 			#b5b5b5;

	background:		transparent;
	transition: 	background-color 200ms;
	border: 		none;

	cursor: 		pointer;
}

.logout-button:hover
{
	background: 	var( --bright-colorA );
}

/*************************************************************************/
/* Custom - Centered form */
.form-wrapper
{
	box-sizing: 	border-box;
	display: 		block;

	position:		relative;
	top:			50%;
	
	width: 			var( --center-form-width );
	
	margin-top: 	-var( --topbar-height );
	margin-left:	auto;
	margin-right:	auto;

	color: 			rgb( 220, 220, 220 );
	background: 	linear-gradient( 180deg, rgb( 25, 25, 25 ), rgb( 15, 15, 15 ) );

	border: 		1px solid rgb( 40, 40 , 40 );
	border-radius: 	2px;

	font-family: 	"SourceSansPro-Light";
	font-size: 		0px;
}

.form-wrapper > form
{
	box-sizing: 	border-box;
	display: 		block;

	width: 			100%;
	height: 		100%;

	margin: 		0;
	padding: 		0;

	font-size: 		0px;
}

.input-form-wrapper
{
	box-sizing: 	border-box;
	display: 		block;

	width: 			100%;
	height: 		100%;
	
	margin: 		0;
	padding: 		var( --center-form-padding );

	font-size: 		0px;
}

.inputList
{
	box-sizing: 	border-box;
	display: 		inline-block;
	
	height: 		30px;
	width: 			20%;

	margin: 		0;
	padding: 		0;

	color:			rgb( 127, 127, 127 );
	background: 	linear-gradient( 180deg, rgb( 35, 35, 35 ), rgb( 30, 30, 30 ) );

	border: 		1px solid rgb( 50, 50 , 50 );
	border-radius: 	2px;
}

.inputField
{
	box-sizing: 	border-box;
	display: 		inline-block;

	height: 		30px;
	width: 			calc( 60% - 20px );

	margin-left: 	10px;
	margin-right: 	10px;
	padding: 		5px;

	border: 		1px solid rgb( 50, 50 , 50 );
	border-radius: 	2px;
	
	color:			rgb(220,220,220);
	background: 	linear-gradient( 180deg, rgb( 35, 35, 35 ), rgb( 30, 30, 30 ) );
}

.inputField:hover
{
	color:			rgb( 240, 240, 240 );
	background:		rgb( 35, 35, 35 );
}

.inputField:focus
{
	color:			var( --bright-colorA );
	background:		rgb(20,20,20);
}

.inputButton
{
	box-sizing: 	border-box;
	display: 		inline-block;

	width: 			20%;
	height: 		30px;

	margin: 		0px;
	padding: 		0px;
		
	border: 		none;
	border-radius: 	2px;

	color:			rgb( 220, 220, 220);
	background:		var( --bright-colorA );

	text-align: 	center;
	
	cursor: 		pointer;
}

h1, h2 , h3, h4, h5, h6, h7, h8, h9 {
    font-family: "SourceSansPro-Light";
}
/*************************************************************************/
/* Custom - Centered form error 404 */

.wrap404
{
	box-sizing: 	border-box;
	display: 		block;

	width: 			var( --center-form-width );
	
	margin-top: 	50px;
	margin-left:	auto;
	margin-right:	auto;

	color: 			rgb( 220, 220, 220 );
	background: 	linear-gradient( 180deg, rgb( 25, 25, 25 ), rgb( 15, 15, 15 ) );

	border: 		1px solid rgb( 40, 40 , 40 );
	border-radius: 	2px;

	font-family: 	"SourceSansPro-Light";
	font-size: 		0px;
}

.error-wrapper
{
	padding:		20px;
	font-size: 		20px;
}

.error-title
{
	color: 			var( --bright-colorA );
	font-size: 		40px;
}

/*************************************************************************/
/* Custom - tree */

.tree
{
	box-sizing:	border-box;
	display:	block;

	position:	fixed;
	top:		var( --topbar-height );

	height: 	calc( 100% - var( --topbar-height ) );
	width: 		25%;
	width-max: 

	padding: 	10px;

	color: 		#5b5b5b;
	background: #303030;

	font-family: 	"SourceSansPro-Light";
	font-size:      0px;
    z-index:        1000;

	resize: horizontal;
  	overflow: auto;
}

.tree-entry
{
	display:		block;
    white-space: 	nowrap;
}

.tree-entry a
{
	font-size:		20px;
	color: 			rgb( 127, 127, 127 );
}

.tree-entry img
{
	display:		inline-block;
	padding: 		0px;
	margin: 		0px;
    width: 			12px;
}

.tree-entry .tree-entry
{
	padding-left: 	20px;
}

.tree-entry-link
{
	font-size: 		20px;
	cursor:			default;
}

#current-tree-entry > details > summary > .tree-entry-link > a
{
	color: 			var( --bright-colorA );	
}

.tree-entry-admin-controls
{
	display:		inline-block;
}

.tree-entry-link > .tree-entry-admin-controls > a
{
	display:		inline-block;
	color: 			rgb( 30, 30, 30 );
}

.tree-entry-link:hover > .tree-entry-admin-controls > a
{
	color: 			rgb( 127, 127, 127 );
}

.tree-entry-link > .tree-entry-admin-controls > .admin-button:hover
{
	color: 			var( --bright-colorA );
}

/*************************************************************************/
/* Custom - Contents */

.contents
{
	display:		block;

	float:			right;

	width:			75%;

	margin:			0px;
	margin-top: 	var( --topbar-height );

	font-family: 	"SourceSansPro-Light";
}

.inner-contents
{
	margin: 		30px;
}

.entry
{
	box-sizing: 	border-box;
	display: 		block;
	
	width:			100%;
	
	margin-bottom: 	1px;
	padding: 		1px;
	
	color:			rgb(220,220,220);
	background: 	rgb( 35, 35, 35 );
	transition: 	background 200ms;

	border: 		1px solid rgb( 50, 50 , 50 );
	border-radius: 	2px;

	font-size:		0;

	position:		relative;
	top:			200px;
}

.entry:hover
{
	background:		rgb( 45, 45, 45 );
	cursor: 		pointer;
}

.child-entry
{
	display: 		block;
	width: 			unset;
	margin-left: 	var( --entry-thumbnail-size );
}

.entry-thumbnail
{
	display: 		block;

	float:			left;
	width: 			var( --entry-thumbnail-size );

	margin-right: 	5px;

	color:			rgb(220,220,220);
	background: 	rgb( 35, 35, 35 );
	/* background: 	var( --bright-colorA ); */
	
	border: 		1px solid rgb( 50, 50 , 50 );
	border-radius: 	2px;
}

.entry-title
{
	box-sizing: 	border-box;
	display: 		block;

	color: 			rgb( 220, 220, 220 );

	font-size: 		25px;
    white-space: 	nowrap;
	overflow: 		hidden;
}

.entry-desc
{
	box-sizing: 	border-box;
	display: 		block;

	color: 			rgb( 90, 90, 90 );

	font-size: 		18px;
    white-space: 	nowrap;
	overflow: 		hidden;
}

.entry-link
{
	display: 		block;
}

.entry-admin-controls
{
	/* patch */
	position: 		relative;
	top: 			-58px;
	float: 			right;
	padding: 		10px;
	font-size: 		25px;
}

.admin-button
{
	display: 		inline-block;
}

.entry-admin-controls > .admin-button
{
	color: 			rgb( 50, 50, 50 );
}

.entry:hover .admin-button
{
	color: 			rgb( 90, 90, 90 );
}

.entry-admin-controls > .admin-button:hover
{
	color: 			var( --bright-colorA );
}

/*************************************************************************/
/* Custom - Contents */
.edit-contents
{
	box-sizing: 	border-box;
	display: 		block;
	
	float:			right;

	width:			30%;

	margin: 		0px;
	margin-top: 	var( --topbar-height );

	font-family: 	"SourceSansPro-Light";
}

.edit-inner-contents
{
	width: 			100%;
	margin: 		auto;
}

.edit-form
{
	padding: 		4px;
}

.edit-input
{
	box-sizing: 	border-box;
	display: 		block;
	
	width: 			100%;

	margin-bottom: 	1px;
	padding: 		5px;

	color:			rgb( 127, 127, 127 );
	background: 	linear-gradient( 180deg, rgb( 35, 35, 35 ), rgb( 30, 30, 30 ) );

	border: 		1px solid rgb( 50, 50 , 50 );

	font-size: 		16px;
}

.edit-input:hover
{
	color:			rgb( 240, 240, 240 );
	background:		rgb( 35, 35, 35 );
}

.edit-input:focus
{
	color:			var( --bright-colorA );
	background:		rgb(20,20,20);
}

.edit-input-desc, .edit-input-contents
{
	resize: 		vertical;
}

.edit-input-desc
{
	height: 		60px;
}

.edit-input-contents
{
	height: 		300px;
}

.edit-input-contents:focus
{
	color:			rgb( 240, 240, 240 );
}

.edit-input-button
{
	display:	 	block;
	width:			100%;
}

/*************************************************************************/
/* Custom - Contents */
.entry-contents
{
	box-sizing: 	border-box;
	display: 		block;
	
	width:			100%;

	margin-top: 	5px;
	margin-bottom: 	5px;
	padding: 		20px;

    background: rgb( 35, 35, 35 );
    border: 1px solid rgb( 50, 50 , 50 );
    border-radius: 2px;

	color:			rgb(220,220,220);

	font-size:		16px;
	font-family: 	"SourceSansPro-Light";

	position:		relative;
	top:			200px;
}

.entry-contents  img
{
	/*display:		block;*/
	margin-top:		10px;
    max-width:      100%
}

.entry-contents  .centered-image
{
	display:		block;
	margin:			auto;
    max-width:      100%
}

.entry-contents  pre
{
	white-space: 	pre-wrap;
    font-family: 	"SourceSansPro-Light";
}

.entry-contents  .padding-div
{
	display:		block;
	padding: 		10px;
}

.entry-contents ol
{
    margin-top: 10px;
}

.entry-contents  li
{
    margin-top: 10px;
}

.entry-contents  p
{
    margin-top: 10px;
}

/*************************************************************************/
/* Custom - Monaco */
#left-container
{
	float:			left;

	position:		fixed;
	top: 			var( --topbar-height );
	
	margin:			0px;
	
	width:			70%;
	height:			calc( 100% - var( --topbar-height ) );

	font-family: 	"SourceCodePro-Regular";
	font-size: 		28px;
    background: 	rgb( 35, 35, 35 );
}

#controls
{
    font-size: 15px;
    font-family: "Segoe UI SemiLight";
    height: 25px;
}

#controls-wrap {
    float: right;
}

.control-button {
    display: inline-block;
    cursor: pointer;
    width: 80px;
    text-align: center;
    color: #b5b5b5;
    height: 25px;
    margin: 0px;
    padding: 0px;
}

.control-button.selected-control {
    color: var( --bright-colorA );
    background: #1e1e1e;
}

#monaco-container
{
	width:			100%;
	height:			calc( 100% - 25px );

	font-family: 	"SourceCodePro-Regular";
	font-size: 		28px;
}

#preview-container
{
    overflow-y:     scroll;
	width:			100%;
	height:			calc( 100% - 55px );
    font-size:      15px;
    padding:        30px;
    box-sizing:     border-box;
    font-family:    "SourceSansPro-Light";
	display: 		block;
	color:			rgb(220,220,220);

    background: rgb( 35, 35, 35 );

	font-size:		16px;
	font-family: 	"SourceSansPro-Light";
}

#preview-container ol
{
    margin-top: 10px;
}

#preview-container li
{
    margin-top: 10px;
}

#preview-container p
{
    margin-top: 10px;
}

code
{
    border: 1px solid #424242;
    border-radius: 2px;
	box-sizing: 	border-box;
	padding:		10px;
	margin:			0;
	width: 			100%;
	margin: 		auto;
	white-space: 	pre;
    font-family: 	"SourceCodePro-Regular";
	
}

#preview-container  img
{
	/*display:		block;*/
	margin-top:		10px;
    max-width:      100%
}

#preview-container  .centered-image
{
	display:		block;
	margin:			auto;
    max-width:      100%
}

#preview-container  pre
{
	white-space: 	pre-wrap;
    font-family: 	"SourceCodePro-Regular";
}

#preview-container  .padding-div
{
	display:		block;
	padding: 		10px;
}

/*************************************************************************/
/* Custom - Details */
.tree-entry-link:before
{
	content: 		"+";
}


details[open] > summary > .tree-entry-link:before
{
	content: 		"-";
}

/*************************************************************************/
/* Dat */
.files-content-wrapper {
    font-family: "Segoe UI SemiLight";
    padding: 5px;
}

.fileBoxWrap
{
    position:relative;
    top: var( --topbar-height );
    display:inline-block;
    width:6.66%;
    text-align:center;
    vertical-align:text-top;

    margin:0px;
    padding:5px;
    box-sizing:border-box;
    cursor:pointer;
}

.fileBoxWrap2
{
     position:relative;
    display:block;
    width:100%;
    text-align:center;
    vertical-align:text-top;
    
    margin:0px;
    padding:5px;
    box-sizing:border-box;
    background-color:rgb(60,60,60);
    
}

.fileBoxWrap:hover
{
    background-color:rgb(80,80,80);
}

.fileBox
{
    font-size:15px;
    margin:0px;
    box-sizing:border-box;
    
}

.extBox
{
    background:blue;
    font-family: "Segoe UI Black";
    display:inline-block;
    padding:2px;
    font-size:12px;
    font-weight:bold;
    color:rgb(220,220,220);
    border-radius:3px;
    position:absolute;
    top:0px; left:0px;
}

.DBT
{
    display:block;
    position:absolute;
    top:0px;
    right:0px;
    padding:0px;
    margin:0px;
    width:20px;
    height:20px;
    vertical-align:top;
}

.DBT:hover
{
    background-color:rgb(80,150,255);
}

.fileBoxWrap:hover .DBT
{
    opacity:1;
}

.infoBox
{
    text-align:left;
    overflow:hidden;
    outline:none;
    font-size:12px;
    
    color:rgb(80,150,255);
}

.path
{
    background:rgb(10,10,10);
}

.menuButton:hover, .menuButton:active, .menuButton {
    color:rgb(225,225,225);
    outline: none;
}

.backLink, .backLink:active {
    outline: none;
    display:inline-block;
    color:rgb(225,225,225);
}

.content {
position:absolute;
    width:100%;
    z-index:0;
    display:block;
    margin:0px;
    vertical-align: middle;
    vertical-align:text-top;
    font-size:10px;
    overflow:hidden;
}

.r2
{
    margin:0px;
    box-sizing:border-box;
    padding:5px;
}

.path {
    height:20px;
}

.BXT
{
    background-color:rgb(10,10,10);
}

.BLXT
{
    background-color:rgb(50,80,255);
}

.RXT
{
    background-color:rgb(220,40,25);
}

.GRXT
{
    background-color:rgb(30,170,25);
}


.fileFormInput
{
    position:relative;
    top: var( --topbar-height );
    width:100%;
    background-color:rgb(40,40,40);
    border-bottom:1px solid rgb(80,80,80);
}
