/****************************************************************************\
**
** vertical_style.css
**
** CSS for Vertical story direction
**
** (c) 1986 - 2013 Quark, Inc.
** All rights reserved.
**
\****************************************************************************/
	
/* Compatibility Hacks *******************************************************/
body {
	/* Adobe Digital Edition needs the writing direction applied on body to work 
	correctly*/
	writing-mode: vertical-rl;
	-epub-writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	line-break: normal;
	-epub-line-break: normal;
	-webkit-line-break: normal;
	/* Adding default margins as text on some readers like iPad starts from the 
	edge of the screen */
	margin-left: inherit;
	margin-right: inherit;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

p {
	/* This was added for some readers, again can be removed once the reader support
	gets better. We should ideally use em and not px. 30px = 1.875em */
	padding-left: inherit;
	padding-top: 1.875em;
}

/* Classes *******************************************************/

span.tyc {
	writing-mode: horizontal-tb;
	 -webkit-writing-mode: horizontal-tb;
	-epub-text-combine: horizontal-tb;

	text-combine: horizontal;
	-epub-text-combine: horizontal; 
	text-combine-mode:use-glyphs;

	white-space:nowrap;
}

.indented-para {
	margin-left: inherit;
	margin-right: inherit;
	margin-top: 2em;
	margin-bottom: 2em;
}

/* pullquote is similar to the blockquote, so we will try to mimic blockquote as much as we can */
.pullquote {
	margin-left: inherit;
	margin-right: inherit;
	margin-top: 2em;
	margin-bottom: 2em;
}
