/* Variables
  **********************************/
@import url("variables.css");
/* ******************************* */

/* Header
***********************/

/* .region-header {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  padding: 0 var(--pm-blend-block) 1rem;
} */

header {
  display: grid;
  grid-template-columns: 210px auto;
  grid-gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  padding: 1rem 0 3rem;
}

#block-nucphys-site-branding div {
  width: 100%;
  height: 100%;
}

#block-nucphys-site-branding .block-content a {
  display: block;
  inset: 0;
  overflow: hidden;
}

#block-nucphys-site-branding .block-content a img {
  width: auto;
  height: 60px;
  object-fit: contain;
  object-position: top;
}

#block-nucphys-logoerasmus-2 {
  margin-top: 1.5rem;
}

#block-nucphys-logoerasmus-2 img {
  width: auto;
  height: 30px;
}

#block-nucphys-main-menu {
  display: flex;
  justify-content: flex-end;
}

#block-nucphys-search-form-narrow .block-content {
  display: flex;
  justify-content: flex-end;
}

#search-block-form {
  display: flex;
  justify-content: flex-end;
  display: grid;
  grid-template-columns: auto 25px;
  align-items: stretch;
}

#search-block-form .form-search {
  display: flex;
  justify-content: flex-end;
  border: 0;
  background: #e8fbf5;
  color: #888;
  height: 25px;
  border-radius: 15px 0 0 15px;
  width: auto;
}

#search-block-form .form-actions {
  display: flex;
  justify-content: center;
  width: 25px;
  height: 25px;
}

#search-block-form .form-actions .button {
  font-size: 0;
  width: 25px;
  height: 25px;
  margin: 0;
  padding: 0;
  background: #e8fbf5;
  background: url(../../../../sites/default/files/media-icons/generic/ico-search.png) #e8fbf5 center / 14px no-repeat;
  border-radius: 0 15px 15px 0;
}

.region-primary-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cenefa-interior {
  position: relative;
}

.cenefa-interior img {
  filter: grayscale(100%);
}

.cenefa-interior .blazy::before,
.cenefa-interior .blazy::after,
.cenefa-interior .blazy .media::before,
.cenefa-interior .blazy .media::after {
  content: "";
  position: absolute;
  z-index: 9;
  width: 50%;
}

.cenefa-interior .blazy::before,
.cenefa-interior .blazy::after {
  top: 0;
  height: 7px;
}

.cenefa-interior .blazy .media::before,
.cenefa-interior .blazy .media::after {
  bottom: 0;
  top: 7px;
}

.cenefa-interior .blazy::before {
  left: 0;
  background: rgba(11, 209, 131, 1);
  mix-blend-mode: screen;
}

.cenefa-interior .blazy::after {
  right: 0;
  background: rgba(193, 0, 73, 0.8);
  mix-blend-mode: soft-light;
}

.cenefa-interior .blazy .media::before {
  left: 0;
  background: rgba(11, 209, 131, 1);
  mix-blend-mode: multiply;
}

.cenefa-interior .blazy .media::after {
  right: 0;
  background: rgba(11, 209, 131, 1);
  mix-blend-mode: screen;
}

/* Featured top
***********************/

.path-frontpage #main-page-wrap main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 4vw;
}

.path-frontpage #main-page-wrap main .layout-content,
.path-frontpage #main-page-wrap main a#main-content {
  grid-column: span 2;
  display: none;
}

.path-frontpage #main-page-wrap main .region-featured-bottom {
  grid-column: span 2;
}

#block-nucphys-sliderhome>.block-content>div:not(.splide) {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 9;
}

#block-nucphys-sliderhome>.block-content>div:not(.splide)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 209, 131, 0.9);
  mix-blend-mode: screen;
  z-index: 1;
}

#block-nucphys-sliderhome>.block-content {
  position: relative;
}

.slider-description {
  position: relative;
  z-index: 9;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.texto-cenefa {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  z-index: 9;
}

.texto-negro {
  font-size: 42px;
  text-transform: uppercase;
  line-height: 1em;
  padding-right: 10px;
  width: 70%;
  clear: both;
  font-weight: 300;
  text-align: right;
}

.texto-blanco {
  font-size: 54px;
  text-transform: uppercase;
  line-height: 1.1em;
  padding: 5px 10px;
  color: #fff;
  width: auto;
  clear: both;
  margin-top: 10px;
  background: rgba(193, 0, 73, 0.8);
  text-align: right;
}

#block-nucphys-presentationhome {
  margin-top: 3rem;
}

#block-nucphys-presentationhome .btn {
  margin-top: 2rem;
}

.custom-three-33-33-33 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.paragraph--type--columnas .custom-layout-grid .custom-layout-item .paragraph {
  position: relative;
}

.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  color: white;
  line-height: 1em;
  z-index: 2;
  font-weight: var(--bold);
  text-align: center;
}

.banner-image {
  position: relative;
}

.banner-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.2s;
  z-index: 1;
  mix-blend-mode: multiply;
}

#block-nucphys-enlacesdestacados .custom-three-column-item-left .banner-image::before {
  background: rgba(193, 0, 73, 0.7);
}

#block-nucphys-enlacesdestacados .custom-three-column-item-left:hover .banner-image::before {
  background: rgba(193, 0, 73, 0.9);
}

#block-nucphys-enlacesdestacados .custom-three-column-item-center .banner-image::before {
  background: rgba(11, 209, 131, 0.7);
}

#block-nucphys-enlacesdestacados .custom-three-column-item-center:hover .banner-image::before {
  background: rgba(11, 209, 131, 1);
}

#block-nucphys-enlacesdestacados .custom-three-column-item-right .banner-image::before {
  background: rgba(0, 0, 0, 0.5);
}

#block-nucphys-enlacesdestacados .custom-three-column-item-right:hover .banner-image::before {
  background: rgba(0, 0, 0, 0.6);
}

#block-nucphys-studentapplicationfrom {
  margin-top: 3rem;
  position: relative;
}

#block-nucphys-sliderhome .splide__slide .field__item {
  height: 547px;
  overflow: hidden;
}

#block-nucphys-enlacesdestacados .banner-image .field__item {
  height: 200px;
  overflow: hidden;
}

#block-nucphys-studentapplicationfrom .banner-image .field__item {
  height: 300px;
  overflow: hidden;
}

#block-nucphys-sliderhome .splide__slide .field__item img,
#block-nucphys-enlacesdestacados .banner-image .field__item .image-banner,
#block-nucphys-studentapplicationfrom .banner-image .field__item .image-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#block-nucphys-studentapplicationfrom .banner-image::before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.2s;
  z-index: 1;
  mix-blend-mode: multiply;
}

#block-nucphys-bannertexto {
  margin-top: 3rem;
  text-align: center;
}

.bannerAnimation {
  background: linear-gradient(1deg, #00d38d, #2c9088);
  background-size: auto;
  background-size: 400% 400%;
  padding: 40px;
  -webkit-animation: bannerAnimation 5s ease infinite;
  -moz-animation: bannerAnimation 5s ease infinite;
  -o-animation: bannerAnimation 5s ease infinite;
  animation: bannerAnimation 5s ease infinite;
}

@-webkit-keyframes bannerAnimation {
  0% {
    background-position: 53% 0%;
  }

  50% {
    background-position: 48% 100%;
  }

  100% {
    background-position: 53% 0%;
  }
}

@-moz-keyframes bannerAnimation {
  0% {
    background-position: 53% 0%;
  }

  50% {
    background-position: 48% 100%;
  }

  100% {
    background-position: 53% 0%;
  }
}

@-o-keyframes bannerAnimation {
  0% {
    background-position: 53% 0%;
  }

  50% {
    background-position: 48% 100%;
  }

  100% {
    background-position: 53% 0%;
  }
}

@keyframes bannerAnimation {
  0% {
    background-position: 53% 0%;
  }

  50% {
    background-position: 48% 100%;
  }

  100% {
    background-position: 53% 0%;
  }
}

#block-nucphys-bannertexto p {
  font-size: 18px;
  margin: 0;
  padding: 20px 30px;
  border: 3px double #fff;
  color: #fff;
  font-weight: 600;
}

#block-nucphys-bannertexto span {
  font-weight: 600;
  border-bottom: 1px solid #00d38d;
}

/* Featured bottom
***********************/

#block-partners {
  padding-bottom: 5rem;
}

.partners-content>div>.grid-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
}

.partner-image,
.partners-content>div>.grid-wrap .views-row {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #efefef;
  transition: all 0.2s;
  filter: grayscale(100%);
}

.partner-image {
  filter: grayscale(0);
  margin-bottom: 1rem;
}

.partner-item:hover .partner-image,
.partners-content>div>.grid-wrap .views-row:hover {
  box-shadow: 0px 14px 16px -9px rgba(132, 128, 110, 0.5);
  border: 1px solid #ccc;
  filter: grayscale(0);
}

.partner-image,
.partners-content>div>.grid-wrap .image-svg {
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-image img,
.partners-content>div>.grid-wrap img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  display: block;
}

#a-partners {
  grid-gap: 1.5rem;
}

.partner-item {
  position: relative;
  text-align: center;
}

.partner-item p {
  color: #044b2f;
  font-size: var(--text-general-small) !important;
}

.partner-item:hover p {
  color: #00d38d;
}

/* Main content
***********************/

#block-nucphys-enlacesdestacadosinterior .destacados {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  text-align: center;
}

.paragraph--type--banner {
  position: relative;
}

.icono .image-svg {
  overflow: hidden;
  height: 80px;
}

.icono .image-svg img {
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.destacado-title {
  color: #90395e;
  text-decoration: none;
  margin-top: 1rem;
  text-transform: uppercase;
}

#block-consortium {
  margin-top: 4rem;
}

#block-consortium .partners-content>div>.grid-wrap {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 3rem;
}

/* */

.destacados-pagina a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  float: left;
  padding: 0;
  position: absolute;
  left: 55px;
  top: 50%;
  transform: translate(0%, -50%);
  z-index: 200;
}

.destacados-pagina a:hover {
  color: #90395e;
}

.destacados-pagina p {
  display: inline-block;
  vertical-align: top;
  width: calc(49% - 20px);
  counter-increment: section;
  margin: 15px 20px 15px 0;
  overflow: hidden;
  background: #f7f7f7;
  padding: 12px 8px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  position: relative;
  line-height: 1.3em;
}

.destacados-pagina p:before {
  content: counter(section);
  display: inline-block;
  vertical-align: top;
  padding: 0 10px;
  border-right: 1px solid #00d38d;
  color: #00d38d;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  float: left;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.answers p {
  margin: 0 !important;
}

.answers p a:hover {
  color: var(--verde-intenso);
}

.news-page .views-row {
  padding: 20px 0;
  border-bottom: 1px solid #efefef;
}

.fecha {
  font-size: 16px;
  color: #909090;
  margin-bottom: 0.6rem;
}

.news-page .views-field-title a {
  color: #044b2f !important;
  text-decoration: none;
  font-weight: var(--medium);
}

/* Footer
***********************/

footer {
  padding: var(--pm-blend-block);
  background: #67a791;
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-gap: 3rem;
}

#block-nucphys-logofooter img {
  width: 127px;
  height: 50px;
  margin-bottom: 1rem;
}

#block-nucphys-logofooter p {
  color: white;
  font-size: var(--text-general-small);
}

.region-footer-second {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  flex-direction: column;
  gap: 1.5rem;
  text-align: right;
}

#block-footer-menu {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

#block-footer-menu ul:not(.contextual-links) {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 1.5rem;
}

#block-footer-menu ul li {
  width: max-content;
  display: inline-block;
}

#block-footer-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: var(--text-general-small);
}

#block-footer-menu ul li a:hover {
  text-decoration: none;
  color: var(--verde-intenso);
}

#block-nucphys-logoerasmus .block-content {
  width: auto;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

#block-nucphys-logoerasmus img {
  width: auto;
  height: 45px;
}

#block-nucphys-rrss .block-content {
  width: auto;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

#block-nucphys-rrss .block-content .field__item {
  width: auto;
  text-align: right;
  display: flex !important;
  justify-content: flex-end;
  gap: 1rem;
}

#block-nucphys-rrss .block-content .field__item img {
  width: 25px;
  height: 25px;
}

/**********************************************
Responsive
**********************************************/

@media all and (max-width: 1400px) {
  .texto-negro {
    font-size: 30px;
  }

  .texto-blanco {
    font-size: 36px;
  }
}

@media all and (max-width: 1024px) {
  .path-frontpage #main-page-wrap main {
    display: flex;
    gap: 4vw;
    flex-direction: column;
  }
}

@media all and (max-width: 780px) {
  #block-nucphys-sliderhome>.block-content>div:not(.splide) {
    top: inherit;
    width: 100%;
    height: auto;
    bottom: 0;
    padding: 2rem 0;
  }

  .custom-three-33-33-33 {
    grid-template-columns: 1fr;
  }

  .partners-content>div>.grid-wrap,
  #block-consortium .partners-content>div>.grid-wrap,
  .grid-four-columns {
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .path-news.has-sidebar-second main,
  .path-node.has-sidebar-second main {
    display: flex;
    gap: 3rem;
    flex-direction: column;
  }

  footer {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #block-nucphys-rrss .block-content {
    justify-content: center;
  }

  #block-footer-menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  #block-footer-menu ul:not(.contextual-links) {
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
  }

  #block-nucphys-logoerasmus .block-content {
    justify-content: center;
  }
}

.purpura {
  color: rgb(144, 57, 94);
  font-size: 22px;
}

.verde {
  color: rgb(0, 211, 141);
  font-size: 16px;
}