@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/*
Generic Styling, for Desktops/Laptops
*/

@media only screen and (min-width: 800px) {
  body {
    background-image: radial-gradient(#9d9d98, rgb(225, 225, 211));
    /*background: #f4f47b*/
    animation: fadeInAnimation ease 10s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .bienvenido {
    text-align: center;
    margin: auto;
    font-size: 20px;
    color: red;
  }

  .cursor {
    cursor: default;
    color: #0016b0;
    /*text-decoration: underline;*/
  }

  /** alertify **/

  .alertify .ajs-header {
    margin: -24px;
    margin-bottom: 0;
    padding: 16px 24px;
    background-color: #1e546f;
    color: #fff;
  }

  .alertify-notifier .ajs-message {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-align: center;
    border: solid 1px #ddd;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-success {
    color: #fff;
    background: rgba(91, 189, 114, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-error {
    color: #fff;
    background: rgba(217, 92, 92, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-warning {
    background: rgba(252, 248, 215, 0.95);
    border-color: #999;
    border-radius: 10px;
  }

  .alertify .ajs-footer {
    padding: 4px;
    margin-left: -24px;
    margin-right: -24px;
    min-height: 43px;
    background-color: #fff;
  }

  alertify .ajs-body .ajs-content {
    padding: 16px 24px 16px 16px;
    font-weight: bold;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button {
    margin: 4px;
    background-color: #a8b5bb;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button:hover {
    margin: 4px;
    background-color: #99cfea;
  }
  .alertify .ajs-footer .ajs-buttons .ajs-button {
    /* min-width: 88px;
        min-height: 35px;*/
    color: blue;
  }

  .logo-login {
    width: 100px;
    margin: inherit;
    height: 100px;
    margin-left: 85%;
    /* z-index: 50; */
    position: fixed;
  }

  /* Para la version de la aplicacion */
  .version {
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  /* Para las alertas */
  .alert:empty {
    display: none;
  }
  .alert {
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  .imagenIndex {
    overflow: hidden;
    transition: all 0.5s ease-in-out;
  }

  .contenedor {
    background-color: #afaeb5;
    border-radius: 5%;
    border: 10px solid;
    border-image: linear-gradient(to right, #7b6161, #8e9f8e);
    border-image-slice: 1;
    width: fit-content;
    /*min-width: fit-content;*/
    padding: 10px;
    margin: auto;
  }

  .contenedor:hover {
    border: 10px solid;
    background-color: #c3c2c6;
    border-image: linear-gradient(to right, #8e9f8e, #7b6161);
    border-image-slice: 1;
  }

  .form-login {
    top: 20px;
    position: absolute;
    width: 20%;
    top: 28rem;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5%;
  }

  span {
    margin: 0px;
    padding: 0px;
    border: 0px;
    font: inherit;
    vertical-align: baseline;
  }

  .mantenimiento_form_style {
    background-color: #834d4d;
    border-radius: 20px;
    border: 1px solid black;
    margin-bottom: 10px;
  }

  .mantenimiento_form_style .form-label-forms {
    color: white;
  }
  .form-label-login {
    font-size: 20px;
    font-weight: bold;
  }

  .form-input-login {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 13px;
    height: 35px;
  }

  .form-label-forms {
    font-size: 20px;
    font-weight: bold;
  }

  .form-input-forms {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 13px;
    height: 35px;
    width: 100%;
  }

  .form-textarea-forms {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 13px;
    height: 100px;
    width: 100%;
    margin-bottom: 10px;
  }

  .wrapperMensajeCookie {
    bottom: 0;
    padding-top: 1px;
    position: fixed;
    width: 30%;
    position: fixed;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
  }

  .wrapperMensajeCookie .inner {
    padding: 5px 0;
  }

  .wrapperMensajeCookie .textoLegalCookie {
    background-color: #f1f1f1;
    border: 1px solid #fae3e5;
    border-radius: 4px 4px 4px 4px;
    margin: 0 auto;
    max-width: 85%;
    padding: 7px 37px 7px 17px;
    position: relative;
  }

  .wrapperMensajeCookie .textoLegalCookie p strong {
    background: url(../images/exclamation.png) no-repeat scroll 0 3px
      transparent;
    display: block;
    font-weight: bold;
    line-height: 19px;
    margin-bottom: 3px;
    padding-left: 19px;
  }

  .wrapperMensajeCookie .textoLegalCookie a.cerrarTextoLegalCookie {
    background: url(../images/close.png) no-repeat scroll 0 0 transparent;
    display: block;
    height: 16px;
    overflow: hidden;
    position: absolute;
    right: 8px;
    text-indent: 100%;
    top: 12px;
    white-space: nowrap;
    width: 16px;
  }

  .bienvenido {
    margin: auto;
  }

  .one-more-block {
    /*display: inline-flex;
        align-items: flex-end;*/
    position: relative;
    display: inline;
    align-items: flex-end;
    width: 100%;
  }

  input[type="password"] {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 13px;
    height: 35px;
    width: 100%;
  }
  /*sh-password se utiliza para colocar la imagen de ver contraseña
    dentro de un input */
  .inner-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
  }

  nav ul {
    padding: 0px;
    margin-left: 34%;
  }

  nav input {
    background-color: #2175bc;
    color: #fff;
    opacity: 0;
    position: absolute;
    z-index: -1;
  }

  /*** LABEL ***/
  nav label {
    text-align: center;
    color: grey;
    font-size: 30px;
    cursor: pointer;
    display: block;
    padding: 0.5em;
  }

  nav ul li {
    display: inline;
  }

  nav li a {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 12px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    float: left;
    padding: 5px;
    display: block;
    margin-left: 10px;
    margin-right: auto;
  }

  nav li a:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .login {
    margin-top: 10px;
    margin-left: auto;
  }

  .tablaMovimientos {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 3%;
  }

  .tablaMovimientos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaActas {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 3%;
  }

  .tablaActas table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaActas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaActas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaActas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaActas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaActas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tabla_mov_cuenta {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 2%;
  }

  .tabla_mov_cuenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_mov_cuenta tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_mov_cuenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_mov_cuenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_mov_cuenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_mov_cuenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /* gastos_fijos.php*/

  .tablaGastosFijos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaGastosFijos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosFijos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaGastosFijos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaGastosFijos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastosFijos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosFijos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .descGastosFijos {
    text-align: left;
    margin-left: 30%;
  }

  /** debitos.php **/
  .tablaDebitos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaDebitos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaDebitos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaDebitos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaDebitos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaDebitos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaDebitos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /* Tareas.php*/
  .tablaTareas {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaTareas table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
    width: 70%;
  }

  .tablaTareas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaTareas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaTareas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaTareas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaTareas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaTareas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaTareas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaContactos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaContactos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
    width: 70%;
  }

  .tablaContactos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaContactos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaContactos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaContactos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaContactostbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaContactos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaContactos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .mainTable {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .mainTable table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 25%;
    padding: 5px 10px;
    text-align: center;
    margin: auto;
  }

  .mainTable caption,
  td,
  th {
    padding: 0.3em;
  }

  .mainTable tbody th:not(.title) {
    background-color: #1883ba;
    color: white;
    font-size: 20px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .mainTable tbody th {
    background-color: #25ba18;
    color: white;
    font-size: 30px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    width: 60%;
  }

  .mainTable tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .mainTable tbody td a:not(.boton_eliminar) {
    font-size: 20px;
    color: blue;
  }

  .mainTable tbody tr:hover {
    background-color: #c2b1b1;
  }

  .mainTable caption {
    font-weight: bold;
    font-style: italic;
  }

  .mainTable tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaExtra {
    overflow: auto;
    height: auto;
    width: 65%;
    margin: auto;
  }

  .tablaExtra table {
    border-collapse: collapse;
    margin: auto;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
    color: black;
    margin-top: 20px;
  }

  .tablaExtra caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaExtra tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  /*** Tabla para extras***/
  .tablaExtra tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaExtra tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaExtra tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaExtra caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaExtra tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Vista Anual Conceptos ***/
  .tablaVistaConceptos {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 40%;
  }

  .tablaVistaConceptos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaConceptos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaConceptos tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    font-size: 16px;
  }

  .tablaVistaConceptos tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaVistaConceptostbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaConceptos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaConceptos tfoot th {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla de Extras/Vistas ***/
  .tablaMeses {
    overflow: auto;
    height: auto;
    width: auto;
    left: 40%;
    position: relative;
    color: black;
  }

  .tablaMeses table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 50%;
    /*padding: 5px 10px;*/
    text-align: center;
  }

  .tablaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMeses tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMeses tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaMeses tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMeses tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  /*** Para tablas de extras/meses_extras.php***/
  .tablaIngresos {
    overflow: auto;
    height: auto;
    width: 30%;
    position: relative;
  }

  .tablaIngresos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaGastos {
    overflow: auto;
    height: auto;
    position: relative;
  }

  .tablaGastos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastos tbody th {
    background-color: #18ba85;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos tabla gastos categorias viajes/gastos.php ***/
  .tablaGastosCategorias {
    overflow: auto;
    height: auto;
    width: 23%;
    margin-left: -37%;
    margin-top: 20px;
    float: left;
  }

  .tablaGastosCategorias table {
    border: 1px solid #999;
    border-collapse: collapse;
    caption-side: top;
    width: 32%;
    padding: 5px 5px;
    margin: auto;
    text-align: center;
    color: black;
  }

  .tablaGastosCategorias caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosCategorias tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosCategorias tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosCategorias tbody tr:hover {
    background-color: #c2b1b1;
    font-size: 20px;
    font-weight: bold;
    color: rgb(66, 20, 3);
  }

  .tablaGastosCategorias caption {
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
  }

  .tablaGastosCategorias tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para plantillas ***/
  .tabla_plantillas {
    overflow: auto;
    height: auto;
    width: 90%;
    padding-top: 2%;
  }

  .tabla_plantillas table {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_plantillas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_plantillas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_plantillas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_plantillas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_plantillas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas vivienda.php***/
  .tablaViviendas {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaViviendas table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 70%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaViviendas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaViviendas tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaViviendas tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    white-space: nowrap;
  }

  .tablaViviendas tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaViviendas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaViviendas tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas contactos.php***/
  .tablaContactos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaContactos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaContactos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaContactos tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaContactos tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaContactos tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaContactos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaContactos tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla search.php***/
  .tablaSearchMovimientos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaSearchMovimientos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaSearchMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaSearchMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaSearchMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaSearchMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaSearchMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaSearchMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaSearchMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Movimientos/vista***/
  .tablaVistaAnual {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 56%;
  }

  .tablaVistaAnual table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaAnual caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaAnual tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaVistaAnual tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    font-size: 14;
    font-weight: bold;
  }

  .tablaVistaAnual tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaAnual caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaAnual tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla meses Movimientos/vista ***/
  .tableVistaMeses {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 55%;
  }

  .tableVistaMeses table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 70%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tableVistaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tableVistaMeses tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tableVistaMeses tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tableVistaMeses tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tableVistaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tableVistaMeses tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Ingresos Movimientos/meses_actuales ***/
  .tablaIngresoMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 40%;
  }

  .tablaIngresoMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: #f8f8f8;
    font-size: 12px;
  }

  .tablaIngresoMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresoMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresoMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresoMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaIngresoMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresoMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla categorias meses_actuales ***/
  .tablaCategoriasMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 26%;
  }

  .tablaCategoriasMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaCategoriasMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaCategoriasMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaCategoriasMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    padding: inherit;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaCategoriasMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaCategoriasMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaCategoriasMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Gastos Movimientos/meses_actuales ***/
  .tablaGastosMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 72%;
  }

  .tablaGastosMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaGastosMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaGastosMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla para mantenimientos.php***/
  .TablaMantenimiento {
    overflow: auto;
    height: auto;
    width: auto;
    color: black;
  }

  .TablaMantenimiento table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 50%;
    padding: 5px 10px;
    text-align: center;
    margin: auto;
  }

  .TablaMantenimiento caption,
  td,
  th {
    padding: 0.3em;
  }

  .TablaMantenimiento tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 20px;
    text-align: center;
  }

  .TablaMantenimiento tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .TablaMantenimiento tbody tr:hover {
    background-color: #c2b1b1;
  }

  .TablaMantenimiento caption {
    font-weight: bold;
    font-style: italic;
  }

  .TablaMantenimiento tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  #supermercado_mes {
    background-color: olive;
  }

  #extra_mes {
    background-color: olive;
  }

  h1,
  h2 {
    text-align: center;
    color: maroon;
    margin-left: 0%;
  }

  .descripcion-page {
    text-align: center;
  }

  input {
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
  }

  #search {
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
  }

  textarea {
    width: 100%;
    height: 10%;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
    resize: yes;
  }

  select {
    width: 12%;
    height: 18px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 12px;
  }

  #imagen {
    margin-left: auto;
    margin-right: auto;
  }

  #base {
    text-align: center;
  }

  .picture {
    width: 50px;
    height: 50px;
  }

  .picture {
    position: relative;
    z-index: 0;
    font: 12px verdana;
  }

  .picture:hover {
    background-color: transparent;
    z-index: 50;
  }

  .picture span {
    position: absolute;
    background-color: #eaeaea;
    padding: 5px;
    left: -1000px;
    border: 1px dashed #999;
    visibility: hidden;
    color: black;
    text-decoration: none;
  }

  .picture span img {
    border-width: 0;
    padding: 2px;
  }

  .picture:hover span {
    visibility: visible;
    top: 0;
    left: 60px;
  }

  p {
    margin-left: 0%;
  }

  #menu {
    margin-left: 0%;
  }

  #log_out {
    float: right;
  }

  .contenedor_form {
    width: fit-content;
    background-color: black;
  }

  /* Botones */

  .button_login[type="submit" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 17px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 13px;
    border: 2px solid #b0b1b8;
    width: 50%;
    text-align: center;
    cursor: pointer;
  }

  .button_login {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 17px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 13px;
    border: 2px solid #b0b1b8;
    width: 80%;
    text-align: center;
    display: block;
    cursor: pointer;
  }

  .button_register[type="submit" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: max-content;
    cursor: pointer;
  }

  .button_register[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_register[type="reset" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: 30%;
    cursor: pointer;
  }

  .button_register[type="reset" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_reset[type="submit" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: 30%;
    cursor: pointer;
  }

  .button_reset[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_reset[type="reset" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    width: 30%;
    cursor: pointer;
  }

  .button_reset[type="reset" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  input[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  span[type="button"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline;
    margin: 0.5em 0;
    font-size: 15px;
    line-height: 2.5em;
    color: #333;
    font-weight: bold;
    height: 2.5em;
    width: 80%;
    border-radius: 20px;
    display: block;
    background: #fdfdfd;
    background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #fdfdfd),
      color-stop(100%, #bebebe)
    );
    background: -webkit-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -o-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -ms-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: linear-gradient(to bottom, #fdfdfd 0%, #bebebe 100%);
    border: 1px solid #bbb;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    cursor: pointer;
  }

  .button_login:hover {
    color: #1883ba;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  #log_out_button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #log_out_button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .boton_menu {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_menu:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .boton_eliminar {
    text-decoration: none;
    padding: unset;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_eliminar:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_mov {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    cursor: pointer;
    margin-right: 10px;
  }

  .button_mov:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-top: 20px;
  }

  .button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  /*input[type="reset" i] {
        text-decoration: none;
        padding: 5px;
        font-weight: 600;
        font-size: 12px;
        color: #ffffff;
        background-color: #1883ba;
        border-radius: 6px;
        border: 2px solid #0016b0;
    }

    input[type="reset" i]:hover {
        color: #1883ba;
        background-color: #ffffff;
    }*/

  /*Paginador*/
  .paginador {
    margin-left: auto;
  }

  .paginador ul {
    /*padding: 15px;*/
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
    /* margin-right: 15% */
  }

  .paginador a,
  .pageSelected {
    color: #428bca;
    border: 1px solid #ddd;
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 35px;
  }

  .paginador a:hover {
    background: #c2b1b1;
  }

  .pageSelected {
    color: #fff;
    background: #428bca;
    border: 1px solid #428bca;
  }

  /*Paginador (Para eliminar)*/

  .paginadorMovimientos {
    margin-left: auto;
  }

  .paginadorMovimientos ul {
    /*padding: 15px;*/
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
    /* margin-right: 15% */
  }

  .paginadorMovimientos a,
  .pageSelectedMovimientos {
    color: #428bca;
    border: 1px solid #ddd;
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 35px;
  }

  .paginadorMovimientos a:hover {
    background: #c2b1b1;
  }

  .pageSelectedMovimientos {
    color: #fff;
    background: #428bca;
    border: 1px solid #428bca;
  }

  .TextBoxTicker {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: #428bca;
    width: 120%;
  }

  .footer {
    position: fixed;
    bottom: 0px;
    z-index: 2000;
    left: 30%;
  }
}

/* Smartphones (portrait and landscape) ----------- */

@media only screen and (max-width: 800px) {
  body {
    background-color: #ffe4c4;
    animation: fadeInAnimation ease 10s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .bienvenido {
    text-align: center;
    margin: auto;
    font-size: 20px;
    color: red;
  }

  .login {
    margin-top: 10px;
    margin-left: auto;
  }

  /** alertify **/

  .alertify .ajs-header {
    margin: -24px;
    margin-bottom: 0;
    padding: 16px 24px;
    background-color: #1e546f;
    color: #fff;
  }

  .alertify-notifier .ajs-message {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-align: center;
    border: solid 1px #ddd;
    border-color: #1e546f;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-success {
    color: #fff;
    font-weight: bold;
    background: rgba(91, 189, 114, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-color: #1e546f;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-error {
    color: #fff;
    font-weight: bold;
    background: rgba(217, 92, 92, 0.95);
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
    border-color: #1e546f;
    border-radius: 10px;
  }
  .alertify-notifier .ajs-message.ajs-warning {
    background: rgba(252, 248, 215, 0.95);
    border-color: #1e546f;
    font-weight: bold;
    border-radius: 10px;
  }

  .alertify .ajs-footer {
    padding: 4px;
    margin-left: -24px;
    margin-right: -24px;
    min-height: 43px;
    background-color: #fff;
    border-color: #1e546f;
  }

  alertify .ajs-body .ajs-content {
    padding: 16px 24px 16px 16px;
    font-weight: bold;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button {
    margin: 4px;
    background-color: #a8b5bb;
    border-color: #1e546f;
  }

  .alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button:hover {
    margin: 4px;
    background-color: #99cfea;
    border-color: #fff;
  }
  .alertify .ajs-footer .ajs-buttons .ajs-button {
    /* min-width: 88px;
        min-height: 35px;*/
    color: #1e546f;
  }

  .version {
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  .alert {
    display: none;
    font-size: 16px;
    font-weight: bold;
    color: red;
    padding: 20px;
  }

  .button_first {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-right: 10px;
  }

  .button_first:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_second {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .button_second:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button_login {
    text-decoration: none;
    padding: 10px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .button_login:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  /*img {
        margin-top: 10px;
        max-width: 100%;
        height: auto;
    }*/

  .hide-on-mobile {
    display: none;
  }

  #nombre_archivo {
    color: red;
  }

  .imagenIndex {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

  .imagenIndex:hover {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    box-shadow: 0px 0px 15px 15px #ec731e;
    -webkit-box-shadow: 0px 0px 15px 15px #ec731e;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
  }

  .imagenIndex {
    overflow: hidden;
    transition: all 0.5s ease-in-out;
  }

  /************************************************/
  /****************** NAVIGATION ******************/
  /************************************************/
  nav {
    background: #1883ba;
    color: #1d1f20;
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 9999;
  }

  /*** INPUT ***/
  nav input {
    opacity: 0;
    position: absolute;
    z-index: -1;
  }

  /*** LABEL ***/
  nav label {
    cursor: pointer;
    display: block;
    font:
      2em/1 "Oswald",
      sans-serif;
    padding: 0.5em;
  }

  /* Hamburger Icon */
  /*#menu-icon,
    #menu-icon:before,
    #menu-icon:after {
        background: #1d1f20;
        border-radius: 0.05em;
        height: 0.2em;
        transition: all 0.2s ease-in-out;
        width: 100%;
    }

    #menu-icon {
        display: inline-block;
        margin: 0.4em 0;
        max-width: 1em;
        position: relative;
    }

    nav label #menu-icon {
        float: right;
    }

    #menu-icon:before,
    #menu-icon:after {
        content: '';
        left: 0;
        position: absolute;
    }

    #menu-icon:before {
        top: -0.4em;
    }

    #menu-icon:after {
        bottom: -0.4em;
    }*/

  .wrapperMensajeCookie {
    /* bottom: 0;
        padding-top: 22%;*/
    position: relative;
    width: 100%;
    /* margin-bottom: -15%;*/
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
  }

  .wrapperMensajeCookie .inner {
    padding: 5px 0;
  }

  .wrapperMensajeCookie .textoLegalCookie {
    background-color: #f1f1f1;
    border: 1px solid #fae3e5;
    border-radius: 4px 4px 4px 4px;
    margin: 0 auto;
    max-width: 85%;
    padding: 7px 37px 7px 17px;
    position: relative;
  }

  .wrapperMensajeCookie .textoLegalCookie p strong {
    background: url(../images/exclamation.png) no-repeat scroll 0 3px
      transparent;
    display: block;
    font-weight: bold;
    line-height: 19px;
    margin-bottom: 3px;
    padding-left: 19px;
  }

  .wrapperMensajeCookie .textoLegalCookie a.cerrarTextoLegalCookie {
    background: url(../images/close.png) no-repeat scroll 0 0 transparent;
    display: block;
    height: 16px;
    overflow: hidden;
    position: absolute;
    right: 8px;
    text-indent: 100%;
    top: 12px;
    white-space: nowrap;
    width: 16px;
  }

  /* Close Icon */
  nav input[type="checkbox"]:checked + label #menu-icon {
    background: transparent;
  }

  nav input[type="checkbox"]:checked + label #menu-icon:before {
    top: 0;
    transform: rotate(-45deg);
  }

  nav input[type="checkbox"]:checked + label #menu-icon:after {
    bottom: 0;
    transform: rotate(45deg);
  }

  /*** MENU ***/
  /* Overlay */
  nav input:checked ~ #overlay {
    background: #e5e5e5;
    bottom: 0;
    left: 0;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: -1;
  }

  /* List */
  nav ul {
    font-size: 40px;
    list-style: none;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    text-align: center;
  }

  nav input:checked ~ ul {
    margin: 1em;
    max-height: inherit;
    opacity: 1;
  }

  nav ul > li {
    margin: 0.5em 0;
  }

  nav ul a {
    color: #1d1f20 !important;
    text-decoration: none;
  }

  nav ul a:hover {
    text-decoration: underline;
  }

  #supermercado_mes {
    background-color: olive;
  }

  #extra_mes {
    background-color: olive;
  }

  .tablaActas {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 7%;
  }

  .tablaActas table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaActas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaActas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaActas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaActas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaActas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaActas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tabla_mov_cuenta {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 7%;
  }

  .tabla_mov_cuenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_mov_cuenta tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_mov_cuenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_mov_cuenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_mov_cuenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_mov_cuenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_mov_cuenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaMovimientos {
    overflow: auto;
    height: auto;
    width: 110%;
  }

  .tablaMovimientos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: auto;
    padding: 5px 15px;
    text-align: center;
  }

  .tablaMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 15px;
    text-align: center;
  }

  .tablaMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** extra/main.php ***/
  .mainTable {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .mainTable table {
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 66%;
    padding: 5px 10px;
    text-align: center;
    margin: auto;
  }

  .mainTable caption,
  td,
  th {
    padding: 0.3em;
  }

  .mainTable tbody th:not(.title) {
    background-color: #1883ba;
    color: white;
    font-size: 20px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    width: 60%;
  }

  .mainTable tbody th {
    background-color: #25ba18;
    color: white;
    font-size: 25px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    width: 60%;
  }

  .title tbody th {
    font-weight: bold;
    font-size: 25px;
  }

  .mainTable tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 20px;
    width: 50%;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .mainTable tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .mainTable tbody tr:hover {
    background-color: #c2b1b1;
  }

  .mainTable caption {
    font-weight: bold;
    font-style: italic;
  }

  .mainTable tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla para extra/extra.php ***/
  .tablaExtra {
    overflow: auto;
    height: auto;
    width: 100%;
    color: black;
  }

  .tablaExtra table {
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 75%;
    padding: 5px 10px;
    text-align: center;
    margin-top: 20px;
  }

  .tablaExtra caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaExtra tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaExtra tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaExtra tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaExtra tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaExtra caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaExtra tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Tabla de Extras/Vistas.php ***/
  .tablaMeses {
    overflow: auto;
    height: auto;
    width: auto;
    left: 45%;
    position: relative;
    color: black;
  }

  .tablaMeses table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 50%;
    /*padding: 5px 10px;*/
    text-align: center;
  }

  .tablaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaMeses tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaMeses tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaMeses tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaMeses tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaMeses tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  /*** Para tablas de extras/meses_extras.php***/
  .tablaIngresos {
    overflow: auto;
    height: auto;
    width: 30%;
    position: relative;
  }

  .tablaIngresos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaGastos {
    overflow: auto;
    height: auto;
    position: relative;
  }

  .tablaGastos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastos tbody th {
    background-color: #18ba85;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos de renta.php ***/
  .TablaRenta {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .TablaRenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 35px;
    caption-side: top;
    width: 50%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .TablaRenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .TablaRenta tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .TablaRenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .TablaRenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .TablaRenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .TablaRenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .TablaRenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .TablaResumenRenta {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .TablaResumenRenta table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .TablaResumenRenta caption,
  td,
  th {
    padding: 0.3em;
  }

  .TablaResumenRenta tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .TablaResumenRenta tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .TablaResumenRenta tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .TablaResumenRenta tbody tr:hover {
    background-color: #c2b1b1;
  }

  .TablaResumenRenta caption {
    font-weight: bold;
    font-style: italic;
  }

  .TablaResumenRenta tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos tabla gastos categorias viajes/gastos.php ***/
  .tablaGastosCategorias {
    overflow: auto;
    height: auto;
    width: 23%;
    margin-left: -18%;
    margin-top: 20px;
    float: left;
  }

  .tablaGastosCategorias table {
    border: 1px solid #999;
    border-collapse: collapse;
    caption-side: top;
    width: 90%;
    padding: 5px 5px;
    margin: auto;
    text-align: center;
    color: black;
  }

  .tablaGastosCategorias caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosCategorias tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosCategorias tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosCategorias tbody tr:hover {
    background-color: #c2b1b1;
    font-size: 20px;
    font-weight: bold;
    color: rgb(66, 20, 3);
  }

  .tablaGastosCategorias caption {
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
  }

  .tablaGastosCategorias tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas vivienda.php ***/
  .tablaViviendas {
    overflow: auto;
    height: auto;
    width: auto;
    margin: auto;
  }

  .tablaViviendas table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaViviendas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaViviendas tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaViviendas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaViviendas tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaViviendas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaViviendas tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  .tablaBeneficiosVivienda {
    overflow: auto;
    height: auto;
    width: auto;
    margin: auto;
  }

  .tablaBeneficiosVivienda table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 73%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaBeneficiosVivienda caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaBeneficiosVivienda tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaBeneficiosVivienda tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaBeneficiosVivienda tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaBeneficiosVivienda caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaBeneficiosVivienda tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para vivienda/vistas.php***/
  .vistasViviendaIngresos {
    overflow: auto;
    height: auto;
    width: 140%;
    position: relative;
    margin-left: -35%;
    z-index: -1;
  }

  .vistasViviendaIngresos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 50%;
    #padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .vistasViviendaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .vistasViviendaIngresos tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .vistasViviendaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .vistasViviendaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .vistasViviendaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .vistasViviendaIngresos tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  .vistasViviendaGastos {
    overflow: auto;
    height: auto;
    width: 110%;
    position: absolute;
    margin-left: -18%;
    z-index: -1;
  }

  .vistasViviendaGastos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 80px;
    caption-side: top;
    width: 78%;
    #padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .vistasViviendaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .vistasViviendaGastos tbody th {
    background-color: #18ba4f;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .vistasViviendaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .vistasViviendaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .vistasViviendaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .vistasViviendaGastos tfoot {
    background-color: #18ba4f;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tabla search.php ***/
  .tablaSearchMovimientos {
    overflow: auto;
    height: auto;
    width: 110%;
  }

  .tablaSearchMovimientos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: auto;
    padding: 5px 15px;
    text-align: center;
    color: black;
  }

  .tablaSearchMovimientos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaSearchMovimientos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 15px;
    text-align: center;
  }

  .tablaSearchMovimientos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaSearchMovimientos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaSearchMovimientos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaSearchMovimientos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaSearchMovimientos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    border: 1px solid #bbb;
    text-align: center;
    font-weight: bold;
    background-color: white;
  }

  input {
    -webkit-appearance: checkbox;
    -moz-appearance: none;
    display: block;
    margin: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    border: 1px solid #bbb;
    text-align: center;
    font-weight: bold;
  }

  input[type="checkbox"] {
    width: 31px;
    height: 31px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    border-radius: 22px;
    border: 1px solid #000;
    background-color: white;
  }

  input[type="radio"] {
    width: 31px;
    height: 31px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    border-radius: 22px;
    border: 1px solid #000;
    background-color: white;
  }

  button[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 1.5em 0;
    font-size: 1em;
    line-height: 2.5em;
    color: #333;
    font-weight: bold;
    height: 2.5em;
    width: 100%;
    background: #fdfdfd;
    background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #fdfdfd),
      color-stop(100%, #bebebe)
    );
    background: -webkit-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -o-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -ms-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: linear-gradient(to bottom, #fdfdfd 0%, #bebebe 100%);
    border: 1px solid #bbb;
    background-color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
  }

  span[type="button"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 0.5em 0;
    font-size: 16px;
    line-height: 2.5em;
    color: #333;
    font-weight: bold;
    height: 2.5em;
    width: 100%;
    background: #fdfdfd;
    background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #fdfdfd),
      color-stop(100%, #bebebe)
    );
    background: -webkit-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -o-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: -ms-linear-gradient(top, #fdfdfd 0%, #bebebe 100%);
    background: linear-gradient(to bottom, #fdfdfd 0%, #bebebe 100%);
    border: 1px solid #bbb;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
  }

  textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    margin: 0;
    width: 100%;
    height: 80px;
    line-height: 40px;
    font-size: 17px;
    border: 1px solid #bbb;
    background-color: #f8f8f8;
    font-size: 30px;
    resize: yes;
  }

  h1,
  h2 {
    text-align: center;
    color: maroon;
    margin-left: 0%;
  }

  #pic {
    padding-left: 9%;
  }

  #imagen {
    margin-left: 0%;
  }

  #base {
    margin-top: 10px;
    text-align: center;
    padding-top: 5px;
    margin-block: inherit;
  }

  p {
    margin-left: 0%;
  }

  #menu {
    margin-left: 0%;
  }

  #log_out {
    float: right;
  }

  #button_first {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #button_first:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  #button_second {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #button_second:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  #log_out_button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  #log_out_button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .hide-on-mobile {
    display: none;
  }

  .boton_menu {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_menu:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .boton_eliminar {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 12px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .boton_eliminar:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  /*Botones*/
  input[type="submit" i] {
    text-decoration: none;
    padding: 0px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-top: 0%;
    margin-bottom: 10px;
    width: 100%;
  }

  input[type="submit" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  .button a {
    text-decoration: none;
    padding: 0px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
    margin-top: -40px;
    margin-bottom: 10px;
  }

  .button {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  .button:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  input[type="reset" i] {
    text-decoration: none;
    padding: 5px;
    font-weight: 600;
    font-size: 22px;
    color: #ffffff;
    background-color: #1883ba;
    border-radius: 6px;
    border: 2px solid #0016b0;
  }

  input[type="reset" i]:hover {
    color: #1883ba;
    background-color: #ffffff;
  }

  label {
    font-size: 25px;
    font-weight: bold;
  }

  .one-more-block {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    width: 100%;
  }

  input[type="password"] {
    display: block;
    margin: 0;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    padding: 10px;
    border: 1px solid #bbb;
    text-align: center;
    font-weight: bold;
  }

  .inner-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .one-more-select {
    position: relative;
    margin: auto;
  }

  /*Paginador*/
  /*Paginador*/
  .paginador {
    margin-left: auto;
  }

  .paginador ul {
    padding: 15px;
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
  }

  .paginador li {
    margin-right: 5px;
  }

  .paginador li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    background-color: #fff;
    color: #a1a8cd;
    border-radius: 4px;
    transition: background-color 0.3s;
  }

  .pageSelected {
    color: #fff;
    background: #428bca;
    border: 1px solid black;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .pageSelected:hover {
    color: #fff;
    background: black;
    border: 1px solid white;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .paginador a:hover {
    background: #c2b1b1;
    color: white;
  }

  /*Paginador Movimientos (Para eliminar)*/
  .paginadorMovimientos {
    margin-left: auto;
  }

  .paginadorMovimientos ul {
    padding: 15px;
    justify-content: flex-end;
    list-style: none;
    margin: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;
  }

  .paginadorMovimientos li {
    margin-right: 5px;
  }

  .paginadorMovimientos li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    background-color: #fff;
    color: #a1a8cd;
    border-radius: 4px;
    transition: background-color 0.3s;
  }

  .pageSelectedMovimientos {
    color: #fff;
    background: #428bca;
    border: 1px solid black;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .pageSelectedMovimientos:hover {
    color: #fff;
    background: black;
    border: 1px solid white;
    border-radius: 4px;
    padding: 7px 12px;
    width: 36px;
    height: 33px;
  }

  .paginadorMovimientos a:hover {
    background: #c2b1b1;
    color: white;
  }

  /*** Para tablas de extras/meses_extras.php***/
  .tablaIngresos {
    overflow: auto;
    height: auto;
    width: 30%;
    position: relative;
  }

  .tablaIngresos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaIngresos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaIngresos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .tablaGastos {
    overflow: auto;
    height: auto;
    position: relative;
  }

  .tablaGastos table {
    border: 1px solid #999;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 30%;
    padding: 5px 10px;
    text-align: center;
    color: black;
  }

  .tablaGastos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastos tbody th {
    background-color: #18ba85;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** tablasTareas.php ***/

  .tablaTareas {
    overflow: auto;
    height: auto;
    width: auto;
    margin-left: auto;
  }

  .tablaTareas table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaTareas caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaTareas tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaTareas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaTareas tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaTareas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaTareas tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilos para tablas contactos.php ***/
  .tablaContactos {
    overflow: auto;
    height: auto;
    width: auto;
    margin-left: auto;
  }

  .tablaContactos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaContactos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaContactos tbody th {
    background-color: #ba4f18;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaContactos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaContactos tbody tr:hover {
    background-color: #baaf18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaContactos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaContactos tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /* gastos_fijos.php*/

  .tablaGastosFijos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaGastosFijos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosFijos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosFijos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaGastosFijos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaGastosFijos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaGastosFijos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosFijos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  .descGastosFijos {
    text-align: left;
    margin-left: 30%;
  }

  /** debitos.php **/

  .tablaDebitos {
    overflow: auto;
    height: auto;
    width: 100%;
  }

  .tablaDebitos table {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaDebitos tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 14px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaDebitos tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tablaDebitos tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tablaDebitos tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tablaDebitos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaDebitos tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Movimientos/vista***/
  .tablaVistaAnual {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 110%;
  }

  .tablaVistaAnual table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaAnual caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaAnual tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaVistaAnual tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaVistaAnual tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaAnual caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaAnual tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Vista Anual Conceptos ***/
  .tablaVistaConceptos {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 110%;
  }

  .tablaVistaConceptos table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaVistaConceptos caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaVistaConceptos tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
    font-size: 20px;
  }

  .tablaVistaConceptos tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaVistaConceptostbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaVistaConceptos caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaVistaConceptos tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla meses Movimientos/vista ***/
  .tableVistaMeses {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 110%;
  }

  .tableVistaMeses table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 75%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tableVistaMeses caption,
  td,
  th {
    padding: 0.3em;
  }

  .tableVistaMeses tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tableVistaMeses tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tableVistaMeses tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tableVistaMeses caption {
    font-weight: bold;
    font-style: italic;
  }

  .tableVistaMeses tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Ingresos Movimientos/meses_actuales ***/
  .tablaIngresoMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 72%;
  }

  .tablaIngresoMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaIngresoMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaIngresoMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaIngresoMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaIngresoMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaIngresoMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaIngresoMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla categorias Movimientos/meses_actuales ***/
  .tablaCategoriasMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 85%;
  }

  .tablaCategoriasMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaCategoriasMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaCategoriasMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaCategoriasMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaCategoriasMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaCategoriasMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaCategoriasMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para tabla Gastos Movimientos/meses_actuales ***/
  .tablaGastosMesesActuales {
    overflow: auto;
    height: auto;
    margin: auto;
    width: 72%;
  }

  .tablaGastosMesesActuales table {
    border: 1px solid #999;
    #text-align: left;
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 60%;
    padding: 5px 10px;
    text-align: center;
    color: black;
    font-size: 12px;
  }

  .tablaGastosMesesActuales caption,
  td,
  th {
    padding: 0.3em;
  }

  .tablaGastosMesesActuales tbody th {
    background-color: #ba4f18;
    color: white;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tablaGastosMesesActuales tbody td {
    border-bottom: 1px solid #ddd;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
  }

  .tablaGastosMesesActuales tbody tr:hover {
    background-color: #ba4f18;
    font-size: 14px;
    font-weight: bold;
  }

  .tablaGastosMesesActuales caption {
    font-weight: bold;
    font-style: italic;
  }

  .tablaGastosMesesActuales tfoot {
    background-color: #ba4f18;
    color: #fff;
    font-size: 14px;
  }

  /*** Estilo para plantillas ***/
  .tabla_plantillas {
    overflow: auto;
    height: auto;
    width: 100%;
    padding-top: 2%;
  }

  .tabla_plantillas {
    border: 1px solid #999;
    /*text-align: left;*/
    border-collapse: collapse;
    margin: 0 0 1em 0;
    caption-side: top;
    width: 45%;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas,
  td,
  th {
    padding: 0.3em;
  }

  .tabla_plantillas tbody th {
    background-color: #1883ba;
    color: white;
    font-size: 12px;
    border: 1px solid #ddd;
    height: 20px;
    padding: 5px 10px;
    text-align: center;
  }

  .tabla_plantillas tbody td {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    width: auto;
    border: 1px solid #ddd;
    height: 20px;
    color: black;
  }

  .tabla_plantillas tbody td a:not(.boton_eliminar) {
    font-size: 12px;
    color: blue;
  }

  .tabla_plantillas tbody tr:hover {
    background-color: #c2b1b1;
  }

  .tabla_plantillas caption {
    font-weight: bold;
    font-style: italic;
  }

  .tabla_plantillas tfoot {
    background-color: #3f87a6;
    color: #fff;
    font-size: 14px;
  }

  #nombre_archivo {
    color: red;
  }

  .TextBoxTicker {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-left: -50%;
    color: #fff;
    background: #428bca;
  }

  .footer {
    position: fixed;
    bottom: 0;
    z-index: 2000;
    #left: 0;
    width: 100%;
  }
}

/* Menu principal */
.demo-3 {
  width: min(100% - 24px, 1180px);
  margin: 14px auto 22px;
  padding: 0;
}

.demo-3 .codrops-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.demo-3 .codrops-top a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.demo-3 .codrops-top a:hover,
.demo-3 .codrops-top a:focus {
  color: #0f766e;
  text-decoration: underline;
}

.demo-3 .column {
  position: static;
  float: none;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0;
}

.demo-3 .dl-menuwrapper {
  z-index: 3000;
  width: min(100%, 360px);
  max-width: 360px;
  float: none;
  font-family: Arial, Helvetica, sans-serif;
}

.demo-3 .dl-menuwrapper:first-child {
  margin-right: 0;
}

.demo-3 .dl-menuwrapper button.dl-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: min(100%, 320px);
  height: 48px;
  min-height: 48px;
  padding: 0 18px 0 48px;
  overflow: visible;
  color: #ffffff;
  background: #0f766e;
  border: 1px solid #115e59;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
  text-indent: 0;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.demo-3 .dl-menuwrapper button.dl-trigger:after {
  top: 13px;
  left: 18px;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow:
    0 7px 0 #ffffff,
    0 14px 0 #ffffff;
}

.demo-3 .dl-menuwrapper button.dl-trigger:hover,
.demo-3 .dl-menuwrapper button.dl-trigger:focus,
.demo-3 .dl-menuwrapper button.dl-trigger.dl-active {
  background: #115e59;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.3);
  transform: translateY(-1px);
}

.demo-3 .dl-menuwrapper button.dl-trigger:focus-visible,
.demo-3 .codrops-top a:focus-visible,
.demo-3 .dl-menuwrapper li a:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.35);
  outline-offset: 2px;
}

.demo-3 .dl-menuwrapper ul {
  background: #ffffff;
}

.demo-3 .dl-menuwrapper .dl-menu,
.demo-3 .dl-menuwrapper > .dl-submenu {
  width: min(92vw, 360px);
  max-height: min(72vh, 620px);
  margin-top: 8px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.demo-3 .dl-menuwrapper li {
  border-bottom: 1px solid #eef2f7;
}

.demo-3 .dl-menuwrapper li:last-child {
  border-bottom: 0;
}

.demo-3 .dl-menuwrapper li a {
  min-height: 46px;
  padding: 13px 46px 13px 18px;
  color: #1f2937;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    padding-left 0.16s ease;
}

.demo-3 .dl-menuwrapper li a:hover,
.demo-3 .dl-menuwrapper li a:focus {
  color: #0f766e;
  background: #eefcf9;
  padding-left: 22px;
}

.demo-3 .dl-menuwrapper li.dl-back > a {
  color: #0f766e;
  background: #f1f5f9;
  padding-left: 38px;
}

.demo-3 .dl-menuwrapper li.dl-back:after,
.demo-3 .dl-menuwrapper li > a:not(:only-child):after {
  color: #64748b;
  line-height: 46px;
}

.demo-3 .dl-menuwrapper li > a:not(:only-child):after {
  right: 16px;
}

.demo-3 .dl-menuwrapper li.dl-back:after {
  left: 14px;
  color: #0f766e;
}

.demo-3 .dl-menuwrapper .dl-menu.dl-menuopen {
  opacity: 1;
}

@media only screen and (max-width: 799px) {
  .demo-3 {
    width: calc(100% - 20px);
    margin: 10px auto 18px;
  }

  .demo-3 .codrops-top {
    padding: 0 10px;
  }

  .demo-3 .dl-menuwrapper,
  .demo-3 .dl-menuwrapper button.dl-trigger,
  .demo-3 .dl-menuwrapper .dl-menu,
  .demo-3 .dl-menuwrapper > .dl-submenu {
    width: 100%;
    max-width: none;
  }
}

/* Acabado visual profesional */
:root {
  --app-bg: #f4f7fb;
  --app-surface: #ffffff;
  --app-surface-soft: #f8fafc;
  --app-border: #d8e0ea;
  --app-border-strong: #bac7d6;
  --app-text: #1f2937;
  --app-muted: #64748b;
  --app-primary: #0f766e;
  --app-primary-dark: #115e59;
  --app-primary-soft: #e6f6f3;
  --app-accent: #2563eb;
  --app-danger: #b42318;
  --app-warning: #b45309;
  --app-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  --app-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
  --app-radius: 8px;
}

html {
  min-height: 100%;
  color: var(--app-text);
  background: var(--app-bg);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--app-text);
  background: var(--app-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

body:not(.index-login-page) {
  background:
    linear-gradient(
      180deg,
      rgba(244, 247, 251, 0.98),
      rgba(239, 244, 249, 0.98)
    ),
    var(--app-bg);
}

body:not(.index-login-page) > header,
body:not(.index-login-page) #base,
body:not(.index-login-page) .contenedor_form {
  width: min(100% - 32px, 70%);
  margin-left: auto;
  margin-right: auto;
}

body:not(.index-login-page) > header {
  padding: 18px 0 8px;
}

body:not(.index-login-page) > header h1 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

body:not(.index-login-page) > header p,
body:not(.index-login-page) > header span {
  color: var(--app-muted);
}

.index-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.16)),
    url("../images/login-dashboard-bg.png") center / cover no-repeat fixed;
}

.index-login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(15, 23, 42, 0.22)
  );
}

.index-login-page::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 36vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.42));
}

.index-login-page .form-login {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: min(100%, 420px);
  transform: none;
  border-radius: var(--app-radius);
}

.register-login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.register-login-page .form-login {
  position: relative;
  top: auto;
  left: auto;
  width: min(100% - 32px, 520px);
  margin: 40px auto;
  transform: none;
}

.register-login-page .app-property-mark {
  margin-top: auto;
}

.index-login-page .contenedor {
  width: auto;
  padding: 32px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--app-radius);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(14px);
}

.index-login-page .contenedor:hover {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.index-login-page h1 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.index-login-page h2 {
  margin: 0 0 24px;
  color: var(--app-muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.index-login-page .formulario {
  width: 100%;
}

.form-label-login,
.form-label-forms {
  display: inline-block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.form-input-forms,
.form-input-login,
.form-textarea-forms,
input[type="password"],
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
  box-sizing: border-box;
  min-height: 42px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.form-input-forms,
.form-input-login,
input[type="password"] {
  padding: 9px 12px;
  text-align: left;
}

textarea,
.form-textarea-forms {
  text-align: justify;
}

.app-file-dropzone {
  position: relative;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 150px;
  padding: 22px;
  overflow: hidden;
  color: #475569;
  background: #f8fafc;
  border: 2px dashed #94a3b8;
  border-radius: var(--app-radius);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.app-file-dropzone:hover,
.app-file-dropzone:focus,
.app-file-dropzone:focus-within,
.app-file-dropzone.is-dragging {
  background: #f0fdfa;
  border-color: var(--app-primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  outline: none;
}

.app-file-dropzone.has-file {
  background: #f0fdf4;
  border-color: #16a34a;
}

.app-file-dropzone.has-error {
  background: #fff7ed;
  border-color: var(--app-danger);
}

.app-file-dropzone .app-file-input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.app-file-dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.app-file-dropzone-content strong {
  color: #0f172a;
  font-size: 16px;
}

.app-file-dropzone-icon {
  color: var(--app-primary);
  font-size: 34px;
  line-height: 1;
}

.app-file-dropzone-status {
  max-width: 100%;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.app-file-dropzone.has-error .app-file-dropzone-status {
  color: var(--app-danger);
}

.inputsLogin {
  width: 100%;
}

.one-more-block {
  display: block;
  width: 100%;
}

.one-more-block input[type="password"] {
  padding-right: 44px;
}

.inner-icon {
  right: 12px;
  opacity: 0.68;
  transition: opacity 0.16s ease;
}

.inner-icon:hover {
  opacity: 1;
}

.app-password-field {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.app-password-field input {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  margin: 0;
  padding: 9px 12px !important;
  border-radius: 10px !important;
}

button.app-password-toggle {
  position: relative;
  z-index: 2;
  width: 48px;
  min-width: 48px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  background: var(--app-primary);
  border: 1px solid var(--app-primary-dark);
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.2);
  font-size: 20px;
  line-height: 1;
  transform: none;
}

button.app-password-toggle:hover,
button.app-password-toggle:focus-visible {
  color: #ffffff;
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
  transform: none;
}

.app-password-field:focus-within input,
.app-password-field:focus-within button.app-password-toggle {
  border-color: var(--app-primary);
}

.app-password-field input:focus {
  box-shadow: none;
  outline: 0;
}

.app-password-field:focus-within {
  border-radius: 10px;
  box-shadow: none;
}

.form-input-forms:focus,
.form-input-login:focus,
.form-textarea-forms:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.button_login,
.button_login[type="submit" i],
button,
input[type="submit"],
input[type="button"] {
  box-sizing: border-box;
  min-height: 42px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--app-primary);
  border: 1px solid var(--app-primary-dark);
  border-radius: var(--app-radius);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.button_login:hover,
.button_login[type="submit" i]:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  color: #ffffff;
  background: var(--app-primary-dark);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.26);
  transform: translateY(-1px);
}

.index-login-page .button_login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 10px;
}

.index-login-page a.button_login {
  width: auto;
  min-height: 38px;
  margin: 0 4px 8px;
  padding: 9px 12px;
  color: var(--app-primary-dark);
  background: var(--app-primary-soft);
  border-color: #b7e3dc;
  box-shadow: none;
}

.index-login-page a.button_login:hover {
  color: #ffffff;
  background: var(--app-primary);
  border-color: var(--app-primary);
}

.index-login-page .version {
  padding: 10px 0 8px;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 800;
}

.index-login-page .login-logo {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.index-login-page .login-logo img {
  max-width: 30%;
  max-height: 30%;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
}

.alert {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--app-danger);  
  border-radius: var(--app-radius);
  font-size: 14px;
  font-weight: 800;
}

.bienvenido {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100% - 32px, 1240px);
  margin: 10px auto;
  padding: 24px 46px;
  color: var(--app-primary-dark);
  background: var(--app-primary-soft);
  border: 1px solid #b7e3dc;
  border-radius: var(--app-radius);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.app-current-community {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: min-content;
  padding: 4px 12px;
  overflow: hidden;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-version-badge {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  max-width: 160px;
  min-height: 28px;
  padding: 4px 10px;
  overflow: hidden;
  color: #0f766e;
  background: #ffffff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.app-welcome-tools {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transform: translateY(-50%);
}

.app-welcome-tools .app-version-badge {
  position: static;
  transform: none;
}

.app-gestoria-guide-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #0f766e;
  background: #fff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15,23,42,.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.app-gestoria-guide-shortcut:hover,
.app-gestoria-guide-shortcut:focus-visible {
  color: #fff;
  background: #0f766e;
  outline: 3px solid rgba(15,118,110,.22);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .bienvenido {
    flex-wrap: wrap;
    padding: 18px 12px 58px;
  }

  .app-welcome-tools {
    top: auto;
    right: auto;
    bottom: 10px;
    left: 50%;
    max-width: calc(100% - 20px);
    transform: translateX(-50%);
  }

  .app-gestoria-guide-shortcut {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.app-version-badge:hover,
.app-version-badge:focus-visible {
  color: #ffffff;
  background: #0f766e;
  outline: 3px solid rgba(15, 118, 110, 0.22);
  outline-offset: 2px;
}

#helpPopup {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 10000;
  display: none;
  width: min(420px, calc(100vw - 32px));
  max-height: min(72vh, 520px);
  overflow-y: auto;
  padding: 18px;
  color: #f8fafc;
  background: #1e293b;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.34);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.help-title {
  margin-bottom: 10px;
  color: #38bdf8;
  font-size: 18px;
  font-weight: 800;
}

.help-subtitle {
  margin: 12px 0 8px;
  color: #facc15;
  font-weight: 800;
}

.version-change-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.version-change-list li {
  margin: 6px 0;
  line-height: 1.4;
}

.contenedor,
.contenedor_form,
.mantenimiento_form_style {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow-soft);
}

.contenedor:hover {
  background: var(--app-surface);
  border-color: var(--app-border-strong);
}

.contenedor_form,
.mantenimiento_form_style {
  padding: 18px;
}

.mantenimiento_form_style {
  background: #ffffff;
}

.mantenimiento_form_style .form-label-forms {
  color: #334155;
}

table {
  background: #ffffff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow-soft);
  overflow: hidden;
}

tbody th,
thead th {
  color: #ffffff;
  background: #155e75;
  border-color: #155e75;
  font-size: 13px;
  font-weight: 800;
}

tbody td,
thead td,
td {
  border-color: #e5eaf1;
  color: #1f2937;
}

tbody tr:nth-child(even) td {
  background: #f8fafc;
}

tbody tr:hover td {
  background: #eefcf9;
}

.tabla_mov_cuenta tbody tr.mov-income td,
.tablaSearchMovimientos tbody tr.mov-income td {
  background: green;
  color: #ffffff;
}

caption {
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  font-style: normal;
}

.tablaActas,
.tablaGastosFijos,
.tablaDebitos,
.tablaTareas,
.tablaContactos,
.tablaExtra,
.tablaVistaConceptos,
.tablaMeses,
.tablaIngresos,
.tablaGastos,
.tablaGastosCategorias,
.tabla_plantillas,
.tablaViviendas,
.tablaBeneficiosVivienda,
.tablaSearchMovimientos,
.tablaVistaAnual,
.tablaIngresoMesesActuales,
.tablaCategoriasMesesActuales,
.tablaGastosMesesActuales {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  overflow-x: auto;
}

.tablaMovimientos,
.tabla_mov_cuenta {
  width: fit-content;
  margin: 0 auto 24px;
  overflow-x: auto;
}

.tablaComunidades {
  width: fit-content;
  margin: 0 auto 24px;
  overflow-x: auto;
}

.tablaMovimientos table,
.tablaActas table,
.tabla_mov_cuenta table,
.tablaGastosFijos table,
.tablaDebitos table,
.tablaTareas table,
.tablaContactos table,
.tablaExtra table,
.tablaVistaConceptos table,
.tablaMeses table,
.tablaIngresos table,
.tablaGastos table,
.tablaGastosCategorias table,
.tabla_plantillas table,
.tablaViviendas table,
.tablaBeneficiosVivienda table,
.tablaSearchMovimientos table,
.tablaVistaAnual table,
.tablaIngresoMesesActuales table,
.tablaCategoriasMesesActuales table,
.tablaGastosMesesActuales table {
  width: 100%;
  min-width: 760px;
}

.tablaComunidades table {
  width: 100%;
  min-width: 980px;
}

.tabla_mov_cuenta table {
  width: max-content;
  min-width: 100%;
}

.tabla_mov_cuenta .mov-actions-header,
.tabla_mov_cuenta .mov-actions {
  min-width: 104px;
  white-space: nowrap;
}

.tabla_mov_cuenta .mov-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
}

.tabla_mov_cuenta .mov-actions img {
  display: block;
}

.dashboard-summary table.dashboard-summary-table {
  table-layout: fixed;
  min-width: 0;
  width: 100%;
}

.dashboard-summary table.dashboard-summary-table th,
.dashboard-summary table.dashboard-summary-table td {
  text-align: center;
  vertical-align: middle;
  width: auto;
  white-space: normal;
}

.dashboard-summary table.dashboard-summary-table td {
  font-size: 13px;
  font-weight: 700;
}

.dashboard-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
  text-align: left;
}

.dashboard-work-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-top: 5px solid #64748b;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.dashboard-work-card.priority-baja {
  border-top-color: #16a34a;
}

.dashboard-work-card.priority-media {
  border-top-color: #0284c7;
}

.dashboard-work-card.priority-alta {
  border-top-color: #ea580c;
}

.dashboard-work-card.priority-urgente {
  border-top-color: #dc2626;
}

.dashboard-work-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dashboard-work-code,
.dashboard-work-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.dashboard-work-code {
  color: #0f172a;
  background: #e2e8f0;
  text-decoration: none;
}

a.dashboard-work-code:hover,
a.dashboard-work-code:focus {
  color: #ffffff;
  background: #0f766e;
}

.dashboard-work-status {
  color: #075985;
  background: #e0f2fe;
}

.dashboard-work-card h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dashboard-work-community {
  margin: 0 0 14px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-neighbor-origin {
  display: inline-flex;
  margin: -4px 0 14px;
  padding: 5px 9px;
  color: #6b21a8;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-work-parent {
  margin: -4px 0 14px;
  padding: 9px 10px;
  color: #334155;
  background: #f8fafc;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-work-card dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 0;
}

.dashboard-work-card dl div {
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.dashboard-work-card dt {
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-work-card dd {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-work-empty {
  grid-column: 1 / -1;
  box-sizing: border-box;
  margin: 0;
  padding: 22px;
  color: #64748b;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
}

.dashboard-visibility-form {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #e2e8f0;
  text-align: left;
}

.dashboard-visibility-form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.dashboard-visibility-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
}

.incidencias-notes-grid {
  margin-bottom: 28px;
}

.incidencias-note-card {
  border-top-color: #7c3aed;
}

.incidencias-note-card.is-finished {
  border-top-color: #16a34a;
  opacity: 0.82;
}

.incidencias-note-text {
  margin: 0 0 16px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.incidencias-note-action {
  margin-top: 16px;
  text-align: left;
}

.incidencias-public-link {
  margin: 18px 0 0;
  text-align: left;
}

.incidencia-overview {
  box-sizing: border-box;
  width: min(100%, 980px);
  margin: 24px auto 34px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
  text-align: left;
}

body:not(.index-login-page) #base > section.incidencia-overview {
  text-align: left;
}

.incidencia-overview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.incidencia-overview-header > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.incidencia-overview-code,
.incidencia-overview-type,
.incidencia-origin-badge,
.incidencia-neighbor-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  box-sizing: border-box;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.incidencia-overview-code {
  color: #ffffff;
  background: #0f766e;
}

.incidencia-overview-type {
  color: #334155;
  background: #f1f5f9;
}

.incidencia-origin-badge {
  color: #6b21a8;
  background: #f3e8ff;
  border: 1px solid #d8b4fe;
}

.incidencia-neighbor-badge {
  flex: 0 0 auto;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.incidencia-neighbor-badge.is-visible {
  color: #166534;
  background: #dcfce7;
  border-color: #86efac;
}

.incidencia-overview-description {
  margin-bottom: 22px;
  padding: 18px;
  background: #f8fafc;
  border-left: 4px solid #0f766e;
  border-radius: 8px;
}

.incidencia-overview-description > span,
.incidencia-overview-grid dt {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.incidencia-overview-description p {
  margin: 7px 0 0;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.incidencia-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.incidencia-overview-grid > div {
  min-width: 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.incidencia-overview-grid dd {
  margin: 5px 0 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .incidencia-overview {
    padding: 18px;
  }

  .incidencia-overview-header {
    display: block;
  }

  .incidencia-neighbor-badge {
    margin-top: 12px;
  }

  .incidencia-overview-grid {
    grid-template-columns: 1fr;
  }
}

.wrapperMensajeCookie {
  width: min(92vw, 520px);
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}

.wrapperMensajeCookie .textoLegalCookie {
  max-width: none;
  padding: 12px 42px 12px 16px;
  color: #334155;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow-soft);
}

@media only screen and (max-width: 799px) {
  body:not(.index-login-page) > header,
  body:not(.index-login-page) #base,
  body:not(.index-login-page) .contenedor_form {
    width: min(100% - 20px, 1240px);
  }

  .index-login-page {
    align-items: start;
    padding-top: 24px;
    background-attachment: scroll;
  }

  .index-login-page .contenedor {
    padding: 22px;
  }

  .index-login-page h1 {
    font-size: 26px;
  }

  .index-login-page a.button_login {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .tablaMovimientos,
  .tablaActas,
  .tabla_mov_cuenta,
  .tablaGastosFijos,
  .tablaDebitos,
  .tablaTareas,
  .tablaContactos,
  .tablaExtra,
  .tablaVistaConceptos,
  .tablaMeses,
  .tablaIngresos,
  .tablaGastos,
  .tablaGastosCategorias,
  .tabla_plantillas,
  .tablaViviendas,
  .tablaBeneficiosVivienda,
  .tablaSearchMovimientos,
  .tablaVistaAnual,
  .tablaIngresoMesesActuales,
  .tablaCategoriasMesesActuales,
  .tablaGastosMesesActuales {
    width: calc(100% - 16px);
  }

  .tablaComunidades {
    width: calc(100% - 16px);
  }
}

/* Unifica todos los botones con el estilo del boton Guardar */
a.button,
.button,
.button_login,
.button_register,
.button_reset,
.button_mov,
.button_first,
.button_second,
.boton_menu,
.boton_eliminar,
#button_first,
#button_second,
#log_out_button,
input.button,
input[type="submit"],
input[type="reset"],
input[type="button"],
button:not(.dl-trigger) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 42px;
  margin: 4px 4px 10px 0;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--app-primary);
  border: 1px solid var(--app-primary-dark);
  border-radius: var(--app-radius);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
  appearance: none;
}

a.button:hover,
.button:hover,
.button_login:hover,
.button_register:hover,
.button_reset:hover,
.button_mov:hover,
.button_first:hover,
.button_second:hover,
.boton_menu:hover,
.boton_eliminar:hover,
#button_first:hover,
#button_second:hover,
#log_out_button:hover,
input.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:not(.dl-trigger):hover {
  color: #ffffff;
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.26);
  transform: translateY(-1px);
}

a.button:focus-visible,
.button:focus-visible,
.button_login:focus-visible,
.button_register:focus-visible,
.button_reset:focus-visible,
.button_mov:focus-visible,
.button_first:focus-visible,
.button_second:focus-visible,
.boton_menu:focus-visible,
.boton_eliminar:focus-visible,
#button_first:focus-visible,
#button_second:focus-visible,
#log_out_button:focus-visible,
input.button:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="button"]:focus-visible,
button:not(.dl-trigger):focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.index-login-page .button_login,
.index-login-page a.button_login {
  width: 100%;
  margin-right: 0;
}

.app-property-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 64px;
  margin: 48px auto 0;
  padding: 22px 24px;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}

.error500-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(244, 247, 251, 0.98),
      rgba(239, 244, 249, 0.98)
    ),
    var(--app-bg);
}

.error500-panel {
  width: min(100%, 560px);
  padding: 34px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.error500-code {
  margin: 0 0 12px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.error500-panel h1 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.2;
}

.error500-panel p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 16px;
}

.error500-panel a {
  color: #1d5d8c;
  font-weight: 800;
  text-decoration: none;
}

.app-profile-shortcut {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 2px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #d7e0ea;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
  letter-spacing: 0;
  text-decoration: none;
}

.app-profile-shortcut img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.app-profile-shortcut span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.app-support-shortcut {
  position: absolute;
  top: 50%;
  left: 54px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--app-primary-dark);
  background: #ffffff;
  border: 1px solid #b7e3dc;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.app-support-shortcut:hover,
.app-support-shortcut:focus-visible {
  color: #ffffff;
  background: var(--app-primary);
  outline: 3px solid rgba(15, 118, 110, 0.2);
  outline-offset: 2px;
}

.support-form-note {
  margin: 0 0 20px;
  padding: 14px 16px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.perfil-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.perfil-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.perfil-main {
  display: grid;
  gap: 18px;
}

.perfil-panel,
.perfil-vivienda,
.perfil-avatar-card {
  box-sizing: border-box;
  width: 100%;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.perfil-panel h2,
.perfil-vivienda h3 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 20px;
  letter-spacing: 0;
}

.perfil-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.perfil-grid label {
  display: grid;
}

.perfil-readonly {
  display: grid;
  align-content: center;
  min-height: 42px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #dce3ec;
  border-radius: 8px;
}

.perfil-readonly span,
.perfil-vivienda-header span,
.perfil-avatar-card span,
.perfil-communities span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.perfil-file-field {
  grid-column: 1 / -1;
}

.perfil-file-field small {
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.perfil-vivienda {
  margin-top: 14px;
  box-shadow: none;
}

.perfil-vivienda-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.perfil-vivienda-header h3 {
  margin: 4px 0 0;
}

.perfil-vivienda-header div:last-child {
  text-align: right;
}

.perfil-vivienda-header strong {
  display: block;
  color: #0f766e;
  font-size: 18px;
}

.perfil-side {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 18px;
}

.perfil-avatar-card {
  text-align: center;
}

.perfil-avatar-card img {
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid #dce3ec;
}

.perfil-avatar-card strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
}

.perfil-communities ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perfil-communities li {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.perfil-communities strong {
  display: block;
  color: #0f172a;
}

.perfil-empty {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.directorio-status-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 28px;
}

.directorio-status-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.directorio-status-row input[type="checkbox"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 4px;
  vertical-align: middle;
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}

.community-assignment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: left;
}

.community-assignment-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  padding: 11px 13px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.community-assignment-options input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
}

.logs-page header,
.logs-page #base {
  text-align: center;
}

.logs-page #base > div,
.logs-page .tablaContactos,
.logs-page .tablaContactos table {
  margin-left: auto;
  margin-right: auto;
}

.logs-page .paginador {
  display: flex;
  justify-content: center;
}

.logs-page .paginador ul {
  justify-content: center;
}

@media (max-width: 860px) {
  .perfil-layout {
    grid-template-columns: 1fr;
  }

  .perfil-side {
    position: static;
    grid-row: 1;
  }

  .perfil-grid {
    grid-template-columns: 1fr;
  }

  .perfil-vivienda-header {
    display: block;
  }

  .perfil-vivienda-header div:last-child {
    margin-top: 10px;
    text-align: left;
  }
}

body:not(.index-login-page) > header,
body:not(.index-login-page) #base {
  text-align: center;
}

body:not(.index-login-page) > header,
body:not(.index-login-page) #base,
body:not(.index-login-page) .contenedor,
body:not(.index-login-page) .contenedor_form,
body:not(.index-login-page) .mantenimiento_form_style,
body:not(.index-login-page) form {
  margin-left: auto;
  margin-right: auto;
}

body:not(.index-login-page) #base > div,
body:not(.index-login-page) #base > section,
body:not(.index-login-page) #base > article {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body:not(.index-login-page) table {
  margin-left: auto;
  margin-right: auto;
}

body:not(.index-login-page) .paginador,
body:not(.index-login-page) .paginadorMovimientos {
  display: flex;
  justify-content: center;
}

body:not(.index-login-page) .paginador ul,
body:not(.index-login-page) .paginadorMovimientos ul {
  justify-content: center;
}

.voting-mobile-page { background:#f1f5f9; }
.voting-census-notice { box-sizing:border-box; margin:0 0 22px; padding:16px 18px; color:#334155; background:#eff6ff; border:1px solid #93c5fd; border-left:5px solid #2563eb; border-radius:10px; text-align:left; }
.voting-census-notice strong { display:block; margin-bottom:7px; color:#1e3a8a; font-size:17px; }
.voting-census-notice p { margin:7px 0; }
.voting-census-notice code { padding:1px 5px; background:#fff; border-radius:4px; }
.voting-mobile-shell { width:min(100% - 24px,680px); margin:0 auto; padding:16px 0 40px; }
.voting-mobile-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.voting-mobile-header h1 { margin:0; color:#0f172a; font-size:24px; }
.voting-mobile-header a,.voting-mobile-back { color:#0f766e; font-weight:800; text-decoration:none; }
.voting-mobile-intro { color:#475569; }
.voting-mobile-card,.voting-mobile-panel,.voting-mobile-receipt { display:block; box-sizing:border-box; margin:0 0 14px; padding:18px; color:#1e293b; background:#fff; border:1px solid #dce3ec; border-radius:12px; box-shadow:0 8px 22px rgba(15,23,42,.07); text-decoration:none; text-align:left; }
.voting-mobile-card strong,.voting-mobile-card span,.voting-mobile-card small { display:block; margin-bottom:5px; }
.voting-mobile-panel h2,.voting-mobile-panel h3 { margin:10px 0; color:#0f172a; }
.voting-mobile-back { display:inline-block; margin:0 0 15px; }
.voting-option { display:flex; align-items:center; gap:11px; margin:0 0 10px; padding:14px; background:#f8fafc; border:1px solid #cbd5e1; border-radius:9px; font-weight:700; }
.voting-option input { width:20px; height:20px; margin:0; }
.voting-mobile-receipt { border-color:#86efac; background:#f0fdf4; }
.voting-mobile-receipt code { display:block; margin:9px 0 14px; padding:12px; overflow-wrap:anywhere; color:#14532d; background:#fff; border:1px solid #86efac; border-radius:7px; font-size:13px; line-height:1.5; user-select:all; }
.voting-copy-receipt { margin:0; }
.voting-done { color:#166534; font-weight:800; }
