/*
	Based on "Elegance in simplicity"
	URL: http://www.csszengarden.com/
 */
 
/*---------------------------------------------------
 *		General Layout
 *---------------------------------------------------*/
* { margin: 0; padding: 0; }

body {
	background: #fff;
	padding: 0 0 20px 0;
}

#container, #footer {
	position: relative;
	width: 800px;
	left: 50%;
	margin-left: -400px;
	background: #fff url(/book/img/bg.gif) repeat-y center;
	overflow: visible;;
	z-index: 100;
}

#header {
	position: relative;
	width: 768px;
	height: 245px;
	margin: 16px;
	padding: 0;
	background: url(/book/img/ic-header.png) no-repeat center;
}
#header span { display: none; }

#body {
	width: 430px;
	font: normal 0.9em/1.4em "Lucida Grande",Arial,Helvetica,sans-serif;
	color: #222;
	margin: 55px 0 0 59px;
	padding-bottom: 0;
	text-align: justify;
	overflow: visible;
}

#menu {
	width: 207px;
	float: right;
	margin-right: 54px;
	margin-top: 39px;
	/* overflow: scroll; */
	overflow: visible; /* !!! */
}

h3.select {
	display: none;
	width: 196px; height: 34px;
	background-image: url(/book/img/menu.png);
}
h3.select span {
	display: none;
}

#footer {
	padding-top: 2em;
	font-size: 0.8em;
}

#footer .foodiv {
	margin: 5px 25px;
	padding: 0 31px;
	text-align: center;
	/* DEBUG */
	/* background-color: #eee;*/
}

#footer p {
    margin-top: 0.4em;
}

.foodiv .leftbox {
	float: left;
}

.foodiv .rightbox {
	float: right;
}

#bottom {
	position: relative;
	left: 50%;
	margin-left: -400px;
	background: url(/book/img/bottom.gif);
	width: 800px;
	height: 42px;
	/* DEBUG */
}

/* Appearence */
.menuTop {
	width: 207px;
	height: 19px;
	background:  url(/book/img/vin-0.png) no-repeat center;
}

.menuBody {
	width: 207px;
	/*background: url(/book/img/MenuBG.png) repeat-y left;*/
}

.menuBottom {
	display: none;
	width: 207px;
	height: 10px;
	background:  url(/book/img/MenuBottom.png) no-repeat left;
}

#menu ul {
	list-style-image: url(/book/img/tria.png);
	/* list-style: none; */
	margin: 0 15px 0 30px;
}

#menu li {
	margin: 0.5em 0 0.5em 1em;
	/* padding-left: 12px; */
	line-height: 1.4em;
	font-size: 0.9em;
}

/*
#menu li.collapsed {
	background: url(/book/img/tria.png) left center no-repeat;
}

#menu li.expanded {
	background: url(/book/img/triad.png) left center no-repeat;
}
*/

#menu a {
	color: #006;
	text-decoration: none;
	padding: 0;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin: 3px 0;
}

#menu a:hover {
	background-color: #eee;
}


/* Auxilliary things */
.clearboth {
	height: 0; width: 0;
	clear: both;
}

hr.clearbottom {
	clear: both;
	height: 1px;
	width: 0;
}


#motd {
    width: 85%;
    margin: 2em auto;
    border: solid 1px #999;
    border-right-width: 2px;
    border-bottom-width: 2px; 
    padding: 1em;
    background-color: #fcc;
    color: #631;
    font-size: 1.5em;
    font-weight: bold;
    font-family: Times;
    line-height: 1.5em;
    text-align: center;
}

p.img {
    width: 100%;
    margin: auto;
    text-align: center;
}

p.img img {
    border: none;
}

p {
	margin: 0.3em 0;
}

ul, ol {
	padding-left: 1em;
}