/***
this css has flash page styling
***/

/**
general stuff
**/
html, body { /* disable dark mode */
	background-color: #eee;
	color: #474747 !important;
}
main { display: flex; padding: 0 }
.close-button:hover { 
	cursor: pointer; 
	color: var(--primary); 
}

/**
objects
**/
.char_object {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/**
previewer
**/
#previewer {
	display: none;
}
#preview_window {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 5px 15px #0004;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 700px;
	height: 488px;
}
.preview_head {
	background: #f0f0f0;
	border-bottom: 1px solid #c0c0c0;
	border-radius: 4px 4px 0 0;
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 14px 30px 10px;
}
.preview_head h2 {
	font-size: 20px;
	margin: 0;
}
.preview_head #preview_close {
	font-size: 20px;
	margin: 0;
}
.preview_head #preview_close:hover {
	color: #d85e27;
	cursor: pointer;
}
#preview_player {
	outline: 0!important;
	display: block;
	margin: auto;
}
.preview_foot {
	background: #f0f0f0;
	border-top: 1px solid #c0c0c0;
	border-radius: 0 0 4px 4px;
	text-align: right;
	margin-top: 12px;
	padding: 4px 30px 6px;
}
.preview_foot .button_big,
.preview_foot .button_small {
	border: none;
	outline: 0!important;
}

html body.in_preview {
	background: radial-gradient(#333, #111);
}
body.in_preview main {
	height: 1px;
}
body.in_preview #previewer {
	display: block;
}

/**
importer
**/
#importer {
	/* style */
	box-shadow: 0 0 8px #00000028;
	/* layout */
	z-index: 1;
	display: none;
	min-width: 320px;
}
