/* CSS Document */
*{
margin:0;
padding:0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing:border-box;

}
@font-face {
	font-family: 'ChibiFont';
	src:url('../fonts/chibifont.eot');
	src:url('../fonts/chibifont.eot') format('embedded-opentype'),
		url('../fonts/chibifont.woff') format('woff'),
		url('../fonts/chibifont.ttf') format('truetype'),
		url('../fonts/chibifont.svg') format('svg');
	
}
body{
	
	font-family:Verdana, Tahoma;
	font-weight:100;
	font-size:90%;
	width:100%;	
	margin:auto;
	
	}

h3{
	font-weight:800;
	
}

.bannertop {
	margin:auto;
	width:75%;
	/*vertical-align:top;*/
			
}
.celda {
	width:100%;
	
	}

.toplogo{
	width:80%;
	min-width:200px;
	
	}
.topnombre{
	width:50%;
	
	}

.topimg {
	width:40%;
	max-height:90%;
	}

header {
	margin-top:10px;
	width:110%;
	height:150px;
	overflow:hidden;
	position:relative;		
}
nav {
	top:-20px;
	position:absolute;
	left:0;
	right:0;
	margin:20px auto;
	max-width:1000px;
	width:90%;
	
}

nav ul {
	list-style:none;
	
}

nav > ul {
	display:table;
	width:100%;		
	position:relative;	
}

nav > ul li {
	display:table-cell;	
	
}

/*submenu*/
nav > ul > li:hover > ul{
	display:block;	
	height:100%;	
	}
	
nav > ul > li > ul {
	display:block;
	position:absolute;
	background:#FFFFEA;
	left:0;
	right:0;
	overflow:hidden;
	height:0%;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;	
}


nav > ul li a{
	font-family:ChibiFont;
	font-size:1.2em;
	font-weight:800;
	color:#000;
	display:block;
	line-height::20px;
	padding:20px;
	position:relative;
	text-align:center;
	text-decoration:none;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;	
}

nav > ul > li > ul > li a:hover{
	background:#5da5a2;
}

nav > ul > li > a span{
	background:#174459;
	display:block;
	height:100%;
	width:100%;
	left:0;
	position:absolute;
	top:-55px;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;	
}

nav > ul > li > a span .icon{
	display:block;
	line-height:60px;
}

nav > ul > li > a:hover > span{
	top:0;
	
}

/*Colores menu*/

nav ul li a .primero{
	background:#F5F183;
}

nav ul li a .segundo{
	background:#A3C53A;	
}

nav ul li a .tercero{
	background:#F47F20;	
}

nav ul li a .cuarto{
	background:#EFC32F;	
}

nav ul li a .quinto{
	background:#F5EB0F;	
}

.ajusteimg{
	width:100%;
	max-width: 100%;
    
	}

.ajusteslider{
	width:75%;
	margin:auto;
}
.ajusteslidertd{
	width:65.2%;
	}

.tablamid{
	max-width:350px;
	}
	
.tablamid tr td{
	
	
	}

.cintaempresa{
	background-image: url(../images/cintaempresa1.jpg);
	background-position: left bottom;
	
	height:300px;
    box-shadow: 2px 2px 5px #999;
	
}	

.ajustetablacinta{
	margin:0 0 0 15%;
	width:50%;
	max-width:500px;
	padding:50;
	}
	

.ajustetabla{
	margin:auto;
	width:75%;
	padding:50;
	}
	
	
.Titulo{ 
font-family:"ChibiFont";
font-weight:bold;
font-size:30px;
color: #F47F20;

		
}


.Titulo2{ 
font-family:"ChibiFont";
font-weight:bold;
font-size:24px;
color:#000;
		
}

.Titulo3{ 
font-family:"ChibiFont";
font-weight:bold;
font-size:22px;
color: #F47F20;
		
}



.anuncio{
	font-family:"ChibiFont";
	font-size:21px;
	font-weight:bold;
	color:#333;
	text-align:left;
}

.titulo2{ 
font-family:"ChibiFont";
font-size:20px;
font-weight:bold;
color:#F47F20;
text-align:left;

}

.font_normal{
	font-family:"Arial";
	font-size:1.2em;
	color:#333;
	text-align:left;
	
}

.banner1{
	background-image: url(../images/cintaempresa.jpg);
	background-position: left bottom;
	height: 400px;
	box-shadow: 3px 3px 5px #999;

}

.ajusteLH{
	width:75%;
	margin:auto;
	
	}


.tabla{
	 position:relative;      
                -webkit-box-shadow:0 0px 4px #777, 0 0 20px #CCC inset;
                -moz-box-shadow:0 0px 4px #777, 0 0 20px #CCC inset;
                box-shadow:0 0px 4px #777, 0 0 20px #CCC inset;
	
}

.cajon1{
	float:left;
	margin:0 0 0 17%;
	
	}
	
.cajon2{
	float:left;
	margin:0 0 0 10%;
	
	}

.cajon3{
	clear:both;
	margin:auto;
	
	}
.ajusteimagenslider{
	min-width:400px;
	max-width:500px;	
	}

#fondo_contacto1
{
	background:url(../images/backcontacto2.jpg);
	border-top-right-radius:20px;
    border-top-left-radius:20px;
	font-family:"Century Gothic";
	font-size:24px;
	color:#FFF;
}
#fondo_contacto3
{
	background:url(../images/backcontacto2.jpg);
	border-bottom-right-radius:20px;
    border-bottom-left-radius:20px;
	font-family:"Century Gothic";
	font-size:24px;
	color:#FFF;
}

#txt{
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	
}

#contacto_columna{
	width:150px;
	text-align:left;
	font-family:"Century Gothic";
	font-size:16px;			
}

#Contactenos_font{
	font-family:"Century Gothic";
	font-size:50px;
	font-weight:100;
	color:#43708F;
	
}

.image-container {
  width: 100%;
  height: 800px;
  border: 1px solid black;
  margin-bottom: 25px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}


.GaleriaContainer{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    
}

.GaleriaItem{
    margin: 0.1em;
    color: white;
    max-width:800px;
    
}

.GaleriaItem a{
    text-decoration: none;
}

.GaleriaItemN{
    margin: 0.1em;
    color: white;
    
}

.GaleriaItemN a{
    text-decoration: none;
}
