*{
	margin: 0;
	padding: 0;
	box-sizing:border-box;
	font-family: 'Roboto Condensed', sans-serif;

}

@font-face{
  font-family: 'Cooper Black Regular';
  src:url(/fonts/cooper.ttf) format("truetype");
}

header{
	/*background: #2c3e50;*/
	background: #f8f8f8;
	width: 100%;

	padding-bottom: 0px;

	font-family: 'Roboto Condensed', Arial, serif; font-weight: 300; 
	overflow: visible;
	 z-index: 1001;
	 border-bottom: 10px solid rgba(0,0,0,.2);

	/*FlexBox*/
	display: flex;
	display: -webkit-flex;
	
	justify-content:space-between;
	align-items:center;

	flex-direction:column;
	flex-wrap:wrap;
}

header .logo{
	color: #1e1e1e;
	font-size: 25px;
	background: #fff;
	width: 100%;
	padding: 10px;
    
    display: flex;
    display: -webkit-flex;
	justify-content:space-around;
	align-items:center;

	flex-direction:row;
	flex-wrap:wrap;
}


header .logo img{
	width: 70px;
	vertical-align: top;
}

header .logo p{
	color: #1e1e1e;
	text-decoration:none;
	font-size: 30px;
	font-weight: 300;
	line-height: 50px; /* como la imagen mide 50px de alto sirve para que el texto se centre*/	
}

header nav{
	width: 50%;
	color: #fff;
	text-decoration: none;

	/*flex*/
	display:flex;
	display: -webkit-flex;
	flex-wrap:wrap;
	align-items:center; 
}

header nav a{
	background: #f8f8f8;
	color: #000;
	text-align: center;
	padding: 10px;
	font-size: 15px;
	text-decoration: none;

	/*flex*/
	flex-grow:1;
}

header nav a:hover{
	background: #d0d0d0;
	text-decoration: none;
	-webkit-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

header nav a:active{
	background: #d0d0d0;
}

.anuncio{
	width: 100%;
	/*FlexBox*/
	display: flex;
	display: -webkit-flex;
	display: -webkit-box;

	
	justify-content:center;
	align-items:center;

	flex-direction:column;
	flex-wrap:wrap;
}

.fotobg{
	width: 95%;
	height: 100%;
	padding-top: 30px;
}

.fontges{
	font-size:40px;
	font-family:'Cooper', italic;
}

.contenedor{	
	background: #FFF;
	width: 100%;
	height: 10%;
	margin: auto;
	font-family: calibri light;
	
	/*Flexbox*/
	display: flex;
	display: -webkit-flex;
	justify-content:center;
	flex-wrap:wrap;
	flex-direction:row;
}

.main{
	width: 95%;
	background: #fff;
	padding: 15px;
}

.videoy{

	width: 100%;
	height: 600px;
}

.enconstruccion{
	flex:70%; 
	padding: 50px;
	height: 100%;
	width: 100%;

}

aside{
	background:#FFF;
	padding:2.5%;
	width: 50%;
	/*FLEX*/
	display: flex;
	display: -webkit-flex;
	flex-wrap:wrap;
	justify-content:center;
	flex-direction:column;
}

.materialcard{
	background:#fff;
	padding:2.5%;
	width: 100%;
	height: 100%;
}

.medio{
	/*background: #121212;*/
	/*background: #169fe6;*/
	/*background: #dbdada;*/
	background-image: url(../images/f.jpg);
	background-size: 100% cover;
    padding: 40px 40px;
	width: 100%;
	text-align: center;

	/*Flexbox*/
	display: flex;
	display: -webkit-flex;
	justify-content:space-around;
	flex-wrap:wrap;
	flex-direction:row;
}
.transp{
	background: rgba(0,0,0,.5);
	padding: 40px 40px;
	width: 100%;


	/*Flexbox*/
	display: flex;
	display: -webkit-flex;
	justify-content:space-around;
	flex-wrap:wrap;
	flex-direction:row;
}


.dudas{
	background:rgba(255,255,255,.9); 
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	color: #000;
	padding: 15px;
	width:31%;
	text-align: center;

	transition: .5s ease;
 	-moz-transition: .5s ease; /* Firefox */
 	-webkit-transition: .5s ease; /* Chrome - Safari */
 	-o-transition: .5s ease; /* Opera */
}

.dudas:hover{
    background:rgba(255,255,255,1);
	color: #000;

	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);

    transform : scale(1.1);
	-moz-transform : scale(1.1); /* Firefox */
	-webkit-transform : scale(1.1); /* Chrome - Safari */
	-o-transform : scale(1.1); /* Opera */
	-ms-transform : scale(1.1); /* IE9 */

}

.ubicacion{
	padding: 15px;
	width:31%;
	background:rgba(255,255,255,.9); 
	color: #000;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	transition: .5s ease;
 	-moz-transition: .5s ease; /* Firefox */
 	-webkit-transition: .5s ease; /* Chrome - Safari */
 	-o-transition: .5s ease; /* Opera */
}

.ubicacion:hover{
	background:rgba(255,255,255,1); 
	color: #000;
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	transform : scale(1.1);
	-moz-transform : scale(1.1); /* Firefox */
	-webkit-transform : scale(1.1); /* Chrome - Safari */
	-o-transform : scale(1.1); /* Opera */
	-ms-transform : scale(1.1); /* IE9 */
}

.conactoinicio{
	padding: 15px;
	width:31%;
    background:rgba(255,255,255,.9); 
	color: #000;

	transition: .5s ease;
 	-moz-transition: .5s ease; /* Firefox */
 	-webkit-transition: .5s ease; /* Chrome - Safari */
 	-o-transition: .5s ease; /* Opera */
}

.conactoinicio:hover{
	background:rgba(255,255,255,1); 
	color: #000;

	transform : scale(1.1);
	-moz-transform : scale(1.1); /* Firefox */
	-webkit-transform : scale(1.1); /* Chrome - Safari */
	-o-transform : scale(1.1); /* Opera */
	-ms-transform : scale(1.1); /* IE9 */
}

.readon{
	background: rgba(98,191,254,.9);
	color: #FFF;
	text-decoration: none;
	padding: 10px;
	font-weight: 300; 
	text-align: center;

	-webkit-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

.readon:hover{
    background: #1eb2ff;
    color: #FFF;
    border-radius: 50px;	
}
.comollegar{
	width: 31%;
	background: #fff;
	padding:20px; 

	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	transition: .5s ease;
 	-moz-transition: .5s ease; /* Firefox */
 	-webkit-transition: .5s ease; /* Chrome - Safari */
 	-o-transition: .5s ease; /* Opera */

	display: flex;
	display: -webkit-flex;
	justify-content:center;
	flex-direction:column;
	flex-wrap:wrap;
}

.comollegar:hover{
	color: #000;
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	transform : scale(1.1);
	-moz-transform : scale(1.1); /* Firefox */
	-webkit-transform : scale(1.1); /* Chrome - Safari */
	-o-transform : scale(1.1); /* Opera */
	-ms-transform : scale(1.1); /* IE9 */
}

.comollegar .mapa{

   align-items:center;
   flex-wrap:wrap;
   width:100%;
   height:220px;
}

.telefonos{
	background:rgba(255,255,255,1); 
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	color: #000;
	padding: 15px;
	width:31%;
	margin-left: 25px;

	-webkit-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

.sinai{
	background:rgba(255,255,255,1); 
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	color: #000;
	padding: 22px;
	width:31%;

	-webkit-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

.prodcampechano{
	background:rgba(255,255,255,1); 
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	color: #000;
	padding: 15px;
	width:31%;

	-webkit-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

.copyright{
	width: 100%;
	margin-top: 10px;
	padding: 40px 40px;
	 background: #11273c;
	 text-align: left;
	 padding-left: 10px;

	 /*Flexbox*/
	display: flex;
	display: -webkit-flex;
	justify-content:space-around;
	flex-wrap:wrap;
	flex-direction:row;
}

footer{
	background: #0c1e2f;
	color: #FFF;
	padding: 10px;
	padding-bottom: 5px;
	text-align: left;
	font-weight: 300;

	/*Flexbox*/
	display: flex;
	display: -webkit-flex;
	justify-content:space-between;
	flex-wrap:wrap;
	flex-direction:row;
}

.socialnet{
	/*Flexbox*/
	display: flex;
	display: -webkit-flex;
	justify-content:flex-end;
	flex-wrap:wrap;
	flex-direction:row;
	padding:0px;
	color: #FFF;
}

.socialimage{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-left: 5px;
	margin-right: 5px;
    margin-bottom: -35px;
	transition: .5s ease;
 	-moz-transition: .5s ease; /* Firefox */
 	-webkit-transition: .5s ease; /* Chrome - Safari */
 	-o-transition: .5s ease; /* Opera */

}

.socialimage:hover{
	transform : scale(1.1);
	-moz-transform : scale(1.1); /* Firefox */
	-webkit-transform : scale(1.1); /* Chrome - Safari */
	-o-transform : scale(1.1); /* Opera */
	-ms-transform : scale(1.1); /* IE9 */
}

@media screen and (max-width: 800px){
	.contenedor{
		flex-direction:column;
		padding-top:190px;
	}

	.main{
		padding: 2.5%;
		width: 100%;
	}
	
	 .videoy{
    	width: 100%;
    	height: 340px;
    }

	.anuncio{
	width: 100%;
	height: 200px;
	padding-top: 2.5%;
        padding-left: 4%;
	}

	.fotobg{
	padding-top: 2.5%;
	}

	.enconstruccion{
			width: 100%;
	}

	.underc{
		width: 400px;
	}

	.copyright{
		justify-content:center;
		align-items:center;
		align-content:center;
	}

	.telefonos{
		width: 100%;
		margin-left: 30px;
	}
    .sinai{
    	margin-left: 30px;
    	width: 100%;
    }

   .prodcampechano{
   	width: 100%;
   	margin-left: 30px;
   }

	footer{
		padding-top: 15px;
		flex-direction:row;
	    justify-content:center;
	}

	header{
		flex-direction:column;
		padding: 0;
	}

	header .logo{
		margin: 0 0;
	}

	header .logo img{
	    width: 50px;
	}

	header nav{
		width: 100%;
	}

	header .logo p{
	font-size: 16px;
    }

	.dudas{
		width: 100%;
	}
    .ubicacion{
    	width: 100%;
    }
    .conactoinicio {
    	width: 100%;
    }

    .comollegar{
	width: 100%;
	background: #fff;
	padding:0;
    }

	.medio{
		flex-direction:column;
	}

	aside{
		width: 100%;
		flex-direction:row;
		align-items:center;
		flex:0;
	}

	aside .widget{
		flex-grow:1;
	}

	.socialimage{
		margin-bottom: -30px;
	}

	.socialnet{
		justify-content:center;
	}
}
/*para que al llegar a 800px la pantalla se hagan en colunas la estructura*/
@media screen and (max-width: 700px){
 .contenedor{
		flex-direction:column;
		padding-top:150px;
	}
}


@media screen and (max-width: 600px){

	.contenedor{
		flex-direction:column;
		padding-top:100px;
	}

	.main{
		padding-top: 0px;
	}
	 .videoy{
    	width: 100%;
    	height: 340px;
    }
	
		.fotobg{
	background-size: 150% 100%;
	}

	.contenedor{
		flex-direction:column;

	}

	aside{
		flex-direction:column;
	}

	footer{
		justify-content:center;
	}
}

@media screen and (max-width: 590px){
 	.contenedor{
		flex-direction:column;
		padding-top:100px;
	}

	.videoy{
    	width: 100%;
    	height: 240px;
    }
}

@media screen and (max-width: 500px){
 	.contenedor{
		flex-direction:column;
		padding-top:50px;
	}
}

@media screen and (max-width: 900px){
	

		.fotobg{
			background-size: 100% cover;
		}

       .contenedor{
		flex-direction:row;
	    }

		footer{
		justify-content:flex-start;
	    }

		.medio{
		flex-direction:row;
	    }

		.copyright{
		justify-content:center;
		flex-direction:row;
		}

		header{
		flex-direction:column;
		padding: 0;
		}

		header .logo{
	        width: 100%;
		}

		header nav{
		width: 100%;
		}

		.socialnet{
		justify-content:center;
		}

	
	}	
}

}
