*{
	padding: 0;
	margin: 0;
}
body,html{
	height: 100%;
	width: 100%;
	font-family: 'Fira Sans', sans-serif;
}

header nav{
	border-bottom: 3px solid #ccc;
	width: 100%;
	height: 50px;
	line-height: 50px;	
}
header nav .logo{
	font-weight: bold;
	float: left;
	font-size: 30px;
	text-align: center;
	width:40%;
	overflow: hidden;
}
header nav ul{
	float: right;
	height: 100%;
	width: 60%;
	font-size: 0;
}
nav:after{
	clear: both;
}
header nav ul li{
	display: inline-block;
}
header nav ul li a{
	color: black;
	display: block;
	padding: 0px 20px;
	font-size: 14px;
	text-decoration: none;
}
header nav ul li a:hover{
	border-bottom: 3px solid rgba(0,0,0,.9);
}
article{
	border-top:1px solid rgba(0,0,0,.4);
	font-size: 0;
	margin: 1%;
	width: 98%;

}
#qsoy{
	border: 0;
	height: 200px;
}
#qsoy .imagen{
	display: block;
	width: 300px;
	height: 100%;
	position: relative;
	margin: 0 auto;

}
#qsoy .imagen img{
	display: block;
	height: 100%;
	width: 100%;
	margin: 0 auto;
	position: relative;
}
#qsoy .imagen span{
	background: rgba(0,0,0,.7);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 100%;	
	font-size: 20px;
	text-align: center;
	line-height: 30px;
	font-weight: bold;
	color: #fff;
	min-height: 30px;
	margin: auto;
}
#qsoy .texto{
	width: calc(100% - 300px);
	height: 100%;
	overflow: hidden;
}
#qsoy .texto p{
	display: block;
	width: 90%;
	margin: 5%;
	font-size: 14px;

}

#qsoy > div{
	float: left;
}
#qsoy .texto:after{
	clear: both;
}
#galeria{
	height: 400px;
	position: relative;
	overflow: hidden;
}
#galeria div{
	width: 600px;
	height: calc(100% - 50px);
	display: block;
	margin: 0 auto 20px auto;
	position: relative;
	overflow: hidden;
}
#galeria #gobj,#galeria #gifram{
	display: none;
}
#galeria ul{
	height: 50px;
	line-height: 50px;
	text-align: center;
}
#galeria ul li{
	display: inline-block;
	font-size: 15px;
	color: black;
}
#galeria ul li:nth-child(1){
	padding: 0 40px;
	font-size: 17px;
}
#galeria ul li a{
	display: block;
	padding: 10px;
	cursor: pointer;

}
#galeria img,object,iframe{
	margin-bottom: 50px;
	width: 100%;
	height: 100%;
}
#mafic{
	height: auto;
	text-align: center;
}
#mafic p{
	height: 50px;
	line-height: 50px;
	font-size: 30px;
	width: 100%;
	text-align: center;
	overflow: hidden;
}
#mafic ul li{
	background: #ccc;
	border-radius: 3px;
	box-shadow: 7px 7px 5px rgba(0,0,0,.4);
	margin-left: 20px;
	margin-top: 20px;
	display: inline-block;
	overflow:hidden;

}
#mafic ul li span{
	background: rgba(0,0,0,.6);
	color: white;
	display: block;
	font-size: 17px;
	text-align: center;
	width: 100%;
}

#mafic ul li img{
	width: 98%;
	padding: 1%;
}
@media screen and (max-width: 1000px) {
	header nav .logo{
		font-size: 17px;
		width: 30%;
	}
	header nav ul{
		width: 70%;
		text-align: center;
	}

}
@media screen and (max-width: 735px){
	header nav .logo{
		display: none;
	}
	header nav ul{
		width: 100%;
		text-align: center;
	}
	#qsoy{
		height: 400px;
	}
	#qsoy > div{float: none}
	#qsoy .imagen{
		height: 50%;
	}
	#qsoy .texto{
		width: 100%;
	}
	#galeria #gobj,#galeria #gimagen{
		width: 100%;
		height: 100%;

	}
	#galeria #gifram{
		width: 100%;
		height: 85%;
	}

}

@media screen and (max-width: 378px){
	header nav ul{
		font-size: 14px;
	}
	#qsoy{
		height: 600px;
	}
	#qsoy .imagen{
	  height:30%;
	}
	#galeria{
		height: 250px;
	}
	#galeria #gifram{
		width: 100%;
		height: 80%;
	}
	#galeria ul li:nth-child(1){
	padding: 0 5px;
	font-size: 14px;
	}
	#mafic ul li{
	margin:0;
	}
}    