/*
 *  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.57);
    text-align: center;
}

.grid-tile-h1 h4 {
    font-weight: 500;
}

.floating-button {
    position: fixed;
    right: 100px;
    z-index: 9;
    bottom: 25px;
}

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

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

.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 !important;
    width: 40%;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card svg {
    padding-right: 10px;
}

.add-button:hover {
    background-color: #4e4e4e !important;
}

.add-button-disabled{
    background-color: #222222;
    text-align: center;
    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;
}

.btn-primary {
    background: #f17b31 !important;
    color: #fff !important;
    margin-right: 10px !important;
}

.btn-primary:hover {
    background: #4e4e4e !important;
}

.btn-default {
    background: none !important;
    color: #fff !important;
}

.btn-default:hover {
    background: #4e4e4e !important;
}

.floating-button button:hover {
    background: #4e4e4e !important;
}

.btn-delete {
    width: 21px !important;
    height: 21px !important;
}

.btn-delete:hover svg {
    fill: #aeaeae !important;
}

.node-overview p span {
    padding: 0 5px;
    font-size: 18px;
}

p.node-title {
    font-size: 16px !important;
    color: #fff !important;
    font-weight: 500 !important;
}

p.node-last-update {
    font-size: 12px !important;
    color: #dedede !important;
}

.node-wrapper {
    min-width: 350px !important;
}

.center-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
