:root {
    --color-unfilled: #ddd;
    --color-orange: #f7941e;
    --color-gold: #FFD700;
    --color-darker-white: #fbfbfb;
    --color-roctim-red: #d22025;
    --color-black-highlight: #333333;

    --color-black-text: #000000;

    --transition-color-hover: color 200ms ease-out;

    --pill-radius: 9999999px;
}

.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

html,
body {
    height: 100%;
    background-color: #fbfbfb
}

.panel {
    margin-bottom: 10px;
}


.hMachineName {
    font-size: 40px;

}

.version-dropdown {
    display: inline-block;
}

.settings-dropdown {
    display: inline-block;
}

.jtk-miniview {
    background-color: #80808063;
}

/*.jtk-miniview-element {*/
/*    background-color: #0000ff94;*/
/*}*/

.jtk-surface-selected-element {
    border: 6px dotted rgb(96, 122, 134) !important;
}

.scrollable-menu {
    height: auto;
    max-height: 270px;
    overflow-x: hidden;
}

.dropdown-item-author {
    display: inline-block;
    width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item-date {
    display: inline-block;
    width: 140px;
    overflow: hidden;
}

.dropdown-item-version {
    display: inline-block;
    overflow: hidden;
}

.dropdown-sort {
    margin: 3px !important;
    color: #ffffff !important;
    height: 36px !important;

}

.dropdown-sort:hover {
    background-color: #f7941e;
    color: #ffffff;
}

/* Style buttons */
.btn {
    background-color: #f7941e;
    /* Blue background */
    border: none;
    /* Remove borders */
    color: white;
    /* White text */
    padding: 12px 16px;
    /* Some padding */
    cursor: pointer;
    /* Mouse pointer on hover */
    display: inline-block;
    margin: 15px 5px;
    padding: 10px 15px 12px;
    font: 700 12px/1 'Open Sans', sans-serif;
    border-radius: 3px;
    /*box-shadow: inset 0 -1px 0 1px rgba(0,0,0,.1), inset 0 -10px 20px rgba(0,0,0,.1);*/
}

.btn-segmented {
    background-color: #f7941e;
    border-radius: 3px;
    cursor: pointer;
    color: white;
    margin: 7.5px 5px;
}

.btn-segmented div:hover {
    color: black;
}

.btn-segmented-left {
    margin: 0px;
    display: inline-flex;
    padding: 10px 15px 12px;
    border-right: #f1f1f1 solid 1px;
    font: 700 12px/1 'Open Sans', sans-serif;
    border-radius: 3px 0 0 3px;
}

.btn-segmented-right {
    margin: 0px;
    display: inline-flex;
    padding: 14px 4px 12px 1px;
}

.btn-segmented .dropdown-menu label {
    cursor: pointer;
    font-weight: normal
}

.btn-segmented .dropdown-menu input {
    cursor: pointer;
}

.btn-back {
    background-color: #a9a9a9;
    /* Blue background */
    border: none;
    /* Remove borders */
    color: white;
    /* White text */
    padding: 12px 16px;
    /* Some padding */
    cursor: pointer;
    /* Mouse pointer on hover */
    display: inline-block;
    margin: 15px 5px;
    padding: 10px 15px 12px;
    font: 700 12px/1 'Open Sans', sans-serif;
    border-radius: 3px;
}

.miniview-container {
    position: absolute;
    right: 5px;
    bottom: 0px;
    width: 125px;
    height: 165px;
    display: inline-block;
    z-index: 1;
}

.zoom-panel .btn {
    margin: 0px;
    background-color: white;
    color: black;
}

.dropdown-menu li {
    padding: 3px 20px;
}

.dropdown-menu li a {
    padding: 0;
}

/* Style buttons */
.btn-addFacility {
    background-color: #f7941e;
    /* Blue background */
    border: none;
    /* Remove borders */
    color: white;
    /* White text */
    cursor: pointer;
    /* Mouse pointer on hover */
    display: inline-block;
    margin: 0px;
    font: 700 12px/1 'Open Sans', sans-serif;
    border-radius: 3px;
    float: right;
    width: 100%;
    height: 100%;
    font-size: 10vw;
    /*box-shadow: inset 0 -1px 0 1px rgba(0,0,0,.1), inset 0 -10px 20px rgba(0,0,0,.1);*/
}

button#versionDropdownMenuButton {
    outline: none;
    border: none;
}

.form-control-addInput {
    display: block;
    width: 105%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    float: left;
}

/* Darker background on mouse-over */
/*.btn:hover {*/
/*    background-color: #f7941e;*/
/*    filter: brightness(85%)*/
/*}*/

.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none;
}

.btn-delete {
    background-color: #DA2128;
    /* Red background */
}

/* By having this class before btn-locked, btn-locked takes priority */
.btn-delete.active {
    .btn-delete {
        background-color: #91161a;
        /* Red background */
    }
}

.btn-locked {
    background-color: #c0c0c0;
    /*Blue background */
    cursor: auto;
}

.btn-locked:hover {
    background-color: #c0c0c0;
    /* Blue background */
}

.btn-locked-text {
    opacity: 0.3;
    cursor: auto;
}

.center-menu-items {
    display: inline-block;
}

.center-menu-items .btn {
    /* Necessary or dropdown menus will be hidden */
    margin: 7.5px 5px;
}

.right-menu-items {
    display: inline-block;
    float: right;
}

.right-menu-items .btn {
    margin: 5px;
}

.btn-signup {
    width: 50%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0px;
    font-size: 15px;
    border-radius: 0;

}

.btn-signup-selected {
    background-color: #f5f5f5;
    !important;
    color: #333333;
}

.plant-progress {
    width: 100%;
    height: 100%;
    background-color: rgba(60, 60, 60, 0.6);
    position: absolute;
    display: none;
    position: relative;
    z-index: 1000;
}

.plant-loader {
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    display: block;
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    border: 16px solid #FFFFFF;
    /* White */
    border-top: 16px solid #f7941e;
    /* Orange */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    left: 46%;
    top: 40%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.plant-loader h3 {
    position: absolute;
    top: 55%;
    left: 49.5%;
    transform: translate(-50%, -50%);
    color: #f7941e;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

#plant-loader-progress-bar {
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 240px;
    height: 24px;
    background: #eee;
    border-radius: 4px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.alertBox {
    margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 5px;
    min-width: 10%;
    text-align: center;
    opacity: 1;
    display: none;
    border: 1px solid black;
    z-index: 1001;
    overflow-y: auto;
    max-height: 50vh;
    overflow-x: hidden;
}

.overlayDiv {
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.5;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.plant-owner-indicator {
    margin: 5px;
    padding: 5px;
    background-color: #ddd;
    color: black;
    border: none;
    /* Remove borders */
    display: inline-block;
    font: 700 12px/1 'Open Sans', sans-serif;
    border-radius: 3px;
    cursor: default;
}

.star-widget input {
    display: none;
}

.star-widget label {
    font-size: 19px;
    color: #ddd;
    float: right;
    padding: 0px;
    transition: var(--transition-color-hover);
}

.star-widget input:not(:checked)~label {
    color: var(--color-unfilled);
}

.star-widget input:not(:checked)~label:hover {
    color: var(--color-orange);
}

.star-widget input:checked~label {
    color: var(--color-gold);
}

.button-reset {
    -webkit-appearance: none;
    border-radius: 0;
    text-align: inherit;
    background: 0;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    border: none;
    color: inherit;
    font: inherit;
}

.modify-directory {
    margin-left: 5px;
    color: var(--color-unfilled);
    transition: var(--transition-color-hover);
}

.modify-directory button {
    width: 20px;
    height: 20px;
    font-size: 19px;
}

.modify-directory:hover {
    color: var(--color-orange);
}

.modify-directory.active {
    color: var(--color-orange)
}

.directory-picker {
    display: none;
    position: absolute;
    top: 60px;
    height: calc(100% - 60px);
    width: 100%;
    background: var(--color-darker-white);
    z-index: 2;
    padding: 10px;
}

.directory-picker ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.panel-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px 0;
}

.button-group {
    display: flex;
}

.group-button {
    background-color: var(--color-orange);
    padding: 0 1rem;
    color: white;
    height: 4rem;
    border-right: var(--color-unfilled) 1px solid;
}

.group-button>span {
    font-size: 20px;
    transform: rotate(0deg) translateY(-1px);
    transition: transform 0.3s ease-in-out;
}

.group-button:hover {
    color: var(--color-black-highlight);
}

.group-button:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.group-button:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-right: None;
}

.group-button.active {
    filter: brightness(90%);
}

.group-button.active:hover {
    color: white;

}

.group-button.reversed-sort>span {
    transform: rotate(180deg) translateY(-6px);
}

.panel-folder-creator {
    display: flex;
    gap: 5px;
    align-items: center;
}

.panel-folder-creator button {
    color: var(--color-orange);
    font-size: 40px;
}

.folder-nav {
    margin-top: 40px;
    margin-left: -1px;
    background: var(--color-orange);
    color: white;
    padding: 10px 10px 10px 15px;
    z-index: 2000;
    border: var(--color-unfilled) 1px solid;
    border-top: none;
    width: 100vw;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    font-family: sans-serif;
}

.folder-nav::before {
    --left-distance: 146px;
    content: "";
    position: absolute;
    width: calc(100% - var(--left-distance));
    height: 2px;
    background-color: var(--color-roctim-red);
    top: 118px;
    left: var(--left-distance);
}

.folder-nav button {
    font-size: 20px;
    transition: var(--transition-color-hover);
}

.folder-nav button:hover {
    color: var(--color-black-highlight);
}

.folder-nav button.destructive:hover {
    color: var(--color-roctim-red);
}

.folder-nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
}

.folder-nav-breadcrumb a {
    color: white;
    font-weight: bold;
    transition: var(--transition-color-hover);
}

.breadcrumb-divider {
    font-size: 22px;
}

.folder-nav a:hover {
    color: var(--color-black-highlight);
}

.folder-nav h2 {
    flex-grow: 1;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 12pt;
}

.folder-nav span {
    font-weight: 600;
}

.folder-nav-margin {
    height: 50px;
}

.folder-heading {
    display: flex;
    justify-content: space-between;
}

.folder-heading button {
    color: var(--color-unfilled);
    font-size: 18px;
    transition: var(--transition-color-hover);
}

.folder-heading>button:hover {
    color: var(--color-roctim-red);
}

.folder-heading>div>button:hover {
    color: var(--color-orange);
}

.folder-heading>div.active>button {
    color: var(--color-orange);
}

.folder-move {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 300ms ease-out;
    width: fit-content;
    white-space: nowrap;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer
}

.folder-move[data-current="true"] {
    font-weight: bold;
}

.folder-move:hover {
    background-color: var(--color-orange);
    color: white;
}

.folder-move[data-current="true"]:hover {
    background-color: var(--color-roctim-red);
    font-weight: normal;
}

.folder-move p {
    margin: 0;
}

.folder-move span {
    max-width: 0;
    overflow: hidden;
    font-weight: bold;
    transition: max-width 300ms ease-in-out;
}

.folder-move:hover span {
    max-width: 300px;
}

.no-folder-text {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

/* Enlarge the JsPlumbToolkit connection drag icons */
.jtk-flowchart-handle {
    width: 40px;
    /* Modified by Roctim */
    height: 40px;
    /* Modified by Roctim */
    line-height: 40px;
    /* Modified by Roctim */
    font-size: 26px;
    /* Modified by Roctim */
}

/* Enlarge the JsPlumbToolkit connection delete icons */
.jtk-edge-delete {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
}

.report-dropdown {
    display: inline-block;
}

.hide-show-stream-parameter:hover {
    color: #F7941E;
}

.hide-show-stream-parameter-all:hover {
    color: #F7941E;
}

.inverted {
    filter: brightness(0) invert(100%);
}

.roctim-hidden {
    /* the bootstrap .hidden has !important */
    display: none;
    opacity: 0;
}

.row-consumables {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.notification-popup {
    position: fixed;
    top: 0%;
    left: 0%;
    z-index: 10000;
    max-width: 300px;
    padding: 15px;
    border-radius: 5px;
    opacity: 1;
}

.message-success {
    background-color: rgba(0, 255, 0, 0.1);
}

.rotate-popup-container {
    flex-direction: row;
    justify-content: space-between;
    /* Ensure space between columns */
    align-items: stretch;
    /* Make sure both columns are the same height */
    gap: 10px;
    /* Optional: Space between columns */
    display: flex;
    margin: 10px 10px 0px 10px;
    text-align: left;
}

.rotate-popup-container>div {
    flex: 1;
    /* Ensures equal width for both child elements */
    padding: 10px;

}

.rotate-popup-rotateImg {
    width: 25%;
}

.rotate-popup-comment {
    resize: none;
}

.rotate-text-input {
    width: auto;
}


.rotate-check-span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rotate-checkbox-label {
    font-weight: normal;
}