﻿#reader-app {
  width: 680px;
  padding: 20px;
  float: left;
  background: #fff;
  
  -webkit-box-shadow: rgba(0,0,0,0.4) 0 1px 3px 0;
  -moz-box-shadow: rgba(0,0,0,0.4) 0 1px 3px 0;
  box-shadow: rgba(0,0,0,0.4) 0 1px 3px 0;
  
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  
  min-height: 600px;
    
}

#reader-controls {
  width: 220px;
  float: right;
  font-family: Helvetica, arial;
}

#bible-text {
	margin: 10px 0;
  line-height: 24px;
}

#bible-text.greek {
  line-height: 32px;
  direction: ltr;
}

#bible-text.hebrew {
  line-height: 40px;
  direction: rtl;
}

/* span.gk {
  font: 16px GentiumAlt, Cardo, Palatino Linotype;
}

span.hb {
  font: 20px Ezra SIL;
}

*/
span.gk {
  font-size: 16px;
}

span.hb {
  font-size: 20px;
}

span.v-num {
  font: bold 80% Arial;
}

sup.def-up {
  color: #000000;
  font-size: 10px;
  vertical-align:top; 
}

sup.def-up a {
  text-decoration: none;
  color: #000000;
}

#footnotes {
	font-family: Helvetica, Arial;
}

#footnotes ol {
	margin: 0;
	list-style-type: decimal;
}
#footnotes ol li {
	margin: 2px 0 2px 32px;
	list-style-type: decimal;
	padding: 2px 0;
}

#footnotes .hb {
  font-size: 16px;
}

#footnotes .gk {
  font-size: 14px;
}



#footnotes {
  font-size: 12px;
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
}


#reader-controls table {
  border: 0;
}

#reader-controls table td {
  vertical-align: top;
  padding: 0 6px 2px 0;
}

#reference {
  font-size: 24px;
  margin: 0 0 0 0;
  padding: 4px 2px 4px 2px;
  width: 550px;
  background: transparent;
  border: 1px solid #C0CCC4;
  height: 28px;
}
#go-button {
	width: 100px;
	height: 38px;
	margin: 0 0 0 10px;
	border: 1px solid #C0CCC4;
}

#reference: hover {
  background: #eeeeee;
  border-color: #cccccc;
}

/*
#reference.firstTime {
  background: #eaeaea;
  border-color: #dddddd;
}
*/


.parsing-info {
  font-style: italic;
}

.word-hover {
  /* text-decoration: underline;
  */
;
}

fieldset, fieldset .option-table {
  font-size: 12px;
}

#fonts input[type=text] {
  width: 120px;
}

#fonts select {
  width: 60px;
}

.dialog-container {
  display: none;
  position: absolute;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 10px #333333;
  background: #efefef;
}

.dialog-header {
  background: #999999;
  color: #ffffff;
  padding: 4px 10px;
}

.dialog-text {
  background-color: #efefef;
  width: 380px;
  padding: 10px;
  max-height: 400px;
  overflow: auto;
}

/* height: 110px;
  overflow: auto;
  */
.dialog-container .lexical-form {
  font-weight: bold;
}

.dialog-container .strongs {
  font-size: 13px;
}

.dialog-container .morphology {
  font-size: 13px;
  font-style: italic;
  display: block;
}

.dialog-container .gloss {
  font-size: 12px;
  display: block;
  margin: 5px 0 0 0;
}

.dialog-container .outline-of-usage {
  font-size: 12px;
  display: block;
  margin: 5px 0 0 0;
}

.dialog-container .outline-of-usage ol {
  list-style-type: decimal;
  margin: 0 0 0 10px;
  padding: 0 0 0 0;
}

.dialog-container .outline-of-usage li {
  padding: 0 0 0 0;
  margin: 0 0 0 10px;
}

.dialog-container .outline-of-usage ol li ol {
  list-style-type: lower-alpha;
  .dialog-container .outline-of-usage ol li ol li ol {
  list-style-type: lower-roman;
  .dialog-container .outline-of-usage ol li ol li ol li ol {
  list-style-type: lower-greek; /*  RUBY testing  */
  rt: before {
  content: "(";
}

rt: after {
  content: ")";
}

/* ruby support http: //web.nickshanks.com/stylesheets/ruby.css */
ruby {
  display: inline-table;
  text-align: center;
  white-space: nowrap;
  text-indent: 0;
  margin: 0;
  /* vertical-align: -20%;
  */
;
}

/* ルビベース */
ruby > rb, ruby > rbc {
  display: table-row-group;
  line-height: 90%;
  padding: 0 2px;
}

/* 前側ルビテキスト */
ruby > rt, ruby > rbc + rtc {
  display: table-header-group;
  /* font-size: 60%;
  line-height: 40%;
  */
letter-spacing: 0;
  padding: 0 2px;
}

/* 後側ルビテキスト */
ruby > rbc + rtc + rtc {
  display: table-footer-group;
  font-size: 60%;
  line-height: 40%;
  letter-spacing: 0;
}

/* 複雑ルビテキスト */
rbc > rb, rtc > rt {
  display: table-cell;
  letter-spacing: 0;
}

/* rt[rbspan] should be transformed into td[colspan] but that requires xslt */
rtc > rt[rbspan] {
  display: table-caption;
}

/* ルビ括弧 */
rp {
  display: none;
}

