* {	
padding:0; 	
margin:0; 	
-webkit-box-sizing:border-box; 	
-moz-box-sizing:border-box; 	
box-sizing:border-box;
font-family: "Tahoma", Times, serif;
} 

@-ms-viewport{
  width: device-width;
}

body {background: #ffb876;
}

section {
	padding:10px;
}

.menu_bar {
	display:none;
}
header {
	width: 100%;
}
header nav {
	background:#ff7b00;
	z-index:1000;
	max-width: 1000px;
                /* display: flex;
                 justify-content: flex-end;*/
	width: 100%;	                  
                 margin:20px auto;
                 border:2px solid rgba(255,255,255, .3);
}
header nav ul {
                          
                         list-style:none;
          }
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:#0095b6;
	                  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:#E6344A;
}
header nav ul li span {
	margin-right:10px;
}
header nav ul li .caret {
	position: relative;
	top: 2px;
	margin-left: 10px;
	margin-right: 0;
}
@media screen and (max-width:800px) {
	body {
		padding-top:54px;
	}
	.menu_bar {
		width: 100%;
        
		background:#ff7b00;
                                     /*flex-direction: column;*/
		display: block;
		position: fixed;
		top:0;
	}
	.menu_bar .bt-menu {
		display: block;
		padding: 15px;
        color:#fff;
		overflow: hidden;
		font-size:20px;
		font-weight:bold;		                  
                                    text-decoration: none;
	}
	.menu_bar span {
		float: right;
		font-size: 20px;
	}
	header nav {
		width: 70%;
/*Con esto ocultamos el menu hacia la derecha, lo agregamos hasta el final*/
		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{
		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;
	}






}