/**
 * @file
 * Positioning for a fixed-width, desktop-centric layout.
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
 */


/*
 * Center the page.
 */

#page,
.region-bottom {
  /* If you want to make the page a fixed width and centered in the viewport,
   * this is the standards-compliant way to do that. */
  margin-left: auto;
  margin-right: auto;
  width: 980px;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */

#header,
#content,
#navigation,
#cabecera,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  padding-left: 10px;
  padding-right: 10px;
  border: 0;
  word-wrap: break-word;
  _display: inline;
  _overflow: hidden;
  _overflow-y: visible;
}

/*
 * Containers for grid items and flow items.
 */

#header,
#main,
#footer {
  *position: relative;
  *zoom: 1;
}
#header:before, #header:after,
#main:before, #main:after,
#footer:before, #footer:after {
  content: "";
  display: table;
}
#header:after,
#main:after,
#footer:after {
  clear: both;
}

/*
 * Navigation bar
 */

#main {
  padding-top: 3.75em; /* Move all the children of #main down to make room. */
  position: relative;
  z-index:100;
}

#navigation {
  position: absolute;
  top: 0; /* Move the navbar up inside #main's padding. */
  height: 3em;
  width: 980px;
  padding:0;
}

#cabecera {
	width:960px;
	height:10em;
	background-color:#000;
	}

/*
 * The layout when there is only one sidebar, the left one.
 */

.sidebar-first #content {
  /* Span 4 columns, starting in 2nd column from left. */
  float: left;
  width: 732px;
  margin-left: 196px;
  margin-right: -980px;
  background-color:#fff;
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

.sidebar-first .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 176px;
  margin-left: 0px;
  margin-right: -196px;
}

/*
 * The layout when there is only one sidebar, the right one.
 */

.sidebar-second #content {
  /* Span 4 columns, starting in 1st column from left. */
  float: left;
  width: 732px;
  margin-left: 10px;
  margin-right: -784px;
  background-color:#fff;
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

.sidebar-second .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 176px;
  margin-left: 784px;
  margin-right: -980px;
}

/*
 * The layout when there are two sidebars.
 */

.two-sidebars #content {
  /* Span 3 columns, starting in 2nd column from left. */
  float: left;
  width: 546px;
  margin-left: 196px;
  margin-right: -784px;
  background-color:#fff;
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

.two-sidebars .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 176px;
  margin-left: 0px;
  margin-right: -196px;
}

.two-sidebars .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 176px;
  margin-left: 784px;
  margin-right: -980px;
}

/*Fuente y tamaño para todas las sidebars */

.sidebar {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.857em;
  line-height: 1.75em;
  margin-top: 0.875em; 
  margin-bottom: 0.875em;
  color: #666;
	}

/* Footers */

#footer1 {float:left; width:60%;border-right: 1px solid #ccc;margin-right:15px;}

#footer2  {
  float: left;
  width: 18%;
  padding-right:15px;
  border-right: 1px solid #ccc;
}

#footers h2.block-title {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #000;
	margin-bottom: 10px;
	border-bottom: 1px dotted #999;
	background:none;
	padding:5px 0;
}


#footer2 #mc_embed_signup form {
	padding:0;
	}

#footer2 #mc_embed_signup label {
	font-size:10px;
	font-family:Tahoma, Arial, Geneva, sans-serif;
	text-transform:uppercase;
	padding:0;
	}

#footer2 #mc_embed_signup input.email {
	padding: 0px;
	margin: 0 0 5px 0;
	width:100%;
	}

#footer2 #mc_embed_signup input.button {
	width:100%;
	}

#footer2 #mc_embed_signup .button {
	font-size:12px;
	height:18px;
	line-height:14px;
	}

#footers #footer4 h2.block-title {width:100%;}

#footers p {margin:0 !important; font-size:0.8em; font-family: tahoma, arial;
line-height: 1.1em;}

#footers .block {margin:0;}

.bottom_text {
	background: #638291;
	overflow: hidden;
	height: 1%;
	padding: 5px 15px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	color: #fff;
	width:950px;
}

.bottom_text p:first-child {
	margin:0;
	float:left;
	color: #DDD;
}

.bottom_text p:last-child {
	margin:0;
	float:right;
}

