/*
  New base style file for LFCS web pages.

  Jan Obdrzalek
*/
/* 
  - The font family incantation "Helvetica, Arial, sans-serif" is because the
     standard designation sans-serif isn't always a very sensible SS font,
     notably on Windows, so we select Arial.  But Arial on Mac can
     (apparently) be ugly, so we add to Helvetica, which is also what we most
     want on Unix. [Ian Stark]
     
  - I no longer care for Netscape 4, so none of the Ian's workarounds are included. 
     If anybody keeps on using Netscape 4, it is only his fault.
     [Jan Obdrzalek]
*/

/* default page style */
body.lfcs {
  margin:0; padding:0;
  text-align:center;  /* this centers the document - needed for IE */
  font-family: Arial, sans-serif;   
}

/* Nested boxes trick */

#clean {       
  width: 90%; 
  max-width: 800px; /* standard way */
  width:expression(document.body.clientWidth > 800? "800px": "auto" );  /* IE way */
  /* we can do this properly - using em's and not pixels 
     credit: http://www.svendtofte.com/code/max_width_in_ie/ */
  max-width:50em;
  width:expression( 
    document.body.clientWidth > (800/12) * 
    parseInt(document.body.currentStyle.fontSize)?
        "50em":
        "auto" );
  margin: 1em auto; /* top/bottom left/right */
  text-align:left;  
}

#stripe-gray { /* gray stripe on the left */
  margin:0; padding-left: 25px;  /* allows for the stripe */
  background: url('images/bar.gif') top left repeat-y;
}


/* 2 COLUMN LAYOUT
 * |              |     |                      |
 * | sidebar 10em | 1em | main                 |
 * |              |     |                      |
 */

#sidebar {
  float: left;
  width: 11em;
  margin:0; padding:0;
}
   
#sidebar-content { /* if no block element is nested */
  margin:0;
}
   
#main {
  margin:0 0 0 11em; padding:0;
}


/* This is a hack.
 * Makes the parent block to be completed bellow the floater bottom edge.
 */
hr.cleaner { 
  clear:both;
  height:1px;
  margin: -1px 0 0 0; padding:0;
  border:none;
  visibility: hidden;
}

/* LFCS header */

#header {
  margin:0; padding: 0;  
}
#header-content {
  margin:0; padding: 0;
}

/* LFCS footer */
#footer {
  font-size:small;
}

/* LFCS colour scheme */

.Cblue{ /* light blue */
  background-color:#ccddee;
  }
.Cgray{ /* light gray */
  background-color:#ededed;
  }
.Cyellow{ /* light yellow */
  background-color:#ede8cc;
  }
.Cdarkblue{ /* Ed Uni blue */
  background-color:#000033;
  color:white;
  }

/* Default colors for links and headers */

a:link { /* blue */
  color:#000080;
}

a:visited { /* darkish gray */
  color:#333333;
}

.Cdarkblue a:link { /* white */
  color:#ffffff;
}

.Cdarkblue a:visited { /* light gray */
  color:#cccccc;
}
 
h1, h2, h3, h4, h5, h6 { /* Ed Uni blue */
  color:#000033;
}     


/* the rest */
#news {
  /*min-height:30ex;  */
  margin:0; padding: 0.5em 1em; 
  background-color:#ede8cc;     /* zluta */
}

#empty {
  min-height:20ex;
  margin:0; padding: 0.5em 1em; 
}

#contact {
  background-color:#ccddee;	/* modra */
  margin:0; padding: 0.5em 1em;
/*  position:static;*/
  bottom:1em;
}

#people {
  width:100%;  
  padding:0;  
}

/* Formatting for People > Directory */

.directory {
  border: 2px solid black; 
  border-collapse: collapse;
}

.directory tr  {
  border: 1px solid black; 
}

.directory td, .directory th  {
  padding:0.5ex 1em;
}

.directory a {
  text-decoration:none;
}

/* Formating for People > Mailing Lists tables */

.lists table {
  width: 90%;
}
/*
.lists > tbody > tr > td {
  width: 20%;
}

.lists > tbody > tr > td td {
  width: 80%;
}*/

/* Research > Grants */
.grants th {
  text-align:left;
  text-indent:0;
}

/* Events > LabLunch > Schedule */
.schedule {
  border: 2px solid black; 
  border-collapse: collapse;
}

.schedule tr  {
  border: 1px solid black; 
}

.schedule td, .schedule th  {
  padding:0.5ex 1em;
  text-align:left;
}

/* Events > Theory-seminars */
.seminar td {
  padding:0.5ex 1em;
}

.seminar th {
  padding:0.5ex 1em; 
  text-align:left;
}

.month {
  font-style:italic; 
  background-color:white;
}

/* maling lists links */
a.list {
  font-family:monospace; 
}

