@font-face {
	font-family: 'GeosansLight.ttf';
	src:url('../fonts1/GeosansLight.ttf');

}

* {
	padding:0;
	margin:0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}


.menu_bar {
	display:none;
}

.conm {
    width: 29px;

}

.content {
width: 100%;
max-width: 1000px;
padding: 0 50px 50px;
margin: 0 auto;
text-align: center;
background: rgba(255, 255, 255, 0.85);
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.48);
font-family: 'GeosansLight.ttf';
}

body {

background-image: url('fondo1.jpg');
background-repeat: repeat-y;
background-size: 100% 100%;
background-attachment: fixed;
}

header {
	width: 100%;
	height: auto;
	background:rgba(0, 0, 0, 0);
	position: fixed;
	z-index: 1000;
	font-family: 'GeosansLight.ttf';
	font-weight: bold;
}

header nav {
	background:rgba(0, 0, 0, 0.35);
	z-index:1000;
	max-width: 3000px;
	width: 90%;
	margin: 0 auto;
	-webkit-transition: margin-left  .5s;
}

header nav ul {

	list-style:none;
	text-align: center;
	padding: 0;
	margin: 0;
}

header nav ul li {
	display:inline-block;
	/*La razon por la que no usamos floar en vez de inline-block es
	porque no vamos a poder usar overflows en el header nav ul*/
	position: relative;
}

header nav ul li:hover .children {
	display: block;
}

/*Submenu*/
header nav ul li .children {
	background:rgba(0, 0, 0, 0.7);
	position: absolute;
	display: none;
	width: 150%;
	z-index: 1000;
}

header nav ul li .children li {
	display: block;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,.5);
	/*Usamos overflow hidden porque aqui si vamos a necesitar usar float*/
}

header nav ul li .children li a {
	display: block;
}

header nav ul .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right: 0px;
	margin-left:10px;
}

header nav ul li a {
	color:#fff;
	text-decoration: none;
	display: inline-block;
	padding:20px;
}

header nav ul li:hover {
	background:rgba(0, 0, 0, 0.7);
}

header nav ul li span {
	margin-right:10px;
}

header nav ul li .caret {
	position: relative;
	top: 3px;
	margin-left: 10px;
	margin-right: 0;
}

@media screen and (max-width:800px) {
	body {
		padding-top:80px;
	}

	header nav ul {
		text-align: left;

	}

	.menu_bar {
		width: 100%;
		background:#3C3C3C;
		display: block;
		position: fixed;
		top:0;
	}

	.menu_bar .bt-menu {
		display: block;
		padding: 20px;
		color:#fff;
		overflow: hidden;
		font-size:25px;
		font-weight:bold;
		text-decoration: none;
	}

	.menu_bar span {
		float: right;
		font-size: 40px;
	}
	header nav ul {
		background:rgba(0, 0, 0, 0.5);

	}
	header nav {
		width: 80%;
		height: calc(100% - 80px);
		right:100%;
		/*Con esto ocultamos el menu hacia la derecha, lo agregamos hasta el final*/
		margin: 0;
		position:fixed;
		overflow:scroll;
	}

	header nav ul li {
		display: block;
		border-bottom:1px solid rgba(255,255,255,.5);
	}

	header nav ul li a {
		display: block;
	}

	header nav ul li:hover .children{
		background: rgba(0, 0, 0, 0.35);
		display: none;
	}

	header nav ul li .children {
		width: 100%;
		position: relative;
		/*display: block;*/
	}

	header nav ul li .children li a{
		margin-left:20px;
	}

	header nav ul li .caret {
		float: right;
	}


}
