/* CS1 Background and text colours
-------------------------------------------------------------*/

html, body {
  background: none repeat scroll 0 0 #e0e0dc;
}

/* CS1.1 */
.punbb .main .container, .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: #f0f0eb;
  color: #4d4d4b;
}

/* CS1.2 */
#pun-ulinks .container, #pun-crumbs2 .container, #pun-about .container, .punbb td.tc3 {
  background-color: #ebebe6;
  color: #4d4d4b;
}
.punbb .post .container, .punbb .post h3 {
  background-color: #ebebe6;
  color: #4d4d4b;
}

.punbb td.tc2, .punbb td.tcr {
  background-color: #f4f4f2;
  color: #4d4d4b;
}

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background: url("http://co.forum4.ru/files/0015/bc/48/66387.png") no-repeat scroll center bottom rgb(229, 228, 226);
  color: #4a8cf8;
  font-size: 120%;
  height: 30px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  z-index: 100;
}

/* CS1.4 */
.punbb .modmenu .container {
  border-bottom: medium none;
  margin-bottom: -4px;
  margin-top: 4px;
  padding: 0.5em 1em;
  text-align: right;
}

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: #ebebeb;
  color: #4d4d4b;
  }

.punbb .post h3 span {
  background-color: #f5f5f0;
}

.punbb .post h3 strong {
  font-size: 0.9em;
  color: #666D75;
}

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: #fffffa;
}

/* CS1.8 */
#pun-navlinks .container {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: -moz-use-text-color -moz-use-text-color #fafaf3;
  border-image: none;
  border-style: none none solid;
  border-width: medium medium 1px;
  box-shadow: 0 2px 5px rgb(199, 199, 195);
  font-size: 87%;
  font-weight: bold;
  padding: 6px;
  text-align: center;
  top: 0;
}
#pun-navlinks {
  border: 0 none;
  height: auto;
  left: 0;
  position: fixed;
  text-transform: uppercase;
  top: 0;
  width: 100%;
  z-index: 2147483647;
}

.offline li.pa-online strong {
  font-weight: normal;
  }

.punbb TH {
  background: none repeat scroll 0 0 transparent;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  text-align: center;
  z-index: 101;
}

.punbb textarea, .punbb select, .punbb input {
  background-color: #fafaf3;
  color: #4d4d4b;
  border-color: #c7c7c3 #fffffa #fffffa #c7c7c3;
  border-style: solid;
  border-width: 1px;
}


/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
border-color: #fafaf5;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
border-color: #fafaf5;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
border-color: #fafaf5;
  }

/* 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: #fafaf5;
  }

/* CS2.5 */
.punbb th {
  border-color: #d1d1e1;
  }

/* CS2.6 */

.punbb .divider {
  border-color: #DEDEDE #F7F7F7 #F7F7F7 #DEDEDE
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #d1d1e1;
  }

li.pa-online {
  border-left-color: #bfbfbf;
  }


/* 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: #666664;
  text-decoration: none;
}

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #666664;
  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: #4d4d4b;
  text-decoration: underline;
  }

/* CS3.3 */
#pun-navlinks a {
  color: rgb(159, 159, 157);
  text-shadow: 1px 1px 2px #fffffa;
}

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #c4c4c4;
  text-decoration: underline;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

.post h3 span a:link, .post h3 span a:visited {
  font-weight: normal;
  font-size: 0.9em;
  color: #666D75;
  text-decoration: none;
}

.post h3 span a:hover {
  color: #666D75;
}

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {
  background: url("http://co.forum4.ru/files/0015/bc/48/13169.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

tr.inew div.icon {
  background: url("http://co.forum4.ru/files/0015/bc/48/51744.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

tr.iclosed div.icon {
  background: url("http://co.forum4.ru/files/0015/bc/48/44850.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

tr.iredirect div.icon {
        background: url(http://support.rusff.ru/img/Mybb_Soft_Gray/link.gif) no-repeat;
}

tr.isticky div.icon {
  background: url("http://co.forum4.ru/files/0015/bc/48/95212.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
  opacity: 0.8;
}

td.tcr a{
background: transparent url(http://support.rusff.ru/img/Mybb_Soft_Gray/post.gif) no-repeat 0% 3px;
padding-left: 20px;
}

#pun-stats ul.container {
background: transparent url(http://support.rusff.ru/img/Mybb_Soft_Gray/stats.gif) no-repeat 10px 22px;
padding-left: 58px;
}

#pun-stats div.statscon {
background:#ebebeb;
}

#pun-crumbs2 .container, #pun-about .container {
  background: none repeat scroll 0 0 #ebebe6;
}

.button {
  background: linear-gradient(#f5f5ee, #ebebe4) repeat scroll 0 0 rgb(245, 245, 245) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 2px;
  color: #4d4d4b !important;
  font-family: arial,sans-serif !important;
  font-size: 11px !important;
  font-weight: bold !important;
  outline: medium none;
  padding: 0.2em 1.2em;
  text-decoration: none;
  transition: all 0.218s ease 0s;
}
.button:hover {
  background: linear-gradient(#f8f8f1, #f1f1ea) repeat scroll 0 0 #f8f8f1 !important;
  border: 1px solid rgb(198, 198, 198) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  color: #30302f !important;
}
.button:active {
  background: linear-gradient(#eeeee7, #e4e4dd) repeat scroll 0 0 #eeeee7 !important;
  border: 1px solid rgb(204, 204, 204) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
  color: rgb(51, 51, 51) !important;
}

.resizable-textarea {
  font-size: 120%;
}
div.section[style="border:0 !important; max-width:100%"] {
  text-align: center;
}

div.section[style="border:0 !important; max-width:100%"] iframe {
  background: none repeat scroll 0 0 #f5f5f0;
}
.post-author.online .pa-author a {
  color: #4a8cf8 !important;
}
.pa-gifts {
  display: none;
}
.pa-avatar.item2 > img {
  border-radius: 0 10px;
}
.pa-online > strong {
  font-weight: normal;
}

#main-reply {
  border-color: #c7c7c3 #fffffa #fffffa #c7c7c3;
  border-radius: 0 10px;
  border-style: solid;
  border-width: 1px;
  width: 100%;
}

#post-form h2 {
  display: none;
}
#keyboard-span input {
  background-color: #fffffa;
  border-radius: 0 5px;

}
.fs-box.hashelp div.container {
  box-shadow: 2px 2px 5px #c7c7c3;
  z-index: 2147483646;
}
.yrarrows {
  bottom: 35%;
  position: fixed;
  right: 5%;
  z-index: 2147483645;
}
.yrarrows img {
  opacity: 0.6;
}
.yrarrows img:hover {
  opacity: 0.9;
}