@charset "utf-8";

*{
margin:0px;
padding:0px;	
box-sizing: border-box;	
}

body{
	font-family:Verdana;
	background-image: url(../images/BackGround.jpg);
    background-size:auto;
}

header{
 position:fixed; 	
 width:100%;
 background:rgba(255,255,255,0.5);	
 color:#ffff;
 height:50px;
 top:0;
 left:0;
 z-index:100;
 box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
}

.cabezera{
 width:90%;
 margin: auto;
}

#mbar{
 display:none;
}

header img{
	margin: 5px;
	height:auto;
	max-height: 50px;
	width:15%;
	float:left;
}

header label{
	margin:6px 3px;
	font-size:23px;
	float:right;
	cursor:pointer;
	border-radius: 5px;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}

.menu{
	top:55px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	left:0;
	position:absolute;
	width:75%;
	background:rgba(255,255,255,.9);
	transition: all 0.5s;
	transform: translateX(-100%);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.6);
}

#mbar:checked ~ .menu{
    transform: translateX(0%);
}

.menu li{
	list-style: none;
	padding:20px 0px;
	border-bottom: 1px solid #1B2070;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

.menu a{
	color:#1B2070;
	text-decoration: none;
	padding:5px 15px;
}

.menu li:hover{
	background-color:rgba(95,183,74,0.3);
}

.menu li:hover a{
	color:brown;
}

.menu ul ul{
	display:none;
	border-radius:10px;
	width:100%;
	margin:0px;
	background:rgba(255,255,255,.9);
}

.menu ul li:hover> ul{
	display:block;
    
}

#submenu li a{
	color:#1B2070;
}

#submenu li:hover{
	background:rgba(75,103,127,0.4);
}

#submenu li:hover a{
	color:brown;
}

main{
	width: 100%;
	margin-top:57px;
	justify-content: center;
}

section{
	position: relative;
	margin:0px 8px;
	padding: 0px 8px;
	width:96%;
	background-color: rgba(255,255,255,0.7);
}

footer{
position:relative;
width: 100%;
background: white;	
}

.footer{
margin:0px 10px;	
Justify-content: center;	
}

.footer div {
width: 50%;	
padding-top:10px;
}

.footer div li{
list-style: none;
text-decoration: underline;
padding: 3px;	
font-size: 2vw;
color: #1B2070;
}

.footer  div li a{
text-decoration: underline;
font-size:2vw;
color: #1B2070;
}

.footer  div h3{
color: #1B2070;
list-style: none;
font-size: 2.5vw;
}

#aliados li{
text-decoration: none;
}

#firma{
width:auto;
display: flex;
justify-content: center;
background-color: white;
font-size: 2.5vw;
color: #1B2070;
}

#punteros li:hover{
cursor: pointer;
}

@media screen and (min-width:450px){
	
	header{
	height:100px;
	}
	
	header img{
	max-height:100px;
	}
	
	header label{
	margin:2% 3px;
	}
	
	.menu{
	top:105px;
	width:50%;
	}
	
	main{
	margin-top:107px;
	}
	
	section{
	margin:0px 10vw;
	padding:0px 15px;	
	width:80%;
	}

	.footer{
	margin:0px 5%;	
	display: flex;	
	}

	.footer div {
	margin-left:7%;	
	width:30%;	
	}

	.footer div li{
	padding:2px;	
	font-size:1.2vw;
	}

	.footer  div li a{
	font-size:1.2vw;

	}

	.footer  div h3{
	font-size: 1.5vw;
	}

	#firma{
	font-size: 1.5vw;
	}

}

@media screen and (min-width:1400px){
	
	header{
		 position:absolute; 	
		 width:100%;
		 background:rgba(255,255,255,0);	
		 height:250px;
		 z-index:100;
		 box-shadow: 0px 0px 5px 0px rgba(0,0,0,0);
	}

	.cabezera{
	 	width:60%;
	}

	header img{
		position: absolute;
		left:45%;
		magin:0px;
		width:auto;
		height:auto;
		max-height:300px;
		max-width:300px;
		float:none;
	}

	header label{
		display:none;
	}

	.menu{
		top:200px;
		border-radius: 10px;
		left:23%;
		width:auto;
		transform:none;
		background: none;
		box-shadow: 0px 0px 5px 0px rgba(0,0,0,0);
    }

	.menu ul li{
		margin-right:50px;
		padding:2px 10px;
		border-bottom:none;
		border-radius: 10px;
		background:rgba(255,255,255,0.9);
		box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	}

	.menu a{
		padding:0px;
		font-size:1.2vw;
		font-weight:bold;
	}

	.menu ul {
		display:flex;
		background:none;
	}
	
	#submenu li{
		width:100%;
		border-radius:0px;
		background: none;
		box-shadow: 0px 0px 5px 0px rgba(0,0,0,0);
	}
	
	.menu ul ul{
		display:none;
		right:45%;
		position:absolute;
		border-radius:10px;
		width:auto;
		margin:5px -5px;
		box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.0);
	}

	main{
		width: 100%;
		margin-top:250px;
		justify-content:center;
		z-index:150;
	}

	section{
		margin:0px 20%;
		padding:0px 8px;
		width:60%;
	}

	footer{
		position:absolute;
		width: 100%;
		background: white;	
	}

	.footer div li{
	padding:1px;	
	font-size:1vw;
	}

	.footer  div li a{
	font-size:1vw;

	}

	.footer  div h3{
	font-size: 1.2vw;
	}

	#firma{
	font-size: 1.2vw;
	}

}


