:root{
	--dev-color: orange;
	--live-color: green;
	--dark-content-bg: #2b2b2b;
	--dark-content-copy: lightgrey;
	--dark-content-highlight: #ebebeb;
	--delete: maroon;
}

#global-data{
	display: none;
}

*{
	font-family: Archivo, Courier;
/* 	font-family: Courier; */
}

#audio{
	display: none;
}

body{
	margin: 0px;
    padding: 0px;
/*     color: aliceblue; */
}
body.dark{
	background: #2f2f2f;
	color: lightgrey;
}

img{
	max-width: 100%;
	max-height: 100%;
	height: auto;
}

img,
a,
div,
p,
input,
span,
textarea{
	box-sizing: border-box;
}

a{
/* 	color: white; */
/* 	text-shadow: 0px 0px 5px blue, 0px 0px 10px white; */
	letter-spacing: 1px;
/* 	animation: link_pulse 3s infinite; */
}
.dark a{
	color: lightblue;
}
.dark a:visited{
	color: violet;
}
.button,
.button a{
	color: white;
	text-decoration: none;
}

.dark h3{
	color: lightgrey;
}

.flex-wrapper{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}


input.input{
	padding: 8px;
}
.dark input.input,
.dark textarea.input{
	background: rgb(30,30,30);
	color: rgb(200, 200, 200);
}

#logo{
    display: inline-block;
    max-width: 40px;
    position: absolute;
    bottom: 0;
    left: 10px;
	z-index: 99;
}
#logo img{
    max-width: 100%;
    user-select: none;
    -webkit-user-select: none;
	-webkit-user-drag: none;
	-webkit-app-region: no-drag
}

#header{
    text-align: left;
    width: 100%;
	background: white;
/* 	border: 1px solid blue; */
	min-height: 70px;
	border-bottom: 1px solid #bfbfbf;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
}
.dark #header{
	background: #404040;
	border-bottom: 1px solid black;
}

#mobile-toggle{
	position: absolute;
	z-index: 99999;
	right: 10px;
	top: 10px;
	display: none;
	user-select: none;
	cursor: pointer;
	font-weight: bold;
}

#content{
	padding-top: 80px;
	overflow: hidden;
}

#links{
	text-align: right;
	padding-right: 10px;
	width: 100%;
/* 	border: 2px solid pink; */
}

.link,
.link a{
	display: inline-block;
}
#links .link a{
	padding: 20px;
	text-decoration: none;
	font-weight: bold;
}
.dark #links .link a{
	color: lightgrey;
}
.dark #links .drop-down .link a{
	color: black;
}

#links a{
	color: black;
}

#forgot{
    font-size: .9rem;
    background: transparent;
    margin-top: 50px;
}
#forgot a{
    text-shadow: 0px 0px 0px !important;
    animation: none;
    color: grey;
    text-decoration: none;
}

.local-login{
    background: #e64a66;
    position: absolute;
    z-index: 99;
    bottom: 0px;
    padding: 100px;
    cursor: pointer;
}
.local-login.admin{
    right: 0px;
}





.emu-contain{
	text-align: center;
	width: 100%;
}

.emu-constrain{
	display: inline-block;
	width: 100%;
	text-align: left;
	max-width: 1200px;
}


input.input,
textarea.input{
	background: transparent;
	border: 0px;
	border-bottom: 1px solid grey;
	padding: 8px 3px;
    letter-spacing: 2px;
/*     color: white; */
    font-weight: 100;
}
.dark input.input,
.dark textarea.input{
	color: lightgrey;
}
input[type=text],
input[type=password],
input[type=email],
textarea{
	width: 300px;
	max-width: 100%;
}
textarea{
	min-height: 100px;
}

.dev-color{
	color: var(--dev-color)
}
.live-color{
	color: var(--live-color)
}

.spinner{
	position: fixed;
	z-index: 9999;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .3s;
	background: rgba(0, 0, 0, .2);

    display: none;

}
.spinner>img{
/* 	width: 50px; */
	max-width: 70px !important;
}

#flash-contain{
	position: fixed;
	z-index: 9;
	top: 0; 
	left: 0;
	width: 100%;
	height: 100vh;
	transition: 1s
}
img#flash{
	position: absolute;
	width: 0%;
	max-width: 1000%;
	transition: 1s;
}

#alert-contain{
	position:fixed;
	z-index: 999999;
	bottom: 50px;
	left: 20px;
	text-align: left;
	width: 70%;
	pointer-events: none;
	padding-top: 10px;
}
.alert-wrap{
	transition: .5s;
}
.alert-msg{
	position: relative;
	background: rgba(0, 0, 0, .9);
	color: lightgrey;
	font-size: 13px;
	display: inline-block;
	margin: 1px 0;
	padding: 8px 40px 7px 20px;
/* 	border: 1px solid grey; */
    pointer-events: initial;
    font-weight: bold;
/* 	box-shadow: 0px 0px 5px black; */
}
.alert-msg a{
	color: lightblue;
}
.alert-msg pre{
	max-height: 80vh;
    overflow-y: auto;
}
.alert-msg span{
	color: orange
}
.alert-icon, 
.alert-close{
	height: 100%;
	width: 30px;

	display: flex;
	justify-content: center;
	align-items: center;
}

.alert-icon{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 12px;
}

.alert-close{
	position: absolute;
	right: 0px;
	top: 0px;
	pointer-events: initial;
	cursor: pointer;
	border-left: 1px solid grey;
	padding: 2px 5px 0px 5px;
	font-size: 1.5rem;
}
.alert-close:hover{
	background: rgba(250, 50, 55, .4);
}
.alert-icon{
	background: lightgrey;
}
.alert-icon.type-success{
	background: rgba(100, 245, 100, .7);
}
.alert-icon.type-error,
.alert-icon.type-warning{
	background: red;
}
.hal .alert-icon{
	background: rgb(255 235 0)
}

input.button{
	background: #675c5c;
/* 	border: 1px solid grey; */
	cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 3px;
}
input.button:hover{
	color: white;
}

.button{
	position: relative;
	border: 1px solid black;
	background: rgba(10, 10, 30, .6);
	padding: 5px 10px;
	cursor: pointer;
	user-select: none;
	box-shadow: 2px 2px black;
	display: inline-block;
    border: 1px solid black;
    font-weight: bold;
	font-size: initial;
/*     border-radius: 3px; */
}
.button:active,
.button.selected:active{
	background: #2f4a69;
	transform: translate( 1px, 1px );
	box-shadow: 0px 0px black;;
}
.button.delete{
	background: rgba(205, 50, 50, .5)
}
.button:hover,
.button.delete:hover,
.button.selected:hover{
    background: #d69319;
}
.button.selected{
    background: orange;
}


.stat{
/* 	color: #8af5f5; */
}
.stat span{
/* 	color: #fffe3f; */
}
.stat-set{
	color: lightgrey;
	font-weight: bold;
/* 	background:  */
}
.stat-set .stat{
	font-weight: initial;
}

.stat-set span{
	padding-left: 10px;
/* 	color: lightgrey; */
}

.disabled{
	opacity: .5;
	pointer-events: none;
/* 	border:2px solid red; */
}

.frame{
	position: absolute;
    pointer-events: none;
  	overflow: hidden;
  	width: 100%;
  	height: 100%;
  	top: 0;
  	left: 0;
}
.faded{
	opacity: .5;
}

.hidden{
    display: none;
}

.undisplay{
	display: none;
}

.removed,
.link.removed{
	display: none
}

.highlighted{
	color: white;
}

.ui-fader{
	transition: .3s;
}



.row{
	font-size: 0px;
}
.column{
    position: relative;
	font-size: initial;
	display: inline-block;
	vertical-align: top;
	width: 100%;
	text-align: left;
/* 	min-height: 100%; */
}
.column-2{
	max-width: 50%;
}
.column-3{
	max-width: 33%;
}
.column-4{
	max-width: 25%;
}
.column-5{
	max-width: 20%;
}
.column-6{
	max-width: 16%;
}
.column-7{
	max-width: 14%;
}
.column-8{
	max-width: 12%;
}

.site-title{
	margin-top: 10px;
	text-align: center;
}

.clarification{
	font-style: italic;
}

.delete-button{
	background: rgb(255, 50, 50);
}

.drop-down{
	display: inline-block;
	position: relative;
}
.drop-toggle{
	cursor: pointer;
	user-select: none;
	padding: 20px;
	display: inline-block;
	vertical-align: middle;
}
.dark .drop-toggle{
	color: lightgrey;
}
.drop-toggle:hover{
	background: lightgrey;
}
.drop-toggle img{
	max-width: 35px;
}
.dark .drop-toggle:hover{
	background: #6a6a6a;
	color: black;
}

.drop-down .drop-down{
	position: absolute;
	top: 50;
/* 	left: 0; */
	right: 0px;
	display: none;
	background: lightgrey;
}
.dropped .drop-down{
	display: inline-block;
	border: 1px solid grey;
}
.drop-down .drop-down div{
	width: 100%;
/* 	padding: 20px; */
	position: relative;
}
.drop-down .drop-down a{
	padding: 20px;
	display: inline-block;
}
.link:hover{
	background: rgba(0, 0, 0, .5);
}
#admin-link{
	display: inline-block;
	margin-right: 120px;
}
#admin-link a{
	color: var(--dev-color) !important;
	font-weight: bold;
}
.dark #admin-link a{
	color: violet;
}

#zoom{
	position: fixed;
	bottom: 0;
	left: 0;
}

/* .linktype-utility, */
.linktype-tool,
.linktype-finance,
.linktype-chess{
/* 	display: none; */
}
.linktype-finance{
	background: lightblue;
}
.linktype-tool{
	background: #ffe0a7;
}
.linktype-chess{
	background: #f6bcbc;
}


.drop-scroller{
	background: white;
	min-height: 30px;

	position: fixed;
	z-index: 99999;
	background: lightgrey;
	color: black;
	box-shadow: 0px 0px 10px black, 0px 0px 10px black;
	max-height: 400px;
	overflow-y: auto;
}
.drop-interior{
/* 	position: absolute; */
}
.drop-option{
	cursor: pointer;
	width: 100%;
	padding: 5px;
}
.drop-option:hover{
	background: grey;
}

.input-wrap{
	text-align: left;
	padding: 5px;
}

.data-embed{
	display: none;
}

.svg-icon-wrap{
	display: inline-block;
	vertical-align: middle;
}
.svg-icon-wrap svg{
	width: 30px;
	height: 30px;
}
.dark .svg-icon-wrap svg path{
	fill: #c9c8c8;
}
.svg-icon-wrap.clickable:hover{
	transform: scale(1.05);
}
.svg-icon-wrap.clickable:active{
	transform: scale(.98);
}

#dark-mode{
	cursor: pointer;
	user-select: none;
	margin: 0px 25px 0 5px;
}

.runner-wrapper{
	position: fixed;
	right: 0;
	top: 75px;
	height: calc( 100% - 75px );
	width: 100%;
	/* border: 1px solid; */
}
.runner-liner{
	position: absolute;
	user-select: none;
	pointer-events: none;
	width: 100%;
	height: 100%;
	/* border: 10px solid; */
}
.runner-node{
	position: absolute;
	display: inline-block;
	border-radius: 100px;
	border: 1px solid black;
	background: rgba(0, 0, 0, .2);
	transition: .4s;
	opacity: .1;
}
.dark .runner-node{
	background: rgba(255, 255, 255, .5);
}
.runner-node.pulsing{
	/* animation: button_pulse .5s linear infinite; */
	/* transform: scale(2); */
	opacity: 1;
}

.emu-frame{
	box-shadow: 0px 0px 10px rgba(0, 0,0, .3);
	padding: 10px;
	border-radius: 10px;
}
.dark .emu-frame{
	background: rgba(255, 255, 255, .05);
}

textarea.no-edit{
	border: 0px;
	font-size: .8rem;
}




/*FOLDERS*/
.emu-folder{
	/* border: 2px solid red; */
}
.emu-folder-contents{
	display: none;
	width: 100%;
	padding: 10px;
}
.emu-folder-contents.selected,
.emu-folder-contents.selected .emu-folder-contents.selected{
	display: inline-block;
}
.emu-folder-nav{
	/* margin-bottom: 20px; */
}
.emu-tab{
	display: inline-block;
	/* border: 2px solid transparent; */
	padding: 5px 10px;
	background: lightgrey;
	cursor: pointer;
	font-weight: bold;
	user-select: none;
	border: 1px solid transparent;
	border-bottom: 1px solid grey;
	margin: 0 1px;
	border-radius: 7px 7px 0 0;
	position: relative;
	z-index: 9;
	transform: translate(1px, 1px);
	color: black;
}

.emu-tab.selected{
	background: white;
	border-top: 1px solid grey;
	border-left: 1px solid grey;
	border-right: 1px solid grey;
	border-bottom: 0px solid grey;
}
.emu-tab:hover{
	background: white;
}
.dark .emu-tab{
	background: #565656;
}
.dark .emu-tab.selected{
	background: grey;
}

.emu-folder .emu-folder{
	/* border: 2px solid red; */
	background: #ebddb0;
	padding: 5px;
	border-radius: 10px;
}

.modal.media-library .modal-content{
	height: 100%;
	max-width: 80vw;
}

.media-library .lib-explain{
	margin-bottom: 10px;
	margin-top: 10px;
}

.modal.media-library .lib-content{
	/* border: 2px solid red; */
	height: calc(100% - 115px);
	overflow-y: auto;
	overflow-x: hidden;
	margin-top: 10px;
}
.media-library .lib-actions{
	margin-top: 10px;
}

.lib-actions .button{
	margin-left: 5px;
}
.button.upload{
	background: navy;
}
.type-select{
	position: absolute;
	top: 20px;
	right: 80px;
}

.media-tile{
	display: inline-block;
	width: 120px;
	height: 150px;
	vertical-align: top;
	padding: 5px;
	font-size: .7rem;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 4px;
}
.media-name{
	color: orange;
}
.media-tile.selected{
	/* border: 2px solid blue; */
	background: rgba(0,0,0,.8);
	border: 1px solid grey;
}
.img-thumb{
	display: inline-block;
	width: 100%;
	height: 100px;
	background-size: cover !important;
	background-position: center center !important;
	/* border: 2px solid; */
}



@media screen and ( max-width: 800px ){

	#header{
		background: white;
	}
	
    .link.removed{
        display: none;
    }

    .column-2,
    .column-3,
    .column-4,
    .column-5,
	.column-6{
	    max-width: 100%;
    }
	body.admin .user-row{
		margin: 10px 0;
		background: rgba(0, 0,0, .2)
	}
	body.admin .user-row .column-6{
	    max-width: 100% !important;
	}
	body.admin .user-row .user-handle,
	body.admin .user-row .user-created{
		display: none;
	}

	#mobile-toggle{
		display: inline-block;
	}

	#links{
		margin-top: 50px;
		width: 100%;
		text-align: center;
	}
	
	.link{
		display: block;
		padding: 10px;
	}

	#links>.drop-down{
		max-width: 100%;
		width: 100%;
		display: inline-block;
		padding: 10px;
	}

	.drop-down .drop-down{
/* 		right: 25%; */
		top: auto;
		margin-top: 20px;
		position: relative;
		width: 100%;
	}

	#dark-mode{
		transform: translate( 0, -10px );
	}
	
}



@keyframes edit_pulse {
	70% { opacity: .3 }
	100% { opacity: 1 }
}

@keyframes link_pulse {
	90% { opacity: .8 }
	100% { opacity: 1 }
}

@keyframes button_pulse {
	50% { background: transparent }
	100% { background: #ad7c24 }
}


