/*------------------------------------------------------------------*/
/*
   Module:	Website application
   File:	main.css
   Description:	Website application style sheet
   Identifier:	-
   Version:	2.0
   Author:	Alain Callebaut
   Creation:	16-Jan-2019
   Modified:	17-Sep-2020 AC

   Copyright 2019-2020 Alain Callebaut.  All rights reserved.
*/
/*------------------------------------------------------------------*/

/* Property grouping: T R B L - TB RL */

/*------------------------------------------------------------------*/
/*
   General styles
*/

BODY {
  background-color: #fff;
  color: #666;
  font-family: Lucida,'Open Sans',Verdana,Geneva,Arial,Helvetica,sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
}

DIV.dbg {
  background-color: #ddd;
  color: #f44;
  font-size: 0.8rem;
}

A {
  text-decoration: none;
  color: inherit;
}
H1 {
  color: #000;
  font-size: 2em;
  font-weight: normal;
  margin: 0.6em 0 0.4em 0;
}
H2 {
  color: #111;
  font-size: 1.5em;
  font-weight: normal;
  margin: 0.6em 0 0.4em 0;
}
H3 {
  color: #222;
  font-size: 1.2em;
  font-weight: normal;
  margin: 0.6em 0 0.4em 0;
}
H4 {
  color: #333;
  font-size: 1em;
  font-weight: bold;
  margin: 0.6em 0 0.4em 0;
}
P {
  font-size: 1em;
  margin: 0.6em 0 0.4em 0;
}

.gentitle {
  text-transform: uppercase;
  text-align: center;
}

.txtindent {
  text-indent: 2em;
}
.txtstress {
  font-weight: bold;
}
.txtnote {
  font-size: smaller;
  text-transform: none;
}
.txterror {
  color:#f00;
}
.txtattent {
  color:#00f;
}

/*------------------------------------------------------------------*/
/*
   Special elements
*/

DIV.button {
  display: inline-block;
  background-color: #eb4;
  color: #000;
  text-align: center;
  margin: 0;
  padding: 0.2em 0.5em;
  border: 3px solid #a32;
  border-radius: 6px;
}

/*------------------------------------------------------------------*/
/*
   Site navigation bar
*/

DIV.navcont {
  position: static;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
  margin: 0;
  border-bottom: 4px solid #ddd;
  padding: 4px 4px 0 4px;
}
DIV.navitem {
  font-size: 1.2em;
  color: #000;
  margin: 0 1em 0 0;
  padding: 0;
}
DIV.navinfo {
  margin-left: auto;
  font-size: 0.9em;
}
IMG.navdata {
  vertical-align: middle;
  margin-right: 0.25em;
}

/*------------------------------------------------------------------*/
/*
   Site directory bar
*/

DIV.dirbar {
  position: static;
  overflow: hidden;
  background-color: #888;
  color: #fff;
  font-size: 0.9em;
  margin: 0;
  padding: 0em 1em 0.5em 1em;
}
DIV.diritem {
  float: left;
  margin-right: 2em;
/*  margin: 0 50px 10px 20px;*/
}
UL.dirdata {
  list-style-type: none;
  margin: 0.5em 0;
  padding: 0;
  line-height: 1.3em;
}

/*------------------------------------------------------------------*/
/*
   Data presentation styles - blocks
*/

DIV.blkcont {
  position: static;
  overflow: hidden;
  margin: 0;
  padding: 1em;
}
DIV.blkitem {
  float: left;
  display: flex;
  flex-direction: row;
  text-align: left;
  margin: 0 1em 1em 0;
  padding: 0;
  width: 23em; height: 10em;
}
DIV.blkitemL {
  width: 28em; height: 12.5em;
}
DIV.blkitemM {
  width: 23em; height: 10em;
}
DIV.blkitemS {
  width: 18em; height: 5em;
}
DIV.blkcolm {
  display: inline-block;
  vertical-align: top;
  margin: 0 1em 0 0;
  padding: 0;
}
.blkdata {
  margin-top: 0;
}

/*------------------------------------------------------------------*/
/*
   Data presentation styles - rows
*/

DIV.rowcont {
  position: static;
  overflow: hidden;
  margin: 0;
  padding: 1em;
}

DIV.rowitem {
  text-align: left;
  margin: 0 0 1em 0;
  padding: 0;
}

/*------------------------------------------------------------------*/
/*
   Data presentation styles - tables
*/

TABLE.rowdata {
  margin: 0;
  padding: 0;
  border: 3px solid #a32;
  border-collapse: collapse;
}
TD, TH {
  padding: 0.25em;
  vertical-align: top;
  border-top: 1px solid #a32;
  border-left: 1px solid #a32;
  border-right: 1px solid #a32;
}
TD.spacer, TH.spacer {
  padding: 0.125em 1em;
  border: none;
}

.L { text-align: left; }
.C { text-align: center; }

.Grn { background-color: #dfd; }
.Pnk { background-color: #fdd; }
.Prp { background-color: #ddf; }
.Blu { background-color: #def; }

/*------------------------------------------------------------------*/
/*
   Data presentation styles - forms
*/

FORM.rowdata {
  margin: 0;
  padding: 0;
}
DIV.frmline {
  clear: both;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  margin: 0;
  padding: 0;
  height: 2em;
}
DIV.frmlineH {
  padding: 0.5em 0 0 11em;
  height: 2.2em;
}
DIV.frmlineX {
  padding: 0.5em 0;
  height: auto;
}
P.frmlbl {
  float: left;
  text-align: right;
  margin: 0 0.5em 0 0;
  width: 10.5em;
}
DIV.frmspc {
  width: 1em;
}
SELECT.frmfld {
  font-size: inherit;
}
INPUT.frmfld {
  font-size: inherit;
}
INPUT.frmfldS {
  width: 8em;
}
INPUT.frmfldM {
  width: 18em;
}
INPUT.frmfldL {
  width: 28em;
}
BUTTON.frmbtn {
  font-size: inherit;
  font-weight: bold;
  padding: 0.2em 0.8em;
}


/*------------------------------------------------------------------*/
/*   End Of File						    */
/*------------------------------------------------------------------*/
