/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("http://forumfiles.ru/files/0019/b6/6e/65851.jpg") repeat-x top left,
  url("http://forumfiles.ru/files/0019/b6/6e/77002.jpg") center; background-color : #bcc3ca;
}


/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/0019/b6/6e/63778.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 946px;
height: 238px;
margin-left: -30px;}

/* Тело форума */
#pun {
width: 946px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/0019/b6/6e/13777.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 946px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumfiles.ru/files/0019/b6/6e/47079.jpg);
margin: 0px 0px -30px -30px;
background-position : center top;
background-repeat : no-repeat;
width: 946px;
height: 109px; 
overflow-x: hidden;}






/* CS1.1 Фон и цвет текста на форуме */
.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 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: #415464;
font-weight: normal;
font-style: normal;
}

#pun-admain .adformal, #pun-admain .adcontainer
{border: none;
border-color:  transparent;}

.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: transparent;
color: #415464;
text-align:center; 
font-style: normal; 
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #dcdbd9;
    background-image: url(http://forumfiles.ru/files/0019/b6/6e/71405.jpg);
    color: #415464;
    border: 1px solid #ecebe9;
    box-shadow: 0 0 1px #bcc3c9 inset;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-color: #dcdbd9;
    background-image : url(http://forumfiles.ru/files/0019/b6/6e/71405.jpg); 
    color: #415464;
}

/* Тень и закругление */
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { 
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
 }

.punbb input { border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
    background-color: #dcdbd9;
    background-image : url(http://forumfiles.ru/files/0019/b6/6e/71405.jpg); 
}





/* CS2 Ссылки
-------------------------------------------------------------*/

/* CS2.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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited, #pun-navlinks a, #pun-ulinks a {color: #4e6271;
  text-decoration: none;
  }

/* CS2.2 */
.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, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #4e6271; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #ac7789;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 10px;
  color: #ac7789;
  font-family: 'arial';
  text-transform: lowercase;
  }

#pun-ulinks a:hover, #pun-navlinks a:active {
  text-decoration: none;
  color: #506878;
}


#pun-navlinks a, #pun-navlinks .container {
color: #e6e4e3;
text-shadow: -1px 1px #b0989d;
}


#pun-navlinks a:hover, #pun-navlinks a:focus {
color: #8c5769;
text-shadow: -1px 1px #d7cfcf;
}

/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/0019/b6/6e/42084.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/0019/b6/6e/67946.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/0019/b6/6e/65973.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/0019/b6/6e/55886.jpg) no-repeat;
}


/* CS3.2 Всё подряд*/
#pun-main div.catleft, #pun-main div.catright {display: none;}
#pun-main .post-author ul {text-align: center;}
ul.post-ul-Sp, .post-img-Sp {text-align:center;}
#pun th, #pun-main h2 {text-align: center}
#pun-navlinks .container, #pun-ulinks .container {text-align: center;}
.modlist {font-size: 95.05%;}
#pun-announcement .container {font-size: 101%; font-family: "Arial";}
.category h2 span{display: none;}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}





/*---Прокрутка---*/
::-webkit-scrollbar{
width: 6px;
height: 4px;
background-color: #e7e6e5;
border:solid 2px #a97385;}

::-webkit-scrollbar-thumb{
background-color: #a97385;
}

::-webkit-scrollbar-thumb:hover{
background-color: #c2b1b1; }

 ::selection {
background: #697d8d !important;
color: #e7e5e4;
}

#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://forumfiles.ru/files/0019/b6/6e/12197.jpg) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumfiles.ru/files/0019/b6/6e/26935.jpg) 0 top no-repeat, url(http://forumfiles.ru/files/0019/b6/6e/33183.jpg) 0 bottom no-repeat;
    margin: -18px 0 -12px 0!important;
    padding: 9px 5px 9px 5px!important;
}




.punbb .pa-avatar img {
    border: 2px solid #9babb5;
}

.topic .post {
  margin-left:10px;
}




.bestpost {
    color: #5b6670;
    font-size: 10px;
    line-height: 10px;
    position: absolute;
    text-align: justify;
}



.bestpost img {
    float: left;
    padding-right: 5px;
}
 


/*Выравниваем в одну строку число постов и Уважение*/
.pa-posts, .pa-respect {
    text-align: center;
    display: inline-block;
    width: 60px;
    font-family: verdana;
    margin-top: 3px !important;
    font-size: 7px;
    letter-spacing: 0.3px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 7px !important;
}




/*************
 PROFILE POST
*************/

#insta-d1 {
  width: 500px;
  background: #fafafa;
  border: 1px solid #edeeee;
  margin: 0 auto
}

#insta-d1 .insta1 {
  width: 460px;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #edeeee
}

#insta-d1 .instalogo {
  width: 122px;
  height: 50px;
  display: none;
  background-image: url(https://i.imgur.com/7uvTbKI.png);
  background-size: cover
}

#insta-d1 .insta2 {
  width: 400px;
  padding: 25px 50px
}

#insta-d1 .instaicon {
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: center center;
  border-radius: 100%;
  border: 1px solid #cccfd0;
  display: inline-block;
  vertical-align: top;
  margin-right: 40px
}

#insta-d1 .insta3 {
  width: 250px;
  height: 100px;
  display: inline-block;
  vertical-align: top
}

#insta-d1 .insta4 {
  height: 10px;
  overflow: hidden
}

#insta-d1 .insta5 {
  height: 30px;
  overflow: hidden
}

#insta-d1 .instauser {
  max-width: 168px!important;
  height: 28px;
  font-family: lato;
  font-weight: 300;
  color: #4b4f54;
  font-size: 25px;
  line-height: 25px;
  text-align: left;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

#insta-d1 .instabutt {
  max-width: 62px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  padding: 5px;
  background: #66bd2b;
  border-radius: 5px;
  margin-left: 10px;
  position: relative;
  top: 3px;
  display: inline-block;
  vertical-align: top
}

#insta-d1 .instadesc {
  height: 20px;
  overflow: hidden;
  margin-top: 10px;
  font-family: lato;
  font-size: 14px;
  line-height: 20px;
  color: #4b4f54;
  font-weight: 400;
  text-align: left
}

#insta-d1 .instastats {
  height: 20px;
  overflow: hidden;
  margin-top: 10px;
  font-family: lato;
  font-size: 10px;
  line-height: 20px;
  color: #4b4f54;
  font-weight: 400;
  text-align: left
}

#insta-d1 .c-for {
  width: 460px;
  padding: 20px
}

#insta-d1 .instafeeda {
  width: 140px;
  height: 140px;
  background-size: cover;
  background-position: center center;
  display: inline-block;
  vertical-align: top;
  margin-right: 16px!important
}

#insta-d1 .instafeedb {
  width: 140px;
  height: 140px;
  background-size: cover;
  background-position: center center;
  display: inline-block;
  vertical-align: top;
  margin-right: 0px!important
}

#insta-d1 .insta6 {
  width: 120px;
  height: 12px;
  padding: 64px 10px;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0.0;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out
}

#insta-d1 .insta7 {
  font-family: lato;
  font-size: 11px;
  line-height: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center
}

#insta-d1 .instalikes {
  width: 11px;
  height: 10px;
  background-image: url(https://i.imgur.com/nfmrzxY.png);
  background-size: cover;
  display: inline-block;
  position: relative;
  top: 1px
}

#insta-d1 .instacomms {
  width: 10px;
  height: 10px;
  background-image: url(https://i.imgur.com/ERCIRcb.png);
  background-size: cover;
  display: inline-block;
  position: relative;
  top: 1px
}

#insta-d1 .insta8 {
  height: 20px
}

#insta-d1 .instabutt:hover {
  background: #498326;
  cursor: pointer
}

#insta-d1 .instafeeda:hover .insta6 {
  opacity: 1.0
}

#insta-d1 .instafeedb:hover .insta6 {
  opacity: 1.0
}


/***********
 PHOTO POST
***********/

#insta-d2 {
  width: 500px;
  background: #fff;
  border: 1px solid #edeeee;
  margin: 0 auto
}

#insta-d2 .instapic {
  width: 300px;
  height: 300px;
  background-size: cover;
  background-position: center center;
  display: inline-block;
  vertical-align: top;
  margin-right: -4px!important
}

#insta-d2 .insta9 {
  width: 200px;
  height: 300px;
  background: #fff;
  display: inline-block;
  vertical-align: top
}

#insta-d2 .insta10 {
  width: 180px;
  height: 45px;
  padding: 10px;
  overflow: hidden
}

#insta-d2 .instaicon {
  width: 33px;
  height: 33px;
  background-size: cover;
  background-position: center center;
  border: 1px solid #cccfd0;
  border-radius: 100%;
  display: inline-block;
  vertical-align: top
}

#insta-d2 .instauser {
  width: 83px;
  height: 13px;
  overflow: hidden;
  white-space: nowrap;
  font-family: lato;
  color: #165786;
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  padding-top: 12px;
  margin-left: 3px!important;
  display: inline-block;
  vertical-align: top
}

#insta-d2 .insta11 {
  width: 44px;
  height: 7px;
  color: #fff;
  font-size: 7px;
  line-height: 100%;
  font-family: lato;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  padding: 4px;
  background: #66bd2b;
  border-radius: 5px;
  display: inline-block;
  vertical-align: top;
  margin-left: 1px!important;
  margin-top: 10px;
  float: right
}

#insta-d2 .insta12 {
  width: 180px;
  height: 1px;
  background: #eeefef;
  margin-top: 15px
}

#insta-d2 .insta13 {
  width: 180px;
  height: 10px;
  padding: 5px 10px 10px 10px;
  overflow: hidden
}

#insta-d2 .instalikes {
  width: 140px;
  font-family: lato;
  font-size: 10px;
  line-height: 100%;
  color: #4b4f54;
  font-weight: 600;
  display: inline-block;
  margin-right: 0px!important
}

#insta-d2 .instatime {
  width: 40px;
  font-family: lato;
  font-size: 10px;
  line-height: 100%;
  color: #a5a7aa;
  font-weight: 600;
  text-align: right;
  display: inline-block
}

#insta-d2 .insta14 {
  width: 180px;
  height: 145px;
  padding: 5px 10px 10px 10px;
  overflow: hidden
}

#insta-d2 .instacap {
  font-family: lato;
  font-size: 10px;
  line-height: 12px;
  text-align: justify;
  font-weight: 400;
  color: #222
}

#insta-d2 .insta15 {
  width: 180px;
  height: 1px;
  background: #eeefef;
  margin-left: 10px
}

#insta-d2 .insta16 {
  width: 180px;
  height: 29px;
  padding: 10px;
  background: #fff
}

#insta-d2 .insta17 {
  width: 180px;
  height: 15px;
  padding-top: 6px;
  overflow: hidden
}

#insta-d2 .instaheart {
  width: 18px;
  height: 15px;
  background-image: url(https://i.imgur.com/WPKT1BG.png);
  background-size: cover;
  display: inline-block;
  margin-right: 6px!important
}

#insta-d2 .instacommbox {
  width: 100px!important;
  height: 10px;
  overflow: hidden;
  font-family: lato;
  font-size: 10px;
  line-height: 100%;
  font-weight: 400;
  color: #a5a7aa;
  text-align: justify;
  margin-right: 30px!important;
  display: inline-block;
  position: relative;
  top: -3px
}

#insta-d2 .instadots {
  width: 20px;
  height: 5px;
  background-image: url(https://i.imgur.com/Gwib0Xm.png);
  background-size: cover;
  display: inline-block;
  margin-right: -4px!important;
  position: relative;
  top: -5px
}

#insta-d2 .instauser:hover {
  color: #0f3c5e;
  cursor: pointer
}

#insta-d2 .insta11:hover {
  background: #498326;
  cursor: pointer
}

#insta-d2 .instacap b {
  font-weight: 700;
  color: #165786;
  display: inline
}

#insta-d2 .instacap b:hover {
  color: #0f3c5e;
  cursor: pointer
}

#insta-d2 .instaheart:hover {
  cursor: pointer
}

#insta-d2 .instadots:hover {
  cursor: pointer
}









/* TOPIC */
.body1 {
    background: url(http://forumfiles.ru/files/0019/b6/6e/60976.jpg) top no-repeat, url(http://forumfiles.ru/files/0019/b6/6e/43084.jpg) bottom no-repeat, url(http://forumfiles.ru/files/0019/b6/6e/45074.jpg) repeat-y;
    color: #4e6271;
    font: 11px verdana;
    width: 620px;
    display: block;
    padding-top: 45px;
    padding-bottom: 55px;
}

.body1 a {
    color: #5e2a32 !important;
    
    }      
.naz {
    text-align: center;
    font: 16px berenis adf pro;
    color: #a77083;
    font-weight: bold;
    width: 232px;
    margin-top: -19px !important;
    margin-left: 23px !important;
    /* border: red 1px solid; */
    letter-spacing: 0px !important;
    text-transform: uppercase;
}


.bodytablemini {
    padding: 10px !important;
    background-color: rgba(255, 255, 255, 0.36);
    font: 10px verdana;
    line-height: 13px;
    text-align: justify;
    margin-top: 10px !important;
    width: 540px;
}




.pa-fld3 {
    z-index: 10000;
}



.pa-fld1 {
    color: #4e5c69;
    text-align: justify;
    width: 176px;
    margin-left: 10px !important;
    padding: 3px;
    background-color: #dbdad8;
    border: 1px solid #a99f9e;
    background-image: url(http://forumfiles.ru/files/0019/b6/6e/71405.jpg);
    margin-top: 3px !important;
}


.pa-fld1 a {
color: #966978 !important;

}




.links1 {
    color: #f5f4f4 !important;
    font-family: arial;
    text-transform: uppercase;
    font-size: 8px;
    padding: 4px 4px 4px 4px;
}



.links1:hover {
    color: #7a8e9a !important;
    font-family: arial;
    text-transform: uppercase;
    font-size: 8px;
    padding: 4px 4px 4px 4px;
    background-color: #e6e4e4;
}



.linksadm {
    font-family: berenis adf pro;
    font-weight: bold;
    margin: 0px 10px 0px 10px !important;
    font-size: 11px;
}