/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {
    background: #a49d8f url(http://forumstatic.ru/files/001b/b1/30/92159.jpg) no-repeat fixed top center;
    background-size: cover;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/b1/30/54822.png);
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
    width: 1012px;
    height: 312px;
    margin-left: -32px;
    overflow-x: hidden;
    margin-top: -114px;
}

/* Тело форума */
#pun {
    background-position: center top;
    background-repeat: repeat-y;
}


/* Футер */
#pun-about p.container {
    border: none !important;
    height: 56px;
}


/* 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: #000;
    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: #000;
    text-align: center;
    font-style: normal;
    font-family: 'beaufort';
    text-transform: uppercase;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    color: #000;
    overflow: hidden;
    border: 1px solid #dedddb;
    background: #e9e8e6 url(http://forumstatic.ru/files/001b/b1/30/97230.jpg?v=1) repeat;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
background: #e9e8e6;
    color: #000;
}


/* Тень и закругление */
.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: #e9e8e6;
    border: 1px solid #dedddb;
}


/* 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: #585830;
    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: #444240;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #444240;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #181818;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: .5px;
    transition-duration: 1s;
    font-family: 'Raleway';
    text-shadow: 0px 0px 3px #9b9a98a1;
}

#pun-ulinks a:hover {
    text-decoration: none;
    color: #87874b;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #181818;
    transition-duration: 1s;
    font-weight: 400;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
    color: #87874b;
    transition-duration: 1s;
}


#pun-navlinks a:hover {
    color: #87874b;
    transition-duration: 1s;
}

/* CS3 Остальное 
-------------------------------------------------------------*/
#pun-index .category tr.inew {
    box-shadow: 0 0 0 1px #c7c5c1 inset, 5px 0 inset #a1aa96;
    background: url(http://forumstatic.ru/files/001b/b1/30/24816.jpg?v=1) no-repeat top right, url(http://forumstatic.ru/files/001b/b1/30/97230.jpg?v=1) repeat;
}

div.icon {
display:none;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #898989;
    border: 1px solid #838383;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 5px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #b7b760;
    border: 1px solid #a5a567;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 5px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #ebeae8;
    border: 1px solid #dedddb;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 5px;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #b3b392;
    border: 1px solid #979778;
    height: 7px;
    width: 7px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 5px;
}


/* 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: block;
    margin-top: 1px;
    text-align: left;
    text-shadow: 0px 0px 3px #9b9a98;
}
#pun-stats h2 span {
    visibility: visible;
    margin-top: 2px;
    display: block;
    font-weight: 500;
    text-shadow: 0px 0px 3px #9b9a98;
    color: #393833;
}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 15px;
    height: 10px;
    background-color: #ebeae8;
}

::-webkit-scrollbar-thumb {
    background-color: #a1aa96;
    border: 2px solid #ebeae8;
}


::selection {
    background: #a1aa96 !important;
    color: #eee;
}

td.tcr a {
    font-weight: 500;
    font-size: 15px;
    text-shadow: 0px 0px 2px #c3c3c3;
    transition: 1s;
    font-family: 'beaufort';
}


.punbb .user-avatar .avatar-image {
    border: 1px solid #af9c75;
    opacity: 0.75 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 0 !important;
    mix-blend-mode: luminosity;
    box-shadow: 0px 0px 0px 1px #a08b5e1a;
}


.punbb .user-avatar .isonline {
    margin-right: -2px;
    background: #98967f !important;
}


.punbb .user-avatar {
    margin: 1px 14px 2px 0px !important;
}



#pun-index .tclcon a {
    display: inline-block;
    position: relative;
}





.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 0px;
    margin-top: 8px;
    border: 5px solid #e7e7e6;
    box-shadow: 0px 0px 0px 1px #d5d4d2;
}


#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;
    top: 43px;
    overflow-y: auto;
    padding-top: 10px;
    background: #cbc9ca;
    border: 1px solid #a58e62;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
    color: #7e8b70;
}


.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background: #cbc9ca;
    border: 1px solid #a58e62;
}


.button {
    font-family: 'beaufort' !IMPORTANT;
    text-transform: uppercase;
    background-color: #a1aa96 !important;
    font-size: 10px !important;
    margin-top: 5px !important;
    border: none;
    padding: 4px 15px 4px 15px !important;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: 400 !important;
    border-radius: 1px !important;
    letter-spacing: 0.6px;
    color: #f1f1ef !IMPORTANT;
    border: 1px solid #a1aa96;
    text-align: justify;
    box-shadow: 0px 0px 5px #5f717378, 0px 0px 5px #ded7cd78 inset;
}
#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background: #cbc9ca;
    border: 1px solid #a58e62;
    height: 70px;
}



#MyBookmarks {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 240px;
    background: #cbc9ca;
    border: 1px solid #a58e62;
}


#BookmCntToggle.default-style {
    background: #F7F7F7;
    border-left: solid 5px currentColor;
    box-shadow: 0 0 6px rgb(0 0 0 / 42%);
    color: #7a5634 !important;
    display: block;
    height: 26px;
    width: 21px;
}



#mask_dialog .inner {
    cursor: default;
    margin: 0;
    width: 760px;
    max-width: 99%;
    max-height: 90%;
    overflow-x: auto;
    z-index: 100;
    background: #cbc9ca;
    border: 1px solid #a58e62;
    padding: 8px;
}




#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}


#pun-viewforum .tclcon, #pun-messages .tclcon, #pun-searchtopics .tclcon {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: none;
    font-family: 'beaufort';
    text-shadow: 0px 0px 1px #817c72;
}

#pun-viewforum .tclcon a, #pun-messages .tclcon a, #pun-searchtopics .tclcon a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: none;
    font-family: 'beaufort';
    text-shadow: 0px 0px 1px #817c72;
}



#pun-viewforum td.tcr a, #pun-messages td.tcr a, #pun-searchtopics td.tcr a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: none;
    font-family: 'beaufort';
    text-shadow: 0px 0px 1px #817c72;
}

#pun-viewforum span.byuser, #pun-messages span.byuser, #pun-searchtopics span.byuser {
    font-family: raleway;
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
}


#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z-index: 2;
    background: #eaeae8 url(http://forumstatic.ru/files/001b/b1/30/97230.jpg?v=1);
    border: 1px solid #bdbbb8;
}


#imageupload-left input[type=button] {
    width: auto !important;
    text-align: center;
}



#MyBookmarks h2, #MyBookmarks h1, .editBookmark h2 {
    position: relative;
    width: auto;
    z-index: 9999999;
    margin-left: 0px !important;
}





#pun .code-box strong.legend a {
    color: #726a5a;
    font-weight: 400;
}

.post-author {
    padding: 6px 0 0px 0;
    margin: 12px 0 0px 0px!important;
    font-family: raleway;
    font-size: 10px;
    letter-spacing: .2px;
    border: 1px solid #d1d1d1;
    background: url(http://forumstatic.ru/files/001b/b1/30/24816.jpg) top right no-repeat, url(http://forumstatic.ru/files/001b/b1/30/97230.jpg?v=1) repeat;
}

#pun-main .category h2, #pun-stats h2 {
    box-shadow: none;
    text-transform: uppercase;
    width: auto;
    font-weight: 500;
    margin: 2px 0px 0px 0px !important;
    height: 30px;
    text-align: right;
    background: url(http://forumstatic.ru/files/001b/b1/30/51828.jpg?v=1) repeat;
    padding: 3px 10px 2px 10px !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    font-family: beaufort;
    border-radius: 2px;
    box-sizing: border-box;
    position: relative;
    /* overflow: hidden; */
    border: 1px solid #dedddb;
}


#pun-viewforum .main td {
    padding: 0.5em 1em;
    vertical-align: top;
}
