* { padding:0px; margin:0px; }

html, body { 
    font-family: arial,sans-serif;
    height: 100%;
}

.bcl {
    text-align: center;
    background: #990000 url('/img/bodyback.png') repeat-x left top;
}

#page {
    width: 980px;
    margin: auto;
    background: url('/img/back.png') repeat-y center top;
}

#pgtop, #pgbot {
    height: 23px;
    width: 980px;
    margin: auto;
    background: url('/img/backtop.png') no-repeat center top;
}

#pgbot { background: url('/img/backbot.png') no-repeat center bottom; }

#wrapbottom {
    height: 160px;
    line-height: 160px;
    font-size: 90%;
}

#wraptop {
    width: 960px;
    margin: auto;
    height: 190px;
    background: url('/img/wraptop.png') repeat-x left top;
}

#logo {
    background: url('/img/name.png') no-repeat center center;
    height: 190px;
}

#wrapbottom {
    height: 40px;
    line-height: 40px;
    clear: both;
    margin: auto;
    width: 960px;
    font-size: 70%;
    background: url('/img/wrapbot.png') no-repeat left top;
    border-bottom: 1px solid #ff9d00;
}

#wrap {
    margin: auto;
    width: 960px;
    background: url('/img/page.png') repeat-y right top;
    border-bottom: 1px solid #ff9d00;
}

#logo h1 { display: none; }

#content {
    width: 580px;
    float: left;
    text-align: left;
    padding: 0 20px 20px 20px;
    margin: 20px;
    font-size: 90%;
}

#sidebar {
    text-align: center;
    float: right;
    width: 270px;
    margin: 20px 20px 0 0;
    font-size: 90%;
}

.sideblock {
    text-align: left;
    width: 250px;
    margin: auto;
}

p { margin: 0 5px 10px 5px; }

#menu {
    background: url('/img/menuback.png') repeat-x left top;
    height: 40px;
    width: 960px;
    margin: auto;
}

#vmenu {
    padding: 9px 0 0;
    list-style: none;
    width: 960px;
    height: 40px;
    margin: auto;
}

#vmenu li {
    display: inline;
    padding: 8px 7px;
}

#vmenu li a {
    padding: 6px 7px 6px 0;
    text-decoration: none;
    font-variant: small-caps;
    font-weight: bold;
    outline: none;
    font-size: 18px;
    color: #990000;
}

#vmenu li a:hover { background: url('/img/sel.png') no-repeat right top; }

#vmenu li.sel, #vmenu li.sel:hover { background: url('/img/lsel.png') no-repeat left top; }
#vmenu li.sel a {
    background: url('/img/rsel.png') no-repeat right top;
    color: #ffcc66;
}

h4 {
    font-variant: small-caps;
    font-weight: bold;
    font-size: 120%;
    margin: 10px 10px;
    color: #990000;
}

h3, h2 {
    font-variant: small-caps;
    font-weight: bold;
    font-size: 120%;
    margin-bottom: 10px;
    color: #990000;
}

h1, h5 {
    font-variant: small-caps;
    font-weight: bold;
    font-size: 170%;
    margin-bottom: 10px;
    padding-left: 10px;
    color: #990000;
    border-bottom: 2px solid #990000;
    clear: both;
}

h5 { padding-top: 15px; }

.textblock ul {
    padding-left: 20px;
    list-style-type: square;
    margin-bottom: 15px;
}

.textblock ul li { margin-bottom: 10px; }

ul.links a {
    display: block;
    margin-bottom: 5px;
}

ul.values {
    margin: 10px 0 0 2em;
    padding: 0;
    list-style-type: circle;
    font-weight: normal;
}

ul.ter, .bold { font-weight: bold; }

.chapters {
	clear: both;
	border: 1px solid #990000;
	margin: 20px auto;
	text-align: left;
	padding: 0;
	width: 320px;
	background: #ffdb93 url('/img/menuback.png') repeat-x left top; 
}

.chapters ul {
	margin: 0;
	padding: 10px;
	list-style: none;
}

.chapters ul li {
	height: 20px;
	line-height: 20px;
	padding: 0;
	margin: 0;
}

.ngallery {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.ngallery li { float: left; padding: 5px; }
.ngallery .par  { width: 180px; height: 135px; }
.ngallery a { outline: none; }
.ngallery img { border: 1px solid #990000; }
.narrow li { padding: 2px !important; }

.iter {
    border: 1px solid #900;
    float: right;
    width: 200px;
}