@font-face {
  font-family: 'Billy';
  src: url('/fonts/Billy.eot');
  src: url('/fonts/Billy.eot?#iefix') format('embedded-opentype'),
       url('/fonts/Billy.woff2') format('woff2'),
       url('/fonts/Billy.woff') format('woff'),
       url('/fonts/Billy.ttf') format('truetype'),
       url('/fonts/Billy.svg#Billy') format('svg');
  font-weight: 500;
  font-style: normal;
}

.billy-font {
  font-family: 'Billy';
  font-weight: 500;
  font-style: normal;
}


html, body {
  background-color: #494949;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}


#editor{
  background-color: #fff;
  width: 100%;
  height: 93%;
}

a.icon {
  font-family: 'LigatureSymbolFont';
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  content: 'a';
}

a.icon:hover {
  color: orange;
}

.hide {
  display: none;
}


header {
  height: 50px
}

header h1 {
  font-size: 1.4em;
  height: 1.8em;
  line-height: 2em;
  display: inline-block;
  padding: 0;
  margin: 2px 1em;
  color: #A6B8C4	;
}

nav, nav ul {
  display: inline-block;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 0.8em;
  margin-right: 1.5em;
}

nav ul li a:hover {
  color:orange;
}

nav ul, nav ul li {
  margin: 0;
  padding: 0;
}

nav ul li {
  height: 2em;
  line-height: 2em;
  display: inline-block;
  list-style-type: none;
}

.modal-header {
  margin: 1em;
}

.modal-header h1 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}

.modal-footer {
  text-align: right;
  margin: 1em;
}

.modal-body {
  margin: 1em;
  height: 200px;
}

.modal-body h1 {
  color: orange;
  font-size: 1em;
}
button {
  margin-left: 0.5em;
  cursor: pointer;
}

button.cancel {
  border: 1px solid white;
  background-color: #494949;
  padding: 0.5em 1em;
  color: white;
}

button.ok {
  border: 1px solid #7CADDF;
  background-color: #494949;
  color: #7CADDF;
  padding: 0.5em 1em;
}

button:hover {
  border: 1px solid orange;
  color: orange;
}

label {
  width: 100px;
  display: inline-block;
}

input[type="text"], select {
  display: inline-block;
  border: 1px solid white;
  background-color: #494949;
  color: white;
  padding: 0.2em;
}

input[type="text"] {
  width: 200px;
}

select {
  width: 206px;
}

.input-item {
  margin-bottom: 0.7em;
}

option {
  background-color: #494949;
}

#modal-open-file ul {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #393939;
}

.open-item:nth-child(even) {
background-color: #595959;
}
.open-item:hover, .open-item.selected {
background-color: orange;
color: #494949;
}
.open-item {
padding: 0.33em;
font-size: 0.8em;
background-color: dimGray;
cursor: pointer;
}

.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
}
.clearfix:after {
clear: both;
}
.hide-text {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.input-block-level {
display: block;
width: 100%;
min-height: 28px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.modal-open .dropdown-menu {
z-index: 2050;
}
.modal-open .dropdown.open {
*z-index: 2050;
}
.modal-open .popover {
z-index: 2060;
}
.modal-open .tooltip {
z-index: 2070;
}
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1040;
background-color: #000000;
}
.modal-backdrop.fade {
opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
opacity: 0.5;
filter: alpha(opacity=50);
}
.modal {
position: fixed;
top: 50%;
left: 50%;
z-index: 1050;
overflow: auto;
width: 560px;
margin: -250px 0 0 -280px;
background-color: #494949;
color: white;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;


}
.modal.fade {
-webkit-transition: opacity .3s linear, top .3s ease-out;
-moz-transition: opacity .3s linear, top .3s ease-out;
-ms-transition: opacity .3s linear, top .3s ease-out;
-o-transition: opacity .3s linear, top .3s ease-out;
transition: opacity .3s linear, top .3s ease-out;
top: -25%;
}
.modal.fade.in {
top: 50%;
}
.modal-header .close {
margin-top: 2px;
}
.modal-body {
overflow-y: auto;
max-height: 400px;
}

#current-file {
background-color: #222;
color: white;
font-size: 0.7em;
padding: 0.2em 0.4em;
}

nav ul:nth-child(1) {
position: absolute;
right: 0;
}

.version {
font-size: 0.1em;
}

::-webkit-scrollbar {
width: 12px;
}

::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}