html {
	height:100%;
	max-height:100%;
	background-color:#b3bd74;
	font:16px Arial, Helvetica;
}

body {
	position:absolute;
	top:0;
	bottom:0;
	right:0;
	left:0;
	display:flex;
	flex-direction:column;
}

a, a:active, a:visited,a:hover {
	outline:0;
	cursor:pointer;
	text-decoration: none;
}

li {
	list-style:none;
}

#header {
	display:flex;
	flex-grow:0;
	justify-content: space-between;
	width:100%;
}

.logo {
	flex:0 0 auto;
}

.menuArea {
	flex:1 1 auto;
	margin:0 auto;
	padding:0;
}

.title h2 {
	margin:0 auto;
	text-align:center;
}

.menuBlock {
	display:flex;
	flex-direction:column;
}

.menuBlock ul {
	list-style:none;
	display:flex;
	flex-direction:row;
	justify-content:flex-start;
	margin:3px 0 0 0;
}

.textMenu {
}

.textMenu li{
	margin-right:10px;
}

.textMenu a, .textMenu a:visited, .textMenu a:active {
	text-decoration:none;
	color:black;
}

.textMenu a:hover {
	color:#eaeaea;
}

.iconMenu {
	margin-top:5px;
}

.iconMenu li {
	margin-right:10px;
}

#pageBody {
	display:flex;
	flex-direction:column;
	flex:1 1 auto;
}

#projectsBlock {
	flex:10 10 auto;
	display:flex;
	flex-direction:column;
}

.projectArea {
	display:flex;
	flex:1 1 auto;
	height:100%;
	max-height:100%;
}

.left {
	display:flex;
	flex-direction:column;
	flex:1 1 auto;
	width:20%;
//	background-color:#00ffff;
//	height:100%;
}

#libraries, #files {
	flex:1 1 auto;
	border: 1px solid #222;
	background-color: #111;
	background-image: linear-gradient(#444, #111);
	border-radius: 6px;
	box-shadow: 0 1px 1px #777;
	
	position:relative;
}

#libraries {
//	margin-bottom:20px;
}

#files {
	margin-top:10px;
}

#libraries .listHeader, #files .listHeader {
	display:block;
	font-size:20px;
	text-align:center;
	width:100%;
	color:#fff;
}

.vertList {
	list-style: none;
	padding: 0 0 0 5px;

	max-width:250px;

	margin: 0 auto;
//  margin-right:5px;

	border: 1px solid #222;
//	background-color: #111;
//	background-image: linear-gradient(#444, #111);
	border-radius: 6px;
//	box-shadow: 0 1px 1px #777;
	
	overflow:hidden;
	overflow-y:auto;
	
	position:absolute;
	top:20px;
	bottom:0;
	left:0;
	right:0;
}

.vertList:before {
	content: "";
	display: table;
}

.vertList:after {
	clear: both;
}

.vertList li {
 	display:block;
 	clear:both;
	border-right: 1px solid #222;
	box-shadow: 1px 0 0 #444;
	position: relative;
}

.vertList li a {
	text-decoration: none;

	display:block;
	padding: 8px 12px;
	color: #999;
	font: 16px Arial, Helvetica;
	text-shadow: 0 1px 0 #000;
}

.vertList li.current a {
	text-shadow: 0 1px 0 #000;
	color: #fafafa;
}

.vertList li div {
	display:table-cell;
	vertical-align:middle;
}

.right {
	display:flex;
	flex-direction:column;
	flex:1 1 auto;
	margin:0 auto;
	width:100%;
//	height:100%;
//	margin-left:10px;
}

.horizontalTabBar {
	flex-grow:0;
}

.horizontalTabBar > ul{
	list-style: none;
	margin:0 0 0 1px;
	padding: 0;
	line-height: 24px;
	height: 26px;
	overflow: hidden;
	font-size: 12px;
	font-family: verdana;
	position: relative;
}

.horizontalTabBar > ul li {
	border: 1px solid #AAA;
	background: #D1D1D1;
	background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
	background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
	background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
	background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
	background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
	display: inline-block;
	position: relative;
	z-index: 0;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
	text-shadow: 0 1px #FFF;
	margin: 0 -5px;
}

.horizontalTabBar > ul li .tab,
.horizontalTabBar > ul li .tab:active,
.horizontalTabBar > ul li .tab:visited {
	color: #555;
	text-decoration: none;
	display:inline-block;
	
	padding-left:10px;
	padding-right:10px;
	outline:0;
}

.horizontalTabBar > ul li .close, 
.horizontalTabBar > ul li .close:active, 
.horizontalTabBar > ul li .close:visited {
	color: red;
	text-align:right;
	padding-right:10px;
	text-decoration: none;
	display:inline-block;
	
	height:10px;
	line-height:10px;
	vertical-align:top;
	top:0;
	right:0;
	outline:0;
}

.horizontalTabBar > ul li.current {
	background: #FFF;
	color: #333;
	z-index: 2;
	border-bottom-color: #FFF;
}

.horizontalTabBar > ul:before {
	position: absolute;
	content: " ";
	width: 100%;
	bottom: 0;
	left: 0;
	border-bottom: 1px solid #AAA;
	z-index: 1;
}

.horizontalTabBar > ul li:before,
.horizontalTabBar > ul li:after {
	border: 1px solid #AAA;
	position: absolute;
	bottom: -1px;
	width: 5px;
	height: 5px;
	content: " ";
}

.horizontalTabBar > ul li:before {
	left: -6px;
	border-bottom-right-radius: 6px;
	border-width: 0 1px 1px 0;
	box-shadow: 2px 2px 0 #D1D1D1;
}

.horizontalTabBar > ul li:after {
	right: -6px;
	border-bottom-left-radius: 6px;
	border-width: 0 0 1px 1px;
	box-shadow: -2px 2px 0 #D1D1D1;
}

.horizontalTabBar > ul li.current:before {
	box-shadow: 2px 2px 0 #FFF;
}

.horizontalTabBar > ul li.current:after {
	box-shadow: -2px 2px 0 #FFF;
}

/* remove small line on projects tab bottom */
.projectsTab::before {
	border-bottom:0 !important;
}


.codeArea {
	flex:1 1 auto;
	margin-top:0;
	height:100%;
	position:relative;
}

.CodeMirror {
	flex:1 1 auto;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	height:100%;
}

.CodeMirror-sizer {
//	min-height:0 !important;
}

.messageTabArea {
	display:flex;
	justify-content: space-between;
}

.ramIndicatorArea {
	display:flex;
	vertical-align:middle;
}

.ramLabel {
	margin-right:5px;
	margin-top:3px;
}

.ramValue {
	width:100px;
	max-width:100px;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;

	border: 1px solid rgba(255,255,255,0.6);
//	background: linear-gradient(#eee, #fff);
	background-color:white;
//	transition: all 0.3s ease-out;
	box-shadow: inset 0 1px 4px rgba(0,0,0,0.4);
	padding: 4px 2px 2px 4px;
	color: #555;
	margin-bottom:2px;
	margin-top:0px;
}

#messageArea {
	flex:1 1 auto;
	margin-top:10px;
	height:25%;
	display:flex;
	flex-direction:column;
}

#messageContainer {
	background-color:black;
	flex:1 1 auto;
	overflow:auto;
}

@media screen and (-webkit-min-device-pixel-ratio:0) { 
#messageContainer {
	height:32px;
}
}

#terminal {
	height:100%;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
#terminal {
	height:100px;
}
}

.dialogList {
	font-size:16px;
//	line-height:24px;
}
.dialogList li {
	padding-top:4px;
	padding-bottom:4px;
}

.dialogList a {
	display:block;
}

.dialogList a:hover {
	background-color:#eeeeee;
}

.dialogList a div {
	word-break:break-none;
	white-space:nowrap;
}


.dialogList img {
	vertical-align:middle;
}

.dialogList {
	position:relative;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

.dialogList li {
	flex-grow:0;
	flex-shrink:0;
	margin-right:10px;
}

.dialogList li a {
	overflow:hidden;
	text-overflow:ellipsis;
	white-spaces:nowrap;
}

.dialogList li div {
	display:table-cell;
	vertical-align:middle;
}

.dialogListHeader, .dialogInputLabel {
	font-weight:bold;
}

.dialogInputBlock {
	position:absolute;
	bottom:0;
	display:block;
}

.libraryDepsList {
	font-size:16px;
	position:relative;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

.libraryDepsList div {
}

.libraryDepsList img {
	vertical-align:middle;
}

.libraryDepsList input {
	vertical-align:middle;
}
