/*
 *  Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *  WSO2 Inc. 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.
 *
 */

body {
    margin: 0;
    padding: 0;
    background-color: #222222;
    font-family: 'Roboto', sans-serif;
}

.form {
    z-index: 15;
    position: relative;
    background: #303030;
    width: 600px;
    border-radius: 4px;
    box-shadow: 0 0 30px;
    box-sizing: border-box;
    margin: 60px auto 10px;
    overflow: hidden;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 20px;
}

.form-panel {
    padding: 60px calc(5% + 60px) 60px 60px;
    box-sizing: border-box;
}

.grid-tile-h1 {
    color: rgba(255,255,255,0.87);
    text-align: center;
}

.floating-button {
    position: fixed;
    right: 100px;
}

.navigation-bar{
    width: 100%;
    background-color: #424242;
}

.toggle{
    float: left;
    width: 10%;
    margin-left: 3%;
}

.active-apps {
    color: green;
    display: inline;
}

.inactive-apps {
    color: red;
    display: inline;
}

.grid-list {
    width: 90%;
    height: 100%;
    overflow-y: auto;
    padding: 40px;
}

.grid-tile {
    width: 100%;
    height: 700px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.grid-root {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.worker-h1 {
    color: #dedede;
    text-align: left;
    display: inline-block;
}

.overlay{
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%)
}
.container:hover .overlay {
    opacity: 1;
}

.info-card{
    background-color: #2f96b4;
    width: 40%;
    height: 50px;
    margin-left: 30%;
    text-align: center;
    margin-top: 50px;
}

.add-button{
    background-color: #9d9d9d;
    width: 15%;
    height: 50px;
    margin-left: 43%;
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}
.add-button-disabled{
    background-color: #222222;
    width: 20%;
    height: 50px;
    margin-left: 40%;
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}
.worker-tooltip {
    position: relative;
    display: inline-block;
}

.worker-tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: white;
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

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

.deployed-apps-details {
    color: white;
    display: inline;
}

/*style sheet for kafka flow diagram*/

.node rect {
    stroke: #bbb;
    fill: #333;
    stroke-width: 2px;
    height: 60px;
}

.node-content {height: 50px;
    line-height: 30px;
}

.indicator {
    height: 58px;
    width: 15px;
    float: left;
    margin: 1px 20px 1px 1px;
    background-color: blue
}

.nodeLabel {
    font-size: 1em;
    color: #fff;
    margin-right: 10px;
    font-weight: 500;
    display: inline-block;
}

.hostPort {
    font-size: 1em;
    color: #696969;
    font-weight: 400;
    display: block;
}

.nodes .label {
    text-align: left;
    width: 500px;
}

.edgePath path {
    stroke: #bbb;
    stroke-width: 2px;
    fill: none;
}

.topic-indicator {
    height: 60px;
    width: 15px;
    float: left;
    margin: 1px 40px 1px 1px;
    background-color: red
}
