/* Styles for the forum functionality
    remember: X.class , X#id
    the indentation reflects the hirarchical structure in the web page
    Include it as follows:  "@import url("templates/default/forum.css");"
*/

DIV.forum {          /* whole forum thing */
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size:14px;}

 DIV.controls   {margin-bottom: 5px;}

  DIV.controls A,SPAN  {margin-left:5px; margin-right:5px; text-decoration:none;color:blue;}

  A.scroll#up  {}                                     /* (if "up" is displayed) */
  A.scroll#down {}
  SPAN.scroll#upoff {color:gray;}
  SPAN.scroll#downoff {color:gray;}
  SPAN.position {}       /* 1..3/20 */
  SPAN#positionoff {color:gray; }
  A.sortdate {           /* if sorting by date is NOT active */
     border-style:solid; border: none;}
  A.sortdate#sortasc {        /* if sorting by date is active, asc */
    border-top: solid; border-width:1px; }
  A.sortdate#sortdesc   {    /* if sorting by date is active, desc */
    border-bottom: solid; border-width:1px; }
  SPAN.sortdate#sortdateoff {    /* inactive */
    color:gray; }

  A.sortname {           /* (if sorting by name is NOT active) */
    border-style:solid; border: none;}
  A.sortname#sortasc  {       /* (if sorting by name is active, asc)  */
    border-top: solid; border-width:1px; }
  A.sortname#sortdesc {      /* (if sorting by name is active, desc)   */
    border-bottom: solid; border-width:1px; }
  SPAN.sortname#sortnameoff {    /* inactive */
    color:gray; }

  A.collapse#collapsed {}  /* collapse all threads */
  A.collapse#expanded {}
  A.collapse#collapsedoff,A.collapse#expandedoff {color: gray; }

  A.moreless#more {}  /* show more/less threads within the timeframe */
  A.moreless#less {}
  SPAN.moreless#moreoff  { color:gray;}
  SPAN.moreless#lessoff  { color:gray;}

 DIV.forumentry        {padding-left:20px; }
  DIV.forumheading {         /* (Thread Name, Dates controls) */
    background-color: silver;}
  DIV.forumheadinglead {    /* the leading message of a thread */
    background-color: gray; }
   SPAN.forumentrycontrol {}
   SPAN.forumentrycontrol A {         /* Covers all links  */
    margin-left:5px;float:right; font-size:10px; color:blue;}
     A.forumeditlink  {               /* Link to "View Topic"  */
        }
     A.forumviewlink  {               /* Link to "View Topic"  */
        }
     A.forumshowlink  {               /* Link to "Show" if collapsed  */
        }
 DIV.forumtext     {padding-left:20px; }
 DIV.forumtextcollapsed     {padding-left:20px; color:gray; }

 DIV.forumnew          {         /* (Control to create/search)  */
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size:14px; }
  INPUT#forumnewentry     {}
  INPUT#submit         {}
  A#forumclear         {margin-left:5px; margin-right:5px;}

