.document {
    background: transparent url('/environments/images/main_bg.png') top left repeat-x;
    overflow: hidden;
    font-family: "Times New Roman", georgia, serif;
}

.clear {
    clear: both
}

.header, .wrap, .footer {
    position: relative;
    clear: both;
}

.header {
    background: transparent url('/environments/images/top.png') top center no-repeat;
}

.header .top {
    margin: 0 30px;
    font-family: helvetica, arial, sans;
    float: right;
    padding: 15px;
}

.header .top div,
.header .top a,
.header .top li {
	float: left;
	display: inline;}

.header .top a {
    color: #3B3B3B;
    margin: 0 4px;
}

.header .top a:hover {
    color: #fff;
    background: #3B3B3B
}

.header .top .login a {
    color: #888
}

.header .top .login a:hover {
    color: #fff;
    background: #3B3B3B
}

.header .top .menu a.selected {
	text-decoration: underline
}

.header .main {
    clear: both;
    width: 960px;
    margin: 0 auto;
    text-align: center;
    color: #3f074d;
}

.header .main h1 {
    color: #3f074d;
    font-size: 30px;
    padding: 20px 0;
}

.home .header .main h1 {
    font-size: 44px;
    padding: 40px;
}

.document.home, .document.home .column {
	min-height: 30px;
}

.header .download {
    width: 100%;
    text-align: center;
    background: transparent url('/environments/images/arrow.png') top right no-repeat;
    line-height: 60px;
    z-index: 1;
    position: relative;
}

.header .download a {
    color: #fff;
    font-size: 35px;
    font-family: georgia;
}

.header .teaser {
    margin-top: -31px;
    padding: 30px;
    padding-top: 50px;
    padding-bottom: 0;
    background: #ffdeee;
    color: #666;
    font-size: 19px;
    line-height: 1.5em
}

.header .teaser .box {
    width: 900px;
    margin: 0 auto;
    overflow: hidden
}

.header .teaser h1 {
    float: left;
    text-align: right;
    width: 340px;
    font-size: 40px;
}

.header .teaser p {
    float: right;
    width: 520px;
    margin-bottom: 50px;
}

.header .teaser a {
    color: #222;
    text-decoration: underline;
    background: #fffeb5;
}

.header .teaser a:hover {
    color: #fff;
    background: #333;
    text-decoration: none;
}

#twitter {
        font-family: georgia;
	width: 600px;
	margin: 10px auto;
	color: #444;
}

#twitter h2 {
    float: left;
    color: #3f074d;
    font-size: 30px;
    margin: 20px 0;
    background: transparent url('/environments/images/twitter.png') center left no-repeat;
    padding-left: 40px;
}

#twitter ul {
        padding: 10px;
        border-top: 1px solid #ffdeee;
        border-bottom: 1px solid #ffdeee;
}

#twitter a {
    color: #3f074d;
    text-decoration: underline;
}

#twitter a:hover {
    background: #3f074d;
    color: #fff;
    text-decoration: none;
}

#twitter a#twitter_follow {
    margin: 20px 0;
    float: right;
}

#twitter li {
    padding-bottom: 10px;
    list-style-type: none;
}

#twitter li:before {
    content:"→ "
}

.footer {
    clear: both;
    width: 960px;
    margin: 0 auto;
    padding: 50px 0;
    display: block;
    float: none;
    text-align: center;
    line-height: 2em;
    color: #999;
}

.footer a {
    color: #666
}

.footer a:hover {
    color: #eee;
    background: #333
}

.footer .sponsor a:hover {
	background: transparent;
}

.footer .sponsor img {
	display: inline-block;
	vertical-align: middle;
}

.wrap {
    padding-top: 20px;
    width: 1000px;
    margin: 0 auto;
}

.sidebar {
    width: 340px;
    min-height: 50px;
    float: left;
    text-align: right;
    margin-right: 20px;
}

.sidebar .page_title {
    width: 340px;
    margin: 20px 0;
    font-size: 49px;
}

.sidebar .page_title h1 {font-size: 49px}

.sidebar .menu {
    clear: both;
    width: 340px;
    font-size: 18px;
    color: #ccc;
}

.sidebar .menu li {
    width: 100%; 
    line-height: 1.5em;
    text-align: right
}
.sidebar .menu li a,
.sidebar .menu li a .editor {
    color: #888;
    text-align: right;
}

.sidebar .menu a.current,
.sidebar .menu a.current .editor {
    text-decoration: none;
    color: #333
}

.sidebar .menu a.current {
    background: #fffeb5;
}

.document .sidebar .menu li.item.level3,
.document .sidebar .menu li.item.level4 {
    margin-left: 0;
}

.sidebar .menu .level3 a {
    font-size: 14px;
}

.sidebar .quickpath {color: #bbb}
.sidebar .quickpath a {color: #aaa; text-decoration: underline}
.sidebar .quickpath a:hover {
    color: #fff; 
    background-color: #666; 
    text-decoration: none
}

.grid {
    padding-top: 40px;
}


.part {
        font-family: georgia;
	color: #666;
	font-size: 16px;
}

.document .part.title h2 {
	color: #444;
	font-size: 36px;
	background-color: #fffeb5;
}

.document .part.title h3 {
        font-size: 24px;
	font-style: italic;
}

.document .part.title h4 {
        font-size: 18px;
}

.part.code {
    border: 0;
    background: transparent;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.3em;
}

.document .part.link {
    background-position: left 8px;
}

.part.link>a,
.part.link>span {
	color: #710f8b
}

.part.link>a:hover {
	text-decoration: underline
}

.chat_box .chat_comment form input {
	width: 50%
}
