* {
	padding:0;
	margin:0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
 
body {background:#FEFEFE;}
 
.menu_bar {
	display:none;
}
 
header {
	width: 100%;
}
 
header nav {
	background:#b40000;
	z-index:1000;
	/*ocupar todo el ancho de la pantalla*/
	max-width: 100%;
	width:100%;
	text-align: center;
	margin-bottom: 0%;

}
 
header nav ul {
	list-style:none;
	width: 100%;
	margin-left: 0%;
}
 
header nav ul li {
	display:inline-block;
	position: relative;
	/*MARGEN PARA LOS BOTONES DE REFERENCIA*/
	margin-right: 2%;
}
 
header nav ul li:hover {
	background:#7b7b7b;
}
 
header nav ul li a {
	color:#fff;
	display:block;
	text-decoration:none;
	padding: 20px;
}
 
header nav ul li a span {
	margin-right:10px;
}
 
header nav ul li:hover .children {
	display:block;
}
 
header nav ul li .children {
	display: none;
	background:#b40000;
	position: absolute;
	width: 150%;
	z-index:1000;
}
 
header nav ul li .children li {
	display:block;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,.5);
}
 
header nav ul li .children li a {
	display: block;
}
 
header nav ul li .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right:0;
	margin-left:10px;
}
 
header nav ul li .caret {
	position: relative;
	top:3px;
	margin-left:10px;
	margin-right:0px;
}
 
@media screen and (max-width: 800px) {
	body {
		padding-top:80px;
	}
 
	.menu_bar {
		display:block;
		width:100%;
		position: fixed;
		top:0;
		background:#b40000;
	}
 
	.menu_bar .bt-menu {
		display: block;
		padding: 20px;
		color: #fff;
		overflow: hidden;
		font-size: 25px;
		font-weight: bold;
		text-decoration: none;
	}
 
	.menu_bar span {
		float: right;
		font-size: 40px;
	}
 
	header nav {
		width: 80%;
		height: calc(100% - 80px);
		position: absolute;
		right:100%;
		margin: 0;
		overflow: scroll;
	}
 
	header nav ul li {
		display: block;
		border-bottom:1px solid rgba(255,255,255,.5);
	}
 
	header nav ul li a {
		display: block;
	}
 
	header nav ul li:hover .children {
		display: none;
	}
 
	header nav ul li .children {
		width: 100%;
		position: relative;
	}
 
	header nav ul li .children li a {
		margin-left:20px;
	}
 
	header nav ul li .caret {
		float: right;
	}
}

	.header{
		color:#000000;
		font-family:masque;
		font-size: 1.5em;
	
	}

	.container {
		width:996px;
		margin:0px auto;
		font-size:1.2em;
		font-family: arial;	
	}	

	img{
		float: left;
	}
	
	p{
		font-family: arial;
	}

	/* este color es para ambos*/
	section,aside {
		padding: 10px;
		/*background:#222F69;
		color:#ccc;*/
		-moz-border-radius:0px;-webkit-border-radius:0px;-o-border-radius:0px;border-radius:0px;
	}
	
	b{
		text-align: center;
	}
	/*por separado tienen un tamaño y un tipo de letra*/
	
	/*CAMBIAR TAMAÑO DE LETRA DEL CONTENIDO DE LA PAGINA O BIEN HACER ALGUNA MODIFICACION*/
	/*section es la parte de texto*/
	section {
		float: left;
		width: 100%;
		color:#000;
		text-align: center;
		font-size: 1.5em;

	}
	/*ESTILO DEL INDEX*/
	.sectionindex{
		float: left;
		width: 100%;
		color:#000;
		text-align: center;
		font-size: 1.8em;
	}

	.se2 {
		float: right;
		width: 25%;
		color:#000;
		text-align: justify;
		background: #ccc;
		margin-left: -2px;
	}
	.se2 img{
		width: 100%;
	}
	aside {
		float: right;
		width: 25%;
		height: 100%;
		color:#000;
		background: white;
		font-size: 1.2em;
		font-family: arial;

		/*esta es la linea azul del borde*/
		/*border-left: 6px solid #222F69;*/
	}
	/*LINEA AMARILLA ENMEDIO DE SIDE*/
	aside img {
		width: 100%;
	}
	aside ul li a{
		color:rgb(34,47,105);
		font-size: 1.2em;
	}
	/*PIE DE PAGINA*/

	footer {
		width: 100%;
		text-align:center;
		clear:both;
		background:#b40000;
		color: white;
		font-family: arial;
	}
	footer img{
		width: 100%
	}
	footer section{
		width: 95%;
	}
 
	/* para 980px o menos */
	@media screen and (max-width:980px) {
		.container {
			width:98%;
		}
		section {
			width:68%;
		}
	}
 
	/* para 700px o menos */
	@media screen and (max-width:700px) {
		aside,section {
			float:none;
			width:96%;
		}
		nav, section {
			font-size:1.2em;
			display:block; width:100%;   /*primero considera móvil*/
		}
		aside {
			margin-top:5px;
		}
		
	}
 
	/* para 480px o menos */
	@media screen and (max-width:480px) {
		aside {
			display:none;
		}
		nav, section {
			font-size:1.5em;
			display:block; width:100%;   /*primero considera móvil*/
		}
		section {
			width:94%;
		}
		
	}

.sticky-container{
    padding:0px;
    margin:0px;
    position:fixed;
    right:-130px;
    top:230px;
    width:210px;
    z-index: 1100;
}
.sticky li{
    list-style-type:none;
	/*este es el color de fondo de los links*/
	background-color:#fff;
    color:#efefef;
    height:43px;
    padding:0px;
    margin:0px 0px 1px 0px;
    -webkit-transition:all 0.25s ease-in-out;
    -moz-transition:all 0.25s ease-in-out;
    -o-transition:all 0.25s ease-in-out;
    transition:all 0.25s ease-in-out;
    cursor:pointer;
}
.sticky li:hover{
    margin-left:-115px;
}
.sticky li img{
    float:left;
    margin:5px 4px;
    margin-right:5px;
}
.sticky li p{
    padding-top:5px;
    margin:0px;
    line-height:16px;
    font-size:11px;
}
.sticky li p a{
    text-decoration:none;
    color:#2C3539;
}
.sticky li p a:hover{
    text-decoration:underline;
}
.at{
	border:0;
	font-size:10px;
	font-family:arial;
	color:#000;
	/*POSICION DEL TRADUCTOR*/
	margin:0px 100px;

}

/****************************** inicio carrousel ****************************/
.carousel {
  position:top;
  border:10px;
  margin:20px auto;
  box-shadow:0px 0px 40px #000;
}
.carousel > img {
  display:none;
  width:100%;
}

.carousel > input {
  position:absolute;
  left:-9999px;
}
.carousel > input:checked + label + img {
  display:block;
}

.carousel > label,
.carousel > input:checked ~ label ~ label ~ label ~ label {
  display:none;
}
.carousel > input:checked + label {
  display:block;
  left:0;
}
.carousel > input:checked ~ label ~ label ~ label {
  display:block;
  right:0;
}

.carousel > label {
  position:absolute;
  top:0;
  width:25%;
  height:100%;
  visibility:hidden;
}
.carousel > label:before {
  content:'';
  display:block;
  position:absolute;
  width:100%;
  height:100%;
  visibility:visible;
}
.carousel > label:after {
  display:block;
  position:absolute;
  top:50%;
  width:25px;
  height:25px;
  line-height:22px;
  margin:-15px 10px 0 10px;
  background-color:black;
  color:white;
  font-family:Arial;
  font-weight:bold;
  font-size:18px;
  text-align:center;
  visibility:hidden;
  border:2px white;
  border-radius:20px;
  box-shadow:0 3px 4px black;
}
.carousel > label:hover:after {
  visibility:visible;
}

.carousel > input:checked + label:after {
  left:0;
  content:'\00AB';
}
.carousel > input:checked ~ label ~ label ~ label:after {
  right:0;
  content:'\00BB';
}
/***************************** fin carrousel ******************************/

/***************************** INICIO SLIDER ******************************/

.slider {
	width: 100%;
	margin: auto;
	overflow: hidden;
}

.slider ul {
	display: flex;
	padding: 0;
	/*ancho del slider*/
	width: 500%;
	animation: cambio 25s infinite alternate linear;
}
.slider2 ul{
	display: flex;
	padding: 0;
	/*ancho del slider*/
	width: 500%;
	animation: cambio 25s infinite alternate linear;
}
.slider4 ul{
	display: flex;
	padding: 0;
	/*ancho del slider depende de las imagenes*/
	width: 700%;
	animation: cambio 25s infinite alternate linear;
}

.slider2  li {
	list-style: none;
	width: 100%;
}

.slider li {
	width: 100%;
	list-style: none;
}
.slider4 li {
	width: 100%;
	list-style: none;
}
.slider2 img{
	width: 90%;
}

.slider img {
	width: 100%;

}
.slider4 img {
	width: 100%;

}

@keyframes cambio {
	0% {margin-left: 0%;}
	20% {margin-left: 0%;}
	
	25% {margin-left: -100%;}
	45% {margin-left: -100%;}

	50% {margin-left: -200%;}
	70% {margin-left: -200%;}
	
	75% {margin-left: -300%;}
	100% {margin-left: -300%;}

	
}
/***************************** FIN SLIDER ******************************/

.cordoba{
	width:100%;
	/*background-color: #6A737C;*/
	margin:1% 1%;
	color:black;
	font-size: 1.5em;
}

.div1{
	float: right;
}
.div2{
	float: left;
	margin-top: auto;
}
.abajo{
	
	background-color: #b40000;
}
.abajo a{
	text-decoration: none;
	font-size: 0.9em;
	margin:0% 4%;
	color: #F6B600;
	align-content: center;

}
.footer-top {
	background-color: #b40000;
	font-size: 1.2em;
	margin-top: : 15px;
	margin: : 15px;
	text-align: center;
}
.footer-top ul.navegacion {
	margin: 0;
	padding: 0;
	list-style-type: none;
	line-height: 100%;
	font-size: 0;
}

	.footer-top ul.navegacion li {
		margin-bottom: 15px;
	}

	.footer-top ul.navegacion li:last-child {
		margin-bottom: 0;
	}

	.footer-top ul.navegacion li a {
		margin: 0 30px;
		padding: 0;
		font-weight: 400;
		font-size: 14px;
		text-transform: uppercase;
		line-height: 100%;
		text-decoration: none;
		color: white;
		
	}

	@media (min-width: 768px) {
		.footer-top ul.navegacion li {
			margin-bottom: 0;
		}

		.footer-top ul.navegacion li {
			display: inline-block;
		}
	}


.por_columnas_cab {
	/*Definir número de columnas*/
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
	
    -webkit-column-gap: 0.5em; /* Chrome, Safari, Opera */
    -moz-column-gap: 0.5em; /* Firefox */
    column-gap: 0.5em;
	
	/*Definir ancho de línea de separación
	medium|thin|thick|valor en pixeles |initial|inherit
	*/
    -webkit-column-rule-width: thin; /* Chrome, Safari, Opera */
    -moz-column-rule-width: thin; /* Firefox */
    column-rule-width: thin;
	
	/*Definir estilo de línea de separación 
		none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit
	*/
    -webkit-column-rule-style: hidden; /* Chrome, Safari, Opera */
    -moz-column-rule-style: hidden; /* Firefox */
    column-rule-style: hidden;
}
/*Es posible que un elemento se expanda a lo ancho de varias columnas
	1|all|initial|inherit
*/
.slider3 {
	width: 100%;
	margin: auto;
	overflow: hidden;
}

.slider3 ul {
	display: flex;
	padding: 0;
	width: 400%;
	
	animation: cambio 20s infinite alternate linear;
}

.slider3 li {
	width: 100%;
	list-style: none;
}

.slider3 img {
	width: 100%;
}

@keyframes cambio {
	0% {margin-left: 0;}
	20% {margin-left: 0;}
	
	25% {margin-left: -100%;}
	45% {margin-left: -100%;}
	
	50% {margin-left: -200%;}
	70% {margin-left: -200%;}
	
	75% {margin-left: -300%;}
	100% {margin-left: -300%;}
}

/*Estilo del contacto*/

.borest{
	color: blue; 
	font-size: 1.5em;
	text-align: center;
	border-left: 3px solid #222F69; 
	border-top: 3px solid #222F69;
	border-right: 3px solid #222F69; 
	border-bottom: 3px solid #222F69;
	font-family: cambria;
}
.borp{
	color: #b40000; 
	font-size: 1.5em;
	
	/*border-left: 3px solid #222F69; 
	border-top: 3px solid #222F69;
	border-right: 3px solid #222F69; 
	border-bottom: 3px solid #222F69;
	*/
	font-family: cambria;	
}

.CONTACTO {
    background-color: #CE2329;
	font-size: 2em;
    text-align: center;
    color: white;
}

form{
    width: 450px;
    margin: auto;
    box-sizing: border-box;
    margin-top: 5px;
    border-radius: 7px;
}

input, textarea {
      width: 100%;
      margin-bottom: 10px;
      padding: 7px;
      box-sizing: border-box;
      font-size: 17px;
  }

  textarea {
    min-height: 115px;
    max-height: 115px;
    min-width: 100%;
    max-width: 100%;
  }

  #boton {
      background: #B3B4B6;
      color: black;
      border: none;
  }

  #boton:hover {
      cursor: pointer;
  }

  @media (max-width:480px) {
      form{
          width: 100%;
      }
  }
  
  .lista {
    padding: 10px;
    margin: 10px;
    display: inline-block;
    color: black;
    font-size: 1em;
  }
  
  
  
  
  
  /*Estilo de la galeria fotografica*/
  .footer2 {
    background-color: #CE2329;
	font-size: 1.2em;
    text-align: center;
}
  
  .hijo {
    padding: 4px;
    margin: 4px;
    display: inline-block;
    color:#B3B4B6;
  }

 
  .HISTORIAL {
    background-color: #CE2329;
	font-size: 2em;
    text-align: center;
    color: white;
}

  .texto {
	font-size: 1.2em;
    text-align: center;
    color: black;
}

.galeria {
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeria img {
width: 160px;
height: 110px;
border: 3px solid #555555;
object-fit: cover;
border-radius: 10px;
}

.galeria li {
    margin: 5px;
}

.modal {
    display: none;
}

.modal:target { 
    display: block;
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.imagena {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagena a {
    color: white;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
}

.imagena a:nth-child(2) {
    margin: 0;
    height: 100%;
    flex-shrink: 2;
}

.imagena img {
    width: 500px;
    height: 100%;
    max-width: 100%;
    border: 7px solid white;
    box-sizing: border-box;
    border-radius: 15px;
}

.cerrar {
    display: block;
    background: white;
    width: 25px;
    height: 25px;
    margin: 15px auto;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    color: black;
    padding: 5px;
    border-radius: 50%;
    line-height: 25px;
}

.barrabus {
    background-color: #CE2329;
	font-size: 1em;
    text-align: center;
    border: 3px solid black;
}

.nav {
    width: 1000px;
    background: #CE2329;
    display: inline-block;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.menu > li {
    position: relative;
display: inline-block;
}

.menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
}

.menu li a:hover{
    color: black;
    transition: all .3s;
}

.mas {
    position: absolute;
    background: grey;
    width: 200%;
    display: none;
    border: 3px solid black;
}

.mas li a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
}

.menu li:hover .mas {
    display: block;
    transition: all .3s;
}

img{
    transition: all .3s ease;
}

.galeria li img:hover{
transform: scale(.89);
}

/*Clientes*/

.galeriac {
    width: 90%;
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeriac img {
width: 250px;
height: 200px;
border: 3px solid black;
border-radius: 10px;
}

.galeriac li {
    margin: 5px;
    display: inline-flex;
}

.imagen-autoajustable {
  max-width: 100%; /* La imagen nunca será más ancha que su contenedor */
  height: auto;    /* La altura se ajustará automáticamente para mantener la proporción */
  display: block;  /* Esto puede ayudar a que la imagen se comporte como un bloque */
}

.contenedor-imagen {
  width: 300px; /* El ancho de tu contenedor */
  height: 200px; /* El alto de tu contenedor */
  overflow: hidden; /* Esto oculta las partes de la imagen que no caben */
}

.imagen-adaptable {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Opcional: 'cover', 'contain', 'fill', 'scale-down' */
}

  
  
