/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(20, 20,20, 0.7); 
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(51, 170, 51, 0.4); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(51, 170, 51, 0.8); 
}

html {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

body {
  margin: 0;
  padding: 0;
}

#game {
  width: 1200px;
}

#debug {
  font-family: monospace, monospace;
  position: absolute;
  left: 0;
  top: 0;
  height: 100px;
  width: 10em;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1em;
  color: #3a3;  
}

#console {
  height: 110px;  
  width: 33%;
  border-left: 1px solid #222;
  position: absolute;
  right: 0;
  bottom: 0;
  overflow: auto;
  font-family: monospace, monospace;
  color: #3a3;
  font-size: 0.8em;
}

/* #console::-webkit-scrollbar {
  height: 0;
  width: 0;
} */
.border-left {
  border-left: 1px solid #222;  
}

.status-icon img {
  width: 35px;
  opacity: 1.0;
}
#console ul {
  list-style-type: none;  
  margin: 0;
  padding: 0;

}

#console ul li {
  padding-left: 0;
  margin-left: 0;  
}

#ngnTitle {
  border: 1px solid #222;
  position: absolute;
  padding: 1em;
  font-family: monospace, monospace;
  background-color: rgba(0, 0, 0, 0.7);
  color: #3a3;
  top: 0;
  right: 0;
  padding: 2em;
  text-align: center;
  font-size: 1.8em;
}

#bottomBar {
  padding: 1em;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  border-top: 1px solid #222;  
  height: 120px;
  /* margin: auto; */
  background-color: rgba(0, 0, 0, 0.7);  
}

#statusBar {
  height: 60px;
  float: left;
  padding-left: 1em;
  padding-right: 1em;
}

.meter-icon {
  float: left;
}

.meter-value {  
  color: #fff;
  font-family: monospace, monospace;
  font-weight: bolder;
}

.meter-icon img {  
  height: 20px;
}

.meter {
  width: 90%;
}
.meter > span {
  margin-left: 25px;
  margin-right: 25px;
  display: block;
  height: 20px;
  /* margin-bottom: 1em; */
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color:#3a3;
  background-image: linear-gradient(
    center bottom,
    #3a3 37%,
    rgb(84,240,84) 69%
  );
  box-shadow: 
    inset 0 2px 9px  rgba(255,255,255,0.3),
    inset 0 -2px 6px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.blue > span {
  background-color: #4444FF;
  background-image: linear-gradient(to bottom, #4444FF, #5555FF);
}

.no-left-padding {
  padding-left: 0 !important;;
}

.no-right-padding {
  padding-right: 0 !important;;
}

/* Dialog boxes */

#ngn-editor-dialog button {
  background-color: #000;
  color: #3a3;
  border: 1px solid #3a3;
  padding: 1.0em;
  font-size: 0.9em;
  padding-bottom:  0.5em;
  padding-top:  0.5em;
}

#ngn-editor-dialog button:hover {
  background-color: #111;
}

#ngn-editor-dialog {
  padding: 2em;
  position: absolute; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 10em;
  right: 10em;
  top: 5em;  
  height: 70%;
  background-color: rgba(0, 0, 0, 0.6);  
  border: 2px solid #333;
}

#ngn-editor-dialog h1 {
  font-family: monospace, monospace;
  color: #3a3;
  font-size: 2.0em;
  margin-bottom: 0.5em;
  margin-left: -0.3em;
}

.ngn-editor {
  position: absolute;
  top: 7em;
  left: 2em;
  right: 2em;
  bottom: 5em;
  border: 1px solid rgba(100, 255, 100, 0.5);
  font-family: monospace, monospace;
  background-color: rgba(0, 0, 0, 0.4);
}

#ngn-editor-dialog .footer {
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  height: 3em;
  bottom: 0;
  right: 1.5em;
  padding:  0;
  margin:  0;
}

/* The Modal (background) */
.ngn-modal {
  font-family: monospace, monospace;
  position: absolute; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
}

/* Modal Content/Box */
.ngn-modal-content {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 10%;
  height: 60%;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */  
  background-color: #000;
  background-color: rgba(0,0, 0, 0.95);
  color: #3a3;
}

/* The Close Button */
.ngn-close {
  color: #aaa;
  float: right;
  font-size: 2em;
  font-weight: bold;
  line-height: 2em;
}

.tab-content {
  padding-left: 2em;
  padding-right: 2em;
  height: 70%;
  overflow-y: auto !important;
}

.ngn-modal-content h2 {
 font-size: 2em;
 float: left;
 font-weight: bold;
 margin-bottom: 0.5em;
}

div.tab-content h2 {
  display: block;
  float: none;
}

.ngn-modal-content h3 {
  font-size: 1.5em;
  font-weight: bold;
 }

 .ngn-modal-content h4 {
  font-size: 1.1em;
  font-weight: bold;
 } 

.ngn-modal-content hr {
  clear: both;
  height: 1px;
  border-top: 1px solid #3a3;
  color: #3a3;
}

.ngn-close:hover,
.ngn-.close:focus {
  color: #3a3;
  text-decoration: none;
  cursor: pointer;
}

.ngn-modal-content .tabs ul li a {
  color: #3a3;
}

/* Selected modal tab */
.tabs li.is-active a {
  border-bottom-color: #3a3 !important;
}

.clear {
  clear: both;
}