/*
Theme Name: Niu Comunicación 2010
Theme URI: http://www.niucomunicacion.es/
Description: Diseño css original, desde cero.
Author: Niu Comunicación
Version: 0.3
Tags: niu, gray, orange
*/

a img {
	border: none;
}

body  {
	font: 100% Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	background-image:url(images/fondo-body.png);
	background-color: #434242;
	background-repeat: repeat-x;
}
#container {
	width: 880px;
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
#header { 
	background: #5A5C6D;
	background-image: url(images/fondo-header.png);
	background-repeat: repeat-x;
	height: 40px;
	padding: 0 20px 0 15px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 

#header #logo {
	width: 38px;
	height: 38px;
	float:left;
	background-image: url(images/mini-logo-niu.png);
	background-repeat: no-repeat;
	background-position:center;
	display: block;
	text-indent: -9000px;
}

#header h1 {
	float:right;
	font-weight:normal;
	font-size:13px;
	color:#FFF;
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 12px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

ul#menu1 {
margin:0px 70px;
padding:10px 0;

/*position:absolute;
right:0px;*/
}

ul#menu1 li {
	display:inline;
}

ul#menu1 li a {
	color:#FFF;
	font-weight:bold;
	font-size:14px;
	text-decoration:none;
	margin-right: 30px;
	padding-bottom: 12px;
}

ul#menu1 li a:hover {
	color:#FFAD00;
}

ul#menu1 li a.selected {
	color:#FFAD00;
	background-image:url(images/marca-menu.png);
	background-repeat:no-repeat;
	background-position:bottom;
}

#sidebar1 {
	float: right; /* since this element is floated, a width must be given */
	width: 210px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	/*background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 30px 20px 20px 0px;
}

#sidebar1 .modulo {
	padding-bottom: 8px;
	/*margin-bottom: 10px;*/
	border-bottom: 1px solid #A3A5B1;
}

#sidebar1 h4 {
	font-size:15px;
	font-weight:bold;
	color: #5A5C6D;
	margin-bottom: 10px;
	
	margin-left: -16px;
	padding-left: 16px;
	background-image:url(images/flecha-naranja-peq.png);
	background-repeat:no-repeat;
	background-position:left center;
}

#sidebar1 li {
	font-size:14px;
	/*text-indent: 5px;*/
	list-style: none;
	line-height: 18px;
	margin-bottom: 10px;
}

#sidebar1 li a {
	text-decoration: none;
	color: #000;
}

#sidebar1 li a:hover {
	text-decoration: underline;
}

#mainContent2col, #mainContent1Col {
	padding: 10px 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box - 1px para que el fondo rellene hasta el final */
	background-color: #e7e7e7;
	background-image:url(images/fondo-content.png);
	background-repeat:no-repeat;
	background-position:top center;
}

#mainContent2col {
	/*margin: 0 260px 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 15px 280px 1px 85px;
} 

#mainContent1Col {
	/*margin: 0 0px 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 15px 85px 1px 85px;
} 
	
#mainContent1Col p {
	/*margin: 10px 67px;*/
	
}

h2.menuProyectos {
	/*width: 800px;*/
	text-align:center;
	margin: 0px;
	padding: 25px 0;
	/*margin: 0 auto;*/
}

h2.menuProyectos#index {
	/*margin: 100px 0;*/
	padding: 200px 0 210px 0;
}

h2.menuProyectos ul {
	margin: 0px;
	padding: 0;
	
}


h2.menuProyectos li {
display:inline;
}

h2.menuProyectos li.separador {
	margin: 0 26px;
	}

h2.menuProyectos li  a {
	font-size:22px;
	color:#999;
	font-weight:bold;
	text-decoration:none;
	/*margin-right: 58px;
	margin-left: 18px;*/
	padding-left: 21px;
	/*padding: 19px 45px;*/
	background-image:url(images/flecha-gris.png);
	background-repeat:no-repeat;
	background-position:left center;

}

h2.menuProyectos li  a:hover {
	background-image:url(images/flecha-azul.png);
	color:#5A5C6D;
}

h2.menuProyectos li  a.selected {
	background-image:url(images/flecha-naranja.png);
	color:#5A5C6D;
}

.post {
	padding-bottom: 24px;
	padding-top: 5px;
	margin-bottom: 10px;
	border-bottom: 1px solid #A3A5B1;
}

.post h2 {
	color: #5A5C6D;
	margin-left: -16px;
	margin-bottom: 5px;
	padding-left: 16px;
	background-image:url(images/flecha-naranja-peq.png);
	background-repeat:no-repeat;
	background-position:left center;
}

.post h2 a{
	color: #5A5C6D;
	text-decoration:none;
}

.post .fecha {
	float:left;
	font-weight:bold;
	color:#FFAD00;
}

.post .coment {
	float:right;
	padding: 6px 8px;
	padding-bottom: 15px;
	line-height:6px;
	font-size:13px;
	background-image:url(images/coment.png);
	background-position:bottom right;
	background-repeat:no-repeat;
}

.post p {
	line-height: 22px;
}

.video {
	text-align:center;
	
}

#listaVideos h3{
	margin-top: 30px;
	font-weight:normal;
	color: #FFAD00;
	border-bottom: 1px solid #A3A5B1;
}

#listaVideos ul, #listaWebs ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#listaVideos ul li, #listaWebs ul li {
	margin-bottom: 7px;
	font-size:14px;
}

#listaVideos ul li img {
	margin-right: 7px;
	border: none;
}

#listaVideos ul li a {
	text-decoration:none;
	color:#515362;
}

#listaVideos ul li a:hover {
	text-decoration:none;
	color:#000;
}

#listaWebs ul li{
	display:block;
	padding: 7px 0 15px 0;
	border-bottom: 1px solid #A3A5B1;
}

#listaWebs ul li a {
	text-decoration:none;
	color:#FFAD00;
	font-weight:bold;
}

#listaWebs ul li a:hover {
	text-decoration:underline;
}

#listaWebs ul li img{
	margin-right: 25px;
	border: 1px solid #e7e7e7;
	float:left;
}

#listaWebs ul li p{
	padding-top: 30px;

}

.post p {
	font-size:15px;
}

.navegacion {
	display:block;
	margin-top:15px;
	margin-bottom: 20px;
}

.navegacion a{
	text-decoration:none;
	font-weight:bold;
	font-size: 14px;
	color:#5A5C6D;
	margin-right: 30px;
}

.navegacion a:hover{
	text-decoration:underline;
}

#footer {
	padding: 0 20px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	height: 24px;
	text-align:right;
	background-color: #FFAD00;
} 

#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	padding-left: 50px;
	color:#FFF;
	font-weight:bold;
	font-size:13px;
	line-height: 5px;
}

#footer p span{
	margin: 0 10px; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	/*padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

#footer p a{
	color:#FFF;
	text-decoration:none;
}

#footer p a:hover{
	text-decoration:underline;
}

.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.clearleft {
	clear:left;
}

