/* CS1 Background and text colours
-------------------------------------------------------------*/
html,body {
        background: url(../../img/Mybb_iPhone/bg.gif) #343434 repeat-x top;
}

#pun {
        background: url(../../img/Mybb_iPhone/pun.jpg) #fff no-repeat top center;
        color: #2B2B2B;
        border-color: #26363d
}

/* 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-color: #C5C5C5;
  color: #2B2B2B;
  }

#pun-ulinks .container {
  background: url(../../img/Mybb_iPhone/alt0.gif) repeat-x #C7C7C7 bottom;
}

/* CS1.2 */
.punbb .post .container,
.punbb .post h3 {
  background-color: #B2B2B2;
  color: #2B2B2B;
}

.punbb .post h3 span {
  background-color: #B2B2B2;
  color: #2B2B2B;
}

.punbb td.tc2, .punbb td.tc3 {  font-weight: bold;}

.punbb td.tc2, .punbb td.tcr {
  background: url(../../img/Mybb_iPhone/alt0.gif) repeat-x #B4B4B4 bottom;
  color: #2B2B2B;
  }

.punbb td.tcr a, .punbb td.tcr a:link, .punbb td.tcr a:visited, .punbb td.tcr li.isactive a,
.punbb td.tcr a:focus, .punbb td.tcr a:active {  color: #00628B;  }

.punbb td.tcr a:hover {  color: #FB6B19;}

.punbb td.tcl {
  background: url(../../img/Mybb_iPhone/alt1.gif) no-repeat left bottom #C7C7C7;
  color: #2B2B2B;
  }

.multipage td.tcl {
  background: url(../../img/Mybb_iPhone/alt0.gif) repeat-x #C7C7C7 bottom;
  }

.usertable .container td.tcl {
  background: url(../../img/Mybb_iPhone/alt0.gif) repeat-x bottom #B4B4B4;
}

.punbb td.tc3   {
  background: url(../../img/Mybb_iPhone/alt2.gif) repeat-x #C7C7C7 bottom;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1,.punbb .main h2, #pun-debug h2 {
  background: url(../../img/Mybb_iPhone/h2.gif) no-repeat bottom #fff;
  color: #fff;
  text-align: center;
  font-size: 1.1em;
  font-family: tahoma;
  font-weight: bold;
  letter-spacing: 1px;
  }

.punbb #pun-category1 .container {
  border-top: none;
}

.punbb-admin #pun-admain h2 {  background: #009AD8;
  color: #fff;}

/* CS1.4 */
.punbb .modmenu .container {
  background-color: #B2B2B2;
  color: #2B2B2B;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: #C5C5C5;
  color: #2B2B2B;
  }

#viewprofile h2 span {
  background-image: none;
}

.punbb .post h3 strong {
  font-size: 0.9em;
  color: #2B2B2B;
}

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: #BDBDBD;
  color: #2B2B2B
  }

.punbb textarea, .punbb select, .punbb input {
  background-color: #BDBDBD;
  color: #2B2B2B
}

/* CS1.8 */
#pun-navlinks .container {
  background: transparent;
  color: #998049;
  }

.offline li.pa-online strong {
  font-weight: normal;
  }

.punbb th {
  color: #999;
  background: url(../../img/Mybb_iPhone/sub.gif) repeat-x #343434;
}

/* CS2 Border colours
-------------------------------------------------------------*/

#pun-title, #pun-navlinks {
  border-color: #B9974F;
}

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3 {
  border-color: #F7F7F7;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #F5F5F5;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: #F7F7F7;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: #C7C7C7;
  }

/* CS2.5 */
.punbb th {
  border-color: #fff;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #D1D1E1
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #BDBDBD
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #ccc
  }

.punbb .divider {
  border-color: #BDBDBD #ccc #ccc #BDBDBD;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #a7b5bd;
  }

li.pa-online {
  border-left-color: #00628B;
  }


/* 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: #00628B;
  text-decoration: none;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #00628B;
  text-decoration: none;
  }

/* 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: #FB6B19;
  text-decoration: none;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #fff;
  text-decoration: none;
  font-variant: small-caps;
  background: none;
  padding: 5px 7px 6px 7px;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #fff;
  text-decoration: none;
  background: #019AD9;
  padding: 5px 7px 6px 7px;
  }

#pun-ulinks a {
  color: #343434;
  text-decoration: underline;
  background: none;
  }

/* CS3.4 */
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #000;
  text-decoration: none;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #2B2B2B;
  color: #2B2B2B;
  }

.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(../../img/Mybb_iPhone/old.gif) no-repeat;
}

tr.inew div.icon {
        background: url(../../img/Mybb_iPhone/new.gif) no-repeat;
}

tr.iclosed div.icon {
        background: url(../../img/Mybb_iPhone/lock.gif) no-repeat;
}

tr.iredirect div.icon {
        background: url(../../img/Mybb_iPhone/link.gif) no-repeat;
}

tr.isticky div.icon {
        background: url(../../img/Mybb_iPhone/sticky.gif) no-repeat;
}

.punbb .main h2 span, #pun-stats h2 span, .punbb .main h1 span, #pun-stats h1 span {
        background: none;
        font-variant: small-caps
}

#profilenav h2 span {background-image: none}

td.tcr a{
        background: transparent url(../../img/Mybb_iPhone/post.gif) no-repeat 0px 2px;
        padding-left: 16px;
}

#pun-stats ul.container {
        background: transparent url(../../img/Mybb_iPhone/stats.gif) no-repeat 13px 13px;
        padding-left: 88px;
}

#pun-stats div.statscon {
        background: url(../../img/Mybb_iPhone/alt3.gif) #C5C5C5 repeat-y left;
        color: #2B2B2B;
}

#pun-crumbs2 .container, #pun-about .container{
        background:  #C5C5C5;
        color: #2B2B2B;
}