/* Controls the common style in hyperleda web interface */
/* 2003-02 VladiG/Sosfia team                           */

@import url(common2.css); /*IE and NN6x styles*/

body {
   background-color:#FDF2D7; 
   color: #000000;
}

.warning { 
/* Selects any element with attribute class="warning" */
   background-color:#FFFFFF;
   color: black;
   border:black;
/*   border:thin dotted;*/
   text-align:center;
/*   size:-3;*/
}



/* style for button ... 
   The problem is to find a solution to display <a> tags 
   looking as buttons, and with their color changing when the mouse
   go onver them...
   This is quite easy to do with N6 or IE, but not with N4.

   The problem with N4 is that it is not possible to define border style
   or any attribute for "inline" tags. They are automatically changed
   into "block elements". A break is added after and >a> does not work.

   The solution adopted here, is based on a trick. Explicitely the fact 
   that N4 ignores the @import command.
   Therefore, we put in a first css file all the definitions which are
   understood by N4 or at least which does not hurt it. And at the end
   we call a second css, with @import, where we put the definitions
   which would be a disaster for N4.
*/

.btn { 
   background-color:#FFFFFF; 
   text-decoration: none;

/* border style gives a nice apparence, like a button, but with N4
   it breaks the line.
   NN 4.xx transforms an inline element that has a border, padding or a 
   margin into a block-level element, and introduces a line break
    before and after the element.
*/
}
/*  background-color for :visited does not work well with N4
	put it in the other css ... */
a.btn:visited {
/*  color: #ffe4ca;*/
    color: #000000;
}

/* a:hover does not work with N4, but does not hurt */
a.btn:hover {
/*  color: #8a4500;*/
  color: #000000;
  background-color: #ccaaaa;
}

/*****************************************************************************/

