﻿html, body {
    height: 100%;
    margin: 0;
    border: 0;
    overflow: hidden;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: cornflowerblue;
}

.backendProgress {
    border: solid 1px gray;
    background-color: black;
}

    .backendProgress .output {
        position: absolute;
        left: 6px;
        top: 6px;
        right: 6px;
        bottom: 6px;
        overflow: auto;
        color: lightgray;
        white-space: pre;
        font-family: monospace;
    }

    .backendProgress .progress {
        display: none;
        position: absolute;
        left: 0;
        top: 6px;
        width: calc(100% - 40px);
        height: 24px;
        border: solid 1px gray;
        background-color: rgba(255, 255, 255, 0.40);
    }

    .backendProgress .progressBar {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0%;
        background-color: rgba(0, 5, 255, 0.5);
    }

.footerVersion {
    font-size: 10pt;
    color: #d8d8d8;
}

.outputStatus {
    overflow: auto;
    border: 1px solid rgb(118,118,118);
}

.progress {
    display: inline-block;
    width: 300px;
    height: 20px;
    border: 1px solid rgb(118,118,118);
    position: relative;
    margin-left: 10px;
    margin-top: 0;
    margin-bottom: -5px;
}

    .progress > span {
        position: absolute;
        line-height: 20px;
        text-align: center;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        color: black;
        font-size: 8pt;
    }

    .progress > div {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background-color: #416ab5;
        transition: width linear .2s;
    }

.objEdit {
    text-align: left;
    border: none;
    width: 100%;
    height: 100%;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;
    padding: 0 0 0 1px;
    margin: 0 0 0 -1px;
}

    .objEdit:focus {
        outline: none;
    }

button,
input[type=submit],
input[type=button] {
    cursor: pointer;
    box-sizing: border-box;
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    padding: 1px 8px 1px 8px;
    margin: 2px;
    background-color: rgb(239,239,239);
    border: 1px outset rgb(118,118,118);
    border-radius: 2px;
}

    button:hover,
    input[type=submit]:hover,
    input[type=button]:hover {
        background-color: rgb(230,230,230);
    }

body {
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#divBlocker {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0;
    display: none;
    transition: opacity .15s ease-in-out;
}

    #divBlocker.display {
        display: block;
        opacity: 0.1;
    }

#divCMA {
    background-color: white;
    position: absolute;
    border: 1px solid #333333;
    box-shadow: 0px 0px 3px #333333;
}

    #divCMA .checkboxList {
        height: 128px;
        border-top: 1px solid #333333;
    }

    #divCMA input[type='file'] {
        margin: 2px;
    }

.checkboxList {
    overflow-y: scroll;
}

    .checkboxList > label {
        display: block;
        white-space: nowrap;
    }

        .checkboxList > label:hover {
            background-color: #333333;
            color: white;
        }

header {
    width: 100%;
    height: 60px;
    border-bottom: 2px solid #333333;
    position: relative;
    box-shadow: 0px 0px 3px #333333;
}

    header > .nav {
        position: absolute;
        left: 20px;
        top: 17px;
        cursor: pointer;
    }

        header > .nav > img {
            width: 28px;
            height: 28px;
        }

    header > .logo {
        position: absolute;
        left: 70px;
        top: 17px;
        cursor: default;
    }

        header > .logo > img {
            max-height: 48px;
            margin-top: -8px;
        }

    header > .title {
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
        text-align: center;
        font-size: 24pt;
        cursor: default;
        line-height: 60px;
    }

    header > .user {
        position: absolute;
        right: 20px;
        top: 15px;
        cursor: pointer;
    }

        header > .user > img {
            width: 32px;
            height: 32px;
        }

.gridHeaderButton {
    max-height: 16px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity linear 0.3s;
}

    .gridHeaderButton:hover {
        opacity: 1;
    }

#layoutSidebar {
    float: left;
    width: 236px;
}

    #layoutSidebar.hideNavBar {
        display: none;
    }

    #layoutSidebar > nav img {
        width: 24px;
        height: 24px;
        display: inline-block;
        opacity: 0.6;
        vertical-align: text-bottom;
    }

    #layoutSidebar > nav {
        padding: 30px 5px 5px 10px;
        font-size: 16pt;
        color: #666666;
    }

        #layoutSidebar > nav > a {
            display: block;
            margin-bottom: 10px;
            color: #666666;
        }


            #layoutSidebar > nav > a.child {
                margin-left: 40px;
                font-size: 14pt;
            }

        #layoutSidebar > nav > span {
            margin-top: 5px;
            margin-bottom: 10px;
            display: block;
            cursor: default;
        }

#layoutContent {
    position: relative;
    float: left;
    width: calc(100% - 237px);
}

    #layoutContent.hideNavBar {
        width: 100%;
    }

    #layoutContent.login {
        width: 100%;
    }

        #layoutContent.login > form {
            margin-left: -150px;
            margin-top: 10%;
            width: 300px;
            left: 50%;
            position: absolute;
        }

        #layoutContent.login label {
            width: 75px;
            display: inline-block;
        }


        #layoutContent.login .error {
            color: red;
            margin-left: 80px;
        }

        #layoutContent.login .message {
            color: rgba(253, 97, 13, 1);
        }

        #layoutContent.login button {
            margin-left: 80px;
        }

    #layoutContent > h1,
    #layoutContent > h2,
    #layoutContent > h3,
    #layoutContent > p {
        font-weight: normal;
        margin-left: 20px;
    }

#layoutDivider {
    float: left;
    width: 1px;
    background: linear-gradient(0deg, rgba(255,255,255,0) 5%, rgba(51,51,51,1) 10%, rgba(51,51,51,1) 90%, rgba(255,255,255,0) 95%);
}

    #layoutDivider.hideNavBar {
        display: none;
    }

#layoutSidebar, #layoutDivider, #layoutContent {
    min-height: calc(100vh - 104px);
}

footer {
    border-top: 1px solid #333333;
    clear: both;
    width: 100%;
    height: 40px;
    box-shadow: 0px 0px 2px #333333;
}

    footer > div.tag {
        float: left;
        margin-left: 10px;
        line-height: 40px;
    }

    footer > div.tsg {
        margin-top: 5px;
        float: right;
        margin-right: 10px;
    }

        footer > div.tsg > img {
            max-height: 30px;
        }


.toolbar {
    display: block;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 65px;
    float: left;
    cursor: default;
}

    .toolbar select {
        height: 27px;
        border-radius: 2px;
        box-sizing: border-box;
        display: inline-block;
        font-size: 16px;
        border: 1px outset rgb(118,118,118);
        min-width: 160px;
    }

    .toolbar > div {
        float: left;
        margin-right: 10px;
    }

        .toolbar > div.checkbox {
            text-align: center;
            width: 70px;
        }

    .toolbar .add {
        color: cornflowerblue;
    }

    .toolbar input[type='text'] {
        width: 200px;
    }

    .toolbar .selectOptions {
        margin-top: 20px;
    }

    .toolbar .langLabel {
        color: #333333;
        font-size: 11pt;
        display: block;
        height: 20px;
        margin-top: 3px;
    }

    .toolbar .tooloption > img {
        max-height: 24px;
        opacity: 0.75;
        transition: opacity linear 0.3s;
    }

        .toolbar .tooloption > img:hover {
            max-height: 24px;
            opacity: 1;
        }

    .toolbar .tooloption.disabled {
        cursor: default;
    }

        .toolbar .tooloption.disabled > img:hover,
        .toolbar .tooloption.disabled > img {
            opacity: 0.2;
        }

.toggle {
    cursor: pointer;
}

    .toggle span {
        width: 13px;
        text-align: center;
        display: inline-block;
    }

.cellToggle {
    cursor: pointer;
}

.cellYes {
    color: #00c300;
    font-size: 12pt;
    font-family: 'Segoe UI Symbol';
}

    .cellYes.togglediv {
        margin-top: 1px;
        margin-bottom: -1px;
        margin-left: 3px;
    }

.cellNo {
    color: red;
    font-size: 11pt;
    font-family: 'Segoe UI Symbol';
}

    .cellNo.togglediv {
        margin-top: 2px;
        margin-left: 4px;
    }

.dialog {
    display: none;
    position: absolute;
    background: #F7F7F7;
    border: 1px solid #CDCDCD;
    border-radius: 6px;
    box-shadow: 2px 2px 5px #888888;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

.dialog-show {
    display: block;
    opacity: 1;
}

.dialog-blocker {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0;
    display: none;
    transition: opacity 0.15s ease-in-out;
}

    .dialog-blocker.show {
        display: block;
        opacity: 0.1;
    }

.dialogtitle {
    border-bottom: 1px solid #CDCDCD;
    box-shadow: 0 1px 0 #FFFFFF;
    position: relative;
    text-shadow: 0 1px #FFFFFF;
    height: 36px;
    background: rgb(248,248,248);
    background: linear-gradient(to bottom, rgba(248,248,248,1) 0,rgba(232,232,232,1) 100%);
    line-height: 36px;
    padding-left: 10px;
    font-weight: normal;
    font-size: 16px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
}

.dialogbody {
    position: relative;
    border-top: 1px solid #CDCDCD;
}

.dialogfooter {
    background-color: #dfdfdf;
    text-align: right;
    padding: 2px 4px 2px 4px;
}

.dialog > div:last-child {
    border-radius: 0 0 6px 6px;
}

.dialog-padding {
    padding: 10px;
}

    .dialog-padding .fieldLabel {
        width: 100px;
        display: inline-block;
    }

    .dialog-padding .checkboxList {
        border: 1px solid #bdbdbd;
    }

    .dialog-padding .divider {
        display: block;
        height: 10px;
    }


.pillbox {
    border: solid thin #b3b3b3;
    overflow: auto;
    position: relative;
    font-size: 14px;
    font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
    cursor: pointer;
}

    .pillbox > span {
        margin: 2px;
        color: grey;
        pointer-events: none;
    }

    .pillbox > div {
        border: solid thin #b3b3b3;
        background-color: #f9f9f9;
        padding: 1px 3px 1px 3px;
        float: left;
        display: inline-block;
        margin: 2px;
        border-radius: 4px;
    }


        .pillbox > div > span {
            cursor: pointer;
            color: #cecece;
            margin-left: 3px;
        }

#divWebHookSummary {
    width: 800px;
    height: 300px;
    border: solid 1px black;
    overflow: auto;
    margin-left: 20px;
    display: inline-block;
    margin-top: 40px;
}

#divWebHooks {
    width: 800px;
    height: 300px;
    border: solid 1px black;
    overflow: auto;
    margin-left: 20px;
    display: inline-block;
    margin-top: 40px;
}

.webhookList > div {
    display: block;
    width: 100%;
    border-bottom: solid 1px grey;
    position: relative;
}

    .webhookList > div:hover {
        background-color: #87a4d1;
    }

.webhookList .link {
    line-height: 32px;
    display: inline-block;
    width: calc(100% - 110px);
    padding-left: 10px;
    cursor: default;
}

.webhookList .tables {
    line-height: 32px;
    display: inline-block;
    width: 780px;
    text-overflow: ellipsis;
    padding-left: 10px;
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
}

.webhookList .post {
    cursor: default;
    height: 25px;
    position: absolute;
    right: 105px;
    border-radius: 10px;
    background-color: orange;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 3px;
}

.webhookList .status {
    cursor: default;
    height: 25px;
    position: absolute;
    right: 50px;
    border-radius: 10px;
    background-color: grey;
    vertical-align: middle;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 3px;
}

.webhookList .delete {
    position: absolute;
    right: 10px;
    margin-top: 2px;
}

#divTokens {
    width: 800px;
    height: 300px;
    border: solid 1px black;
    overflow: auto;
    margin-left: 20px;
    display: inline-block;
    margin-top: 130px;
}

.tokenList > div {
    display: block;
    width: 100%;
    border-bottom: solid 1px grey;
    position: relative;
}

    .tokenList > div:hover {
        background-color: #87a4d1;
    }

.tokenList .key {
    line-height: 32px;
    display: inline-block;
    width: calc(100% - 180px);
    padding-left: 10px;
    cursor: default;
}

.tokenList .expires {
    line-height: 32px;
    display: inline-block;
    width: 130px;
}

.tokenList .delete {
    position: absolute;
    right: 10px;
    margin-top: 2px;
}

#btnResetMonitoring {
    position: absolute;
    right: 20px;
    top: 28px;
}
