﻿body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.header {
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    background: #ecf1fa;
    width: 100% !important;
}

.sidenav {
    height: 100%;
    width: 25%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #fafafa;
    overflow-x: hidden;
    border-right: 1px solid #eceaea;
    margin: 0;
    margin-top: 46px;
}

    .sidenav a {
        padding: 6px 8px 6px 16px;
        text-decoration: none;
        color: #333;
        display: block;
    }

        .sidenav a:hover {
            color: #333;
        }

.main {
    /* margin-left: 25%; */
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

.sidenav ul {
    list-style: none;
    padding: 0px;
    margin-top: 6px;
    overflow-y: scroll;
    height: 37vh;
}

.side-menu li {
    padding: 10px 0px;
    border-bottom: 1px solid #eceaea;
    font-size: .8rem;
    font-weight: 600;
    color: #1a222b;
    padding-left: 12%;
}

.header-bar {
    background: #f7f7f7;
    height: 45px;
    border-bottom: 1px solid #eceaea;
    display: flex;
}

    .header-bar h4 {
        margin: 0;
        padding-left: 36px;
        /* padding: 28px 20px; */
    }


.col-content {
    margin-left: 6%;
}

.heading {
    background: #ecf1fa;
}

.main-content {
    margin-left: 25%;
}

.title-name {
    width: 25%;
    padding: 12px 0px;
    display: inline-flex;
}

.bg-light {
    background: #ecf1fa;
}

.editor {
    background: #080808;
    height: 37vh;
    color: #ddd;
    font-size: .8rem;
    font-weight: 100 !important;
    font-family: 'Cutive Mono', monospace;
    padding: 8px;
}

.add-button {
    background: #3eb8f3;
    border: 1px solid #eee;
    padding: 6px;
    color: #ffff;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-top: -5px;
    margin-right: 15px;
    border-radius: 5px;
    cursor: pointer;
    height: 30px;
    padding: 0px 12px;
}

    button.btn-connect, .add-button:focus {
        outline: none !important;
    }

.form-area {
    padding-top: 22px;
}
/* popup */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
/* popup end */

.btn-connect {
    background: lightgrey;
    border: 1px solid #eee;
    padding: 4px 10px;
    font-size: .7rem;
    border-radius: 12px;
    float: right;
    margin-top: -3px;
    margin-right: 10px;
    color: #6f6a6a;
    cursor: pointer;
}

.menu-bar {
    background: #fff;
    border-bottom: 1px solid #eceaea;
    height: 45px;
    padding: 0px 10px;
}

.btn-menu {
    background: #fbfbfb;
    border: 1px solid #ddd;
    padding: 4px 10px;
    font-size: .7rem;
    border-radius: 3px;
    float: right;
    margin-top: -3px;
    margin-right: 10px;
    color: #6f6a6a;
    cursor: pointer;
}

.menu-bar2 {
    background: #f7f7f7;
    border-bottom: 1px solid #eceaea;
    height: 45px;
    padding: 0px 10px;
}

.menu-title {
    margin-top: 0px;
    margin-left: 10%;
}

.query-result ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.query-menu li {
    padding: 10px 0px;
    border-bottom: 1px solid #eceaea;
    font-size: .8rem;
    /* font-weight: 600; */
    color: #1a222b;
    padding-left: 3%;
}

/* dropdown */
.dropdown {
    display: inline-block;
    position: relative;
    float: right;
}

.dd-button {
    display: inline-block;
    border: 1px solid gray;
    border-radius: 4px;
    padding: 10px 30px 10px 20px;
    background-color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
}

    .dd-button:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid black;
    }

    .dd-button:hover {
        background-color: #eeeeee;
    }


.dd-input {
    display: none;
}

.dd-menu {
    position: absolute;
    top: 100%;
    border: 1px solid #ccc;
    /* border-radius: 4px; */
    padding: 0;
    margin: 2px 0 0 0;
    /* box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); */
    background-color: #fbfbfb;
    list-style-type: none;
}

.dd-input + .dd-menu {
    display: none;
}

.dd-input:checked + .dd-menu {
    display: block;
}

.dd-menu li {
    padding: 4px 11px;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
    font-size: 0.7rem;
    color: #6f6a6a;
}

    .dd-menu li:hover {
        background-color: #f6f6f6;
    }

    .dd-menu li a {
        display: block;
        margin: -10px -20px;
        padding: 10px 20px;
    }

    .dd-menu li.divider {
        padding: 0;
        border-bottom: 1px solid #cccccc;
    }
/* dropdown end */
/* input */
.form-container input[type=text], input[type=password], select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-container input[type=submit] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


/* input end */

.btn-save {
    width: fit-content;
    background-color: #2fa8e4;
    color: white;
    padding: 12px 21px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-container {
    display: grid;
    grid-template-columns: auto auto auto;
}

    .form-container .col4 {
        padding: 0px 6px;
    }

    .form-container label {
        font-size: .8rem;
        color: #333;
        text-transform: capitalize;
    }

.col-100 {
    width: 100%;
}

.item-right {
    text-align: right;
}

