/**
 * Gramy Fair / Forum
 *
 * @author Paweł Przybyś (pawel.przybys@gmail.com)
 * @version 1.00 2009/12/06
 */

/**
 * Main
 */

#forum #main { background: url(../img/forum/top.jpg) top center no-repeat #222; }

/**
 * Top
 */

#forum #top-wrapper { height: 261px; background: url(../img/forum/top-wrapper.jpg) no-repeat; }
#forum #top h1 { top: 49px; text-indent: 0; }
#forum #top h1 a { width: 191px; height: 0; overflow: hidden; padding-top: 33px; background: url(../img/forum/gramy-fair.gif) no-repeat; }
#forum #top h2 { position: absolute; top: 79px; left: 0; }
#forum #top h2 a { display: block; width: 381px; height: 0; overflow: hidden; padding-top: 107px; background: url(../img/forum/forum.gif) no-repeat; }
#forum #top-forum-line { position: absolute; top: 60px; left: 210px; width: 740px; height: 0; overflow: hidden; border-top: 1px solid #e7e7e7; }

/**
 * Account
 */

#forum #account { top: 15px; }

/**
 * Account Nav
 */

#forum #account-nav { top: 15px; }

/**
 * Top Forum Nav
 */

#forum #top-forum-nav { position: absolute; top: 76px; left: 568px; }
#forum #top-forum-nav ul li { position: absolute; }
#forum #top-forum-nav ul .szukaj { top: 18px; left: 0; }
#forum #top-forum-nav ul .faq { top: 9px; left: 157px; }
#forum #top-forum-nav ul .regulamin { top: 77px; left: 17px; }
#forum #top-forum-nav ul .pomoc { top: 53px; left: 173px; }
#forum #top-forum-nav ul li a { display: block; overflow: hidden; background: url(../img/forum/top-forum-nav.gif) no-repeat; }
#forum #top-forum-nav ul .szukaj a { width: 126px; height: 0; padding-top: 48px; background-position: 0 -18px; }
#forum #top-forum-nav ul .faq a { width: 86px; height: 0; padding-top: 48px; background-position: -157px -9px; }
#forum #top-forum-nav ul .regulamin a { width: 156px; height: 0; padding-top: 48px; background-position: -17px -77px; }
#forum #top-forum-nav ul .pomoc a { width: 103px; height: 0; padding-top: 48px; background-position: -173px -53px; }

/**
 * Middle
 */

#forum #content-wrapper { float: none; width: 950px; }
#forum #heading { display: none; }
#forum #content { width: 760px; }
#forum #aside { float: none; width: auto; display: none; }

/**
 * Bottom Forum Nav
 */

#forum #bottom-forum-nav { position: absolute; top: 28px; left: 25px; }
#forum #bottom-forum-nav ul li { float: left; padding-right: 20px; text-indent: -2000em; }
#forum #bottom-forum-nav ul li a { display: block; height: 12px; background-image: url(../img/forum/bottom-forum-nav.gif); background-repeat: no-repeat; }
#forum #bottom-forum-nav ul .szukaj a { width: 49px; background-position: 0 0; }
#forum #bottom-forum-nav ul .faq a { width: 24px; background-position: -69px 0; }
#forum #bottom-forum-nav ul .regulamin a { width: 68px; background-position: -112px 0; }
#forum #bottom-forum-nav ul .pomoc a { width: 44px; background-position: -200px 0; }
 
/**
 * Advertisements
 */

#forum #forum-ad-1 { width: 150px; height: 550px; line-height: 550px; }
#forum #forum-ad-2 { width: 150px; height: 135px; line-height: 135px; }

#forum .forum table .heading th { font-size: 1.637em; font-weight: normal; padding: 6px 16px; line-height: 1.3; background: url(../img/forum/heading.gif) repeat-x #666; border: 1px solid #222; color: #fff; }
#forum .forum table .heading a { color: #fff; }
#forum .forum table .title th { font-size: 1.091em; font-weight: bold; padding: 6px 16px; line-height: 1.3; background: url(../img/forum/title.gif) repeat-x #3e3e3e; margin-bottom: 1px; color: #ccc; }
#forum .forum table { width: 100%; margin: 1px auto 20px; }
#forum .forum table th,
#forum .forum table td { border: 1px solid #222; vertical-align: middle; }
#forum .forum table thead th { background: #222; color: #666; padding: 2px 16px; font-size: .909em; }
#forum .forum table tbody th,
#forum .forum table tbody td { background: #393939; padding: 6px 16px; color: #999; }
#forum .forum table .icon { width: 16px; }
#forum .forum table .icon .forum { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) 0 0 no-repeat; }
#forum .forum table .title a { color: #fff; font-weight: bold; font-size: 1.091em; }
#forum .forum table .topics { text-align: center; width: 44px; }
#forum .forum table .posts { text-align: center; width: 44px; }
#forum .forum table .views { text-align: center; width: 44px; }
#forum .forum table .latest-post { width: 188px; }
#forum .forum table .latest-post .date { font-size: .909em; }
#forum .forum table .latest-post .topic { color: #fff; }
#forum .forum table .latest-post .user { color: #fff; }
#forum .forum table .icon .users { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) -16px 0 no-repeat; }
#forum .forum table .icon .stats { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) -64px 0 no-repeat; }
#forum .forum table .icon .topic { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) 0 0 no-repeat; }
#forum .forum table .icon .closed { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) -80px 0 no-repeat; }
#forum .forum table .subject a { color: #fff; font-weight: bold; font-size: 1.091em; }
#forum .forum table .author { width: 88px; text-align: center; }
#forum .forum table .author .user { color: #fff; }
#forum .forum table .moderators { padding: 4px 0; }
#forum .forum table .moderators span { color: #fff; }
#forum .forum table .top-10 { padding: 4px 0; }
#forum .forum table .top-10 span { color: #fff; }
#forum .forum table .user-count { padding: 4px 0; }
#forum .forum table .post-count { padding: 4px 0; }
#forum .forum .header { border-top: 1px solid #464646; }
#forum .forum .header:after { content: " "; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
#forum .forum .header { display: inline-block; }
html[xmlns] #forum .forum .header { display: block; }
* html #forum .forum .header { height: 1%; }
#forum .forum .pagination { padding: 14px 0; }
#forum .forum .pagination a { color: #f00; }
#forum .forum .pagination a:hover { text-decoration: none; }
#forum .forum .pagination a:hover span { text-decoration: underline; }
#forum .forum .pagination .current, #forum .forum .pagination .page { margin: 0 .5em; }
#forum .forum .pagination .current span { color: #fff; }
#forum .forum .header .pagination { float: left; } 
#forum .forum .header .new-topic { float: right; }
#forum .forum .header .new-topic a { display: inline-block; width: 149px; height: 0; overflow: hidden; padding-top: 44px; background: url(../img/forum/nowy-temat.gif) no-repeat; }
#forum .forum table .search { padding: 6px 16px; background: url(../img/forum/search.gif) repeat-x #666; border: 1px solid #222; color: #fff; }
#forum .forum table .search input.text { float: left; border: 1px solid #666; background: #333; color: #ccc; padding: 2px 6px; width: 160px; }
#forum .forum table .search input.przeszukaj-forum { float: left; display: inline; border: 0; background: url(../img/forum/przeszukaj-forum.gif) no-repeat; cursor: pointer; width: 155px; height: 0; overflow: hidden; padding-top: 16px; margin: 2px 0 2px 4px; }
#forum .forum .footer { margin-top: -20px; margin-bottom: 20px; }
#forum .forum .footer:after { content: " "; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
#forum .forum .footer { display: inline-block; }
html[xmlns] #forum .forum .footer { display: block; }
* html #forum .forum .footer { height: 1%; }
#forum .forum .footer .pagination { float: left; } 
#forum .forum .footer .new-topic { float: right; }
#forum .forum .footer .new-topic a { display: inline-block; width: 149px; height: 0; overflow: hidden; padding-top: 44px; background: url(../img/forum/nowy-temat.gif) no-repeat; }
#forum .forum table .goto { padding: 12px 16px; }
#forum .forum table .goto select { float: left; border: 1px solid #666; background: #333; color: #ccc; padding: 2px; width: 679px; }
#forum .forum table .goto input.idz { float: left; display: inline; border: 0; background: url(../img/forum/idz.gif) no-repeat; cursor: pointer; width: 43px; height: 0; overflow: hidden; padding-top: 16px; margin: 3px 0 3px 4px; }
#forum .forum table.form input[type="text"],
#forum .forum table.form textarea { display: block; margin: 2px 0 4px; }
#forum .forum table.form input[type="text"],
#forum .forum table.form textarea { border: 1px solid #ccc; padding: 4px 4px; font: normal 1em/1.2em Tahoma, Helvetica, sans-serif; color: #000; background: #fff; }
#forum .forum table.form input[type="text"] { width: 280px; }
#forum .forum table.form textarea { width: 420px; height: 140px; }
#forum .forum table.form .errors { margin: -2px 0 4px; color: #f00; }
#forum .forum table td.user { width: 160px; }
#forum .forum table td.user span.user { color: #fff; font-weight: bold; font-size: 1.091em; }
#forum .forum table td.user span.user span { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) -160px 0 no-repeat; }
#forum .forum table td.content span.date { font-size: .909em; }
#forum .forum table td.content span.date span { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) -176px 0 no-repeat; }
#forum .forum table td.content .detail { position: relative; }
#forum .forum table td.content a.id { position: absolute; right: 0; bottom: 0; font-size: .909em; color: #999; }
#forum .forum table td.content a.id span { color: #fff; }
#forum .forum table td.user p.info { font-size: .909em; }
#forum .forum table td.content .body { color: #ccc; padding: 24px 12px; }
#forum .forum table tr.trhead td { background: url(../img/forum/title.gif) repeat-x #3e3e3e; }
#forum .forum table tr.trfoot td { background: #333; }
#forum .forum table tr.trfoot a.top { float: left; display: block; background: url(../img/forum/top.gif) no-repeat; width: 48px; height: 0; overflow: hidden; padding-top: 16px; }
#forum .forum table tr.trfoot td.tdfoot { text-align: right; }
#forum .forum table tr.trfoot a.reply { float: right; display: block; background: url(../img/forum/odpisz.gif) no-repeat; width: 73px; height: 0; overflow: hidden; padding-top: 16px; }
#forum .forum table tr.trfoot span.is-closed { color: #fff; font-weight: bold; }
#forum .forum table tr.trfoot span.is-closed span { display: inline-block; width: 16px; height: 0; overflow: hidden; padding-top: 16px; background: url(../img/forum/icons.gif) -80px 0 no-repeat; }
#forum .forum table td.post { vertical-align: top; }
