﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 10px;
    overflow-y: auto;
    background-color: lightgrey;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

#board {
    background-color: white;
    height: 100vh;
}

.draggable_operators_label {
    margin-bottom: 5px;
}

.draggable_operators_divs {
    margin-bottom: 20px;
}

.draggble_control {
    border-width: 1px;
}

.draggable_operator {
    display: inline-block;
    padding: 2px 5px 2px 5px;
    border: 1px solid #ccc;
    cursor: grabbing;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.boxout {
    border-style: solid;
    border-width: 1px;
}

.grid-container {
    display: grid;
    grid-template-columns: 50px 500px;
    background-color: #2196F3;
    padding: 5px;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 5px;
    text-align: center;
}

.flowchart-operator .title-icon {
    float: left;
    width: 20%;
    padding: 5px;
    background: #f0f0f0;
}

.title-text {
    float: right;
    width: 80% !important;
}

.flowchart-operator {
    width: 15% !important;
}

.flowchart-horizontal-connector {
    width: 0px !important;
    height: 0px !important;
    position: absolute !important;
    top: 5px !important;
}

.connector-input-right-arrow {
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid rgb(204, 204, 204) !important;
    left: calc(100% - 19px) !important;
}

    .connector-input-right-arrow:hover {
        border-right: 10px solid rgb(153, 153, 153) !important;
    }

.connector-input-left-arrow {
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    border-left: 10px solid rgb(204, 204, 204) !important;
    border-right: 10px solid transparent !important;
    left: -1px !important;
}

.connector-input-left-arrow:hover {
        border-left: 10px solid rgb(153, 153, 153) !important;
    }

.connector-input-top-arrow {
    border-top: 10px solid rgb(204, 204, 204) !important;
    border-bottom: 10px solid transparent !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
}

    .connector-input-top-arrow:hover {
        border-top: 10px solid rgb(153, 153, 153) !important;
    }

.connector-output-left-arrow {
    border-top: 10px solid transparent !important;
    border-left: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    border-right: 10px solid rgb(204, 204, 204) !important;
    left: -20px !important;
}

    .connector-output-left-arrow:hover {
        border-right: 10px solid rgb(153, 153, 153) !important;
    }

.connector-output-right-arrow {
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    border-left: 10px solid rgb(204, 204, 204) !important;
    border-right: 10px solid transparent !important;
    left: 100% !important;
}

    .connector-output-right-arrow:hover {
        border-left: 10px solid rgb(153, 153, 153) !important;
    }

.connector-output-bottom-arrow {
    border-top: 10px solid rgb(204, 204, 204) !important;
    border-bottom: 10px solid transparent !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
}

    .connector-output-bottom-arrow:hover {
        border-top: 10px solid rgb(153, 153, 153) !important;
    }

.flowchart-horizontal-connector-small {
    width: 0px !important;
    height: 0px !important;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
    /*position: absolute !important;*/
    top: 10px !important;
}

.connector-output-right-arrow-small {
    left: 100% !important;
}

.connector-output-left-arrow-small {
    left: -10px !important;
}

.connector-input-right-arrow-small {
    left: calc(100% - 10px) !important;
}

.connector-input-left-arrow-small {
    left: -1px !important;
}

.hide-arrows {
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

.flowchart-button {
    /*background-color: rgb(147, 147, 255);*/
    background-color: rgb(66, 135, 245);
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 8px !important;
    cursor: pointer;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
}

/*.flowchart-button:not(:last-child) {
  border-right: none;
}*/
.flowchart-operator-buttons-container {
    /*position: relative;*/
}

.flowchart-operator-buttons {
    position: absolute;
    opacity: 100 !important;
}

.buttons-output {
    left: calc(100% - 23px) !important;
    top: -8px;
}

.buttons-input {
    left: 2px !important;
    top: 26px;
}

.divider {
    width: 2px;
    height: auto;
    display: inline-block;
}

.control-sm {
    padding-left: 20px !important;
}

#chart_container {
/*    border-style: solid;
    border-color: orange;*/
    width: 100%;
    height: auto;
    overflow: hidden;
}


.small-padding {
    padding: 5px;
}

#flowchart-buttons {
    padding-bottom: 5px;
    padding-right: 0px;
    float: right;
}

.hidden {
    display: none !important;
}

/*Main Window*/

.column {
    float: left;
    width: 100%;
    padding: 10px;
}

.center {
    display: block;
    width: 50% !important;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid green;
    padding: 10px;
}

#workflowDefinition {
    border: solid;
    color: white;
    padding: 15px 10px;
    font-size: 12px;
    text-align: left;
    background-color: #ff7a0d;
}

    #workflowDefinition.create-new {
        background-color: darkred;
    }

    #workflowDefinition:hover {
        background-color: orange;
        cursor: pointer;
    }

.right {
    position: absolute;
    right: 0px;
    width: 300px;
    border: 3px solid #73AD21;
    padding: 10px;
}

.caption {
    font-size: 15px;
    font-weight: bold;
    padding-top: 10px;
}

.modal-header {
    background-color: darkorange;
    background: linear-gradient(0deg, darkorange 50%, #FBF1E6 100%);
    color: white !important;
    padding: 3px 5px 3px 15px !important;
}

.small-label{
    font-size: 13px !important;
    font-weight: bold;
    margin-bottom: .2rem !important;
}

.small-button {
    font-size: 12px !important;
    font-weight: bold;
    margin-bottom: .1rem !important;
    border-bottom-width: 0 !important;
}

.small-input {
    margin-bottom: .2rem !important;
}

.close-button {
    /*height: calc(1.5em + 0.5rem + 2px);*/
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem !important;
    margin: 5px 0px 2px 3px !important;
}

.width-15 {
    width: 15% !important;
}

.width-20 {
    width: 20% !important;
}

.width-75 {
     width: 75% !important;
}

.width-80 {
    width: 80% !important;
}

.width-70 {
    width: 70% !important;
}

.width-65 {
    width: 65% !important;
}

.width-5 {
    width: 5% !important;
}

.width-100 {
    width: 100% !important;
}

.workflow-control {
    border: none;
    color: white;
    font-size: 20px;
    text-align: center;
    background-color: darkred;
    margin-left: 5px;
}

.workflow-control:hover {
    background-color: orange;
}

.workflow-control.disabled {
    color: gray;
    background-color: darkred;
}

.sidenav-left {
    height: 100%;
    width: 60px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: darkred;
    overflow-x: auto;
    padding-top: 20px;
    margin-top: 2px !important;
}

.sidenav-right {
    height: 100%;
    width: 350px;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #FBF1E6;
    overflow: scroll;
    padding-top: 20px;
    margin-top: 2px !important;
}

.sidenav-right.disabled {
    background-color: gainsboro;
}

.card-header {
    padding: 5px 5px 5px 12px;
    margin-bottom: 0;
    background-color: darkorange;
    background: linear-gradient(0deg, darkorange 50%, #FBF1E6 100%);
    border-bottom: 1px solid white;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.card-header.disabled {
        pointer-events: none;
        cursor: default;
        background-color: gray;
        background: linear-gradient(0deg, gray 50%, #FBF1E6 100%);
    }

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 5px;
    background-color: #FBF1E6;
}

.card-body.disabled {
    background-color: gainsboro;
    color: white;
}

.card-border {
    border-color: orangered !important;
}
.card-border.disabled {
    border-color: darkgray !important;
}

.content {
    margin-left: 60px;
    margin-right: 350px;
    height: auto;
    margin-top: 2px;
    overflow: hidden;
    background: lightgrey;
    
}

@media screen {
    .sidenav-left {
        position: fixed;
    }

    .sidenav-right {
        position: fixed;
    }
}

#workflow_configuration {
    margin: 0 10px;
}

#workflowconfigurationTitle {
    /*text-align: center;*/
    margin-bottom: 8px;
}

hr.sidePanelLine {
    border-top: 2px solid orangered;
}

@media(min-width:992px) {
    #wrapper {
        margin-left: 70px
    }

    .navbar-nav.side-nav {
        text-align: center;
        background: darkred;
        position: fixed;
        top: 2px;
        flex-direction: column !important;
        left: 0px;
        width: 60px;
        bottom: 0;
        padding-bottom: 40px;
        margin-top: 55px !important;
    }

    /*.side-nav li { border-bottom: 1px solid #50575d; }*/

    .side-nav li label {
        /*padding: 20px;*/
        display: block;
        position: relative;
    }

    .navbar-nav li label .ttip {
        opacity: 0;
        position: absolute;
        background: #333;
        left: 0px;
        white-space: nowrap;
        top: 9px;
        border-radius: 3px;
        padding: 5px 10px;
        transition: .5s ease all;
        font-size: 14px;
    }

    .navbar-nav li label:hover .ttip {
        opacity: 1;
        left: 60px;
    }

    .navbar-nav li label .ttip:after {
        right: 100%;
        top: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(136, 183, 213, 0);
        border-right-color: #333;
        border-width: 5px;
        margin-top: -5px;
    }
}

.navbar-custom {
    background: #2F3336 !important;
    border-bottom: 2px solid black !important;
    color: beige;
}

.container-padding {
    padding: 15px 15px !important;
}

.choice-textbox {
    margin-bottom: 3px !important;
}

.less-bottom-margin {
    margin-bottom: 2px !important;
}

.line-margin {
    margin-top: 19px !important;
}

.add-button {
    padding: 5px 30px;
}

.cancel-button {
    padding: 5px 20px !important;
    
    width: auto;
}
.char2-button {
    padding: 5px 35px !important;
    margin-top: 8px !important;
    margin-right: 5px;
    width: auto;
}
.yes-button {
    padding: 5px 35px !important;
    margin-top: 8px !important;
    margin-right: 5px;
    width: auto;
}
.create-button {
    padding: 5px 35px !important;

    width: auto;
}

.modal-buttons {
    padding: 0 0;
    justify-content: flex-end;
    display: flex;
}

.modal-body {
    background-color: #FBF1E6;
}

.modal-dialog {
    position: absolute;
    top: 150px;
    right: 100px;
    bottom: 0;
    left: 0;
    z-index: 10040;
    overflow: auto;
    overflow-y: auto;
}

.toast {
    max-width: 100%;
    width: 100% !important;
    padding: 0 0;
    margin: 0 0 0 0 !important;
}

.accordion-icon {
    float: right;
    padding: 4px 6px;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: inherit;
    margin: 0;
    cursor: pointer;
}

.accordion-button {
    float: right;
    padding: 1px 6px;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: inherit;
    margin: 0;
    cursor: pointer;
    background-color: transparent;
}

.accordion-button:hover {
    color: black;
    background-color: yellow;
}

.pagination {
    margin-top: 10px;
    margin-bottom: 5px !important;
}
.page-item-wf .page-link {
    font-size: 13px !important;
    padding: 1px 6px !important;
    font-weight: bold;
    color: darkorange;
    border: 1px solid darkorange;
}

.page-item-wf.active .page-link {
    font-size: 13px !important;
    padding: 1px 6px !important;
    font-weight: bold;
    background-color: darkorange;
    color: white;
    border: 1px solid darkorange;
}

#panelButtonDiv {
    
    text-align: right;
    margin-bottom: 5px;
}

.panelButton {
    padding: 2px 10px;
    font-size: 20px;
}

.sidenav-left.disabled {
    pointer-events: none;
}

#deleteMessage {
    font-size: 16px;
}

.deleteModalLine {
    margin: 0 0;
}

#zeroChoices {
    font-size: 11px;
    font-weight: normal;
}

#txtScript {
    resize: none;
}

.checkbox-list {
    height: 75px;
    overflow-y: auto;
}

.checkbox-list-item {
    padding: 0 5px;
}

.cursor-pointer {
    cursor: pointer;
}