/* $Id: layout.css,v 1.10 2008/11/27 12:26:37 aibehn Exp $ */

/*
 * LAYOUT STYLES
 *
 * 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 is based on the Border Politics Layout Method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */


/** body **/
  body
  {
	background: url('images/body_bg.jpg');
  }

  #page
  {
	
  }

  #page-inner
  {
	margin: 0 1em;
  }

  #navigation-top,
  #navigation
  {
    position: absolute; /* Take the named anchors out of the doc flow    */
    left: -10000px;     /* and prevent any anchor styles from appearing. */
  }

  #skip-to-nav
  {
    float: right;
    margin: 0 !important;
    font-size: 0.8em;
  }

  #skip-to-nav a:link, #skip-to-nav a:visited
  {
    color: #fff; /* Same as background color of page */
  }

  #skip-to-nav a:hover
  {
    color: #000;
    text-decoration: none;
  }

  /* Alternatively, the skip-to-nav link can be completely hidden until a user tabs
     to the link. Un-comment the following CSS to use this technique. */
  /*
  #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited
  {
    position: absolute;
    left: 0;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  #skip-to-nav a:active, #skip-to-nav a:focus
  {
    position: static;
    width: auto;
    height: auto;
  }
  */

/** header **/
  #header
  {
	margin-bottom: 1em;
	width: 100%;
	
  }

  #header-inner
  {
  }
  #header-soldier{
	position:absolute;
	bottom:-65px;
	left:140px;
	width: 289px;
	height: 220px;
	background: url(images/soldier.png) no-repeat top left;
	z-index:2;
  }
  #logo-title{
	width: 100%;
	overflow:hidden;
	position:relative;
 }
 #logo {
 
	 width:100%;
 }
 #logo a img {
	width:100%;
 }

  #site
  {
	position: absolute;
	bottom: -100%;
	right: 0;
	text-align:right;
	width: 100%;
	padding: 10px;
	background: #000;
	color: white;
	text-shadow: #000 0 0 3px;
	opacity: 0.5;
	-moz-opacity: 0.5;
	filter: alpha(opacity=50);
	
  }
  #site-name a, #site-slogan{
	color: white;
	text-shadow: #000 0 0 3px;
  }
  #site-name a {
	text-decoration: none;
  }
  #site-slogan
  {
	font-size:medium;
	color: red;
  }
  
  #header-second
  {
	display:block;
	clear:left;
	position:relative;
	min-height:109px;
  }
  #primary
  {
	
	position:absolute;
	top:0px;
	left:20px;
	z-index:3;
	margin-top: 1em;
	
  }

  #header-blocks
  {
	position:relative;
	height:250px;
	margin-right:200px;
	margin-left: 170px; /* 150px ( balas) + margen de 20px*/
  }
  #headertabs{
	position:absolute;
	left:0%;
	top:0%;
	min-height: 250px;
	width:50%;
  }
  #header-left{
	
	width:50%;
	position:absolute;
	right:0%;
	top:0%;
  }
  #header-latrichera {
	width:200px;
	height:109px;
	position:absolute;
	right:0%;
	top:0%;
  }

/** main (container for everything else) **/
  #main
  {
    position: relative;
	clear: both;
	overflow:hidden;
  }
  #main-top-left{
	position:absolute;
	top:0%;
	left:0%;
	width: 70px;
	height: 70px;
	background: url(images/main-bg-top-left.png) no-repeat top left;
	z-index:-1;
  }
  #main-top{
	position:absolute;
	top:0%;
	left:0%;
	display:block;
	height:70px;
	width: 100%;
	z-index:-2;
	background: url(images/main-bg-top.png) repeat-x top;
  }
  #main-top-right{
	position:absolute;
	top:0%;
	right:0%;
	width: 70px;
	height: 70px;
	z-index:-1;
	background: url(images/main-bg-top-right.png) no-repeat top right;
  }
  #main-middle-left{
	position:absolute;
	left:0%;
	width: 70px;
	height: 100%;
	z-index:-2;
	background: url(images/main-bg-left.png) repeat-y left;
  }
  #main-middle{
    position:absolute;
	left:0%;
	top:0%;
    /*background-color: rgb(241,233,187);*/
	background-color: rgb(218,198,147);
	z-index:-3;
	height:100%;
	width:100%;
  }
  #main-middle-right{
	position:absolute;
	right:0%;
	width: 70px;
	height: 100%;
	z-index:-2;
	background: url(images/main-bg-right.png) repeat-y right;
  }
  #main-bottom-left{
	position:absolute;
	bottom:0%;
	left:0%;
	width: 70px;
	height: 70px;
	z-index:-1;
	background: url(images/main-bg-bottom-left.png) no-repeat bottom left;
  }
  #main-bottom{
	position:absolute;
	bottom:0%;
	left:0%;
	width: 100%;
	height: 70px;
	z-index:-2;
	background: url(images/main-bg-bottom.png) repeat-x bottom;
  }
  #main-bottom-right{
	position:absolute;
	bottom:0%;
	right:0%;
	width: 70px;
	height: 70px;
	z-index:-1;
	background: url(images/main-bg-bottom-right.png) no-repeat bottom right;
  }
  #main-inner-mapa{
	position:absolute;
	/*bottom:19px;*/
	bottom:0px;
	right:1px;
	width: 800px;
	height: 600px;
	z-index:-1;
	background: url(images/main-bg-mapa.jpg) no-repeat bottom right;
  }
  #main-inner-pacifico{
	position:absolute;
	/*top:19px;*/
	top:0px;
	left:0px;
	width: 800px;
	height: 600px;
	z-index:-1;
	background: url(images/main-bg-pacifico.jpg) no-repeat top left;
  }

  #main-inner
  {
  padding:20px;
  margin:18px;
  background: url(images/main-bg-bullets.png) no-repeat;
  background-position: 100% 0px;
  position:relative;
  overflow:hidden;
  }

/** content **/
  #content
  {
    float: left;
    width: 100%;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #content's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
  }

  #content-inner,
  .no-sidebars #content-inner
  {
    
    margin: 20px;
	position:relative;
	margin-top: 38px;
	
  }
  #content-inner-inner{
	background-color:white;
	border: 2px solid rgb(214,196,160);
	padding: 1em;
	overflow:hidden;
	margin-top:18px;
	position:relative;
  }
  #content-tab{
	position:absolute;
	top:-38px;
	left:20px;
	width:104px;
	height:20px;
	background: url(images/content-bg-tab.png) no-repeat;
	z-index:1;
  }
  #content-top-left{
	position:absolute;
	top:-20px;
	left:-20px;
	width:20px;
	height:20px;
	background: url(images/content-bg-top-left.png) no-repeat;
	background-color: rgb(228,210,172);
	z-index:1;
  }
  #content-top-center{
	position:absolute;
	top:-20px;
	left:0%;
	height:20px;
	width:100%;
	background: url(images/content-bg-top.png) repeat-x;
	z-index:0;
	background-color: rgb(228,210,172);
  }
  #content-top-right{
	position:absolute;
	top:-20px;
	right:-20px;
	width:20px;
	height:20px;
	background: url(images/content-bg-top-right.png) no-repeat;
	z-index:1;
	background-color: rgb(228,210,172);
  }
  #content-left{
	position:absolute;
	left:-20px;
	top:0%;
	width:20px;
	height:100%;
	background: url(images/content-bg-left.png) repeat-y;
	z-index:-1;
	background-color: rgb(228,210,172);
  }
  #content-right{
	position:absolute;
	right:-20px;
	top:0%;
	width:20px;
	height:100%;
	background: url(images/content-bg-right.png) repeat-y;
	z-index:0;
	background-color: rgb(228,210,172);
  }
  #content-bottom-left{
	position:absolute;
	bottom:-20px;
	left:-20px;
	width:20px;
	height:20px;
	background: url(images/content-bg-bottom-left.png) no-repeat;
	z-index:0;
	background-color: rgb(228,210,172);
  }
  #content-bottom-center{
	position:absolute;
	bottom:-20px;
	left:0%;
	height:20px;
	width:100%;
	background: url(images/content-bg-bottom.png) repeat-x;
	z-index:0;
	background-color: rgb(228,210,172);
  }
  #content-bottom-right{
	position:absolute;
	bottom:-20px;
	right: -20px;
	width:20px;
	height:20px;
	background: url(images/content-bg-bottom-right.png) no-repeat;
	z-index:0;
	background-color: rgb(228,210,172);
  }


  .sidebar-left #content-inner
  {
    margin-left: 220px; /* The width + left margin of #sidebar-left. */
    margin-right: 0;
	/*
	padding-left: 200px; 
	padding-right: 0; */
  }

  .sidebar-right #content-inner
  {
    /*
	padding-left: 0; 
	padding-right: 200px; */
	margin-left:0;
	margin-right:200px;
  }

  .two-sidebars #content-inner
  {
    /*padding-left: 200px;
	padding-right: 200px;*/
	margin-left:220px;
	margin-right:220px;
	
  }

/** navbar **/
  #navbar
  {
	position:relative;
	top:0px;
	left:0px;
    width: 95%;
	background: url(images/secondary-bg.png);
	clear: both;
	margin-bottom: 1em;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #navbar's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */
    z-index: 1;
	border: 3px dashed rgb(79,58,39);
	color:white;
  }
  #navbar-inner {
   margin:1em;
   padding:1em;
   background-color: rgb(79,58,39);
  }
  #clip {
	position:absolute;
	right:-5px;
	top:-13px;
	background: url(images/clip.png);
	width:39px;
	height:90px;
	z-index:2;
	
  }
  #bullet {
	position:absolute;
	right:200px;
	top:-15px;
	background: url(images/bullet.png);
	width:128px;
	height:128px;
	z-index:2;
  }

  .with-navbar #content,
  .with-navbar #sidebar-left,
  .with-navbar #sidebar-right
  {
    margin-top: 3.6em; /* Set this to the same value as the navbar height above. */
  }

  #search-box
  {
	width: 150px;
	height: 89px;
	position: absolute;
	right: 0px;
	top:-10px;
  }
  #breadcrumb{
	clear:left;
	margin-top:2em;
  }


  #secondary
  {
	width: auto;
	height:auto;
	margin-right:290px;
	margin-bottom:1em;
  }

  #navbar ul /* Primary and secondary links */
  {
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #navbar li /* A simple method to get navbar links to appear in one line. */
  {
    
    padding: 0 10px 0 0;
  }

  /* There are many methods to get navbar links to appear in one line.
   * Here's an alternate method: */
  /*
  #navbar li
  {
    display: inline;
    padding: 0 10px 0 0;
  }
  */

/** sidebar-left **/
  #sidebar-left
  {
    float: left;
    width: 200px;
    margin-left: 0;
    margin-right: -200px; /* Negative value of #sidebar-left's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */
  }

  #sidebar-left-inner
  {
    padding: 0;
    margin: 0;
  }

/** sidebar-right **/
  #sidebar-right
  {
    float: right;
    width: 200px;
    margin-left: -200px; /* Negative value of #sidebar-right's width + right margin. */
    margin-right: 0;
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
  }

  #sidebar-right-inner
  {
    margin: 0;
    padding: 0;
  }

/** footer **/
  #footer
  {
  }

  #footer-inner
  {
  }

/** closure **/
  #closure-blocks
  {
  }

/** Prevent overflowing content **/
  #header,
  #content,
  #navbar,
  #sidebar-left,
  #sidebar-right,
  #footer,
  #closure-blocks
  {
    overflow: visible;
    /*word-wrap: break-word;  A very nice CSS3 property */
  }


  /* If a div.clear-block doesn't have any content after it, Firefox and Safari
     will mistakenly place several pixels worth of space between the bottom of
     the div and the bottom of the viewport. This fixes it. */
  #page { overflow-y: hidden; } /* CSS3 property */
