:root{
	--coin: #e6e6e6;
	--admin-color: violet;
	--mission-blue: #3f9dbb;
	--mission-ferry: #81c0d4;
}

#global-data,
#global-user{
	display: none;
}

#audio{
	display: none;
}

body{
	margin: 0px;
    padding: 0px;
    background: black;
    color: aliceblue;
}

div,
input,
input.button,
p,
a,
span,
textarea,
.display,
h1, h2, h3, h4, h5, h6{
	/* font-weight: 800; */
    /* font-family: monospace; */

	font-family: "Lekton", monospace;
	font-weight: 400;
	font-style: normal;
}

/* div,
input,
input.button,
p,
a,
span,
textarea,
.display{
	letter-spacing: 1px;
} */

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

canvas{
	image-rendering: pixelated;
}

div,
p,
input,
span,
canvas,
textarea,
h1, h2, h3, h4, h5, h6{
	box-sizing: border-box;
}

a{
	color: white;
	text-shadow: 0px 0px 2px blue, 0px 0px 4px blue;
	letter-spacing: 1px;
	animation: link_pulse 3s infinite;
}

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

.align-left{
	text-align: left;	
}
.align-right{
	text-align: right;	
}
.align-center{
	text-align: center;	
}

#content{
    display: inline-block;
    width: 100%;
/*     max-width: 300px; */
/*     margin-top: 10%; */
}

#content input{
    width: 100%;
    margin: 20px 0;
}

.ecc-contain{
	
	text-align: center;
}

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

.display{
    color: wheat;
}
h4.display{
	margin-top: 12px;
}

.orange{
	color: orange;
}

select.input{
	background: black;
	color: white;
	padding: 5px;
}
input.input{
	background: rgba(0, 0, 0, .4);
	border: 0px;
	border-bottom: 1px solid grey;
	padding: 8px 3px;
	letter-spacing: 2px;
	color: white;
	font-weight: 100;
}
textarea.input{
	background: black;
	width: 100%;
	height: 80px;
	color: lightgrey;
	margin-bottom: 10px;
}
#content input[type=checkbox]{
	width: 20px;
	height: 20px;
	vertical-align: middle;
}
input[type=submit]{
	cursor: pointer;
}
.float-left{
	float: left;
	margin-right: 10px;
}
.float-right{
	float: right;
	margin-left: 10px;
}
.spinner{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9;
	/* pointer-events: none; */
	/* background: rgba(0, 0, 0, .2); */

}
.spinner img{
	width: 70px;
	max-width: 90% !important;
}

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

/*     display: none; */

}
.static>img{
	width: 100%;
	height: 100%;
	max-width: 100% !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;
}

.absolute{
	position: absolute;
}

#alert-contain{
	position:fixed;
	z-index: 999999;
	bottom: 150px;
	right: 60px;
	text-align: right;
	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: 3px 40px 3px 20px;
/* 	border: 1px solid grey; */
    pointer-events: initial;
    text-align: left;
    border: 1px solid #353535;
}
.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); */
}
.success .alert-icon{
	background: rgba(100, 245, 100, .7);
}
.alert-icon.type-error,
.alert-icon.type-warning{
	background: red;
}
.hal.alert-msg{
	color: orange;
	border: 1px solid orange;
}
.hal .alert-icon{
/* 	background: rgb(156 133 245) */
    background: orange;
}
.combat .alert-icon{
	background: #ff8304;
}

input.button{
	background: black;
	border: 1px solid grey;
	cursor: pointer;
	color: lightblue;
    text-transform: uppercase;
    letter-spacing: 3px;

	font-weight: 700;
}
input.button:hover{
	color: white;
}

.button{
	border: 1px solid black;
	background: rgba(20, 20, 40, .8);
	padding: 5px 10px;
	cursor: pointer;
	user-select: none;
	box-shadow: 2px 2px black;
	display: inline-block;
    border: 1px solid black;
    color: lightblue;
/*     transition: .2s; */
	font-weight: 700;
	/* letter-spacing: 2px; */
	/* text-transform: uppercase; */
}
.button:hover{
	background: rgba(40, 40, 70, 1);
	color: white;
}
.button:active,
.button.selected:active{
	background: #2f4a69;
	transform: translate( 1px, 1px );
	box-shadow: 0px 0px black;;
}
.button.selected{
	background: rgba( 30, 60, 70, .8 )
}

.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; */
}



/* #content .code{
	display: inline-block;
	max-width: 400px;
	border: 2px solid;
	padding: 10px;
} */

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

.explanation{
	font-style: italic;
}

.faded{
	opacity: .5;
}

.hidden{
	opacity: 0;
	pointer-events: none;
}

.squashed{
	height: 0px !important;
	overflow: hidden;
}
.lore-box.squashed{
	margin: 0 !important;
}

.undisplay{
	display: none;
}

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

.highlighted{
	color: white;
}

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



.row{
	font-size: 0px;
	width: 100%;
	max-width: 100%;
}
.column{
	font-size: initial;
	display: inline-block;
	vertical-align: top;
	width: 100%;
/* 	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%;
}

.opacity-pulse{
	animation: opacity_pulse 2s infinite;
}

.announce{
	text-align: center;
	/* border: 2px solid red; */
}

input.no-edit{
	border: 0px;
	pointer-events: none;
}

.button.danger{
	background: rgba(100, 0, 0, .5);
	color: orange;
}
.button.danger:hover{
	background: rgba(100, 0, 0, .8);
    color: orange;
    font-weight: bold;
}

.frame{
	border: 1px solid;
	width: 150px;
	height: 150px;
	max-width: 100%;
	max-height: 100%;
	border-radius: 200px;
	position: relative;
	/* position: absolute; */
    overflow: hidden;
}

.frame .border{
	border: 1px solid white;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 200px;
	box-shadow: 
	inset 0px 0px 30px black, 
	inset 0px 0px 20px black, 
	inset 0px 0px 20px black, 
	inset 0px 0px 20px black;
}

.frame img{
	width: 100%;
	max-width: 100%;
}

.jiggling{
	animation: jiggling .1s infinite;
	transform: scale(1.1)
}

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

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

@keyframes opacity_pulse {
	10% { opacity: 0 }
	100% { opacity: 1 }
}

@keyframes jiggling {
	0% { transform: rotate(-5deg)}
	100% { transform: rotate(5deg)}
}

.lore-box{
/* 	height: 400px; */
	overflow: hidden;
	position: relative;
}

.lore-box .content{
    transition: .5s;
/*     height: 100%; */
    overflow-y: auto;
    text-align: left;
/*     width: calc(100% + 20px); */
    padding: 80px 20px 80px 0;
}

.lore-box .mask{
	position: absolute;
    pointer-events: none;
	top: 0;
	width: 100%;
	left: 0;
	height: 100%;
	background: linear-gradient(0deg, black, transparent, transparent, transparent, black );
}

.lore-box .content .intro-row{
	margin: 10px 0;
	cursor: pointer;
}

#horn{
    position: fixed;
    z-index: 999;
    background: yellow;
    padding: 20px;
    bottom: 60px;
    left: 100px;
}




.input-wrapper{
	margin: 10px 0;
}

.reader-indicator{
	position: fixed;
	z-index: 99;
	border: 2px solid;
	background: lightgrey;
	color: black;
	padding: 2px;
	overflow-y: auto;
	width: 300px;
}
.reader-indicator .indicator-res{
	background: lightgrey;
	color: black;
	padding: 2px;
	cursor: pointer;
}
.reader-indicator .indicator-res:hover{
	background: grey;
}

.ecc-form input[type=submit]{
	padding: 10px;
	border: 1px solid darkviolet
}
.ecc-form input[type=submit]:hover{
	background: darkviolet;
}

.key{
	border: 1px solid #845704;
	border-radius: 3px;
	background: black;
	padding: 1px 4px;
	color: #888585;
}


/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #171515;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.splitter{
	display: inline-block;
	width: 100%;
	max-width: 50%;
	vertical-align: top;
}

.modal-content .station-info-top .listing-stats{
	margin-bottom: 10px;
}

.tooltip{
    position: fixed;
    z-index: 99;
    background: black;
    width: 200px;
    font-size: .8rem;
    padding: 5px;
	pointer-events: none;
}
.tooltip span{
	color: #b5965c;
	font-weight: bold;
}
/* inside item tips: */
.pos-indicator{
	position: relative;
	font-size: 1rem;
	color: lightblue;
	display: inline-block;
}

img.coin{
	max-width: 20px;
	display: inline-block;
	vertical-align: middle;
}

@media screen and (max-width: 800px){
	.column-2,
	.column-3,
	.column-4,
	.column-5{
		max-width: 100%;
	}
}