/* The following line sets the font to match the font family and size of the 
 * 'list of transcriptions/documents' list (ie. /fiches/trans/) on the site.
 * 
 * NOTE:
 * 1) I set the font-size to 11pt (which works out to 15px). I don't like mixing units 
 * when referring to font sizes but that's what you declared the font size to be on line 5 of list_base.css.
 * If memory serves, Bela liked this size.
 * 2) These default definitions are all limited by class so there should be no conflict
 * with other content in the site.
 * 
 */
.cked-content, .transcription-data, span[style], font[face] {font-family: 'Lucida Grande', Verdana, 'Trebuchet MS', sans-serif !important;}
.cked-content, .transcription-data {font-size:11pt !important; line-height:1.5;}
span[style], font[face] {font-size:inherit !important; line-height:inherit !important;}

/* Increase line spacing for visible line breaks (br elements) */
.transcription-data br {
	display: block;
	content: "";
	margin-bottom: 0.75em;
}

/* Exception: verse breaks don't get extra spacing */
.transcription-data .verse br {
	margin-bottom: 0;
}

/* Hide line breaks and remove extra spacing when hidden-br class is applied */
.transcription-data br.hidden-br {
	display: none;
	margin-bottom: 0;
}

/*.content .transcription-data {
	border: 1px solid #8C8C8C;
	margin: 0 10px;
	padding: 10px 20px;
	border-radius: 2px; 
}*/


/* This rule resets the counters for the footnotes. All three selectors are needed.
 * html - resets the counter for the display of the footnote achnors
 * .transcription-doc-notes,.transcription-ed-notes reset the numbers for the footnote and editorial
 * footnote lists at the bottom of the manuscript view.
 */
body,.transcription-doc-notes,.transcription-ed-notes,.cked-content,.transcription-data {counter-reset: noteeditorial notedocument;}

/* All the following CSS declarations are limited either by very unique class names) or to exceedingly
 * rare elements (ins, del) so there should be no conflicts with any other CSS declarations affecting the
 * other content of the site. the only exceptions are the declarations for paragraph and verse styles, 
 * but I made sure that it would only affect <p> in .cked-content or .transcription-data
 * 
 * These rules apply to the view of the texts BOTH in the editor and the transcription view pages.
 */
ins {color: inherit;border: none; text-decoration: none; vertical-align:8%;} 
ins:after {content: "/"; font-size:90%; color:#777;}
ins:before {content: "\\";font-size:90%;color:#777;}
del {color:inherit; text-decoration:line-through}

.transcription-data sup, .cked-content sup {
	vertical-align: super;
	font-size: smaller;
}

.supplied:before {content: "[";font-style:normal;color:#777;}
.supplied:after {content: "]";font-style:normal;color:#777;}
.supplied {font-style: italic;}

.illeg {color:#777; font-style: italic;}
.illeg:after {content: "]";font-style:normal;color:#777;}
.illeg:before {content: "[";font-style:normal;color:#777;}

.unclear {color:#900;border: #900 1px none; border-style: none none dotted none;}
.sic {color:#009;border: #009 1px none; border-style: none none dotted none;}
.mleft, .mright, .mbottom,.mother {font-size:85%; width:20%; margin: 0.25em 1em;line-height:1.5; background:#eeeee9;padding:0.5em;}
.mleft,.mother,.mbottom { float:left; clear:both; margin-left: 0; }
.mright {float:right; clear:both; margin-right: 0; }
.mbottom:before {content:"Note in Bottom Margin";display:block;font-weight:bold;;font-size:75%}
.mother:before {content:"Note in other location:";display:block;font-weight:bold;font-size:75%}
.note-editorial {counter-increment:noteeditorial;}
.note-document {counter-increment:notedocument;}
span.note-editorial:before {content: counter(noteeditorial,decimal);padding-left:0.5em }
span.note-document:before {content: counter(notedocument,lower-roman);padding-left:0.5em }

.cked-content p.verse, .transcription-data p.verse {padding:0 1.5em;}
.cked-content p, .transcription-data p {padding-bottom:0.5em;padding-top:0.5em;clear:both;}
#detail-panel .cked-content p, #detail-panel .transcription-data p {clear:none;}
/* smaller padding for transcript display */
div.cked-content p, div.transcription-data p {padding-bottom:0.25em;padding-top:0.25em;}
.cked-content h1, .transcription-data h1 {
	font-weight: bold;
	text-align: center;
	font-size: 1.5em !important;
	margin-top: 1.5em;
	margin-bottom: 0.75em !important;
}
.cked-content h2, .transcription-data h2 {
	font-weight: bold;
	text-align: center;
	font-size: 100% !important;
	margin-top: 2em;
	margin-bottom: 0.75em !important;
}
.cked-content h3, .transcription-data h3 {
	font-weight: bold;
	font-size: 100% !important;
	margin-top: 1.5em;
	margin-bottom: 0.25em !important;
}

.cked-content .overline, .transcription-data .overline {
	text-decoration: overline;
}
.norm .overline { /* the normalized version doubles overlined text */
	text-decoration: none;
}

/* While the above declarations apply both to the editor and the view pages, the following
 * declarations apply only to the view pages. I have decided to keep them in the same CSS file
 * since it seemed to make sense to put ALL the CSS affecting transcriptions into one file.

 */

/* Suppress dynamically created illeg and corr values for normalized page view by default */
.illeg-short, .corr {display:none}

/* These definitions alter the display of del, ins, illeg-short and corr to create a normalized view 
 * for the texts */

.norm del, .norm ins:after, .norm ins:before, .norm .sic:after, /*.norm .illeg,*/ .norm .sic {display:none;}
.norm ins {vertical-align: -moz-initial; vertical-align: initial;} /* too bad for IE users... */
/*.norm .illeg-short, */.norm .corr{display:inline;}

/* These declarations affect the display of notes.*/
.transcription-doc-notes,.transcription-ed-notes {border: black 1px solid; border-style: solid none none none;margin:2em 0; }
.transcription-doc-notes p.title,.transcription-ed-notes p.title {text-align: center; font-weight:bold;margin: 0.5em 0}
span.note-editorial, span.note-document {border: #777 dashed 1px;vertical-align:super;font-size:75%;background:#EEE;}
.content .transcription-data span.note-editorial, .content .transcription-data span.note-document {border:none;background:none;}
.content .transcription-data span.note-editorial:before, .content .transcription-data span.note-document:before {padding-left:0;}
.transcription-doc-notes p,.transcription-ed-notes p { padding-left: 38px; }
.transcription-doc-notes p.note-document,.transcription-ed-notes p.note-editorial { text-indent: -38px; }

div.note-editorial, div.note-document {margin:0.25em 0;}
div.note-editorial:before, p.note-editorial:before {content: counter(noteeditorial,decimal);padding-right:1em }
div.note-document:before, p.note-document:before {content: counter(notedocument,lower-roman);padding-right:1em;  }

.ia-content span.note-editorial, .ia-content span.note-document {background: white; color: #f0750b; border: none;}
