#DBGrid1_filter {
	width: fit-content !important;
}

.microtable {
    table-layout: fixed;
    width: 100%;
}

[id$="_actions_2"] {
    position:sticky;
    top: calc(7vmin - 50px);
    height: 50px;
}

/* .microtable thead {
    position: sticky;
    top: calc(7vmin + 50px);
} */

[id*="_actions_wrap"] {
    position:sticky;
    top: 0;
    z-index: 10;
}



[id*="_pagination_buttons"] {
    background-color: white;
}

body.isMobile [id*="_pagination_buttons"] {
    width: 100%!important;
}

[id*="_pagination_buttons"] button {
    all: unset;
    background-color: lightgray;
    padding: 5px 10px;
    
}
[id*="_pagination_buttons"] button:not([disabled]):hover {
    cursor: pointer;
}

[id*="_pagination_buttons"] button.active {
    background-color: var(--micro-primary-color) !important;
    color: white !important;
}

.dropdown-item[disabled] {
    color: #2eb8dc !important;
}

.dropdown-item[disabled]:hover {
    cursor: not-allowed !important;
}
[id*="_change_paginate_form_group"] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
}
.microtable thead th {
    user-select: none;
    font-size: 0.92rem;
}
.microtable thead th:hover {
    cursor: pointer;
}

[id*="_search_input_form_group"],
[id*="_search_combo_form_group"] {
    margin: 0;
}

[id*="_searchadvance_filter"] .modal-body,
[id*="_searchadvance_filter"] .modal-body form,
[id*="_searchadvance_filter"] .modal-body form #asistente {
    height: 40vh !important;
    overflow: hidden;
}

[id*="_searchadvance_filter"] #btn_confirm1,
[id*="_searchadvance_filter"] .dropdown {
    position: absolute;
    bottom: 0;
}

[id*="_searchadvance_filter"] #btn_confirm1 {
    right: 10px;
}

[id*="_searchadvance_filter"] .dropdown {
    left: 7px;
    bottom: 7px;
}

[id*="_searchadvance_filter_container"] {
    max-height: 30vh;
    overflow-y: auto;
    overflow-x: hidden !important;
}
[id*="_searchadvance_filter"] .dropdown-item:hover {
    cursor: pointer;
}

.microtable [id*=" tbody"] tr td{
    position: relative;
}

.microtable tbody tr td span.editable + .editable-search {
    color: var(--e-global-color-6d66ce2);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}
.microtable tbody tr td span.editable + .editable-search:hover {
    cursor: pointer;
}

div[id*='autocomplete_'] li.pointer.active{
    background-color: teal;
    color:white;
}

[class*="_color_parent"] {
    height: fit-content;
    padding: 4px;
    border-radius: 10px;
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    flex-direction: column !important;
    gap: 1vmin;
    user-select: none;
    transition: background-color .2s ease-out;
}

#print_styles > div {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid transparent;
}

#print_styles > div:hover,
#print_styles > div.color_active {
    background-color: #cce8ff !important;
    border: 1px solid #70b8f3;
    color: black !important;
}


.microtable [id*="_color"] {
    box-shadow: 2px 2px 2px 2px lightgray;
    width: fit-content;
    height: 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction: row;
    border-radius: 15px;
}
[id*="_paper_orientation_preview"] i {
    transition: rotate .3s ease-in-out;
}

[id*="_print_config"] {
    user-select: none;
}

[id*="_search_input_form_group"] {
    width: 100% !important;
}

body.isMobile table[id*="DBGrid"] tr td {
	border: 0 !important;
	padding: 1px;
}
body.isMobile table[id*="DBGrid"] {
	padding: 1px;
	border: 0;
}

body.isMobile table:not(#GridSearch) td {
	font-size: 0.8em;
}

body.isMobile .table:not(#GridSearch) {
	border: 1px solid lightgray;
}

body.isMobile .table {
	border-collapse: collapse !important;
}

body.isMobile table:not(#GridSearch) td {
	font-size: 0.8em;
}

body.isMobile #GridSearch,
body.isMobile #GridSearch tr,
body.isMobile #GridSearch td,
body.isMobile #GridSearch th {
	padding: 1px;
}


body.isMobile .micro-content-wrapper .tab-pane:not(:has(table))   {
    padding:4px!important;
}

body.isMobile .micro-content-wrapper .tab-pane:has(.lector){
    padding:0px!important;
}

body.isMobile #GridSearch_wrapper {
    font-size: 12px;
}

body.isMobile td img {
	max-width: 50px;
}

body.isMobile #GridSearch_wrapper td,
body.isMobile #GridSearch_wrapper th{
	padding: 2px;
    padding: 2px;
}

body.isMobile td img {
	max-width: 50px;
}

tbody tr td img {
	width: 100px;
}

body.isMobile [id*="GridSearch_search_input_form_group"] input {
    width: 100% !important;
}

body.isMobile #GridSearch_filter,
body.isMobile #GridSearch_filter label {
	padding: 0 !important;
	margin: 0 !important;
}

body.isMobile #GridSearch_filter {
	display: flex;
	justify-items: center;
	align-items: center;
    width: 10px !important;
}

body.isMobile #GridSearch_wrapper {
	font-size: 12px;
}

body.isMobile #GridSearch_filter,
body.isMobile #GridSearch_filter label {
	padding: 0 !important;
	margin: 0 !important;
}

.microtable thead tr {
    width: 100% !important;
}

table tbody tr.selected td {
    background-color: var(--e-global-color-accent) !important;
}

.grid-loader {
    height: 20vmin !important;
    vertical-align: middle !important;
    color: var(--e-global-color-6d66ce2) !important;
}

body.isMobile .grid-loader {
    color: black !important;
    height: 90vh !important;
    width: 100% !important;
    font-size: 1rem !important;
}

[id*='_print_config'] input[type="checkbox"] {
    transform: scale(0.7);
}

.microtable td:has(i){
    position:relative;
}

.action_left_item:hover {
    color: black !important;
}

[id*="_wrapper_left"] {
    user-select: none;
}

.toggle-left-actions > span:hover i {
    color: black;
}

.colvis_items,
.colvis_items label {
    border: 1px solid #a0a0a0;
    border-collapse: collapse;
}

.colvis_items label {
    width: 100% !important;
    padding: 5px;
}

[id*="_actions_wrap"] button:disabled,
[id*="_actions_wrap"] button:disabled i,
a.action_left_item[disabled],
a.action_left_item[disabled] i {
    color: #2eb8dc !important;
    cursor: not-allowed !important;
}

[id*="_wrapper_colvis_header"]:hover,
.colvis_items label:hover,
.microtable[can-reorder] > thead > tr > th:hover,
[id*="_group_container"] > span:hover {
    cursor: grab !important;
}

[id*="_wrapper_colvis_header"]:active,
.colvis_items label:active,
.microtable[can-reorder] > thead > tr > th:active,
[id*="_group_container"] > span:active {
    cursor: grabbing !important;
}

.microtable thead th {
    background-color: var(--micro-primary-color);
    color: white !important;
}

[id*="_wrapper"] .dropdown-menu {
    z-index: 999999;
}

.microtable thead th:hover {
    position: relative;
}

.microtable[can-reorder] thead th:hover::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -10px;
    width: 30px;
    height: 100%;
    background-color: rgba(84, 134, 151, .5);
}

[id*="_actions_paginate_search"] div[id$="_search"] {
    margin-right: .5rem !important;
}

[id$="_search_combo_select_simulate"],
input[id$="_search_input"],
input[id$="_search_input"]:focus,
input[id$="_search_input"]::placeholder,
input[id$="_search_input"] + i {
    background-color: transparent !important;
    color: white !important;
    border: 0 !important;
    outline: transparent !important;
    font-size: .92rem !important;
}

input[id$="_search_input"] {
    border-radius: 0 !important;
    border-bottom: 2px solid white !important;
}

[id$='_wrapper_left'] i[class*='fa']:not([class*='fa-chevrons']) {
    font-size: 1.2rem;
}

[id$="_buttons"], 
[id$="_filter_apply"] {
    font-size: 1.7rem;
}

div[id$="_wrapper"].expand {
    width: 100vw !important;
}

[id$='_filter_container'] .select_simulate,
[id$='_filter_container'] input,
[id$='_filter_container'] .form-group {
    border-radius: 0 !important;
    height: 100% !important;
}

[id$='_filter_container'] select:not(:disabled):hover {
    cursor: pointer !important;
}

.microtables [id$='_buttons'] button:hover {
    border: 1px solid white;
}

[id$='_filter_container'] input:focus {
    outline: unset !important;
    border-color: lightgray !important;
    box-shadow: unset !important;
}

[id$="_searchadvance_anteriores"] > div:hover {
    background-color: var( --e-global-color-accent ) !important;
}

.grid-add-border-dashed {
    border: 2px dashed var(--micro-primary-color);
}

input[type="radio"][id$="_export_type"] + label {
    color: var(--micro-primary-color);
}

.categorias_permisos > div > div {
    border-bottom: 1px solid var(--micro-primary-color);
    border-collapse: collapse;
    height: 35px;
}

.categorias_permisos > div > div:nth-of-type(1) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.categorias_permisos > div > div {
    padding: 5px;
}

[class$="_actions_filter_wrapper"] div[id$="_search_group"] {
    margin-bottom: 0 !important;
}

.microtable > thead > tr > th {
    vertical-align: middle !important;
}

body.isMobile .microtable > tbody > tr > * {
    font-size: 1rem !important;
}

.microtable > tbody > tr > td {
    word-wrap: break-word;
}

/* body.isMobile #GridSearch_wrapper,
body.isMobile #GridSearch_wrapper * {
    touch-action: none;
}

body.isMobile #GridSearch_wrapper * {
    pointer-events: auto;
} */