/* 2003-01-24. Style sheet for verb conjugation table. */
/* 2003-02-27. Added li style for indices. */
/* 2003-03-28. Revised for adjectives only. 
		Changed card dimension to inches. Font dimensions to points */
/* 2003-06-04. Changes made when -i Adjectives file created. */
/* 2003-07-22. Finish migration */
/* 2003-09-10. Saved adjFlashcards as printFlashcards to make printer-friendly layout. */
/* 2004-02-12. Created separate display and print stylesheets. */
/* 2004-02-24. Tried to force page breaks, but couldn't . Simplified layout */
/* 2004-03-31. Still doesn't print correctly in IE for windows. */


	body {
		font-family: "Hiragino Mincho Pro", Osaka, japanese;
		font-size:10pt;
		color:black;
		background-color:white;
	}

@page standard {
  size: 8.5in 11in;  /* width height */
}

/* Two-sided cards for verbs. Includes two side-by-side tables. 
	Apparently tables can't be aligned side by side. So replaced with divs front and back.*/

	div.card {
		display:block;
		position:static; /* static default */
		float: left;
		clear: both;
		margin:1px;
		padding:0;
		width: 7.5in;
		color: black;
		background-color:transparent;
		border: 1px dotted silver;
		page:standard;
		page-break-inside: avoid;
	}

	div.front {
		display:block;
		width: 3.5in;
		float: left;
		border: 1px solid red;
	}

/* 2004-02-23. Float right, so it doesn't overlap the front card. */
	div.back {
		display:block;
		width: 3.5in;
		float: right;
		border: 1px solid red;
	}

/* This is the print size of a business card */
	table {
		display:inline-table;
		width: 3.4in;
		padding:3px;
		color:black;
		background-color:transparent;
		vertical-align:top;
	}

	tr	{
		widows:0;
		orphans:0;
	}

	td {
		color:black;
		background-color:transparent;
		border-bottom:1px solid silver ;
		white-space: nowrap;
		padding: 0px;
		line-height:1.0;
	}

	td.rootKanji {
		color: black;
		background-color: transparent;
		border: 2px solid yellow;
		vertical-align: middle;
		text-align:center;
		width: 1em;
	}

/* Overrides rootKanji. Prints furigana. */
	span.stem {
		font-size:10pt;
	}

	span.kanji {
		font-size:36pt;
	}

	span.furigana {
		font-size:10pt;
	}

	td.change {
		color: navy;
		background-color: transparent;
		width:2em;
		font-weight:bold;
	}

	span.change {
		color: navy;
		background-color: transparent;
	}

	td.trans {
		text-align: right;
		font-style: italic;
	}

	.copyright {
		text-align: center;
		font-size: 8pt;
		font-weight: normal;
		padding: 1ex 0 2ex 0;
	}

	p {
		clear:both;
		width: 4.5in;
		orphans:1;
	}

	li {
		font-size: 10pt;
	}

	h1, h2, h3, h4, h5, h6 {
		color:#333; background-color:transparent;
		float: left;
		clear: both;
		margin:0;
		visibility:hidden;
	}