/* Copyright 2005
 * - Mélanie Bats <melanie POINT bats CHEZ utbm POINT fr>
 * - Thomas Petazzoni <thomas POINT petazzoni CHEZ enix POINT org>
 * - Jean-Marie Favreau <jeanmarie POINT favreau CHEZ free POINT fr>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 */

body {
	margin: 0px 0px 0px 0px;
	color: black;
	background-color: #1d99d3;
	font: 12pt/18pt georgia;
}

div.main {
	margin: 5px 5px 5px 5px;
	padding: 10px 10px 10px 10px;
	color: black;
	background-color: white;
}

div.footer {
	color: black;
	background-color: white;
        font-size: 10pt;
	margin: 5px 5px 5px 5px;
        text-align: center;
}

#important
{
  position: absolute;
  border: 1px dashed black;
  float: right;
  top: 1em;
  right: 2em;
  width: 16em;
}

#important p
{
  margin: 0;
  padding: 5px;
  text-align: justify;
  font-size: 12px;
}

form
{
  margin: 0;
  padding: 0;
}

select
{
  border: 0px #eee solid;
}

h1 {
	text-align: center;
	font: 26pt georgia;
	letter-spacing: 2px;
	margin: 5px 5px 5px 5px;
}

h2 {
     margin-top: 3em;
     text-align: center;
}

h2.calendar {
     margin-top: 1em;
}

h3.calendar {
	text-align: center;
}

a:link, a:visited {
	font-weight: bold;
	text-decoration: none;
	color: #336699;
}

a:hover, a:active {
	color: #b9dff1;
}

table.calendar {
	width: 90%;
	margin: 0 auto;
}

table.calendar td {
	height: 6em;
	vertical-align: top;
	width: 14%;
	font-size: 12px;
	text-align: left;
	color: #444444;
}

table.calendar td h1 {
	text-align: left;
	font-size: 10px;
	margin: 1px 1px 1px 1px;
}

table.calendar td ul {
	padding-left: 15px;
	margin: 0;
	list-style-type: circle;
}

table.calendar td ul li {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	line-height: 1.2em;
}

/*
 * These attributes apply to all cells of the agenda
 */
td a:link, td a:visited {
	font-weight: normal;
	text-decoration: none;
	color: #444444;
}

td a:hover, td a:active {
	color: #1d99d3;
}

/*
 * These attributes apply to the cells that correspond to the days
 * already past in the current month.
 */
td.past_month {
	background: #74a9df;
}

td.past_month a:hover, td.past_month a:active {
        color: #000000;
}

/*
 * These attributes apply to the cells that correspond to the future
 * days in the current month.
 */
td.current_month {
	background: #b9dff1;
}

/*
 * These attributes apply to the cell corresponding to the current day
 */
td.today {
        border: 1px #888 solid;
}

/*
 * These attributes apply to the cells that correspond to days in the
 * previous or next month of the current month
 */
td.other_month {
	background: #eeeeee;
}

td.other_month a:link,  td.other_month a:visited {
      color: #777777;
}

td.other_month a:hover, td.other_month a:active { 
	color: #aaaaaa;
}

p.error {
          color: red;
          text-decoration: bold;
}

/*
 * Region map (used only by map.php)
 */

#region-map
{
  border: 0;
  margin-left: 16em;
}

dl.region-map-event
{
  border: 1px #364970 solid;
  background: #dfedff;
  position: fixed;
  text-align: left;
  padding: 3px;
  width: 15em;
  z-index: 2;
  margin: 0.5em 0 0 0;
  overflow: hidden;
  list-style: none;
}

dl.region-map-event dt
{
  font-size: 13px;
  border: none;
  padding: 0;
  margin: 0;
  margin-bottom: 0.2em;
  border-bottom: 1px solid black;
}

dl.region-map-event dd
{
  border: none;
  padding: 0;
  margin: 0;
  font-weight: normal;
  margin-bottom: 0.3em;
  font-size: 12px;
}

dl.region-map-event ul
{
  line-height: 1.2em;
}

/*
 * Advises for event submission. (used only in submit.php)
 */
#advises
{
  background-color: #dfedff;
  margin-left: 100px;
  margin-right: 100px;
  padding-left: 10px;
  padding-right: 10px;
}

/*
 * Statistics (used only by stats.php)
 */

table.stats {
  width: 60%;
}

table.stats tr.odd {
  background-color: #dfedff;
}

table.stats tr.even {
  background-color: #b9d8ff;
}

table.stats td.item {
  width: 90%;
}

table.stats td.value {
  text-align: right;
}

/*
 * Lug list (used only by showevent.php)
 */
#lug-list
{
  border: 1px #364970 solid;
  background: #dfedff;
  float: right;
  margin-right: 1.2em;
  margin-top: 8em;
  width: 15em;
  padding: 5px;
  font-size: 12px;
}

#lug-list h1
{
  font-size: 1.2em;
  border-bottom: 1px black solid;
  padding-bottom: 2px;
}

#lug-list ul
{
  line-height: 1.2em;
}

#subtitle
{
  margin-top: 0;
  text-align: center;
  font-size: 80%;
}
