body, a{
    color: #3a353e;
    font-family: monospace, sans-serif;
}

body{
    background: rgb(250, 255, 240);
	padding: 70px 0;
}

div, p, a{
    font-size: 1rem;
    box-sizing: border-box;
}

.row{
	font-size: 0px;
	text-align: center;
}
.column{
	display: inline-block;
	font-size: initial;
	width: 100%;
	vertical-align: top;
	text-align: left;
}
.column-2{
	max-width: 50%;
}

.column-3{
	max-width: 33%;
}
.column-4{
	max-width: 25%;
}

.flex-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.italic{
	font-style: italic;
}

#nav{
    position: fixed;
/*     right: 0; */
    left: 0;
    top: 0;
    padding: 5px;
    background: rgba(255, 255, 255, .8 );
	box-shadow: 0px 0px 10px;
/*     background: linear-gradient( transparent, rgba(255, 255, 255, .2) ); */
/*     background: rgba(0, 0, 255, .2); */
    width: 100%;
	text-align: left;
	z-index: 9;
/*     height: 50px; */
}

#nav *{
    display: inline-block;
    vertical-align: middle;
}

#nav h4{
	margin: 0;
	color: black;
}

#logo{
	margin-left: 10px;
	text-decoration: none;
}
#logo img{
    max-width: 30px;
}

#nav-items,
#normal-links{
    float: right;
    margin-right: 27px;
}
a.auth-item,
.nav-item{
	text-decoration: none;
}
.nav-item{
	font-weight: bold;
}
.auth-item{
	text-decoration: underline;
	cursor: pointer;
	background: rgb(250, 220, 180) !important;
}
.admin-link{
	color: #038203;
}

.container{
    text-align: center;
}

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


.button,
.panel input.button{
    padding: 8px;
    color: black;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    font-size: .9rem;
    user-select: none;
	border: 0px;
	font-family: monospace;

	background: rgba(255, 225, 255, .7);
	color: black;
	border: 0px solid;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, .6);
	border-radius: 5px;
}

.button:hover,
.panel input.button:hover{
    background: rgba(255, 155, 255, .9);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, .8);
}

.button:active,
.panel input.button:active{
	box-shadow: 0px 0px 5px rgba(0, 0, 0, .8);
}



#alert-contain{
	position:fixed;
	z-index: 99999;
	bottom: 100px;
	right: 30px;
	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: 16px;
	font-weight: bold;
	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 a{
	color: white;
	font-weight: bold;
}
.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-icon.type-error{
	background: red
}
.alert-icon.type-success{
	background: lightgreen;
}

.alert-close{
	position: absolute;
	right: 0px;
	top: 0px;
	pointer-events: initial;
	cursor: pointer;
	border-left: 1px solid grey;
	font-size: 1.5rem;
}

.alert-close:hover{
	background: rgba(250, 50, 55, .6);
}



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

}
.spinner>img{
	width: 100px;
	max-width: 95% !important;
}

#viz{
	width: 30px;
	cursor: pointer;
}

.prefill{
	transform: rotate( -1deg );
/* 	position: absolute; */
/* 	right: 0; */
/* 	bottom: 0; */
	cursor: pointer;
	float: right;
	padding: 5px;
	background: rgba(100, 0, 255, .3);
}
.prefill:hover{
	background: rgba(100, 0, 255, .5);
}

.attention,
.game-data span.attention{
	color: orange;
	animation: blink 2s linear infinite;
	padding: 5px 8px;
}

img.stripe-logo{
    max-width: 70px;
}

#global-data{
	display: none;
}





.panel{
	background: rgba(250, 255, 255, .8);
	padding: 10px;
	margin: 10px;
	border-radius: 8px;
	position: relative;
}
.panel .content{
	transition: .3s;
}
.panel .content,
.panel form{
/* 	padding: 10px; */
}
.panel h3{
	color: #3c5462;
}

.panel form *{
	vertical-align: middle;
}
.panel input,
.panel select,
.panel textarea{
	margin: 10px 0;
	background: white;
	color: black;
	padding: 8px;
	font-size: 14px;
	font-family: monospace;
	border: 1px solid;
}
.panel input,
.panel textarea{
	width: 100%;
}
.panel input::placeholder{
	color: grey;
}
.panel label{
	color: rgb(40, 40, 40);
}
.panel input.button:hover{
	background: rgba(255, 155, 255, .9);
}
form input[type=checkbox],
input[type=checkbox]{
	width: 20px;
	height: 20px;
	display: inline-block;
	vertical-align: middle;
}
.panel input[type=submit]{
	margin: 10px 0;
	width: auto;
}

.panel-toggle{
	position: absolute;
	top: 5px;
	right: 5px;
}

.panel.toggled .content{
	display: initial;
}






.box-shadow-light{
	box-shadow: 0px 0px 20px rgba(0, 0, 0, .3);
}

@keyframes blink{
	0% {
		background: rgba(255, 200, 0, .3);
	}
	50%{
		background: rgba(255, 200, 0, 0);
	}
	100% {
		background: rgba(255, 200, 0, .3);
	}
}

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