/*
 =====================================
  Stylesheet for wjptc

  ++ Result Table Styles ++
 =====================================
*/


.result {
  margin: 0em 0em 1em 3em;
  font-family: Verdana, "Þâ¥´¥·¥Ã¥¯", YuGothic, "¥Ò¥é¥®¥Î³Ñ¥´ ProN W3", "Hiragino Kaku Gothic ProN", "¥á¥¤¥ê¥ª", Meiryo, sans-serif;
}

.result .value {
  font-weight: bold;
}

.result TABLE {
  border: none;
  border-collapse: separate; 
}

/* Result Frame */
#result-frame {
  width: 95%;
  height: auto;

  margin: 0px;
  padding: 0px;
  
  border-style: none;

  border-spacing: 2px 2px;

}

#result-frame TH,
#result-frame TD {
  white-space: nowrap;
}

/* Result Frame>Header */
#result-frame TR#header {
}
	
#result-frame TR#header > TH {
  padding: 8px;

  color: white;
  background-color: #888;

  /* background-color: rgb(79,129,189); */
  
  font-weight: bold;
  line-height: 1.1em;

  text-align: center;
}

.result-record > TD {
border-style: none none dashed none;
border-color: #888;
border-width: 1px;

padding: 0.5em;
}


/* Result Information */
.result-record > TD.result-info {
  text-align: center;

  border-right-style: dashed;
}

.result-info .rank {
  font-size: 200%;
  font-weight: bold;
  
  /* text-shadow: 1px 1px 3px #000; */
}

.result-info .coverage {
  color: #dc143c;
  font-weight: bold;
}

.result-info .pattern-id {
  color: black;
}


/* Result Datas */
.result-record .result-data {
  text-align: left;
}


/* Result Data Frame */
.result-record .result-data-frame {
  width: 100%;

  margin: 0px;
  padding: 0px;
 
  border-collapse: collapse;

  border-style: none;
  border-spacing: 1px 3px;
}

.result-record .result-data-frame TH {
  width: 18em;

  margin: 0em;
  padding: 0.2em 0.5em 0.2em 1em;

  font-weight: normal;
  line-height: 1.6em;

  text-align: right;
  white-space: nowrap;
}

.result-record .result-data-frame TD {
  width: auto;

  padding: 0.2em 0.5em 0.2em 0.5em;

  line-height: 1.6em;

  text-align: left;
  white-space: normal !important;
}


/* Result Data Frame>Match Characters */
.result-data-frame .matched-chars {
}

.result-data-frame .matched-chars TH {
  font-weight: bold;
  background-color: rgb(228,253,194);
}

.result-data-frame .matched-chars TD {
  background-color: rgb(228,253,194);
}

.result-data-frame .matched-chars TABLE TD {
  margin: 0px;
  padding: 0.4em 0.4em;

  border: none;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;

  line-height: 1.1em;
  text-align: center;
  white-space: nowrap !important;
}

.result-data-frame .matched-chars TABLE .sents .var {
  color: #8b0000;
  font-weight: bold;
  background-color: rgb(174,200,122);
}

.result-data-frame .matched-chars TABLE .sents .spl {
  background-color: rgb(174,200,122);
}

.result-data-frame .matched-chars TABLE .vars .var {
  font-weight: bold;
}

/* Matched Japanese Pattern */
.result-data-frame .matched-jpn-pat TH {
  font-weight: bold;
}

.result-data-frame .matched-jpn-pat TH,
.result-data-frame .matched-jpn-pat TD {
  vertical-align: top;
  
  background: transparent;
  border-style: none;
}

.risan {
  padding-left: 0.3em;
  padding-right: 0.3em;

  color: #ff3333;
}

.attribute {
  font-size: 80%;
  color: #888888;
}


/* Corresponding English Pattern */
.result-data-frame TR.cor-eng-pat TH {
  vertical-align: top;
  font-weight: bold;
}

.result-data-frame TR.cor-eng-pat TH,
.result-data-frame TR.cor-eng-pat TD {
  background: transparent;
  border-style: none;
}

.result-data-frame .matched-chars TABLE .sents .var SPAN,
.result-data-frame .matched-chars TABLE .vars .var SPAN,
.result-data-frame .matched-jpn-pat TD SPAN,
.result-data-frame .cor-eng-pat TD SPAN {
  padding-left: 0.2em;
  padding-right: 0.2em;

  border-style: none;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -mox-border-radius: 2px;
}

/* Example of Japanese sentence */
.result-data-frame TR.ex-jpn-sent {
  background-color: #f5f5f5;
}


/* Example of English sentence */
.result-data-frame TR.ex-eng-sent {
  background-color: #f5f5f5;

  border-style: none none solid none;
  border-color: #ffffff;
  border-width: 1px;
}


/* Similars */
.similars1 {
  margin-top: 0.5em;
}

.similars2 {
  width: 100%;
  height: 22em;

  overflow: auto;
}

