/*  
Theme Name: APIM
Theme URI: http://www.apimadrid.net
Description: <p>3column rainbow garden white and red theme. Beautiful and elegant theme for your blog.</p>
Version: 1.0
Author: kokoka, modificado por Guillermo Velasco
Author URI: http://www.hobbitskull.com

*/


/* ---------- @ HTML Elements -----------*/

*{
margin:0px;
padding:0px;

}


.creditslnk { text-align:left;font-size:10px;color:#038de4; };
.creditslnk a { color:#038de4; text-decoration: none; };
.creditslnk a:visited { color:#038de4; text-decoration: none; };

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}



body, html {
	color:#666;
	min-height:101%;
	background-color:#edeef0;
	background-image: url(images/main_back.gif);
	background-repeat: repeat;
	background-position: top;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	font-family: "Trebuchet MS";
	font-size:1em;
}


p {
	margin: 15px 0;
}

.post img{
	margin-right:0px;
	margin-left:0px;
	border:0px

}


a:link, a:visited {
	text-decoration:none;
	color: #aa0000;
}

a:hover, a:active {
	color:#FF0000;
	text-decoration: underline;
}

*:focus {
	outline: none
}

/* ---------- @ Page Structure -----------*/

.header {
	height: 200px;
	width: 980px;
	position:relative;
/* Recuadro superior central */
/*	background-image: url(images/main_body.jpg);
	background-repeat: no-repeat;
	background-position: top; */
	background-color:#FFFFFF;
	}

#header {
	
	padding:0px;
	

}

/* Logo APIM */
#header h1 a {
	font-size:1.8em;
	font-weight:bold;
	color:#660000;
	font-family: Arial, Helvetica, sans-serif;
	position: absolute;
	top:15px;
	left:43px;
	
	
}

/* Logo Ilustranet */
#header h2 a {
	font-size:1.8em;
/*	font-weight:bold;   */
	color:#660000;
	font-family: Arial, Helvetica, sans-serif;
	position: absolute;
	top:15px;
	left:850px;
}

	
#header h4  {
	position: absolute;
	top:0px;
	left:180px;
	border:hidden;
	
}	
	

/*
#header .description{
	position: absolute;
	top:125px;
	left:285px;
	font-weight:bold;
	color:#660000;
	display:none;
}*/

#header .box{
	position: absolute;
	top:80px;
	right:47px;
	font-weight:bold;
	color:#660000;
	text-align:center;
	font-size:1.65em;
	background-color: #FFFFFF;

}
#header .box h3{
color:#aa0000;
	

}



/* ---------- @ posición columna izquierda -----------*/
.mid{
	position: relative;
	z-index:2;
	left:0px;
	top:0px;
	/*background-image: url(images/bg_footer_rest.jpg);*/
	background-repeat: no-repeat;
	background-position: bottom;
	background-color:#FFFFFF;
}

.sidebar_mid ul
{
	margin:0;
	padding:0;
	list-style:none;
	
}


/* ---------- @ Headings -----------*/

/* TITULO NOTICIAS */
h2 {
	font-size: 1.3em;
	margin:0px;
	margin-top:10px;
	margin-bottom:5px;
	padding:0px;
	font-weight: normal;
	color: #da381c;	
	}
	
.content h2 a,
.content h2 a:visited
{
	margin:0px;
	font-size: 1.3em;
	margin-top:10px;
	padding:0px;
	color: #da381c;/*	color:#666666;  */

	
	}

h3 {
	font-size: 1.2em
	}

h4 {
	font-size: 1.1em
	
	}
	

/* menu */


#menu{
	position: relative;
	top:10px;
	width:980px;
	z-index:5;
	background-image: url(../../../wp-content/themes/apim/images/topmenu_bg.jpg);
	background-repeat: no-repeat;
	height: 44px;	
}

#menu ul{
	list-style: none;
	list-style-type: none;
	font-size: 1em;
	padding:0px;
	font-weight:bold;
	padding-top:15px;
	text-align:center;
	width:736px;		
}

#menu ul li{
	
	margin: 0 0 0 1px;
	display:inline;
	border-right:1px solid #cccccc;

	
}

#menu ul li a{
	
	padding: 5px 10px 5px;
	text-decoration: none;
	color: #aa0000;

}

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

	
}

#menu ul li.current_page_item{
background-color:#aa0000;

}

#menu ul li.current_page_item a{
	color: #aa0000;
	
}

/* ---------- @ content Area -----------*/

/*Home*/
.padding{
padding:0px;

}


.content {
	font-size:13px;
	margin-right:0px;
	margin-top:10px;
	margin-bottom:50px;
	position: relative;
	top:0px;
	bottom:50px;
	color:#666666;
	/*	background-color: #ffffff;
	background-image: url(images/620_sup_rest.gif);
	background-repeat: no-repeat;
	background-position: top;   */

border-style:dotted;
	border-top-style:hidden;
	border-bottom-style:hidden;
	border-color:#cccccc;
	font-family: "Trebuchet MS";
	text-align: justify;
}


.content .post, .navigation, .pagetitle, .searc_results {

	padding:10px 20px 10px 20px;
}

.post{
	
	background-position: left top;
	

}







/*     BARRA IZQUIERDA    */


.sidebar_left ctcleft {
	margin:0px 8px 0px 9px;
	}


.sidebar_left {
	float:left;
	margin:0;
	border-right:#FFFFFF 0px solid;
	background-color: #ffffff;
	font-size:12px;
	color:#000000;
}	


.sidebar_left h2{
	
	background-repeat: no-repeat;
	height:20px;
	color:#da381c;
	font-weight:normal;
	padding:10px 0px 0px 18px;
	background-repeat: no-repeat;
	background-position: left;
}	


.sidebar_left h4{
	margin: 0 0 0 0px;
	padding: 0 8px 0px 18px; 
}

.h2bg_bot{

	background-repeat: no-repeat;
	background-position: bottom;
	height:20px;
}


.sidebar_left  ul ul, .sidebar_left  p, .sidebar_left  .textwidget 
{
	margin:0px 0px 0px 0px;
}


.sidebar_left  form
{
	margin:0px 8px 0px 10px;
}



/* MENÚ - Nº DE ARTÍCULOS */
.sidebar_left li 
{
	margin:0;
	padding:0.3em 0;
	border-bottom:0px solid #dedede;
	list-style:none;
	color:#cccccc;
}

/* MENÚ - TEXTO */
.sidebar_left li ul li ul li a 
{
	color:#666666;
	
}
 
.sidebar_left  li li
{
	margin:0;
	padding:0;
	border-bottom:0px;
	line-height:16px;
	border-top:none;
	padding-left:20px;
}

.sidebar_left  li li a:hover
{
	background-image: url(images/pen-on.jpg);
	background-repeat: no-repeat;
	background-position: left middle;
	color:#ff0000;

}
	
.sidebar_left  li ul li a,
.sidebar_left  li ul li a:visited
{

	border-top:none;
	font-size:12px;
	color:#999999;
	margin: 0 0 0 -18px;
	padding: 0 8px 0px 18px; 
	border:0px
	

}

.sidebar_left  li ul li a:hover
{
	color:#ff0000;
}
	

.sidebar_left  li li ul li,
.sidebar_left  li li ul ul

{
	color: #cccccc;
	border:none;
	

}






/*   BARRA DERECHA   */


.sidebar_right {
	position: absolute;
	top:-200px;
	float:left;
	left:800px;
	margin:0;
	border-right:#FFFFFF 0px solid;
	background-color: #FFFFFF;
	font-size:14px;
	color:#000000;
}	


.sidebar_right h2{
	
	background-repeat: no-repeat;
	height:20px;
	color:#000000;
	font-weight:normal;
	padding:10px 0px 0px 20px;
	background-image: url(images/pen-off.jpg);
	background-repeat: no-repeat;
	background-position: left;
}	

.sidebar_right img{
	border:0px

}

.h2bg_bot{

	background-repeat: no-repeat;
	background-position: bottom;
	height:20px;
}


.sidebar_right  ul ul, .sidebar_right  p, .sidebar_right  form, .sidebar_right  .textwidget
{
	margin:0px 0 0 0px;
}
.sidebar_right li 
{
	margin:0;
	padding:0.3em 0;
	border-bottom:0px solid #dedede;
	list-style:none;
	color:#cccccc;
	
}

.sidebar_right li ul li ul li a 
{
	color:#cccccc;
}
 
.sidebar_right  li li
{
	margin:0;
	padding:0;
	border-bottom:0px;
	line-height:16px;
	border-top:none;
	padding-left:16px;
}

	
.sidebar_right  li ul li a,
.sidebar_right  li ul li a:visited
{

	border-top:none;
	font-size:12px;
	color:#999999;
	margin: 0 0 0 -20px;
	padding: 0 5px 0px 20px; 
	border:0px;
	
}


.sidebar_right  li ul li a:hover
{
	color:#ff0000;
}
	



.sidebar_right  li li ul li,
.sidebar_right  li li ul ul

{
	color: #cccccc;
	border:none;
	

}


/*
.sidebar_right {
	float:left;
	margin:0;
	font-size:12px;
	background-color: #FFFFFF;
}
.sidebar_right h2 {
color:#aa0000;
	
}

.sidebar_right  ul 
{
	margin: 10px;
	padding: 0px;
	margin-bottom:10px;
	list-style:none;
	

}
.sidebar_right  ul .box 
{

	padding: 0px;
	margin-bottom:10px;

}
.sidebar_right  ul .box li
{

	padding:2px;

}
.sidebar_right li 
{
	margin:0;
	padding:0.3em 0;
	list-style:none;
	font-size:10px;
	color:#666666;
	
	
}

*/




/*comments*/
.post .user {
	background-image: url(../../../wp-content/themes/apim/images/user.gif);
	background-repeat: no-repeat;
	height: 10px;
	width: 10px;
}

.post .user a{
	padding-left:15px;
}
.post .edit {
	background-image: url(images/edit.gif);
	background-repeat: no-repeat;
	height: 10px;
	width: 10px;
}
.post .edit a {
	padding-left:15px;
}
.post .comment {
	background-image: url(images/comment.gif);
	background-repeat: no-repeat;
	height: 10px;
	width: 10px;
}
.post .comment a {
padding-left:15px;
	
}

/* Comments starts here*/

ol{
margin:0px;
padding:0px;


}
ol li{
display:block;
border-bottom:1px solid #222;
list-style:none;
background-color:#edeef0;
padding:10px;




}

#commentform .textarea{




}

#commentform .textarea{
width:98%;
border:1px solid #dedede;

}
/*Interior Pages*/

.bullets {
	padding:15px 15px 15px 30px;
	}

.bullets li {
	background:url(/images/bullet.gif) no-repeat;
	list-style:none;
	padding-left: 11px;
	margin-bottom: 5px;
	}

/* ---------- @ Forms -----------*/

.button {
	background: #000 ! important;
	border:#F7ECD4 1px solid;
	padding: 2px;
	margin: 0 2px 0 0;
	color:#FFF;
}

.button:focus {
	padding:2px;
	background: #000 ! important;
}

.button:hover {
	background: #CCC ! important;
	color: #000;
}

/*Clear*/

.clearfloat:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	}

.clearfloat {
	display: inline-block;
	}

/* Hides from IE-mac */
* html .clearfloat {
	height:1%;
	}

*+html .clearfloat {
	height:1%;
	}

.clearfloat {
	display:block;
	}
/* End hide from IE-mac */

/* ---------- @ Footer -----------*/


#footer {
	color:#CCCCCC;
	text-align:center;
	font-size:12px;
}


#footer p{

	
	
}
#footer a{

	color:#CCCCCC;
	text-decoration:underline;
	font-weight:bold;
	
	
}