@font-face {
    font-family: 'ehuFont';
    src: url("/dmp/javax.faces.resource/fonts/EHUSans-Regular.otf.xhtml") format('opentype');
    font-display: swap;
}

*{
    font-family: 'ehuFont';
}

/* ---------- para prime ------------*/
body .ui-widget {
    font-family: 'ehuFont';
}

form {
    margin: 0px;
}

body{
    margin: 0 !important;
    font-size: 12px;
}

#top {
    position:fixed;
    top:0px;
    width: 100%;
    height: 120px;
    display: contents;
}

#bottom {
    width: 100%;
}

#bottomfix {
    position: fixed;
    bottom: 0;
    z-index: 1;
    width: 100%;

}


.center_content {
    width: 100%;
}


#top a:link, #top a:visited {
    color: white;
    font-weight : bold;
    text-decoration: none;
}

#top a:link:hover, #top a:visited:hover  {
    color: black;
    font-weight : bold;
    text-decoration : underline;
}

.logo {
    width: auto;
    height: 80px;
    background: white;
}

.logofecyt{
    width: auto;
    height: 80px;
    background: white;
    padding: 10px;
}

.logoehu{
    width: auto;
    height: 80px;
    padding-right: 80px;
}
.logodipc{
    width: auto;
    height: 80px;
    background: white;
    padding: 15px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5FD790;
}

.header-grid {
    width: 90%;
    height: 120px;
}
.header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width:100%;
}

.cuadradito {
    width:40px;
    height:40px;
    background-color:#B0FBC1;
    margin-top:80px;
}


.titleH {
    display: flex;
    align-items: center;
    margin-right:300px;
    font-size: 16px;
}

.user {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
}

.userView {
    padding: 2px;
    background-color: #EEECE9;
    font-size: .7em;
}

.puerta{
    background-color: #FE8B66 !important;
}

.lang {
    background-color: #fff;
    height: 30px;
}

.logeado{
    display: flex;
    align-items: flex-end;
}


.login{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    background-image: url("/dmp/javax.faces.resource/img/fondo.png.xhtml");
    background-color: #EEECE9;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 16px;
    height:75vh;
}

footer {
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #000000;
}

.footer-grid{
    width: 90%;
    height: 110px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.funder{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.leyenda{
    display: flex;
    margin-left: 80px;
    flex-direction: column;
}

.titleF{
    margin-right: 50px;
}


.otrosdatos{
    display: flex;
    flex-direction: row;
    align-items: center;
}


.orcidAuthButton {
    border: 1px solid #B1AB9F !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    margin-top: 2em !important;
    padding: .8em 3em !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.orcidAuthButton:hover{
    background-color: #EEECE9 !important;
    border: solid 1px #B1AB9F !important;
}

/* --------------------------- INICIO -------------------------------------------------- */


.tableContainer {
    overflow-x: auto;

}

.responsiveTable {
    width: 100%;
    border-collapse: collapse;
}

.responsiveTable .ui-column {
    white-space: nowrap;
}

#form-tabla #form-share #form-copy #form-delete{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
}



.buttonContainer{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.button{
    border:none !important;
    color: black !important;
}

.deleteButton{
    background-color: #FE8B66 !important;
}

.copyButton{
    background-color: #C6ACF5 !important;
}
.shareButton{
    color: white !important;
    background-color: #7E8EFE !important;
}

.downloadButton{

    background-color: #E4F568 !important;

}

.caracter{
    font-size:1em;
    color: #000000;
}

/*  ============ TABLA INICIO ============================= */

thead[id="form-tabla:tabla_head"] th {
    background: #B0FBC1 !important;
    color: black !important;
}

tbody[id="form-tabla:tabla_data"]  tr.ui-state-highlight{
    background-color: #EEECE9 !important;
}

tbody[id="form-tabla:tabla_data"]   tr:hover{
    background: #E4FF98 !important;
}

tbody[id="form-tabla:tabla_data"]   tr:hover.ui-state-highlight{
    background: #E4FF98 !important;
}

tbody[id="form-tabla:tabla_data"]   tr:last-child {
    border-bottom: 16px solid #B0FBC1 !important;
}
/*  ============================================= */

.content{
    display: flex;
    gap: 50px;
    width: 90%;
    margin-top: 40px;
}

.planDetail{
    min-width: 25%;
}

.planDetailHeader{
    font-size: large;
    color: white;
    font-weight: 700;
    font-size: large;
    background-color: #B1AB9F;
    padding: 10px;
    margin: 0;
    display: flex;
    align-items: center;
}

.centrado{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.detailGrid {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 1px solid #B1AB9F;
    font-size: 0.9em;
    background: #EEECE9;
}

.detailGrid tr {
    border: 1px solid #B1AB9F;
}


.detailGrid td {
    padding: 8px 8px !important;
    vertical-align: top !important;
}

.detailGrid .label {
    font-weight: 600;
}

.sharedBox{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.planTitle a{
    background-color:  transparent !important;
    color: #7E8EFE !important;
    text-decoration:none !important;
    font-weight: 500;
}

.planTitle a:hover{
    background-color: #7E8EFE !important;
    color:#ffffff !important;
}

.pi-pencil{
    padding-right: 10px;
}

body  [id="cabecera:errorDialog"].ui-dialog .ui-dialog-titlebar {
    background: #FE8B66;
    font-weight: 700;
    border-bottom: 0 none;
    padding: .7rem;
}


/*  ----------------------------------------- DIALOGOS DE INICIO -------------------------------------------------- */


body .ui-dialog .ui-dialog-titlebar {
    background: #5FD790;
    font-weight: 700;
    border-bottom: 0 none;
    padding: .7rem;
}

.botonSi{
    background-color: #7E8EFE !important;
    border:none !important;
}

.botonNo{
    background-color: #FE8B66 !important;
    border:none !important;
}

body .ui-dialog.ui-confirm-dialog .ui-dialog-content {
    padding: 1rem 1rem 1rem 1rem;

}

body .ui-dialog .ui-dialog-footer {
    padding: 0 1rem 1rem 1rem;
}

.ui-datatable-scrollable-body {
    scrollbar-width: thin !important; /* Firefox */

}


.quitarShareButton{
    background-color: #FE8B66 !important;
}

.ponerShareButton {
    background-color: #7E8EFE !important;
}


.nota {
    font-style: italic;
}

.contienecab{
    display: flex;
    margin-top: 10px;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}

.cabecera {
    font-weight: bold;
    margin-top:20px;
    margin-bottom:10px;
}


.buttoncerrar {
    padding: 10px 10px;
    color: #ffffff;
    font-weight: 400;
    background-color: #7E8EFE;
    border-radius: 8px;
    border: none;
    right: 25px;
    position: absolute;
}

.formulario{
    padding:20px;
}

.error {
    color:#FE8B66;
}



/*  ============ TABLA COMPARTIR ===================== */

thead[id="form-share:invsTable_head"] th {
    background: #B1AB9F !important;
    color: white !important;
    font-size: 0.8em !important;
    padding-top:6px !important;
    padding-bottom: 6px !important;
}

tbody[id="form-share:invsTable_data"] td{
    font-size: 0.8em !important;
    padding-top:2px !important;
    padding-bottom: 2px !important;
}

tbody[id="form-share:invsTable_data"]   tr:hover{
    background-color: #E4FF98 !important;
}

tbody[id="form-share:invsTable_data"]  > tr:last-child {
    border-bottom: 2px solid #000000 !important;
}
/*  ============================================= */


#form-crear {
    margin-top: 20px;
}

.buttoncrear {
    color: white !important;
    background-color: #7E8EFE !important;
    margin-top: 20px !important;
    float: right;
}

.buttonsicrear{
    margin:20px !important;
    background-color: #7E8EFE !important;
    border: none !important;
}

.buttonnocrear{
    margin:20px !important;
    background-color: #FE8B66 !important;
    border: none !important;
}


.formcrearDetalleCab {
    padding: 0.5rem;
    background: #B1AB9F;
    width: -webkit-fill-available;
    border-radius: 4px;
    border: none;
    font-size: large;
    color: #ffffff;
}

.formcrearDetalleInput {
    padding: 0.3rem;
    width: auto;
    border-radius: 4px;
    margin-top: 5px;
    border:1px solid #B1AB9F;
}

.cuartoancho {
    width: 25%;
}

.formcrearBotones{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}


.logos{
    height:50px;
}

/*-------------------------------------------------------------------------- EDICION CAMPOS ------------------------------------------------------------------- */


.retorno {
    padding: 10px 0px;
    display: flex;
    justify-content: center;
}

.buttonvolver {
    padding: 10px 80px;
    color: #ffffff;
    font-weight: 400;
    font-size: 1.4em;
    background-color: #7E8EFE;
    border-radius: 8px;
    border: none;
}

/* ==========tabs edicion======================*/
body [id="tabedit"].ui-tabs .ui-tabs-nav {
    border-bottom: 1px solid #5FD790;
}

body [id="tabedit"].ui-tabs.ui-tabs-top > .ui-tabs-nav::before {
    border-bottom: none;
}


body [id="tabedit"].ui-tabs .ui-tabs-nav li.ui-tabs-header  {
    border: none;
    padding: 0px 10px;
}

/* Cada pestaña (li) */
body [id="tabedit"].ui-tabs .ui-tabs-nav li {
    border: 2px solid  #B0FBC1;
}

/* Enlace de pestañas inactivas */
body [id="tabedit"].ui-tabs .ui-tabs-nav li a {
    background: #B0FBC1;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
    border: 2px solid  #B0FBC1;
    transition: background 0.2s;
    padding: 15px 30px;
}

body [id="tabedit"].ui-tabs .ui-tabs-nav li a:hover {
    border: 2px solid #5FD790;
}

body [id="tabedit"].ui-tabs .ui-tabs-nav li.ui-tabs-selected a {
    background: #5FD790;
    color: #ffffff;
    font-weight: bold;
    border: 2px solid #5FD790;
}

body [id="tabedit"].ui-tabs .ui-tabs-panel {
    background: #ffffff;
}
/* ================================ */


.formTabDetalle{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
}


.formDetalleCab {
    padding: 0.5rem;
    background: #B1AB9F;
    width: -webkit-fill-available;
    border-radius: 4px;
    border: none;
    font-size: large;
    color: #ffffff;
}



.formDetalleInput {
    padding: 0.3rem;
    width: auto;
    border-radius: 4px;
    margin-top: 5px;
    border:1px solid #B1AB9F;
}

.formDetalleArea {
    padding: 0.3rem;
    width: -webkit-fill-available;
    border-radius: 4px;
    margin-top: 5px;
    border:1px solid #B1AB9F;
    min-width: 40em;
}


.buttonguardar {
    margin-top: 10px;
    padding: 10px 80px;
    color: #ffffff;
    font-size: 1.1em;
    background-color: #FE8B66;
    border-radius: 8px;
    border: none;
}

/*-------------------------------------------------------------------------- EDICION ACORDEONES ------------------------------------------------------------------- */

.titulo {
    font-size: 0.8em;
    font-style: italic;
}

.contenido {
    border: 1px solid black;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
    background: #EEECE9;
}

.contenido:empty {
    display:none;
}


.ocupa {

}

.titparrafo {
    font-weight: bold;
    margin-bottom: 1rem;
}


.mediancho {
    width: 60%;
}

.buttonsave{
    margin-top: 10px !important;
    color: #ffffff !important;
    font-size: 0.9em !important;
    background-color: #FE8B66 !important;
    border-radius: 8px !important;
    border: none !important;
    float:right;
}

.ql-toolbar.ql-snow {
    height:fit-content;
    padding:4px !important;
}

.ql-snow.ql-toolbar:after, .ql-snow .ql-toolbar:after {
    content: none !important;
}

.ql-snow .ql-formats:after {
    content: none !important;
}


#tabedit\:formedicion .ui-accordion .ui-accordion-header.ui-state-active {
    background: #FFD9CD;
    color: #495057;
    border: solid 1px #FE8B66;
}

#tabedit\:formedicion .ui-accordion .ui-accordion-content {
    border-color: #FE8B66;
}

#tabedit\:formedicion .ui-accordion .ui-accordion-header:focus {
    box-shadow:none;
}

#tabedit\:eltituloproyecto {
    font-weight:bold;
    margin-bottom:10px;
    display:flex;
    justify-content:center
}

/* ---------------------------------------------------------------------- EQUIPO ----------------------------------------------------- */

.quitarEquipoButton{
    background-color: #FE8B66 !important;
}

.ponerEquipoButton {
    background-color: #7E8EFE !important;
}

.formTabEquipo{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    margin-bottom:  40px;
}


/*  ============ TABLA COMPARTIR ===================== */

#tabedit\:formequipo\:equipTable {
    margin-top:20px;
    width:80%;
}

thead[id="tabedit:formequipo:equipTable_head"] th {
    background: #b1ab9f !important;
    color: #ffffff !important;
    font-size: 0.9em !important;
    padding-top:6px !important;
    padding-bottom: 6px !important;
}

tbody[id="tabedit:formequipo:equipTable_data"] td{
    padding-top:6px !important;
    padding-bottom: 6px !important;
    font-size: 0.8em !important;
}

tbody[id="tabedit:formequipo:equipTable_data"]   tr:hover{
    background-color: #E4FF98 !important;
}

tbody[id="tabedit:formequipo:equipTable_data"]  > tr:last-child {
    border-bottom: 2px solid #000000 !important;
}

/*  ============================================= */


.formEquipoInput {
    padding: 0.3rem;
    width: auto;
    border-radius: 4px;
    margin-top: 5px;
    border:1px solid #B1AB9F;
    min-width: 25em;
}

