/*	$calcurse: manual.css,v 1.5 2009-07-05 20:32:47 culot Exp $	*/

/*
 * Calcurse - text-based organizer
 *
 * Copyright (c) 2008 Frederic Culot <frederic@culot.org>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *      - Redistributions of source code must retain the above
 *        copyright notice, this list of conditions and the
 *        following disclaimer.
 *
 *      - Redistributions in binary form must reproduce the above
 *        copyright notice, this list of conditions and the
 *        following disclaimer in the documentation and/or other
 *        materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

body {
	margin:			0;
	padding:		0;
	padding-top:		10px;
	text-align:		center;
}


@media screen {
	#mainContent{
		width:			70%;
		overflow:		auto;
	}
	body {
		overflow:		auto;
		background-color:	#d3d3d3;
	}
	pre {
		margin-left:		2.5cm;
		margin-right:		2cm;
	}
}

@media print {
	#mainContent{
		width:			90%;
		overflow:		visible;
	}
	body {
		overflow:		visible;
		background-color:	#ffffff;
	}
	pre {
		margin-left:		-1cm;
		margin-right:		2cm;
	}
}

#mainContent{
	margin-right:		auto;
	margin-left:		auto;
	padding-left:		10px;
	padding-right:		10px;
	margin-bottom:		1em;
	border: 		1px solid gray;
	text-align:		left;
	font-family: 		arial, helvetica, verdana, sans-serif;
	font: 			10px/12px cursive;
	background-color:	white;
}

#title {
	text-align:		center !important;
	font: 			24px/20px cursive !important;
}

div#mainContent h1 {
	text-align:		left;
	padding:		0.5em;
	padding-top:		1em;
	font: 			20px/16px cursive;
}

div#mainContent h2 {
	margin-left:		1.5cm;
	padding-top:		0.5em;
}

div#mainContent h2, h3 {
	margin-bottom: 		0;
	padding-bottom:		0.3em;
}

div#mainContent h2 {
	font: 			14px/14px cursive;
}

div#mainContent h3 {
	font: 			12px/12px cursive;
}

p, blockquote {
	text-align:	justify;
	text-indent:	1cm;
	margin-top: 	0;
}

h3, p, div.bib, ul, ol, dl, blockquote {
	margin-left:	2.5cm;
	margin-right:	2cm;
}

ul, ol, dl {
	margin-top:		0;
	margin-bottom:		1em;
}

dl.compact dt {
	float:	left;
}

dl.compact dd {
	margin-bottom:	0.5em;
}

dd {
	margin-bottom:	1em;
}

ul.sub, ol.sub, dl.sub {
	margin-left: 	0;
	list-style:	circle;
}

li {
	margin-top:	0.1em;
	margin-bottom:	0.1em;
}

pre {
	display:	block;
	border-left:	1px solid gray;
	padding-left:	2em;
	margin-right:	2cm;
}

code {
	font-family:	monospace;
	font-weight:	bold;
}

table {
	border-style:		solid;
	border-collapse:	collapse;
	border-width:		1px;
}

div.tab {
	padding:		1.5em;
	margin-left:		4.5cm;
	margin-right:		2cm;
}

img {
	border-style:	none;
}

div.img {
	text-align:	center;
}

tr, td, thead, tbody {
	margin:		0;
}

thead {
	background-color:	gray;
	color:			black;
	text-align:		center;
}

td {
	border-style:	solid;	
	border-width:	1px;
}

span.main {
	border-style:		none;
	border-bottom-style:	dashed;
	border-bottom-width:	1.5px;
	padding:		0.2em;
}

#toc {
	margin-top:		1.5cm;
	margin-bottom:		1cm;
	padding-top:		0;
	padding-bottom:		0.2cm;
	border-width:		0;
	border-left-width:	1cm;
	border-left-color:	gray;
	border-style:		solid;
}

#toc h1 {
	font: 			12px/12px cursive;
}

#toc a {
	text-decoration:	none;
	color:			black;
}

a {
	color:		black;
}

#toc li {
	list-style-type:	none;
	margin-top:		0;
	margin-bottom:		0;
}

#toc ul ul li {
	margin-top:		0;
	margin-bottom:		0;
}

#toc ul ul ul li {
	margin-left:		-0.5cm;
}

#toc ul {
	margin-top:		0;
	margin-bottom:		0;
	margin-left:		0;
	padding-left:		1cm;
}

.todo {
	color:		green;	
}

div.warn {
	margin-top:	1cm;
	margin-bottom:	1cm;
	border-style:	solid;
	border-width:	thin;
	padding:	0.5em;
	text-align:	justify;
}

div.warn h1 {
	display:	inline;
	padding:	0.5em;
	margin:		0;
	font: 		8px/10px cursive;
}

div.res {
	text-align:	center;
}

span.res {
	border-width:	thin;
	border-style:	solid;
}

div.footer {
	margin:			20px;
	margin-left:		4%;
	margin-top:		2cm;
	border-width:		0;
	border-style:		solid;
	border-top-width:	medium;
	font-style:		italic;
	text-align:		right;
}

p.abstract {
	margin-left:		3cm;
	margin-right:		3cm;
}

.rq {
	text-indent:		0;
	font-style:		italic;
	border-style:		solid;	
	border-width:		medium;
	border-left-width:	0;
	border-top-width:	0;
	border-color:		gray;
	padding:		0.4em;
}

dl .rq, ol .rq, ul .rq {
	margin-left:	0;
	margin-right:	0;
	border:	0;
}

p.time {
	text-indent:		0;
	font-style:		italic;
	border-style:		solid;	
	border-width:		medium;
	border-left-width:	0;
	border-top-width:	0;
	border-color:		gray;
	padding:		0.4em;
	text-align:	right;
}

p.qu {
	font-style: 		italic;
	text-align:		left;
	font: 			8px/10px cursive;
	border-width:		0;
	border-left-width:	thin;
	border-left-color:	gray;
	border-style:		double;
	color:			gray;
}

.valorise {
	text-decoration:	underline;
}

.big {
	font-weight:		bolder;
	font: 			12px/12px cursive;
}

.emp {
	font-style:	italic;
}

.tablesubtitle {
	font-style:	italic;
	text-align:	center;
}
