@charset "utf-8";

/* CSS Document */
/*- Colores -*/
:root {
  --blanco: #fff;
  --azul: #333f50;
  --gris: #ddd;
  --rojo: #c00000;
}

/* ESTILOS NORMALES (para escritorios muy grandes) */
body {
  font: normal 90% 'Arial Narrow', Arial, sans-serif, Helvetica;
  background: #eee;
}

.encabezado {
  width: 100%;
  background: #fff;
	height: 120px;
	position: fixed;
	top: 0;
	z-index: 100;
}

.contenedor {
  width: 100%;
  max-width: 1000px;
  margin: 100px auto 0 auto;
  /* --- FlexBox --- */
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
	position: relative;
}

header {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 0 15px 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-end;
  background: #fff;
}

header>a {
  margin: 0;
  width: 10%;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(1080deg);
  }
}

header>a img {
  width: 88%;
  margin: 5px 6%;
  animation: 1.5s rotate linear;
}

.content_menu {
  margin: 0;
}

header .zona_contacto {
  margin: 0;
  padding: 0;
  width: 20%;
  height: auto;
}

header .zona_contacto ul {
  margin: 0;
  padding: 10px 0 0 10px;
}

header .zona_contacto a {
  text-decoration: none;
  text-align: left;
  color: #333f50;
}

header .zona_contacto i {
  width: 1em;
  color: #333f50;
  margin: 0;
  font-size: 1em;
  letter-spacing: 1pt;
}

.idioma {
  width: 100%;
  color: #333f50;
  margin: 0;
  padding-bottom: 2px;
  text-align: center;
  letter-spacing: 1pt;
  border-bottom: 1px #c00000 solid;
}

/*///////////////////////////////
	Código del menú dinámico
///////////////////////////////*/
/* --- Ocultamos los elementos responsivos --- */
.toggle, [id^=drop] {
  display: none;
}

/* ------------------------------------------- */
/* ----- Dando un ancho al contenedor nav -----*/
.content_menu nav {
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
}

/* ------------------------------------------- */
/* Después de poner un "float:left" a "ul li" (añadimos un clear despues del contenedor) */
nav:after {
  content: "";
  display: table;
  clear: both;
}

/* ------------------------------------------- */
/* Quitamos padding, margin and "list-style" de los "ul", y agregamos "position:relative" */
nav ul {
  /*float: right;  Coloca a la darecha la lista principal del menu */
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  /* Lo alínea con el logo */
  display: flex;
  justify-content: space-around;
}

/* ------------------------------------------- */
/* Posicionando los items de navegación inline */
nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  background: none;
}

/* ------------------------------------------- */
/* --------- Estilizando los enlaces --------- */
nav a {
  display: block;
  padding: 0;
  /* Revisar esta línea en el responsive*/
  color: var(--azul);
  /*font-size:16px;*/
  text-decoration: none;
  /*line-height: 16px;*/
  letter-spacing: 0.5pt;
  font-weight: bold;
}

nav li {
  padding: 0 10px;
  border-right: 2px var(--rojo) solid;
}

nav li:last-child {
  border: none;
}

nav>ul>li>a:hover, .activo {
  /* Aplicamos estilo a los enlaces de primer nivel en "hover" */
  color: var(--rojo);
}

/* ------------------------------------------- */
/*===============================================*/
/* CSS del menú no responsivo */
/*nav{
	width: 100%;
	height: auto;
	margin: 0;
	font-size: 1.2em;
}
nav ul{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-around;
}
nav li{
	padding: 0 10px;
	border-right: 2px #c00000 solid;
}
nav li:last-child{border: none;}
nav a{
	margin: 0;
	color: #333f50;
	text-decoration: none;
	letter-spacing: 0.5pt;
	font-weight: bold;
	text-align: center;
	display: block;
}
nav a:hover, nav .activo{ color: #c00000; }
*/
#slider {
  width: 100%;
  padding-top: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

#slider video {
  width: 90%;
  height: 90%;
}

#banner {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto;
}

#banner img {
  width: auto;
  height: auto;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

#somos, .contacto {
  width: 100%;
  max-width: 1000px;
  margin: 30px 0;
}

#serv_round {
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
}

section, aside, h1 {
  margin: 15px 0;
}

section {
  width: 65%;
  margin-right: 5%;
  color: #222a35;
}

section p {
  text-align: justify;
  text-indent: 2em;
  line-height: 1.5em;
}

article iframe {
  width: 300px;
  height: 169px;
}

h1, h2, b {
  color: #fff;
}

li {
  list-style: none;
  line-height: 1.5em;
}

aside {
  width: 30%;
}

aside p {
  text-align: center;
}

footer {
  color: var(--blanco);
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 15px 0 20px 0;
  text-align: center;
  background: var(--azul);
}

footer p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.3em;
}

footer p b {
  font-size: 1.2em;
  letter-spacing: 0.1em;
}

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

/*------------------------------- Contacto -------------------------------*/
.contacto {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.contacto h1 {
  width: 100%;
}

.mapa {
  width: 50%;
  height: auto;
}

.mapa img {
  width: 100%;
  height: auto;
}

.oficinas {
  width: 45%;
  height: 300px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}

.oficinas #caja {
  width: 45%;
  height: auto;
  background: #222a35;
  text-align: center;
}

.oficinas #caja h2, .oficinas #caja a {
  color: #fff;
  text-decoration: none;
}

.formulario {
  width: 100%;
  margin: 0;
  padding: 1% 5%;
  box-sizing: border-box;
  display: flex;
  flex-flow: row wrap;
}

.formulario input, .formulario textarea, .formulario label {
  font-size: 13px;
  padding: 0 0 0 0px;
  border: none;
  margin: 10px 0;
}

.formulario input, .formulario textarea {
  width: 80%;
  padding: 4px;
  box-sizing: border-box;
  color: #000;
  background: #EEE;
  border: 1px solid #333f50;
}

.formulario label {
  width: 20%;
  display: block;
  text-align: right;
  text-transform: uppercase;
  padding-right: 10px;
  box-sizing: border-box;
}

.formulario textarea {
  height: 130px;
  resize: none;
  clear: both;
}

.formulario #submit-button, .formulario #clear-button {
  width: 100px;
  height: 30px;
  color: #000;
  display: block;
}

.formulario .botones {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.formulario #submit-button:hover, .formulario #clear-button:hover {
  position: relative;
  top: -1px;
  background: #c00000;
  color: #FFF;
  border: none;
}

.formulario #submit-button:active, .formulario #clear-button:active {
  position: relative;
  top: 1px;
}

/* ==========================================================================
Servicios
========================================================================== */
.lightbox {
  width: 100%;
  height: 100%;
  position: fixed;
  top: -15px;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999999;
  visibility: hidden;
}

.texto-serv {
  position: relative;
  width: 40%;
  color: #fff;
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid #fff;
  padding: 10px 20px;
}

.texto-serv h3 {
  text-align: center;
  color: #fff;
  font-size: 2em;
  margin: 0;
}

.texto-serv p {
  text-align: center;
  font-size: 1.2em;
  margin: 0;
  padding: 0;
  text-indent: 0;
}

#cerrar1, #cerrar2, #cerrar3, #cerrar4, #cerrar5, #cerrar6 {
  position: absolute;
  font-size: 20px;
  background: #fff;
  color: #000;
  padding: 7px 10px;
  border-radius: 20px;
  top: -15px;
  right: -15px;
  cursor: pointer;
}

.visible {
  visibility: visible !important;
}

/* ========================================================================== */
/* ==========================================================================
C O V I D 19
========================================================================== */
.covid {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}

.covid>h1, .covid>h2 {
  width: 100%;
  text-align: center;
}

.covid>h1 {
  font-size: 3.2em;
  color: var(--rojo);
}

.covid>h2 {
  margin-top: 30px;
  font-size: 1.8em;
  color: #000;
}

.covid .cov_boton {
  width: 160px;
  padding: 20px 0;
  margin: auto;
  text-decoration: none;
  text-align: center;
  font-size: 1.3em;
  background: var(--azul);
  color: var(--blanco);
}

.covid .cov_back {
  width: 100%;
  margin: 50px 0 20px 0;
  text-decoration: none;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: var(--rojo);
}

.box_covid {
  width: 35%;
  min-width: 400px;
  margin-bottom: 30px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
}

.box_covid>a {
  width: 100%;
  padding: 0;
  text-align: center;
  text-decoration: none;
  font-weight: lighter;
  background: var(--blanco);
  border: 1px solid var(--azul);
}

.box_covid>a>h2 {
  color: var(--azul);
  font-weight: lighter;
  font-size: 1.5em;
}

.texto_covid {
  position: relative;
  width: 40%;
  padding: 0 10px 10px 10px;
  background: var(--azul);
  color: var(--blanco);
}

.texto_covid>h2, .form_covid>h2 {
  width: 50%;
  padding-bottom: 3px;
  font-weight: lighter;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--blanco);
}

.texto_covid>p {
  text-indent: 0;
}

.texto_covid>a {
  padding: 5px 10px;
  display: inline-block;
  float: right;
  text-align: right;
  text-decoration: none;
  color: var(--blanco);
  border: 1px var(--blanco) solid;
}

.texto_covid>a:hover {
  background: var(--blanco);
  color: var(--azul);
}

.pag_covid>h2, .pag_covid>p {
  color: var(--azul);
}

.pag_covid>h2 {
  width: 60%;
  padding-bottom: 3px;
  font-size: 2.3em;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--azul);
}

.pag_covid>p {
  font-size: 1.3em;
  text-indent: 0;
}

.pag_covid>p:last-child {
  margin-bottom: 0;
}

.form_covid {
  position: relative;
  width: 70%;
  margin: 0 auto 20px auto;
  padding: 10px;
  box-sizing: border-box;
  background: var(--azul);
  display: flex;
  flex-flow: row wrap;
}

.form_covid>h2 {
  width: 80%;
  font-weight: bold;
  font-size: 1.4em;
  margin: 0;
}

.form_covid>p {
  width: 100%;
  color: var(--blanco);
  text-indent: 0;
}

.form_covid>label {
  width: 20%;
  padding: 5px;
  box-sizing: border-box;
  color: var(--blanco);
}

.form_covid>input, .form_covid>select {
  width: 80%;
  margin-bottom: 12px;
  padding: 5px;
  box-sizing: border-box;
}

.boton {
  max-width: 130px;
  margin: auto;
}

/*------------------------------- CLASES -------------------------------*/
.link {
  color: #c00000;
  text-decoration: none;
}

.oculto {
  display: none;
}

.lineas {
  width: 100%;
  padding-bottom: 2px;
  background: #fff;
  border-top: 2px #333f50 solid;
  border-bottom: 2px #c00000 solid;
}

.noticia {
  border-top: 1px solid #c00000;
}

.noticia p {
  font-size: 0.8em;
  text-align: justify;
}

.encuesta {
  width: 100%;
  max-width: 400px;
  margin: 10px auto 20px auto;
  text-align: center;
  border: 2px solid var(--azul);
  border-radius: 6px;
  background: var(--gris);
  cursor: pointer;
}

.encuesta>a {
  padding: 15px 0;
  display: block;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--rojo);
}

.encuesta>a:hover {
  color: var(--blanco);
}

.encuesta:hover {
  background: var(--rojo);
}

.box_somos {
  width: 46%;
  max-width: 460px;
  height: 220px;
  margin: 2%;
  color: #fff;
  background: #333f50;
  float: left;
  display: block;
}

.box_somos h2 {
  width: 100%;
  background: #333f50;
  text-align: center;
  letter-spacing: 0.8pt;
  margin: 0;
  padding: 15px 0 5px 0;
}

.box_somos div {
  height: 180px;
}

.box_somos p {
  margin: 0;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.azul {
  color: #333f50;
}

.titulos_s {
  padding: 3px 0;
  background: #333f50;
}

.industrias {
  margin: 0;
  width: 100%;
  height: auto;
  background: url("../images/industria.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
}

.industrias p {
  text-indent: 0;
}

.industrias div {
  display: flex;
  justify-content: space-between;
}

.industrias article {
  margin-top: 150px;
  padding: 0px 10px;
  box-sizing: border-box;
  width: 45%;
  background: rgba(255, 255, 255, 0.7);
}

.industrias article>h1 {
  color: #333f50;
}

.industrias article .derecha {
  text-align: right;
}

.bloque_industria {
  margin: 30px 0px;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.bloque_industria article {
  width: 32%;
  padding: 0;
  color: #fff;
  background: #333f50;
}

.bloque_industria article ul {
  margin: 0;
  padding: 10px 0;
}

.bloque_industria article li {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.valores {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

.vineta li {
  list-style: inside;
  list-style-image: url(../images/vineta.png);
}

.boton {
  padding: 5px 25px;
  text-align: center;
  text-decoration: none;
  font-size: 1.2em;
  background: #333f50;
  color: #fff;
}

/* ============================== RESPONSIVE ============================== */
/* Tablets en horizonal y escritorios normales
   ------------------------------------------------------------------------ */
@media (min-width: 768px) and (max-width: 1023px) {
  header {
    width: 100%;
  }

  section, aside {
    width: 96%;
    margin: 0;
  }

  article iframe {
    width: 400px;
    height: 225px;
    display: block;
    margin: 0 auto 10px auto;
  }

  #banner {
    width: 90%;
  }

  #banner img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .box_somos {
    width: 46%;
    height: auto;
    margin: 2%;
  }

  .box_somos div {
    height: auto;
  }

  #mapa iframe {
    width: 90%;
    height: 400px;
    margin: 0 5%;
  }

  article #contact {
    width: 80%;
    margin: 0 10%;
  }

  article #contact input, article #contact textarea {
    width: 350px;
  }

  article #contact #submit-button {
    margin: 15px 0 20px 50px;
  }

  article #contact #clear-button {
    margin: 15px 0 20px 50px;
  }
}

/* Móviles en horizontal o tablets en vertical
------------------------------------------------------------------------ */
@media (max-width: 767px) {
  .encabezado {
    background: #fff;
  }

  header {
    width: 100%;
    height: 150px;
    padding: 0 0 5px 0;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 100;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }

  header>a {
    width: 100%;
    margin: 0;
  }

  header>a>img {
    width: 80%;
    margin: 0 10%;
  }

  header .zona_contacto {
    width: 100%;
    height: 25px;
    top: 30px;
    display: block;
    position: relative;
  }

  header .zona_contacto ul {
    display: none;
  }

  .idioma {
    width: 100%;
    margin: 0 auto;
    font-size: 1.0em;
    text-align: center;
    padding: 5px 0;
    line-height: 1em;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    border: none;
    background: var(--gris);
  }

  .idioma>a {
    margin: auto;
    padding: 0 12%;
    display: block;
    text-align: center;
  }

  .content_menu {
    width: 100%;
    background: var(--azul);
  }

  .content_menu>nav {
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    background: var(--gris);
    position: absolute;
    z-index: 9999;
  }

  /* Hide the navigation menu by default */
  /* Also hide the  */
  .toggle+a, .menu {
    display: none;
  }

  /* Stylinf the toggle label */
  .toggle, nav>ul>li>a {
    width: 100%;
    display: block;
    background: var(--gris);
    padding: 15px 20px;
    margin: 0;
    color: var(--azul);
    text-decoration: none;
    border: none;
  }

  .toggle {
    background: var(--azul);
    color: var(--blanco);
  }

  nav>label, .menu {
    position: relative;
    top: 0px;
  }

  .toggle:hover, nav>ul>li>a:hover {
    background: var(--azul);
    color: var(--gris);
  }

  /* Display Dropdown when clicked on Parent Lable */
  [id^=drop]:checked+ul {
    display: inherit;
  }

  /* Change menu item's width to 100% */
  nav>ul>li {
    display: block;
    width: 100%;
  }

  nav>ul>li>a {
    line-height: 10px;
    margin: 0;
    padding: 26px 20px;
    border-bottom: 1px solid var(--azul);
  }

  nav>ul>li:last-child>a {
    border: none;
  }

  nav a:hover {
    background: #8bcce8;
  }

  #slider {
    width: 98%;
    padding-top: 130px;
  }

  #slider video {
    width: 50%;
    height: 50%;
  }

  #banner {
    margin: 0px auto;
    width: 96%;
    height: auto;
  }

  #banner img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-top: 20px;
  }

  .servicios, #somos {
    padding-top: 150px;
  }

  section img {
    width: 92%;
    height: auto;
  }

  section, aside {
    width: 96%;
    margin: 0;
  }

  article iframe {
    width: 450px;
    height: 254px;
    display: block;
    margin: 0 auto 5px auto;
  }

  aside {
    display: block;
    clear: both;
  }

  #somos {
    width: 96%;
    margin: 0 2%;
  }

  .box_somos {
    width: 96%;
    height: auto;
  }

  .box_somos div {
    height: auto;
  }

  #mapa iframe {
    width: 92%;
    height: 300px;
    margin: 0 4%;
  }

  #datos {
    width: 100%;
    margin: 0;
  }

  #somos article #contact {
    width: 100%;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }

  article #contact input, article #contact textarea {
    width: 300px;
  }

  article #contact #submit-button {
    margin: 15px 0% 20px 10%;
  }

  article #contact #clear-button {
    margin: 15px 0% 20px 10%;
  }
}

/* Móviles en vertical
------------------------------------------------------------------------ */
@media (max-width: 480px) {
  header {
    height: 130px;
  }

  header>a {
    width: 100%;
    margin: 0;
		padding: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  header>a>img {
    width: 80px;
    margin: 0 0 8px 0;
  }

  .content_menu nav {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--azul);
  }

	.contenedor{
		width: 100%;
		margin: 0 auto;
	}

  /* Hide the navigation menu by default */
  /* Also hide the  */
  .toggle+a, .menu {
    display: none;
  }

  /* Stylinf the toggle label */
  .toggle, nav ul li a {
    width: 100%;
    padding: 5px 20px;
  }

  nav>label, .menu {
    position: relative;
    top: 0px;
  }

  nav ul li a {
    line-height: 6px;
    padding: 20px 20px;
  }

  nav ul ul li a {
    padding: 16px 40px;
  }

  article iframe {
    width: 300px;
    height: 169px;
    display: block;
    margin: 0 auto 5px auto;
  }

  /* ==========================================================================
	C O V I D 19
	========================================================================== */
  .covid {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  .box_covid {
    width: 100%;
    min-width: auto;
    justify-content: center;
  }

  .box_covid>a {
    width: 80%;
  }

  .box_covid>a>h2 {
    font-size: 1.3em;
  }

  .texto_covid {
    width: 80%;
  }

  .texto_covid>h2, .form_covid>h2 {
    width: 50%;
    padding-bottom: 3px;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--blanco);
  }

  .pag_covid>h2 {
    width: 60%;
    padding-bottom: 3px;
    font-size: 1.5em;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--azul);
  }

  .pag_covid>p {
    font-size: 1em;
    text-indent: 0;
  }

  .form_covid {
    width: 98%;
  }

  .form_covid>h2 {
    width: 80%;
    font-weight: bold;
    font-size: 1.4em;
    margin: 0;
  }

  .form_covid>p {
    width: 100%;
    color: var(--blanco);
    text-indent: 0;
  }

  .form_covid>label {
    width: 25%;
  }

  .form_covid>input, .form_covid>select {
    width: 75%;
  }

  .boton {
    max-width: 130px;
    margin: auto;
  }

  .covid>h1 {
    margin-top: 80px;
    font-size: 2.3em;
    color: var(--rojo);
  }

  .covid>h2 {
    margin-top: 30px;
    font-size: 1.3em;
    color: #000;
  }
}
