/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
.window {
  border:1px solid #346789;
  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;
  -moz-border-radius:0.5em;
  border-radius:0.5em;
  opacity:0.8;
  filter:alpha(opacity=80);
  width:140px; height:55px;
  line-height:5em;
  text-align:center;
  z-index:20; position:absolute;
  background-color:#eeeeef;
  color:black;
  font-family:helvetica;padding:0.0em;
  font-size:0.9em;
  vertical-align: middle;
  cursor: pointer;
}

.active-window {
  box-shadow: 2px 2px 8px rgb(0, 166, 90);
}

.inactive-window {
  box-shadow: 2px 2px 19px #aaa;
}

.window p {
  margin: 0px !important;
  line-height: 1.5em;
  font-size: 1.5em;
  display: inline-table;
}

.topology_root {
  background-color:rgba(0,170,0,0.4);
}

.topology_cs {
  background-color:rgba(0,100,0,0.10);
}

.topology_conn {
  background-color:rgba(100,200,200,0.08);
}

.topology_conn_errored {
  background-color:rgba(217,83,79,0.56);
}

.topology_res {
  background-color:rgba(250,230,0,0.09);
}

.window:hover {
  box-shadow: 2px 2px 19px #444;
  -o-box-shadow: 2px 2px 19px #444;
  -webkit-box-shadow: 2px 2px 19px #444;
  -moz-box-shadow: 2px 2px 19px #444;
  opacity:0.6;
  filter:alpha(opacity=60);
}

._jsPlumb_dragging { 
  z-index:4000;
}

#drawing ._jsPlumb_overlay.component.label{
  background-color: white;
  border: 1px solid #346789;
  border-radius: 0.5em 0.5em 0.5em 0.5em;
  color: black;
  font-size: 0.8em;
  opacity: 0.8;
  padding: 0.5em;
}

.aLabel {
  background-color:white; 
  padding:0.4em; 
  font:12px sans-serif; 
  color:#444;
  z-index:21;
  border:1px dotted gray;
  opacity:0.8;
  filter:alpha(opacity=80);
  cursor: pointer;
}
.aLabel._jsPlumb_hover {
  background-color:#5C96BC;
  color:white;	
  border:1px solid white;
}

div#topology {
  position: relative; 
  border: 0px; 
  height: 780px;
  overflow: hidden;
}

div#drawing {
  height: 5000px;
  width: 5000px;
  display: block;
  position: relative;
  top: -2490px;
  left: -2270px;
}

div#zoom {
  text-align: right;
  width: 100%;
  border: none;
  background: none;
  padding-top: 5px;
}

div#zoom .btn {
  padding : 0px;
}

div#zoom .fa{
  font-size: 2em;
  padding-right: 5px;
}

div.node-action-link {
  clear: both;
  display: block;
  height: 0px;
  padding: 3px 8px 0px 0px;
  position: absolute;
  right: 0;
  top: 0;
}

div.node-action-link .fa{
  font-size: 14px;
  display: block !important;
}

div.node-action-link .dropdown-menu{
  border-radius: 12px;
  min-width: 50px;
  width: 50px;
}

.window[data-original-title]:hover::after{
  border: 1px solid #BBB;
  padding: 5px 10px;
  background: #EEE;
  content: attr(data-original-title);
  position: relative;
  right: -5px;
  top:-70px;
  white-space: nowrap;
  text-align: center;
  height: 20px;
  margin: 0px;
  border-radius: 0.5em;
}

div#zoom ul.menu {
  list-style-type: none;  
  margin: 0;
  padding: 0;
}

div#zoom ul.menu li {
  display: inline-block;
}

div#zoom ul.menu li a {
  display: inline-block;
  margin-left: 5px;
}

