/*
	Defines additional rules for curriculum vitae pages,
	overriding those in the default style sheet gersti.css

	Copyright (c) 2006-2011 Thomas Gerstendoerfer. All Rights Reserved.
	thomas@gerstendoerfer.com  http://www.gerstendoerfer.com
	$Id: cv.css,v 1.10 2011/07/11 07:07:45 thomas Exp $
*/

td.label {
	font-weight: 700;
	text-align: right;
	padding-right: 8px;
}

li:first-child {
	margin-top: 5px;
}

li:last-child {
	margin-bottom: 8px;
}

div#main>ul {
	padding-left: 0;
}

div#main>ul>li:first-child {
	margin-top: 0;
}

div#main>ul>li {
	display: block;
}

div#main>ul>li>ul>li:last-child {
	padding-bottom: 8px;
}

@media screen {
	div#main h1 {
		display: none;
	}
	td.label {
		color: #999;
	}
}

@media print {
	body {
		margin-left: 50pt;
		margin-right: 50pt;
		orphans: 3;
		widows: 3;
	}
	body, p, li, td {
		font-family: "Adobe Caslon Pro", "Caslon", "Georgia", serif;
		font-weight: normal;
		font-size: 9pt;
	}
	h1, h2, h3, h4 {
		font-family: "Franklin Gothic", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
		font-size: 9pt;
	}
	h1 {
		font-size: 14pt;
	}
	h1, p.address {
		text-align: center;
	}
	strong, td.label {
		font-weight: normal;
		font-style: italic;
	}
	.footer {
		display: none;
	}
	div#main>ul>li>ul>li {
		page-break-inside: avoid;
	}
	ul:first-child {
		page-break-before: avoid;
	}
}
