/* CS1 Background and text colours
-------------------------------------------------------------*/ 

HTML, BODY {background-color: #eeeeee;}

#pun-title table {
height : 200px; width: 950px;
background: url(https://i.imgur.com/zPEmvTs.jpg) no-repeat; 
margin-left: -25px;}

#pun{background-color: #f6f5f5;
}

/* CS1.1 */
.punbb .section .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-color: #88b7b4);
  color: #201d1d;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  color: #121111;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
 text-position: left;
  height: 11px;
  color: #064243
  text-align: left;
  font-weight: bold; 
  font-style: normal;
 background-repeat: no-repeat;
  }

.punbb .main h1, .punbb .main h2 {
  color: #4a6679;
  text-align: center;
  text-position: right-down;
   height: 15px;
    font-weight: bold; 
  font-style: normal;
  background-position: center;
 background-repeat: no-repeat;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  color: #141310;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span { background-color: #9de6e2);
  color: #000000
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
 background-color: #;
  color: #1c1a17
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
background-image : url(http://s3.uploads.ru/lCOEM.jpg);
  background-color: #dedbdb
  color: #cdf9f7
  background-repeat: repeat; 
  background-position: top right;
border:1px solid #1d0202;
background-color:#69503b;
box-shadow: 0px 5px 5px #1d0202;
-webkit-box-shadow:0px 5px 5px #3a2523;
-khtml-box-shadow:0px 5px 5px #520c06;
-moz-box-shadow:0px 5px 5px #3a2523;
  }

.punbb textarea{ 
background-image : url(http://s4.uploads.ru/2WyX0.jpg);
  background-color: #dedbdb
  background-position: bottom right;
  background-repeat: repeat;
  color: #000000;
border-radius:0px;
-webkit-border-radius:0px;
-khtml-border-radius:0px;
-moz-border-radius:00px;
-o-border-radius:00px;
border:1px solid #1d0202;
background-color:#69503b;
box-shadow: 0px 5px 5px #1d0202;
-webkit-box-shadow:0px 5px 5px #626262;
-khtml-box-shadow:0px 5px 5px #520c06;
-moz-box-shadow:0px 5px 5px #626262;
  }

/* CS1.8 */
div#pun-navlinks {
    left: 0%;
    width: 100%;
    height: 33px;
    color: #453a4b; 
    text-align: left;
   position: fixed;
   z-index: 1001;
   top: 0px;
   background: #080e1f;
    }

div#pun-ulinks {
    height: auto;
    color: #453a4b; 
    text-align: center;
    z-index: 1001;
   border: none;
   margin-bottom: 5px;
   text-transform: lowercase;
    }

#pun-navlinks .container {
font-weight: bold;
text-align: center;
 }

.offline li.pa-online strong {
  font-weight: normal
  }

.punbb textarea, .punbb select, .punbb input {
  background-color: #94bdec; 
  color: #241e13
}

#pun-announcement .container 
{background-repeat: no repeat;
background-align: top center;
color: #110503;
}

#pun-main h1 {
font-size: 12px;
}

/* CS2 Border colours
-------------------------------------------------------------/
*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: #30576c #30576c #30576c #30576c;
 border: 0px;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #08687c;
 border: 0px;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: #118ea9;
  border: 0px; 
}

/* 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: #7d989e;
  border: 0px;
}

/* CS2.5 */
.punbb th {
  border-color: #7d909e;
  border: 0px;
}

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #7d909e #7d909e #7d909e #7d909e;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #7d909e;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #7d909e;
  }

.punbb .divider {
  border-color: #a9b0b2 #7d909e #7d909e #7d909e;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 0px solid #7d909e;
  }

li.pa-online {
  border-left-color: #7d909e;
  }

.punbb .post-sig dt {
  border-top-color: #a9b0b2!important;
  }

/* 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: #141313;
    border-bottom: 2px none #c9b2a9;
  text-decoration: none;

  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #05171c;
  }

/* 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: #2e1312;
    border-bottom: 2px none #0682c9;
  text-decoration: none;
  }

/* CS3.3 */
#pun-navlinks a {
 text-transform: uppercase; color: black;
    font: 24px;
   color: #6e6669;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
text-transform: uppercase; color: black;
   font: 24px;
   color: #0e0e0e;
  border-bottom: 0px none #000;
  text-decoration: bold;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #;
  color: #2e0d03;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {
        background: url(http://s4.uploads.ru/5trRV.png) no-repeat; 
}

tr.inew div.icon {
        background: url(http://s5.uploads.ru/qo0xv.png) no-repeat; 
}

tr.iclosed div.icon {
        background: url(http://s5.uploads.ru/HP41y.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://s4.uploads.ru/DyYXg.png) no-repeat;
}
 TR.iredirect Div.icon {
    background-image : url(http://s2.uploads.ru/IrDuk.png) no-repeat;
    }

#pun-main div.catleft, #pun-main div.catright{display: none}

.category h2 span{
display: none;
}

#pun-category1 h2 { 
height : 20px; 
background-image : url(http://s5.uploads.ru/E7J4y.png); 
background-repeat : no-repeat; 
background-position : center bottom; 
} 
#pun-category2 h2 { 
height : 20px; 
background-image : url(http://s4.uploads.ru/G3oB1.png); 
background-repeat : no-repeat; 
background-position : center bottom; 
} 
#pun-category3 h2 { 
height : 20px; 
background-image : url(http://s4.uploads.ru/yNXfd.png); 
background-repeat : no-repeat; 
background-position : center bottom; 
} 
#pun-category4 h2 { 
height : 20px; 
background-image : url(http://s5.uploads.ru/ncQRV.png); 
background-repeat : no-repeat; 
background-position : center bottom; 
} 

/*---plach---*/
.lz {width: 170px;padding: 2px 3px 6px;height: auto;margin-left: 1px!important;margin-top: 2px !important;color: #2b373c; background: #eeeeee;box-shadow: inset 0 0 7px #2b373c; font: 11px Candara; text-align: center; border-bottom-right-radius: 0px;  border-bottom-left-radius: 0px;border-left: 5px solid #2b373c; border-right: 0px solid #2b373c; border-top: 0px solid #2b373c; border-bottom: 0px solid #2b373c;}

.lz a {font: 14px Candara !important; border-bottom: 5px none #2b373c;}
.lz a:hover {color: #06519c!important; border-bottom: 5px none #2b373c;}

/*-----оформление поста в теме--------*/
.temabg {
    width: 569px;
    height: auto;
    background: url(http://s6.uploads.ru/LxFod.png) top no-repeat, url(http://sg.uploads.ru/q2GvN.png) bottom no-repeat, url(http://s3.uploads.ru/bkPDB.png) repeat-y;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    }
.temah1 {
    position: relative;
    margin-left: 1px !important;
    padding-top: 37px !important;
    width: 540px;
    height: 14px;
    font: bold  25px Marck Script;
    text-align: center;
    letter-spacing: 0px;
    color: #5c524c;
    text-shadow: 1px 1px 0px #372a22;
    }
.temah2 {
    position: relative;
    margin-left: 3px !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    width: 240px;
    height: 15px;
    font: bold 14px tahoma;
    text-align: center;
    letter-spacing: 0.2px;
    color: #372a22;
    }
.tematxt {
    position: relative;
    margin-left: 0px !important;
    margin-top: 10px !important;
    padding-bottom: 50px!important;
    width: 490px;
    height: auto;
    font: 13px tahoma;
    text-align: justify;
    color: #372a22;
    }
.oforml1 {
    background-color: #ccc7bd;
    padding-bottom: 5px;
    padding-top: 10px;
    width: 620px;
    border-top-color: #ffffff;
    border-top-style: solid;
    border-top-width: 2px;
    border-bottom-color: #847570;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-radius: 15px;
}
.textoform {
    text-transform: uppercase;
    text-align: center;
    color: #655e55;
    width: 450px;
    background-color: #cfcdc9;
    font: bold italic 25px lobster;
    border-radius: 15px;
    border-top-color: #eff3f8;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom-color: #c3bab3;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    text-shadow: 1px 1px 0px #f7f6f5;
    height: 45px;
    padding-top: 5px;
    margin-left: 80px;
    margin-top: 5px;
    position: relative;
}
.oforml2 {
    background-color: #c3c0ba;
    width: 550px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    box-shadow: inset 0 0 10px #cfc8bc;
    border-radius: 15px;
}
.vnexi1 {
    background-color: #bcb6ad;
    padding-bottom: 5px;
    padding-top: 10px;
    width: 700px;
    border-top-color: #ffffff;
    border-top-style: solid;
    border-top-width: 3px;
    border-bottom-color: #cfc8bc;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-radius: 15px;
}


/* Обрамление Цитат v2 */
.punbb .post-content blockcode,
.punbb .post-content blockquote,
.punbb .post-content .quote-box,
.punbb .post-content .quote-box,
.punbb .post-content .code-box{
 border-color:transparent;
 background-color:transparent;
}
.punbb .post-content .blockcode, .punbb .post-content blockquote { 
overflow-x: hidden;
overflow-y: hidden;
width: 79%;
margin-left:70px;
 }
.punbb .quote-box cite, .punbb .code-box strong.legend { 
margin-left: 70px;
 }
 
.Myq_te_2,.Myq_te_1,.Myq_te_0{
border-collapse:collapse;
/*border:1px solid red;*/
padding:0;
margin:0;
}
.Myq_te_0{padding:27px 2px;}
 
.Myq_te_0{
background-image:url(http://forumfiles.ru/files/0011/a5/10/79916.png);
background-position:top center;
background-repeat:no-repeat;
}
.Myq_te_1{
background-image:url(http://forumfiles.ru/files/0011/a5/10/71548.png);
background-position:bottom center;
background-repeat:no-repeat;
}
.Myq_te_2{
background-image:url(http://forumfiles.ru/files/0011/a5/10/18183.png);
background-position:center;
background-repeat:repeat-y;
}
.punbb .post-content .quote-box .quote-box,
.punbb .post-content .quote-box .code-box{
background-color:#F0F0F0!important;
border:2px #E3E3E3 dashed!important;
}

/* Регулировка размера шрифта в постах © Alex_63 */
.FNTslider {
  background: url(http://forumfiles.ru/files/0015/57/ba/88799.png) 0 0 no-repeat;
  position: relative;
  z-index: 1000;
  width: 140px;
  height: 20px;
  margin: 3px 5px;
  float: right;
  margin-right: 7%;
  padding: 0 20px;
}
.FNTslider .before {
  background: url(http://forumfiles.ru/files/0015/57/ba/83597.png) 0 0 no-repeat;
  height: 20px;
  position: absolute;
  padding-left: 20px;
  margin-left: -20px;
  z-index: 10;
  padding-right: 10px;
}
.FNTslider .thumb {
  width: 17px;
  height: 18px;
  border-radius: 3px;
  position: relative;
  top: 1px;
  background: url(http://forumfiles.ru/files/0015/57/ba/38927.png) -1px 0 no-repeat;
  cursor: pointer;
  z-index: 20;
}
.FNTslider .thumb:hover {
  background-position: -19px 0;
}