@charset "utf-8";
/* CSS Document */

/*  Reset for some default browser CSS - General */

body, div, h1, h2, h3, p, ul, ol, li, img, header, section, aside, footer, button {
	margin: 0; padding: 0; border: 0; list-style: none;
}

a {
	text-decoration: none;
	color: #961b25;
}

a:hover {
	color: #6f92a7;
}

:focus {
	outline: 0;
}

h1, h2, h3 {
	font-family: 'Lobster Two';
	/*font-family: Lobster Two, Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;*/ 
	font-weight: normal;
} 

h2 {
	font-size: 22px;
	line-height: 28px;
}

.float {
		float:left;
	}
	
body {
	background: #f6f6ee url(http://www.cimat.mx/~jvelasco/images/bck.jpg);
	font-family : "Trebuchet MS", "Helvetica Neue", Helvetica, Arial, sans-serif; 
	font-size: 12px;
	padding-top: 80px;
	height: 100%;
	}	

#wrapper {
    position: relative; 
    min-height: 100%;     
    height: auto !important;     
    height: 100%;     
    /* margin: 0 auto -60px;   el magin-bottom es el valor negativo de la altura del footer */ 
    margin-bottom: -50px;
}

/* Header */
	
header#site_head {
	background: url(http://www.cimat.mx/~jvelasco/images/bck_head.jpg);
	-moz-box-shadow: inset 0px -2px 3px #480508;
	-khtml-box-shadow: inset 0px -2px 3px #480508;				
	-webkit-box-shadow: inset 0px -2px 3px #480508;
	box-shadow: inset 0px -2px 3px #480508;
	border-bottom: 1px solid #fffffb;
	height: 70px;
	width: 100%;
	display: block;
	top: 0; /* Posicionamos la cabecera pegada arriba */
	position: fixed;	 
}

	.header_cont {
		width: 960px;
		margin: 0 auto;
		padding-top: 15px;
	}
	
	.header_cont h1 {
		text-indent:-9999px;
		float: left;
	}
	
	.header_cont h1 a {
		background: url(http://www.cimat.mx/~jvelasco/images/logos.png) no-repeat;
		width: 143px;
		height: 45px;
		display: block;
	}
	
	.header_cont h1 a:hover {
		background-position: 0px -46px;
	}
	
	nav.head_nav {
		float: right;
		margin-top: 13px;
	}
	
	nav.head_nav ul li {
		display: inline;
		margin: 0px 5px;
	}
	
	nav.head_nav ul li a {
		color: #f6f6ee;
		font-size: 12px;
		font-weight: normal;
		text-transform: lowercase;
		padding: 5px 8px;
	}
	
	/*
	nav.head_nav ul li.home a {
		background: #4f1d1e;
		-moz-border-radius: 10px;		
		-khtml-border-radius: 10px;				
		-webkit-border-radius: 10px;
		border-radius: 10px;
	} */

	nav.head_nav ul li.current a{
		background: #4f1d1e;
		-moz-border-radius: 10px;		
		-khtml-border-radius: 10px;				
		-webkit-border-radius: 10px;
		border-radius: 10px;
	}

	nav.head_nav ul li a:hover {
		text-shadow: 1px 1px 1px #2c0306;
		background: #4f1d1e;
		-moz-border-radius: 10px;
		-khtml-border-radius: 10px;
		-webkit-border-radius: 10px;
		border-radius: 10px;
		-moz-box-shadow: inset 0px 0px 2px #2c0306;
		-khtml-box-shadow: inset 0px 0px 2px #2c0306;
		-webkit-box-shadow: -1px -1px 2px #2c0306; /*-webkit- inset fix*/
		box-shadow: inset 0px 0px 2px #2c0306;
		color: #f6f6ee;
	}

	nav.head_nav ul li.rss, nav.head_nav ul li.twitter  {
		position: relative;
		left: -270px;
		margin: 0;
	}
	
	nav.head_nav ul li.rss a {
		color: #b4676c;
		border-right: 1px solid #903f43;
		margin: 0;
		padding-left: 20px;
		background: url(http://www.cimat.mx/~jvelasco/images/rss.png) left no-repeat;
		font-size:10px;
	}
	
	nav.head_nav ul li.twitter a {
		color: #b4676c;
		margin-left: 3px;
		padding-left: 20px;
		background: url(http://www.cimat.mx/~jvelasco/images/twitter.png) left no-repeat;
		font-size:10px;
	}
	
	nav.head_nav ul li.rss a:hover, nav.head_nav ul li.twitter a:hover  {
		color: #f6f6ee; 		
		-moz-border-radius: 0;
		-khtml-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
		-moz-box-shadow: none;
		-khtml-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	
/* Main container */	

#main_content {	
	width: 960px;
	margin: 0 auto;
	padding-top: 15px;
    padding-bottom: 150px;   /*  para el footer OJO*/
}


	/* Last posts section */	
		
	.section_tit {
		clear: both;
	}
	
	.section_tit h3 {
		background: url(http://www.cimat.mx/~jvelasco/images/line.png) no-repeat center center; 
		text-align: center;
		font-size: 34px;
		margin: 10px 0 25px 0;
		color: #c9c9c0;
		text-shadow: 1px 1px 0px #fff;
	}
	
	div.single_post {
		float: left;
		width: 447px;
		height: 345px;
		margin: 0 16px 35px 16px;
	}
	
		/* img {
			border: 5px solid rgb(255,255,255); 
			border: 5px solid rgba(255,255,255,0.75);
			-moz-border-radius: 5px;
			-khtml-border-radius: 5px;
			-webkit-box-border-radius: 5px;
			border-radius: 5px;
			-moz-box-shadow: 0px 0px 5px #c6c6bf;
			-khtml-box-shadow: 0px 0px 5px #c6c6bf;
			-webkit-box-shadow: 0px 0px 5px #c6c6bf;
			box-shadow: 0px 0px 5px #c6c6bf;
			box-shadow: 0px 0px 5px #c6c6bf;
		}*/


		img {
			border: 0px solid rgb(255,255,255); /*rgba ie fix*/
			border: 0px solid rgba(255,255,255,0.75);
			-moz-border-radius: 0px;
			-khtml-border-radius: 0px;
			-webkit-box-border-radius: 0px;
			border-radius: 0px;
			-moz-box-shadow: 0px 0px 0px #c6c6bf;
			-khtml-box-shadow: 0px 0px 0px #c6c6bf;
			-webkit-box-shadow: 0px 0px 0px #c6c6bf;
			box-shadow: 0px 0px 0px #c6c6bf;
		}

		div.single_post footer {
			color: #2b2b28;
			text-align:right;
			font-size: 10px;
		}

		div.single_post ul  {
			margin-top: 10px;
			border-right: 3px solid #dbdbd4;
		}
		
		div.single_post ul  li {
			padding: 1px 13px 1px 0px;
		}
		
		div.single_post ul  li a {
			font-weight: bold;
		}

		div.art {
			width: 250px;
			display: block;
			background: rgb(255,255,255); /*rgba ie fix*/
			background: rgba(255,255,255,0.75);
			border: 1px solid rgb(255,255,255); /*rgba ie fix*/
			-moz-border-radius: 10px;
			-khtml-border-radius: 10px;
			-webkit-border-radius: 10px;
			border-radius: 10px;
			border-radius: 10px;
			-moz-box-shadow: 0px 0px 5px #c6c6bf;
			-khtml-box-shadow: 0px 0px 5px #c6c6bf;
			-webkit-box-shadow: 0px 0px 5px #c6c6bf;
			box-shadow: 0px 0px 5px #c6c6bf;
			margin-left: 15px;
			overflow: auto;
			float:left;
		}
		
		div.art:hover {
			background: rgb(255,255,255); /*rgba ie fix*/
		}
		
		div.single_post header h2 {
			border-bottom: 1px solid #dbdbd4;			
			margin: 20px;
			padding-bottom: 20px;
			text-align: center;
		}
		
		div.single_post p, section#archive p {
			padding: 0 20px;
			font-size: 12px;
			line-height: 20px;
		}
		
		span.more, span.more_arch {
			float: right;
			margin: 30px 20px 30px 0px;
		}
		
		span.more a, span.more_arch a, .about_left ul li a {
			background: #8badc2;
			-moz-border-radius: 15px;			
			-khtml-border-radius: 15px;	
			-webkit-border-radius: 15px;	
			border-radius: 15px;	
			padding: 8px 12px;
			color: #fff;
			text-shadow: 1px 1px 1px #546d7c;
			-moz-box-shadow: inset 0px 0px 2px #3f5867;
			-khtml-box-shadow: inset 0px 0px 2px #3f5867;	
			-webkit-box-shadow: -1px -1px 2px #3f5867; /*-webkit- inset fix*/
			box-shadow: inset 0px 0px 2px #3f5867;				
		}
		
		span.more a:hover, span.more_arch a:hover, .about_left ul li a:hover {
			background: #b8ccd7;
			text-shadow: none;
			-moz-box-shadow: none;			
			-khtml-box-shadow: none;			
			-webkit-box-shadow: none;
			box-shadow: none;
			-webkit-box-shadow: -1px -1px 0px #8badc2; /*-webkit- inset fix*/
		}

#myCanvas, #myCanvas p {
    width: 960px;
    height: 465px;
    background-color: #f5f5f5;
    color: #555;
    text-align: center;
}

@font-face {
  font-family: 'Lobster Two';
  font-style: normal;
  font-weight: 400;
  src: local('Lobster Two'), local('LobsterTwo'), url(http://themes.googleusercontent.com/static/fonts/lobstertwo/v5/Law3VVulBOoxyKPkrNsAaIbN6UDyHWBl620a-IRfuBk.woff) format('woff');
}


/************
//-----------------------------
// PIE PÁGINA
//-----------------------------
************/


#main-footer {
	background: #38424b;
    /*background: #333; */
    color: white;
    text-align: center;
    padding: 20px; 
    margin-top: 40px; 
    height: 50px;
  /* height: 60px; */
    width: 100%; 
    position: absolute;  
    bottom: 0 !important;
    bottom: -1px;  
    left: 0;  
}

#main-footer p {
   margin: 0;
}
   
#main-footer a {
   color: white;
}

.clear{
   height: 50px;
   clear: both;
}

