/* General */
form, fieldset {margin: 0; padding: 0;}
img {border: 0; vertical-align: middle;}
ul, ol, li {margin: 0; padding: 0;}
ul, ol {margin-bottom: 5pt;}
li {margin: 0 0 5pt 20pt;}
ol li {list-style-type: decimal;}
.widget-content ul li {list-style-type: square; list-style-image: url(../img/li.gif);}
h1, h2, h3, h4, h5, h6, h7, h8, h9 {margin: 0; padding: 0; font-size: 10pt; font-weight: bold; font-style: normal;background:none;border:none;}
h1 {font-size: 18pt;}
h2 {font-size: 16pt;}
h3 {font-size: 14pt;}
h4 {font-size: 12pt;}
a {color: #463d37; text-decoration: underline;}
h1 a {text-decoration: none; color: #3a3e45;}
h1 a:hover {text-decoration: none;}
.nobr {white-space: nowrap}
/*.left {text-align: left}
.right {text-align: right}
.center {text-align: center}
.jslink {text-decoration: none; border-bottom: 1px dotted black;}*/
table.va {border-collapse: collapse; }
table.va td {padding: 0; vertical-align: middle;}
.move {cursor: move;}
.br {clear: both;}
.dn {display: none;}

/* Common: columns */
.c1 {width: 251px; float: left;}
.c3 {width: 251px; float: right;}
.c2 {margin-left: 251px; margin-right: 251px;}
.ctop {height: 32px;}

/* Common: small user markup */
.user {}
.user .user-ava- {float: left; width: 30px;}
.user .user-ava- div {border: 1px solid #dcddd8; float: left; margin-top: 4px;}
.user .user-ava- img {border: 1px solid #fff;}
.user .user-desc- {margin-left: 40px;}
.user .user-desc- a {color: #754c24;}
.user .user-desc- span {color: #969494;}

/* Common: auxiliaty */
img.private-left {margin-right: 5px;}
img.section-sep {margin: 0 5px;}

/* Project head */
#phead {height: 93px; border-bottom: 1px solid #c8c9c2; background: #fff;}
#phead .c1 {padding: 8px 0 0; text-align: right;}
#phead .c1 table.va {margin: 0 6px 0 auto; height: 75px;}
#phead .c2 {padding: 8px 10px 0 26px;}
#phead .c2 table.va {margin: 0 auto 0 0; height: 75px;}
#phead h1, #head h1 a {color: #592d10;}
#phead h1 a:hover {color: #0076a3;}

/* Project content */
#pcontent {clear: both; border-top: 1px solid #d9dad5; background: #d9dad4; overflow: hidden; width: 100%;}
.layout-3columns #pcontent {background: #fff;}
.layout-3columns #pcontent .c2 {background: #c7c5b9;}
.layout-3columns #pcontent .c1 {width: 246px;}
.layout-3columns #pcontent .c3 {width: 246px;}
.layout-3columns #pcontent .c2 {margin-left: 246px; margin-right: 256px;}

/* Left menu */
#left_menu {padding: 10px;}
#left_menu .header- {margin: 10px 0 0; font-size: 18px;}
#left_menu .item- {margin: 10px 0;}
#left_menu .item-.current- {font-weight: bold;}
#left_menu .item-.sub- {padding-left: 20px;}

/* Content */
#content {margin: 0; padding: 12px; background: #fff;}
#content h2 {color: #736357; font-weight: bold; font-size: 16pt; margin-left: 26px; margin-bottom: 12px;background:none;border:none;}
#content h3 {color: #736357; font-weight: bold; font-size: 13pt; margin: 12px 0;background:none;border:none;}

/* Forms */
fieldset {margin: 10px 0; padding: 12px; border: 1px solid #736357;}
fieldset legend {font-size: 12pt; color: #592d10;}
fieldset label {color: #592d10;}
fieldset .global-comment- {background: #f0eee9; margin-bottom: 10px; padding: 4px;}
div.field {position: relative; margin-bottom: 10px;}
div.field label {display: block;}
div.field label.cb- {position: static; display: inline; padding: 0 0 0 4px;}
div.field label.str- {position: static; display: block;}
div.field input.text- {width: 96%;}
div.field input.text- {font-size: 13pt;}
div.field textarea {width: 96%}
div.field .comment- {color: #736357; font-size: 8.5pt;}
div.field .error- {background: url(../img/error-pointer.gif) no-repeat 12px 0; padding-top: 6px; //padding-top: 5px;}
div.field .error- div {display: inline; background: #800; color: #FFF; padding: 3px;}
div.field-submit {margin-bottom: 10px;}
div.field-submit.red input {background: #800; color: #FFF;}
.star {color: #800;}

/* Form informers */
.error {padding: 4px; background: #800; color: #FFF;}
.error a {color: #FFF;}
.error div {}
.info {padding: 4px; background: #080; color: #FFF;}
.info a {color: #FFF;}
.info div {}

/* Confirmation form */
div.confirm {background: yellow;}
div.confirm.red {background: #800;}
div.confirm .content- {padding: 8px;}
div.confirm.red .content- {color: #FFF;}
div.confirm.red .content- a {color: #FFF;}
div.confirm .buttons- {padding: 0 8px 8px 0; text-align: right;}
div.confirm .buttons- input {margin-left: 10px;}
div.confirm .buttons- input.ok- {margin-left: 10px;}
div.confirm .buttons- input.cancel- {margin-left: 10px;}
div.confirm .bottom- {padding: 4px 8px; background: #999; color: #FFF; font-size: small;}

/* Project content: admin mode link */
#pcontent .c1 .ctop div {text-align: center; padding: 8px 6px 0 16px;}
#pcontent .c1 .ctop a {color: #ba421d; border-bottom: 1px dotted #809194; font-size: 8pt;}

/*.widgets-inner {padding: 6px 6px 0;}*/
.widgets.sections- {margin-bottom: 0;}
.widgets.post-button- {margin-bottom: 0;}

/* Widget 'communities' */
.wd-communities {border: 1px solid #bcbdb7; background: #ecedea;}
.wd-communities .white-border- {border: 1px solid #f8f8f7;}
.wd-communities .h2 {background: none; border-bottom: 0;}
.wd-communities h2 {background: none; color: #736357; padding-bottom: 4px;}
.wd-communities .widget-content {background: #ecedea;}
.wd-communities .community- {overflow: hidden; width: 96%;}
.wd-communities .left- {width: 66px; float: left; padding-bottom: 16px; text-align: right;}
.wd-communities .right- {margin-left: 66px;}
.wd-communities img {border: 3px solid #fff; margin: 0 0 0 auto; margin-right: 12px;}
.wd-communities h3 a {font-size: 9pt; color: #736357;}
.wd-communities .descr- {color: #c1760e; line-height: 11pt;}

/* Widget 'sections' */
.wd-sections {margin-bottom: 0; border: 1px solid #bcbdb7; background: #ecedea;}
.wd-sections .white-border- {border: 1px solid #f8f8f7;}
.wd-sections .h2 {background: none; border-bottom: 0;}
.wd-sections h2 {background: none; color: #736357; padding-bottom: 4px;}
.wd-sections .widget-content {background: #ecedea;}
.wd-sections h3 a {font-size: 9pt; color: #736357;}

/* Widget 'post button' */
.wd-post-button {margin-bottom: 0; border: 1px solid #bcbdb7; background: #ecedea;}
.wd-post-button .white-border- {border: 1px solid #f8f8f7;}
.wd-post-button .h2 {background: none; border-bottom: 0;}
.wd-post-button h2 {background: none; color: #736357; padding-bottom: 4px;}
.wd-post-button .widget-content {padding: 6px; text-align: center; background: #c7c5b9; font-size: 8pt; color: #655641;}
.wd-post-button h3 a {font-size: 9pt; color: #736357;}
.wd-post-button a.button-post- {display: block; margin: 0 auto; width: 167px; height: 40px; background: url(../img/button-post.gif) no-repeat 0 0; text-indent: -2000px; overflow: hidden;}
.wd-post-button a.button-post-:hover {background-position: 0 50%;}
.wd-post-button a.button-post-.disabled- {background-position: 0 100%; cursor: default;}
.wd-post-button a.button-post-.disabled-:hover {background-position: 0 80px;}

/* Widget 'last_posts' */
.wd-posts {background: #fff;}
.wd-posts .h2 {background: none; border-bottom: 0;}
.wd-posts h2 {background: none; color: #736357; padding-bottom: 4px;}
.wd-posts .widget-content {background: #fff;}
.wd-posts.wg-narrow .widget-content {padding-left: 2px; padding-right: 2px;}
.wd-posts.wg-wide .top- {background: #eff0ed; padding-left: 60px; padding-top: 5px;}
.wd-posts.wg-wide .top- h3 a {color: #592d10; font-size: 11pt; font-weight: bold;}
.wd-posts.wg-wide .left- {width: 60px; float: left; text-align: right;}
.wd-posts.wg-wide .left- span {margin-right: 5px; font-size: 8pt; color: #989da7;}
.wd-posts.wg-wide .middle- {background: #eff0ed; padding-bottom: 5px;}
.wd-posts.wg-wide .middle- a {color: #736357;}
.wd-posts.wg-wide .middle- .right- {margin-left: 60px;}
.wd-posts.wg-wide .bottom- {background: #f6f6f5; padding: 3px 0; margin-bottom: 3px;}
.wd-posts.wg-wide .bottom- .left- {padding-top: 2px;}
.wd-posts.wg-wide .bottom- .center- {border-right: 1px solid #d7d8d3; margin: 0 150px 0 60px;}
.wd-posts.wg-wide .bottom- .right- {float: right; width: 150px; text-align: right; padding-right: 12px; padding-top: 6px;}
.wd-posts.wg-wide .bottom- .right- span {color: #989da7; font-size: 8pt; padding-right: 2px;}
.wd-posts.wg-wide .bottom- .right- a {color: #592d10; font-size:12pt; text-decoration: none; border-bottom: 1px solid #592d10; font-weight: bold;}
.wd-posts.wg-wide .all-links- {margin-top: 8px; text-align: center;}
.wd-posts.wg-wide .all-links- a {color: #736357; font-size: 8pt;}
.wd-posts.wg-narrow .title- {background: #eaebe7; padding: 5px;}
.wd-posts.wg-narrow .title- h3 a {color: #592d10; font-size: 11pt; font-weight: bold;}
.wd-posts.wg-narrow .community- {background: #eaebe7; padding: 3px 5px;}
.wd-posts.wg-narrow .community- span {font-size: 8pt; color: #989da7;}
.wd-posts.wg-narrow .community- a {color: #736357;}
.wd-posts.wg-narrow .user- {padding: 5px; background: #f5f5f3;}
.wd-posts.wg-narrow .comments- {padding: 5px 10px; background: #eaebe7; text-align: right; margin-bottom: 3px;}
.wd-posts.wg-narrow .comments- span {color: #989da7; font-size: 8pt; padding-right: 2px;}
.wd-posts.wg-narrow .comments- a {color: #592d10; font-size:12pt; text-decoration: none; border-bottom: 1px solid #592d10; font-weight: bold;}
.wd-posts.wg-narrow .all-links- {margin-top: 8px; text-align: center;}
.wd-posts.wg-narrow .all-links- a {color: #736357; font-size: 8pt;}

/* Widget 'most_active_members' */
.wg-members {}
.wg-members .buttons- {}
.wg-members .button- {float: left; height: 25px; margin-bottom: 10px; white-space: nowrap; _width: 10px;}
.wg-members .button- div {height: 25px; line-height: 22px; font-weight: bold;}
.wg-members .button-.this- {background: #d6e2e4 url(../img/widget-project-jslink-left.gif) no-repeat 0 50%;}
.wg-members .button-.this- div {padding: 0 6px; color: #0076a3; background: url(../img/widget-project-jslink-right.gif) no-repeat 100% 50%;}
.wg-members .button-.link- {padding-left: 3px; padding-right: 3px;}
.wg-members .button-.link- div {display: inline; color: #592d10; border-bottom: 1px dotted #aec6ca;  cursor: pointer; }
.wg-members .item- {margin: 3px 0; padding-bottom: 5px; overflow: hidden; width: 96%; border-bottom: 1px solid #d9dad4;}
.wg-members .item-.last- {border: 0;}
.wg-members .count- {padding: 1px 2px; float: right; color: #603913; font-weight: bold;}
.wg-members.wg-narrow .widget-content {padding-left: 0px; padding-right: 0px;}
.wg-members.wg-narrow .tabs- .buttons- {overflow: hidden; width: 100%; padding-left: 4px;}
.wg-members.wg-narrow .user {margin-left: 10px;}
.wg-members.wg-narrow .item- {width: 100%;}
.wg-members.wg-narrow .count- {padding-right: 10px;}
.wg-members.wg-wide .tabs- .buttons- {overflow: hidden; width: 96%;}
.wg-members.wg-wide .tabs- {overflow: hidden; width: 96%;}
.wg-members.wg-wide .left- {width: 176px; float: left;}
.wg-members.wg-wide .right- {width: 176px; margin-left: 200px;}

/* Post */
.layout-posts #pcontent .c1 {width: 111px; float: left;}
.layout-posts #pcontent .c2 {margin-left: 111px; margin-right: 251px;}
.layout-posts #menu {margin-left: 135px;}
.layout-posts #pcontent .c2 h2 {margin-left: 161px;}
.post {overflow: hidden; width: 99%;}
.post .time- {padding-left: 141px; color: #8f908b; margin-top: 10px;}
.post .author- {float: left; width: 142px;}
.post .author-avatar- {margin-right: 20px; background: #c7c5b9; padding: 10px;}
.post .author-avatar- table.va {margin: 0px;}
.post .author-login- {margin-right: 20px; margin-bottom: 10px; background: #e2e2db; padding: 6px; color: #736357;}
.post .author-login- a {color: #592d10;}
.post .content- {margin-left: 142px; padding: 0 10px; margin-right: 0; background: #f0eee9;}
.post .content-inner- {background: #f0eee9; padding: 6px 0;}
#content .post h3 {color: #592d10; margin: 0 0 4px; padding-left: 30px;}
.post .from- {width: 96%; overflow: hidden;}
.post .from- .left- {float: left; width: 30px; color: #989da7; font-size: 8pt; text-align: right: padding-right: 4px;}
.post .from- .right- {margin-left: 30px;}
.post .text- {padding-top: 10px;}
.post .comments- {padding: 10px 0; color: #989da7; text-align: right;}
.post .comments- a {color: #592d10; font-size: 12pt;}

/* Comment */
.comment {background: #fff; padding: 8px; margin-bottom: 10px;}
.comment .time- {float: right;}
.comment {}

/* Rounded corners (created by js) */
.rcorners-top-gray-5-2 {border-top: 3px solid #ecedea;}
.rcorners-bottom-gray-5-2 {border-bottom: 3px solid #ecedea;}
.rcorners-top-color-5-2 {border-top: 3px solid #aec6ca;}
.rcorners-top-color-5-2-invisible {border-top: 3px solid #aec6ca;}
.rcorners-top-white-5-2 {border-top: 3px solid #fff;}
.rcorners-top-white-5-2-invisible {border-top: 3px solid #fff;}
.rcorners-bottom-widget-5-2 {border-bottom: 5px solid #f2f3f4;}
.rcorners-added {}
.rcorners-added b, .rcorners-added i, .rcorners-added span {line-height: 1px; font-size: 1px; height: 1px; display: block; overflow: hidden;}
.rcorners-added b.s1- {margin: 0 1px;}
.rcorners-added b.s2- {margin: 0 2px;}
.rcorners-added b.s3- {margin: 0 3px;}
.rcorners-color .n1- {background: #fff; border: 1px solid #f3f4f2;}
.rcorners-color .n2- {background: #fff;}
.rcorners-color .n3- {border: 3px solid #fff;}
.rcorners-color .n3- i {border: 1px solid #ebf1f2;}
.rcorners-color .n4- {border: 1px solid #f6f6f5;}
.rcorners-color .n4- i{border: 2px solid #fff;}
.rcorners-color .n4- span {border: 1px solid #d9e4e6;}
.rcorners-color .n5- {border: 2px solid #fff;}
.rcorners-color .n5- i {border: 1px solid #ebf1f2;}
.rcorners-white .n1- {background: #fff; border: 1px solid #f3f4f2;}
.rcorners-white .n2- {background: #fff;}
.rcorners-white .n3- {border: 3px solid #fff;}
.rcorners-white .n4- {border: 1px solid #f6f6f5;}
.rcorners-white .n4- i{border: 2px solid #fff;}
.rcorners-white .n5- {border: 2px solid #fff;}
.rcorners-widget .n1- {background: #cecfc9;}
.rcorners-widget .n2- {background: #f1f2f3; border: 1px solid #e6e7e4;}
.rcorners-widget .n3- {background: #f1f2f3; border: 1px solid #eeeeed;}
.rcorners-widget .n4- {background: #f2f3f4; border: 1px solid #e5e6e3;}
.rcorners-widget .n5- {background: #f2f3f4;}
.rcorners-gray .n1- {border: 1px solid #d3d4cf;}
.rcorners-gray .n1- i {background: #bcbdb7; border: 1px solid #c5c6c0;}
.rcorners-gray .n2- {border: 2px solid #c5c6c0;}
.rcorners-gray .n2- i {background: #f6f6f5; border: 1px solid #e1e2de;}
.rcorners-gray .n3- {border: 1px solid #c5c6c0;}
.rcorners-gray .n3- i {border: 1px solid #d3d4cf;}
.rcorners-gray .n4- {border: 1px solid #d3d4cf;}
.rcorners-gray .n4- i {border: 1px solid #c5c6c0;}
.rcorners-gray .n5- {border: 1px solid #c3c4be;}
.rcorners-gray .n5- i {border: 1px solid #e1e2de;}
.rcorners-added b.n1-, .rcorners-added b.n2-, .rcorners-added b.n3-, .rcorners-added b.n4-, .rcorners-added b.n5- {border-top: 0; border-bottom: 0;}
.rcorners-added b.n1- i, .rcorners-added b.n2- i, .rcorners-added b.n3- i, .rcorners-added b.n4- i, .rcorners-added b.n5- i {border-top: 0; border-bottom: 0;}
.rcorners-added b.n1- span, .rcorners-added b.n2- span, .rcorners-added b.n3- span, .rcorners-added b.n4- span, .rcorners-added b.n5- span {border-top: 0; border-bottom: 0;}

/* Layout fixes for community */
.layout-community .widget h2 {background: #e4b785; color: #736357;}
.layout-3columns .widgets.sections- .widgets-inner {border: 2px solid #fff; padding-top: 0; border-top: 0; border-bottom: 0;}
.layout-3columns .widgets.post-button- .widgets-inner {border: 2px solid #fff; padding-top: 0; border-top: 0; border-bottom: 0; margin-top: 10px;}
.layout-community .wd-communities h2 {background: none;}
.layout-community .wd-sections h2 {background: none;}
.layout-community .wd-posts h2 {background: none; color: #736357; padding-bottom: 4px;}
.layout-community .wg-members .button-.this- {background: #f1dbc2 url(../img/widget-community-jslink-left.gif) no-repeat 0 50%;}
.layout-community .wg-members .button-.this- div {background: url(../img/widget-community-jslink-right.gif) no-repeat 100% 50%;}
.layout-community .wg-members .button-.this- div {color: #736357;}

/* Debug info */
#debug-info {background: #eeeeee; font-size: 8pt; line-height: 28px; text-align: center;}
#debug-info span {margin: 0 10px;}
#debug-info span.cache {margin: 0; cursor: help;}
#debug-info span.cache.no_info {color: #000}
#debug-info span.cache.no_need {color: #000}
#debug-info span.cache.no_cache {color: #008}
#debug-info span.cache.miss {color: #800}
#debug-info span.cache.cached_partially {color: #880}
#debug-info span.cache.cached {color: #080}
#debug-info span.cache.cached_directly {color: #080}

/* Bottom */
#bottom {background: #716058; padding: 20px 0 35px; text-align: center; color: #9d9d9c;}
#bottom a {color: #9d9d9c;}

/* jQueryUI: dialogs */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ui-widget-overlay { background: #666666 url(../img/jquery-ui/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
.ui-dialog {background: #FFF; border: 1px solid #333;}
.ui-dialog-titlebar {padding: 4px 8px; background: #888; font-size: 120%; cursor: move;}
.ui-dialog-title {color: #FFF;}
.ui-dialog-titlebar-close {position: absolute; right: 8px; top: 8px; float: right;}
.ui-icon {display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat;}
.ui-icon-closethick {width: 11px; height: 11px; background: url(../img/close.jpeg);}
.ui-dialog-content {padding: 8px;}
.ui-dialog-buttonpane {padding: 8px; text-align: center;}

/* Old markup */

.tcss-block {margin-bottom: 10px; padding: 10px; border: 1px solid gray;}
.tcss-main {padding: 10px;}
.widget1 {background: #EEE; border: 1px solid #CCC; padding: 10px; margin: 0 0 10px;}
.tcss-widget h2 {padding: 0; margin: 0 0 10px; font-size: 120%}
.tcss-widget-add {padding: 10px; text-align: center; display: none;}

.template {display: none;}

#sort {padding: 8px; border: 1px solid #FFF;}
.move-handle {cursor: move;}

.widget-fake {background: #EEE; height: 20px;}