/*@import url("/css/common.css");*/

@media print {
  BODY,TD,TH,TEXTAREA {
    font-size: 10px;
  }
}
@media screen {
  BODY,TD,TH,TEXTAREA {
    font-size: 14px;
  }
}

@media screen, print {

/* --- common --- */

BODY {
  margin-left: 5%;
  margin-right: 5%;
  padding-top: 0;
}
BODY,TD,TH,TEXTAREA {
  font-family: arial, sans-serif;
}

A {
  color: #bf0906;
}
A:visited { /* before :hover to see hover color instead of visited */
  color: #ab0806;
}
A:hover {
  color: #ed5407;
  text-decoration: none;
}
A:active {
  color: red;
}

DIV {
  margin: 0 0 0.75em;
}
DIV.pl, TD.pl {
  text-align: left;
}
DIV.pj, TD.pj {
  text-align: justify;
  clear: both;
}
DIV.pc, TD.pc {
  text-align: center;
}
DIV.pr, TD.pr {
  text-align: right;
}
DIV.psubh, DIV.ph {
  color: #940705;
  font-weight: bold;
}
DIV.psubh {
  font-size: 1.5em;
  margin: 4px 0;
}
DIV.psubsubh, TD.psubsubh, SPAN.psubsubh {
  font-weight: bold;
}
DIV.ph {
  font-size: 2em;
  margin: 4px 0 0;
}
DIV.pinfo {
  background-color: #fff8c2;
  border-width: 2px;
  border-style: dotted;
  border-color: #871d0a;
  font-weight: bold;
  padding: 4px;
  text-align: justify;
}

/* --- header --- */

TABLE#hdr {
  border-collapse: collapse;
  margin-bottom: 0.75em;
  width: 100%;
}
TR#logo-row-t {
  background: transparent url("head-row.png") repeat-x top;
  vertical-align: top;
}
TR#logo-row-t TD {
  font-size: small;
  padding: 2px 5px;
}
TR#logo-row-b {
  background: #871d0a url("/images/system/logo-row.png") repeat-x top;
}
TR#logo-row-b TD {
  font-size: small;
  font-weight: bold;
  padding: 2px 15px;
  text-align: center;
  vertical-align: middle;
}
TR#logo-row-b A {
  color: #ffe7ba;
}
TR#logo-row-b A:visited {
  color: #f0c590;
}
TR#logo-row-b A:hover {
  color: #ffffff;
}

/* --- footer --- */

TABLE#ftr {
  background: transparent url("/images/system/foot-row.png") repeat-x top;
  border-collapse: collapse;
  border-top: 2px solid #871d0a;
  clear: left;
  margin-top: 0.75em;
  width: 100%;
}
TABLE#ftr TD {
  font-size: small;
  padding: 2px 5px;
  text-align: center;
}

/* --- page --- */

TABLE#page {
  border-collapse: collapse;
  border: none;
  margin: 8px auto;
  width: 90%;
}

COL#colleft {
  width: 240px;
}

TD#tdleft {
  vertical-align: top;
  width: 240px;
}

/* --- menu --- */

DIV#menu {
  padding: 0 0 10px;
}

DIV#menu A {
  background-color: #f0d093;
  border: 1px outset #e0e0e0;
  clear: left;
  display: block;
  font-size: 0.75em;
  font-weight: bold;
  margin: 0 0 4px;
  overflow: hidden;
  padding: 4px 10px;
  text-decoration: none;
  vertical-align: middle;
  width: 200px; /* to help MSIE catch :hover */
}
DIV#menu A:hover {
  background-color: #ffdd9c;
  border-style: inset;
  padding: 5px 9px 3px 11px;
}

DIV#menu A.sub {
  background-color: #ffe6b5;
  margin-left: 25px;
  width: 175px; /* to help MSIE catch :hover */
}
DIV#menu A.sub:hover {
  background-color: #ffeecf;
}

DIV#menu A.cur {
  background-color: #bf0906;
  color: #f0d093;
}
DIV#menu A.cur:hover {
  background-color: #bf0906;
  border-style: outset;
  padding: 4px 10px;
}

/* --- news --- */

DIV#news {
  margin: 0 20px 10px 0;
  padding: 4px;
}

TD#tdleft DIV#news {
  background-color: #fffad4;
  border: 1px dotted #871d0a;
}

DIV#news DIV.psubh {
  background-color: #ffe6b5;
/*  font-size: 1em;*/
  margin: 0 0 0.75em;
}

TD#tdleft DIV#news DIV.psubh {
  font-size: 1em;
}

DIV#news DIV.headline {
  clear: left;
 _height:100%;
}
DIV#news DIV.headline:after {
  clear: left;
  content: "";
  display: block;
  height: 0;
}
DIV#news DIV.headline DIV.shadow-bg-al {
  width: 78px;
}
DIV#news DIV.headline img {
  height: 60px;
  width: 80px;
}
DIV#news DIV.headline SPAN.datetime {
  font-weight: bold;
}
DIV#news DIV.headline A.follow {
  border: 1px solid #ffffff;
  display: inline-block;
  font-weight: bold;
  letter-spacing: -2px;
  padding: 0 3px;
  text-decoration: none;
}
DIV#news DIV.headline A.follow:hover {
  background-color: #ffe0a6;
  border-color: #e00a07;
  color: #ed5407;
}

/* --- content --- */

TD#content {
  border: none;
  padding-right: 1em;
  text-align: justify;
  vertical-align: top;
}

TD#title H1 {
  border-bottom: 3px solid #434c59;
  color: #434c59;
  margin: 0;
}

TD#title H4 {
  color: #434c59;
  margin: 4px 0;
}

/* --- data --- */

TABLE.data {
  width: 100%;
}

TABLE.data CAPTION {
  font-weight: bold;
}

TABLE.data TD {
  padding: 8px;
  vertical-align: top;
}
TABLE.data TD.last {
  padding-bottom: 2em;
}

TABLE.data TD.date {
  white-space: nowrap;
}

/*TABLE.data TR.header {
}*/

TABLE.data TR.header TD {
  background-color: #fff0ad;
  border-width: 1px;
  border-style: dashed none none;
  border-color: #871d0a;
  font-weight: bold;
  text-align: center !important;
}

/* --- footer --- */

TD#info {
  background: transparent url("/images/system/foot-row.png") repeat-x top;
  border-top: 2px solid #870704;
  text-align: center !important;
}

/* --- form --- */

FORM {
  margin-bottom: 0;
  margin-top: 0;
}
/*INPUT[TYPE=text], INPUT[TYPE=password], INPUT[TYPE=checkbox], INPUT[TYPE=file],*/ .ftxt, .fchb, SELECT, TEXTAREA, /*INPUT[TYPE=submit], INPUT[TYPE=reset],*/ .fbtn {
  font-size: small;
  vertical-align: middle;
}
/*INPUT[TYPE=text], INPUT[TYPE=password], INPUT[TYPE=checkbox], INPUT[TYPE=file],*/ .ftxt, .fchb, SELECT, TEXTAREA {
  background-color: #ffe7ba;
  color: #871d0a;
}
/*INPUT[TYPE=submit], INPUT[TYPE=reset],*/ .fbtn {
  background: #cc2c10 url("/images/system/logo-row.png") repeat-x top;
  color: #ffe7ba;
  font-weight: bold;
}
/*INPUT[TYPE=submit]:hover, INPUT[TYPE=reset]:hover,*/ .fbtn:hover {
  color: #ffffff;
}

/* --- drop shadow --- */

/* either textual or graphic content is allowed */
DIV.shadow-content {
  background-color: #ffffff;
  border: 1px solid #000000;
  margin: -8px 0 0 -8px;
  padding: 2px;
  position: relative;
 _height:1px;
}
/* width must be defined as: W(content)-2 */
DIV.shadow-bg-ac, DIV.shadow-bg-al, DIV.shadow-bg-ar {
  background-color: #d0d0d0;
  padding: 4px;
 _height:1px;
}
DIV.shadow-bg-ac {
  margin: 4px auto;
}
DIV.shadow-bg-al {
  float: left;
  margin: 4px 4px 0;
 _margin-left:2px;
}
DIV.shadow-bg-ar {
  float: right;
  margin: 4px 0 0 8px;
}
/* shadow-bg's wrapper to provide inner signature */
/* if used, width must be defined here instead of shadow-bg to avoid shadow-sig width:=100% */
/* shadow-sig width: 1(border)+2(padding)+W(content)+2(padding)+1(border)==W+6 */
DIV.shadow-sig-ac, DIV.shadow-sig-al, DIV.shadow-sig-ar {
  font-size: smaller;
  padding: 6px 0 0.8em;
  text-align: center;
}
DIV.shadow-sig-ac {
  clear: both;
  margin: 0 auto;
}
DIV.shadow-sig-al {
  clear: left;
  float: left;
  margin: 0 12px 0 6px;
 _margin-left:2px;
}
DIV.shadow-sig-ar {
  clear: right;
  float: right;
  margin: 0 0 0 18px;
 _margin-right:2px;
}

DIV.shadow-sig-al DIV.shadow-bg-ac, DIV.shadow-sig-ar DIV.shadow-bg-ac {
  float: none;
  margin: 4px auto;
}

DIV.shadow-content IMG {
  border: none;
  display: block;
}

/* --- image gallery N(rows)*3(columns) --- */

TABLE.gallery {
  border: none;
  border-collapse: separate;
  border-spacing: 10px;
  margin: auto 1em;
  width: 100%;
}
TABLE.gallery TD {
  border: none;
  text-align: center;
  padding-right: 1em;
  vertical-align: top;
}

}

