html {
    scroll-behavior: smooth;
}
body {
    font-size:0.85em;
    font-family: 'Be Vietnam Pro',serif;
    background:#f4f5f6;
    color: #444;
}
a {
    color:#0C6291;
    text-decoration:none;
    cursor:pointer;
}
.container-xl {
    background: #f9f7fe;
}
#header-wrapper {
    width: 100%;
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 10;
    border-bottom: solid #eee;
    background: #f9f7fe;
}
#header-logo {
    justify-content: flex-start;
    align-items: center;
    gap: 22px;
    display: flex;
}
#header-logo-wrapper {
    justify-content: flex-start;
    /*align-items: center;*/
    gap: 6px;
    display: flex;
}
#header-icon {
    width: 19.80px;
    height: 18px;
    position: relative;
}
#header-icon i {
    width: 18.70px;
    height: 18px;
    left: 0px;
    top: 0px;
    position: absolute;
    color: #816DF0;
}
#header-name {
    color: #816DF0;
    font-size: 16px;
    font-family: Be Vietnam Pro; 
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}
#menu-wrapper {
    flex: 1 1 0;
    align-self: stretch;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    display: flex;
}
.menu-item-wrapper {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    gap: 5px;
    display: flex
}
.menu-item {
    color: #816DF0;
    font-size: 12px;
    font-family: Be Vietnam Pro;
    font-weight: 600;
    line-height: 18px;
    word-wrap: break-word;
    cursor: pointer;
}
#account-dropdown {
    display:none;
    position: absolute;
    right: 0;
    top: 39px;
    padding: 10px;
    z-index: 10;
    background: #f9f7fe;
    border: 1px #E4E8ED solid;
    border-top: none;
}
#account-dropdown .account-link {
    text-decoration: underline;
    font-weight: bold;
    /*color: #70CAC3;*/
}
#account-dropdown .account-info {
    cursor: auto;
}
#account-dropdown .user-name {
    margin: 0;
}
#chat-wrapper {
    height: 95vh;
    padding-left: 0;
    padding-right: 0;
    background: #FBFAFD;
    border-right: 1px #E4E8ED solid;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /*display: inline-flex;*/
    position: sticky;
    right: 0;
    top: 5vh;
}
#chat-actions {
    align-self: end;
    padding: 10px;
}
#attach-icon {
    padding-bottom: 10px;
}
#send-icon {
    /*color: white;
    font-size: 1.2em;
    background: #70CAC3;
    border-radius: 30px;
    justify-content: center;
    gap: 10px;
    display: flex;
    height: 30px;
    width: 30px;
    align-items: center;*/
    position: relative;
    left: 8px;
    top: 9.5px;
}
.send-load-icon {
    padding: 10px;
}
.raw-option-icon {
    background: #70CAC3;
    color: white;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.raw-option-icon.fa-floppy-disk {
    padding: 6px 7px;
}
.raw-option-icon.fa-play {
    padding: 6px 7.5px;
}
.raw-option-icon.fa-link {
    padding: 6px 5px;
}
/*.link-icon,
.code-icon,
.renew-icon {
    background: #70CAC3;
    border-radius: 50px;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}*/

.key-icon {
    width: 18px;
    height: 10px
}
.header {
    padding: 1em 0;
    background: #222834; 
    color: #fff;
}
.header h6 {
    font-weight:300;
    margin:0;
}
.header i {
    color: #bbb;
}
.header-menu {
    background: #fff;
    padding: 1.1em 0;
    font-size: 0.9em;
}
.bootstrap-table td,
.bootstrap-table th
{
    padding:0.75em 1.5em !important; 
    border-width:0;
}
.bootstrap-table tr
{
    border:0; 
}
.bootstrap-table .th-inner {
    padding-left:0.2em !important;
}
.bootstrap-table .fa-solid {
    font-size:1.2em;
}
.bootstrap-table td:nth-last-child(1) {
    text-align: right;
}
.text-muted {
    color: #bbb;
}
.holding {
    padding:2em;
    background: #fff;
    border-radius:0.25em;
}
.prompt a {
    color: #fff;
    text-decoration: underline;
}
.ai-bubble .prompt {
    color: white;
    font-size: 13px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;

    align-self: stretch;
    color: white;
    font-size: 13px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;

    width: 100%;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #463D82;
    box-shadow: 0px 12px 20px rgba(70, 61, 130, 0.10);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    /*display: inline-flex;*/
}
.user-bubble .prompt {
    align-self: stretch;
    color: rgba(48, 44, 66, 0.75);
    font-size: 13px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;

    width: 100%;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: white;
    box-shadow: 0px 12px 20px rgba(70, 61, 130, 0.10);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    /*display: inline-flex;*/
}
.system-prompt {
    color: white;
    font-size: 13px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;

    align-self: stretch;
    color: white;
    font-size: 13px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;

    width: 100%;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #B9B8C3;
    box-shadow: 0px 12px 20px rgba(70, 61, 130, 0.10);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    /*display: inline-flex;*/
}
.ai-bubble {
    margin-right:15%;
    margin-top: 1em;
    text-align:left;
    font-size:0.9em;
}
.user-bubble {
    margin-left:15%;
    text-align:right;
    font-size:0.9em;
}
.system-bubble {
    margin-top:1em;
    margin-right:15%;
    text-align:left;
    font-size:0.8em;
    color:#888;
}
.system-option-bubble {
    text-align: left;
    color: #888;
    width: fit-content;
}
.system-option-bubble .prompt-meta {
    height: 20px;
}
.system-option-prompt {
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0px 0px 2px #aaa, inset 0px 0px 10px #fff;
    white-space: nowrap;
    /*border: solid 2px #816DF0;*/
}
.system-option-prompt.multi {
    margin-bottom: 5px;
    margin-right: 5px;
}
.auto-options-wrap {
    display: inline-flex;
    flex-wrap: wrap;
}
.system-option-label {
    margin-bottom: 0;
    padding: 3px 0.5em;
    color: #302C42;
    font-size: 10px;
    font-family: Be Vietnam Pro;
    font-weight: 700;
}
.system-option-prompt a {
    color: #816DF0 !important;
}
.system-option-prompt i {
    padding-right: 7px;
}
.system-bubble a {
    color: #816DF0 !important;
}
.ai-bubble a {
    color: #70CAC3 !important;
}
#chat-window {
    overflow-y: scroll;
    padding: 20px !important;
    padding-bottom: 0 !important;
    max-height: none !important;
    width: 100% !important;
}
.chat-waiting-msg {
    display:none;
    padding-bottom: 20px;
}
#chat-col  {
    align-self: stretch;
    flex: 1 1 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
    -webkit-mask-image: linear-gradient(360deg, rgba(251, 250, 253, 0) 0%, #FBFAFD 3%);
    min-height: 40vh;
    max-height: 80vh;
    height: 80vh;
}
.prompt-meta {
    padding:0.2em 0.5em;
    color: #302C42;
    font-size: 10px;
    font-family: Be Vietnam Pro;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}
#prompt-wrapper {
    padding: 0 !important;
}
#prompt-form-wrapper {
    padding: 0 !important;
    max-height: 50vh;
    min-height: 15vh;
    /*height: 15vh;*/
    position: relative;
    bottom: 10px;
}
#text-send-wrapper {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 13px;
    border: 1px #DFE1E5 solid;
    justify-content: flex-start;
    display: inline-flex;
}
#prompt-send,
#attach-div {
    cursor: pointer;
}
#prompt-send {
    color: white;
    font-size: 1.2em;
    background: #70CAC3;
    border-radius: 35px;
    /* justify-content: center; */
    /*gap: 10px;*/
    display: flex;
    height: 35px;
    width: 35px;
    /* align-items: center; */
    position: relative;
}
#prompt-send.disabled {
    pointer-events: none;
    background: #B9B8C3 !important;
}
#prompt {
    display: none;
}
#prompt-span {
    flex: 1 1 0;
    color: rgba(48, 44, 66, 0.75);
    font-size: 12px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
    overflow-x: hidden;
    overflow-y: visible;
    outline: none;
    max-height: 45vh;
    min-height: 25px;
    padding: 20px;
    padding-right: 5px;
    border-right: 1px #e1e1e1 solid;
}
#prompt-span[contenteditable]:empty::before {
    content: attr(data-content);
    display: inline-block;
    cursor: auto;
}
.dotted-wrap {
    border-radius: 10px;
    border-color: DARKGRAY;
    border-style: dotted;
    margin: 10px;
    padding: 10px 20px;
    /*margin-top: -15px;*/
    margin-bottom: 0px;
}
p.no-resources {
    display: none;
    padding-top: 15px;
}
.resource-cards-container .dev-title {
    margin-bottom: -15px;
}
.resource-cards-container .output-card {
    width: 100%;
    height: fit-content;
}
.resource-cards-container {
    padding: 0;
    /*padding-top: 0;*/
    gap: 15px;
    /*padding-right: 40px;*/
    /*padding-bottom: 0px;*/
}
.source-container {
    gap: 0;
    position: relative;
    overflow: hidden; /* prob set this to scroll */
}
.source-container .raw-options {
    position: absolute !important;
    top: 13px;
    right: 20px;
    width: fit-content !important;
    margin: 0 !important;
}
.source-container .source-header {
    width: fit-content;
}
.source-text {
    position: relative;
    top: 0.4em;
    margin-left: 0.25em;
}
.source-info {
    width: 100%;
    height: 100%;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 5px;
    overflow: hidden;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    display: inline-flex;
}
.source-info .dataset {
    color: #302C42;
    font-size: 14px;
    font-family: Be Vietnam Pro;
    font-weight: 600;
    line-height: 12px;
    word-wrap: break-word;
}
.source-info .data-source {
    color: #302C42;
    font-size: 10px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 12px;
    word-wrap: break-word;
}
.source-info .db-icon {
    background: #816DF0;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.7em;
}
.source-details {
    margin-top: 15px;
}
.source-details .purpose,
.source-details .srcdataset {
    width: 100%;
    color: rgba(48, 44, 66, 0.75);
    font-size: 12px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
}
.source-details .purpose {
    margin-bottom: 10px;
}
.pt-2 {
    width: 100%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
    margin: 0;
    align-items: start;
}
.source-id-label {
    flex: 1 1 0;
    color: rgba(48, 44, 66, 0.75);
    font-size: 12px;
    font-family: Be Vietnam Pro;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
}
.resource-cards-container .output-card.auto-running {
    border: solid 5px #ff9637;
}
.step-card.auto-running {
    border: solid 5px #ff9637;
}
.step-card.failed {
    border: solid 5px #df2c14;
}
.source-loading-gear {
    display: none;
    background: #ff9637;
    padding: 5px;
    color: white;
    border-radius: 10px;
    white-space: nowrap;
}
.requirement-loading-gear i.fa-gear,
.source-loading-gear i.fa-gear {
    margin-left: 5px;
}
.requirement-loading-gear {
    display: none;
    background: #ff9637;
    padding: 5px;
    color: white;
    border-radius: 10px;
    white-space: nowrap;
    width: fit-content;
    margin-top: 10px;
    float: right;
}
#output-cards-wrapper {
    padding: 1rem 2rem;
}
.output-card {
    box-shadow: 0px 12px 20px rgba(70, 61, 130, 0.10);
    margin: 10px 0 10px 0;
    border-radius: 10px;
    position: relative;
    padding: 0;
}
.output-card .raw-options {
    gap: 10px;
    display: inline-flex;
    margin: 4px 0 12px 12px;
}
.source-id-div {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    background: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 1px #e1f1e1 solid;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}
#steps-container {
    padding: 10px 55px;
    padding-top: 0px;
}
.step-card {
    padding: 10px 20px;
    background-color: white;
    border-radius: 5px;
    border-color: #816DF0;
    border-style: solid;
    border-width: 1px;
}
.step-card i.step-icon {
    background: #816DF0;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.7em;
}
.step-card span {
    color: #816DF0;
    font-weight: bold;
    margin: 0 0 0 0.5em;
    vertical-align: text-bottom;
}
.step-card i.open-step-modal {
    float: right;
    color: #70CAC3;
    font-size: 1.5em;
    margin-top: .25em;
    cursor: pointer;
}
.vertical-middle-dotted-line.taller {
    height: 3em;
}
.vertical-middle-dotted-line:after {
    content: "";
    position: relative;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1.5px dotted DARKGRAY;
    height: 100%;
    display: inline-block;
}
.vertical-middle-dotted-line:after {
    content: "";
    position: relative;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1.5px dotted DARKGRAY;
    height: 100%;
    display: inline-block;
}
#no-steps-disclaimer {
    display: none;
    line-height: 6em;
    margin: 0;
    text-align: center;
    font-size: 1.1em;
}
#destination-cards-container {
    margin-top: -30px;
}
.ace-gutter {
    left: 0px;
    width: 20px;
    text-align: left;
}
.ace_gutter-cell {
    padding-left: 3px !important;
    padding-right: 3px !important;
    width: fit-content;
}
.ace_layer.ace_gutter-layer.ace_folding-enabled {
    width: 15px;
}
.pipeline-card,
.data-card,
.entity-card,
.source-card,
.dest-card {
    display:inline-block;
    width:220px;
    margin-right:1.5em;
}
.data-params,
.entity-params {
    max-height:18em;
    font-size:0.75em;
    padding:1em;
}

.dm-area {
    display:none;
}

#placeholder {
    width: 100%;
    text-align: center;
    font-size: 3em;
    color: #ccc;
    padding: 1.5em;
}

.src-opt {
    display:none;
}

.load-row {
    cursor:pointer;
    padding:0.5em 0;
    vertical-align: middle;
    border-top:1px solid #dadada;
}
.load-row:hover {
    background:#f5f5f5;
}
.source-container .raw-sources {
    display:none;
    padding: 10px;
}
.raw-output
{
    margin: 0.25em 0 0 0;
    border-radius: 10px;
    border: 1px solid #ddd;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: scroll;
    font-size: 0.9em;
    height: 220px;
    width: 100%;
    padding: 20px;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    font-family: monospace;
}
/*.source-container .raw-output {
    width: unset;
}*/
/*#raw-sources,
#raw-schema,
#raw-return,
#raw-etlreturn {

}*/
#raw-review {
    font-family: Be Vietnam Pro;
}

.raw-options
{
    /*float:right;*/
    margin-top:0.75em;
}
.code-source-info {
    float: right;
    margin-right: 12px;
    font-size:0.9em;
    padding-top:0.6em;
    color: #555;
}
.fa-btn 
{
    cursor:pointer;
}

div.modal .btn-primary {
    /*background-color: #816DF0;*/
    background-color: #70CAC3;
    border: none;
}

.ace-editor { 
    margin-top:0.25em;
    height:100%;
    margin: 0.25em 0 0 0;
    border-radius: 0.25em;
    border: 1px solid #ddd;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: scroll;
    /*font-size: 0.9em;*/
    height: 220px;
    width: 100%;
    padding: 20px;
    background: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}
.dev-title {
    color: #302C42;
    font-size: 18px;
    font-family: Be Vietnam Pro;
    font-weight: 700;
    line-height: 28px;
    word-wrap: break-word;
    padding: 0;
    text-align: center;
}
.section-title {
    color: #302C42;
    font-size: 18px;
    font-family: Be Vietnam Pro;
    font-weight: 700;
    line-height: 0px;
    word-wrap: break-word;
    margin-left: 30px;
    margin-top: 20px;
    padding: 0;
    margin-bottom: -10px;
}
.section-title span {
    background-color: #f9f7fe;
    z-index: 5;
    position: relative;
    padding: 0px 5px;
}
.stackrow {
    font-size:0.9em;
    margin-bottom: 1.5em;
}

.piperow {
    border-bottom:1px solid #ddd;
    padding:2.5em 0 1em 0;

}
.pipes-cont {
    background: #fff;
    border-radius: 1em;
    padding: 0 2em;
}
.pipetitle {
    font-size:1.2em;
    color:#816DF0;
    cursor:pointer
}
.pipetitle:hover {
    text-decoration: underline;
}

/* Allow for mobile toggle between views */
@media screen and (min-width: 992px) {
  .mobile-switch-view {
    display: none !important;
  }
}
@media screen and (max-width: 991px) {
  .chat.mobile-switch-view {
    display: block !important;
  }
  #output-cards-wrapper {
    display: none;
  }
}

#occlude-modal {
    top: 0;
    left: 0;
    opacity: 0.65;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color:#fff;
}