/*
 *  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: 30px;
    z-index: 9;
    bottom: 25px;
}

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

.toggle {
    float: right;
    margin: -30px 160px 0 0;
}

.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;
}

.clusters .cluster rect {
    fill: #696969;
    height: 200px;
}

.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;
}

.stream-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/streams.svg") no-repeat center center;
}

.table-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/table.svg") no-repeat center center;
}

.trigger-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/trigger.svg") no-repeat center center;
}

.window-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/window.svg") no-repeat center center;
}

.query-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/query.svg") no-repeat center center;
}

.function-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/function.svg") no-repeat center center;
}

.aggregation-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/aggregate.svg") no-repeat center center;
}

.partition-type-colour {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/partition.svg") no-repeat center center;
}

.source-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/source.svg") no-repeat center center;
}

.sink-indicator {
    height: 55px;
    width: 40px;
    float: left;
    margin: -2px 15px 1px 1px;
    background: #ccc url("../icons/sink.svg") no-repeat center center;
}


.partition {
    font-size: 30px;
    color: #d3d3d3;
    margin-top: 150%;
}

.legend {
    color: #fff;
    font-size: 14px;
    text-align: left;
    width: 100%;
    max-width: 440px;
    padding: 10px;
    background: #333;
    position: absolute;
    right: 40px;
}

.legend-key {
    padding: 0 5px;
    display: inline-block;
}

.legend-text {
    line-height: 24px;
    font-size: 12px;
}

.legend-colour {
    width: 15px;
    height: 15px;
    float: left;
    margin: 5px;
}

.stream-image {
    background: url("../icons/streams.svg");
}

.table-image {
    background: url("../icons/table.svg");
}

.trigger-image {
    background: url("../icons/trigger.svg");
}

.window-image {
    background: url("../icons/window.svg");
}

.function-image {
    background: url("../icons/function.svg");
}

.aggregation-image {
    background: url("../icons/aggregate.svg");
}

.partition-image {
    background: url("../icons/partition.svg");
}

.query-image {
    background: url("../icons/query.svg");
}

.source-image {
    background: url("../icons/source.svg");
}

.sink-image {
    background: url("../icons/sink.svg");
}
.login-container h1,
.addWorker-container h1 {
    color: #eee !important;
    font-weight: 400;
}

.metricsRadio span {
    color: #dedede;
}