:root{
    --bs-dropdown-zindex: 1000;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: 0.5rem;
    --bs-dropdown-spacer: 0.125rem;
    --bs-dropdown-font-size: 1rem;
    --bs-dropdown-color: var(--bs-body-color);
    --bs-dropdown-bg: var(--bs-body-bg);
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-border-radius: 0.375rem;
    --bs-dropdown-border-width: var(--bs-border-width);
    --bs-dropdown-inner-border-radius: calc(0.375rem - var(--bs-border-width));
    --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
    --bs-dropdown-divider-margin-y: 0.5rem;
    --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-dropdown-link-color: var(--bs-body-color);
    --bs-dropdown-link-hover-color: var(--bs-body-color);
    --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #0d6efd;
    --bs-dropdown-link-disabled-color: var(--bs-tertiary-color);
    --bs-dropdown-item-padding-x: 1rem;
    --bs-dropdown-item-padding-y: 0.25rem;
    --bs-dropdown-header-color: #6c757d;
    --bs-dropdown-header-padding-x: 1rem;
    --bs-dropdown-header-padding-y: 0.5rem;
    --bs-badge-color: white;
}

.btn-bt-small {
    min-width: 7em;
}

.card {
    background-color: rgba(69, 88, 113, 0.5);
}

.ant-divider {
    background-color: var(--bs-border-color);
}

.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){
    color: #1890ff;
    font-weight: 500;
}

.ant-radio-button-wrapper:focus-within {
    box-shadow: inherit;
}

.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
    box-shadow: inherit;
}

.ant-radio {
    font-size: inherit;
    color: inherit;
}

.ant-radio-group {
    font-size: inherit;
    color: inherit;
}

.ant-radio-wrapper {
    font-size: inherit;
    color: inherit;
}

.ant-radio-button-wrapper {
    font-size: inherit;
    color: inherit;
}

.ant-radio-disabled + span {
    color: inherit;
    opacity: 0.6;
}

.ant-table {
    background: transparent;
}

.ant-table-wrapper {
    width: 100%;
}

.ant-table table {
    color: var(--eye-MaterialDesignBody);
}

.ant-form {
    color: var(--eye-MaterialDesignBody);
}

.ant-tabs {
    color: var(--eye-MaterialDesignBody);
    font-size: inherit;
    line-height: inherit;
}

.ant-tabs-top > .ant-tabs-nav::before, .ant-tabs-bottom > .ant-tabs-nav::before, .ant-tabs-top > div > .ant-tabs-nav::before, .ant-tabs-bottom > div > .ant-tabs-nav::before {
    position: absolute;
    right: 0;
    left: 0;
    border-bottom: 1px solid #f0f0f0;
    content: '';
    opacity: 0.25;
}

.ant-form-item {
    color: var(--eye-MaterialDesignBody);
}

.ant-form-item-label>label {
    color: var(--eye-MaterialDesignBody);
}

.ant-table-tbody>tr.ant-table-row:hover>td {
    background: #455871
}

.ant-table-thead th.ant-table-column-has-sorters:hover {
    background: #455871
}

.ant-table-thead th.ant-table-column-has-sorters:hover .ant-table-filter-trigger-container {
    background: #455871
}

.ant-table-thead th.ant-table-column-sort {
    background: #455871
}

td.ant-table-column-sort {
    background: #455871
}

.ant-table-thead>tr>th {
    color: #fff;
    font-weight: bold;
    background: rgba(69, 88, 113, 0.8);
}

.ant-table tfoot>tr>td, .ant-table tfoot>tr>th, .ant-table-tbody>tr>td, .ant-table-thead>tr>th {
    position: relative;
    padding: 8px 8px;
    overflow-wrap: break-word;
}

.ant-table-column-sorters {
    display: inline-flex;
    align-items: center;
    padding: 8px 8px;
}

.ant-drawer-content {
    
}

.ant-btn { 
}

.ant-btn-link {
    padding: 0;
    height: inherit;
}

input,
textarea,
.editor-preview {
    background: var(--bs-body-bg);
    color: inherit;
}

::selection {
    background: #376c9c;
}

.ant-select {
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    background-color: inherit;
    border: 0;
}

.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    background: transparent;
    cursor: inherit;
}

.ant-select-multiple .ant-select-selection-item {
    background-color: rgba(var(--bs-secondary-rgb));
    display: flex;
    align-items: center;
    border: 0;
}

.form-control.ant-select-disabled{
    background-color: transparent;
    border: 0;
}

.ant-select-clear{
    background-color: transparent;
    border: 0;
    color: var(--bs-badge-color);
}

.ant-select-clear:hover {
    color: var(--bs-badge-color);
}


.ant-select-arrow{
    color: var(--bs-badge-color);
}


.ant-select-dropdown{
  
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
    margin: 0 0 0 -7px; 
    font-size: var(--bs-dropdown-font-size);
    text-align: left;
    list-style: none;
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
    border-radius: var(--bs-dropdown-border-radius);
    background-color: var(--bs-dropdown-bg);
    background-clip: padding-box;
}

.ant-pagination{
    color: var(--bs-body-color);
}

.ant-select{
    color: var(--bs-body-color);
}

.ant-checkbox-disabled + span{
    color: inherit;
}

.ant-checkbox-wrapper{
    color: inherit;
    display: inline-flex;
}

.ant-pagination-item{
    background: transparent;
    color: var(--bs-body-color);
    border: 0;
}

.ant-pagination-prev .ant-pagination-item-link,
.ant-pagination-next .ant-pagination-item-link {
    background: transparent;
    color: var(--bs-body-color);
    border: 0;
}

.ant-pagination-item-active{
    font-size: 20px;
}

.ant-select-item-option-selected:not(.ant-select-item-option-disabled){
    color: var(--bs-badge-color);
}

.ant-select-item{
    color: var(--bs-badge-color);
}

.ant-select-item-option-selected:not(.ant-select-item-option-disabled){
    background: var(--bs-tertiary-bg);
}

.ant-select-selection-placeholder{
    color: var(--bs-secondary-color);
}

.ant-select-item-option-active:not(.ant-select-item-option-disabled){
    background: var(--bs-tertiary-bg);
}

.ant-select-item {
    margin: 2px 6px 2px 0; 
    margin-block: 2px; 
    margin-inline: 0 6px;
    display: flex;
    align-items: center;
    min-height: 20px;
}

.ant-select-multiple .ant-select-selection-item-remove{
    font-size: 12px;
    margin: 0 4px;
}

.ant-select-multiple .ant-select-selector
{
    padding: 0;
}

.ant-select-multiple .ant-select-selection-placeholder{
    left: 0;
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{
    padding: 0 11px 0 0;
    height: 24px;
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{
    height: 24px;
}

.ant-select-single .ant-select-selector .ant-select-selection-search{
    left: 0;
}

.ant-select-single .ant-select-selector .ant-select-selection-item, .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
    line-height: 24px;
}

.ant-select-multiple .ant-select-selector::after{
    margin: 0;
}

.ant-tree{
    color: var(--eye-SecondaryHueMidForegroundBrush);
    background: inherit;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    font-size: 1em;
}

.ant-tree-switcher{
    display: flex;
    align-items: center;
    width: inherit;
}

.ant-tree-show-line .ant-tree-switcher {
    background: inherit;
}

.ant-tree .ant-tree-node-content-wrapper{
    width: 100%;
}

.ant-tree .ant-tree-treenode {
    padding: 0;
}

.ant-tree-indent-unit{
    width: 16px;
}

.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{
    color: var(--eye-SecondaryHueMidForegroundBrush);
    text-decoration: none;
    background-color: #1171BC60;
}

.ant-tree .ant-tree-node-content-wrapper:not(.ant-tree-node-content-wrapper.ant-tree-node-selected):hover{
    background-color: #1171BC90;
}

.ant-collapse{
    color: inherit;
    background: inherit;
    border: 0;
}

.ant-collapse-content{
    background: inherit;
    color: inherit;
    border: 0;
}

.ant-collapse-content > .ant-collapse-content-box {
    padding: 5px;
    border: 0;
}

.ant-collapse > .ant-collapse-item{
    border: 0;
    margin: 4px 0;
}

.ant-collapse > .ant-collapse-item > .ant-collapse-header {
    align-items: center;
    padding: 0;
    color: var(--bs-badge-color);
    border: 0;
}

.ant-collapse .ant-collapse-item-disabled > .ant-collapse-header, .ant-collapse .ant-collapse-item-disabled > .ant-collapse-header > .arrow{
    cursor: inherit;
}

.ant-input[disabled]{
    background: inherit;
    color: inherit;
}

.eye-groupbox-header {
    align-items: center;
    background: linear-gradient(90deg, rgba(13,110,253,1) 0%, rgba(13,110,253,1) 20%, rgba(13,110,253,0) 70%);
    color: var(--bs-badge-color);
    margin-bottom: 4px;
    padding: 1px 5px;
}

.eye-groupbox-content {
    padding: 0 5px;
}

.eye-groupbox-header-secondary {
    background: linear-gradient(90deg, rgba(18,50,98,1) 0%, rgba(18,50,98,1) 22%, rgba(3,49,117,0) 50%);
}

.ant-btn{
    font-size: inherit;
}

.ant-image-preview-img {
    max-height: 90%;
    max-width: 90%;
}

.ant-timeline{
    color: inherit;
}

.ant-timeline-item{
    padding-bottom: 10px;
}

.ant-notification  {
    z-index: 100000;
}

.ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
    color: inherit;
    opacity: 0.4;
}

.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
    color: inherit;
}

.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {
    color: inherit;
}

.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-description {
    color: inherit;
}

.ant-steps-item.ant-steps-item-process.ant-steps-item-active{
    font-weight: bold;
}

.ant-steps {
    color: var(--bs-body-color);
}

.ant-dropdown-menu {
    background-color: var(--eye-MaterialDesignPaper);
    border-width: 1px;
    border-color: var(--eye-Primary500);
    border-style: solid;
    padding: 5px;
}

.ant-dropdown-menu-item,
.ant-dropdown-menu-submenu-title {
    color: var(--eye-MaterialDesignBody);
    padding: 0 !important;
}

.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title {
    color: var(--eye-MaterialDesignBody);
    background: var(--eye-MaterialDesignChipBackground);
}

.ant-dropdown-menu-item-selected, .ant-dropdown-menu-submenu-title-selected {
    color: var(--eye-MaterialDesignBody);
    background: var(--eye-MaterialDesignChipBackground);
}

.ant-dropdown-menu-item:hover,
.ant-dropdown-menu-submenu-title:hover,
.ant-dropdown-menu-item.ant-dropdown-menu-item-active,
.ant-dropdown-menu-item.ant-dropdown-menu-submenu-title-active,
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-item-active,
.ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title-active {
    background-color: inherit;
}

.ant-dropdown {
    color: var(--eye-MaterialDesignBody);
}

.ant-dropdown-menu-item-group-title {
    color: var(--eye-MaterialDesignBody);
}

.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled {
    background: inherit;
}

.ant-menu-title-content {
    width: 100%;
    transition: background-color 0.3s;
    padding: 2px;
}

.ant-menu-title-content:hover{
    background-color: var(--bs-dropdown-link-hover-bg);
}

.ant-dropdown-menu-submenu {
    border: 1px solid var(--eye-Primary800);
}

.ant-dropdown-menu-item:hover{
    background-color: var(--bs-dropdown-link-hover-bg);
    transition: background-color 0.3s;
}

h1, h2, h3, h4, h5, h6{
    color: inherit;
}

.ant-radio-group.ant-smallest {
    transform: scale(0.8);
    transform-origin: left;
}

.ant-modal {
    color: inherit;
}

.ant-modal-content {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
    color: inherit;
}

.ant-modal-confirm-body .ant-modal-confirm-title {
    color: inherit;
}

.ant-modal-confirm-body .ant-modal-confirm-content {
    color: inherit;
}

.ant-modal-header{
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
    color: inherit;
}

.ant-modal-title {
    color: inherit;
}

.border-accent {
    --bs-border-opacity: 1;
    border-color: rgba(var( --eye-Accent100), var(--bs-border-opacity)) !important;
}

.ant-segmented-item:hover, .ant-segmented-item:focus {
    color: inherit;
}

.ant-segmented {
    color: inherit;
}

.ant-tree-title {
    pointer-events: none;
}