@charset "utf-8";

* { margin: 0; padding: 0; }

a { text-decoration: none; }
img { border: none; }

.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.center { text-align: center; }

body { font-size: 12pt; background: #eee; }

#main { margin: 5px auto; width: 800px; color: #464646; box-shadow: 0 0 2px 2px #ddd; }

#header { padding: 0 15px; height: 34px; line-height: 34px; color: #efefef; text-shadow: 1px 1px 3px #555; position: relative; z-index: 10; background: url(../img/bar.png) repeat-x left bottom; }
#header .right a { padding: 2px 5px; }
#header .right a:hover, #header .right a.active  { background: #6a0000; }

#top { height: 250px; overflow: hidden; background: #fff; }

div#menu {
    height:41px;
    position: relative;
    top: -3px;
    z-index: 10;
    background:url(../img/bar.png) repeat-x left bottom;
}

div#menu ul {
    list-style: none;
    float: left;
}
div#menu ul.menu {
    padding-left: 30px;
}

div#menu li {
    position: relative;
    z-index: 9;
    margin: 0;
    display: block;
    float: left;
}
div#menu li:hover>ul {
    left: -2px;
}

div#menu a {
    position: relative;
    z-index: 10;
	height: 41px;
    display: block;
    float: left;
    line-height: 41px;
    text-decoration: none;
    font-size: 1em;
	text-shadow: 1px 1px 3px #555;
}
div#menu a:hover, div#menu a:hover span { text-shadow: 1px 1px 5px #999; }
div#menu li.current a {}

div#menu span {
    display: block;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 95% 0;
}
div#menu ul ul a.parent span {
    background-position:95% 8px;
    background-image: url(../img/item-pointer.gif);
}
div#menu ul ul a.parent:hover span {
    background-image: url(../img/item-pointer-mover.gif);
}

/* menu::level1 */
div#menu a {
    padding: 0 15px;
    line-height: 30px;
    color: #efefef;
}
div#menu span {
    margin-top: 5px;
}/**@replace#1*/
div#menu li { background: url(../img/delimiter.png) no-repeat right center; }
div#menu li:last-child { background: none; }

/* menu::level2 */
div#menu ul ul li { background: none; }
div#menu ul ul {
    position: absolute;
    top: 37px;
    left: -999em;
    width: 163px;
    padding: 5px 0 10px 0;
    background: #7B0000;
    margin-top:1px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
div#menu ul ul a {
    padding: 0 0 0 15px;
    height: auto;
    float: none;
    display: block;
    line-height: 24px;
}
div#menu ul ul span {
    margin-top: 0;
    padding-right: 15px;
}
div#menu ul ul li.last { background: none; }
div#menu ul ul li {
    width: 100%;
}

/* menu::level3 */
div#menu ul ul ul {
    padding: 0;
    margin: -38px 0 0 163px !important;
    margin-left:172px;
}

/* colors */
div#menu ul ul ul { background: rgb(41,41,41); }
div#menu ul ul ul ul { background: rgb(38,38,38); }
div#menu ul ul ul ul { background: rgb(35,35,35); }

/* lava lamp */
div#menu li.back {
    background: url(../img/lava.png) no-repeat right -44px !important;
    background-image: url(../img/lava.gif);
    width: 13px;
    height: 44px;
    z-index: 8;
    position: absolute;
    margin: -1px 0 0 -5px;
}
div#menu li.back .left {
    background: url(../img/lava.png) no-repeat top left !important;
    background-image: url(../img/lava.gif);
    height: 44px;
    margin-right: 8px;
}

#wrapper { margin: -7px 0 -1px 0; padding: 7px 0; border: 1px solid #dcd9d4; background: #fff; }
#wrapper h1 { margin-bottom: 10px; font-size: 1.35em; color: #8F0000; text-shadow: 1px 1px 5px #999; }
#wrapper a { color: #8f0000; }
#wrapper p { margin-bottom: 15px; }
#wrapper ul, #wrapper ol { margin: 10px 0 10px 25px; }
#wrapper ul { list-style-type: square; }

#content, #articles { margin: 10px 15px; width: 520px; float: left; text-align: justify; font-size: 0.9em; }
#content.max , #articles.max { width: 768px; }
#content h3 { margin: 5px 0; color: #8f0000; text-shadow: 1px 1px 1px #ccc; }

#articles .article { margin-bottom: 10px; }
#articles .article .name { height: 35px; line-height: 35px; }
#articles .article .name h2 { padding: 0 20px 0 15px; color: #efefef; font-size: 1.15em; background: #970000 url(../img/item.png) repeat-x left top; }
#articles .article .name h2 a { color: #efefef; }
#articles .article .content { margin: 10px 0 15px 0; }

#text { margin-bottom: 10px; line-height: 1.4em; }

#images { clear: both; }
#images .image { width: 120px; height: 100px; text-align: center; }
#images img { padding: 2px; max-width: 120px; max-height: 100px; border: 1px solid #ddd; background: #f2f2f2; }

table#attachments { clear: both; width: 100%; border-collapse: collapse; }
table#attachments th, table#attachments td { padding: 2px 5px; border: 1px solid #7D0000; }
table#attachments thead { color: #fff;  background: url(../img/bar.png) repeat-x left bottom; }

#images { margin-top: 15px; }
#images .image { padding: 5px; float: left; }

#sidebars { margin: 10px; width: 228px; float: left; background: #fff; }
#sidebars .item { margin-bottom: 10px; }
#sidebars .item .name { height: 40px; line-height: 40px; }
#sidebars .item .name h2 { margin-left: 25px; padding: 0 10px 0 20px; color: #ffd514; background: #970000 url(../img/item.png) repeat-x left top; }
#sidebars .item .name h2 a { color: #ffd514; }
#sidebars .item .name .arrow { width: 25px; height: 40px; float: left; background: url(../img/item_arrow_left.png) no-repeat left top; }
#sidebars .item .content { margin-top: 10px; }

#footer { padding: 0 15px; height: 34px; line-height: 34px; color: #efefef; text-shadow: 1px 1px 3px #555; font-size: 0.9em; background: url(../img/bar.png) repeat-x left bottom; }
#footer a { color: #efefef; text-decoration: underline; }