/* BASICS */

.CodeMirror {
  /* Set height, width, borders, and global font properties here */
  font-family: monospace;
  height: 300px;
  color: black;
}

/* PADDING */

.CodeMirror-lines {
  font-size: .75rem;
  padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre {
  padding: 0 4px; /* Horizontal padding of content */
}

.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  background-color: white; /* The little square between H and V scrollbars */
}

/* GUTTER */

.CodeMirror-gutters {
  border-right: 1px solid #ddd;
  background-color: #f7f7f7;
  white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
  padding: 0 3px 0 5px;
  min-width: 20px;
  text-align: right;
  color: #999;
  white-space: nowrap;
}

.CodeMirror-guttermarker { color: black; }
.CodeMirror-guttermarker-subtle { color: #999; }

/* CURSOR */

.CodeMirror div.CodeMirror-cursor {
  border-left: 1px solid black;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
  border-left: 1px solid silver;
}
.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {
  width: auto;
  border: 0;
  background: #7e7;
}
.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {
  z-index: 1;
}

.cm-animate-fat-cursor {
  width: auto;
  border: 0;
  -webkit-animation: blink 1.06s steps(1) infinite;
  -moz-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
}
@-moz-keyframes blink {
  0% { background: #7e7; }
  50% { background: none; }
  100% { background: #7e7; }
}
@-webkit-keyframes blink {
  0% { background: #7e7; }
  50% { background: none; }
  100% { background: #7e7; }
}
@keyframes blink {
  0% { background: #7e7; }
  50% { background: none; }
  100% { background: #7e7; }
}

/* Can style cursor different in overwrite (non-insert) mode */
div.CodeMirror-overwrite div.CodeMirror-cursor {}

.cm-tab { display: inline-block; text-decoration: inherit; }

.CodeMirror-ruler {
  border-left: 1px solid #ccc;
  position: absolute;
}

/* DEFAULT THEME */

.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-property,
.cm-s-default .cm-operator {}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3 {color: #085;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}

.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-strikethrough {text-decoration: line-through;}

.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}

/* Default styles for common addons */

div.CodeMirror span.CodeMirror-matchingbracket {
	color: #3cf;
	font-weight: bold;
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
	color: #f22;
	font-weight: bold;
}
.CodeMirror-matchingtag {
	background: rgba(255, 150, 0, .3);
}
.CodeMirror-activeline-background {
	background: #e8f2ff;
}

/* STOP */

/* The rest of this file contains styles related to the mechanics of
   the editor. You probably shouldn't touch them. */

.CodeMirror {
  position: relative;
  overflow: hidden;
  background: white;
}

.CodeMirror-scroll {
  overflow: scroll !important; /* Things will break if this is overridden */
  /* 30px is the magic margin used to hide the element's real scrollbars */
  /* See overflow: hidden in .CodeMirror */
  margin-bottom: -30px; margin-right: -30px;
  padding-bottom: 30px;
  height: 100%;
  outline: none; /* Prevent dragging from highlighting the element */
  position: relative;
}
.CodeMirror-sizer {
  position: relative;
  border-right: 30px solid transparent;
}

/* The fake, visible scrollbars. Used to force redraw during scrolling
   before actuall scrolling happens, thus preventing shaking and
   flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  position: absolute;
  z-index: 6;
  display: none;
}
.CodeMirror-vscrollbar {
  right: 0; top: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}
.CodeMirror-hscrollbar {
  bottom: 0; left: 0;
  overflow-y: hidden;
  overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
  right: 0; bottom: 0;
}
.CodeMirror-gutter-filler {
  left: 0; bottom: 0;
}

.CodeMirror-gutters {
  position: absolute; left: 0; top: 0;
  z-index: 3;
}
.CodeMirror-gutter {
  white-space: normal;
  height: 100%;
  display: inline-block;
  margin-bottom: -30px;
  /* Hack to make IE7 behave */
  *zoom:1;
  *display:inline;
}
.CodeMirror-gutter-wrapper {
  position: absolute;
  z-index: 4;
  height: 100%;
}
.CodeMirror-gutter-elt {
  position: absolute;
  cursor: default;
  z-index: 4;
}
.CodeMirror-gutter-wrapper {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.CodeMirror-lines {
  cursor: text;
  min-height: 1px; /* prevents collapsing before first draw */
}
.CodeMirror pre {
  /* Reset some styles that the rest of the page might have set */
  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
  border-width: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  white-space: pre;
  word-wrap: normal;
  line-height: inherit;
  color: inherit;
  z-index: 2;
  position: relative;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}
.CodeMirror-wrap pre {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: normal;
}

.CodeMirror-linebackground {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 0;
}

.CodeMirror-linewidget {
  position: relative;
  z-index: 2;
  overflow: auto;
}

.CodeMirror-widget {}

.CodeMirror-code {
  outline: none;
}

/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.CodeMirror-measure {
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
.CodeMirror-measure pre { position: static; }

.CodeMirror div.CodeMirror-cursor {
  position: absolute;
  border-right: none;
  width: 0;
}

div.CodeMirror-cursors {
  visibility: hidden;
  position: relative;
  z-index: 3;
}
.CodeMirror-focused div.CodeMirror-cursors {
  visibility: visible;
}

.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-crosshair { cursor: crosshair; }
.CodeMirror ::selection { background: #d7d4f0; }
.CodeMirror ::-moz-selection { background: #d7d4f0; }

.cm-searching {
  background: #ffa;
  background: rgba(255, 255, 0, .4);
}

/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span { *vertical-align: text-bottom; }

/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }

@media print {
  /* Hide the cursor when printing */
  .CodeMirror div.CodeMirror-cursors {
    visibility: hidden;
  }
}

/* See issue #2901 */
.cm-tab-wrap-hack:after { content: ''; }

/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }

div.msgBox
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
    padding: 4px 10px 4px 10px;
    position: fixed;
    z-index: 1000;
    width: 430px;
    min-height:160px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0px 0px 11px #000000;
    -webkit-box-shadow: 0px 0px 11px #000000;
    box-shadow: 0px 0px 11px #000000;
	background: #333;
	border: 2px solid #000;
}

div.msgBoxBackGround
{
    top:0;
    left:0;
    position:absolute;
    padding:0;
    margin:0;
    width:100%;
    height:100%;
    background-color:#000;
    opacity:0.9;
    z-index:999;
}
div.msgBoxTitle
{
    padding:5px 0 5px 0;
    font-size:1.1em;
    color:#fff;
    width:100%;
    border-bottom : 1px solid #ddd;
}
div.msgBoxImage
{
    margin:20px 5px 0 5px;
    display:inline-block;
    float:left;
    height:48px;
    width:48px;
}
div.msgBoxImage img
{
    height:48px;
    width:48px;
}
div.msgBoxContent
{
    margin:0 3px 6px 3px;
    display:inline-block;
    float:left;
    height:90px;
    width:319px;
	color: #fff;
}
div.msgBoxContent p
{
    padding:0;
    margin:0;
    display: table;
    height: 100%;
    width: 100%;
}

div.msgBoxContent span 
{
    display: table-cell;
    vertical-align: middle;
}

div.msgBoxButtons
{
    display:inline-block;
    width:100%;
    text-align:right;
}
div.msgBoxButtons input[type='button']
{
    cursor:pointer;
    margin:2px;
    height:28px;
    width:90px;
    border:1px solid #AFAFAF;
    background-color:#662222;
    color:#FFFFFF;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
div.msgBoxButtons input[type='button']:hover
{
    background-color:#882222;
    color:White;
}
div.msgBoxButtons input[type='button']:active
{
    background-color:#AAAAAA;
    color:White;
}

div.msgBoxInputs
{
    margin:0 auto;
    padding-top:2px;
    padding-bottom:2px;
    margin-top:5px;
    width:195px;
}
div.msgInput input[type='text'],div.msgInput input[type='password']
{
    padding:4px;
    border:1px solid #DFDFDF;
    color:#2f2f2f;
    width:180px;
}
div.msgInput text
{
    color:#2f2f2f;
}
.treeview, .treeview ul { 
	padding: 0;
	margin: 0;
	list-style: none;
}

.treeview ul {
	background-color: white;
	margin-top: 4px;
}

.treeview .hitarea {
	background: url(/sc/img/treeview-default.gif) -64px -25px no-repeat;
	height: 16px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
	display: inline;
	float:none;
}

.treeview li { 
	margin: 0;
	padding: 1px 0pt 0px 16px;
}

.treeview a.selected {
	background-color: #eee;
}

#treecontrol { margin: 1em 0; display: none; }

.treeview .hover { color: red; cursor: pointer; }

.treeview li { background: url(/sc/img/treeview-default-line.gif) 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }

.treeview .expandable-hitarea { background-position: -80px -3px; }

.treeview li.last { background-position: 0 -1766px }
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(/sc/img/treeview-default.gif); }  
.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }

.treeview-red li { background-image: url(/sc/img/treeview-red-line.gif); }
.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(/sc/img/treeview-red.gif); } 

.treeview-black li { background-image: url(/sc/img/treeview-black-line.gif); }
.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(/sc/img/treeview-black.gif); }  

.treeview-gray li { background-image: url(/sc/img/treeview-gray-line.gif); }
.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(/sc/img/treeview-gray.gif); } 

.treeview-famfamfam li { background-image: url(/sc/img/treeview-famfamfam-line.gif); }
.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(/sc/img/treeview-famfamfam.gif); } 

.treeview .placeholder {
	background: url(/sc/img/ajax-loader.gif) 0 0 no-repeat;
	height: 16px;
	width: 16px;
	display: block;
}

.filetree li { padding: 2px 0 1px 16px; }
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
.filetree span.folder { background: url(/sc/img/folder.gif) 0 0 no-repeat; }
.filetree li.expandable span.folder { background: url(/sc/img/folder-closed.gif) 0 0 no-repeat; }
.filetree span.file { background: url(/sc/img/file.gif) 0 0 no-repeat; }
.cm-s-neat span.cm-comment { color: #a86; }
.cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; }
.cm-s-neat span.cm-string { color: #191; }
.cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; }
.cm-s-neat span.cm-command { line-height: 1em; font-weight: bold; color: #077; }
.cm-s-neat span.cm-lib { line-height: 1em; font-weight: bold; color: #077; }
.cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; }
.cm-s-neat span.cm-def { line-height: 1em; font-weight: bold; color: #0aa; }
.cm-s-neat span.cm-var { color: #d11; }
.cm-s-neat span.cm-var2, .cm-s-neat span.cm-variable-2 { color: #b11; }
.cm-s-neat span.cm-var3, .cm-s-neat span.cm-variable-3 { color: #ac13b9; }
.cm-s-neat span.cm-style { color: #909; }
.cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; }
.cm-s-neat span.cm-meta {color: #555;}
.cm-s-neat span.cm-link { color: #3a3; }
.cm-s-neat span.cm-tag { color: #3a3; }
.cm-s-neat span.cm-color,
.cm-s-neat span.cm-atom { color: teal; }
.cm-s-neat span.cm-error { font-weight: bold; color: #f33; }
.editor_area {
	font-family: monospace;
}
#sc3_container {
	padding: 0px;
}

.introsplash {
	position: absolute;
	left:0;
	right:0;
	margin-left: 80px;
	margin-right: 80px;
	padding: 16px;
/*	opacity:0.5; */
/*	filter:alpha(opacity=50); */ /* For IE8 and earlier */
	background-color: #444;
	color: #fff;
	z-index: 10;
	border: 3px solid #000;
	border-radius: 12px;
	text-align: center;
    -moz-box-shadow: 0px 0px 11px #000000;
    -webkit-box-shadow: 0px 0px 11px #000000;
    box-shadow: 0px 0px 11px #000000;
}
.introsplash a {
	color: #f66;
}

.splashreturn {
	background: #111;
	color: #fff;
	border: 1px dotted #f00;
	display: none;
	padding: 3px;
}

.splashreturn:hover {
	color: #f00;
}

.CodeMirror {
	z-index: 5;
	margin: 4px;
	border: 1px solid #444;
	height: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.quickstart {
	display: inline-block;
	text-align: right;
	color: #ccc;
	border: 1px dashed #aaa;
	background-color: #222;
	padding: 6px;
	margin: 6px;

	/* For IE 7 */
	zoom: 1;
	*display: inline-block;
}

.qs_item {
	margin-bottom: 4px;
	color: #fff;
	padding: 3px;
	border: 1px dotted #555;
	text-align: center;
	display: inline-block;
	/* For IE 7 */
	zoom: 1;
	*display: inline-block;
}
.qs_item:hover { color: #f00; border: 1px solid #ccc; background-color: #111; }
a.qs_item { color: #fff; }

.qsi {
	text-align: center;
	display: inline-block;
	width: 64px;
	height: 64px;
	border: 2px solid #888;
	border-radius: 8px;
}

.qsi_help { background: #444 url(/sc/img/qssprite.png) -256px 0px no-repeat; }
.qsi_hist { background: #444 url(/sc/img/qssprite.png) -192px 0px no-repeat; }
.qsi_edit { background: #444 url(/sc/img/qssprite.png) -128px 0px no-repeat; }
.qsi_open { background: #444 url(/sc/img/qssprite.png) -64px 0px no-repeat; }
.qsi_upload { background: #444 url(/sc/img/qssprite.png) 0px 0px no-repeat; }

.qs_div_submenus, .qs_div_subsubmenus {
	text-align: left;
	color: #ccc;
	border: 1px dotted #aaa;
	background-color: #222;
	padding: 6px;
	margin-top: 6px;
	margin-bottom: 6px;
	display: none;
}
.qs_div_subsubmenus {
	display: block;
}

.qs_div_submenus_hl {
	border: 1px dotted #fff;
}

.editor_action_header {
	/*height: 38px;*/
	padding: 2px;
	vertical-align: bottom;
}

.editor_action_select_container {
	/*height: 22px;*/
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: 0px;
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}

.sc3_interface_button_plain, .sc3_interface_button {
	display: inline-block;
	border: 1px solid #ccc;
	background-color: #444;
	color: #fff;
	border-radius: 0.25rem;
	padding: 3px;
	white-space: nowrap;
}

.sc3_interface_button a:link {
	color: #fff;
}

.sc3_interface_button:hover, .sc3_interface_button_plain:hover {
	color: #f00; border: 1px solid #fff; background-color: #111;
}

.sc3_interface_button_group {
	margin-top: 3px;
}

.main_sc3icon {
	width: 12px;
	height: 12px;
	display: inline-block;
	border: 0px;
}

.jstified_shutter {
	overflow: hidden;
	width: 100px;   
	z-index:6;
	flex: 0 0 auto;
}
.jstified_shutter_full {
	flex: 1 0 auto;
}

.jstified_container {
	/*width: 40px;*/
	overflow: hidden;
	z-index: 199;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	text-align: left;
	background-color: #eee;
	/*margin-left: 18px;*/
	top: 0px;
}

.gradient_edge {
	width: 50px;
	height: 100%;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 200;
	background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.5)));
	background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
	background: -o-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
	background: -ms-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
	background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#80000000',GradientType=1 );
}

.sc3_toperr {
	border: 2px solid #444;
	background: rgb(128, 20, 20);	/* fallback */
	background: rgba(128, 20, 20, 0.8);
	color: #fff;
	min-width: 200px;
	padding: 5px;
	margin: 4px;
	display: none;
}

.sc3_toperr_moreinfo {
	display: none;
}

#tokenize_result {
	border: 2px solid #444;
	color: #fff;
	min-width: 200px;
	padding: 5px;
	margin: 4px;
	display: none;
}

.tokenize_ok {
	background: rgb(20, 128, 20);	/* fallback */
	background: rgba(20, 128, 20, 0.8);
}

.tokenize_fail {
	background: rgb(128, 20, 20);	/* fallback */
	background: rgba(128, 20, 20, 0.8);
}

.edit_pane {
	width: 0;
	flex: 1 1 auto;
}


.editor_container {
	display: -webkit-flex;
	display: flex;
	height: 400px;
}

.editor_container_inner {
	width: 0;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 0;
	position: relative;
	height: 100%;
}

.token_pane {
	-webkit-flex: 0 1 auto;
	flex: 0 1 auto;
	width: 238px;  /* 358-100-20-2(-4?) */
	padding: 2px;
	margin-top: 4px;
	border: 0px;
	overflow-y: auto;
	overflow-x: auto;
	position: relative;
}

.token_tree {
	width: 236px;  /* 358-100-20-2 */
	margin: auto;
	border: 1px solid #666;
	background: #f8f8f8;
	font-family: "Courier New", monospace;
	overflow-y: auto;
	overflow-x: auto;
	position: absolute;
	top: 26px;
	bottom: 2px;
}

.token_search_container {
	margin-bottom: 3px;
}

#tokensearch {
	width: 232px;  /* 358-100-20-2 */
	margin: 0px;
	font-family: "Courier New", monospace;
}

.jstified_edge {
	width: 16px;
	background: #2a2a2a;
	border-left: 2px solid #000;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	/*position: absolute;*/
	/*left: 0px;
	top: 0px;*/
}

.jstified_edge2 {
	width: 16px;
	background: #2a2a2a;
	border-left: 2px solid #000;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
	/*position: absolute;*/
	display: none;
	/*top: 0px;
	left: 18px;*/
}

.jstified_pullopen {
	background-image: url('/sc/img/pullb_openhalf.png');
	background-repeat: no-repeat;
	background-position: center center;
	flex: 0 0 auto;
}

.jstified_pullfull {
	background-image: url('/sc/img/pullb_openfull.png');
	background-repeat: no-repeat;
	background-position: center center;
	flex: 0 0 auto;
}

.jstified_pullclose {
	background-image: url('/sc/img/pullb_close.png');
	background-repeat: no-repeat;
	background-position: center center;
	flex: 0 0 auto;
}

.jstified_edge:hover {
	border-left: 2px solid #f00;
	border-top: 2px solid #f00;
	border-bottom: 2px solid #f00;
}

.jstified_edge2:hover {
	border-left: 2px solid #f00;
	border-top: 2px solid #f00;
	border-bottom: 2px solid #f00;
}

#sc3_projects {
	white-space: nowrap;
	overflow-x: auto;
	vertical-align: top;
}

.proj_div {
	display: inline-block;
	vertical-align: top;
	padding-left: 6px;
	padding-right: 6px;
}

.proj_tr:hover { background-color: #400; color: #f00; }
.proj_list_odd { background: #303030; }
.proj_list_odd:active { background: #888; }
.proj_list_odd:hover { border: 1px solid #fff; }
.proj_list_even { background: #383838; }
.proj_list_even:active { background: #888; }
.proj_list_even:hover { border: 1px solid #fff; }

.proj_table {
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	cursor: pointer;
}
table.proj_table td {
	padding: 3px;
	margin: 1px;
}

.np_item {
	margin-bottom: 4px;
	color: #fff;
	padding: 3px;
	border: 1px dotted #555;
	text-align: center;
	display: inline-block;
	/* For IE 7 */
	zoom: 1;
	*display: inline-block;
}
.np_item:hover { color: #f00; border: 1px solid #ccc; background-color: #111; }
a.np_item { color: #fff; }

.np_icon {
	text-align: center;
	display: inline-block;
	border: 2px solid #888;
	border-radius: 8px;
	padding: 6px 15px 4px 4px;
}

.np_ti_icon {
	text-align: center;
	display: inline-block;
	border: 2px solid #888;
	border-radius: 8px;
	width: 36px;
	height: 40px;
	background-position: center center;
}
	
.np_ti_program { background: #444 url(/sc/img/smmicon_all.png) -1px -1px no-repeat; }
.np_ti_picture { background: #444 url(/sc/img/smmicon_all.png) -37px -1px no-repeat; }
.np_ti_matrix { background: #444 url(/sc/img/smmicon_all.png) -73px -1px no-repeat; }
.np_ti_list { background: #444 url(/sc/img/smmicon_all.png) -109px -1px no-repeat; }
.np_ti_appvar { background: #444 url(/sc/img/smmicon_all.png) -181px -1px no-repeat; }
.np_ti_number { background: #444 url(/sc/img/smmicon_all.png) -145px -1px no-repeat; }
.np_ti_project { background: #444 url(/sc/img/smmicon_all.png) -217px -1px no-repeat; }

.project_pane {
/*	width: 244px;  /* 358-100-20-2-12+20 */
	margin: 4px;
	padding: 2px;
	display: inline-block;
	border: 1px solid #333;
	background-color: #aaa;
}

.projpane_head {
	vertical-align: middle;
	display: inline-block;
}

.proj_proj {
	font-weight: bold;
}

.projpane_container {
	position: relative;
	white-space: nowrap;
	overflow-x: auto;
}

ul.projpane_contents {
	padding: 0px 6px;
	margin: 1px 4px 0px 4px;
	/*position: absolute;*/
	border: 0px;		/*1px solid #666;*/
	/*background: #333;*/
	/*top: -8px;*/
	list-style-type: none;
	white-space: nowrap;
}

li.projpane_item {
	margin-left: 4px;
	font-size: 0.9em;
	/*line-height: 2em;*/
	color: #000;
	vertical-align: middle;
	position: relative;
	cursor: default;
	/*display: inline-block;*/
	display: inline-block;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	border-color: #333;
	background-color: #d6d6d6;
	padding: 3px;
	z-index: 0;
}

.projpane_item > div {
	vertical-align: middle;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.projpane_item_flex, .projpane_item_new {
	align-self: flex-middle;
}
.projpane_item_new {
	padding: 0px 4px 0px 4px;
}

a.projpane_item { color: #fff; }
.projpane_item:hover { background-color: #400; color: #f00; }
.projpane_item.selected {
	z-index: 5;
	background-color: #eee;
}

.projpane_item_delete {
	margin-left: 0.3rem;
	margin-right: 0.3rem;
	height: 0.8rem;
	line-height: 0.8rem;
	width: 0.8rem;
	display: inline-block;
	cursor: pointer;
	border-radius: 3px;
	border: 1px solid maroon;
	background-color: maroon;
	color: white;
	text-align: center;
}
.projpane_item_delete:hover {
	background-color: red;
	border: 1px solid white;
}

#projpane_arrow_expand {
	color: #fff;
	display: none;
	position: absolute;
	right: 3px;
	font-weight: normal;
}

.picn {
	width: 16px;
	height: 18px;
	display: inline-block;
	margin-right: 6px;
	background-repeat: no-repeat;
	background-color: #444;
	background-image:url(/sc/img/smsicon_all.png);
}

.picn_trans {
	width: 16px;
	height: 18px;
	display: inline-block;
	margin-right: 6px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-image:url(/sc/img/smsicon_all.png);
}

.picn_program { background-position: -2px -2px; }
.picn_picture { background-position: -20px -2px; }
.picn_matrix { background-position: -38px -2px; }
.picn_list { background-position: -56px -2px; }
.picn_number { background-position: -74px -2px; }
.picn_project { background-position: -110px -2px; }
.picn_blank { background-position: -2px -22px; }

#editor_pics {
	display: none;
}

#editor_pics_fmts {
	list-style: none;
	padding: 0 0 0 0;
}

.editor_pics_fhead {
	background: #222;
	color: #fff;
	border: 1px solid #000;
	display: block;
	font-weight: bold;
	padding: 5px;
}

.editor_pics_fhead:hover {
	border: 1px solid #f00;
	cursor: pointer;
}

.editor_pics_fbody {
	display: none;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	background: #f0f0f0;
	padding: 4px;
}	

.epcode {
	width: 100%;
	height: 180px;
	font-size: 0.9em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.edlist_th {
	font-weight: bold;
	text-align: center;
}

.edlist_tidx {
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}

 .fancytextmono {
 	font-family: "Courier New", monospace;
}

 .numedit {
	border: 1px solid #333;
	font-family: "Courier New", monospace;
	background-color: #dfd;
}

#editor_matrix {
	overflow: auto;
}

#editor_list {
	overflow: auto;
}

.fancytext, .fancytextmono, .subtype, .varnames, .t-switch, #palette-chooser {
	display: inline-block;
	position: relative;
	margin: 0px;
	padding: 0px 2px 0px 2px;
	height: 20px;
	background: rgba(255, 255, 255, 0.60);
	border-radius: 3px;
	border: 1px solid #444;
	-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
}

#subtype_t, #subtype_c, #palette-chooser {
	height: 22px;
}

.varnames {
	font-family: "Courier New", monospace;
}

.textin_error {
	color: #c00;
}

.clk {
	cursor: pointer;
}

.input_bad {
	background-color: #fdd;
}

.input_badder {
	border: 1px solid #fff;
	background-color: #f00;
}

.drophandler {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	border: 1px dashed #bbb;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	text-align: center;
	vertical-align: middle;
	font-size: 3.0em;
	display: block;
	z-index: 9999;
}

.drophandlerinner {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    display: block;
}

.dropnotify {
	text-align: center;
	vertical-align: middle;
}

div.waitBox {
	display: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
    padding: 4px 10px 4px 10px;
    position: fixed;
    z-index: 1000;
    width: 430px;
    min-height:60px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0px 0px 11px #000000;
    -webkit-box-shadow: 0px 0px 11px #000000;
    box-shadow: 0px 0px 11px #000000;
	background: #333;
	border: 2px solid #000;
	vertical-align: middle;
	white-space: nowrap;
}

#waitbox_icon {
	width: 32px;
	height: 32px;
	display: inline-block;
	margin-right: 6px;
	vertical-align: middle;
}
#waitbox_text {
	max-width: 380px;
	display: inline-block;
	margin: 3px;
	padding-right: 10px;
	vertical-align: middle;
	color: #fff;
	white-space: normal;
}
.waitBoxSlow, #dimensions_warn {
	color: #CC4444;
	display: none;
}
.proj_delete {
	font-family: "Courier New", monospace;
	color: #CC2222;
}

.waitbox_icon_normal{ background: #333 url(/sc/img/spinwait.gif) 0px 0px no-repeat; }
.waitbox_icon_slow { background: #333 url(/sc/img/spinwait.gif) -32px 0px no-repeat; }

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

.editpane_container {
	z-index: 1;
	position: relative;
	top: -6px;
	background-color: #eee;
	padding: 3px;
	border: 1px solid #999;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0px 0px 8px #000000;
    -webkit-box-shadow: 0px 0px 8px #000000;
    box-shadow: 0px 0px 8px #000000;
	margin: 5px;
	overflow-x: auto;
}

#proj_buttons {
	 padding: 1px 8px 1px 8px;
	 margin: 0px 0px 3px 0px;
	 background-color: #999;
	 border-bottom: 2px solid #7b291b;
	 /*padding-bottom: 5px;*/
}

tr.edmat_table, td.edmat_table {
	vertical-align: middle;
}

.CodeMirror-focused .cm-matchhighlight {
	background-color: rgba(255, 0, 0, 0.1);
}

.CodeMirror-activeline-background {
	background: #e8f2ff;
}

.asm_output_outer {
	display: none;
	width: 100%;
}

.asm_output_outer_visible {
	display: -webkit-flex;
	display: flex;
}

.asm_output_inner {
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
	float: left;
	width: 1px;
	margin: 4px;
	border: 1px solid #000;
	overflow: auto;
	font-family: monospace;
	background: white;
	height: 16rem;
}

#asm_output_log > .error {
	background-color: #fcc;
}

#asm_output_log > .warning {
	background-color: #ffc;
}

#sc3_columns {
	width: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.sc3_column {
}

#qs_submenu_newproject {
	-webkit-justify-content: space-around;
	justify-content: space-around;
}

#qs_subsub_newchoose {
	white-space: nowrap; /* Don't let big new file options wrap this */
}.CodeMirror-completions {
	position: absolute;
	z-index: 10;
	overflow: hidden;
	-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	box-shadow: 2px 3px 5px rgba(0,0,0,.2);
}
.CodeMirror-completions select {
	background: #333;
	color: #fff;
	outline: none;
	border: none;
	padding: 0;
	margin: 0;
	font-family: monospace;
}

.CodeMirror-catalog {
	background: #333;
	color: #fff;
	position: absolute;
	z-index: 10;
	overflow: hidden;
	-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	max-width: 600px;
	padding-bottom: 12px;
}

.CodeMirror-catalog p{
	outline: 0;
	padding: 0.3em;
	margin: 1px;
	font: 1.0em monospace;
}

.closehint {
	position: absolute;
	right: 3px;
	bottom: 3px;
	font: 0.8em monospace;
	text-align: right;
	padding: 0 0.3em;
}

.CodeMirror-exporter {
	background: #333;
	color: #fff;
	position: absolute;
	z-index: 10;
	overflow: hidden;
	-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	max-width: 600px;
	padding: 5px;
}

textarea.CodeMirror-exporter-output {
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
	font: 1.0em monospace;
	overflow: scroll;
}

div.CodeMirror-exporter-output {
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
	font: 0.8em monospace;
	overflow: scroll;
}
.CodeMirror-spriter{
	position:absolute;
	z-index:10;
	-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	display: none;
	background: #333;
	color: #fff;
	vertical-align: top;
	padding-bottom: 12px;
}

.CodeMirror-spriter-spritecontainer {
	display: inline-block;
	overflow: auto;
	padding: 0px;
	margin: 0px;
}

.CodeMirror-spriter-sprite {
	display: block;
	max-width: 600px;
	padding: 4px;
}

.CodeMirror-spriter-sprite table{
	background-color: #9eab88;
	border-spacing: 1px;
	border-collapse: collapse;
}

.CodeMirror-spriter-sprite td{
	width: 6px;
	height: 6px;
	border: 1px solid #9eab88;
}

.CodeMirror-spriter-sprite table.color {
	background: #fff;
}

.CodeMirror-spriter-sprite table.color td{
	border: 1px solid #ddd;
}

.CodeMirror-spriter-sprite table.color td.trans { background: #000 url(/sc/img/transpalettes.png) 0px 0px no-repeat; }
.CodeMirror-spriter-sprite table.color td.repltrans { background: #000 url(/sc/img/transpalettes.png) -12px 0px no-repeat; }

#palette-choices input {
	display: none;
}

#palette-choices label{
	width: 12px;
	height: 12px;
	cursor: pointer;
	padding: 0px;
	margin: 1px;
	border: 2px solid #aaa;
	display: inline-block;
}
#palette-choices input:checked + label {
	border: 2px solid #fff;
}
#palette-choices label:hover {
	border: 2px solid #b02020;
}

#palette-choices label.trans { background: #000 url(/sc/img/transpalettes.png) 0px 0px no-repeat; }
#palette-choices label.repltrans { background: #000 url(/sc/img/transpalettes.png) -12px 0px no-repeat; }

#palette-chooser {
	display: block;
}

.CodeMirror-spriter-options {
	display: inline-block;
	max-width: 120px;
	padding: 4px;
	vertical-align: top;
}

.CodeMirror-spriter-dimensions {
	max-width: 200px;
	vertical-align: middle;
	padding: 4px;
}

.CodeMirror-spriter-dimensions div {
	display: block;
	float: left;
	margin: 2px;
}

.CodeMirror-spriter-dimensions div.dimensions {
	border: 1px solid #ccc;
	padding: 2px;
}

.spriterdim::-webkit-input-placeholder { /* WebKit browsers */
    color:    #844;
	text-align: right;
}
.spriterdim:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #844;
	text-align: right;
}
.spriterdim::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #844;
	text-align: right;
}
.spriterdim:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #844;
	text-align: right;
}
.dimensions div {
	text-align: center;
}.t-switch {
	vertical-align: middle;
}

.t-switch-label {
	position: relative;
	z-index: 2;
	float: left;
	width: 73px;
	line-height: 20px;
	color: #000;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
	font-size: 0.9em;
}

.t-switch-label-off {
	color: #070;
}

.t-switch-label-on {
	color: #700;
}

.t-switch-input {
	display: none;
}

.t-switch-maroon .t-switch-selection {
  background: #6a0a0d;
  background-image: -webkit-linear-gradient(top, #6a0a0d, #a60013);
  background-image: -moz-linear-gradient(top, #6a0a0d, #a60013);
  background-image: -o-linear-gradient(top, #6a0a0d, #a60013);
  background-image: linear-gradient(to bottom, #6a0a0d, #a60013);
}

.t-switch-input:checked + .t-switch-label {
	opacity: 0;
	width: 0px;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.t-switch-input:not(:checked) + .t-switch-label {
	opacity: 1;
	display: inline-block;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}