/* #region Site Design */

.logo {
    width: 121px;
    height: 22px;
    margin-right: 7px;
    background: url('../img/logo2.png') no-repeat;
    display: inline-block;
}

.page-button-container {
    min-height: 45px;
    background: #fff;
    padding: 10px 20px;
}

.panel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.fill-panel {
    overflow: auto;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding-right: 15px;
}

.left-panel {
    height: 100%;
    overflow: auto;
    width: 250px;
}

    .left-panel li {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

.left-panel-border {
    box-shadow: 1px 0px 0px rgba(0,0,0,0.1);
}

.right-panel {
    overflow: auto;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 250px;
    right: 0px;
}

.drag-handle {
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 8px;
    cursor: w-resize;
    z-index: 999;
}

nav.side-navbar ul li span {
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-weight: 300;
    border-left: 4px solid transparent;
}

#header-title {
    position: relative;
    top: -2px;
}

/* #endregion */

/* #region Globals */

a span:hover {
    text-decoration: underline;
}

.content-inner-views-container {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.right-container {
    position: absolute;
    right: 0px;
}

.page-header {
    flex: 0 1 auto;
}

.ellipse-cell {
    line-height: 1rem;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
}

.ellipse-container {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: table;
    table-layout: fixed;
    width: 100%;
}

    .ellipse-container a, .ellipse-container label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: table-cell;
    }

.ellipse-cell-container {
    width: 100%;
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}

    .ellipse-cell-container div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.views-container {
    flex: 1 1 auto;
    position: relative;
}

.view {
    display: none;
}

.view-fill {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.view-fill-content-with-page-button {
    position: absolute;
    top: 51px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.card-fill-container {
    position: absolute;
    top: 41px;
    bottom: 0px;
    left: 15px;
    right: 15px;
}

.card-fill-container-no-tabs {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 15px;
    right: 15px;
}

.card-fill-width-container {
    width: 100%;
    margin-left: 15px;
    margin-right: 15px;
}

.nav-tabs-container {
    position: absolute;
    top: 42px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: auto;
}

.hidden {
    display: none;
}

.invisible {
    visibility: hidden;
}

.inline-block {
    display: inline-block;
}

.nowrap {
    white-space: nowrap !important;
}

.overflow-auto {
    overflow: auto;
}

.overflow-visible {
    overflow: visible;
}

.overflow-hidden {
    overflow: hidden;
}

.pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.tooltip-label {
    margin-left: 5px;
    cursor: pointer;
}

.numeric-input {
    min-width: 111px !important;
}

.input-group-text .fa {
    cursor: pointer;
}

.hover:hover {
    background-color: #ececf6;
}

.check-label > input {
    margin-right: 3px;
}

.i-checks {
    white-space: nowrap;
}

.disabled {
    color: rgba(0, 0, 0, 0.3) !important;
}

.disabled-control, .disabled-control:focus {
    background-color: #e9ecef;
    opacity: 1;
}

    .disabled-control .expression-value-function {
        display: none;
    }

.border-top-0 {
    border-top: 0px;
}

.border-bottom-0 {
    border-bottom: 0px;
}

.text-xs {
    font-size: 0.7rem;
}

.text-sm {
    font-size: 0.8rem;
}

.text-m {
    font-size: 0.9rem;
}

.text-container {
    word-break: break-word;
}

.multi-line {
    max-height: 300px;
}

.page-info-icon {
    position: absolute;
    top: 0px;
    right: 15px;
    cursor: pointer;
}

.page-info-icon-inline {
    position: relative;
    top: -3px;
    cursor: pointer;
}

.page-icon-2 {
    position: absolute;
    top: -2px;
    right: 35px;
    cursor: pointer;
}

.page-icon-3 {
    position: absolute;
    top: -2px;
    right: 55px;
    cursor: pointer;
}

.page-info-container {
    position: absolute;
    top: 0px;
    right: 15px;
    width: auto;
    cursor: pointer;
}

.fa-left-1 {
    position: absolute;
    left: -25px;
}

.fa-left-2 {
    position: absolute;
    left: -45px;
}

.value-diff-row-removed, .value-diff-row-removed a {
    opacity: 0.7;
    text-decoration: line-through !important;
}

.value-diff-row {
    border-left: 1px solid #6821ff !important;
    border-right: 1px solid #6821ff !important;
}

    .value-diff-row td {
        border-top: 1px solid #6821ff !important;
        border-bottom: 1px solid #6821ff !important;
    }

    .value-diff-row.bg-primary {
        background-color: #6821ff !important;
    }

.value-diff, .value-diff-drop-down .ui-dropdownlist-parent-container {
    border: 1px solid #6821ff !important;
}

    .value-diff .input-group-append {
        border-left: 1px solid #6821ff !important;
    }

.value-diff-container {
    padding-top: 4px;
    padding-left: 10px;
}

.value-diff-only-icon {
    color: #6821ff !important;
}

.value-draft-diff-only-icon {
    color: #fe971a !important;
}

.value-diff-icon {
    color: #6821ff !important;
    cursor: pointer;
}

.value-diff-icon-flex {
    position: absolute;
    right: 2px;
    top: 7px;
}

.value-diff-tree-node, .value-diff-label {
    color: #6821ff !important;
}

.list-inline > li.active > .value-diff-tree-node > a, .list-inline > li > .value-diff-tree-node > a:hover {
    background: #6821ff !important;
    border-left: 4px solid #9d70fc;
    color: #fff;
}

.value-history-icon, hover-icon {
    cursor: pointer;
    position: absolute;
    top: 3px;
    right: 0px;
}

.value-history-icon-inline {
    cursor: pointer;
    display: inline-block;
    position: relative;
    top: -3px;
}

.z-index-top {
    z-index: 999;
}

.bg-white {
    background-color: #ffffff !important;
}

.export-icon {
    cursor: pointer;
    float: right;
    color: #000;
    margin-top: 5px;
    margin-right: 15px;
}

/* #endregion */

/* #region Controls */

.card-body-collapsed {
    padding: 0.75rem;
}

.card-body-collapser {
    position: absolute;
    top: 1px;
    left: 3px;
}

.scroller-top-up {
    position: fixed;
    cursor: pointer;
    font-size: 0.8em;
    opacity: 0.07;
    padding-left: 5px;
    z-index: 999;
}

.scroller-top-down {
    margin-top: 14px;
    position: fixed;
    cursor: pointer;
    font-size: 0.8em;
    opacity: 0.07;
    padding-left: 5px;
    z-index: 999;
}

.scroller-bottom-down {
    bottom: 79px;
    position: fixed;
    cursor: pointer;
    font-size: 0.8em;
    opacity: 0.07;
    padding-left: 5px;
    z-index: 999;
}

.scroller-bottom-up {
    bottom: 97px;
    position: fixed;
    cursor: pointer;
    font-size: 0.8em;
    opacity: 0.07;
    padding-left: 5px;
    z-index: 999;
}

    .scroller-top-up:hover, .scroller-top-down:hover, .scroller-bottom-up:hover, .scroller-bottom-down:hover {
        opacity: 1;
    }

/* #endregion */

/* #region Grid */

.table-input td, .table-input th {
    padding: 0.1rem !important;
}

.grid-container {
    position: relative;
    display: inline-block;
    height: 100%;
}

.ui-grid {
}

.ui-grid-container {
    position: relative;
    font-size: .85em;
}

.ui-grid-topContainer {
    position: relative;
    width: 100%;
}

.ui-grid-bottomContainer {
    position: relative;
    padding-top: 5px;
    width: 100%;
    height: 25px;
    border-top: 1px solid #dee2e6;
}

    .ui-grid-bottomContainer .ui-grid-rowCount {
        margin: 5px auto;
        color: #333;
        text-align: center;
        font-weight: bold;
    }

.ui-grid-table-container {
    position: relative;
    display: inline-block;
    overflow: visible;
    width: 100%;
}

.ui-grid-container-wrapper {
    position: relative;
    clear: both;
    width: 100%;
}

.ui-grid-table-container-scroller {
    position: relative;
    overflow: auto;
    margin: 0px auto;
    padding-bottom: 3px;
    max-height: 500px;
    width: 100%;
}

.ui-grid-table-container-scroller-sizer {
    background-color: transparent;
    z-index: 1;
    width: 1px;
    height: 1px;
    position: absolute;
    visibility: hidden;
}

.ui-grid-autoFetchLoading, .ui-grid-maxTotalRow {
    position: relative;
    padding-top: 5px;
    text-align: center;
    font-style: italic;
}

.ui-grid-autoFetchLoading-icon {
    display: inline-block;
}

.ui-grid-floating-header-container {
    position: absolute;
    top: 0px;
    overflow: hidden;
    width: 100%;
    border-bottom: none;
    background-color: #ffffff;
}

.ui-grid-pageSize {
    float: right;
    margin-bottom: 3px;
}

    .ui-grid-pageSize input {
        margin-left: 3px;
        width: 32px;
        height: 13px !important;
    }

.ui-grid-rowCount {
    margin: 5px auto;
    color: #333;
    font-weight: bold;
}

.ui-grid-showMore {
    position: relative;
    display: none;
    margin-top: 5px;
    text-align: center;
}

.ui-grid-sortIndicator {
    margin-left: 5px;
    display: inline-block !important;
}

.ui-grid-emptyRow td {
    padding: 5px 5px;
}

.ui-grid-icon-cell {
    width: 20px;
    text-align: center;
    vertical-align: middle !important;
}

.bg-primary td, .bg-primary .fa, .bg-primary td a {
    color: #ffffff;
}

/* #endregion */

/* #region Dropdown List */

.ui-dropdownlist {
    border: none !important;
}

    .ui-dropdownlist:not([disabled]), .ui-dropdownlist-parent-container:not([disabled]) {
        background-color: #ffffff !important;
    }

.ui-dropdownlist-icon-container {
    padding: 0px;
    margin: 0px;
    width: 100%;
}

    .ui-dropdownlist-icon-container td {
        border: 0px;
        padding: 0px;
        margin: 0px;
    }

.ui-dropdownlist-icon {
    cursor: pointer;
    width: 16px;
    color: #000;
}

    .ui-dropdownlist-icon span {
        top: -3px;
        position: relative;
    }

.ui-dropdownlist-parent-container {
    display: inline-block;
    position: relative;
    z-index: 1;
    padding-top: 3px;
}

.ui-dropdownlist-parent-container-visible {
    z-index: 500 !important;
}

.ui-dropdownlist-container {
    max-height: 300px;
    min-height: 50px;
    overflow-y: auto;
    display: none;
    position: absolute;
    z-index: 1;
    padding: 5px;
}

.ui-dropdownlist-container-open {
    z-index: 1000;
}

.ui-dropdownlist-container-borderless {
    border-top-style: none !important;
    border-right-style: none !important;
    border-bottom-style: none !important;
    border-left-style: none !important;
}

.ui-dropdownlist-header {
    margin: 0px;
    width: 100%;
    font-size: 0.9em;
}

    .ui-dropdownlist-header a {
        padding: 2px 2px;
    }

        .ui-dropdownlist-header a.clearAll {
            margin-left: 15px;
        }

.ui-dropdownlist-items {
    width: 100%;
    clear: both;
    font-size: 12.66px !important;
}

    .ui-dropdownlist-items tr td {
        white-space: nowrap;
    }

    .ui-dropdownlist-items input {
        margin-right: 5px;
    }

.ui-dropdownlist-cell > input {
    width: 100%;
    color: rgb(73, 80, 87);
    font-size: 16px;
    font-weight: 400;
}

.ui-dropdownlist-cell input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.ui-dropdownlist-cell input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

.ui-dropdownlist-cell input::-webkit-search-decoration,
.ui-dropdownlist-cell input::-webkit-search-cancel-button,
.ui-dropdownlist-cell input::-webkit-search-results-button,
.ui-dropdownlist-cell input::-webkit-search-results-decoration {
    display: none;
}

.ui-dropdownlist-icon-container tr {
    background-color: #fff !important;
}

/* #endregion */

/* #region Tree View */

.tree-view {
    line-height: 10px;
}

    .tree-view .expander {
        width: 20px;
        float: left;
        display: block;
        position: relative;
        cursor: pointer;
        text-align: center;
    }

    .tree-view li ul, .tree-view li .expand-child {
        display: none;
    }

    .tree-view li.expand > ul, .tree-view li.expand .expand-child {
        display: block;
    }

    .tree-view li.expand .expand-child {
        display: inline-block;
    }

    .tree-view li.expand > a > .expander i, .tree-view li.expand > div > .expander i, .tree-view li.expand > div > a > .expander i, .tree-view li.expand > div > div > .expander > i {
        -webkit-transition: all .1s linear;
        transition: all .1s linear;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg)
    }

    .tree-view .spinner-border {
        position: relative;
        top: -4px;
    }

    .tree-view .tree-view-item-group {
        line-height: 25px;
    }

    .tree-view .tree-view-item {
        line-height: 18px;
    }

        .tree-view .tree-view-item > label {
            padding-left: 7px;
        }

    .tree-view .item-name {
        border: 4px solid transparent;
        display: block;
        width: 100%;
        padding: 2px 0px;
    }

    .tree-view .drag-top {
        border-top: 4px solid #0493b5;
    }

    .tree-view .drag-bottom {
        border-bottom: 4px solid #0493b5;
    }

    .tree-view .drag-middle {
        border: 4px solid #0493b5;
    }

    .tree-view .disabled > a, .tree-view .disabled > div {
        color: rgba(0, 0, 0, 0.3);
    }

    .tree-view li.active.disabled > a {
        color: rgba(255, 255, 255, 0.3);
    }

    .tree-view .removed > a, .tree-view .removed > div {
        color: rgba(0, 0, 0, 0.3);
    }

    .tree-view li.active.removed > a {
        color: rgba(255, 255, 255, 0.3);
    }

.shrinked .tree-view a {
    padding-left: 0px !important;
}

.tree-view-navbar {
    background: #fff;
    color: #686a76;
    /*-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);*/
    z-index: 9;
}

    .tree-view-navbar a {
        color: inherit;
        position: relative;
        font-size: 0.9em;
    }

        .tree-view-navbar a i {
            font-size: 1.2em;
            margin-right: 10px;
            -webkit-transition: none;
            transition: none;
        }

        .tree-view-navbar a .badge {
            vertical-align: middle;
        }

    .tree-view-navbar .sidebar-header {
        padding: 30px 15px;
    }

    .tree-view-navbar .avatar {
        width: 55px;
        height: 55px;
    }

    .tree-view-navbar .title {
        margin-left: 10px;
    }

        .tree-view-navbar .title h1 {
            color: #333;
        }

        .tree-view-navbar .title p {
            font-size: 0.9em;
            font-weight: 200;
            margin-bottom: 0;
            color: #aaa;
        }

    .tree-view-navbar span.heading {
        text-transform: uppercase;
        font-weight: 400;
        margin-left: 20px;
        color: #ccc;
        font-size: 0.8em;
    }

    .tree-view-navbar ul {
        padding: 15px 0;
    }

        .tree-view-navbar ul li {
            /* submenu item active */
        }

            .tree-view-navbar ul li a, .tree-view-navbar ul li div.no-link {
                padding: 10px 0px;
                text-decoration: none;
                display: block;
                font-weight: 300;
                border-left: 4px solid transparent;
            }

                .tree-view-navbar ul li a:hover, .tree-view-navbar ul li div.no-link:hover {
                    background: #00677f;
                    border-left: 4px solid #0493b5;
                    color: #fff;
                }

            .tree-view-navbar ul li.active > a, .tree-view-navbar ul li.active > div > a {
                background: #00677f;
                color: #fff;
                border-left: 4px solid #0493b5;
            }

                .tree-view-navbar ul li.active > a:hover, .tree-view-navbar ul li.active > div > a:hover {
                    background: #00677f;
                }

            .tree-view-navbar ul li li.active > a, .tree-view-navbar ul li li.active > div > a {
                background: #00677f;
            }

            .tree-view-navbar ul li ul {
                padding: 0;
            }

    .tree-view-navbar.shrinked {
        min-width: 90px;
        max-width: 90px;
        text-align: center;
    }

        .tree-view-navbar.shrinked span.heading {
            margin: 0;
        }

        .tree-view-navbar.shrinked ul li a {
            padding: 15px 2px;
            border: none;
            font-size: 0.8em;
            color: #aaa;
            -webkit-transition: color 0.3s, background 0.3s;
            transition: color 0.3s, background 0.3s;
            overflow: hidden;
            text-overflow: ellipsis;
        }

            .tree-view-navbar.shrinked ul li a[data-toggle="collapse"]::before {
                content: '\f107';
                -webkit-transform: translateX(50%);
                transform: translateX(50%);
                position: absolute;
                top: auto;
                right: 50%;
                bottom: 0;
                left: auto;
            }

            .tree-view-navbar.shrinked ul li a[data-toggle="collapse"][aria-expanded="true"]::before {
                content: '\f106';
            }

            .tree-view-navbar.shrinked ul li a:hover {
                color: #fff;
                border: none;
            }

                .tree-view-navbar.shrinked ul li a:hover i {
                    color: #fff;
                }

            .tree-view-navbar.shrinked ul li a i {
                margin-right: 0;
                margin-bottom: 2px;
                display: block;
                font-size: 1rem;
                color: #333;
                -webkit-transition: color 0.3s;
                transition: color 0.3s;
            }

        .tree-view-navbar.shrinked ul li.active > a {
            color: #fff;
        }

            .tree-view-navbar.shrinked ul li.active > a i {
                color: #fff;
            }

        .tree-view-navbar.shrinked .sidebar-header .title {
            display: none;
        }

/* #endregion */

/* #region Customer */

.customer-info-control-container {
    position: relative;
}

    .customer-info-control-container .customer-info-icon {
        position: absolute;
        right: 25px;
        top: 8px;
    }

.customer-info-grid-cell-container {
    position: relative;
}

    .customer-info-grid-cell-container .customer-info-icon {
        position: absolute;
        right: 0px;
        top: 0px;
    }

.customer-info-header-container {
    position: relative;
}

    .customer-info-header-container .customer-info-icon {
        position: relative;
        margin-left: 5px;
    }

/* #endregion */

/* #region Rule */

.rule-clause-grid {
    width: 100%;
}

    .rule-clause-grid .fa-plus {
        color: green;
        font-size: 15px;
    }

    .rule-clause-grid .fa-remove {
        color: red;
        font-size: 15px;
    }

.rule-clause-add {
    width: 15px;
}

.rule-clause-delete {
    width: 25px;
}

.rule-group-action {
    width: 16px;
}

.rule-clause-grid tbody tr td {
    padding: 2px;
    margin: 0px;
    border: 0px;
    height: 43px;
}

    .rule-clause-grid tbody tr td select, .rule-clause-grid tbody tr td input {
        font-size: 0.95em;
        padding: 3px 6px;
    }

.rule-group-read-only {
    width: 16px;
    border-left: 1px solid gray !important;
}

.rule-group {
    width: 16px;
    height: 43px;
    border-left: 1px solid gray !important;
}

.rule-group-start {
    border-top: 1px solid gray !important;
}

.rule-group-end {
    border-bottom: 1px solid gray !important;
}

.rule-group-placeholder {
    display: inline-block;
    width: 12px;
}

.rule-group-color-1 {
    background-color: #F9EBEB;
}

.rule-group-color-2 {
    background-color: #FBF2EC;
}

.rule-group-color-3 {
    background-color: #EFF6FC;
}

.rule-clause-link.collapsed {
    display: none;
}

.rule-clause-detail {
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

.rule-clause-dropdown-container {
    clear: both;
    position: relative;
}

.rule-clause-expression {
    font-size: 0.9rem;
    white-space: pre-wrap;
    overflow: hidden;
    height: 100%;
}

.rule-clause-expression-value {
    display: inline-block;
    color: #0c5460;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: .25rem;
    box-sizing: border-box;
    padding: 0px 5px;
    margin: 0px 3px;
}

.k-list-container {
    overflow: auto;
    max-height: 250px;
    position: absolute;
    z-index: 9999;
}

    .k-list-container li {
        white-space: nowrap !important;
    }

    .k-list-container .links {
        display: inline-block;
        float: right;
    }

        .k-list-container .links a {
            margin-left: 10px;
        }

/* #endregion */

/* #region Validation */

.validation-container {
    position: relative;
}

.validation-button-close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.validation-container-message ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

    .validation-container-message ul label {
        margin: 0px;
    }

.auto-save-alert {
    float: right;
    font-size: 70%;
}

    .auto-save-alert button {
        margin-left: 10px;
    }

.invalid-border {
    border: 1px solid #dc3545 !important;
}

div.is-invalid, span.is-invalid, .field-invalid {
    border: 1px solid #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    div.is-invalid.input-group {
        padding-right: 0px !important;
        background-image: none !important;
    }

        div.is-invalid.input-group > input {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }

.highligh-container {
    padding: 2px;
}

    .highligh-container.is-invalid {
        border: 1px solid #dc3545 !important;
    }

span.k-dropdown-wrap.is-invalid {
    background-position: 97% 10px;
}

select.is-invalid {
    background-position: 95% 10px !important;
}

.invalid-no-padding {
    /* This needs to be the same padding as on the form-control. This is to stop padding when the invalid icon is shown. In somes cases, it shifts the control size/location. */
    padding: 0.375rem 0.75rem !important;
}

.info-close {
    position: absolute;
    top: 3px;
    right: 10px;
}

.validation-input-icon {
    position: absolute;
    right: 6px;
    top: 10px;
}

/* #endregion */

/* #region History*/

.history-row {
    cursor: default;
}

.history-text-small {
    font-size: 0.9rem;
}

.history-text-light {
    color: rgba(0, 0, 0, 0.3);
}

.history-search-grid tr:hover {
    background-color: #ececf6;
}

.history-search-grid tr.active {
    background-color: #6821ff;
    color: #ffffff;
}

    .history-search-grid tr.active .history-text-light {
        color: #ffffff;
    }

.history-user-col {
    flex: 0 0 35px;
}

.history-user {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    background-color: lightgray;
    color: #000000;
    text-transform: uppercase;
}

.history-date-col {
    text-align: right;
}

.history-field-new-value, .history-field-old-value, .history-field-info-value {
    padding: 5px 7px;
}

.history-field-new-value {
    background-color: #DFF5DF;
}

.history-field-old-value, .history-deleted-item {
    color: #6A6A6A;
    background-color: #EAEAEA;
    text-decoration: line-through;
}

.history-field-info-value {
    background-color: #cff5f6;
}

.speech-bubble {
    position: relative;
    background: #f4f4f4;
    border-radius: .4em;
    padding: 7px;
}

    .speech-bubble:after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 0;
        height: 0;
        border: 26px solid transparent;
        border-right-color: #f4f4f4;
        border-left: 0;
        border-top: 0;
        margin-top: -13px;
        margin-left: -26px;
    }

/* #endregion */

/* #region Toast and Spinner */

.toast {
    min-width: 300px;
}

#toast-page-container {
    z-index: 998;
    position: relative;
    min-height: 0px;
    max-height: 0px;
}

#toast-container {
    position: absolute;
    top: 10px;
    right: 20px;
}

.processing-blocker {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: transparent;
    z-index: 999;
}

.processing-blocker-disable {
    background-color: rgba(33, 33, 33, .30);
}

.button-spinner {
    display: inline-block;
    margin-right: 3px;
    position: relative;
}

.element-blocker {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 999;
    background-color: rgb(167 165 165 / 0.47);
}

/* #endregion */

/* #region Bootstrap Overrides */

pre, code {
    background-color: #f8f9fa;
    padding: 0px;
    margin: 0px;
    line-height: 1.2;
}

.form-control[readonly]:focus, .form-control[readonly] input, .form-control-disabled {
    background-color: #e9ecef;
    opacity: 1;
}

.input-group-width-fixed {
    width: 315px;
}

.form-control-static-border {
    border: 1px solid #dee2e6;
    border-radius: 0;
    padding: 0.375rem 0.75rem;
}

.form-control-static-border-no-padding {
    border: 1px solid #dee2e6;
    border-radius: 0;
}

.form-control-container {
    display: block;
    position: relative;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    width: 100%;
    height: calc(2.25rem + 2px);
    border: 0px;
    padding: 0px;
    margin: 0px;
}

[data-toggle="collapse"].collapsed .if-not-collapsed {
    display: none;
}

[data-toggle="collapse"]:not(.collapsed) .if-collapsed {
    display: none;
}

.input-group-control-container {
    box-sizing: border-box;
    display: block;
    width: 100%;
    background-color: #fff;
    background-clip: padding-box;
    height: calc(2.25rem + 2px);
    border: 0px;
    padding: 0px;
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    margin: 0;
    border-radius: 0;
}

.download-editable .dropdown-toggle::after {
    right: 7px;
    top: 15px;
    position: absolute;
}

.modal-max-width {
    width: 99%;
    max-width: 99%;
}

.modal button.close:focus {
    outline: 0.5px dotted black !important;
}

.modal-width-max {
    max-width: 99%;
}

/* #endregion */

/* #region Kendo Overrides */
.k-dropdown {
    width: 100%;
}

.k-dropdown-wrap {
    background-color: #ffffff !important;
}

.k-multicheck-wrap {
    overflow-x: hidden;
}

    .k-multicheck-wrap label span {
        margin-left: 7px;
    }

/* #endregion */

/* #region Accordion */

.accordion {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin-bottom: 0;
}

.accordion-item {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.accordion-header {
    color: #212529;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin-top: 0;
    font-weight: 500;
    line-height: 1.2;
    font-size: 2rem;
    margin-bottom: 0;
}

.accordion-button {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin: 0;
    font-family: inherit;
    line-height: inherit;
    text-transform: none;
    -webkit-appearance: button;
    position: relative;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
    cursor: pointer;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

    .accordion-button:not(.collapsed) {
        color: #0c63e4;
        background-color: #e7f1ff;
        box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
    }

.accordion-body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    padding: 1rem 1.25rem;
}

/* #endregion */


/* Remove X in multi select (single select version) on client flex properties grid*/
#client-flex-properties-grid .k-button:first-child .k-icon.k-i-close {
    display: none !important;
}

.required-asterisk {
    color: red;
}

#client-flex-single-preview-dialog .modal-dialog {
    min-height: 300px;
}

.sortable-grid tr[role=row] {
    cursor: move;
}

.error {
    color: red;
}

.bg-primary td a .trash-blue {
    color: #ffffff !important;
}

.trash-blue {
    color: #00677f !important;
}

    .trash-blue:focus, .trash-blue:hover {
        color: #0493b5 !important;
    }
