@import url(/media/forum/themes/default/markup.css);

.djangobb h3 {
    margin-bottom: 0 !important;
}

/* Containers */
.djangobb div.box {
    border: 1px solid #aaa;
    padding: 6px !important;
    margin-bottom: 1.5em;
    overflow: hidden;
    background-color: #f8f8f8;
}

.djangobb div.blocktable {
    margin-bottom: 1.5em;
}

.djangobb div.blocktable .box {
    padding: 0 !important;
    margin: 0 !important;
}

/* Generic floats */
.djangobb .conl,
.djangobb .conr {
    width: 48%;
    margin: 0 !important;
    padding: 0 !important;
}

.djangobb .conr {
	float: right;
	text-align: right;
	clear: right;
}

.djangobb .conl {
	float: left;
	white-space: nowrap;
}

/* Tables */

.djangobb table {
    width: 100%;
}

.djangobb #vf table {
    table-layout: fixed;
}

.djangobb td,
.djangobb th {
    border: 1px solid #aaa;
    border-bottom: none;
	border-right: none;
    padding: 4px 6px;
}

.djangobb th {
    border-top: 0px;
    background-color: #eeeeee;
}

.djangobb td p {
    padding: 5px 0 0 0;
}

.tcl {
    text-align: left;
    width: 50%;
}

.tc2,
.tc3,
.tcmod {
    width: 9%;
    text-align: center;
}

.tcr {
    width: 32%;
    text-align: left;
}

td.tc2,
td.tc3,
td.tcmod {
    background-color: #f5f5f5;
}

th.tc3 {
    width: 70px;
}

.djangobb .tcl {
    border-left: none;
}

td div.tclcon {
    margin-left: 2.3em;
}

.djangobb a.rss {
    display: block;
	float: right;
}

.intd p {
    margin-bottom: 0 !important;
}

.djangobb h2 {
    color: #FFF;
    font-weight: bold;
    font-size: 16px !important;
    line-height: 30px;
    background: #eee url(/media/forum/img/fon111.gif);
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    height: 30px;
    margin-bottom: 0 !important;
    padding-left: 6px;
    padding-right: 6px;
}

.djangobb h2 a {
    font-size: 14px !important;
    text-decoration: none !important;
}

/* Post */

.djangobb div.blockpost h2 {
    background-color: #aaa;
}

.djangobb div.blockpost h2 span.conr {
    color: #ccc;
}

.djangobb div.postleft {
    background-color: #f1f1f1;
}

.djangobb div.postleft {
	float: left;
	width: 16em;
}

.djangobb .connectionstatus {
    vertical-align: middle;
}

.djangobb div.postleft p {
    font-size: 11px;
    padding: 6px;
    margin-bottom: 0 !important;
}

.djangobb img.avatar {
    margin: 0 !important;
    padding: 3px !important;
    border: 1px solid #eee !important;
    border-right-color: #cecece !important;
    border-bottom-color: #cecece !important;
}

.djangobb div.postright {
    background-color: #f8f8f8;
    border-left-color: #f1f1f1;
}

.djangobb div.postright {
    border-left: 16em solid #f1f1f1;
}

.djangobb div.postmsg {
    padding-left: 6px;
    padding-top: 6px;
}

.djangobb div.postmsg h4 {
    margin-bottom: 10px;
}

.djangobb div.postmsg p {
    padding: 0;
}

.djangobb .postsignature {
    border-top: 1px solid #aaa;
    margin-top: 18px;
}

.djangobb .postfooter {
    clear: both;
    height: 22px;
}

.djangobb .postfooter .postleft p {
    font-size: 11px;
    line-height: 22px;
    margin-bottom: 0 !important;
    padding: 0 0 0 6px !important;
}

.djangobb .postfooter .postright {
    text-align: right;
}

.djangobb .postedit {
    text-align: left;
    line-height: 22px;
    margin-bottom: 0 !important;
    font-style: italic;
    font-size: 10px;
    padding-left: 6px !important;
    text-decoration: underline;
}

/* Profile */
a.forumLink {
    background: url(/media/forum/img/menu/forum.png) no-repeat left center;
    padding-left: 20px;
}

h1 a.forumLink {
    font-size: 12px !important;
    text-decoration: none;
    float: right;
    margin: 0;
}

#portlet-profile li.forumSettingsProfileAction {
    background-image: url(/media/forum/img/menu/profile.png) !important;
}

/* Messages */
.djangobb div.message {
    padding: 0.5em;
    color: #222;
    background-color: yellow;
    border: 1px solid #222;
    margin-bottom: 1.5em;
}

/* Topic icons */
.djangobb div.icon,
.djangobb div.inew,
.djangobb div.sticky,
.djangobb div.closed {
	float: left;
	margin-top: 0.1em;
	margin-right: 0.4em;
	display: block;
	height: 16px;
	width: 16px;
}

.djangobb div.icon {
    background: url(/media/forum/img/inactive_topic.png);
}

.djangobb div.inew {
    background: url(/media/forum/img/active_topic.png);
}

.djangobb div.sticky {
    background: url(/media/forum/img/sticky_topic.png);
}

.djangobb div.closed {
    background: url(/media/forum/img/closed_topic.png);
}

.djangobb tr.inew div.icon {
    background: url(/media/forum/img/active_topic.png);
}

.djangobb tr.isticky div.inew {
    background: url(/media/forum/img/active_topic.png);
}

.djangobb tr.iclosed div.icon {
    background: url(/media/forum/img/closed.png);
}

.djangobb div.iredirect {
    background: url(/media/forum/img/link.png);
}

/* Action menus */

.djangobb #inbox,
.djangobb #topic-links {
    margin-bottom: 1.5em;
    height: 22px;
    background-color: #f8f8f8;
    border: 1px solid #aaa;
    padding-left: 6px
}

.djangobb .pagination {
    padding: 0 6px 0 26px !important;
    border: none !important;
    line-height: 22px;
    border-left: 1px solid #aaa !important;
    background: url(/media/forum/img/misc/pagination.png) no-repeat 6px center;
}

.djangobb #topic-links {
    margin-top: 0;
}

.djangobb ul#forum-top-menu,
.djangobb #inbox ul,
.djangobb #topic-links ul,
.djangobb .postright ul {
    margin: 0 !important;
    padding: 0;
    line-height: 22px;
    height: 22px;
}

.djangobb ul#forum-top-menu {
    float: right;
}

.djangobb ul#forum-top-menu li,
.djangobb #inbox ul li,
.djangobb #topic-links ul li,
.djangobb .postright ul li {
    display: inline;
}

.djangobb ul#forum-top-menu a,
.djangobb #inbox ul li a,
.djangobb #topic-links ul li a,
.djangobb .postright ul li a {
    margin-right: 4px;
    font-size: 12px !important;
    text-decoration: none;
    padding: 2px 2px 2px 20px;
}

.djangobb ul#forum-top-menu a.last,
.djangobb #inbox ul li a.last,
.djangobb #topic-links ul li a.last,
.djangobb .postright ul li a.last {
    margin-right: 0 !important;
}

/* Action links */

.djangobb ul#forum-top-menu a.indexLink {
    background: url(/media/forum/img/menu/index.png) no-repeat left center;
    padding-left: 20px;
}

.djangobb ul#forum-top-menu a.userListLink {
    background: url(/media/forum/img/menu/userlist.png) no-repeat left center;
    padding-left: 20px;
}

.djangobb ul#forum-top-menu a.searchLink {
    background: url(/media/forum/img/menu/search.png) no-repeat left center;
    padding-left: 20px;
}

.djangobb ul#forum-top-menu a.profileLink {
    background: url(/media/forum/img/menu/profile.png) no-repeat left center;
    padding-left: 20px;
}

.djangobb a.profileLink {
    background: url(/media/forum/img/menu/profile.png) no-repeat left center;
    padding-left: 20px;
    margin-top: -16px;
    margin-bottom: 16px;
    display: block;
}

.djangobb ul#forum-top-menu a.forumHelpLink {
    background: url(/media/forum/img/menu/help.png) no-repeat left center;
    padding-left: 20px;
}

.djangobb #inbox a.newPostsLink {
    background: url(/media/forum/img/menu/new.png) no-repeat left center;
    padding-left: 20px;
}

.djangobb #inbox a.markReadLink {
    background: url(/media/forum/img/menu/markread.png) no-repeat left center;
    padding-left: 20px;
}

.djangobb a.rssFeedLink {
    background: url(/media/forum/img/feed-icon-small.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.newTopicLink {
    background: url(/media/forum/img/links/addtopic.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.moderateLink {
    background: url(/media/forum/img/links/moderate.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.approveLink {
    background: url(/media/forum/img/links/approve.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.openTopicLink {
    background: url(/media/forum/img/links/open.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.closeTopicLink {
    background: url(/media/forum/img/links/close.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.stickTopicLink {
    background: url(/media/forum/img/links/stick.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.unstickTopicLink {
    background: url(/media/forum/img/links/unstick.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.deleteLink {
    background: url(/media/forum/img/links/delete.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.replyLink {
    background: url(/media/forum/img/links/addtopic.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.subscribeLink {
    background: url(/media/forum/img/links/subscribe.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.unsubscribeLink {
    background: url(/media/forum/img/links/unsubscribe.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.editPost {
    background: url(/media/forum/img/links/editpost.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.replyToPost {
    background: url(/media/forum/img/links/replypost.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb a.quotePost {
    background: url(/media/forum/img/links/quotepost.png) no-repeat left center;
    padding-left: 20px !important;
}

.djangobb .postAttachments li {
    padding-bottom: 2px;
}

.djangobb .postAttachments li a {
    padding-left: 2px !important;
}
