﻿.ChemdataTelerikNofication .k-notification-container .k-notification-wrap {
    text-align: center;
    align-items: center;
    width: min-content;
    min-width: 300px;
    max-width: 300px;
}

.k-notification-group {
    z-index: 9999;
}

.ChemdataTelerikNotificationGroup {
    z-index: 654321 !important;
}

ul.validation-errors > li.validation-message {
    color: crimson;
    font-weight: bold;
}

button.ChemdataButton {
    display: inline-block;
    margin: 0 auto;
}

div.ChemdataButtonRow {
    text-align:left;
    width: 500px;
    margin: 0 auto;
}

.align-horizontal {
    padding-top: 25px;
}

.checkbox-label {
    padding-right: 5px;
}

.container-bottom {
    padding-bottom: 15px;
}

.container-top {
    padding-top: 10px;
}

.c-details-align-permission {
    padding-right: 12px;
}

h3.k-header {
    padding-bottom: 15px;
}

div.mud-main-content h3 {
    padding-top: 10px;
    text-align: center;
}

div.mud-main-content p {
    padding-top: 10px;
    text-align: center;
}

div h3.k-header {
    text-align: center;
}

.detail-header {
    font-weight: bold;
}

.detail {
    text-align: left !important;
}

.k-grid th, .k-grid td button span {
    text-overflow: clip
}

.reset-remove-expression {
    float: right;
    margin-top: 1.5rem;
}

.reset-expression-button {
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.add-expression-button {
    margin-top: 1.5rem !important;
    float: right;
}

.expression-footer {
    float: left;
    width: 110%;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    margin-bottom: -1.25rem !important;
    margin-top: 1.25rem;
    border-bottom-width: 0;
    border-top-width: 1px;
}

.rule-expression-widget {
    max-width: 300px;
    width: 100% !important;
    padding: 0 0 0 5px;
}

.rule-subgroup {
    float: left;
    width: 100%;
    padding-top: 1.25rem;
}

.alignToDropdown {
    margin-bottom:4px !important;
}

.alignDropdownToMultiSelect {
    margin-bottom:6px;
    margin-right:5px;
}

.rule-expression-item {
    overflow: visible;
    width: 100%;
    display: inline-block;
    border-radius: 5px;
    padding: 5px 5px 5px 5px;
}

.rule-select-type {
    float: left;
    width: 50%;
}

.rule-expression-comparison {
    overflow: visible;
}

.rule-expression-field-selection {
    float: left;
    width: 50%;
}

.rule-expression-field {
    float: left;
    width: 45%;
}

.rule-comparison {
    float: left;
}

.rule-expression-operation {
    float: left;
    width: 30%;
    margin-left: 5%;
    margin-right: 2%;
}

.rule-expression-operation-selection {
    float: left;
    width: 50%;
}

.rule-expression-value-container {
    float: left;
    width: 35%;
}

.rule-expression-value {
    float: left;
    width: 100%;
}

.rule-group-comparison-item {
    float: left;
    width: 100%;
}

.rule-group-expression-item {
    float: left;
    width: 65%;
}

.rule-group-inverse-item {
    flex-direction:column;
    display:flex;
}

.rule-group-value-item {
    float: left;
    width: 20%;
}

.copy-scalar-expression {
    float: right;
    margin-top: -4.5rem
}

.comments-section-shown {
    height: 100%;
    width: 100%;
    margin-top: 11rem;
    float: right;
}

.comment-text {
    white-space: pre-wrap;
    word-break: break-word;
}

pre > a {
    color: #0060B6;
    text-decoration: none;
}

.comments-section-hidden {
    position: absolute;
    right: -2%;
}

.comment-box {
    background-color: #ffffff;
    position: initial;
    bottom: 0;
    z-index: 1000;
    border-top: 1px;
    border-top-style: solid;
    border-top-color: #dee2e6;
    margin-top: 1rem;
}

.comments-comment {
    max-height: 30rem;
    overflow-y: scroll;
    padding-top: 1rem;
}

.comment-comment-item {
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    border-color: #dee2e6;
    max-height: 100%;
    margin-left: 17px;
    margin-bottom: 7px;
}

.comments-comment-list {
    position: fixed;
    width: -webkit-fill-available;
    max-height: 100%;
    margin-right: 2rem;
}

.comments-button-shown {
    position: absolute;
    height: 3.6rem;
    width: 1rem;
    margin-left: -0.75rem;
}

.comments-button-hide {
    display: none;
}

.comments-button-hidden {
    position: absolute;
    right: -2%;
    top: 11.3rem;
}

.coding-wizard {
    float: left;
    width: -webkit-fill-available;
}

.coding-wizard-sidebar {
    float: left;
    width: 0%;
}

.coding-wizard-sidebar .w80 {
    width: 80%;
}

.comment-contents {
    width: 100%;
}


div.comments-comment-list > div.k-listview {
    height: auto;
}

.add-comment-button {
    margin-top: 1rem;
}

.comments-list-header {
    padding: 1rem 1rem 1rem 1rem;
    display: block;
    text-align: center;
    border-bottom: 1px;
    border-bottom-style: solid;
    border-bottom-color: #dee2e6;
}

.comments-comment-item-name {
    margin-top: 1.33em;
    margin-bottom: 1.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

.comments-show-hide-button-shown {
    float: left;
    position: relative;
    left: -1.75rem;

}

.comments-show-hide-button-shown + button {
    display: none;
}

.comments-show-hide-button-hidden + button {
    display: block;
}

    .comments-show-hide-button-hidden {
        float: left;
        position: relative;
        left: -1.75rem;
        margin-top: 4rem;
    }

div.comments-comment-list div.k-listview-content {
    overflow-y: scroll;
    max-height: 50vh;
    padding-right: 7px;
}

.popup-window {
    z-index: 44444;
}

.popup-button {
    position: relative;
    float: right;
}

.disabledStyle {
    color: darkgray;
    font-style: italic;
}

.canDragStyle {
    cursor: grab !important;
}

.selectedRow {
    font-weight: bold !important;
}

.successRuleResultHeader {
    color: #5efc03 !important;
}

.warningRuleResultHeader {
    color: #f5ec42 !important;
}

.errorRuleResultHeader {
    color: #ff0000 !important;
}

.defaultRuleResultHeader {
    color: #037bfc !important;
}

.errorRuleResultHeader {
    color: #fc4503 !important;
}

.horizontalButton {
    margin:5px;
}

.formWithMargin {
    margin:5px;
}

#ScalarPropertyPanels li.k-panelbar-header span {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.stacked-select {
    padding-top: 0.5rem
}

.stacked-button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.add-default-button {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.remove-default-button {
    margin-bottom: 0.5rem;
}

li.k-list-item {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-align-left {
    text-align: left;
}

.k-actions-horizontal {
    margin: 0 !important;
}

.k-window-content,
.k-prompt-container {
    padding: 16px 16px;
    border-width: 0;
    border-color: inherit;
    color: inherit;
    background: none;
    outline: 0;
    overflow: auto;
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    word-wrap:break-word;
}
.row-checkbox-disabled input[type="checkbox"] {
    pointer-events: none;
    opacity: 0.4;
}
.k-grid td {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.k-grid tr {
    height: auto;
}
.rules-on-demand .k-grid td .k-checkbox,
.rules-on-demand .k-grid th .k-checkbox {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
/* Telerik Blazor 4.3 – move filter icon away from the edge */
.k-grid-header .k-grid-filter-menu {
    right: 8px; /* adjust to taste */
}
.lists-row {
    display: flex;
    gap: 24px;
}

.list-column {
    flex: 1;
    min-width: 0; /* prevents overflow issues */
}

.middle-column {
    width: 40px;
}
.k-hierarchy-cell .k-svg-i-plus,
.k-hierarchy-cell .k-svg-i-minus {
    width: 12px !important;
    height: 12px !important;
}