html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #efeeea url('images/bodybg.png') repeat-x top center;
}

#container {
    width:964px;
    margin: 0 auto;
    text-align: left;
}

#header {
  height: 156px;
  background: #abc8e5 url('images/headbg.png') no-repeat top left;
}

#header-inner {
  overflow: hidden;
  height: 120px;
  padding: 0px 12px;
  background: transparent url('images/headbgplus.jpg') no-repeat 12px 0px;
}

#wrapper {
  float:left;
  width:100%;
  position:relative;
  min-height: 306px;
  height: auto !important;
  height: 306px;
  background: url('images/wrapperbg.png') repeat-y top center;
}

#wrapper-top {
  min-height: 244px;
  height: auto !important;
  height: 244px;
  background: transparent url('images/wrapperbg-top.png') no-repeat top center;
}

#wrapper-inner {
  float:left;
  width:100%;
  position:relative;
  min-height: 406px;
  height: auto !important;
  height: 406px;
}

body.two-sidebars #wrapper-inner {
  background: url('images/wrapperbg-inner-both.png') repeat-y top center;
}

#sidebar-left {
  float:left;
  width:230px;
  position:relative;
  overflow:hidden;
}

#sidebar-left-inner {
  margin: 0 50px 21px 21px;
}

#main {
  float:left;
  position:relative;
  overflow:hidden;
}

body.two-sidebars #main {
  width: 555px;
}

body.no-sidebars #main {
  width: 964px;
}

#main-inner {
  margin: 0 1em 2em 1em;
  padding-top: .5em;
}

#sidebar-right {
  float:left;
  width:179px;
  position:relative;
  overflow:hidden;
}

#sidebar-right-inner {
  margin: 14px 15px 5px 5px;
}

#footer {
  clear: left;
  width: 100%;
  height: 101px;
  overflow: auto;
  background: #036 url('images/footerbg.png') no-repeat;
  color: #fff;
}




/*  Generic styles  */
/*  Fonts  */
body {
  font-size: .8em;
}

body, h1, h1 a, h2, h2 a, h3, h3 a, h4, h5, h6 {
  font-family: 'Liberation Sans', Arial, Helvetica, sans-serif; 
  font-family: Arial, Helvetica, sans-serif; 
}
#navigation {
  font-family: Verdana, 'Liberation Sans', Arial, Helvetica, sans-serif;
}
#search1 .form-text, #search2 .form-text {
  font-family: 'Courier New', monospace;
}


body {
  text-align: center;
}

h1.title, h1.title a, h1.title a:hover {
  margin: 0;
  margin-bottom: 0;
  font-size: 220%;
  font-weight: normal;
  line-height: normal;
  color: #9f0000;
}

h1, h1 a, h1 a:hover {
  font-size: 140%;
  color: #039;
  margin:.5em 0 .5em 0;
}

h2, h2 a, h2 a:hover, .block h3, .block h3 a {
  font-size: 122%;
  color: #9f0000;
  margin: .5em 0 .25em 0;
  font-weight: bold;
}

h3 { 
  font-size: 107%;
  font-weight: bold; 
}

h4, h5, h6 {
  font-weight: bold;
}

p, .book .body {
  margin: 0 0 1em;
}

sup {
  font-size: 66%;
}

pre {
  background: #ddd;
  border: 1px solid #aaa;
  padding: 0.75em 1.5em;
}

blockquote {
  margin: 0.5em 1em;
  padding: 0.35em;
  border: 1px solid #cde;
  background: #f4f4ff;
}

code {
  font-size: 100%;
  font-family: Profont, 'lucida console', 'Courier New', Monaco, monospace;
}

img { 
  border: 0; 
}

a, a:hover {
  color: #ffffff;
}
  a:hover {
    text-decoration: none;
  }

table {
  margin: 0;
  padding: 0;
  font-size: inherit;
  width: 100%;
  table-layout: auto;
  overflow: auto;
}

th, td {
  padding: 2px 4px;
}

thead th {
  border-bottom-color: #d0d3d6;
  padding-right: .75em;
}

tbody tr.even {
  background: #e9ecef;
}
tbody tr.odd {
  background: #dce0e3;
}

tbody tr.even td, 
tbody tr.even th {
  border-top: 1px solid #fff;
}
tbody tr.odd td, 
tbody tr.odd th {
  border-top: 1px solid #d0d3d6;
}

.clear {
  clear: both;
}

.zero {
  font-size: 0;
  line-height: 0;
  height: 0px;
  width: 0px;
  background: lime;
}

/*  -------------------------------------  */



/*  Header typo and styles  */
#header h1 {
  margin: 0;
  padding: 0;
}

#logo{
  position: absolute;
  top: 0px;
  z-index: 100;
}

#site-name {
  font-size: 160%;
}
  #site-name a, #site-name a:visited {
    color: #af0000;
    font-weight: bold;
  }

#name-and-slogan {
  position: absolute;
  z-index: 100;
  display: inline;
  margin: 88px 0px 10px 195px;
}

#site-slogan {
  font-size: 100%;
  font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
  margin-left: 2px;
	text-align: right;
	width: 245px;
}

/*  Search box  */
#search-frame {
	position: relative;
  overflow: hidden;
	left: 470px;
	top: 20px;
  margin-left: 8px;
  width: 450px;
  height: 100px;
	padding: 0px 20px 0px 8px;
	font-size: 100%;
  font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}

  #search-frame .form-text {
    width: 120px;
    height: 16px;
    border: 1px solid #666666;
    margin: 0px;
    font-family: Verdana;
    color: #2b3956;
  }
  #search-frame .form-submit {
    width: 25px;
    height: 22px;
    border: 0;
    background: transparent url('images/lupa.png') no-repeat left top;
		cursor: pointer;
		margin: 0px;
  }

#mission {
  margin-top: .5em;
  padding: 1em;
  border: 1px solid #abc;
  background: #cdf;
	font-size: 130%;
	text-align: right;
	color: #2b3956;
	font-weight: bold;
}




/*  Footer styles  */
#footer-inner {
  padding: 32px 28px 22px 28px;
  font-size: 92%;
	text-align: center;
}
#footer-inner p {
  margin: 0;
  padding: 5px 10px;
}
#footer-inner a, #footer-inner a:visited {
  color: #ffa;
}


/*  Navigation typo and styles  */
#navigation {
  overflow: hidden;
  height: 36px;
  margin: 0;
  background: #036 url('images/menubg_1.png') no-repeat;
  text-align: left;
}

#primary {
  margin: 0;
  padding: 0 20px 0 200px;
  border: 0;
  font-weight: normal;
  font-size: 92%;
  line-height: normal;
}

#primary ul {
  margin: 0;
  padding: 5px 15px 0 0;
  list-style: none;
}

#primary li {
  display: inline;
  background: transparent;
  margin: 0;
  padding: 0;
  border: 0;
}

#primary a {
  display: block;
  float: left;
  margin: 0px 2px 0px 0px;
  border-style: solid;
  font-weight: bold;
}

#primary a {
  padding: 7px;
  color: #fff;
  text-decoration: none;
  border-color: #036;
  border-width: 0 0 3px 0;
}

#primary a:hover {
  color: #fff;
  border-color: #d6e5f5;
  text-decoration: none;
}

#primary li.active a {
  color: #d6e5f5;
  border-color: #d6e5f5;
  text-decoration: none;
}




#languages {
	text-align: right;
}

#languages ul {
  margin: 0;
  padding: 5px 15px 0 0;
  list-style: none;
}

#languages li {
  display: inline;
  background: transparent;
  margin: 5px;
  padding: 0;
  border: 0;
}


#ultimas_empresas {
	background: transparent;
}

#empresas_mas_visitadas {
	background: transparent;
}

#sectores_mas_visitados {
	background: transparent;
}

#ultimas_empresas .sector_nombre, #empresas_mas_visitadas .sector_nombre {
	font-size: 10px;color: #e7ebec;
}

#ultimas_empresas .empresa_nombre, #empresas_mas_visitadas .empresa_nombre {
	font-size: 85%; font-family: Verdana; color: #e7ebec;
}

#sectores_mas_visitados .sector_nombre {
	font-size: 10px; font-family: Verdana; color: #e7ebec;
}

#ultimas_empresas .table_header, #empresas_mas_visitadas .table_header, #sectores_mas_visitados .table_header {
	color: #2b3956;
	font-weight: bold;
}

#ultimas_empresas.fixed_height, #empresas_mas_visitadas.fixed_height, #sectores_mas_visitados.fixed_height {
	height: 270px;
}

