html, body {
	width: 100%;
	height: 100%;
	margin: 0px;
	color: var(--text);
	font-family: sans-serif;
}

a {color: lightblue;}
a:visited {color: #719aa6;}

input:focus {
	outline: none;
}

button {
	user-select: none;
}

.container {
	display: flex;
	flex-flow: column;
	height: 100%;
}

.flex-container {
	display: flex;
}

.flex-child-horiz {
	flex: 1;
}

.padded-block {
	display: block;
	padding: 10px;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}

.panels {
	display: flex;
	flex-flow: row;
	height: 100%;
	overflow-y: hidden;
}

.panel {
	display: flex;
	flex: 1;
}

.btn {
	user-select: none;
	height: 40px;
	margin: 0px;
	border: none;
	padding: 0px 10px;
	background: var(--btn);
	color: var(--text);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	white-space: nowrap;
	font-family: Sans-Serif;
	font-size: 10pt;
}

.btn img {
	vertical-align: middle;
}

.radio-button {
	user-select: none;
	height: 40px;
	margin: 0px;
	border: none;
	padding: 1px 50px;
	background: var(--radio-btn);
	color: var(--text);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	white-space: nowrap;
	font-family: Sans-Serif;
	font-size: 10pt;
	box-sizing: border-box;
}

.radio-checked {
	background: var(--radio-checked);
	border: 2px solid var(--border);
	border-left: none;
	border-right: none;
}

.btn:hover {
	background: var(--btn-hover);
}

.btn:active {
	background: var(--btn-active);
}

.dropdown-content {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
	display: none;
	flex-direction: column;
	background: var(--dropdown);
	border: 3px solid var(--border);
	cursor: auto;
}

.editor-textarea {
	width: 100%;
	height: 100%;
	resize: none;
	outline: none;	
	font-size: larger;
	box-sizing: border-box;
	border: none;
	tab-size: 4;
	color: var(--text);
	padding: .5em;
}

#asm {
	height: 100%;
	width: 100%;
	box-sizing: border-box;

	tab-size: 4;
	font-family: monospace;
	font-size: larger;
}

#right-column {
	flex-flow: column;
	position: relative;
	padding-left: 8px;
}

#panel3 {
	flex-flow: row;
	position: relative;
	padding-top: 8px;
}

#hseparator {
	position: absolute;
	top: 0;
	left: 0;
	width: 8px;
	height: 100%;
	background-color: var(--separator);
	cursor: col-resize;	
	box-sizing: border-box;
}
#hseparator:hover {
	border: 1px dashed var(--border);
}

#vseparator {
	position: absolute;
	top: 0;
	left: 0;
	height: 8px;
	width: 100%;
	background-color: var(--separator);
	cursor: row-resize;	
	box-sizing: border-box;
}
#vseparator:hover {
	border: 1px dashed var(--border);
}

#bytes, #log, #asm {
    border: 3px solid var(--border);
}

#bytes {
	background: var(--bytes);
	color: var(--text);
}
#log {
	background: var(--log);
}

#base-address {
	border: none;
	padding: 5px;
	margin: 5px;
}

#help-dropdown-box {
	left: unset;
	right: 0;
	padding: 10px;
	background: var(--help-box);
}

#help-dropdown-box li {
	padding: 2px;
	font-size: medium;
}

#help-textarea {
	width: 500px;
	height: 300px;
	overflow: hidden;
	background: var(--help-box);
	border: none;
}

#arch-dropdown-box {
	min-width: 160px;
}

#examples-dropdown-box {
	min-width: 160px;
}

#panel2 {position: relative;}
#save-button {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

#popup {
	position: absolute;
	top: 30%;
	right: 30%;
	width: 40%;
	height: 40%;
	min-width: 500px;
	background: var(--popup);
	border: 2px solid var(--border);
	display: none;
	user-select: none;
	flex-flow: column;
}

.popup-content {
	overflow-y: auto;
}

.popup-bar {
	display: flex;
	background: var(--popup-bar);
}

.popup-title {
	display: flex;
	height: 40px;
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
	align-items: center;
	padding-left: 10px;
}

#copy-popup {
	position: absolute;
	top: 40%;
	right: 40%;
	width: 20%;
	height: 20%;
	background: var(--popup);
	border: 2px solid black;
	display: none;
	flex-flow: column;
}

#copy-popup textarea {
	outline: none;
	resize: none;
	border: none;
	width: 100%;
	box-sizing: border-box;
	flex: 1;
}

.right {
	display: flex;
	margin-left: auto;
}
