/*  
Theme Name: Coreco
Theme Author: Trédasis, soluciones en informática.
Theme URI: http://www.coreco.org.mx
Description: Tema diseñado para la Comisión de apoyo y reconciliación comunitaria
Tags: dos-columnas, colores-institucionales, custom-header, sidebar
*/

body{
margin: 0px;
background: url('imagenes/fondo.png');\
font-family: Trebuchet MS1, Helvetica, sans-serif;
}

h2{
color: #830000;
}

h3 a{
color: #030c35;
text-decoration: none;
}

a{
color: #830000;
text-decoration: none;
}

#page {
	width:960px;
	border:3px black solid;
	border-top: none;
	border-bottom: 3px #a70000 solid;
	display: block;
	margin: 0px auto;
	background: white;
}

#header {
       	height:202px;
	width: 960px;
	margin: 0px auto;
	display: block;
	border: 3px black solid;
	border-bottom: none;
	background: url('imagenes/cabeceracoreco.png') no-repeat;
	background-color: black;
      }

#header #headerimg{
 	height:132px;
	width: 960px;
	display: block;
	margin: 0px;
	visibility:hidden;}

#sidebar {
	display: block;
       	float: right;
       	width:215px;
	margin: 5px;
	background-color: #5e0000;
	font-size: 10pt; }


#sidebar ul{
list-style: none;
list-style-position: outside;
margin-left: 8px;
padding-left: 0px; }

#sidebar h2{
background: #330303;
height: 20px;
font-size: 14px;
color: white;
border-top: 2px #330303 solid;
border-bottom: 1px #330303 dashed;
display: block;
margin: 0px;
padding-top: 3px;
}
#sidebar li{
list-style: none;
list-style-position: outside;
font-weight: bold italic;
display: block;
margin-left: 8px;
padding-left: 0px;
}
#sidebar a{
color: white;
font-weight: bold;
text-decoration: none;
display: block;
}
#sidebar a:hover {
background: #330303;
color: white;
font-weight: bold;
text-decoration: none;
}

#sidebar #cabeza {
	width: 215px;
	height: 45px;
	background: url('imagenes/titulomenuppal.png') no-repeat;}

#sidebar #pie{
	width:215px;
	height: 26px;
	background: url('imagenes/piemenuppal.png') no-repeat; }

#content {
	width: 723px;
	margin-left: 5px;
	background-color: white;
	display: block;
	float: none;
	min-height: 1360px;
}

#topentradas {
background: url('imagenes/cabeceraentradas.png') no-repeat;
width:732px;
height: 50px;
display: block; }

#entradas{
width: 723px;
display: block; 
margin: auto;
}

#columna_1{
margin-left:3px;
width: 355px;
display: block;
float: left;
position: relative;
}

#columna_2{
margin-left:5px;
width: 355px;
display: block;
float: right;
position: inline;
}

#columna_1 h2 a{
font-size: 12pt;
color: #5e0000;
text-align: left;
text-decoration: none;
}

#columna_2 h2 a{
font-size: 12pt;
color: #5e0000;
text-align: justify;
text-decoration: none;
}

small{
color: #5e0000;
}

small a{
text-decoration:none;
font-weight: bold;
color: #030c35;
}

#completa{
width: 700px;
height: auto;
text-align: justify;
margin-top: 20px;
font-size: 10pt;
padding-left: 10px;
}

.post{
background: url('imagenes/cabeceraextractos.png') bottom repeat-x;
border: 1px #cdcdcd solid;
border-bottom: none;
font-size: 10pt;
width: 340px;
height: 350px;
display: block;
text-align: justify;
padding: 7px;
}

.navigation a{
font-style:italic;
text-decoration: none;
color: #030c35;

}

#footer {
	width: 960px;
	height: auto;
	margin: auto;
	font-size: 12px;
	background-color: #030c35;
	color: white;
	border: 3px black solid;
	border-top: 3px #a70000 solid;	
	display: block;
}

#footer p{
	padding: 5px;
	color: white;
	font-weight: bold;
}

#footer a{
	color: white;
	font-weight: bold;
}

input{
	border: 2px #330303 solid;
}

textarea{
border: 2px #330303 solid;
}

#submit{
background: #330303;
color: white;
}

#searchform{
	display: block;
	margin-left: 5px;
}

/* Barra de navegación */

#nav-wrap1{
  background: url(imagenes/barramenu.png) no-repeat;
  width: 960px;
  height: 50px;
  display: block; }

#nav-wrap2{
  padding-right: 25px;
  height: 50px;
  float: left; }

#nav-wrap2 ul#nav, #nav-wrap2 ul#nav li{
  padding: 0px;
  margin: 0px;
  list-style-type: none; }

#nav-wrap2 ul#nav{
    margin: 0px;
    padding-right: 2px;
    display: block;
    height: 50px; }

#nav-wrap2 ul#nav li{
  margin: 0px;
  display:inline;
  float: left;
  position: relative;
  padding-left: 2px; }

#nav-wrap2 ul#nav li a{
  display: block;
  margin-top: 1px;
  height: 35px;
  float: left;
  color: white;
  text-decoration: none;
  font-size: 100%; }

#nav-wrap2 ul#nav li a:hover{
  color: white; font-weight: bold;}

#nav-wrap2 ul#nav .fadeThis {
  position:relative;
  z-index: 1;
  background: none; }

#nav-wrap2 ul#nav .fadeThis span.hover {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  width: 100%;
  background: #330303;
  z-index: -1;
  margin: 0px;
  padding: 0px; }

#nav-wrap2 ul#nav li a span{
  display: block;
  margin: 6px;
  padding: 0 1px; }

/* sub-menus */

#nav-wrap2 ul#nav ul {
  position: absolute;
  background: #5e0000;
  display: none;
  width:200px;
  top: 36px;
  left: 0;
  margin: 0px;
  padding: 0px;
  font-style: italic;
  font-size: 10pt;
  z-index: 99;
  border: 1px dashed #5e0000; }

#nav-wrap2 ul#nav ul ul{ }

#nav-wrap2 ul#nav li ul li{
  background: none;
  margin: 0px;
  padding: 0px; }

#nav-wrap2 ul#nav a.active ul,
#nav-wrap2 ul#nav li.current_page_item ul,
#nav-wrap2 ul#nav li.current_page_ancestor ul,
#nav-wrap2 ul#nav li.current-cat ul{ margin: 0px; background: #5e0000; }

#nav-wrap2 ul#nav li.current_page_item ul ul,
#nav-wrap2 ul#nav li.current_page_ancestor ul ul,
#nav-wrap2 ul#nav li.current-cat ul ul{ margin:0px; border: 1px solid; background: #5e0000 !important; }

#nav-wrap2 ul#nav li ul a{
  width:180px;
  float:left;
  background: none;
  margin: 0;
  padding: 4px 10px;
  height: auto;
  color: white;
  font-weight: normal;
  line-height: 125%; }

#nav-wrap2 ul#nav li ul a span, #nav-wrap2 ul#nav li ul a span span{
  margin: 0px;
  padding: 0px;
  height: auto;
  float: none; }



#nav-wrap2 ul#nav ul .fadeThis span.hover {   background: #5e0000; }

#nav-wrap2 ul#nav li ul a:hover, #nav-wrap2 li ul#nav ul a:hover,
#nav-wrap2 ul#nav a.active ul a:hover,
#nav-wrap2 ul#nav li.current_page_item ul a:hover,
#nav-wrap2 ul#nav li.current_page_ancestor ul a:hover{ color: #fff; }

#nav-wrap2 ul#nav ul a:hover, #nav-wrap2 ul#nav ul a:hover span,
#nav-wrap2 ul#nav a.active ul a:hover span,
#nav-wrap2 ul#nav li.current_page_item ul a:hover span,
#nav-wrap2 ul#nav li.current_page_ancestor ul a:hover span,
#nav-wrap2 ul#nav ul li.current_page_parent a:hover span,
#nav-wrap2 ul#nav ul li.current_page_item a:hover span,
#nav-wrap2 ul#nav ul li.current_page_parent li.current_page_item a:hover span{ background:#5e0000; color:white; }

#nav-wrap2 ul#nav li ul a span, #nav-wrap2 ul#nav li ul a span{ background: none; }
#nav-wrap2 ul#nav ul ul{ top:auto; }
#nav-wrap2 ul#nav li ul ul {
  left:195px;
  top: 4px; }

#nav-wrap2 ul#nav li:hover ul ul, #nav-wrap2 ul#nav li:hover ul ul ul, #nav-wrap2 ul#nav li:hover ul ul ul ul{
  display:none; }

#nav-wrap2 ul#nav li:hover ul, #nav-wrap2 ul#nav li li:hover ul, #nav-wrap2 ul#nav li li li:hover ul, #nav-wrap2 ul#nav li li li li:hover ul{ display:block; }

/* active submenus */

#nav-wrap2 ul#nav ul li.current_page_parent a span,
#nav-wrap2 ul#nav ul li.current_page_item a span,
#nav-wrap2 ul#nav ul li.current_page_parent li.current_page_item a span{color: white; font-weight:bolder; }

#nav-wrap2 ul#nav ul li.current_page_item li a span, #nav-wrap2 ul#nav ul li.current_page_parent li a span{
  color: #000; }

/* IE 7 bug-fixes */
#nav-wrap2 ul#nav li:hover { z-index: 100; }
#nav-wrap2 ul#nav * li:hover { visibility: inherit; }




