/* CS1 Background and text colours
-------------------------------------------------------------*/

html, body {
     background: url(http://kv.0bb.ru/files/0012/7a/42/54629.png) no-repeat top center #7b7b99;
        }

.punbb .linkst, .punbb .linksb {
background-color: #fff;
}



#pun-title TABLE {
     background: transparent;
}

#pun {
                        background: url(http://kv.0bb.ru/files/0012/7a/42/41864.png) repeat-x top center transparent;
    color: #676767;
}

/* CS1.1 */
.punbb .main .container,
.punbb td.tc3,
.punbb .section .container,
.punbb .section .formal .container,
.punbb .formal fieldset,
#viewprofile li strong, #viewprofile li div,
#setmods dd,.punbb .post-body, .post-box,
.punbb .post-links, .punbb-admin #pun-admain .adcontainer,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  background: #fff;
  color: #676767;
  }

#pun-ulinks .container{
  background: transparent;
  color: #676767;
}

/* CS1.2 */
.punbb .post .container {
  background: #fff;
  color: #676767;
}

.punbb .post h3, .punbb .post h3 span {
  background: #fff;
  color: #676767;
}

.punbb td.tc2 {
  background: #fff;
  color: #676767;
  }

.punbb td.tcr {
  background: #fff;
  color: #676767;
  }

.punbb td.tcl {
  background: #fff;
  color: #676767;
  }

.punbb td.tc3 {
  background: #fff;
  color: #676767;
  }

#pun-announcement .container,
#pun-status .container,
#pun-crumbs1 p.container {
  background: #fff;
  color: #676767;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2 {
  background: url(http://kv.0bb.ru/files/0012/7a/42/26131.png) transparent no-repeat;
  color: #676767;
  font-size: 1.2em;
  text-align: center;
  font-family: tahoma;
  }

.punbb-admin #pun-admain h2 {
  background: #fff;
  color: #676767;
  font-size: 1.2em;
  text-align: left;
  font-family: tahoma;
  }


/* CS1.4 */
.punbb .modmenu .container {
  background: #fff;
  color: #676767;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background: #fff;
  color: #676767;
  }

#viewprofile h2 span {
  background-image: none;
}

.punbb .post h3 strong {
  font-size: 0.9em;
  color: #676767;
}

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background: #fff;
  color: #676767;
  border-radius: 5px;
  }

.punbb textarea {
  background: #fff;
  color: #676767;
  border: 1px solid #CCCCCC;
  border-radius: 3px;
}

.punbb select {
  background: #fff;
  color: #676767;
  border: 1px solid #CCCCCC;
}

.punbb input {
  background: #fff;
  color: #676767;
  border: 1px solid #CCCCCC;
}

/* CS1.8 */
#pun-navlinks .container {
  background: transparent ;
  color: #676767;
  }

.offline li.pa-online strong {
  font-weight: normal;
  }

.punbb th {
  color: #676767;
  background: #fff;
}



/* CS2 Border colours
-------------------------------------------------------------*/

#pun-title, #pun-navlinks {
  border-color: transparent;
}

/* CS2.1 */
#pun-main .category .container {
  border: transparent;
  }

#pun-stats .container, #pun-status .container, #pun-crumbs1 .crumbs {
  border: transparent;
  }

.punbb .post-body, .post h3 {
  border-color: transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;
  }


/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border: transparent;
  }

/* CS2.4 */
.punbb td, .usertable table {
  border: transparent;
  }

.punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .post-links ul, .post-links {
  border-color: transparent;
  }

.punbb .post h3 span {
  border-color: transparent;
  }

/* CS2.5 */
.punbb th {
  border-color: transparent;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border: none;
  }

#pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border: transparent;
  }

#pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border: transparent;
  }

.punbb .divider {
  border-color: transparent;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: none;
  }

li.pa-online {
  border-left-color: #676767;
  }


.section .statscon .container {
  margin-bottom: -14px;
  }

.punbb .modmenu .container {
  border-color: #ccc;
  }

#pun-crumbs2 .container, #pun-about .container {
  border: transparent;
  }

.punbb .post .container,
.punbb .post h3,
.punbb .post h3 span,
.punbb .main .container,
.punbb .section .container {
  border: transparent;
  }

.container table tbody tr td h2 {
  border: transparent;
  }



/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
  color: #3e3e3e;
  text-decoration: underline;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #3e3e3e;
  text-decoration: underline;
  }

/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
  color: #676767;
  text-decoration: none;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #fff;
  text-decoration: none;
  background: none;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #fff;
  text-decoration: underline;
  }

#pun-ulinks a {
  color: #fff;
  text-decoration: none;
  background: none;
  }

/* CS3.4 */
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #f0f9f3;
  text-decoration: none;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #873951;
  color: #00688b;
  }

.post h3 span a:link, .post h3 span a:visited {
  font-weight: normal;
  font-size: 0.9em;
  text-decoration: none;
}

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {
        background: url(http://kv.0bb.ru/files/0012/7a/42/54351.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://kv.0bb.ru/files/0012/7a/42/79665.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://kv.0bb.ru/files/0012/7a/42/13498.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://kv.0bb.ru/files/0012/7a/42/24507.png) no-repeat;
}

.punbb .main h1 span, .punbb .main h2 span, #pun-stats h2 span {
        background: none;
}

#profilenav h2 span, #viewprofile h2 span {background-image: none}

td.tcr a {
        background: transparent url(http://kv.0bb.ru/files/0012/7a/42/28046.png) no-repeat 0px -1px;
        padding-left: 16px;
}

#pun-stats ul.container {
        background: transparent url(http://kv.0bb.ru/files/0012/7a/42/85959.png) no-repeat 11px 10px;
        padding-left: 18px;
}

.punbb .main h1 span, .punbb .main h2 span, #pun-stats h2 span {
        background: none;
}

#pun-stats div.statscon {
       background: #fff;
}

#pun-about .container {
        background: url(http://kv.0bb.ru/files/0012/7a/42/31683.png) top center no-repeat;
        color: #676767;
}























/* Extra additions
-------------------------------------------------------------*/

#poll-special table.poll1 {width:auto}
#poll-special td {border:0}
.punbb .post-content img.postimg {max-width:100%; margin:0.4em 0}
#poll-special td {text-align:left !important; cursor:default !important}
#poll-special td.tac {text-align:center !important}
#poll-special td.tar {text-align:right !important}
div.pa-respect span {font-size:0.9em; vertical-align:top}
div.post-rating p {float:right !important; border:0 !important; padding:3px !important}
div.post-vote p {float:right !important; border:0 !important; padding:3px 13px !important; margin-right:5px !important}
div.post-rating a {cursor:pointer !important}
div.post-rating a, div.post-vote a {font-size:130% !important; text-decoration:none !important}
.post-content table {border-collapse:collapse; margin:0 0 0.8em}
.post-content td {border-width:1px !important; border-style:solid !important; padding:0.4em 0.5em !important; overflow:hidden}
.post-content td p:last-child {padding-bottom:0}
.post-content .highlight-text {background-color:#ff0; color:#000}
.post-content .spoiler-box > div {background:url('/img/plus.png') no-repeat left center; cursor:pointer; padding-left:18px}
.post-content .spoiler-box > div.visible {background-image:url('/img/minus.png');}
.post-content .spoiler-box > blockquote {padding-top:1.4em; display:none}
.post-content .spoiler-box > blockquote.visible {display:block}
.post-content hr {opacity:0.5; -moz-opacity:0.5; -khtml-opacity:0.5; filter:alpha(opacity=50); margin-bottom:0.8em}
.post-content abbr {cursor:help}
#form-buttons table, .punbb .formal textarea {width:99%}
#form-buttons td {padding:0; line-height:0; background-position:center; background-repeat:no-repeat; border:0; cursor:pointer !important}
#form-buttons td img {height:26px; width:100%}
td#button-font {background:url('/i/form_buttons.3.png') no-repeat 50% 5px}
td#button-size {background:url('/i/form_buttons.3.png') no-repeat 50% -21px}
td#button-bold {background:url('/i/form_buttons.3.png') no-repeat 50% -47px}
td#button-italic {background:url('/i/form_buttons.3.png') no-repeat 50% -73px}
td#button-underline {background:url('/i/form_buttons.3.png') no-repeat 50% -99px}
td#button-strike {background:url('/i/form_buttons.3.png') no-repeat 50% -125px}
td#button-left {background:url('/i/form_buttons.3.png') no-repeat 50% -151px}
td#button-center {background:url('/i/form_buttons.3.png') no-repeat 50% -177px}
td#button-right {background:url('/i/form_buttons.3.png') no-repeat 50% -203px}
td#button-link {background:url('/i/form_buttons.3.png') no-repeat 50% -229px}
td#button-spoiler {background:url('/i/form_buttons.3.png') no-repeat 50% -255px}
td#button-image {background:url('/i/form_buttons.3.png') no-repeat 50% -281px}
td#button-video {background:url('/i/form_buttons.3.png') no-repeat 50% -307px}
td#button-hide {background:url('/i/form_buttons.3.png') no-repeat 50% -333px}
td#button-quote {background:url('/i/form_buttons.3.png') no-repeat 50% -359px}
td#button-code {background:url('/i/form_buttons.3.png') no-repeat 50% -385px}
td#button-color {background:url('/i/form_buttons.3.png') no-repeat 50% -411px}
td#button-smile {background:url('/i/form_buttons.3.png') no-repeat 50% -437px}
td#button-keyboard {background:url('/i/form_buttons.3.png') no-repeat 50% -463px}
td#button-table {background:url('/i/form_buttons.3.png') no-repeat 50% -489px}
td#button-addition {background:url('/i/form_buttons.3.png') no-repeat 50% -515px}

.punbb .formal span.input {padding-right:0 !important}
#formkey, #formetc {display:none}
#font-area {width:140px}
#size-area {width:50px}
#color-area, #table-area, #keyboard-area {width:auto}
#keyboard-area {text-align:center; padding-bottom:4px}
#imageup-area {width:170px}
#imageattach-area {width:770px; height:200px; padding:0px !important}
#smilies-area {width:450px}
#image-area {width:550px}
#video-area {width:450px}
#addition-area {width:160px}
#color-area * {border:0}
#color-area table {width:320px; height:20px; padding:0; margin:0}
#table-area table {width:auto !important; padding:0; margin:0; border-collapse:collapse}
#table-area div {margin-top:1em; text-align:center}
#table-layout {margin-right:0.5em}
#table-area td {background-color:#fff; width:20px; height:20px; border-width:1px !important; border-style:solid !important; border-color:#dadada !important}
#table-area td.selected {background-color:#c8c8ff}
#color-area td, #table-area td {margin:0; padding:0; line-height:0}
#color-area td img, #table-area td img {width:20px; height:20px; cursor:pointer !important}
#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {position:absolute; right:6px; top:43px}
#font-area div, #size-area div, #color-area div, #table-area div, #addition-area div, #smilies-area div a, #smilies-area img {cursor:pointer !important}
#font-area span, #font-area img, #size-area span, #size-area img {display:block; position:relative; top:0; left:0}
#font-area span, #font-area img {height:15px}
#size-area span, #size-area img {height:24px}
#font-area span, #size-area span {padding:1px 0}
#addition-area div {height:24px; vertical-align:middle}
#font-area img {width:100%; margin-top:-15px}
#size-area img {width:100%; margin-top:-24px}
#keyboard-span {text-align:center; padding-bottom:10px; width:auto}
#keyboard-span input {font-family: Arial, Helvetica, sans-serif; font-weight:300; font-size:13px; color:#666; background-color:#fff; margin:1px 1px 0 0; border: 1px solid #ddd; cursor:pointer; height:25px; min-width:30px}
#imageup-area input {font-size:0.8em}
#imageup-area p {padding:0; margin:0}
#imageup-title {margin-bottom:10px !important}
#imageup-submit {margin-top:10px !important}
#main-reply {width:100%}
#pun-messages #post-form div.container {padding-left:2.3em}

/* Advertising
-------------------------------------------------------------*/

table.tieser-main, table.tieser-main * {border:none; text-align:left}

#title-logo-tdr * {border:none !important}
#tieser-top * {background-color:#fff; border:none !important; overflow:hidden !important}
#tieser-top, #tieser-top div, table.tieser-top {display:block !important; width:468px !important; height:60px !important; margin:0px !important; padding:0px !important; border:none; overflow:hidden !important; font-size:11px; font-family: Arial, Helvetica, sans-serif; color:#000}
#title-logo-tdr table {table-layout:fixed !important; width:468px !important; height:60px !important}
#title-logo-tdr table.tieser-main, #title-logo-tdr table.tieser-main * {height:60px !important; max-height:60px !important; padding:0}
table.tieser-top, table.tieser-top *, table.tieser-top td.tieser-desc, table.tieser-top td.tieser-img {height:60px !important; max-height:60px !important}
table.tieser-top td.tieser-img {line-height:0 !important; width:91px !important; max-width:91px !important; padding:0px !important}
table.tieser-top td.tieser-desc {line-height:140%; width:155px !important; max-width:155px !important; padding:0 6px 0 6px !important}
table.tieser-top td.tieser-desc a {color:#245B87; text-decoration:underline}
table.tieser-top td.tieser-desc a:hover {color:#DA6200}
table.tieser-top td.tieser-img img {height:60px !important; width:91px !important}

#tieser-bottom {padding:4px 5px !important; margin:0 auto !important}

table.tieser-bottom {max-width:802px !important}
#tieser-bottom table.tieser-main, #tieser-bottom table.tieser-main * {height:75px !important; max-height:75px !important; padding:0}
table.tieser-bottom, table.tieser-bottom *, table.tieser-bottom td.tieser-desc, table.tieser-bottom td.tieser-img {height:75px !important; max-height:75px !important}
table.tieser-bottom td.tieser-img {line-height:0 !important; width:75px !important; max-width:75px !important; padding:0 0 0 6px !important}
table.tieser-bottom td.tieser-desc {line-height:150%; width:225px !important; max-width:225px !important; padding:0 6px 0 6px !important}
table.tieser-bottom td.tieser-img img {height:75px !important; width:75px !important}

/* New profile style
-------------------------------------------------------------*/
#viewprofile td {border:0; padding:0; overflow:hidden}
#profile-name strong {font-size:1.2em}
#profile-left strong {font-weight:bold !important}
#profile-left {width:30%; padding-top:0 !important}
#profile-left li,
#profile-left li * {padding-left:0; margin-left:0}
#profile-right {width:70%}
#profile-right li strong {padding-left:2em}
#profile-signature {padding:1.5em 1.5em 1em 1.5em}
#profile-signature ul {border-style:dashed; border-width:1px 0 0 0; margin:0; padding:1em 1em 0 1em}

/** Video-Button
---------------------------------------------------------------*/
#video-host-list { margin-top: .3em; line-height: 1.4em; }
#video-area-tinp, #image-area-tinp { margin-top: .5em; padding: .3em; border: #66a solid 1px; height: 70px; }
#video-area-msg, #image-source-list, #image-area-actions { margin:.5em 0pt; padding: .3em; }

p[class="checkfield"] img, div[class="checkfield"] img, fieldset[class="radiofield"] img {height:auto; max-height:50px}
.pa-fld1 img, .pa-fld2 img, .pa-fld3 img, .pa-fld4 img, .pa-fld5 img, .pa-fld6 img, .pa-fld7 img, .pa-fld8 img, .pa-fld9 img, .pa-fld10 img, .pa-fld11 img, .pa-fld12 img, .pa-fld13 img, .pa-fld14 img, .pa-fld15 img, .pa-fld16 img, .pa-fld17 img, .pa-fld18 img, .pa-fld19 img, .pa-fld20 img {vertical-align:text-top}


/** Image-Button
---------------------------------------------------------------*/
#image-area-tcon-computer td {border:none !important; padding:0 !important}
#imageupload-left {width:140px}
#imageupload-right {width:380px}
* html #imageQueue {height: expression( this.scrollHeight > 65 ? "66px" : "auto" ); } /* sets max-height for IE */
* html #uploaded-images {height: expression( this.scrollHeight > 143 ? "144px" : "auto" ); }
#imageQueue {max-height:72px; overflow-y:auto; margin-bottom:10px}
#uploaded-images {max-height:144px; overflow-y:auto}
#uploaded-images img {width:88px; height:66px; border:1px solid; margin-right:4px; cursor:pointer}
#upload-button-container, #image-width, #image-thumb-width, #image-insert-format, #insert-all-images-container {margin-top:10px}
#image-source-list a, #image-area-actions a {margin-right:15px; cursor:pointer}
#insert-image-tip {margin-top:10px}
#upload-button-container img {cursor:pointer; width:120px; height:30px}

/** jQuery plugins
---------------------------------------------------------------*/
.tipsy { padding: 5px; font-size: 11px; position: absolute; z-index: 100000; }
.tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; }
.tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; }
.tipsy-arrow { position: absolute; background: url('/i/tipsy.gif') no-repeat top left; width: 9px; height: 5px; }
.tipsy-n .tipsy-arrow { top: 0; left: 50%; margin-left: -4px; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; }
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; }
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -4px; background-position: bottom left; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; background-position: bottom left; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; background-position: bottom left; }
.tipsy-e .tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px; height: 9px; background-position: top right; }
.tipsy-w .tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px; height: 9px; }
.uploadifyQueueItem {background-color: #F5F5F5; border: 2px solid #E5E5E5; font: 11px Verdana, Geneva, sans-serif; margin-top: 5px; padding: 10px; width: 350px;}
.uploadifyError {background-color: #FDE5DD !important; border: 2px solid #FBCBBC !important;}
.uploadifyQueueItem .cancel {float: right;}
.uploadifyQueue .completed {background-color: #E5E5E5;}
.uploadifyProgress {background-color: #E5E5E5; margin-top: 10px; width: 100%;}
.uploadifyProgressBar {background-color: #0099FF; height: 3px; width: 1px;}