/* === RESET === */
@font-face {
    font-family: 'Myriad PRO';
    src: url('fuentes/MyriadPro-Regular.woff2') format('woff2'),
         url('fuentes/MyriadPro-Regular.woff') format('woff'),
         url('fuentes/MyriadPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Myriad PRO';
}
html, body {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body:has(div.memoria2024) {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: url('/Style%20Library/Images/tragsa/fondo_bg.jpg') no-repeat center center fixed;
  background-size: cover;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  background-color: #fff;
  color: #ffffff;
  overflow: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
button, input, select, textarea {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input, button, textarea, select {
  font: inherit;
}
[role="button"] {
  cursor: pointer;
}
header section.iconos {
  /*margin-bottom: 15em;*/
}
section.iconos {
  margin: 0dvw 28dvw 0;
}
h2.titulo-cajas {
 /* font-family: 'Myriad PRO';*/
  font-size: 45px;
  color: #fff;
  width: 100dvw;
  text-align: center;
  font-weight: 900;
  letter-spacing: 1.5px;
  word-spacing: 5px;
  margin: 0em 0 0.8em;
}
img.icono_tragsa{
  width: 375px;
  height: 85px;
}
img.icono_sepi{
  width:90px;
  height: 93px;
}
.caja h3{
  font-size: 16px;
  text-align: left;
  width: 135px;
}
.caja p {
  color: #fff;
  text-align: left;
  font-weight: 200;
}
.memoria{
  background: url('/Style%20Library/Images/tragsa/www.png');
  background-repeat: no-repeat;
  background-size: 60px;
}
.pdf {
  background: url('/Style%20Library/Images/tragsa/pdf_ico.png');
  background-repeat: no-repeat;
  background-size: 60px;
}
.contacto H3 {
  display: block;
  background: url('/Style%20Library/Images/tragsa/contacto.png');
  background-repeat: no-repeat;
  background-size: 60px;
  cursor: pointer;
  width: 180px;
  height: 55px;
  padding-left: 5em;
}
.caja.contacto {
  padding-left: 3em;
  margin-left: -2em;
}
.caja.contacto h3 {
  white-space: break-spaces;
}
/* HOVER */
.caja {
  position: relative; 
}
.caja::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 65px;
 /* background-color: #fff;*/
}
.caja.contacto::after{
  content: none;
}
.caja.contacto a:hover h3 {
  color: #000 !important;
}
.caja a {
  position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 0;
}
.caja a::before {
  content: ''; 
  position: absolute;
  left: 69px;
  bottom: 21px;
  width: 75px;
  height: 37px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}
.caja.pdf ~ .caja.pdf a::before {
  width: 80px !important;
}
.caja.contacto a::before {
  width: 83px;
  left: 147px;
  bottom: 18px;
}
/*.caja a.enlace_secundario::before, .caja.pdf ~ .caja.pdf a.enlace_secundario::before {
  width: 110px !important;
  height: 18px;
}*/
.caja a:hover::before {
  transform: scaleX(1);
}
.caja a:hover{
  color: #000;
}
.caja.contacto a:hover {
    color: #000 !important;
}
.caja a:hover p {
    color: #fff !important;
}
.caja.contacto h3 {
  position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  z-index: 0;
}
.caja.contacto h3::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 65px;
}/*
.caja.contacto h3::before {
  content: '';
  position: absolute;
  left: 75px;
  bottom: 18px;
  width: 85px; 
  height: 38px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}*/
.caja.contacto h3:hover::before {
  transform: scaleX(1);
}
.caja.contacto h3:hover {
  color: #000;
}
/*FIN HOVER*/
.iconos, .cajas {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin: 15rem 10dvw;
  cursor: default
}
.iconos{
  justify-content: space-evenly;
}
.icono, .caja {
  padding-left: 5em;
  line-height: 1.2em;
  min-height: 4em;
  width: 235px;
}
.icono {
  font-size: 3rem;
}
footer {
  background: linear-gradient(90deg, 
  rgba(0, 76, 81, 1) 0%,
  rgba(0, 76, 81, 1) 7%,
  rgba(0, 87, 148, 1) 7%,
  rgba(0, 87, 148, 1) 32%,
  rgba(80, 152, 203, 1) 32%,
  rgba(80, 152, 203, 1) 35%,
  rgba(235, 110, 8, 1) 35%,
  rgba(235, 110, 8, 1) 42%,
  rgba(240, 201, 169, 1) 42%,
  rgba(240, 201, 169, 1) 56%,
  rgba(133, 152, 47, 1) 56%,
  rgba(133, 152, 47, 1) 63%,
  rgb(218, 233, 150) 63%,
  rgba(218, 233, 150, 1) 70%,
  rgb(161, 175, 0, 1) 70%,
  rgb(161, 175, 0, 1) 90%,
  rgb(185, 196, 134, 1) 90%,
  rgb(185, 196, 134, 1) 100%);
  text-align: center;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  left:0;
  width: 100%;
} 
/* Opina */
div#opina {
  display: flex;
  flex-direction: column;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 0em 1em 1em;
  border-radius: 10px;
  top: 49% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.memoria2024 fieldset#contacto {
    border: 3px solid #44444452;
    border-radius: 10px;
    padding: 1em;
}
.memoria2024 fieldset#contacto:before {
    content: "Ponte en Contacto";
    font-family: 'Myriad PRO';
    background-color: #fff;
    position: relative;
    top: -35px;
    left: -8px;
    font-size: 25px;
    padding: 0.2em 0.3em;
}
.memoria2024 legend.titulo{
  padding: 0.5em;
  font-size: 1.2em;
}
.memoria2024 label.cerrar {
  text-align: end;
  font-size: 45px;
  color: #444;
  cursor:pointer;
}
.memoria2024 label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  margin-bottom: 0.5em;
  white-space: nowrap;
  max-width: 495px;
}
.memoria2024 input[type="text"],
textarea {
  width: 100%;
  padding: 0.6em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.memoria2024 input[type="checkbox"] {
    margin-right: 0.5em;
    margin-bottom:0.5em;
}
.memoria2024 input[type="submit"] {
    background-color: #005794;
    color: #fff;
    width: -webkit-fill-available;
    border-radius: 0.2em;
    padding: 0.5em;
    cursor:pointer;
    transition: 0.5s transform ease-in-out;
}
.memoria2024 input[type="submit"]:hover {
    transform: scale(1.05);
}
.memoria2024 button {
  background-color:#005794;
  color: white;
  width: 100%;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  cursor: pointer;
}
.memoria2024 button:hover {
  background-color: #005794;
}
.error_val {
  display: flex;
	color: #ff0000 !important;
  font-weight: 300;
}
span#ctl00_PlaceHolderMain_ValidacionPolitica {
    font-weight: 900;
}
.ok {
  display: flex;
  color: #6f9d20;
  font-size: 1.2em;
  justify-content: center;
  position: relative;
  top: -15px;
}
span.check ~ a {
    color: #005794;
}
img.ico_accesible {
  width: 20px;
  height: 13px;
  margin-right: -5px;
}
a.cerrar:before {
  content: "\2716";
  font-size: 30px;
  font-weight: bolder;
  color: #005794;
  display: inline-block;
  position: relative;
  top: 3px;
  left: -3px;
  transform-origin: center;
  transform: rotate(0deg);
}
a.cerrar:hover::before {
  transform: rotate(180deg);
  transition: transform 0.8s ease-in;
}
#lnkCerrarOpina {
  align-self: flex-end;
}
a.cerrar img {
    display: none;
}
#contacto li:nth-child(4) label {
  display: flex;
  flex-direction: row;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 6px;
  cursor: pointer;
}
#contacto li:nth-child(4) label a:hover {
    text-decoration: underline;
}
#contacto li:nth-child(4) label .check,
#contacto li:nth-child(4) label a {
  display: inline-flex;
}
#contacto li:nth-child(4) label a {
  white-space: nowrap;
}
#contacto li:nth-child(4) label span.error_val,
#contacto li:nth-child(4) label span.aceptar {
  flex-basis: 100%;
  display: block;
}
#contacto li:nth-child(4) label span.error_val{
  font-weight: 300;
  font-size: 16px;
}
@media (min-width: 1115px) {
#cajas .caja.contacto a {
    margin-left: 50px;
    padding-left: 0;
}
  .caja.contacto a::before {
      left: 42px;
  }
}
@media (min-width: 1404px) {
  .caja.contacto a::before {
      left: 75px;
  }
}
@media  screen and (min-width:1060px) and (max-width:1230px) {
.caja {
    width: 200px;
}
header section.iconos {
    margin-bottom: 1em;
}
}
@media  screen and (min-width:769px) and (max-width:1059px) {
.caja {
    width: 270px;
}
}
@media  screen and (min-width:1115px) and (max-width:1403px) {
 .caja.contacto h3{
  left:-33px;
 }

}
@media  screen and (min-width:1075px) and (max-width:1114px) {
 .caja.contacto h3{
  left:0px;
 }
 header section.iconos {
    margin-bottom: 1em;
}
}
@media  screen and (min-width:769px) and (max-width:1113px) {
.caja.pdf ~ .caja.pdf {
  left: -1em;
}
.caja.contacto{
  padding-left: 1em;
}
.caja::after{
  background-color: transparent;
}
img.icono_tragsa {
    width: auto;
    height: 68px;
}
img.icono_sepi {
    width: auto;
    height: 73px;
}
section.iconos {
    margin: 0dvw 20dvw 0;
}
}
@media (max-width: 768px) {
.caja{
  margin:0px 80px;
 }
section.iconos {
  margin: 0 10dvw;
}
h2.titulo-cajas {
  font-size: 35px;
  line-height: 1;
  margin: 2em 0 2em;
}
img.icono_tragsa {
  width: 225px;
  height: 50px;
}
img.icono_sepi {
  width: auto;
  height: 54px;
}
.iconos{
  flex-wrap: nowrap;
}
.iconos, .cajas{
  margin: 0rem 10dvw;
}
header section.iconos {
    margin-bottom: 1em;
}
.caja::after{
  content: none;
}
.caja.contacto {
    margin: 0 80px;
    position: relative;
    left: -50px;
}
#contacto li:nth-child(4) label {
    font-size: 12px;
    align-content: space-around;
}
#contacto li:nth-child(4) label .check{
  position: relative;
  top: -3px;
}
#contacto li:nth-child(4) label a{
    position: relative;
    top: 0px;
}
}
@media  screen and (min-width:481px) and (max-width:530px) {
  .caja.contacto {
      left: -52px;
  }
}
@media screen and (max-width: 480px) {
  label{
    white-space: normal;
  }
  img.icono_sepi, img.icono_tragsa {
        transform: scale(1);
}
  #contacto li:nth-child(4) label .check, #contacto li:nth-child(4) label img {
  position: relative;
  top: -7px;
  }
  .error_val{
  min-height: 0.7em;
}
#contacto ul label{
  width:73vw !important;
}
div#opina{
  width:90vw !important;
}
#contacto span span{
  position:relative;
  top:-12px;
}
#contacto li:nth-child(4) label{
  font-size:10px;
}
#contacto ul a{
  position:relative;
  top:10px;
}
#opina span.error_val {
  margin-top: 1em;
}
#opina span#ctl00_PlaceHolderMain_ValidacionTexto.error_val {
  margin-top: 15px;
}
span#ctl00_PlaceHolderMain_ValidacionEmail {
  margin: 8px 0 3px !important;
}
span#ctl00_PlaceHolderMain_ValidacionEmailFormato {
  margin: 0px 0 15px !important;
  white-space: break-spaces;
  line-height: 1;
  padding-right: 0;
}
.caja.contacto {
    margin: 0 80px;
    position: relative;
    left: -50px;
}
}
@media screen and (max-width: 650px) {
  .cajas {
    margin: 0rem 10dvw 10dvh !important;
  } 
  h2.titulo-cajas {
  margin: 0.5em 0 0.5em;
  font-size: 30px;
}
  header section.iconos {
  margin: auto;
  }
  header {
    position: absolute;
    top: 0;
    padding: 20px 0;
    margin: auto 2rem;
}
}
@media  screen and (max-width: 667px) and (max-height: 667px) {
  h2.titulo-cajas {
    margin: 4.7em 0 0em;
    }
    .cajas {
    margin-bottom: 2em;
}
}
@media  screen and (max-height: 550px) {
.cajas {
    margin: 2rem 10dvw;
}
}
/* Cookies */
#cookies {
    background: #d6d6d6;
    position: fixed;
    bottom: 0px !important;
    width: 100%;
    z-index: 9999;
}
label.lbl_always_active, label.lbl_no_used {
  width: 70px;
  height: fit-content;
}
#capa_config_cookies, #cookies *,
#capa_config_cookies * {
  font-family: Verdana, Helvetica, sans-serif !important;
}
#mask{
    width: 100dvw !important;
    background: rgba(0, 0, 0, 0.5);
}
/*Corrección cajas para enlace envuelva icono */
#cajas .caja a{
 left:-72px;
 width:199px;
 padding-left:73px;
}