/* ----------------------------- фон ----------------------------- */
body {
background:
url("https://i.imgur.com/SNZtGxD.png") repeat-x top center, /*верхний фон*/ 
url("") repeat top left #cfd7e3;
  }

/* ----------------------------- тело форума ----------------------------- */
#pun {

  width: 952px;
  background: repeat transparent url(https://i.imgur.com/bdYz7ng.png);
  background-position: center;
  }
body {overflow-x: hidden}

/* ----------------------------- шапка форума ----------------------------- */
#pun-title table {
    border: none;
    height: 501px;
    width: 1478px;
    margin-left: -313px;
    background: url(http://funkyimg.com/i/2Bfrm.png)  no-repeat;
    margin-top: -8px;
    background-position: top center;
overflow-x: hidden
}

/* ----------------------------- низ форума (футер) ----------------------------- */
#pun-about p.container {
    background: transparent url(https://i.imgur.com/L8UsQ7q.png) bottom center no-repeat;
    width: 1479px;
    margin-bottom: -98px;
    margin-left: -325px;
    height:158px;
    /* background-position: -0.50%;*/
}

/* ----------------------------- весь текст на форуме ----------------------------- */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #pun-navlinks .container, .punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd, .punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  {
    background-color: transpanent;
color: #0d2d48;
    font-weight: normal;
}

/* ----------------------------- текст ----------------------------- */

/* 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 {
color: #404c53;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
color: #404c53;
margin-top: 13px;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
color: #404c53;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
color: #931516;
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
color: #404c53;
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: #f9f9f9;
color: #404c53;
  }

.offline li.pa-online strong {
  font-weight: normal
  }


/* 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: #3b586d;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
color: #3b586d;
  }

/* 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: #e1554a;
  }

/* CS3.3 */
#pun-navlinks a {
color: #fff;
    text-decoration: none;
  }


#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

#pun-adnav ul.adsubnav a {   text-decoration: none!important;}


#pun-main div.catleft, #pun-main div.catright {display: none}

/* ----------------------------- прокрутка ----------------------------- */
::-webkit-scrollbar {
  width:7px;
  height:5px;
  }
::-webkit-scrollbar-track {
background-color: #ececf4;
    box-shadow: inset 0px 0px 4px #9e9ca0;
  }
::-webkit-scrollbar-thumb {
background-color: #e1554a;
}

/* ----------------------------- выделение ----------------------------- */
::selection {
background: rgb(104, 136, 160);
    color: #ffffff;
    text-shadow: 1px 0 #839fb6;
}

/* ----------------------------- форма ответа ----------------------------- */
.resizable-textarea textarea {display: block;
    margin-bottom: 0pt;
    background: #eceff1;
    border-top: 5px solid #ad8eb1;
    border-bottom: 5px solid #a1b2cf;
    border-radius: 20px;
    border-left: 1px solid #d5dbdf;
    border-right: 1px solid #d5dbdf;
    box-shadow: inset 0px 0px 20px #dce2e6;}

/* ----------------------------- рекомендация страницы ----------------------------- */
div#pun-live-rusff {
    z-index: 98;
    width: 440px;
    height: 19px;
    margin: auto 0px 0 auto;
    background: transparent;
    text-align: right;
    line-height: 17px;
    position: relative;
    color: #770f0f;}

/* —-------------------------— иконки и категории —-------------------------— */ 
#pun-stats.section h2 { 
background: url(https://i.imgur.com/U5sNFbJ.png) no-repeat top center; 
height: 89px;
    width: 322px;
    margin-left: 268px;} 

#pun-category1.category h2 { 
background: url(https://i.imgur.com/RuHkRGh.png) no-repeat top center; 
height: 89px;
    width: 322px;
    margin-left: 268px;} 

#pun-category2.category h2 { 
background: url(https://i.imgur.com/WFXztub.png) no-repeat top center; 
height: 89px;
    width: 322px;
    margin-left: 268px;} 


#post-form h2 { 
background: url(https://i.imgur.com/yPjHsX5.png) no-repeat top center; 
height: 89px;
    width: 322px;
    margin-left: 278px;
font-size: 0 !important;} 

#pun-stats.section h2 span, #pun-main .category h2 span, #post-form h2 span {display: none;}

/* ----------------------------- описание подфорумов2 ----------------------------- */

.zag {margin-left: 32px!important;
    font-size: 11px;
    font-family: Arial;
    color: #e7dedb;
    line-height: 1.264;
    text-align: justify;
    text-shadow: 0px 1px 0px rgb(46, 67, 27);
    width: 327px;
    height: 67px;}

.link1 a {
display: inline-block;
    cursor: pointer;
    color: #fff!important;
    font-family: cuprum;
    font-size: 12px!important;
    padding-left: 10px!important;
    padding-right: 10px!important;
    padding-bottom: 4px;
    padding-top: 3px;
    text-shadow: 0px 1px 0px #394823;
    margin-top: 11px;
    background: #7e2427;
    border-radius: 10px;
    /* font-weight: bold; */
    letter-spacing: 1px;
    margin-left: 25px;
}

/* ----------------------------------- иконки ------------------------------------- */
.punbb table Div.icon {
  background-image : url(https://i.imgur.com/F8oRcjz.png);
  width: 56px;
  height: 53px;
  float: right;
  padding-left: 46px;
  display: block;
  border-style: none;
  display: inline-block;
  background-repeat: no-repeat;opacity: 0.5;
  }

/* CS2.2 */
TR.inew Div.icon {
  background-image : url(https://i.imgur.com/W2N1qzG.png);
  background-repeat: no-repeat;
  width: 56px;
  height: 53px;
  opacity: 1.0;
  }

/* CS2.3  */
TR.iclosed Div.icon {
  background-image : url();
  background-repeat: no-repeat;
  width: 70px;
  height: 70px;
  opacity: 0.5;
  }

/* CS2.4 */
TR.isticky Div.icon {
  background-image : url();
  background-repeat: no-repeat;
  width: 70px;
  height: 70px;
  opacity: 1.0;
  }



/* ----------------------------- админка2 ----------------------------- */
#pun-admain input, #pun-admain select {    margin-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0.3em;
    margin: 0 0.6em 0 0;
    margin: 0 0.6em 0 0;
    /* background: #890608!important; */
    border: none!important;
    font-family: georgia!important;
    font-size: 10px!important;
    color: rgb(111, 141, 165);
    cursor: pointer!important;
    text-transform: uppercase;
    text-shadow: 0 1px #d0d1dd;
    /* border-radius: 0px !important; */
    box-shadow: none!important;
    background: #ececf4;}


/* ----------------------------- поля ввода ----------------------------- */
.punbb input {     border-width: 1px;
    background: #ececf4;
    box-shadow: inset 0px 0px 20px #cfd7e3;
    font-family: arial !important;
    color: #6788a0;
    text-shadow: 0px 0px 0px rgb(255, 255, 255);
    padding: 2px;
    border: 1px solid #ececf4;}


/* ----------------------------- сообщения ----------------------------- */
.pa-posts {
text-align: center;
    display: inline-block;
    /* padding: 5px 10px!important; */
    width: 55px;
    margin-right: 20px!important;
    margin-bottom: 11px!important;
    line-height: 14px;
    font-family: georgia;
    font-size: 9px;
    text-transform: uppercase;
    color: #66869e;
}

/* ----------------------------- репутация ----------------------------- */
.pa-respect {
text-align: center;
    display: inline-block;
    /* padding: 5px 10px!important; */
    width: 55px;
    margin-left: 0px!important;
    margin-bottom: 11px!important;
    line-height: 14px;
    font-family: georgia;
    font-size: 9px;
    text-transform: uppercase;
    color: #66869e;
}

.pa-respect a {color: #66869e!important;}


.pa-fld1 {  margin-left: 212px!important;
    margin-top: 36px!important;
    margin-bottom: -40px!important;
    font-size: 25px;
    font-family: bignoodletitlingregular;
    color: rgb(255, 255, 255);
    text-shadow: #634d71 1px 0px;}


.pa-fld4{background: #9b8ea6;
    width: 221px;
    margin-left: 12px !important;
    margin-top: 5px!important;
    color: #fff;
    text-shadow: #75598a 1px 0px;}

.pa-fld3 {text-align: center;
    display: inline-block;
    /* padding: 5px 10px!important; */
    width: 50px;
    margin-left: 0px!important;
    margin-bottom: 11px!important;
    line-height: 14px;
    font-family: georgia;
    font-size: 7px;
    text-transform: uppercase;
    color: #66869e;}

.pa-fld5 { margin-left: -1px!important;}

.lzname {    text-align: center;
    font-family: aa bebas neue;
    font-size: 19px;
    margin-bottom: 4px!important;}

.lz {    width: 202px;
    margin-left: 10px!important;
    text-align: justify;
    border-width: 1px;
    background: #80282a;
    box-shadow: inset 0px 0px 20px #631515;
    font-family: arial !important;
    color: #e7dedb;
    text-shadow: 0px 0px 0px rgb(104, 24, 24);
    padding: 2px;
    padding: 10px!important;}

.lz a {color: #b6c9be!important;}
.lz a:hover {color: #cfb3ae!important;}

/* ----------------------------- AREAS ----------------------------- */
/*----------боксы-----------------------*/
#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;
    background: #dce2e6;
    border-radius: 20px;
    box-shadow: inset 0px 0px 20px;
    overflow: auto;
    height: 200px;}

/*---------конец боксов--------------------*/

.podforum {width: 305px;
    margin-left: 40px !important;
    /* margin-top: -23px !important; */
    color: #3c5d77;
    text-shadow: 1px 1px 0px #ece7e1;
    text-align: justify;
    font-size: 11px;}

.podforumlinks {text-align: center;
     margin-top: 22px!important;}

.podforumlinks a {font-family: georgia;
    font-size: 9px;
    text-transform: uppercase;
    text-align: center!important;
    display: inline-block;
    background: #ececf4;
    padding: 7px;
    box-shadow: inset 0 0 11px #b2bed5;
    border-radius: 20px;}


/* ----------------------------- первое сообщение тем ----------------------------- */
.topicbody {     width: 594px;
    min-height: 200px;
    padding-top: 40px;
    padding-bottom: 3px;
    position: relative;
    background: url(https://i.imgur.com/vqp6pEj.png) top no-repeat, url(https://i.imgur.com/tzWsRA5.png) bottom no-repeat, url(https://i.imgur.com/h54JrrH.png) repeat-y;}


.topicname { 
    position: relative;
    text-align: center;
    font-family: aa bebas neue;
    top: 4px;
    color: #f7f7f7;
    text-transform: lowercase;
    font-size: 28px;
    text-shadow: 1px 0 rgb(169, 120, 120);
    letter-spacing: 1px;
}

.topictext {position: relative;
    top: 13px;
    padding: 3px;
    color: #596477;
    width: 510px;
    text-shadow: 0px 1px 0px #f7f6f3;
    text-align: justify;
    font-family: calibri;
font-size: 13px;
    line-height: 14px;}



/* ----------------------------- анкета ----------------------------- */
.specs_na { width:420px; padding: 25px; background: #9eb6b8; text-align: right; font: 27px playfair display; text-transform: lowercase; color: white; }
.specs_na sub { display: block; font: 10px cousine; text-transform: uppercase; }
.speces { width: 430px; height: 450px; background-image: url(http://sf.uploads.ru/QIk7r.png); padding: 20px; overflow: hidden; }
.specss { width: 400px; height: 430px; padding: 15px; background: rgba(255, 255, 255, .9);  position: relative; top: 0px; right: 450px; webkit-transition: all 1s ease-in-out; -moz-transition: all 1s ease-in-out; -ms-transition: all 1s ease-in-out; -o-transition: all 1s ease-in-out; transition: all 1s ease-in-out;}
.specss ::-webkit-scrollbar{width:0px}
.typ-inf { width: 390px; height: 420px; padding-right: 3px; overflow: auto; text-align: justify; font: 12px calibri; }
.inf-head { text-align: center; font: 20px playfair display; text-transform: lowercase; color: #7e8292; margin: 10px 20px 10px 20px; border-bottom: 1px solid #7e8292; }
.speces:hover .specss { position: realative; right: 0px; top: 0px; }
/*--background--*/
.xatabs { position: relative; width: 525px; height: 650px; }
.content { position: absolute; top: 0px; bottom: 0px; left: 20px; right: 0px; background: #c1d2d9; padding: 15px; border: 1px solid #eee; }