 /* Copyright (c) 2008-2012 Bruno BEAUFILS */

/*
   tailles
   police
   texte
   couleur
   marges
   bordure
 */

/************************************************************************** */
/* Version écran */
@media screen
{

  /* ********************************************************************** */
  /* Texte classique */
  body
  {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    background: white;
    color: black;
    margin: 0;
    padding: 0;
  }

  a,
  a:link,
  a:visited,
  a:active
  {
    text-decoration: none;
    color: blue;
  }
  a:hover
  {
    background:silver;
  }

  h1,
  h2,
  h3
  {
    clear: both;
  }

  blockquote
  {
    font-style: italic;
    margin: 0;
    padding: 1em;
    border: 1px dotted black;
  }

  table,
  tr,
  th,
  td
  {
    border-collapse: collapse;
    border: thin black solid;
    padding: .25em;
  }
  code
  {
    background:lightgray;
  }

  /* ********************************************************************** */
  /* La page est entourée d'un cadre */
  #page
  {
    width: 80%;
    background: white;
    color: black/*#666000*/;
    margin: 2em auto 0 auto;
    margin-right: auto;
    margin-left: auto;
    padding: 0 2em 0 2em;
    border: 1px solid #cccccc;
  }

  /* L'ours de chaque page est en dessous de la page */
  #ours
  {
    clear: both;
    font-size: 70%;
    text-align: center;
    color: #696969;
    margin: 1em 0 1em 0;
    padding: 0 0 0 0;
  }

  /* Le logo */
  #logo
  { 
    width: 200px;
    height: 72px;
    margin: 0 0 0 -2em;
    padding: 0;
  }
  #logo a
  {
    margin: 0;
    padding: 0;
    background: transparent;
  }
  #logo img
  {
    width: 200px;
    height: 72px;
    border: 0;
  }

  /* Le menu de navigation */
  #menu
  {
    font-family: Verdana, Arial, Helvetica, sans-serif;
/*  font-size: 125%;*/
    font-weight: bold;
    line-height: 1.5em;
    background: #ff9900;
    color: black;
    margin: -2em -2em 0 172px; /* 172px parce que = 200px - 2em (2*14px) */
    padding: 0.25em;
  }
  #menu ul
  {
    text-align: center;
    margin: 0;
    padding: 0;
    border: 0;
  }
  #menu li
  {
    list-style: none;
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
  }
  #menu a
  {
    background: #ff9900;
    color: black;
    margin: 0;
    padding: 0 .5em 0 .5em;
    border: 1px solid #ff9900;
  }
  #menu a:hover
  {
    background: #ff9900;
    color: black;
    border: 1px solid black;
  }

  /* Le fil d'ariane */
  #ariane
  {
    font-size:75%;
    font-style:italic;
  }
    
  /* Le contenu des pages */
  #contenu h1
  {
    font-size: 150%;
    font-weight: bold;
    color: black;
    border-bottom: 1px solid black;
  }

  #contenu h2
  {
    font-size: 125%;
    font-style: italic;
    color: black;
  }

  /* Les méta-données sont invisibles par défaut */
  pre.meta
  {
    display:none;
  }

  /* Les messages à mettre en avant */
  p.pub
  {
    clear: both;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: red;
  }
  .pub a
  {
    text-decoration: underline;
    color: red;
  }
  img.pub
  {
    display: block;
    margin: 1em auto;
  }

  /* ********************************************************************** */      
  /* Les mises en avant de la page de garde pour les élections */
  div.elections
  { 
    border: 2px red solid;
  }
  div.elections p
  {
    font-size:130%;
    text-align:center;
  }
  div.elections h1
  {
    text-align:center;
    border-bottom:0px white none;
  }

  /* Les tables de date de réunions */
  .date_passee
  {
    font-style: italic;
    color: silver;
  }
  table.reunions
  {
    margin: auto;
    margin-top: .75em;
    margin-bottom: 1em;
    padding: 0;
    border: 1px solid black;
    border-collapse:collapse;
  }
  table.reunions th,
  table.reunions td
  {
    padding: 0.25em;
  }
  table.reunions th
  {
    background: silver;
    color: black;
  }
  table.reunions tr
  {
    background: white;
  }
}

/************************************************************************** */
/* Version imprimé */
@media print
{
  body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 8pt;
    background: white;
    color: black;
    margin: 0;
    padding: 0;
  }
  acronym
  {
    border: 0;
  }
  #logo
  {
    display:none;
    text-align: center;
  }
  #menu
  {
    display: none;
  }
  #ours
  {
    display: none;
  }
  h1
  {
    clear: both;
    font-size: 125%;
  }
  
  h2
  {
    clear: both;
    font-size: 112.5%;
  }
}

/************************************************************************** */
/* Pour tous les médias */
acronym
{
  border-bottom: 0;
}

/* La liste des candidats */
table.liste_candidats
{
  float:left;
  margin:1em;
  margin-top: .75em;
  margin-bottom: 1em;
  padding: 0;
  border: 1px solid black;
  color: black;
  border-collapse: collapse;
}

/* La liste des candidats de l'IUT de 2011 */
h1.iut-2011 ol.liste_candidats li
{
  margin:.25em 0;
}

h1.iut-2011 + h2 + ol.liste_candidats li a img,
h1.iut-2011 + h2 + ol.liste_candidats + h2 + ol.liste_candidats li a img,
h1.iut-2011 + h2 + ol.liste_candidats + h2 + ol.liste_candidats + h2 + ol.liste_candidats li a img
{
  width: 50px;
  border:0;
  vertical-align: middle;
}
h1.iut-2011 + #photo
{
  float:left;
  margin: .5em 2em .5em .5em;
}
h1.iut-2011 + p + ul + h2
{
  clear:both;
}

/* La liste des candidats des conseils centraux de 2012 */
#contenu h1.lille1-2012 + h2,
#contenu h1.lille1-2012 + h2 + div + div + div + h2,
#contenu h1.lille1-2012 + h2 + div + div + div + h2 + div + div + div + h2
{ text-align:center; width:100%; font-style:normal; font-weight:bold; clear:both; }

div.liste_candidats
{ 
  float:left;
}

div.liste_candidats
{
  width:30%;
  border:1px solid black;
  margin:0 1em 1em 1em;
  padding:0 0 .5em 0;
}
div.invalidee
{
  background: #ff7777;
}
div.invalidee p
{ 
  margin: 0 1em;
}
div.liste_candidats h3
{ 
  text-align:center; width:100%; font-style:normal; background:lightgray; margin:0;
}
div.liste_candidats h4
{ 
  text-align:right; font-style:italic; font-size:90%; margin:0; padding: 0 .5em 0 0; border-bottom:1px dotted grey;
}

div.liste_candidats ol.liste_candidats
{ 
  padding:0 0 0 2em;
}
div.liste_candidats ol.liste_candidats li
{
  margin:0;
  clear:both;
}

div.liste_candidats ol.liste_candidats li>a
{
  display:inline-block;
  width:30px;
  margin: 0 .5em 0 0;
  border:0;
  padding:0;
  vertical-align: middle;
}
div.liste_candidats ol.liste_candidats li a img
{ 
  width:30px;
  padding:0;
  margin:0;
  border:0;
  vertical-align: middle;
}
div.liste_candidats ol.liste_candidats li span
{
  display:inline-block;
  border:0;
  margin:0;
  padding:0;
  vertical-align: middle;
}

h1.lille1-2012 + #photo {
    float:left;
    margin: .5em 2em .5em .5em;
}
lille1-2012 + p + ul + h2 {
   clear:both;
}

th.college {
    background:silver;
    color:black;
}
th.secteur {
    background:silver;
    text-align: right;
    font-style: italic;
    font-size: 75%;
    border:1px dotted black;
}
td.ordre:after {
    content: "- ";
}
td.nom, td.prenom {
    font-weight: bold;
}
td.statut:before {
    content: "(";
}
td.statut:after {
    content: ")";
}
td.statut {
    font-size: 75%;
}
td.composante {
    text-align: right;
    font-size: 75%;
    font-style: italic;
}
td.laboratoire {
    display:none;
}

span.ordre:after {
    content: "-";
}
span.nom, span.prenom {
    font-weight: bold;
}

/* La liste des fichiers attachés */
#fichiers
{ 
  clear:both;
}

/* Pour les index classés par année */
div.year
{ 
  float:left;
  margin: .5em 1em;
  display:table-cell;
}
div.year ul
{
  list-style:none; padding:0;
}

div.year h2
{ 
  text-align:center;
}