/*
	Nombre: ALFASA HTML5
	Fecha: Octubre 2013
	Descripción: Sitio web para ALFASA.
	Version: 1.0
	Autor: ALFASA
	
*/
  
/* Body */
	body {
		background: #F5F4EF url('../images/fondo_alfasa.png') repeat-x;
		color: #000305;
		font-size: 91.5%; /* Base font size: 14px */
		font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
		line-height: 1.429;
		margin: 0;
		padding: 0;
		text-align: left;
	}
 
/* Headings */
h2 {font-size: 1.671em}	/* 22px */
h3 {font-size: 1.529em}	/* 20px */
h4 {font-size: 1.386em}	/* 18px */
h5 {font-size: 1.243em}	/* 16px */
h6 {font-size: 1em}	/* 14px */
 
h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}
 
/* Anchors-Links */
a {outline: 0;}
a img {border: 0px; text-decoration: none;}
a:link, a:visited {
	color: #C74350;
	padding: 0 1px;
	text-decoration: underline;
}
a:hover, a:active {
	background-color: #C42737;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 1px #333;
}
 
/* Paragraphs */
p {margin-bottom: 1.143em;}
* p:last-child {margin-bottom: 0;}
 
strong, b {font-weight: bold;}
em, i {font-style: italic;}
 
::-moz-selection {background: #F6CF74; color: #fff;}
::selection {background: #F6CF74; color: #fff;}
 
/* Lists */
ul {
	list-style: outside disc;
	margin: 1em 0 1.5em 1.5em;
}
 
ol {
	list-style: outside decimal;
	margin: 1em 0 1.5em 1.5em;
}

.blog_content {
	list-style: outside decimal;
	margin: 1em 0 1.5em 1.5em;
	float:left;
}

.blog_conti {
	list-style: none;
	margin: 1em 7em 1.5em 1.5em;
	float:right;
}
 
dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}
 
/* Quotes */
blockquote {font-style: italic;}
cite {}
 
q {}
 
/* Tables */
table {margin: .5em auto 1.5em auto; width: 98%;}
 
	/* Thead */
	thead th {padding: .5em .4em; text-align: left;}
	thead td {}
 
	/* Tbody */
	tbody td {padding: .5em .4em;}
	tbody th {}
 
	tbody .alt td {}
	tbody .alt th {}
 
	/* Tfoot */
	tfoot th {}
	tfoot td {}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/***** Layout *****/
.body {clear: both; margin: 0 auto; width: 800px;}
.body2 {margin: 0 auto; width: 700px;}
img.right figure.right {float: right; margin: 0 0 2em 2em;}
img.left, figure.left {float: right; margin: 0 0 2em 2em;}

/* Header */
#banner {
	margin: 0 auto;
	padding: 2.5em 0 0 0;
}
 
	 Banner-logo
	#banner h1 {font-size: 3.571em; line-height: .6;}
	#banner h1 a:link, #banner h1 a:visited {
		color: #000305;
		display: block;
		font-weight: bold;
		margin: 0 0 .6em .2em;
		text-decoration: none;
		width: 427px;
	}
	#banner h1 a:hover, #banner h1 a:active {
		background: none;
		color: #C74350;
		text-shadow: none;
	}
 
	#banner h1 strong {font-size: 0.36em; font-weight: normal;}

/* Main Nav */
	#banner nav {
		background: #000305;
		font-size: 1.343em;
		height: 40px;
		line-height: 30px;
		margin: 0 auto 1em auto;
		padding: 0;
		text-align: center;
		width: 830px;
		
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		-o-border-radius: 5px;
		-ms-border-radius: 5px;
	}
	
	#banner nav ul {list-style: none; margin: 0 auto; width: 800px;}
	#banner nav li {float: left; display: inline; margin: 0;}
	
	#banner nav a:link, #banner nav a:visited {
		color: #fff;
		display: inline-block;
		height: 30px;
		padding: 5px 1.5em;
		text-decoration: none;
	}
	#banner nav a:hover, #banner nav a:active,
	#banner nav .active a:link, #banner nav .active a:visited {
		background: #C42737;
		color: #fff;
		text-shadow: none !important;
	}
	
/* Featured */
#featured {
	background: #fff;
	margin-bottom: 2em;
	text-align: justify;
	overflow: hidden;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 30px;
	width: 750px;
	
	box-shadow: 0px 5px 5px #d5d5d5;
	-moz-box-shadow: 0px 5px 5px #d5d5d5;
	-o-box-shadow: 0px 5px 5px #d5d5d5;
	-webkit-box-shadow: 0px 5px 5px #d5d5d5;
	-ms-box-shadow: 0px 5px 5px #d5d5d5;
 
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
}

#featured2 {
	background: #C42737;
	margin-bottom: 1em;
	text-align: justify;
	overflow: hidden;
	padding: 10px;
	width: 700px;
	
	box-shadow: 0px 3px 3px #888;
	-moz-box-shadow: 0px 3px 3px #888;
	-o-box-shadow: 0px 3px 3px #888;
	-webkit-box-shadow: 0px 3px 3px #888;
	-ms-box-shadow: 0px 3px 3px #888;
 
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
}
 
#featured figure {
	border: 2px solid #eee;
	float: right;
	margin: 0.786em 2em 0 2.6em;
}
#featured figure img {display: block; float: right;}
 
#featured h2 {color: #C42737; font-size: 1.714em; margin-bottom: 0.333em; text-shadow: 1px 1px #888; -moz-text-shadow: 1px 1px #888; -webkit-text-shadow: 1px 1px #888; -o-text-shadow: 1px 1px #888;}
#featured2 h2 {color: #fff; font-size: 1.714em; margin-bottom: 0.2em; text-shadow: 1px 1px #888; -moz-text-shadow: 1px 1px #888; -webkit-text-shadow: 1px 1px #888; -o-text-shadow: 1px 1px #888;}
#featured h3 {font-size: 1.529em; margin-bottom: .5em;}
 
#featured h3 a:link, #featured h3 a:visited {color: #000305; text-decoration: none;}
#featured h3 a:hover, #featured h3 a:active {color: #fff;}
 
/* Body Noticias */
#content {
	background: #fff;
	margin-bottom: 2em;
	text-align: justify;
	overflow: hidden;
	padding: 30px 20px;
	width: 750px;
	
	box-shadow: 0px 5px 5px #d5d5d5;
	-moz-box-shadow: 0px 5px 5px #d5d5d5;
	-o-box-shadow: 0px 5px 5px #d5d5d5;
	-webkit-box-shadow: 0px 5px 5px #d5d5d5;
	-ms-box-shadow: 0px 5px 5px #d5d5d5;
 
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
}

/* Extras */
#extras {margin: 0 auto 3em auto; overflow: hidden;}
 
#extras ul {list-style: none; margin: 0;}
#extras li {border-bottom: 1px solid #fff;}
#extras h2 {
	background-color: #C42737;
	height: 20px;
	width: 780px;
	color: #ffffff;
	font-size: 1.529em;
	margin-bottom: 1em;
	padding: 10px 0 10px 10px;
	
	box-shadow: 0px 5px 5px #d5d5d5;
	-moz-box-shadow: 0px 5px 5px #d5d5d5;
	-o-box-shadow: 0px 5px 5px #d5d5d5;
	-webkit-box-shadow: 0px 5px 5px #d5d5d5;
	-ms-box-shadow: 0px 5px 5px #d5d5d5;
 
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
}
 
#extras a:link, #extras a:visited {
	color: #444;
	display: block;
	border-bottom: 1px solid #c8bfbf;
	text-decoration: none;
	padding: .5em .50em;
}

#extras a:hover {
	color: #fff;
	display: block;
	border-bottom: 1px solid #c8bfbf;
	text-decoration: none;
	padding: .5em .50em;
}


	/* Blogroll */
	#extras .blogroll {
		float: left;
		width: 900px;
	}
 
	#extras .blogroll li {float: left; margin: 0 20px 0 0; width: 230px;}
 
	/* Social */
	#extras .social {
		float: right;
		width: 200px;
	}
	
/* About */
#about {
	background: #fff;
	font-style: normal;
	margin-bottom: 2em;
	overflow: hidden;
	padding: 20px;
	text-align: left;
	width: 750px;
	
	box-shadow: 0px 5px 5px #d5d5d5;
	-moz-box-shadow: 0px 5px 5px #d5d5d5;
	-o-box-shadow: 0px 5px 5px #d5d5d5;
	-webkit-box-shadow: 0px 5px 5px #d5d5d5;
	-ms-box-shadow: 0px 5px 5px #d5d5d5;
 
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
}
 
#about .primary {float: left; width: 165px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}
 
#about .url:link, #about .url:visited {text-decoration: none;}
 
#about .bio {float: right; width: 500px;}
 
/* Footer */
#contentinfo {
	padding-bottom: 2em; 
	text-align: right;}

/* Blog */
.hentry {
	border-bottom: 1px solid #eee;
	padding: 1em 0;
}
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 1em 0;}
 
.entry-title {font-size: 1.529em; margin-bottom: 0;}
.entry-title a:link, .entry-title a:visited {text-decoration: none;}
 
.hentry .post-info * {font-style: normal;}
 
	/* Content */
	.hentry footer {margin-bottom: 1em;}
	.hentry footer address {display: inline;}
	#posts-list footer address {display: block;}
 
	/* Blog Index-Noticias */
	#posts-list {list-style: none; margin: 0;}
	#posts-list .hentry {padding-left: 150px; position: relative; margin-right: 20px} 
	#posts-list footer {
	left: 10px;
	position: absolute;
	top: 16px;
	width: 120px;
	}

#posts-list .hentry:hover {
	background: #C42737;
	color: #fff;
}
#posts-list .hentry:hover a:link, #posts-list .hentry:hover a:visited {
	color: #F6CF74;
	text-shadow: 1px 1px 1px #333;
}

#posts-info:hover {
	background: #C64350;
}

.entry-content {
	margin: 20px; 
}

.logo {
	background-image:url('../images/alfasa_logo2.png');
	background-repeat:no-repeat;
	width:600px;
	height:85px;
}	

.tablacod {
	font-size:18px;  
	width: 220px; 
	padding: 1px;
	margin-top:auto;
	margin-bottom:auto;
	background:#E8E8E8;
}

.tablacod2 {
	font-size:18px;  
	width: 600px; 
	padding: 1px;
	margin-top:auto;
	margin-bottom:auto;
	background:#E8E8E8;
}