/* ============================================================================
   PORTADA
   Cabecera transparente, pase de imagenes, intro y mensajes
   ============================================================================ */

body {
  padding-top: 0;
}
#header {
  transition: background 250ms ease;
}
#header #logo {
  transition: opacity 250ms ease;
}
body:not(.scrolled):not(.siteSearchOpen) #header {
  background: none;
  box-shadow: none;
}
body:not(.scrolled):not(.siteSearchOpen) #searchJump svg {
  fill: #fff;
}
body:not(.scrolled):not(.siteSearchOpen) .mobileNavBox span {
  background: #fff;
}
body:not(.scrolled):not(.siteSearchOpen) #header #logo {
  opacity: 0;
}
#mainContentWrapper {
  display: block !important;
}
#index #content {
  max-width: none;
  margin: 0px auto;
}
#mainContent {
  margin: 0 !important;
  padding: 0;
}
#homeAnimation {
  position: relative;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 60vh;
  overflow: hidden;
  background: #000;
}
#homeAnimation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.56) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.86) 100%
  );
}
#homeAnimation ul,
#homeAnimation ul li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
#homeAnimation .image {
  height: 60vh;
}
#homeAnimation .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 25000ms linear;
  transform: scale(1);
}
#homeAnimation li.current .image img {
  transform: scale(1.2);
}
#homeAnimation li:nth-child(2) .image img,
#homeAnimation li:nth-child(6) .image img {
  transform-origin: 1% 1%;
}
#homeAnimation li:nth-child(3) .image img,
#homeAnimation li:nth-child(7) .image img {
  transform-origin: top right;
}
#homeAnimation li:nth-child(4) .image img,
#homeAnimation li:nth-child(8) .image img {
  transform-origin: bottom right;
}
#homeAnimation li:nth-child(5) .image img,
#homeAnimation li:nth-child(9) .image img {
  transform-origin: bottom left;
}
@keyframes slidein {
  0% {
    opacity: 0;
    transform: translateY(3vw);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
#animationLogo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-bottom: 10%;
  opacity: 0;
  animation: slidein 1s forwards 0.75s;
}
#animationLogo svg {
  display: block;
  width: 50%;
  max-width: 700px;
  height: auto;
  fill: #fff;
}
#homeAnimationSearchJump {
  position: absolute;
  z-index: 1000;
  width: 100%;
  bottom: 10%;
  text-align: center;
  opacity: 0;
  animation: slidein 1s forwards 0.95s;
}
#homeAnimationSearchJump a {
  padding-bottom: 3px;
  font-family: "DM Serif Display";
  --min-font-size: 24;
  --max-font-size: 36;
  color: #fff;
  border-bottom: 1px solid currentColor;
}
#homeAnimationSearchJump a svg {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  fill: currentColor;
}
#homeIntro {
  width: 100%;
  max-width: 1030px;
  margin: 65px auto 85px;
}
@media (min-width: 768px) {
  #animationLogo svg {
    width: 40%;
  }
}
@media (min-width: 1350px) {
  body:not(.scrolled):not(.siteSearchOpen) #mainNav a,
  body:not(.scrolled):not(.siteSearchOpen) #mainNav > ul > li:nth-child(n + 4) > a {
    color: #fff;
  }
  body:not(.scrolled):not(.siteSearchOpen) #mainNav > ul > li:nth-child(3)::after {
    background: #fff;
  }
  body:not(.scrolled):not(.siteSearchOpen) #searchJump svg {
    fill: #fff;
  }
  body:not(.scrolled):not(.siteSearchOpen) #mainNav a:is(:hover, :focus),
  body:not(.scrolled):not(.siteSearchOpen)
    #mainNav
    > ul
    > li:nth-child(n + 4)
    > a:is(:hover, :focus),
  body:not(.scrolled):not(.siteSearchOpen) #searchJump:is(:hover, :focus) svg {
    color: var(--baby-blue);
    fill: var(--baby-blue);
  }
  body:not(.scrolled):not(.siteSearchOpen) #header {
    border-bottom: 0;
    background: none;
    box-shadow: none;
  }
  #homeAnimationSearchJump a svg {
    width: 25px;
    height: 25px;
  }
}
@media (min-width: 1280px) {
  #homeAnimation,
  #homeAnimation .image {
    height: 100vh;
  }
}
#alertMessage {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 98;
  width: 100%;
  padding: 12px 16px 12px 16px;
  background: #ccc;
  box-sizing: border-box;
  color: #000;
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
}
#alertMessage p,
#alertMessage p * {
  margin: 0;
  padding: 0;
  color: #000;
}
#alertMessage a {
  text-decoration: underline;
}
#alertMessage .closeButton {
  position: absolute;
  top: 20px;
  right: 17px;
  padding: 24px 24px 0 0;
  background: none;
  border: none;
  color: #000;
}
#alertMessage .closeButton::before,
#alertMessage .closeButton::after {
  top: 10px;
  left: 0px;
  width: 24px;
  height: 2px;
}
#alertMessage .closeButton:hover,
#alertMessage .closeButton:focus {
  color: #555;
}
@media (min-width: 920px) {
  #alertMessage {
    padding: 20px 44px 20px 44px;
    font-size: 1rem;
  }
}
@media (min-width: 1350px) {
  #alertMessage {
    padding: 20px 80px 20px 80px;
  }
}
#noticeMessage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 2000;
  top: 10px;
  bottom: 10px;
  left: 16px;
  right: 16px;
  height: 40vh;
  max-height: 70vh;
  width: calc(100vw - 32px - 50px);
  max-width: 866px;
  margin: auto;
  padding: 3.5em 20px 1.5em 20px;
  background: rgba(0, 0, 0, 0.95);
}
#noticeMessage:not(.open) {
  display: none;
}
#noticeMessage > div {
  position: relative;
  z-index: 999999;
  width: 100%;
  height: 100%;
  font-size: 0.825rem;
}
#noticeMessage > div > div {
  position: relative;
  overflow: auto;
  height: 100%;
  max-height: 70vh;
  margin: 0;
  padding: 0 2.5em 0 0;
}
#noticeMessage > div > div * {
  color: #fff;
  --max-font-size: 20;
}
#noticeMessage > div div p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
#noticeMessage .noticebuttons {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}
#noticeMessage div button,
#noticeMessage a.standardButton {
  display: inline-flex;
  padding: 14px 18px 14px 25px;
  margin: 10px 10px 10px 0;
  background: none;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  font-weight: 300;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
#noticeMessage div button:last-of-type,
#noticeMessage a.standardButton:last-of-type {
  margin-right: 0;
}
#noticeMessage div button:after {
  content: "x";
  display: inline-block;
  margin-left: 18px;
  font-size: 1rem;
  line-height: 1.4;
  vertical-align: middle;
}
#noticeMessage div button:hover,
#noticeMessage div button:focus,
#noticeMessage a.standardButton:hover,
#noticeMessage a.standardButton:focus {
  background: white;
  color: black;
}
#noticeMessage div button:hover div,
#noticeMessage div button:focus div,
#noticeMessage a.standardButton:hover,
#noticeMessage a.standardButton:focus {
  color: black;
}
#noticeMessage .closeButton {
  position: absolute;
  top: 20px;
  right: 17px;
  padding: 24px 24px 0 0;
  background: none;
  border: none;
  color: #fff;
}
#noticeMessage .closeButton::before,
#noticeMessage .closeButton::after {
  top: 10px;
  left: 0px;
  width: 24px;
  height: 2px;
}
#noticeMessage .closeButton:hover,
#noticeMessage .closeButton:focus {
  color: #ccc;
}
@media (min-width: 969px) {
  #noticeMessage {
    width: calc(100vw - 32px - 60px);
    padding: 3.5em 20px 1.5em 40px;
  }
}
