﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
/*.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/


/*FOOTER*/

footer {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e7e7e7;
}

    footer .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    footer a {
        color: #007bff;
        text-decoration: none;
        margin: 0 10px;
    }

        footer a:hover {
            text-decoration: underline;
        }

    footer span {
        font-size: 14px;
        color: #6c757d;
    }


textarea {
    width: 100%;
}

header {
    width: 100%;
}

input[readonly], textarea[readonly], select[readonly] {
    background-color: #f5f5f5;
    color: #666; /* Gris para el texto */
}

select[readonly] {
    background-color: #f5f5f5;
    color: #666; /* Gris para el texto */
    pointer-events: none;
}

.hidden {
    display: none;
}

/* Barra de navegador */

.navbar-nav .nav-item .nav-link {
    font-size: 1rem; /* Ajustar tamaño de fuente si es necesario */
    padding-right: 15px;
    padding-left: 15px;
}


/* Dialogo */

.dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border: 2px solid #000;
    border-radius: 10px;
    display: none;
}

.dialog-content {
    padding: 20px;
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

    .close-button.dark {
        color: white;
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.7); /* Añadir un leve brillo para mayor visibilidad */
        font-weight: bold;
        font-size: 24px;
        padding: 5px;
    }


/* Estilo para el mensaje de error */
#error-message {
    color: #ff0000;
    font-size: 16px;
}

/* Notificacion */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50; /* Color de fondo verde */
    color: white; /* Color del texto */
    padding: 10px 20px;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0; /* Inicialmente invisible */
    transition: opacity 0.5s ease-in-out; /* Transición de entrada y salida */
}

.notification.show {
    opacity: 1; /* Visible cuando se muestra */
}

.ui-autocomplete.ui-widget {    
    font-family: inherit;
    font-size: 1rem;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

.close-button-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.close-button-modal:hover,
.close-button-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-button:hover {
    background-color: #ddd;
}

.modal-select {
    width: 100%;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.dropdown-item i {
    margin-right: 8px; 
}

.dialogInput {
    margin-bottom: 10px;
}

.dialogInput label {
    display: block;
    text-align: left;
}

.dialogInput input {
    width: 100%;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Modal imagen */

.modalImg {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modalImg-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    height: auto;
}


.contextImg-menu {
    position: absolute;
    display: none;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 1001;
    max-height: 300px; /* Limitar la altura del menú */
    overflow-y: auto; /* Permitir desplazamiento vertical */
    border-radius: 8px; /* Bordes redondeados */
}

    .contextImg-menu.active {
        display: block;
    }

.draggable-icon {
    position: absolute; /*QUITAR SI NO VA*/
    cursor: move;
    /*transition: all 0.3s ease;*/
}

.icon-option {
    padding: 5px; /* Espaciado reducido */
    display: flex; /* Usar flex para centrar el contenido */
    align-items: center; /* Centrar verticalmente */
    cursor: pointer; /* Cambiar cursor al pasar por encima */
    transition: background-color 0.3s ease; /* Suavizar el efecto hover */
}

.icon-option:hover {
    background-color: #f0f0f0; /* Color de fondo al pasar el ratón */
}

/* Opcional: Añadir un efecto para el menú */
.context-menu.active {
    animation: fadeIn 0.2s ease-in-out;
}


/* Menú contextual */
.context-menu {
    position: absolute;
    display: none;
    background-color: #ffffff;
    border-radius: 8px;
    z-index: 1002;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 220px;
    padding: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

    .context-menu.active {
        display: block;
        animation: fadeIn 0.2s ease-in-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Título del menú contextual */
.context-menu-title {
    font-weight: bold; /* Negrita */
    text-align: center; /* Centrar el texto */
    padding: 10px 0; /* Añadir un poco de padding superior e inferior */
    border-bottom: 1px solid #ccc; /* Línea separadora debajo del título */
    font-size: 16px; /* Tamaño de fuente ajustado */
    color: #333; /* Color del texto */
}

#iconName {
    margin-left: 10px;
    margin-right: 10px; /* Espacio entre el nombre y el icono */
}

#icon-status.fa-circle-check {
    color: green; /* Icono en verde cuando guardado */
}

#icon-status.fa-circle-exclamation {
    color: orange; /* Icono en naranja cuando pendiente */
}

#icon-status-tutorial.fa-circle-check {
    color: green; /* Icono en verde cuando guardado */
}

#icon-status-tutorial.fa-circle-exclamation {
    color: orange; /* Icono en naranja cuando pendiente */
}

#icon-marcado.fa-ban {
    color: #ff5b5b;
}

#icon-marcado-tutorial.fa-ban {
    color: #ff5b5b;
}


#nombreIcono {
    display: flex;
    align-items: center;
    gap: 5px; /* Espaciado entre los iconos */
}

    #nombreIcono i {
        display: inline-block; /* Asegura que los iconos se alineen en línea */
        vertical-align: middle; /* Alinea verticalmente los iconos */
    }

.smallTextIcon {
    font-size: 8px;    
}



/* Listado de acciones */
.context-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.context-menu li {
    list-style: none;
    padding: 8px 15px; /* Espaciado dentro de cada elemento */
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

    .context-menu li i {
        margin-right: 10px; /* Añade espacio entre el icono y el texto */
        font-size: 16px; /* Tamaño del icono */
    }

    /* Efecto hover en las opciones del menú */
    .context-menu li:hover {
        background-color: #007bff;
        color: #fff;
    }


    .context-menu li:hover:before {
        color: #fff;
    }

    /* Efecto hover más suave */
    .context-menu li:hover .context-menu-icon {
        color: #fff;
    }




    .draggable-icon:hover {
        transform: scale(1.3); /* Aumentar el tamaño del icono al pasar el ratón */
        z-index: 1001; /* Elevar el icono por encima de otros elementos */
        opacity: 1;
        filter: brightness(1.5); /* Aumentar el brillo para destacar */
        border: 2px solid #fff; /* Añadir un borde blanco para mayor visibilidad */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Sombra luminosa */
    }

    .draggable-icon.dragging {
        transform: none;
        filter: none;
        border: none;
        box-shadow: none;
    }

.icon-hover-effect {
    transform: scale(1.3); /* Aumentar el tamaño del icono */
    z-index: 1001; /* Elevar el icono por encima de otros elementos */
    opacity: 1;
    filter: brightness(1.5); /* Aumentar el brillo para destacar */
    border: 2px solid #fff; /* Añadir un borde blanco para mayor visibilidad */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Sombra luminosa */
}

#iconLayer {
    position: absolute;
    top: 0;
    left: 0;

}

.icon-label {   
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none; 
    z-index: 1000; /* QUITAR SI NO VA */
}



/*Privacidad*/
.modal-content-privacity {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.buttonContainerPrivacity {
    text-align: center;
}



/* CAMPOS OBLIGATORIOS */
.required {
    font-style: italic;   
}

.required-field:focus {
    outline-color: #007BFF;
}

.required-field.invalid {
    background-color: #ffe6e6 !important; /* Fondo rojo suave */
    border-color: #ff0000 !important; /* Borde rojo */
}

.required {
    font-style: italic;
}

.required-input:focus {
    outline-color: #007BFF;
}

.required-input.invalid {
    background-color: #ffe6e6 !important; /* Fondo rojo suave */
    border-color: #ff0000 !important; /* Borde rojo */
}


.boton-desactivado {
    background-color: grey;
    color: white;
    cursor: not-allowed;
    transition: background-color 0.3s ease;
}

/* Estilo del botón cuando está activado */
.boton-activado {
    background-color: #09d789 !important;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease !important;
}


    .boton-activado:hover {
        background-color: #0AB07D !important;
        color: white;
        cursor: pointer;
    }

.boton-activado-editar {
    background-color: #F0CB5C !important;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease !important;
}


    .boton-activado-editar:hover {
        background-color: #D4B247 !important;
        color: white;
        cursor: pointer;
    }

.boton-activado-accion {
    background-color: #FFB74D !important;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease !important;
}


    .boton-activado-accion:hover {
        background-color: #FFB74D !important;
        color: white;
        cursor: pointer;
    }


.combo-add-button {
    font-size: 20px;
    cursor: pointer;
    color: #007BFF;
    align-content:center
}

.combo-add-button-disabled {
    font-size: 20px;
    color: grey;
    align-content: center
}

/* *********** */
/* Estilo para el contenedor de la imagen del dialogo de partidas */
/* *********** */

.imagen-preview-container {
    width: 100%;
    max-width: 240px;
    height: 160px; /* Tamaño deseado del área visible */
    margin: 0 auto 1rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #ccc;
    background-color: #f0f0f0;
}


#imagenPartidaPreview {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    display: block;
    border-radius: 8px;
    border: 2px solid #ccc;
    background-color: #f0f0f0;
}

.imagen-preview-container:hover img {
    box-shadow: 0 0 0 3px #007bff;
}

.imagen-preview-container::after {
    content: "Haz clic para cambiar imagen";
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2px 4px;
    border-radius: 0 0 8px 8px;
}

#modalCrearPartida #nombreNuevaPartida {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#modalUnirsePartida input[type="text"] {
    width: 80%;
    padding: 10px;
    margin: 10px auto;
    display: block;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

    #modalUnirsePartida input[type="text"]:focus {
        border-color: #00d084; /* mismo color que el botón verde */
        outline: none;
    }

.preview-partida {
    text-align: center;
    margin-top: 10px;
}

    .preview-partida img {
        max-width: 100px;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 0 6px rgba(0,0,0,0.2);
    }

    .preview-partida .nombre-preview {
        margin-top: 5px;
        font-weight: bold;
        font-size: 16px;
    }

.mensaje-pertenece {
    margin-top: 8px;
    color: #ff4444;
    font-weight: bold;
}

.btn-secundario, .btn-principal, .btn-terciario {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 0.95em;
}

.btn-secundario {
    background-color: #eee;
    color: #333;
}

.btn-principal {
    background-color: #2a7f62;
    color: white;
    border: none;
}

.btn-terciario {
    background-color: #6fbf73; /* Verde suave */
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

    .btn-terciario:hover {
        background-color: #5aa862;
    }

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    max-height: 100%;
}

.img-usuario-navbar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #555;
}


/*TOOLTIP*/

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-text {
    visibility: hidden;
    width: 150px; /* Ajusta el ancho del tooltip según sea necesario */
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px; /* Añade padding para margen interno */
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Ajusta la posición vertical del tooltip */
    left: 50%;
    margin-left: -75px; /* Ajusta la posición horizontal para centrar */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px; /* Tamaño de fuente del tooltip */
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-container .eliminar-active {
    color: #ff4c4c;
}




@media (max-width: 768px) {

    .tooltip-container:hover .tooltip-text {
        width: 90%; /* Ajustar tooltip en pantallas pequeñas */
        left: 5%; /* Centrar tooltip */
    }


}


/************************/
/* ENTIDADES VINCULADAS */
/************************/

.modal-entidadesVinculadas {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding: 20px; /* espacio interno en móviles */
    box-sizing: border-box;
}

.modal-content-entidadesVinculadas {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.close-entidadesVinculadas {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

.form-group-entidadesVinculadas {
    margin-bottom: 12px;
}

.input-full-entidadesVinculadas {
    width: 100%;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.modal-footer-entidadesVinculadas {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

.btn-entidadesVinculadas {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primario-entidadesVinculadas {
    background-color: #007bff;
    color: white;
}

    .btn-primario-entidadesVinculadas:hover {
        background-color: #0056b3;
    }

.btn-secundario-entidadesVinculadas {
    background-color: #eee;
    color: #333;
}

.error-text-entidadesVinculadas {
    color: red;
    font-size: 13px;
    margin-top: 4px;
}

/* Ajuste para móviles muy estrechos */
@media (max-width: 480px) {
    .modal-content-entidadesVinculadas {
        padding: 16px;
    }

    .btn-entidadesVinculadas {
        width: 100%;
        justify-content: center;
    }

    .modal-footer-entidadesVinculadas {
        flex-direction: column;
        gap: 10px;
    }

    .input-full-entidadesVinculadas,
    #select-entidadesVinculadas,
    #texto-entidadesVinculadas {
        font-size: 16px;
        padding: 10px;
    }

    .close-entidadesVinculadas {
        font-size: 26px;
    }
}




/*******************/
/* ARBOL FACCIONES */
/*******************/


.estructura-arbol {
    padding-left: 20px;
}

.estructura-nodo {
    position: relative;
    margin-left: 30px;
    border-left: 1px solid #ccc;
    padding-left: 20px;
}

    .estructura-nodo::before {
        content: "";
        position: absolute;
        left: -1px;
        top: 18px;
        width: 20px;
        height: 1px;
        background-color: #ccc;
    }

.ficha-estructura {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

    .ficha-estructura:hover {
        box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    }

    .ficha-estructura img {
        width: 42px;
        height: 42px;
        object-fit: cover;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .ficha-estructura span {
        font-weight: 500;
        font-size: 15px;
    }

.ficha-contenido {
    display: flex;
    flex-direction: column;
}

.nombre-entidad a {
    text-decoration: none;
    color: #0047ab;
    font-weight: bold;
}

    .nombre-entidad a:hover {
        text-decoration: underline;
    }

.detalle-entidad {
    font-size: 13px;
    color: #555;
}

.ficha-estructura.actual-entidad {
    border: 2px solid #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
    background-color: #f4f9ff;
}

/* INFO */

.refs-intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    margin: 6px 0 14px;
    background: #f0f9ff; /* azul muy suave */
    border: 1px solid #bae6fd;
    border-radius: 12px;
}

    .refs-intro i {
        font-size: 18px;
        color: #0ea5e9;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .refs-intro strong {
        display: block;
        color: #0f172a;
        font-weight: 800;
        margin-bottom: 2px;
    }

    .refs-intro p {
        margin: 0;
        color: #475569;
        font-size: .94rem;
        line-height: 1.35;
    }

/* FIN ARBOL FACCIONES */

.btn-rel-colapsar {
    margin-top: .4rem;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    border-radius: 8px;
    padding: .4rem .75rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: all .2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

    .btn-rel-colapsar:hover {
        background: #f3f4f6;
        border-color: #cbd5e1;
        color: #111827;
    }

    .btn-rel-colapsar i {
        font-size: .9rem;
        opacity: .8;
        transition: transform .25s ease, opacity .15s ease;
    }

    .btn-rel-colapsar.abierto {
        background: #e0f2fe;
        color: #0369a1;
        border-color: #7dd3fc;
        box-shadow: 0 2px 4px rgba(3,105,161,.2);
    }

        .btn-rel-colapsar.abierto i.fa-chevron-down {
            transform: rotate(180deg);
            opacity: 1;
        }

/* === BLOQUE DESPLEGABLE === */
.rel-colapsable {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all .3s ease;
    padding-left: 3rem; /* alineado con imagen */
}

    .rel-colapsable.abierto {
        opacity: 1;
        max-height: 600px; /* ajusta según contenido */
        margin-top: .5rem;
    }

/* === GRID DE RELACIONES === */
.rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap: .5rem;
}

/* === FICHAS DE RELACIONES === */
.rel-ficha {
    display: flex;
    align-items: center;
    gap: .6rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    padding: .4rem .6rem;
    cursor: pointer;
    transition: all .15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

    .rel-ficha:hover {
        background: #f8fafc;
        box-shadow: 0 2px 6px rgba(0,0,0,.08);
        transform: translateY(-1px);
    }

    .rel-ficha img {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        object-fit: cover;
        border: 1px solid #e2e8f0;
    }

    .rel-ficha span {
        font-size: .9rem;
        font-weight: 500;
        color: #334155;
    }

.rel-colapsable.abierto .rel-ficha {
    animation: aparecer .25s ease;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}