html {
    height: 100%
}

body {
    height: 100%
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #a3abf6;
    color: white;
    text-align: center;
}

.center {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/*
.footer {
    background: #a3abf6;
}*/

/* Boton logout */
#logoutBtn {
    background: #363636;
}
#logoutBtn .dx-button-text {
    color: white;
}
#logoutBtn .dx-icon-spindown {
    color: white;
}

/* Subtitulo */
#subtitle {
    color: white;
}

/* Color foreground sespa */
.primary {
    background: #606aab;
}

/* Color background sespa */
/* Body */
/* Barra de busqueda grid */
/* Grid */
.secondary, body, .dx-datagrid-header-panel .dx-toolbar-items-container, .dx-datagrid {
    background: #efefef;
}
.dx-datagrid-total-footer .dx-col-fixed{
    background: transparent !important;
}

/* Grid en un popup */
.dx-popup-content .dx-toolbar-items-container,
.dx-popup-content .dx-datagrid-header-panel {
    background: #efefef;
}
.dx-popup-content .dx-datagrid{
    background: transparent;
}

/* Grid */
/* Margen barra de busqueda */
/*.dx-toolbar-after {
    margin-right: 10px;
}*/
.dx-datagrid-filter-row{
    background: white;
}
/* Color sespa header */
.dx-header-row {
    color: white;
    background: #616aad;
}
.dx-header-row .dx-col-fixed {
    background: #616aad !important;
}

/* Boton tipo sespa */
.button_sespa {
    color: white;
    background: #929def;
    border-radius: 0.25rem;
}
.button_sespa.dx-button.dx-state-hover, .button_sespa.dx-button.dx-state-focused, .button_sespa:hover {
    color: white;
    background: #a3abf6;
}
.button_sespa.dx-button:active, .button_sespa:active {
    color: white;
    background: #828add;
}

/* Boton éxito (Guardar/Ok) */
.button_success {
    background: lightgreen;
}
.button_success.dx-button.dx-state-hover, .button_success.dx-button.dx-state-focused, .button_success:hover {
    background: #66ffb2;
}
.button_success.dx-button:active, .button_success:active {
    background: #77eedd;
}

/* Boton advertencia (Excluir, editar, cambiar datos) */
.button_warning {
    background: lightyellow;
}
.button_warning.dx-button.dx-state-hover, .button_warning.dx-button.dx-state-focused, .button_warning:hover {
    background: #fcfcc5;
}

.button_warning.dx-button:active, .button_warning:active {
    background: #f2f26d;
}

/* Boton negar (Cerrar, invalidar) */
.button_danger {
    color: white;
    background: #f36969;
}
.button_danger.dx-button.dx-state-hover, .button_danger.dx-button.dx-state-focused, .button_danger:hover {
    color: white;
    background: #ff4d4d;
}
.button_danger.dx-button:active, .button_danger:active {
    color: white;
    background: #cc0000;
}

/* Clase ecocard, carta con separados horizontales */
.ecocard {
    border: 1px solid lightgray;
    padding: 10px;
    background: white;
}
.ecocard p{
    margin: 0px;
}
.ecocard .separator {
    width: 100%;
    height: 1px;
    background-color: lightgray;
    margin: 2px 0;
}
.ecocard_row {
    font-size: 18px;
    margin: 10px 0;
    /*display: flex;*/
    align-items: center;
}
.ecocard .ecocard_row .fw-bold {
    color:gray;
}
.ecocard .dx-datagrid-header-panel,
.ecocard .dx-datagrid-header-panel .dx-toolbar-items-container,
.ecocard .dx-datagrid-content
{
    background: white !important;
}

/* Redimensionar el titulo del header en pantallas pequeñas
    y ocultar en pantallas muy pequeñas */
#subtitle {
    font-size: 1em;
}
@media (max-width: 1050px) {
    #subtitle {
        font-size: 0.6em;
    }
}
@media (max-width: 520px) {
    #subtitle {
        display: none;
    }
}

/* Ocultar campo de un dxForm */
.hidden_field{
    display: none !important;
}

/* Ocultar componente de un dxDataGrid */
.invisible_field {
    visibility: hidden !important;
}

/* Borde con sombra */
.shadow-border {
    box-shadow: 10px 10px 5px #888;
}

/* dxList, solo dos estados, seleccionado o no seleccionado*/
/* items de una dxList seleccionados */
/*.dx-list-item-selected {
    background-color: lightblue !important;
    color: black;
}*/
/* Seleccionados y no focused */
/*.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-focused {
    background-color: transparent;
    color: black;
}*/
/* Seleccionados y focused */
/*.dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item.dx-state-focused.dx-list-item-selected {
    background-color: lightblue !important;
    color: black;
}*/

.dx-popup-title {
    background-color: #616AAD;
    color:white;
}

.dx-popup-content {
    background-color: #EFEFEF;
}

.dx-popup-bottom {
    border-top: 1px solid #B2B2B2;
    background-color: #EFEFEF;
}