/* input(567,22): run-time error CSS1035: Expected colon, found '{'
input(641,34): run-time error CSS1035: Expected colon, found '{'
input(732,14): run-time error CSS1035: Expected colon, found '.' */
.st-toolbar {
    height: 50px;
    display: flex;
    padding: 0px;
    vertical-align: middle;
    background: #fff;
    position: relative;
    z-index: 3;
}

    .st-toolbar > div {
        display: flex;
        gap: 20px;
        flex: 0 0 auto;
    }

        .st-toolbar > div:first-of-type {
            flex: 1 1 auto;
        }

        .st-toolbar > div > span {
            flex: 0 0 auto;
        }

    .st-toolbar .icon {
        font-size: 35px;
        width: 50px;
        text-align: center;
        line-height: 48px;
        display: inline-block;
    }

    .st-toolbar .k-button {
        box-shadow: none;
        height: 42px;
        margin: 4px;
    }

        .st-toolbar .k-button .k-sprite {
            font-size: 1.5em;
        }

#ST_AddNote_Window .k-dropdown-wrap .k-select {
    width: 13px;
}

#ST_ViewNotesGrid .k-state-selected td {
    background: #ccc;
}

#ST_ViewNotesGrid tr.unread {
    font-weight: bold;
}

.specimen-tracker-content {
    margin: 0;
}

.specimen-tracker-main {
    height: 100%;
    display: flex;
    background: #eee;
    margin: 10px;
    border-radius: 10px;
    overflow-y: auto;
}

.k-state-collapsed .case-tracking-status {
    margin-left: -15px;
    text-align: center;
}

    .k-state-collapsed .case-tracking-status .text {
        display: none;
    }

    .k-state-collapsed .case-tracking-status #ViewWorkflowProgress {
        font-size: 34px;
        line-height: 20px;
    }

#STCaseInfo {
    width: 100%;
}

div#STHolder {
    display: flex;
}

#STHolder .collapsible {
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

    #STHolder .collapsible.collapsed {
        max-height: 50px;
    }

    #STHolder .collapsible.expanded {
        border-radius: 10px;
        box-shadow: 0px 2px 5px -1px grey;
        max-height: 300px;
    }

    #STHolder .collapsible > span .mdi-chevron-down {
        pointer-events: none;
        opacity: 0;
        font-size: 25px;
        line-height: 20px;
        vertical-align: middle;
    }

    #STHolder .collapsible > span:first-of-type .mdi-chevron-down {
        pointer-events: all;
        opacity: 1;
    }

    #STHolder .collapsible > span:last-of-type .mdi-chevron-down {
        pointer-events: none;
        opacity: 0;
    }

.latest-material, .k-grid tr.k-alt.latest-material {
    background-color: lightblue;
}

.custom-input-loader {
    animation: k-loading-animation 1s linear infinite;
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: 15px 0 0 -15px;
    border: 1px solid #555;
    border-left-color: #fff;
    border-right-color: #fff;
    border-radius: 50%;
}

    .custom-input-loader:after {
        content: "";
        animation: k-loading-animation .5s linear reverse infinite;
        width: 15px;
        height: 15px;
        display: inline-block;
        border: 1px solid #555;
        border-left-color: #fff;
        border-right-color: #fff;
        border-radius: 50%;
        margin-left: 4px;
    }

.st-cuttingview-separator {
    width: 1px;
    background-color: #E5E5E5;
    margin: 7px 5px;
}

.st-cuttingview-main-color {
    color: #1F779A;
}

.st-cuttingview-case-actions {
    padding-bottom: 20px;
    height: 30px;
    margin: 0 25px 0 20px;
}

#CuttingViewProfilesDdl .k-dropdown .k-dropdown-wrap > .k-input {
    background-color: white;
    height: auto;
}

#CuttingViewProfilesDdl.k-dropdown .k-dropdown-wrap {
    background-color: white !important;
}

    #CuttingViewProfilesDdl.k-dropdown .k-dropdown-wrap:hover {
        background-color: white !important;
    }

.test-form-layout {
    padding-left: 20px;
}

    .test-form-layout .field-types .k-listview-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        /*justify-content: space-between;*/
        row-gap: 15px;
    }

.test-field-type-listview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    font-size: 15px;
    width: 220px;
    color: #2b3747;
    /*border: 1px solid #f0f1f4;*/
    line-height: 5px;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 1px 1px 2px 0px #ddd;
    cursor: move;
}

    .test-field-type-listview-item label {
        margin: 0;
        cursor: move;
    }

    .test-field-type-listview-item span.mdi {
        padding: 0 10px;
        font-size: 18px;
    }

.test-form-layout .user-fields .k-listview {
    overflow: auto;
    border: 2px dashed #ccc;
    background: #f8f9fa;
}

.test-form-layout .user-fields .k-listview-content {
    height: auto;
    display: flex;
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px;
    align-content: flex-start;
}

.test-user-field-listview-item {
    padding: 10px 10px 10px 35px;
    background-color: #fff;
    box-shadow: 1px 1px 6px 0px #ddd;
    border-radius: 5px;
    height: fit-content;
    position: relative;
}

    .test-user-field-listview-item .test-user-field-drag-handle {
        font-size: 22px;
        line-height: 38px;
        cursor: move;
        opacity: 0.8;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        position: absolute;
        top: 7px;
        left: 8px;
    }

    .test-user-field-listview-item .user-field-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .test-user-field-listview-item .user-field-header .field-name-container {
            flex: 1;
            font-size: 16px;
        }

            .test-user-field-listview-item
            .user-field-header
            .field-name-container
            .k-textbox {
                border: none;
                /*border-bottom: 1px solid rgb(155, 38, 66);*/
                font-style: italic;
                font-size: 15px;
                padding: 0;
                margin-bottom: 5px;
                font-weight: 600;
            }

        .test-user-field-listview-item
        .user-field-header
        .user-field-actions {
            display: flex;
        }

            .test-user-field-listview-item
            .user-field-header
            .user-field-actions
            .verification-button-wrapper {
                transform: scale(0.7) translate(0, -2px);
            }

            .test-user-field-listview-item
            .user-field-header
            .user-field-actions
            .k-checkbox:focus + .k-checkbox-label::before,
            .test-user-field-listview-item
            .user-field-header
            .user-field-actions
            .k-checkbox:focus:checked + .k-checkbox-label::before {
                box-shadow: none !important;
            }

            .test-user-field-listview-item
            .user-field-header
            .user-field-actions
            .mdi-lock {
                color: #9d9e9f;
            }

            .test-user-field-listview-item
            .user-field-header
            .user-field-actions
            .mdi:not(.mdi-lock) {
                cursor: pointer;
            }

                .test-user-field-listview-item
                .user-field-header
                .user-field-actions
                .mdi:not(.mdi-lock):hover {
                    opacity: 0.7;
                }


    .test-user-field-listview-item .user-field-content .user-field-type-info {
        background-color: #f5f6f8;
        padding: 5px 10px;
        border-radius: 5px;
        font-style: italic;
    }

        .test-user-field-listview-item .user-field-content .user-field-type-info .mdi {
            padding-right: 10px;
            color: #777;
        }

.user-fields-drag-over-drop-area {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #2666cf;
    opacity: 0.5;
    z-index: 10;
    position: absolute;
    left: 2px;
    top: 2px;
}

.user-field-options-header {
    height: 21px;
    display: flex;
    justify-content: space-between;
}

    .user-field-options-header > span {
        font-size: 14px;
        display: flex;
        align-items: center;
        font-weight: 600;
        cursor: pointer;
    }

        .user-field-options-header > span.sort-action > span.mdi {
            font-size: 18px;
            padding-top: 2px;
            margin-right: 5px;
        }

.user-field-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

    .user-field-options-container .mdi.mdi-delete-forever:hover {
        opacity: 0.7;
        cursor: pointer;
    }

.k-textbox.user-field-option {
    display: flex;
    align-items: center;
    background: #fff;
}

span.test-user-field-option-drag-handle {
    font-size: 22px;
}

.user-field-option > .k-textbox {
    border: 0;
}

span.test-user-field-default-btn {
    font-size: 10px;
    line-height: 10px;
    width: 130px;
    font-weight: 600;
}

.sort-types-context-menu {
    padding: 5px 0;
}

    .sort-types-context-menu > li {
        cursor: pointer;
    }

        .sort-types-context-menu > li.selected {
            color: #9b2642;
        }

    .sort-types-context-menu .mdi {
        font-size: 18px;
        padding-right: 5px;
    }

    .sort-types-context-menu > li.selected:hover,
    .sort-types-context-menu > li.selected.k-state-hover {
        color: #9b2642b3 !important;
    }

.special-code-editor .editor-inline-wrapper {
    cursor: text;
    flex: 1;
}

.test-form-layout .panel-grid .k-listview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
}

.test-form-layout .panel-grid .k-listview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
}

.panel-grid-listview-item {
    border: 1px solid #bbb;
    color: #777;
    background-color: #fff;
    border-radius: 30px;
    padding: 0 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    box-sizing: content-box;
    cursor: pointer;
}

    .panel-grid-listview-item.field-hidden {
        background-color: #bbb;
    }

        .panel-grid-listview-item.field-hidden .field-name {
            color: #fff;
            font-weight: 400;
        }

    .panel-grid-listview-item .field-name {
        font-weight: 600;
        font-size: 13px;
    }

.add-speciality-button {
    box-shadow: none;
    font-size: 16px;
    background-color: #9b2642;
    color: white;
}

.specialty-procedure-defaults-editor .basic-fields-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

    .specialty-procedure-defaults-editor .basic-fields-container > .control-with-title-box {
        flex: 1;
    }

.control-with-title-box .editor-inline-wrapper {
    height: 90px;
}
.re-rule-editor .back {
    display: flex;
    gap: 10px;
    margin-left: -5px;
}

.re-rule-editor h2 {
    margin: 10px 0;
}

.re-rule-editor .re-rule-details-container {
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 2px 2px 4px 0px #b9b9b940;
    margin-bottom: 20px;
}

.re-rule-editor .re-rule-details-container .description-textarea {
    width: 100%;
    height: 100px;
    resize: none;
}

.re-rule-editor .re-control-wrapper {
    display: flex;
    flex-direction: column;
}

.re-rule-editor .re-control-wrapper label {
    margin-bottom: 0;
    line-height: 30px;
    font-size: 15px;
}

.re-rule-editor .re-control-wrapper span {
    min-height: 35px;
    max-height: 35px;
}

.re-rule-editor .section-wrapper {
    margin-bottom: 20px;
    border: 1px solid #d3d3d3;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 2px 4px 0px #b9b9b940;
    border-radius: 5px;
    overflow: hidden;
    padding-bottom: 20px;
}

.re-rule-editor .section-wrapper.actions-wrapper {
    min-height: 150px;
}

.re-rule-editor .section-wrapper .section-header {
    background-color: #f5f6f8;
    padding: 5px 10px;
}

.re-rule-editor .section-wrapper .section-content {
    padding: 0 20px;
    width: min(80%, 800px);
    display: flex;
    flex-direction: column;
}

.re-rule-editor .sources-all-any-wrapper .k-widget.k-dropdown {
    width: 60px;
    margin: 3px 5px;
    opacity: 1;

    .k-dropdown-wrap {
        & > .k-input {
            height: auto;
        }

        & > .k-select {
            opacity: 1;
        }
    }

    .k-icon {
        color: #9b2642;
    }
}

.re-rule-editor .actions-wrapper .add-action-row {
    display: flex;
    justify-content: space-between;
}

.re-rule-editor .actions-control {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.re-action-item-wrapper {
    display: flex;
    border: 1px solid #cfcfcf4a;
    border-radius: 10px;
    background: #f5f6f8;
    overflow: hidden;
}

.re-action-item-wrapper .drag-handle {
    width: 30px;
    background-color: #9b2642;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.re-action-item-wrapperr span.mdi-close {
    padding-left: 15px;
}

.re-action-item-wrapper .action-item-content {
    display: flex;
    flex: 1 1;
    align-items: center;
    padding: 2px 10px;
}

.re-action-item-wrapper .action-item-content > label {
    min-width: 130px;
    max-width: 130px;
    padding-right: 10px;
    margin-right: 10px;
    text-align: center;
}

.re-action-item-wrapper .action-item-content .action-parameters {
    display: flex;
    flex: 1 1;
    justify-content: space-between;
}

.re-action-item-wrapper .action-item-content .action-parameters .k-widget {
    background-color: #fff;
}

.re-action-item-wrapper .action-item-content .action-parameters {
    .action-parameters-container {
        display: flex;
        flex: 1 1;

        &.vertical-parameters {
            flex-direction: column;
            gap: 10px;
        }

        .full-width.action-parameter {
            display: flex;
            flex: 1 1;
            flex-direction: column;
        }

        .k-widget {
            &.k-combobox {
                width: 220px;
            }

            &.k-dropdown {
                width: 220px;

                .k-dropdown-wrap .k-input {
                    height: auto;
                }
            }
        }

        .large-text-action-parameter.k-widget.k-textbox {
            resize: none;
            height: 100px;
            padding: 5px 10px;
        }
    }
}

.re-rule-editor .ballon-editor-wrapper {
    position: relative;
}

.re-rule-editor .ballon-editor {
    right: -315px;
    width: 300px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 5px;
    gap: 5px;
    top: -2px;
    box-shadow: 0px 2px 5px -2px #000;
    border: 1px solid #e6e6e6;
}

.re-rule-editor .ballon-editor:before {
    /*box-shadow: -2px 4px 8px -4px #000;*/
    border: none;
    bottom: 58px;
}

.re-rule-editor .ballon-editor > label {
    line-height: 20px;
    font-size: 15px;
}

.re-rule-editor .ballon-editor > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.re-rule-editor .ballon-editor > div .k-dropdown-wrap {
    height: 32px;
}

.re-rule-editor .section-wrapper.validate-conditions-wrapper {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    position: relative;
}

.re-rule-editor
    .section-wrapper.validate-conditions-wrapper
    .k-widget.k-textbox {
    width: 200px;
}

.k-list-container.re-manager-field-dropdowntree.k-popup-dropdowntree {
    width: max-content !important;

    .k-widget.k-treeview {
        padding: 0;
    }

    .k-treeview .k-item {
        border: none;
        padding: 0;
        margin: 0;

        &:has(.k-state-focused) {
            background: #ffb200;
            color: #fff;

            > ul {
                background: #fff;
                color: #000;
            }
        }

        &:hover {
            background: #9b2642;
            color: #fff;

            > ul {
                background: #fff;
                color: #000;
            }
        }

        .k-state-focused {
            border: none;
        }

        :has(+ ul.k-group) {
            padding-left: 20px !important;
            background: #9b2642;
            color: #fff;

            .k-in {
                pointer-events: none;
            }
        }
    }
}

