
/***********************************************************************************
 * NAME:     stfwOrchestration
 * REVISION: $Rev:$
 * PURPOSE:
 * <p>
 * DELIVERED
 * BY:  Robb Penoyer = $Author$
 * <a href="mailto:robb@robbpenoyer.com">$Author$</a>
 * <p>
 * REVISIONS:
 * VER        DATE         AUTHOR           DESCRIPTION
 * ---------  -----------  ---------------  ----------------------------------------
 * 1.0        08-MAR-2024  robb             INITIAL CREATION
 * <p>
 * *********************************************************************************
 * .                              OWNERSHIP NOTICE                                 .
 * .                                                                               .
 * .    This program and related material are the sole property of Robb Penoyer    .
 * .     This program, associated data, and logical algorithm are protected by     .
 * .    personal copyright, and may not be used, copied or distributed  without    .
 * .                 express written permission from Robb Penoyer.                 .
 * .                                                                               .
 * .                    Copyright (C) 2024-present Robb Penoyer                    .
 * .                                                                               .
 ***********************************************************************************/
body {
    background-color: #FFF;
    color: #434343;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 100%;
    padding: 0;
}

.orch-bootstrap {
    min-height:100vh;
    display:flex;
    flex-direction: column;
}

.orch-bootstrap .orch-page-container {
    display:flex;
    width:100vw;
    justify-content: center;
    flex:1;
}

.orch-bootstrap .orch-container {
    width: 60%;
    max-width:800px;
}

.orch-bootstrap-wide .orch-container {
    width: 80%;
    max-width:1187px;
}

.orchestration-main {
    position: relative;
    margin-top:20px;
    border: 2px;
}

.orchestration-main .description {
    font-size: 13px;
    margin-top: 25px;
    padding: 13px;
    margin-bottom: 22px;
    background-color: #f4f5ef;
}

.orchestration-main .description li {
    list-style-type: disc !important;
}

.orchestration-canvas {
    height:60vh;
    border:4px solid #CCC;
    background-color:white;
    display: flex;
    position:relative;
}

.orch-viewer-canvas {
    height:60vh;
    width:100%;
    border:4px solid #CCC;
    background-color:white;
    display: flex;
    position:relative;
    margin: auto;
}

.canvas-wide {
    margin-left:0;
    width:80%;
}

.miniview {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 100;
}


.orchestration-dataset {
    text-align: left;
    max-height: 600px;
    overflow: auto;
}

.demo-title {
    float:left;
    font-size:18px;
}

.controls {
    top: 25px;
    color: #FFF;
    margin-right: 10px;
    position: absolute;
    left: 25px;
    z-index: 1;
}

.controls i {
    background-color: #3E7E9C;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 0;
    padding: 4px;
}

li {
    list-style-type: none;
}

/* ------------------------ node palette -------------------- */

/*
.sidebar {
    margin:0;
    padding:0;
    padding-top: 7px;
    padding-right: 10px;
    width:150px;
    float:left;
    text-align:center;
    height: 550px;
    background-color: #84acb3;
}

.sidebar ul li {
    background-color: #234b5e;
    border-radius: 11px;
    color: #f7ebca;
    cursor: move;
    margin-bottom: 10px;
    margin-left: 6px;
    padding: 8px;
    width:128px;
}

.sidebar ul {
    width:100%;
    padding:0;
}

.sidebar ul li:hover {
    background-color: #577a8b;
}

.sidebar i {
    float:left;
}

 */

@media (max-width: 600px) {
    .sidebar {
        float:none;
        height: 55px;
        width: 100%;
        padding-top:0;
    }

    .sidebar ul li {
        display:inline-block;
        margin-top: 7px;
        width:67px;
    }
    .orchestration-canvas {
        margin-left: 0;
        margin-top:10px;
        height:364px;
    }
}

/* ---------------------------------------------------------------------------------------------------- */
/* --- jsPlumb setup ---------------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------------------------------- */

.orch-connector {
    z-index:9;
}

.orch-endpoint {
    z-index:12;
    opacity:0.8;
    cursor:pointer;
}

.orch-overlay {
    background-color: white;
    color: #434343;
    font-weight: 400;
    padding: 4px;
    z-index:10;

}

.orch-overlay.orch-hover {
    color: #434343;
}

path {
    cursor:pointer;
}

.delete {
    padding: 2px;
    cursor: pointer;
    float: left;
    font-size: 10px;
    line-height: 20px;
}

.add, .edit {
    cursor: pointer;
    float:right;
    font-size: 10px;
    line-height: 20px;
    margin-right:2px;
    padding: 2px;
}

.edit:hover {
    color: #ff8000;
}

.selected-mode {
    color:#E4F013;
}

.connect {
    width:10px;
    height:10px;
    background-color:#f76258;
    position:absolute;
    bottom: 13px;
    right: 5px;
}

/* header styles */

.demo-links {
    position: fixed;
    right: 0;
    top: 57px;
    font-size: 11px;
    background-color: white;
    opacity: 0.8;
    padding-right: 10px;
    padding-left: 5px;
    text-transform: uppercase;
    z-index:100001;
}

.demo-links div {
    display:inline;
    margin-right:7px;
    margin-left:7px;
}

.demo-links i {
    padding:4px;
}



.stfwstart {
    position: absolute;
    height:4em;
    width:11em;
    font-size:12px;
    cursor: move;
}

.stfwstartouter {
    position: relative;
    background-color:#6ccf25;
    height:4em;
    width:11em;
    font-size:12px;
    cursor: move;
    border-radius:50px;
}
.stfwstartinner {
    position: absolute;
    font-weight: bolder;
    color: black;
    background-color:#ffe699;
    height:3em;
    width:10em;
    top:.5em;
    left:.5em;
    font-size:12px;
    cursor: move;
    border-radius:50px;
    text-align: center;
    font-weight: bold;
    padding:1em;
    border:5px;
    border-color: pink;
}

.stfwstartnotif {
    position: absolute;
    font-weight:bolder;
    top:1.3em;
    right:1em;
    font-size:12px;
    cursor: move;
}

.stfwwonotif {
    position: absolute;
    font-weight:bold;
    top:7.7em;
    left:7.7em;
    font-size:12px;
    cursor: move;
}

.stfwwonotif-small {
    position: absolute;
    font-weight:bold;
    top:6em;
    left:6em;
    font-size:12px;
    cursor: move;
}

/******************************************************************************
 * START STFW RESOURCES
 **/
.stfwresource {
    position: absolute;
    height:56px;
    width:18em;
    font-size:12px;
    cursor: move;
}

.stfwresourcecontainer {
    position: relative;
    background-color:#0d78bc;
    height:48px;
    width:18em;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    border: 2px dotted #346789;
    font-size:12px;
    color:white;
    font-weight: bold
}

.stfwresourcecontainer:hover {
    box-shadow: 2px 2px 19px #444;
    -o-box-shadow: 2px 2px 19px #444;
    -webkit-box-shadow: 2px 2px 19px #444;
    -moz-box-shadow: 2px 2px 19px #fff;
}

.resourcename {
    position: absolute;
    background-color:#0d78bc;
    left: .5em;
}

.resourcename:hover {
    color:orange
}

.stfwresourcein {
    position: relative;
    background-color:#ff3030;
    height:5px;
    width:18em;
    font-size:12px;
}

.stfwresourcein:hover {
    box-shadow: 0px 0px 16px 8px #ffcccc;
}

.stfwresourceout {
    position: relative;
    background-color:#6ccf25;
    height:5px;
    width:18em;
    font-size:12px;
}

.stfwresourceout:hover {
    box-shadow: 0px 0px 16px 8px #b8ec93;
}

.stfwdisable {
    color:white;
    right:5px;
    top:5px;
    position:absolute;
    font-size:12px;
    font-weight: normal;
}

.stfwdisable:hover {
    color:orange
}

.stfwedit {
    color:white;
    right:5px;
    bottom:5px;
    position:absolute;
    font-size:12px;
    font-weight: normal;
}
.stfwedit:hover {
    color:orange
}

/**
 * END CC RESOURCES
 ******************************************************************************/

/******************************************************************************
 * START CC ENRICHERS
 **/
.stfwenricher {

    height:127px;
    width:169px;
    font-size:12px;
    cursor: move;
    position: absolute;
}

.stfwenrichercontainer {
    position: relative;
    background-color:#ffe699;
    top:22px;
    left:30px;
    height:106px;
    width:140px;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    border: 1px #346789;
    font-size:12px;
    color:black;
    font-weight: bold
}

.stfwenrichercontainer:hover {
    box-shadow: 2px 2px 19px #444;
    -o-box-shadow: 2px 2px 19px #444;
    -webkit-box-shadow: 2px 2px 19px #444;
    -moz-box-shadow: 2px 2px 19px #fff;
}

.stfwenricherover {
    position: absolute;
}

.stfwenricherouter {
    position: absolute;
    height:110px;
    width:160px;
    border-radius: 4em;
}

.enrichername {
    background-color:#ffe699;
    position: absolute;
    left: .5em;
}

.enrichername:hover {
    color:#99e6ff;
}

.stfwenricherin {
    height:150px;
    width:200px;
    position: absolute;
    left:0;
}

.stfwenricherconnect {
    position: relative;
    border:1px;
    height:160px;
    width:210px;
    opacity:0
}

.stfwenricherout {
    height:150px;
    width:200px;
    position: absolute;
    left:0;
}

.stfwendisable {
    color:black;
    right:5px;
    top:5px;
    position:absolute;
    font-size:12px;
    font-weight: normal;
}

.stfwendisable:hover {
    color:#99e6ff
}

.stfwenedit {
    color:black;
    right:5px;
    bottom:5px;
    position:absolute;
    font-size:12px;
    font-weight: normal;
}
.stfwenedit:hover {
    color:#99e6ff
}

/**
 * END CC ENRICHERS
 ******************************************************************************/

/******************************************************************************
 * START CC MAPPER
 **/
.stfwmapper {

    height:127px;
    width:169px;
    font-size:12px;
    cursor: move;
    position: absolute;
}

.stfwmappercontainer {
    position: relative;
    background-color:#ffe699;
    top:22px;
    left:30px;
    height:106px;
    width:140px;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    border: 1px #346789;
    font-size:12px;
    color:black;
    font-weight: bold
}

.stfwmappercontainer:hover {
    box-shadow: 2px 2px 19px #444;
    -o-box-shadow: 2px 2px 19px #444;
    -webkit-box-shadow: 2px 2px 19px #444;
    -moz-box-shadow: 2px 2px 19px #fff;
}

.stfwmapperover {
    position: absolute;
}

.stfwmapperouter {
    position: absolute;
    height:110px;
    width:160px;
    border-radius: 4em;
}

.mappername {
    background-color:#ffe699;
    position: absolute;
    left: .5em;
}

.mappername:hover {
    color:#99e6ff;
}

.stfwmapperin {
    height:150px;
    width:200px;
    position: absolute;
    left:0;
}

.stfwmapperconnect {
    position: relative;
    border:1px;
    height:160px;
    width:210px;
    opacity:0
}

.stfwmapperout {
    height:150px;
    width:200px;
    position: absolute;
    left:0;
}

/**
 * END CC MAPPER
 ******************************************************************************/


/******************************************************************************
 * START CC VERTICLE MAPPER
 **/
.stfwvertmapper {

    height:127px;
    width:169px;
    font-size:12px;
    cursor: move;
    position: absolute;
}

.stfwvertmappercontainer {
    position: relative;
    background-color:#ffe699;
    top:22px;
    left:30px;
    height:106px;
    width:140px;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    border: 1px #346789;
    font-size:12px;
    color:black;
    font-weight: bold
}

.stfwvertmappercontainer:hover {
    box-shadow: 2px 2px 19px #444;
    -o-box-shadow: 2px 2px 19px #444;
    -webkit-box-shadow: 2px 2px 19px #444;
    -moz-box-shadow: 2px 2px 19px #fff;
}

.stfwvertmapperover {
    position: absolute;
}

.stfwvertmapperouter {
    position: absolute;
    height:110px;
    width:160px;
    border-radius: 4em;
}

.mappername {
    background-color:#ffe699;
    position: absolute;
    left: .5em;
}

.mappername:hover {
    color:#99e6ff;
}

.stfwvertmapperin {
    height:150px;
    width:200px;
    position: absolute;
    left:0;
}

.stfwvertmapperconnect {
    position: relative;
    border:1px;
    height:160px;
    width:210px;
    opacity:0
}

.stfwvertmapperout {
    height:150px;
    width:200px;
    position: absolute;
    left:0;
}

/**
 * END CC VERTICLE MAPPER
 ******************************************************************************/

.renamer {
    position: absolute;
    bottom: 1em;
    right: 5px;
    color: white;
    font-size:12px;
}

.renamer:hover {
    color:orange;
}

/** ELEMENTS **/
.window {
    position: absolute;
}

.robbWindow {
    cursor: move;
}


.cleardiv {
    border: none !important;
}

.window:hover {
    box-shadow: 2px 2px 19px #444;
    -o-box-shadow: 2px 2px 19px #444;
    -webkit-box-shadow: 2px 2px 19px #444;
    -moz-box-shadow: 2px 2px 19px #fff;
}

.source-target-demo .window {
    border: 2px dotted #346789;
    width: 14em;
    height: 4em;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
}

.source-vmapper .window {

    width: 14em;
    height: 4em;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
}

.smallWindow {
    cursor: move;
}

/** ENABLE/DISABLE LINK **/
#enableDisableSource {
    position: absolute;
    top: 1em;
    right:5px;
    color: #DDD;
    font-size:12px;
}

#enableDisableSource:hover {
    color: orange;
}

.enableDisableTarget {
    color:white;
    right:5px;
    top:5px;
    position:absolute;
    font-size:12px;
}

.enableDisableTarget:visited, .enableDisableTarget:focus {
    color:white;
}

.enableDisableTarget:hover {
    color: orange;
}

.element-disabled {
    outline:2px solid lightcoral;
}

/** LARGE WINDOW STYLE AND POSITION **/
#sourceWindow1 {
    background-color: #0d78bc;
    top: 9em;
    left: 14em;
    width: 14em;
    height: 4em;
    text-align: left;
}
/** LARGE WINDOW STYLE AND POSITION **/
#sourceWindow2 {
    background-color: #0d78bc;
    top: 9em;
    left: 40em;
    width: 14em;
    height: 4em;
    text-align: left;
}

/** SMALL WINDOW POSITIONS **/
#targetWindow2 {
    top: 29em;
    left: 44em;
}

#targetWindow3 {
    top: 23em;
    left: 2em;
}

#targetWindow4 {
    top: 31em;
    left: 26em;
}

#targetWindow5 {
    top: 39em;
    left: 13em;
}

#targetWindow6 {
    top: 21em;
    left: 56em;
}

/** JSPLUMB ARTEFACTS **/
.jtk-endpoint {
    z-index: 32;
}

path, .jtk-endpoint {
    cursor: pointer;
}

/* ENDPOINT STYLES */
.large-green circle {
    fill:#558822;
}

.small-blue circle {
    fill:#0d78bc;
}

.small-in circle {
    fill:#ff3030;
}

.small-out circle {
    fill:#6ccf25;
}

