
#principal {
	height:2000px;
	width: 1250px;
	margin: 0 auto;
	background-color: #F0F0F0;

}

#principal2 {
	height:500px;
	width: 1250px;
	margin-top:2000px;
	background-color: #00000;
}





#principal-contacto {
	height:680px;
	width: 1250px;
	margin: 0 auto;
	background-color: #F0F0F0;

}


#mantenimiento{
	height:2000px;
	width: 1250px;
	margin: 0 auto;
	background-color: #F0F0F0;
	        
	    }
	    
	    #preventivo{
	height:300px;
	width: 1250px;
	margin: 0 auto;
	background-color: #ffffff
	    }
	    
	    
#principal #menu_horiz {
	background-color: #f0f0f0;
	float: center;
	padding: 0px;
	width:1000px;
	height:56px;
}

#cabecera {
	height:170px;
	width: 1250px;
	background-image: url(../imagenes_meier/header-meier-ultimo.jpg);
	/*background-image: url(../imagenes_meier/header-meier-ultimo.jpg);*/
}

	/*codigos de header(inicio-nosotros-servicios-galeria-contacto)*/
	
	
	nav  {
    display: block;
    width: 100%;
   overflow: hidden;
}
	
nav ul {
	/*padding: .2em;*/
	float: left;
	list-style: none;
	background: #444;
	background: rgba(0,0,0,.2);
	border-radius: .5em;
	/*box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 2px 1px rgba(0,0,0,.8) inset;*/
	margin-top: 2px;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0;
	padding-left: 180px;
}

nav li {
	float: left;
}

nav a {
    float:left;
    padding: 1.4em 2.5em;
    text-decoration: none;
    color: #555;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    font: bold 0.8em/1 'trebuchet MS', Arial, Helvetica;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-width: 1px;
    border-style: solid;
    border-color: #fff #ccc #999 #eee;
    background: #c1c1c1;
    background: linear-gradient(#f5f5f5, #c1c1c1);            
 }
 nav a:hover, nav a:focus {
	outline: 0;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	background-color: #41413D;    background: linear-gradient(#cc0000, #990000);
	
}

nav a:active {
    box-shadow: 0 0 2px 2px rgba(0,0,0,.3) inset;
}
 
nav li:first-child a {
    border-left: 0;
    border-radius: 4px 0 0 4px;            
}

nav li:last-child a {
    border-right: 0;
    border-radius: 0 4px 4px 0;            
}

/*fin de header(inicio-nosotros-servicios-galeria-contacto)*/













/*body de la galeria*/


body{
	background: #4444;
	margin:0;
	font-family: monospace;
	
	height:1300px;
	
	
	
	
}

/*codigo css de la galeria*/

h1{
	color: #00333;
	text-align: center;
}


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

.galeria{
	width: 90%;
	height:90%;
	margin: auto;
	list-style: none;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.galeria li{

	margin: 5px;}

.galeria img{
	width: 250px;
	height: 150px;
}

.modal{
	display: none;
}

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

.modal h3 { 
color: #fff;
font-size: 30px;
text-align: center;
margin: 15px 0; }

.imagen {
	width: 100%;
	height:60%;
	display: flex;
	justify-content: center;
	align-items: center;

}

.imagen a {
	color: #fff;
	font-size:40px;
	text-decoration: none;
	margin: 0 10px;

}


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



.imagen img {
	width: 500px;
	height: 100%;
	max-width: 100%;
	border: 7px solid #fff;
	box-sizing: border-box;
}


.cerrar{

	display: block;
	background: #fff;
	width: 25px;
	height: 25px;
	margin: 15 px auto;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	color: #000;
	padding: 5px:
	border-radius: 50%;
	line-height: 25px;
}

/*fin del codigo css de la galeria*/
