/* Global reset */
*
{
  margin:                     0;
  padding:                    0;
}

html, body
{
  width:                      100%;
  height:                     100%;
}

body
{
  background-color:           #fff;
}

/***********************************
 *                                 *
 *           TYPOGRAPHY            *
 * Default fonts for HTML          *
 * elements.                       *
 *                                 *
 ***********************************/

body 
{
	font-family:                "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:                  11px;
}

h1
{
  font-size:                  16px;
  font-weight:                bold;
}

h2
{
  font-size:                  15px;
  font-weight:                bold;
}

h3
{
  font-size:                  14px;
  font-weight:                bold;
}

h4
{
  font-size:                  13px;
  font-weight:                bold;
}

h5
{
  font-size:                  12px;
  font-weight:                bold;
}

h6
{
  font-size:                  11px;
  font-weight:                bold;
}

p 
{
	margin-bottom:              0.8em;
	text-align:                 left;
	line-height:                1.4em;
}	

a.text            { color:#000099; text-decoration: none;      }
a.text:link 	    { color:#000099; text-decoration: none;      }
a.text:visited	  { color:#000099; text-decoration: none;      }
a.text:hover      { color:#0000ff; text-decoration: underline; }
a.text:active     { color:#000099; text-decoration: none;      }

a.graphic         { text-decoration: none; border: none; }
a.graphic:link    { text-decoration: none; border: none; }
a.graphic:visited { text-decoration: none; border: none; }
a.graphic:hover   { text-decoration: none; border: none; }
a.graphic:active  { text-decoration: none; border: none; }

/***********************************************************
 * FORM STYLE
 * This style is used to solve some cross-browser
 * difficulties. In some browsers, forms are always padded
 * with some bottom whitespace, unless the FORM tag is
 * supplied with the style defined below.
 ***********************************************************/
 
form
{
  font-family:                inherit;
  font-size:                  100%;
  padding:                    0;
  margin:                     0;
  display:                    inline;
  text-indent:                0px;
  clear:                      none;
}

label
{
  font-weight:                bold;
  padding-bottom:             1px;
}

div.field_title
{
  font-weight:                bold;
  padding-bottom:             1px;
}

div.field_instr
{
  font-style:                 italic;
  font-size:                  90%;
  padding-bottom:             2px;
}

div.error 
{
  color:                      red;
  font-size:                  inherit;
}

/* By default, tables inherit font family, size and color and are left-aligned. */
table
{
  text-align:                 left;
  font-family:                inherit;
  font-size:                  100%;
  color:                      inherit;
}

/* Default style definition for <input> tag. */
input
{
  font-family:                inherit;
  font-size:                  100%;
  font-weight:                normal;
  font-style:                 normal;  
  clear:                      right;
  width:                      99%;
  margin-bottom:              3px;	
  color:                      #333;
  padding:                    2px;
  border:                     solid 1px #41426D;
  background:                 transparent url("input.gif") repeat-x 0 0;  
}

/* Default style definition for <select> tag. */
select
{
  font-family:                inherit;
	font-size:                  100%;
  clear:                      right;
  width:                      99%;
  margin-bottom:              3px;
  border:                     solid 1px #41426D;
  background:                 transparent url("input.gif") repeat-x 0 0;  
}

option
{
  background:                 #fff;
}

/* Default style definition for <textarea> tag. */
textarea
{
  font-family:                inherit;
	font-size:                  100%;
  clear:                      right;
  width:                      100%;
  height:                     400px;
  margin-bottom:              3px;	
  border:                     solid 1px #41426D;
  background:                 transparent url("input.gif") repeat-x 0 0;  
  padding:                    2px;
}

/*
 * 'Validation' is the style used to print error messages
 * when a form was not filled out correctly.
 */
div.validation
{
  color:                      #a00;
  font-weight:                bold;
}

div.validation ul
{
  list-style-type:            square;
  list-style-image:           none;
  padding-left:               15px;
  margin-left:                2px;
  margin-top:                 3px;
}

/***********************************
 *                                 *
 *          DARKENER               *
 * DIV style for placing overlay   *
 * over whole site to allow        *
 * modal window placement.         *
 *                                 *
 ***********************************/

div.artemis_darkener
{
  position:                   absolute;
  top:                        0;
  left:                       0;
  z-index:                    1;
  width:                      100%;
  height:                     100%;
  background-color:           #000;
  filter:                     alpha(opacity=50);
  opacity:                    0.5;
  margin:                     auto;
}

div.artemis_question
{
  position:                   absolute;
  top:                        50%;
  left:                       50%;
  z-index:                    2;
  width:                      400px;
  height:                     100px;
  margin-top:                 -50px;
  margin-left:                -200px;
  background-color:           #fff;
  border:                     solid 1px #000;
}

div#artemis_loader
{
  position:                   absolute; 
  top:                        10px; 
  right:                      10px; 
  left:                       auto; 
  width:                      77px; 
  height:                     15px;
  background:                 transparent url("loading.gif") no-repeat 0 0;
}

/***********************************
 *                                 *
 *           DBTABLE               *
 *                                 *
 ***********************************/

.table 
{
  width:                      100%;              /* Fills up width of container. */
  padding:                    2px 0px 2px 0px;
}

/* Header columns */
.table th 
{
	padding:                    1px 7px 1px 3px;
  text-align:                 left;
}

.table th.with-content
{
	font-weight:                bold;
	padding:                    1px 7px 1px 3px;
  text-align:                 left;
  background-color:           #eee;
}

/* Row that does not alternate in color. */
.table tr.row td /* you *must* add td here for the padding to have effect. */
{
  background-color:           #fff;
  padding:                    1px;
}

/* Row that alternates in color (color 0) */
.table tr.row0 td /* you *must* add td here for the padding to have effect. */
{
  background-color:           #fff;
  padding:                    1px;
}

/* Row that alternates in color (color 1) */
.table tr.row1 td /* you *must* add td here for the padding to have effect. */
{
  background-color:           #f8f8f8;
  padding:                    1px;
}

.table tr.hover td
{
  background-color:           #F1F5FA;
}

/* Paging arrows and numbers. */
.table .pager
{
  width:                      100%;              /* To fill up the bottom of the table. */
  color:                      #000;
  margin-top:                 3px;
  margin-bottom:              3px;
  font-weight:                bold;
  font-size:                  9px;
}

.table div.pager-spot
{
  float:                      left;
  text-align:                 center;
  width:                      22px;
  height:                     20px;
  background:                 url("icons/resultset/pager_spot.gif") no-repeat 0 0;
  padding-top:                2px;
  margin-right:               2px;
}

.table div.pager-nospot
{
  float:                      left;
  text-align:                 center;
  width:                      22px;
  height:                     20px;
  background:                 url("icons/resultset/pager_nospot.gif") no-repeat 0 0;  
  padding-top:                2px;
  margin-right:               2px;
}

.table .pager a
{
  font-weight:                bold;
  font-size:                  9px;
}

.table .pager-total
{
  color:                      #888;
  vertical-align:             middle;
}

/***********************************
 *                                 *
 *         ERROR OUTPUT            *
 *     Styles for debug output     *
 *                                 *
 ***********************************/
 
div#artemis_error
{
  position:                   absolute;
  left:                       10px;
  top:                        10px;
  border:                     solid 1px #FFA3AE;
  background:                 #FFE3E6;
  filter:                     alpha(opacity=80);
  opacity:                    0.8;
  padding:                    10px;
  z-index:                    9999;
}

/***************************************************
 *                                                 *
 *                     BOXES                       *
 *                                                 *
 ***************************************************/ 

div.box_normal
{
  border:                     solid 1px #B2D7E1;
  background:                 #F2F7F8;
  padding:                    5px;
  margin:                     0 0 10px 0;
}

div.box_warning
{
  font-weight:                bold;
  border:                     solid 1px #ECDA6E;
  background:                 #FFFFE9;
  padding:                    5px;
  margin:                     0 0 10px 0;
}

div.box_error
{
  color:                      #6A0005;
  border:                     solid 1px #DEA3A3;
  background:                 #FFEDE5;
  padding:                    5px;
  margin:                     0 0 10px 0;
  font-weight:                bold;
}

div.box_info
{
  color:                      #294B6E;
  border:                     solid 1px #B2D7E1;
  background:                 #F2F7F8;
  padding:                    5px;
  margin:                     0 0 10px 0;
}

div.box_success
{
  color:                      #386522;
  border:                     solid 1px #9CD580;
  background:                 #EDFFE4;
  padding:                    5px;
  margin:                     0 0 10px 0;
  font-weight:                bold;
}

/***********************************
 *                                 *
 *            DATEBOX              *
 *                                 *
 ***********************************/

div.datebox
{
  border:                     solid 1px green;
  margin-right:               5px;
  color:                      #fff;
}

div.datebox-border
{
  border:                     solid 1px #fff;
}

div.datebox-inner
{
  background:                 green;
  color:                      #fff;
  font-weight:                bold;
  line-height:                1em;
  padding:                    1px;
  text-align:                 center;
}

div.datebox-wday
{
  margin-bottom:              1px;
  font-size:                  10px;
  color:                      #fff;
}

div.datebox-day
{
  font-size:                  16px;
  position:                   relative;
  color:                      #fff;
}

div.datebox-month
{
  color:                      #fff;
}

div.datebox-year
{
  font-size:                  10px;
  color:                      #fff;
}