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

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


.result {
  margin: 0em 0em 1em 3em;

  font-family: "Century Gothic", "Meiryo", "¥á¥¤¥ê¥ª", "sans-self";
}

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

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

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

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

  border-spacing: 2px 10px;
}

TABLE#result-frame TH,
TABLE#result-frame TD {
  vertical-align: middle;
  white-space: nowrap;
}

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

  color: white;
  background-color: rgb(79,129,189);

  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-style: solid;
  border-width: 3px;
  border-color: rgb(56,93,138);
  
  font-weight: bold;
  line-height: 1.1em;

  text-align: center;
}

/* Result Information */
TABLE#result-frame TD.result-info {
  padding: 0.5em;
  background-color: rgb(191,213,255);

  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(74,126,187);

  text-align: center;
}

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

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

TABLE#result-frame .pattern-id {
  color: black;
}


/* Result Datas */
TABLE#result-frame TD.result-data {
  padding: 0.5em;

  background-color: rgb(191,213,255);

  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;

  border-style: solid;
  border-width: 2px;
  border-color: rgb(74,126,187);
  
  text-align: left;
}


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

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

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

TABLE#result-frame TABLE.result-data-frame TR {

  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;

  border-style: solid;
  border-width: 2px;
  border-color: #aa0000;

}

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

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

  background-color: rgb(228,253,194);
  
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  
  border-style: solid;
  border-width: 2px;
  border-color: rgb(152,185,84);
  
  font-weight: normal;
  line-height: 1.6em;

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

TABLE#result-frame TABLE.result-data-frame TD {
  width: auto;

  padding: 0.2em 0.5em 0.2em 0.5em;

  background-color: rgb(228,253,194);
  
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;

  border-style: solid;
  border-width: 2px;
  border-color: rgb(152,185,84);

  line-height: 1.6em;

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


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

TABLE#result-frame TABLE.result-data-frame TR.matched-chars TH {
  font-weight: bold;
}

TABLE#result-frame TABLE.result-data-frame TR.matched-chars TD {
}

TABLE#result-frame TABLE.result-data-frame TR.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;
}

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


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

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

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

TABLE#result-frame TABLE.result-data-frame TR.matched-jpn-pat TH,
TABLE#result-frame TABLE.result-data-frame TR.matched-jpn-pat TD {
  background-color: rgb(255,255,180);
  border-color: rgb(248,215,116);
}

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

  color: #ff3333;
}

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


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

TABLE#result-frame TABLE.result-data-frame TR.cor-eng-pat TH,
TABLE#result-frame TABLE.result-data-frame TR.cor-eng-pat TD {
  background-color: rgb(255,255,180);
  border-color: rgb(248,215,116);
}

TABLE#result-frame TABLE.result-data-frame TR.matched-chars TABLE .sents .var SPAN,
TABLE#result-frame TABLE.result-data-frame TR.matched-chars TABLE .vars .var SPAN,
TABLE#result-frame TABLE.result-data-frame TR.matched-jpn-pat TD SPAN,
TABLE#result-frame TABLE.result-data-frame TR.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 */
TABLE#result-frame TABLE.result-data-frame TR.ex-jpn-sent {
  background-color: #f5f5f5;
}


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

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


/* Similars */
.similars1 {
}

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

  overflow: auto;
}

/*
.similars1 TABLE.result-data-frame,
.similars2 TABLE.result-data-frame {
  border-style: solid none none none;
  border-color: #ffffff;
  border-width: 3px;
}

*/
