﻿html, body {
    font-size: 0.9rem;
    line-height: 1;
    height: 100%;
}

.form-control:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
}

button:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

h1 {
    font-size: 1.2rem;
}

.content {
    height: calc(100% - 65px);
    /*border: red solid black;*/
}

.app {
    /*border: red solid grey;*/
}

.main {
    /*border: green solid 1px;*/
    height: 100vh;
}

.sidebar {
    height: 100vh;
}

.aapi_canvas {
    /*border: red solid 1px;*/
    height: 100%;
    padding-bottom: 1.1rem;
}

.aapi_canvas-35 {
    /*border: red solid 1px;*/
    height: calc(100% - 35px);
    padding-bottom: 1.1rem;
}

.aapi_pane_left {
    width: 250px;
    float: left;
    margin-right: 10px;
    border: 1px solid #b6b3b3;
    border-radius: 20px;
    padding: 0;
    background-color: #fff;
    overflow: visible;
    position: relative;
    height: 100%;
}

.aapi_pane_middle {
    width: 80px;
    float: left;
    margin-right: 10px;
    vertical-align: middle;
    text-align: center;
}

    .aapi_pane_middle .vertical-align {
        margin-top: 350px;
    }



.aapi_pane_top {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    line-height: 38px;
    padding: 6px 6px 6px 12px;
    font-weight: bold;
    border-bottom: 1px solid #b6b3b3;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
    font-size: 1.2em;
}

    .aapi_pane_top > h3 {
        padding-left: 12px;
    }

    .aapi_pane_top h4 {
        padding: 0 0 0 12px;
        font-weight: bold;
    }

.aapi_pane_body {
    position: absolute;
    top: 48px;
    bottom: 48px;
    width: 100%;
    overflow-y: auto;
    /*border: 1px solid green;*/
}

.aapi_pane_bottom {
    position: absolute;
    bottom: 0px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 20px;
    width: 100%;
    height: 48px;
    max-height: 48px;
    min-height: 48px;
    text-align: right;
    line-height: 34px;
}

.aapi_pane_top_buttons {
    text-align: right;
    float: right;
    top: 0;
    height: 40px;
    position: relative;
    line-height: 38px;
}

.aapi_pane_bottom_buttons {
    text-align: right;
    border-top: 1px solid #b6b3b3;
    padding: 6px 6px 6px 6px;
    position: relative;
}

.aapi_pane_categories {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
    white-space: pre-line;
    text-overflow: ellipsis;
    width: 100%;
}

    .aapi_pane_categories li {
        padding: 12px 0 12px 12px;
        font-size: 0.9rem;
        cursor: pointer;
        background-color: white;
        line-height: 1.3;
    }

        .aapi_pane_categories li.active {
            background-color: #F3F4F6;
        }

        .aapi_pane_categories li.hover {
            background-color: #F3F4F6;
        }

.aapi_pane_edit {
}

.aapi_pane_input_group {
    padding: 6px 12px 12px 12px;
    border-top: 1px solid #b6b3b3;
}

    .aapi_pane_input_group:first-child {
        border-top: none;
    }

    .aapi_pane_input_group h6 {
        font-weight: bold;
        padding: 3px 0 3px 0;
    }

.aapi_pane_input {
    padding: 3px 0 3px 0;
}

.aapi_label {
    width: 150px;
    line-height: 17px;
    margin-bottom: 0px;
}

.aapi_input {
    width: 300px;
    margin-left: 10px;
    border: none;
    text-align: right;
    text-align-last: right;
    outline: none;
    float: right;
    line-height: 17px;
}

.aapi_input_area {
    width: 400px;
    height: 500px;
    margin-left: 10px;
}

.aapi_input_checkbox {
    margin-left: 10px;
    border: none;
    text-align: right;
    text-align-last: right;
    outline: none;
    float: right;
}

.aapi_input_parameters {
    width: 350px;
    margin-left: 10px;
    border: none;
    outline: none;
}

input[readonly] {
    pointer-events: none;
    filter: contrast(10%) brightness(1.5);
    background: transparent;
}

.aapi_form {
    position: relative;
    float: left;
    min-width: 570px;
    margin-left: 24px;
    margin-right: 12px;
    margin-bottom: 12px;
    background-color: #fff;
    border: 1px solid #b6b3b3;
    border-radius: 20px;
    height: 100%;
}

    .aapi_form form {
        padding: 12px 0 6px 0;
    }

.aapi_form_wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Reports */

.cell {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    border: 1px solid #E6E9EE;
}

    .cell floatright {
        float: right;
    }

.celltext {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #5D6375;
}

td.cell {
    background-color: #F3F4F6 !important;
    height: 30px;
}

.cell_line {
    width: 3px;
    height: 100%;
    background-color: transparent;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 100;
    cursor: col-resize;
}

/*---*/

.message_topic {
    width: 200px;
    height: 100px;
    /*border: 1px red solid;*/
    float: left;
    position: relative;
    padding: 5px;
    margin: 10px;
}

    .message_topic img {
        width: 40px;
        height: 40px;
        position: absolute;
    }

    .message_topic h5 {
        left: 50px;
        top: 8px;
        font-size: 1.2rem;
        line-height: 1.2rem;
        position: absolute;
        color: #212529;
    }

    .message_topic span {
        left: 50px;
        top: 34px;
        position: absolute;
        color: #212529;
    }
