html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #c0c0c0;
  font-family: sans-serif;
  overflow: hidden;
}

h1 {
  font-weight: normal;
  font-size: 140%;
}

#topLevel nav#topMenu{
	background-color:#c0c0c0;
	height:52px;
	/*note: codeView panel relies on this number to position itself.
			In the future, correct it to avoid hardcoding numbers*/
}
#topLevel {
  height:100%;
  display: flex;
  flex-direction: column;
}

#topMenu .item::before{
  background-color:rgba(255,255,255,.3);
}

#mainContent[titlebar=false] {
  /*height:  100%;*/
  z-index: 2;
}

.signamelabel {
  width:155px;
  height:36px;
  margin-left:4px !important;
  padding-left:20px !important;
  text-transform: uppercase;
	background-color:rgb(224, 225, 226) !important;
  font-weight: 700;
  color: rgba(0,0,0,.6) !important;
}

.codenamelabel {
  width:155px;
  height:36px;
  padding-left:20px !important;
  text-transform: uppercase;
	background-color:rgb(224, 225, 226) !important;
  font-weight: 700;
  color: rgba(0,0,0,.6) !important;
}

.signamelabel:focus, .codenamelabel:focus {
	background-color:rgb(192, 250, 205) !important;
}

.codevalue:focus {
	background-color:rgb(192, 250, 205) !important;
}

.item.invisible {
  margin: 0px;
  padding: 0px;
  border: 0px;
  width: 0px;
  display: none;
  visibility: hidden;
}
.ui.label {
  display: flex;
  align-items: center;
}

.ui.button.sigrangeslider {
  margin-left: 5px;
	background-color:#e0e1e2 !important;
}

.ui.button.sigrangevalue {
  width: 105px;
  margin-left: 5px;
  margin-right: 50px;
}

.ui.icon.blue.button {
  /*height: 38px;*/
  padding-top: 8px !important;
}
.ui.icon.green.button {
  /*height: 38px;*/
  padding-top: 8px !important;
}

.ui.dimmer{
	background-color:rgba(0,0,0,.6) !important;
}

.ui.inverted.menu .item {
  color: rgba(255,255,255,1);  
}
.ui.inverted.menu .right.menu .item {
  padding-left: 0px;
}
.ui.bottom.tabular.menu .item {
  color: rgb(255, 255, 255);
  background: #50505050;
}
.ui.bottom.tabular.menu .active.item {
  color: rgb(255, 255, 255);
  background: #808080;
  border: 0;
}
.ui.top.attached.tab {
  background: #808080;
  margin-top: 0px;
  height:383px;
  border: 0;
}
/* this controls background highlight color when clicked */
.ui.link.inverted.menu .item:hover,
.ui.link.inverted.menu .dropdown.item:hover,
.ui.inverted.menu .dropdown.item:hover,
.ui.inverted.menu .link.item:hover:not(.disabled),
.ui.inverted.menu a.item:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.0); 
  color: #00FF00 !important;
}

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

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.clrsigbutton:hover {
  background: #FF7070 !important; 
}
.setsigbutton {
  width: 75px;  
}
.ccsigbutton {
  width: 120px;
}
.ui.circular.button {
  height: 1em;
  width: 1em;
}

.icon.codedelete {
  margin-left:-1.2em;
  color: #C0C0C0;
}
.icon.codedelete:hover {
  color: #FF7070;
  -webkit-transform: scale(1.3);
  -webkit-transition:
  color 0.6s ease,
  transform 0.2s ease
  ;
}

#ctrldiv {
  position:absolute;
  left: 644px;
  width:calc(100% - 644px ); 
  background: #505050;
  float:left;
  height: 428px;
  padding-top:0px;
  padding-left:0px;
  border:2px solid #000000;
}

.ui.mini.buttons.ctla .button {
  width: 60px;
  font-size: 0.7rem;
  margin: 0px;
  padding-top: 6px;
  padding-bottom: 6px;
  color: rgba(255,255,255,0.8);
  box-shadow: 0px 0px 0px 2px rgba(255,255,255,0.8) inset !important;
}
.ui.mini.buttons.ctla .button:hover {
  background-color: #2185D0;
}

.ui.dimmer{
	background-color:rgba(0,0,0,.6) !important;
}

.ui.small.modal#prompt {
  width:  520px;
  margin: 0em 0em 0em -260px;
	border: 1px solid #ccc;
	background-color:rgba(20,50,20,.8) !important;
	font-size:1.5em;
  text-align: center;
}
.ui.modal#prompt input[type=text]{
	padding: 8px 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
}
.ui.small.modal#error1 {
  width:  520px;
  margin: 0em 0em 0em -260px;
	border: 1px solid #c00;
	background-color:rgba(50,20,20,.8) !important;
	font-size:1.2em;
  text-align: center;
}
.ui.small.modal#oops1 {
  width:  520px;
  margin: 0em 0em 0em -260px;
	border: 1px solid #0000cc;
	background-color:rgba(20, 20, 50, 0.8) !important;
	font-size:1.2em;
  text-align: center;
}
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
