/* CSS Document */

 
h1 {
  color: #6c2eb9;
  font-weight: normal;
  font-size: 35px;
  font-family: Eras Demi ITC;
  text-transform: none;
}
h2 {
  color: #49427B;
  font-weight: normal;
  font-size: 25px;
  font-family: Arial;
  text-transform: none;
}
h3 {
  color: #443963;
  font-weight: normal;
  font-size: 20px;
  font-family: Arial;
  text-transform: none;
}
h4 {
  color: #4f4866;
  font-weight: normal;
  font-size: 16px;
  font-family: Arial;
  text-transform: none;
}
h5 {
  color: #656172;
  font-weight: normal;
  font-size: 15px;
  font-family: Arial;
  text-transform: none;
}
 
.main {
	font-family:Arial, Helvetica, sans-serif;
	color:#666666;
	background:#fff;
	padding:20px;
 
	/*flex:1 1 70%;*/
	flex:1;
}
 
.main article {
	margin-bottom: 20px;
	padding-bottom:20px;
	border-bottom:1px solid #000;
		
}
 
.main article:nth-last-child(1){
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom:none;
}
 
aside {
		
		
		
		padding:10px;
		background:#FF6633
	/*FLEX*/
	/*flex:1 1 30%;*/
	flex:0 0 300px;
 
	display: flex;
	flex-wrap:wrap;
	flex-direction:column;
	justify-content:flex-start;
}
 
aside .widget {
	background:#FFFFFF;
	height:434px;
	margin:10px;
}
 
footer {
	font-family:Arial, Helvetica, sans-serif;
	background:#666666;
	width: 100%;
	padding:15px;
 
	/* Flex */
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
 
footer .links {
	background:#666666;
	display:flex;
	flex-wrap:wrap;
}
 
footer .links a {
	flex-grow:1;
 	color:#F0F0F0;
	padding:10px;
	text-align: center;
	text-decoration: none;
}
 
footer .links a:hover {
	background:#45aad8;
}
 
footer .social {
	background:#666666;
}
 
footer .social a {
	
	text-decoration: none;
	padding:10px;
	display: inline-block;
}

footer  .direccion {
		font-size:12px;
		color:#CCCCCC;
		padding:20px;
		text-align:CENTER;
		}
 

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

	body {
		padding-top: 70px;
		}
	.contenedor {
		flex-direction:column;
	}
 
	header {
		flex-direction:column;
		padding:0;
	}
 
	header .logo {
		margin:10px 0;
		font-size: 100%;
		
	}
	header .logo img{
	width: 0px;
	height: 0px;
		}
 
	.menu_bar {
		display:block;
		width:100%;
		position: fixed;
		top:0;
		background:#cdcdcd;
	}
 
	.menu_bar .bt-menu {
		display: block;
		padding: 10px;
		color: #fff;
		overflow: hidden;
		font-size: 25px;
		font-weight: bold;
		text-decoration: none;
	}
 
	.menu_bar span {
		float: left;
		font-size: 40px;
	}
 
	header nav {
		width: 50%;
		height: calc(100% - 50px);
		position: fixed;
		right:100%;
		margin: 0;
		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;
	}
 
	header nav ul li .children li a {
		margin-left:20px;
	}
 
	header nav ul li .caret {
		float: right;
	}
 
	aside {
		flex-direction:row;
		flex:0;
	}
 
	aside .widget {
		flex-grow:0;
	}
	header label {
		display: block;
		}
		
	aside {
		flex-direction:column;
	}
 
	footer {
		justify-content:space-around;
	}
}
