/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.0 */
body {
  background-color: rgb(230, 230, 230);
  }

.redirect-page {
  background: rgb(255, 255, 255);
  }

#pun {
  background: rgb(255, 255, 255);
  }

/* CS1.1 */
.punbb .section .container, .punbb .modmenu .container,
.punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  background: rgb(255, 255, 255);
  color: #333
  }

.punbb .section .container {
  border-radius: 3px;
  }

#pun-status .container, #pun-crumbs2 .container, .punbb .post h3, .punbb .post h3 span {
  border-radius: 3px 3px 0 0 !important;
  }

#pun-crumbs1 .container, #pun-about .container {
  border-radius: 0 0 3px 3px !important;
  }

.punbb .fs-box .container {
  background: rgb(255, 255, 255);
  }

/* CS1.2 */
.punbb .main .container, .punbb-admin #pun-admain .adcontainer {
  border: 1px solid rgb(225, 225, 227);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.06);
  color: #333;
  border-radius: 3px;
  }

#userlist {
  box-shadow: none;
  }

.punbb .main .post .container, .punbb .post h3 {
  border-radius: 0px !important;
  box-shadow: none;
  border-color: transparent;
  }

.punbb .main .post .container {
  border-bottom: 1px solid rgb(225, 225, 227)
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  font-size: 12px;
  color: rgb(255, 255, 255);
  background-color: rgb(94, 135, 185);
  padding: 8px 10px;
  margin: 0;
  border: none;
  padding: 10px;
  margin: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-radius: 3px 3px 0 0;
  min-height: 6px;
  }

#pun-searchposts .main h1, #pun-viewtopic .main h1 {
  border-radius: 3px;
  }

/* CS1.4 */
#pun-title, #pun-title .container {
  background-color: #ffffff;
  color: rgb(94, 135, 185);
  border: none 0 transparent !important;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, 
.punbb-admin #pun-admain legend span {
  background-color: #fff;
  color: rgb(32, 69, 103);
  text-shadow: none;
  }

/* CS1.6 */
#viewprofile li, #setmods dl {
  background-color: #eee;
  color: #333;
  }

.punbb:not(#pun-index):not(#pun-viewforum) th {
  background-color: #eee;
  color: #333;
  }

.punbb .post h3 span {
  background-color: transparent;
  color: #333
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  border: 1px solid rgb(225, 225, 227);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: rgba(0,0,0,0.04) 0px 1px 6px;
  -moz-box-shadow: rgba(0,0,0,0.04) 0px 1px 6px;
  -khtml-box-shadow: rgba(0,0,0,0.04) 0px 1px 6px;
  box-shadow: rgba(0,0,0,0.04) 0px 1px 6px;
  color: #333
  }

.punbb .quote-box cite, .punbb .code-box .legend, .punbb .spoiler-box > div {
  padding: .7em .8em;
  font-size: 13px;
  font-weight: 400;
  color: rgb(20,20,20);
  border-bottom: 1px solid rgb(225, 225, 227);
  background: linear-gradient(#FFF, #F3F3F3);
  border-radius: 2px 2px 0 0;
  }

.punbb .post-content .blockcode, .punbb .post-content blockquote {
  background-color: rgb(255, 255, 255);
  padding: 10px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  }

/* CS1.8 */
#pun-navlinks {
  background-color: rgba(0,0,0,.08);
  }

#pun-navlinks .container {
  background-color: transparent;
  color: #fff;
  box-shadow: none;
  }

/* CS1.9 */
#pun-ulinks .container {
  background: transparent;
  border: none 0 transparent;
  margin: 0 -10px;
  box-shadow: none;
  }

/* CS1.10 */
.offline li.pa-online strong {
  font-weight: normal
  }

/* CS1.11 */
.pa-title {
  background: rgb(225, 225, 227);
  }

@media (max-width: 540px) {
.punbb .pa-title {
  background: transparent
  }
}

/* CS1.12 */
@media (max-width: 540px) {
#pun-title, #pun-navlinks .container {
  background: rgb(94, 135, 185) !important;
  color: #fff !important;
  }
}


/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container {
  border: 1px solid rgb(225, 225, 227);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.06);
  }

/* 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: rgb(19, 48, 74);
  }

/* CS2.4 */
.punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;
  box-shadow: none;
  }

.punbb td {
  border-color: rgb(225, 225, 227);
  }

.usertable table {
  border-bottom-color: rgb(225, 225, 227);
  }

/* CS2.5 */
.punbb th {
  border-color: #dedfdf
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: rgb(225, 225, 227);
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: rgb(225, 225, 227)
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #fff
  }

.punbb .divider {
  border-color: rgb(225, 225, 227) transparent transparent transparent;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #dedfdf
  }

li.pa-online {
  border-left-color: #005EAB;
  }

#f-subforums {
  border-bottom: 1px solid rgb(225, 225, 227) !important;
  }

/* CS2.7 */
.post-author ul {
  border: 1px solid rgb(225, 225, 227);
  border-radius: 2px;
  }


/* 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: rgb(94, 135, 185);
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333
  }

/* 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: rgb(94, 135, 185);
  text-decoration: underline;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #fff;
  text-decoration: none
  }

#pun-ulinks li a, #pun-ulinks li a:hover {
  color: rgb(255, 255, 255);
  line-height: 24px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
  font-weight: 400;
  }

/* CS3.4 */
#pun-navlinks li a:hover {
  background: rgba(0,0,0,0.1);
  color: #fff;
  }

#pun-navlinks .isactive a {
  background: rgba(0, 0, 0, 0.2);
  }

#pun-ulinks li a:hover, #pun-ulinks li a:focus {
  background: rgba(0,0,0,0.1);
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS3.5 */
#pun-index .tclcon h3 a {
  font-size: 13px;
  color: rgb(20, 20, 20);
  }

/* CS3.6 */
.punbb .code-box .legend a {
  color: rgb(20,20,20);
  }


/* CS4 Post status icons
 -------------------------------------------------------------*/

/* CS4.1 */
.punbb tr div.icon {
  background: rgba(94, 135, 185, 0.32);
  }

.punbb tr.inew div.icon {
  background: rgb(94, 135, 185);
  }

.punbb tr.iredirect div.icon {
  background: transparent;
  }

.punbb tr.inew.iclosed div.icon {
  background: #A19D9D;
  }

.punbb tr.iclosed:not(.inew) div.icon {
  background: #E3E2E2;
  }

.punbb tr.inew.isticky div.icon,
.punbb tr.inewisticky  div.icon,
.punbb tr.iclosed.inewisticky div.icon {
  background: #DC5252;
  }

.punbb tr.isticky:not(.inew) div.icon {
  background: #F4CBCB;
  }

.punbb tr.iredirect div.icon:after {
  content: "link";
  display: block;
  font-size: 0.8em;
  position: absolute;
  width: 36px;
  margin-left: -10px;
  text-align: right;
  color: rgb(94, 135, 185);
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform-origin: 57% 122%;
  }

.en .punbb tr.iredirect div.icon:after {
  letter-spacing: 0.7px;
  }

.ru .punbb tr.iredirect div.icon:after {
  content: "ссылка";
  }

.es .punbb tr.iredirect div.icon:after {
  content: "enlace";
  }

/* CS4.2 */
.punbb .closedatafield {
  display: inline-block;
  width: 0;
  padding-right: 11px;
  font-size: 0;
  color: transparent;
  }

.punbb .closedatafield:before {
  content: url(/img/Overcast/closed.png);
  margin-right: 5px;
  }

/* CS4.3 */
.punbb .stickytext:before {
  content: url(/img/Overcast/sticky.png);
  margin-right: 5px;
  }


/* CS5 Additional styles
-------------------------------------------------------------*/

/* CS5.1 */
#pun-main div.catleft, #pun-main div.catright {
  display: none
  }

/* CS5.2 */
.category td.tc2:before,
#f-subforums td.tc2:before {
  content: "Topics: " !important;
  color: rgb(150,150,150);
  float: left;
  }

.ru .category td.tc2:before,
.ru #f-subforums td.tc2:before {
  content: "Тем: " !important;
  }
.es .category td.tc2:before,
.es #f-subforums td.tc2:before {
  content: "Temas: " !important;
  }

.category td.tc3:before,
#f-subforums td.tc3:before {
  content: "Posts: " !important;
  color: rgb(150,150,150);
  float: left;
  }

.ru .category td.tc3:before,
.ru #f-subforums td.tc3:before {
  content: "Сообщений: " !important;
  }
.es .category td.tc3:before,
.es #f-subforums td.tc3:before {
  content: "Mensajes: " !important;
  }

#pun-viewforum .forum td.tc2:before {
  display: block;
  content: "Replies: ";
  color: rgb(150,150,150);
  float: left;
  }

.ru #pun-viewforum .forum td.tc2:before {
  content: "Ответов: " !important;
  }
.es #pun-viewforum .forum td.tc2:before {
  content: "Respuestas: " !important;
  }

#pun-viewforum .forum td.tc3:before {
  display: block;
  content: "Views: ";
  color: rgb(150,150,150);
  float: left;
  }

.ru #pun-viewforum .forum td.tc3:before {
  content: "Просмотров: " !important;
  }
.es #pun-viewforum .forum td.tc3:before {
  content: "Vistas: " !important;
  }

#pun tr.iredirect .tc2:before,
#pun tr.iredirect .tc3:before {
  content: none !important
  }

/* CS5.3 */
.tipsy-inner, .tipsy-arrow {
  font-family: Tahoma;
  font-size: 11px;
  opacity: 0.8 !important;
  }

/* CS5.4 */
#BookmCntToggle {
  background: url(/img/Overcast/bookmark.png) center center no-repeat !important;
  width: 26px !important;
  height: 26px !important;
  opacity: 1 !important;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 0 6px rgba(0,0,0,.2);
  border-radius: 2px;
  }

#BookmCntToggle:hover {
  opacity: .78!important;
  }

#MyBookmarks h2, #MyBookmarks h1, .editBookmark h1 {
  margin-bottom: 0 !important;
  }

#MyBookmarks h2, #MyBookmarks h1 {
  border-radius: 0 !important;
  }

#MyBookmarks .container {
  background: #fff !important;
  }

/* CS5.5 */
#navpm .num_msg {
  margin-left: -26px !important;
  margin-top: -4px !important;
  }

/* CS5.6 */
.punbb textarea, .punbb input[type="text"], .punbb input[type="password"] {
  border: 1px solid rgb(225, 225, 227);
  border-radius: 2px;
  padding: 3px;
  }

form .button, input[type="submit"], input[type="button"] {
  font-style: normal;
  font-size: 12px;
  color: #fff;
  background: rgb(94, 135, 185);
  padding: 0px 10px;
  border: none 0 transparent;
  border-radius: 3px;
  outline: none;
  line-height: 28px;
  display: inline-block;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  height: 28px;
  }

form .button:hover, form .button:focus, form .button:active,
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active,
input[type="button"]:hover, input[type="button"]:focus, input[type="button"]:active {
  text-decoration: none;
  -webkit-box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px, rgba(0,0,0,0.05) 0px 1px 3px;
  -moz-box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px, rgba(0,0,0,0.05) 0px 1px 3px;
  -khtml-box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px, rgba(0,0,0,0.05) 0px 1px 3px;
  box-shadow: inset rgba(255,255,255,0.2) 0px 100px 0px, rgba(0,0,0,0.05) 0px 1px 3px;
  }

form .button:disabled, input[type="submit"]:disabled, input[type="button"]:disabled {
  opacity: .6;
  cursor: default;
  box-shadow: none;
  }

/* CS5.7 */
#profilenav li a:hover {
  color: rgba(20,20,20);
  background: #eee;
  text-decoration: none !important;
  }

#profilenav li.isactive a {
  background: rgb(94, 135, 185);
  color: #fff !important;
  text-decoration: none !important;
  }

/* CS5.8 */
#pun_wrap:before, body:before {
  content: "";
  display: block;
  position: absolute;
  top: 60px;
  left: 0px;
  width: 100%;
  height: 140px;
  background: rgb(94, 135, 185);
  z-index: -1;
  }

body.redirect-page:before {
  content: none;
  }

@media (max-width: 540px) {
#pun_wrap:before, body:before {
  content: none;
  }
}