/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {
background: url(http://forumstatic.ru/files/001b/02/19/88831.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #b1b0ae;
background-size: cover;
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/0b/d7/85007.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 942px;
    height: 253px;
    margin-left: -30px;
    margin-top: -250px;
}

/* Тело форума */
#pun {
width: 942px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001b/0b/d7/17550.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 942px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001b/0b/d7/54740.jpg);
    margin: 0px 0px -100px -30px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 942px;
    height: 46px;
    overflow-x: hidden;
    padding-bottom: 60px;
}


/* 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: #4e4e4d;
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: #4e4e4d;
    text-align: center;
    font-style: normal;
    font-family: montserrat;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumstatic.ru/files/001b/0b/d7/18948.jpg);
    background-color: #bebebe;
    color: #4e4e4d;
    border: 1px solid #b3b3b3ba;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-color: #bebebe;
    color: #4e4e4d;
}


/* Тень и закругление */
.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-image: url(http://forumstatic.ru/files/001b/0b/d7/18948.jpg);
    background-color: #bebebe;
}





/* 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: #886847;
  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-ulinks a:focus, #pun-ulinks a:active {
color: #627664;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #627664;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #5b5a59;
    font-weight: 500;
    font-family: montserrat;
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #627664;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #8c6c4b;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
color: #5e7260;
}


#pun-navlinks a:hover {
color: #5e7260;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

div.icon {
    background: url(http://forumstatic.ru/files/001b/0b/d7/46042.jpg) no-repeat;
    height: 27px;
    width: 27px;
    margin-top: 9px;
}

tr.inew div.icon {
    background: url(http://forumstatic.ru/files/001b/0b/d7/23350.jpg) no-repeat;
    height: 27px;
    width: 27px;
    margin-top: 9px;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #5b5b5b;
    border-radius: 50%;
    box-shadow: 2px 2px 4px #0d0d0d54 inset, 0px 0px 0px 1px #787878;
    height: 8px;
    width: 8px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
background: #8a6a49;
    border-radius: 50%;
    box-shadow: 2px 2px 4px #513d288a inset, 0px 0px 0px 1px #785d40;
    height: 8px;
    width: 8px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #bababa61;
    border-radius: 50%;
    box-shadow: 2px 2px 4px #10100d1c inset, 0px 0px 0px 1px #a5a5a55e;
    height: 7px;
    width: 7px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #637665;
    border-radius: 50%;
    box-shadow: 2px 2px 4px #313f325e inset, 0px 0px 0px 1px #58725a;
    height: 8px;
    width: 8px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}





/* 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";}
#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: 9px;
    height: 6px;
    background-color: #cdcdcc;
}

::-webkit-scrollbar-thumb {
    background-color: #607462;
    border: 4px solid #cdcdcc;
}


::selection {
    background: #607462 !important;
    color: #cbcbca;
}



td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: roboto;
    font-size: 13px;
    font-weight: 700;
    color: #617563 !important;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    margin-top: 6px;
    box-shadow: 0px 0px 0px 4px #d1d1d0, 0px 0px 0px 5px #b1b0ae;
}


#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70); transition-duration: 2s;}

#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;
    background-image: url(http://forumstatic.ru/files/001b/0b/d7/18948.jpg);
    background-color: #bebebe;
    top: 43px;
    overflow-y: auto;
    padding-top: 10px;
    border: 1px solid #587d8a;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
}



.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-image: url(http://forumstatic.ru/files/001b/0b/d7/18948.jpg);
    background-color: #bebebe;
}



/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }

.punbb .post h3 {
    height: 15px;
    margin: 0 4px 0 4px !important;
    border-radius: 1px;
    font-size: 9px;
    color: #e8e8e8 !important;
    font-family: 'Montserrat';
    border: 1px solid #b6b6b5;
    background-image: url(http://forumstatic.ru/files/001b/0b/d7/18948.jpg);
    background-color: #bebebe;
}

del {
    color: transparent;
    text-shadow: 0 0 4px rgba(1,1,1,1);
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -ms-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;
    text-decoration: none!important;
}
del:hover {
    background: transparent;
    color: #1e1c1c;
    text-decoration: none!important;
    text-shadow: none;
}


.button {
    border-radius: 1px !important;
    color: #e5e5e5 !important;
    font-family: montserrat !important;
    background-color: #5e7260 !important;
    font-size: 9px !important;
    border: none;
    box-shadow: 0 5px 10px #253a27b0 inset, 0 0 0 1px #627664 inset, 0px 0px 8px #a6bea9 inset;
    margin-top: 5px !important;
    padding: 6px 18px 7px 18px !important;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: lowercase;
    text-shadow: 0 0 1px #000;
}


.go-up {
    border: #664d3354 1px solid;
    color: #d1d1cb;
    text-align: center;
    font-family: 'Playfair Display';
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    width: 50px;
    font-weight: 700;
    padding: 2px 10px 3px 10px;
    background: #8b6b4a;
    text-shadow: 1px 1px #00000036;
    box-shadow: 0px 10px 10px #b28e6854 inset, 0px 0px 10px #705335 inset;
}



.go-down {
    border: #664d3354 1px solid;
    color: #d1d1cb;
    text-align: center;
    font-family: 'Playfair Display';
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    width: 50px;
    font-weight: 700;
    padding: 2px 10px 3px 10px;
    background: #8b6b4a;
    text-shadow: 1px 1px #00000036;
    box-shadow: 0px 10px 10px #b28e6854 inset, 0px 0px 10px #705335 inset;
}

.pa-posts, .pa-respect {
    padding: 1px 0px 5px 3px!important;
    margin-top: 2px !important;
    display: inline-block!important;
    float: none!important;
    max-width: 100px!important;
    height: 12px!important;
    text-align: center;
    text-transform: lowercase;
    font-size: 9px;
    font-family: 'Montserrat';
    color: #484848;
}




#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    border: #587d8a solid 1px !important;
    height: 70px;
}


#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    border: 1px solid #767676;
    padding-top: 10px;
}

li.pa-ua {
    display: none !important;
}


.post-author {
    background: url(http://forumstatic.ru/files/001b/0b/d7/67367.jpg) no-repeat top, url(http://forumstatic.ru/files/001b/0b/d7/23483.jpg) no-repeat bottom, url(http://forumstatic.ru/files/001b/0b/d7/78359.jpg) repeat-y;
    padding: 16px 0 4px 0;
    margin: 10px 0 0 3px!important;
}


.plash {
    background-color: #5f7360;
    padding: 4px 10px 4px 10px;
    margin: 0 4px 0 0 !important;
    width: 150px !important;
    display: inline-block;
    font-family: playfair display;
    color: #e4e3e0 !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 9px;
    text-align: center;
    text-shadow: 1px 1px #2f3a2f8a;
    box-shadow: 0px 10px 10px #2f3c3078 inset, 0px 0px 4px #79927b inset, 0px 0px 0px 1px #5d715f;
    text-transform: uppercase;
    transition-duration: 2s;
}


.plash:hover {
    background-color: #9b7654;
    padding: 4px 10px 4px 10px;
    margin: 0 4px 0 0 !important;
    width: 150px !important;
    display: inline-block;
    font-family: playfair display;
    color: #e4e3e0 !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 9px;
    text-align: center;
    text-shadow: 1px 1px #2f3a2f8a;
    box-shadow: 0px 10px 10px #664d3499 inset, 0px 0px 4px #cfa27a inset, 0px 0px 0px 1px #856b53;
    text-transform: uppercase;
    transition-duration: 2s;
}


.plash span:last-child {
    display: block;
    font-weight: 400;
    text-transform: lowercase;
    font-size: 10px;
    border-top: 1px solid #bbbbb1;
    padding: 2px 0px 0 0px;
    margin-top: 2px;
    font-family: roboto;
}


#pun-index td div.tclcon b {
text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 7px;
    background: #627664;
    color: #d5d5d2 !important;
    padding: 1px 2px 0px 2px;
}



#pun-index .category tr {
    background: #bababa61;
    box-shadow: 0px 0px 0px 1px #9d9d9d4a;
}



#pun-index .category table {
    border-spacing: 0 14px;
}


.bpost img {
    width: 39px;
    height: 39px;
    float: left;
    margin: 0px 10px 0px 0px;
}


.bpost a {
color: #39533b !important;
}


.links2 {
font-family: 'Playfair Display';
    font-weight: 800;
    color: #5e7260 !important;
    transition-duration: 2s;
}


.links2:hover {
font-family: 'Playfair Display';
    font-weight: 800;
    color: #8c6c4e !important;
    transition-duration: 2s;
}


.pa-fld1 a {
font-family: 'Playfair Display';
    font-weight: 800;
    font-size: 13px;
    color: #5f7361 !IMPORTANT;
}

.pa-fld1 {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 9px;
}


#pun-index div.category h2, #pun-index #pun-stats h2 {
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    color: #627664 !important;
    text-align: center;
    padding: 10px 0 0 0;
    font-size: 18px !important;
    text-transform: lowercase;
    margin: 0px -13px 16px;
    font-family: Playfair Display;
    letter-spacing: 0px;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 25px;
    width: 906px;
}