/* This theme was made by DORIEF - http://dorief.tumblr.com */

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

	.avatar{
		display: none;
	}
	
	#nav{
		width: 100%;
		height: 120px;
		min-height: 120px;
		float: none;
		clear: both;
		position: static;
		text-align: center;
		}
	
	#nav ul{
		display: inline-block;
		width: 100%;
		height: 50px;
		margin: 0 auto;
	}
	#nav ul li{
		border-bottom: none;
		margin-right: 5%;
		padding-top: 16px;
		display: inline-block;
	}
	
	#nav ul li:hover{
		background: none;
	}
	
	#nav ul li a{
		display: block;
	}
	
	#nav ul li a:hover{
		text-decoration: underline;
	}
	
	.blogtitle{
		font-size: 42px;
		padding-top: 6px;
	}
	
	#contenido{
		left: 0;
		width: auto;
	}
	
	.pages{
		font-size: 1.3em;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {


	.avatar{
		display: none;
	}
	
	#nav{
		width: 100%;
		height: 120px;
		min-height: 120px;
		float: none;
		clear: both;
		position: static;
		text-align: center;
		}
	
	#nav ul{
		margin-top: 15px;
		display: inline-block;
		width: 80%;
		height: 50px;
		margin: 0 auto;
	}
	#nav ul li{
		border-bottom: none;
		margin-right: 5%;
		padding-top: 16px;
		display: inline-block;
	}
	
	#nav ul li:hover{
		background: none;
	}
	
	#nav ul li a{
		display: block;
	}
	
	#nav ul li a:hover{
		text-decoration: underline;
	}
	
	.blogtitle{
		font-size: 42px;
		padding-top: 6px;
	}
	
	#contenido{
		left: 0;
		width: auto;
	}
	
	.pages{
		font-size: 1.3em;
	}
}

@media only screen and (max-width: 600px){
	#nav{
		margin-bottom: 5px;
		box-shadow: none;
		display: block;
		height: 34px;
		min-height: 34px;
		}

	#nav a{display: inline-block;}

	#nav ul{
		display: none;
		width: 100% !important;
		height: auto;
		position: absolute !important;
		top: 35px !important;
		right: 0 !important;
		background-color: rgba(255,255,255,0.92);

	}

	#nav ul li {
		display: block;
		margin: 0;
		padding: 6px 0 6px 0;
	}
	
	#nav ul li a{
		width: 100%;
		color: #232323;

	}
	
	#nav ul li a:hover{
		text-decoration: none;
		background-color: rgba(10,130,121,0.92);

		}

	.blogtitle{
		float: left;
		margin: 5px 0 8px 10px;
		font-size: 20px;
		text-align: left;
		font-weight: 300;
		padding: 0;
		text-shadow: none !important;
	}
	
	.nav-btn{
		position: absolute; 
		top: 8px;
		right: 15px;
		font-size: 18px;
		cursor: pointer;
		font-weight: 400;
		float: none !important;
		margin: 0 !important;
	}

	.nav-btn:before{content: "Menu";}
		
	#contenido{position: inherit;}
	
	.posts{
	margin-top: 15px;
	padding-top: 0;
	position: inherit;
	max-width: 98%;
	}
}
@media only screen and (max-device-width: 600px){
	#nav{
		margin-bottom: 5px;
		box-shadow: none;
		display: block;
		height: 34px;
		min-height: 34px;
		border-bottom: 1px solid #6ea7b4 !important;
		}

	#nav a{display: inline-block;}

	#nav ul{
		display: none;
		width: 100% !important;
		height: auto;
		position: absolute !important;
		top: 35px !important;
		right: 0 !important;
		background-color: rgba(255,255,255,0.92);

	}

	#nav ul li {
		display: block;
		margin: 0;
		padding: 6px 0 6px 0;
	}
	
	#nav ul li a{
		width: 100%;
		color: #232323;

	}
	
	#nav ul li a:hover{
		text-decoration: none;
		background-color: rgba(255,255,255,0.96);

		}

	.blogtitle{
		float: left;
		margin: 5px 0 8px 10px;
		font-size: 20px;
		text-align: left;
		font-weight: 300;
		padding: 0;
		text-shadow: none !important;
	}
	
	.nav-btn{
		position: absolute; 
		top: 6px;
		right: 15px;
		font-size: 18px;
		color: #fff;
		cursor: pointer;
		font-weight: 400;
		float: none !important;
		margin: 0 !important;
	}

	.nav-btn:before{content: "Menu";}
		
	#contenido{position: inherit;}
	
	.posts{
	margin-top: 15px;
	padding-top: 0;
	position: inherit;
	max-width: 98%;
	}
}