@charset "UTF-8";

.ramarea {
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;

}

.bordered {
	border: 1px solid #CCCCCC;
	border-right-color: #999999;
	border-bottom-color: #999999;
}

.border-bottom {
	border-bottom: 1px solid #999999;	
}


#ramselect { 
 	margin-bottom: 5px;
	width: 100%;
}

#ramelts {
	height: auto;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	width: 100%;
	margin-top: 6px;
}

#ramdoc {
	overflow-y: scroll;
	overflow-x: hidden;
	height: 50%;
 	width: 100%;
}

#rambody {
	padding-top: 14px;
	padding-bottom: 6px;
	height: 50%;
	width: 100%;
	background-color: #ffffff;
}

.ramtab {
	width: 100%;
}

.ramtd {
  padding-left: 2px;
  padding-right: 2px;
  width: 45px;
}

.rambut {
  margin-left: 12px;	
}

.ramlabenabled {
	color: black;
}

.ramlabdisabled {
	color: lightgray;
}

.ram-textarea {
	font-size: 10px;
	padding: 5px;
	margin-left: -10px;
	margin-right: -10px;
}

#rambody .CodeMirror {
	width: 100% !important;
	min-width: 400px;
	box-sizing: border-box;
}

#rambody .CodeMirror.ram-cm-resizable {
	resize: vertical;
	overflow: auto;
	min-height: 120px;
	max-height: 72vh;
	border: 1px solid #cccccc;
	border-right-color: #999999;
	border-bottom-color: #999999;
}

#ramdocEditWrap {
	margin-top: 4px;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

#ramLayoutBar {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 2px 0 6px 0;
}

#ramLayoutBar label {
	font-size: 11px;
	margin-left: 6px;
}

#ramLayoutBar select {
	font-size: 11px;
	padding: 1px 4px;
}

#ramLayoutBar button {
	font-size: 11px;
	padding: 1px 8px;
	cursor: pointer;
}

#ramdocEditButton {
	margin-left: auto;
}

#ramdocEditorArea {
	display: none;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	flex-direction: column;
	box-sizing: border-box;
	margin-top: 4px;
}

#ramdocEditorText {
	display: none;
}

#ramdocEditorArea .CodeMirror {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	font-size: 11pt;
	font-family: monospace;
	border: 1px solid #CCCCCC;
}

.ramdoc-editor-controls {
	display: flex;
	order: -1;
	gap: 0.4rem;
	justify-content: flex-end;
	padding: 4px 0;
}

.ramdoc-editor-controls button {
	font-size: 0.85rem;
	padding: 0.25rem 0.8rem;
	cursor: pointer;
}

