body, html {

	width: 100%;
	margin: 0px;
	padding: 0px;
	
	font-family: 'Tangerine', serif;
 font-size: 18px;
 text-shadow: 3px 3px 3px #aaa;
}

.css-selector {
 font-family: 'Font Name', serif;
}

 header {
   position:fixed;
	display: block;
	left:0px;
		width:100%;
	background: #FC6;
	text-align:center;
	text-decoration:none;

}

  ul {
 list-style-type: none;
 margin: 0;
 padding: 0;
 overflow: hidden;
 background-color: #333;
}

li {
 float: left;
}

li a {
 display: block;
 color: white;
 text-align: center;
 padding: 14px 16px;
 text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover { background-color: green;

} 
.active {
 background-color: #4CAF50;
}


#main {
 
   top:10px;
   display: -webkit-flex;
   display: flex;
   flex-flow: row; 

  

}

#main article {
	background: #CFC;
	flex: 3 1 60%;
	order: 2;
	height:1000px;
	margin-top:50px;


}
#main nav {
	background: #CCF;
	flex: 1 6 20%;
	order: 1;
	margin-top:50px;
	height:1000px;
}
#main aside {
	background: #CCF;
	flex: 1 6 20%;
	order: 3;
	height:1000px;
		margin-top:50px;

}

.vertical{
  height:100%;
  margin-top:45px;
  
  }
  .horizontal{
  width:100%;
  height:100%;
  margin-top:45px;
  
  }
  .caja{
	background-color: #F00;
	padding: 5px;
}
.caja .centro {
	width: 60%;
	background-color: #FF9;
	float: left;
}
.caja .izq {
	width: 20%;
	float: left;
	background-color: #CFC;
}
.caja .dcha {
	width: 20%;
	background-color: #CCF;
	float: left;
}
.clear {
	clear: both;
}

.muestra {
	height: 100%;
	width: 100%;
	background-color: #FF9;
	float: left;
	margin-top:45px;
	}
.img {
	float: left;
	padding: 4px;
	margin-left:14px;
	margin-bottom: 5px;
	
   box-shadow:6px 6px 3px #888888;
   
  max-width: 100%;
	height: auto;
}


.im {
	float: left;
	padding: 4px;
	margin-left:14px;
	margin-bottom: 5px;	
   box-shadow:6px 6px 3px #888888;
   
  max-width: 100%;

}

.anterior {
	height: 100px;
	width: 17%;
	float: left;
	background-color: #CFC;
}
.posterior {
	height: 50px;
	width: 80%;
	background-color: #CCF;
	clear: both;
}




footer {
 position:relative;
   left:0px;   
   width:100%;
   background:#999;
   text-align:center;
   height:40px;
  

}


@media \0screen {
  img { 
  	width: auto; /* for ie 8 */
  }
}

