/* Cassiopeia changes */

@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 500;
font-display: swap;
src: local(''),
url('../fonts/Poppins-Regular.woff') format('woff'),
url('../fonts/Poppins-Regular.ttf') format('truetype');
}

@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local(''),
  url('../fonts/Poppins-Bold.woff') format('woff'),
  url('../fonts/Poppins-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800; /* Extra Bold */
  font-display: swap;
  src: local(''),
       url('../fonts/Poppins-ExtraBold.woff') format('woff'),
       url('../fonts/Poppins-ExtraBold.ttf') format('truetype');
}

:root {
  --cassiopeia-color-primary: #008080;
  --cassiopeia-color-hover: #92ECE6;
  --cassiopeia-color-link: #92ECE6;
}


.icons > .float-end {
  display: none;
}

.card-body {
  padding: 0px;
}

strong {
  font-weight: 800;
}

body {
    font-family: 'Poppins';
    font-size: 1.1rem;
    line-height: 1.4rem;
    max-width: 1320px;
    margin: auto;
    background: #FFF;
    font-weight: 500;
}

body.wrapper-fluid .site-grid {
  grid-gap: 0 0;
}

body.itemid-101 .com-content-article__body p {
  margin-bottom: 0px;
}

h1 {
  font-family: 'Poppins';
  font-size: 1.5rem !important;
  font-weight: 700;
}
header {
  display: contents;
}
.site-grid > .container-component > main {
  padding: 0em 0em;
  background-color: rgba(255,255,255,1);
  margin: 0em 0em;
  }
.container-header > .grid-child:first-child {
  background-image: url('/images/uc/hucbk106.png');
/*  background-image: url('/images/uc/hucbk106.png'), linear-gradient(0deg, rgba(69,175,191,1) 0% 10%, rgba(46,54,105,1) 10% 100%); */
  background-repeat: no-repeat;
  background-position: right top;
  object-fit: cover;
  height: 218px;
}
.navbar-brand > .brand-logo { display: none;}
.container-header > .grid-child.container-nav {
  background-image: url('/images/phg/bkmenu.svg');
  background-repeat: no-repeat;
  background-position: right top;
  object-fit: cover;
  height: 65px;
  }

@media only screen and (max-width: 500px) {
  .container-header > .grid-child:first-child {
    background-image: linear-gradient(0deg, rgba(69,175,191,1) 0% 10%, rgba(46,54,105,1) 10% 100%);
  }
}
.container-header > .grid-child.container-nav {
  padding: 0 2em;
  background-color: #f2f2f2;
  color: #000;
  justify-content: center;
  z-index: 1000;
}
.container-header > .grid-child.container-nav > .navbar {
  margin-top: 0px;
}
.container-header > .grid-child.container-nav 
 .metismenu.mod-menu .metismenu-item > a, .metismenu.mod-menu .metismenu-item > button {
  color: #666;
  font-weight: 700;
} 
.container-header .mod-menu > li.active, .container-header .mod-menu > li > ul.mm-show > li.active {
  background: linear-gradient(0deg, rgba(69,175,191,1) 0% 10%, rgba(255,255,255,0) 10% 100%);
}
.container-header .mod-menu > li:hover, .container-header .mod-menu > li > ul.mm-show > li:hover {
  background: linear-gradient(0deg, rgba(0,120,120,1) 0% 10%, rgba(255,255,255,0) 10% 100%);
}
.metismenu.mod-menu .metismenu-item > a, .metismenu.mod-menu .metismenu-item > a:hover, .metismenu.mod-menu .metismenu-item.active > a {
  text-decoration: none;
}
.container-header .navbar-toggler {
 color: #2e3669;
 border: 1px solid #2e3669;
}

#mod-custom127 {
  display: flex;
}

#mod-custom127 > .flexi {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0% 90%, rgba(146, 236, 230, .80) 90% 100%);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 0;
  width: 100%;
  max-height: 490px;
}

#mod-custom127 > .flexi p:first-child {
  padding: 2.4em 2.4em;
  background: rgba(146, 236, 230, 0.80);
  width: 35%;
  margin: 0px;
  flex-grow: 1;
  font-size: 1.1rem;
}

#mod-custom127 > .flexi p:nth-child(2) {
  padding: 2.4em;
  background: rgba(146, 236, 230, 0.80);
  width: 60%;
  margin: 0px;
  flex-grow: 2;
}

#mod-custom128 {
  height: 475px;
  max-height: 475px;
}

#mod-custom128 > .flexi {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 0;
  width: 100%;
}

#mod-custom128 > .flexi p:first-child {
  padding: 6em 8em 1em 30em;
  width: 100%;
  margin: 0px;
  flex-grow: 1;
}

#mod-custom128 > .flexi p:nth-child(2) {
  padding: 1em 8em 6em 30em;;
  width: 100%;
  margin: 0px;
  flex-grow: 2;
}

#mod-custom129 {
  height: 480px;
  padding: 6em 9em 3em 45em;
  font-weight: 800;
}

#mod-custom129 > p > img {
  margin: 3em;
}

#mod-custom120, #mod-custom121 {
  height: 611px;
  display: flex;
  justify-content: center;
  flex-flow: column;
}

#mod-custom120 > ul , #mod-custom121 > ul {
  max-width: 80%;
  padding: 2em 8em;
}

#mod-custom133 h4 {
  color: #008281;
  font-weight: 800;
}

/* #mod-custom120 > ul > li , #mod-custom121 > ul > li {
  margin-bottom: 1em;
} */


/* CONVOCATORIA */

body.convocatoria .com-content-article__body, body.contacto .com-content-article__body {
  background-image: url(https://polihgeneral.es/images/phg/fondo-moleculas.png);
  background-repeat: repeat-y;
  background-position: top center;
  background-size: auto;
}
body.convocatoria .convoc {
  padding: 4em 12em 2em 12em;
  background-image: url(https://polihgeneral.es/images/phg/cuadrado.png), url(https://polihgeneral.es/images/phg/esquin.png);
  background-position: left top, 95% 4em;
  background-repeat: no-repeat, no-repeat;
}

body.convocatoria  .convoc h4, .contacto h4 {
  color: #008281;
  font-weight: 800;
  
}

body.convocatoria .content {
  padding: 0em 12em 2em;
}

body.convocatoria .content blockquote::before {
  position: relative;
  content: url(https://polihgeneral.es/images/phg/Fc.png);
  z-index: 500;
  left: -2em;
  top: 0.3em;
  float: left;
  margin-right: -1em;
}

body.convocatoria .content blockquote {
  margin: 0;
}

body.convocatoria div.docs {
  background-image: url("/images/phg/enlaces01.png");
  min-height: 611px;
  display: flex;
  justify-content: top;
  flex-flow: column;
  padding: 0em 12em;
}

body.convocatoria div.docs > h5, body.convocatoria .docs > p > strong {
  color: #008281;
  font-weight: 800;
}

/* body.convocatoria div.docs::before  {
  position: relative;
  content: url(https://polihgeneral.es/images/phg/Lc.png);
  z-index: 500;
  left: -4em;
  top: -7.2em;
  overflow: visible;
  float: left;
} */

#mod-custom130 {
  height: 484px;
  /* padding: 14em 8em 5em 33em; */
  padding: 4em 6em 3em 39em;
  line-height: 1.5em;
}

/* Expresiones de interés + Solicitudes*/

.expresiones .hero, .solicitudes .hero {
    width: 100%;
    height: 484px;
    background: url('https://polihgeneral.es/images/phg/vr_1320.jpg') center center / cover no-repeat;
}

.expresiones .content-row, .solicitudes .content-row, .proponerei .content-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.expresiones .side-image, .solicitudes .side-image, .proponerei .side-image {
    width: 150px;
    flex-shrink: 0;
}

.expresiones .side-image img, .solicitudes .side-image img, .proponerei .side-image img {
    width: 100%;
    height: auto;
}

.expresiones .text, .solicitudes .text, .proponerei .text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Proponer EI */

.proponerei h4, .solicitudes h4, .apersonal h4 {
  padding: 2rem 2rem 0;
  color: #008281;
  font-weight: 800; 
}

.proponerei #form_1 {
  padding: 0 2rem;
}

.fabrikGroup > legend {
  margin-bottom: 1rem;
}

/* Área Personal */

.apersonal table {
  margin: 2rem 2rem;
}

/* Video youtube */
#mod-custom133 section  {
  padding: 0em 12em 2em;
  /* background-image: url(https://polihgeneral.es/images/phg/cuadrado.png), url(https://polihgeneral.es/images/phg/ei-izq.png);
  background-position: left 13em, 55em 13em;
  background-repeat: no-repeat, no-repeat; */
}

#mod-custom133 .yvideo {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

#mod-custom133 .yblock:first-child {
    flex: 1 1 auto;
}
#mod-custom133 .yblock:nth-child(2) {
    flex: 1 1 300px;
    max-width: 400px;
}

/* Contacto */

.contacto section {
  padding: 4em 12em 2em 12em;
  background-image: url(https://polihgeneral.es/images/phg/cuadrado.png), url(https://polihgeneral.es/images/phg/ei-izq.png);
  background-position: left 13em, 55em 13em;
  background-repeat: no-repeat, no-repeat;
}

.contacto .team {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* .team > .team-block:first-child::before {
  position: relative;
  content: url(https://polihgeneral.es/images/phg/eqfihguv.png);
  z-index: 500;
  left: -2em;
  top: 0.3em;
  float: left;
  margin-right: -1em;
}

.team > .team-block:last-child::before {
  position: relative;
  content: url(https://polihgeneral.es/images/phg/equpv.png);
  z-index: 500;
  left: -2em;
  top: 0.3em;
  float: left;
  margin-right: -1em;
}
*/

.contacto .team-block {
    flex: 1 1 300px;
    max-width: 400px;
}

.contacto .team-block h6 {
    color: #000;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contacto .person {
    margin-bottom: 1.5rem;
}


.team > .team-block:first-child > .person::before {
  position: relative;
  content: url(https://polihgeneral.es/images/phg/Fc.png);
  z-index: 500;
  left: -1.4em;
  top: 0.1em;
  float: left;
  margin-right: -1em;
}

.team > .team-block:last-child > .person::before {
  position: relative;
  content: url(https://polihgeneral.es/images/phg/Fcl.png);
  z-index: 500;
  left: -1.4em;
  top: 0.1em;
  float: left;
  margin-right: -1em;
}


.contacto .person strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contacto .contact-info {
    margin-left: 1rem;
}

.contacto .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.contacto .contact-item img {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    filter: invert(34%) sepia(58%) saturate(545%) hue-rotate(145deg) brightness(95%) contrast(90%);
    /* Esto aplica un color tipo azul verdoso, puedes cambiar si quieres otro tono */
    transition: filter 0.3s ease;
}

.contacto .contact-item a {
    color: #006666;
    text-decoration: none;
}

.contacto .contact-item a:hover {
    filter: invert(40%) sepia(100%) saturate(750%) hue-rotate(145deg) brightness(110%) contrast(100%);
    /* Cambia ligeramente al pasar el ratón (hover) para dar sensación interactiva */
}

.contacto .banner {
    width: 100%;
    margin-top: 0rem;
}

.contacto .banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}



.footer {
  color: #2e3669;
  /* background-color: #f2f2f2; */
  /* background-image: none !important; */
  background: linear-gradient(0deg, rgba(255,255,255,1) 0% 85%, rgba(146, 236, 230,1) 85% 100%);
  padding-top: 4em;
  margin-top: 0;
  
}
.footer > div.grid-child {
  justify-content: space-evenly;
}
.footer img {
  margin: 1em;
}
#login-form-16 > ul.mod-login-logout__options {
  display: none;
}

#listform_5_com_content_5 > .container-fluid.text-bg-light > .row.justify-content-between.pb-3.pe-3 {
  justify-content: flex-end !important;
  gap: 2em;
}

#listform_5_com_content_5 > div.container-fluid > div.row > div.fabrikButtonsContainer {
  order: 2;
}

#listform_5_com_content_5 > div.container-fluid > div.row > div.fabrikSearchAll {
  order: 1;
}
#list_5_com_content_5 > .fabrik_groupdata > tr > td > .btn-group > a.btn {
  flex-shrink: 0.3;
}
form#form_4 > #page_4 > #group10 > .fabrikSubGroup > .fabrikSubGroupElements > .row:nth-child(3)::after {
  content: "* Complete según la pertenencia del investigador al FIHGUV o la UPV ";
  font-weight: bold;
}
#group12 > table > thead > tr > th.fabrikRepeatGroup___solicitudes_12_repeat___justi_observa_presu_sol::before {
  content: "*si procede, indicar preferencia de entidad donde asignar la partida presupuestaria";
  display: block;
}
input[id^="solicitudes_12_repeat___importe_presu_sol_"], input#solicitudes___total_presu_sol {
  text-align: right;
  padding: 1em;
}
textarea {
  padding: 1em;
}