:link {
  text-decoration: none;
  color: red;
}
:visited {
  text-decoration: none;
  color: #a00;
}

:link:hover, :visited:hover {
  text-decoration: underline;
  color: red;
}

ul { 
  list-style-image: url("iconos/cuad.png");
}
li
{
  margin-bottom: .3em;
}

img { 
  border: 0px;
}

body {
  margin-top: 0px;
  margin-right: 5%;
  margin-left: 5%;
/*   margin-left: 20px; */
  padding-top: 0px;
  padding-right: 0px;
  font-family: sans-serif;
  font-size: 90%;
  text-align: center; /* Center container div in ie6 >:| */
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia,Garamond,Palatino,"Book Antiqua",serif;
  margin-top: 0;
}

h1
{
  margin-top: 20px;
  padding-bottom: 10px;
/*  color: #7f593d; */
/*   background: url("iconos/linea.png") left bottom no-repeat; */
  border-bottom: 1px solid gray;
  font-size: 180%;
  text-align: left;
}

h2, h3 {
/*  color: #A06040; */
/*   color: #503020; */
}

h2 {
  /* font-weight: bold; */
  font-size: 150%;
  border-bottom: 1px solid gray;
}


/* --------------------------------------------------------------------- */

.figure, .figureright {
    position: relative;
    float: right;
    right: -50px;
}

.figureleft {
    position: relative;
    float: left;
    left: -50px;
}

/* --------------------------------------------------------------------- */

img.equation.displayed {
    display: block;
    padding: .5em 2em;
}

/* --------------------------------------------------------------------- */

.toggle {
  padding-left: 20px;
  background: url("iconos/rightarrow.png") left no-repeat;
  cursor: pointer;
  color: red;
}

.toggle:hover {
  text-decoration: underline;
}

.toggle.on {
  background: url("iconos/downarrow.png") left no-repeat;
  color: #8b0000;
}

/*
 * ------------------------------------------------------------------------
 */

a.abstractlink:hover            /* Abstract links. */
{
  /* They should be underlined when hovering, but are not because they
     are not real links, but javascript. Make them the same style as
     other links. */
  text-decoration: underline;
  color: red;
}

a.pdflink                       /* PDF links have an icon. */
{
  padding-left: 20px;
  background: url("iconos/pdf.png") no-repeat left;
}

a.arxivlink                     /* arXiv links have an icon. */
{
  padding-left: 20px;
  background: url("iconos/arxiv-red.png") no-repeat left;
}

a.arxivlink:hover
{
  background: url("iconos/arxiv.png") no-repeat left;
}

a.journallink                   /* Journal links have an icon. */
{
  padding-left: 20px;
  background: url("iconos/stock_book_red.png") no-repeat left;
}

a.journallink:hover
{
  background: url("iconos/stock_book_blue.png") no-repeat left;
}

a.citeulikelink                 /* Citeulike links have an icon. */
{
  padding-left: 20px;
  background: url("iconos/citeulike-red.png") no-repeat left;
}

a.citeulikelink:hover
{
  background: url("iconos/citeulike.png") no-repeat left;
}

p.notice                        /* Legal notices, usually in footer. */
{
  color: #555;
  font-size: 80%;
}


/*
 * Parts of a page
 * ------------------------------------------------------------------------
 */

/*
 * Container div
 * ---------------------------------------------
 */

div#container
{
  margin: 0 auto 0 auto;
  /* max-width: 55em;
     min-width: 45em; */
  width: 50em;  /* For ie6... */
  text-align: left;
}

/*
 * Main content
 * ---------------------------------------------
 */

div#main
{
  margin-right: 9.6em;     /* Space for navbar. */
  padding-right: 20px;
}


/*
 * Navigation bar
 * ---------------------------------------------
 */

div#nav
{
  float: right;
  width: 12em;
  font-size: 80%;
}

/* Titles */

div#nav h2
{
  border-bottom: 1px solid black;
}

div#nav h3
{
  font-size: 100%;
  border-bottom: 1px dashed black;
}

/* Paragraphs */

div#nav p
{
  font-style: italic;
}

/* Lists */

div#nav ul
{
  padding-left: 1em;
}

div#nav ul li
{
  display: block;
  padding: 0;
  border-bottom: 1px solid red;
}


/*
 * Old navigation bar
 * ------------------------------------------------------------------------
 */

#navbar {
  float: right;
  margin-right: 50px;
  margin-top: 120px;
  padding: 5px;
  text-align: center;
  border: 2px solid black;

  font-weight: bold;
}

*#navbar ul {
  padding: 0px 15px 0px 25px;
}


/* ---------------------------------------------------------------- */

