/* TIPOGRAFÍA */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* VARIABLES */

:root {
  --rojo: #e52420;
  --rosa: #EFC0BF;
  --gris: #999999;
  --negro: #555555;
  --grisclaro: #F1F1F1;
  --grisfondos: #F5f5f5;
  --blanco: #ffffff;
  --grisenlaces: #444444;
  --grisforms: #E1E1E1;
  --font-family: 'Raleway', sans-serif;
  --transition-all: all 0.4s ease;
}

/* ESTILOS GENERALES */

*,
*::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--negro);
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 62.5%;
}

#main {
  /* margin: 0px; */
  padding: 0px;
  /* display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row;
  flex-flow: row; */
  display: block;
  max-width: 1320px;
  margin: auto;
  min-height: 70vh;
  margin-bottom: 40px;
}



#main>article {
  margin: auto;
  padding: 20px;
  max-width: 1320px;
  text-align: left;
  margin-bottom: 30px;
}

/* CABECERA */

header {
  display: block;
  margin: 0;
  padding: 10px;
  background: var(--grisclaro);
  text-align: left;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

#logo img {
  width: 98px;
}

#enlaces {
  font-size: 1.4em;
  font-weight: 400;
  color: var(--rojo);
}

#enlaces a {
  color: var(--grisenlaces);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 10px 0 10px;
}

#enlaces a:hover {
  text-decoration: underline;
}

/* PIE */

footer {
  display: block;
  margin: 0;
  padding: 50px;
  background: var(--rojo);
  color: var(--blanco);
}

footer a {
  color: var(--blanco);
  text-decoration: none;
}

footer a:hover {
  color: var(--blanco);
  text-decoration: underline;
}

footer #copyright {
  text-align: center;
  font-size: 1.2em;
}

/* FORMULARIOS */

/* form label {
  display: block;
  margin: .5em 0;
  font-size: 1.8em;
  font-weight: 600;
}

form input:focus {
  border: 2px solid var(--rojo);
  background-color: var(--gris);
  color: var(--negro);
}

fieldset {
  display: flex;
  width: 100%;
  align-content: space-around;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 0 0;
  border: 1px var(--grisforms) solid;
  padding: 0;
}

fieldset div {
  width: 100%;
}

form {
  display: flex;
  margin: 40px auto;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-around;
  justify-content: space-between;
  align-items: flex-start;

}


form input,
form select,
form textarea {
  color: var(--gris);
  font-size: 1.8em;
  height: 40px;
  width: 100%;
  border: 1px var(--grisforms) solid;
  font-family: var(--font-family);
  color: var(--negro);
  border: 1px solid var(--rojo);
}

form textarea {
  height: 100px;
}

form select {
  height: 44px;
}

legend {
  font-size: 2.6em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--rojo);
} */

#filterselect {
  display: none;
}


.formulario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.25rem;
}
.formulario label {
  display: block;
  font-size: 16px;
  line-height: 2em;
  font-weight: 600;
}
.formulario button,
.formulario input,
.formulario textarea,
.formulario select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--rojo);
}
.formulario textarea {
  resize: none;
}

.formulario button,
.formulario select {
  cursor: pointer;
}

.formulario .nota {
  font-size: 0.8em;
  /* text-transform: uppercase; */
  line-height: 1.5em;
  /* color: var(--rojo); */
  color: var(--gris);
  font-weight: 600;
}

.formulario .nota a {
  /* color: var(--rojo); */
  color: var(--gris);
}

.formulario.checks {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    font-size: 15px;
    grid-gap: 0.75rem !important;
}

/* Estilo base para el contenedor del checkbox */
.formulario.checks .checkbox-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
  align-items: flex-start
}

/* Estilo del checkbox oculto */
.formulario.checks .checkbox-container input {
  cursor: pointer;
  flex: 0 0 20px;
  margin-top: 10px;
}

/* Estilo del contenedor del texto */
.formulario.checks .checkbox-container label {
  margin-left: 5px;
  font-size: 16px; /* Tamaño de fuente */
  color: #333; /* Color del texto */
  cursor: pointer;
  text-align: left;
  font-weight: 400;
  color: var(--negro);
}

/* Estilo del texto cuando el checkbox está marcado */
.formulario.checks .checkbox-container input:checked + label {
  color: var(--negro);
}

h3{
  font-size: 2em;
  line-height: 2em;
  color: var(--rojo);
  margin-top: 20px;
  margin-bottom: 10px;
}

.full {
  grid-column: 1/3;
}

.boton-enviar {
  background-color: #ccd7dc;
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
}
.boton-enviar:focus, .boton-enviar:hover {
  background-color: #455a64;
  color: #fff;
  outline: 0;
  transition: background-color 2s ease-out;
}

/* FOOTER */

footer .bloq-datos {
  display: flex;
  align-items: flex-start;
  max-width: 500px;
  margin: auto;
  text-align: left;
  margin-bottom: 30px;
}

footer .bloq-datos .col-logo {
  padding-right: 40px;
  margin-right: 40px;
  border-right: 2px solid #fff;
  min-height: 90px;
}

footer .bloq-datos .ico-redes {
  margin-right: 30px;
}

footer .bloq-datos .ico-redes:last-child {
  margin-right: 0px;
}

footer .bloq-datos .redes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

footer .col-datos {
  flex: 0 0 70%;
  line-height: 1.3em;
  font-size: 1.3em;
}

footer .txt-footer {
  margin: 0px;
}

/* BLOQUE PRESENTACIÓN */

#presentacion {

  text-align: center;
  margin: 50px auto;
}

h1 {
  font-size: 3.6em;
  color: var(--rojo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--rojo);
  padding: 20px;
  margin: 50px auto;
  max-width: 560px;
}

#presentacion p,
.formulario p {
  font-size: 1.6em;
  line-height: 1.8em;
}

/* BLOQUE LISTADO PRINCIPAL */

ul#filter {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  line-height: 2rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 50px;
}

ul#filter li {
  border-right: 1px solid var(--rojo);
  float: left;
  margin-right: 10px;
  padding-right: 10px;
  display: table-cell;
  white-space: nowrap;
  margin: 5px;
}

ul#filter li:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

ul#filter a {
  color: var(--negro);
  text-decoration: none;
  font-size: 1.55em;
  font-weight: 600;
}

ul#filter li.current a,
ul#filter a:hover {
  text-decoration: underline;
  color: var(--rojo);
  transition: var(--transition-all);
  -webkit-transition: var(--transition-all);
  -moz-transition: var(--transition-all);
  -ms-transition: var(--transition-all);
  -o-transition: var(--transition-all);
}

ul#filter li.current a {
  color: var(--rojo);
}

ul#listadosectores {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}

ul#listadosectores li {
  width: 100%;
max-width: 22%;
list-style: none;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: center;
text-align: center;
/* background: var(--grisclaro); */
/* background: var(--blanco); */
/* border: 1px var(--rojo) solid; */
margin: 1%;
padding: 0;
margin-bottom: 30px;
/* height: 200px;*/
}

ul#listadosectores a {
  font-size: 1.4em;
  font-weight: 300;
  color: var(--grisenlaces);
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}

ul#listadosectores a:hover {
  text-decoration: none;
}

ul#listadosectores a:after {
  position: absolute;
  content: '';
  height: 2px;
  bottom: -4px;
  margin: 0 auto;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--rojo);

  /* optional animation */
  -o-transition: .5s;
  -ms-transition: .5s;
  -moz-transition: .5s;
  -webkit-transition: .5s;
  transition: .5s;
}

/* optional hover classes used with anmiation */
ul#listadosectores a:hover:after {
  width: 80%;
  background: var(--rojo);
}

ul#listadosectores a.imagenListado::after {
  content: unset;
}

ul#listadosectores li img {
  opacity: 1;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

ul#listadosectores li:hover img {
  opacity: 0.6;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

ul#listadosectores h2 {
  font-size: 2.0em;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 10px;
}

ul.lista-requerimientos {
  font-size: 1.6em;
    list-style: none;
    margin: 20px;
    line-height: 1.8em;
    border: 1px var(--rojo) solid;
    padding: 20px;
    color: var(--rojo);
}

img.imagenlistado {
  width:100%;
  height:auto;
  margin-bottom:10px;
}

/* ---- PAGINAS INTERNAS -----------*/

.alerta {
  border: 1px var(--rojo) solid;
  background: var(--grisclaro);
  padding: 20px;
}

.alerta label {
  color: var(--negro);
  font-size: 1.2em;
  font-weight: 500 !important;
}

.bloq-cols p {
  font-size: 1.5em;
}


.nom-emp {
  font-size: 3.6em;
    color: var(--negro);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 25px;
    border-bottom: 1px var(--rojo) solid;
}

.item {
  background-color: var(--grisfondos);
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  margin-bottom: 30px;
}

.item:last-child {
  margin-bottom: 0;
}

.item .item-img img {
  max-width: 200px;
}

.item .item-info{
  display: flex;
}

.item .item-date{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 20px 20px;
  text-align: left;
}


.item .item-date .item-nom {
  font-weight: 700;
  font-size: 2.2em;
  margin-bottom: 0px;
  text-transform: uppercase;
}

.item .item-date .item-descript {
  margin-top: 10px;
}

.item .item-links {
  display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 10px;
}

.item .item-links .item-link {
  width: 50px;
  height: 50px;
  background-color: var(--rojo);
  display: flex;
  justify-content: center;
  align-items: center;
  float: left;

}

.item .item-links .item-link.out {
  background-color: var(--rosa);
}

.item .item-links .btn-item {
  /*min-width: 250px; */
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid var(--rojo);
  /* background-color: #fff; */
  color: #000;
  padding: 5px;
  font-size: 1.3em;
  margin-right: 20px;
  font-weight: 600;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

.item .item-links .btn-item:hover {
  background-color: var(--rojo);
  color: #fff;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

.item .item-links .btn-item svg {
  padding-left: 10px;
}

.bloq-cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.col-left {
  flex: 0 0 75%;
  padding-right: 30px;
  border-right: 1px solid var(--rojo);
  padding-top: 30px;
}

.col-right {
  padding: 30px;
  flex: 0 0 25%;
}

.contact-tit {
  font-weight: 700;
  font-size: 2.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-subtit {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.campo {
  display: flex;
  margin-bottom: 20px;
}

.campo .campo-txt {
  display: block;
  width: 100%;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  margin-left: 10px;
  font-size: 1.6em;
  margin-top: 4px;
}

.campo a {
  color: var(--negro);
  text-decoration: none;
}

.campo a:hover {
  text-decoration: underline;
}

.mv-show {
  display: none;
}

/* ---- TABLAS ---- */

#myTable {
  font-size: 16px;
}

#myTable a {
  color: var(--rojo);
}

#myTable a:hover {
  color: var(--negro);
}

/* ---- BOTONES -----------*/

.btn-norm {
  text-align: center !important;
    padding: 10px !important;
    background-color: var(--rojo);
    border: 2px solid var(--rojo);
    color: var(--blanco);
    font-size: 1.6em;
    letter-spacing: 0.05em;
    min-width: 250px;
    display: block !important;
    margin: auto !important;
    margin-top: 30px !important;
    transition: all 0.4s ease;
    font-weight: 600;
    max-width: 320px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-blanco {
  text-align: center !important;
    padding: 10px !important;
    background-color: var(--blanco);
    border: 2px solid var(--rojo);
    color: var(--rojo);
    font-size: 1.6em;
    letter-spacing: 0.05em;
    min-width: 250px;
    display: block !important;
    margin: auto !important;
    margin-top: 30px !important;
    transition: all 0.4s ease;
    font-weight: 600;
    max-width: 320px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.izda {
  margin: 60px 0 0 0 !important;
}

.btn-norm:hover {
  text-align: center !important;
  background-color: var(--blanco);
  color: var(--rojo);
  transition: all 0.4s ease;
}

.btn-blanco:hover {
  text-align: center !important;
  background-color: var(--rojo);
  color: var(--blanco);
  transition: all 0.4s ease;
}

p.logoEmpresa {
  text-align: center;
}

p.logoEmpresa img {
  padding: 20px;
  max-width: 200px;
  margin: auto;

}

.edicion p{
  font-size: 1.6em;
  line-height: 1.8em;
}

.botones {
  display: flex;
}

/* RESPONSIVE */

@media all and (max-width: 1440px) {}

@media all and (max-width: 1200px) {}

@media all and (max-width: 965px) {
  ul#listadosectores li {
    padding: 2%;
  }

}

@media all and (max-width: 768px) {

  ul#filter {
    display: none;
  }

  #filterselect {
    display: block;
  }

  #filterselect #sector {
    margin: 5% auto;
    display: block;
    padding: 10px;
    border: 2px solid var(--rojo);
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}

  #main,
  #page {
    -webkit-flex-flow: column;
    flex-flow: column;
  }

  #main>article {
    padding: 1.5em;
  }

  header {
    min-height: 50px;
    max-height: 50px;
  }

  footer {
    min-height: 50px;
  }

  ul#listadosectores {
    justify-content: space-between;
  }

  ul#listadosectores li {
    max-width: 47%;
  }


  h1 {
    font-size: 2.5em;
    padding: 15px;
    margin: 20px auto;
  }
  #presentacion {
    margin: 0px;
  }

  #enlaces {
    font-size: 1.2em;
  }

  .mv-show {
    display: block;
    padding-top: 20px;
    line-height: 2rem;
  }

  .col-right {
    display: none;
  }

  .col-left {
    flex: 0 0 100%;
    padding-right: 0px;
    margin-right: 0px;
    border-right: none;
  }

  .formulario {
    display: block
  }

  #main>article {
    padding: 20px;
  }

  #logo img {
    width: 98px;
    padding: 15px;
  }

  p.nom-emp {
    display: none!important;
  }

}


@media all and (max-width: 600px) {
  #enlaces {
    font-size: 1em;
  }


  footer .col-datos {
    flex: 0 0 100%;
  }

  footer .bloq-datos{
    flex-wrap: wrap;
  }

  footer .bloq-datos .col-logo{
    border: none;
    margin-right: 0px;
    padding-right: 0px;
    margin: auto;
  }
  footer .bloq-datos .redes {
    margin: auto;
    margin-bottom: 20px;
  }
  .link-footer, .txt-footer {
    text-align: center;
    display: block;
    margin: auto;
  }
  .item .item-info {
    flex-direction: column;
  }

  .item .item-img img {
    max-width: 100%;
  }
  ul#listadosectores li {
    max-width: 49%;
    padding: 1%;
    margin: 0;
    margin-bottom: 2%;
  }
  #sector {
    width: 100%;
  }

  .item .item-links {
    flex-wrap: wrap;
  }

  .item .item-links .btn-item {
    /* flex: 0 0 48%; */
    flex: 0 0 100%;
    margin: 2% 1%;
    text-align: left;
  }

  .item .item-date .item-descript {
    margin-top: 1%;
  }

  .item .item-date .item-date-info {
    margin-bottom: 2%;
    text-align: center;
  }
  .item {
    margin: 4% 1%;
  }

  #editmat #main,
  #empresaedit #main {
    padding: 1em;
  }

  #editmat #main .formulario p,
  #empresaedit #main .formulario p
  {
    margin: 4% 0%;
    text-align: left;
  }

  .formulario .nota {
    margin-top: 2%;
    display: block;
  }

  .formulario label {
    font-size: 16px;
    line-height: 1em;
    margin-bottom: 2%;
  }
}
