div#main {
  height: 530px;
  position: relative;
}

div#main .page-action {
  position: absolute;
  top: 0;
  right: 0;
}
div#main .page-action i {
  cursor: pointer;
}

.window { 
  border:0.1em solid #d4e06b; 
  width:14em; height:4em; 
  z-index:20; 
  position:absolute; 
  font-size:0.9em;
  text-align:center;
  line-height: 4em;
  background-color:white;
}
.window.disabled {
  border:0.1em solid #eee; 
  color: #CCC;
}
.window.disabled a {
  color: #CCC;
}
.window.disabled:hover, .window.disabled a:hover { 
  color: #BBB;
}
.window, .label { 
  background-color:white;
  text-align:center;
  z-index:23;
  box-shadow: 2px 2px 19px #aaa;
   -o-box-shadow: 2px 2px 19px #aaa;
   -webkit-box-shadow: 2px 2px 19px #aaa;
   -moz-box-shadow: 2px 2px 19px #aaa;
}
.window a:hover {
  text-decoration: none;
}

.top-box {
  font-weight: bold;
  position: relative;
  top:-7em;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}
.bottom-box {
  position: relative;
  text-align: left;
  line-height: 2em;
  padding-top: 1em;
  width: 200px;
}

.bottom-box .progress {
  height: 10px;
  margin-bottom: 5px;
}
.action {
  display: none;
}
.item:hover > .action {
  display: inline;
}

div.alert-error-log {
  padding: 8px 14px;
}
div#error-log-div pre.log-pre-div {
  height: 250px !important; 
  margin-bottom: 10px !important;
}

#d-mail-service { left:25em; top:15em;}
#d-scanner { left:25em;top:0em;}
#d-gateway { left:0em;top:15em;}
#d-fto { right:0em;top:15em;}
#d-mail-queue { left:7em;top:30em;}
#d-services { right:10em;top:30em;}

#mq_incoming { left: 7em; top: 0em; }
#mq_working { right: 7em; top: 0em; }
#mq_hold { left: 7em; top: 15em; }
#mq_deferred { right: 7em; top: 15em; }

.mq-state {
  font-size: 1.1em;
  padding-top: 2.5em;
  line-height: 1.5em;
  height: 6em;
  display: block;
}

svg.mq-command-connection  {
  cursor: pointer;
}

.mq-chart.disabled svg.mq-command-connection {
  cursor: default;
}

.mq-connection-label {
  font-size: 0.9em;
}

.mq-command-label {
  font-size: 0.9em;
  cursor: pointer;
}

.mq-chart.disabled .mq-command-label {
  cursor: default;
}

/* z index stuff */

._jsPlumb_connector { z-index:18; }
._jsPlumb_endpoint { z-index:19; }
._jsPlumb_overlay { z-index:23; }

._jsPlumb_connector._jsPlumb_hover {
  z-index:21 !important;
}

._jsPlumb_endpoint._jsPlumb_hover {
  z-index:22 !important;
}

.disabled-link {
  pointer-events: none;
  cursor: default;
}