/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
HTML {
    background: #1a1a18 url(https://i.imgur.com/77xIGLx.jpg) no-repeat fixed top center;
    background-size: cover;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/c0/18/54329.jpg);
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
    width: 972px;
    height: 208px;
    margin-left: -20px;
    overflow-x: hidden;
    margin-top: -100px;
}

/* Тело форума */
#pun {
    background-position: center top;
    background-repeat: repeat-y;
}


/* Футер */
#pun-about p.container {
    background:transparent;
    height: 27px;
    width: auto;
    padding: 0 !important;
    border: none !important;
}


/* 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';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    color: #000;
    border: 1px solid #bdbbac;
    background: url(http://forumstatic.ru/files/001b/c0/18/75511.jpg) bottom no-repeat, url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
    box-shadow: 0px 0px 3px #a5a3962b;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background: #9c9e86;
    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: #9c9e86 url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
}


/* 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: #572820;
  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: #1d1d1b;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #1d1d1b;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 11px;
    color: #000000;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.2px;
    font-family: bona nova;
    text-shadow: 0px 0px 1px #78786c;
}

#pun-ulinks a:hover {
    text-decoration: none;
    color: #783d33;
}


#pun-navlinks a {
    color: #121710;
    transition-duration: 1s;
    text-shadow: 0px 0px 1px #535844;
}

#pun-navlinks a:hover {
    color: #723126;
    transition-duration: 1s;
}


#pun-navlinks a:hover {
    color: #723126;
  transition-duration: 1s;
}

/* CS3 Остальное 
-------------------------------------------------------------*/
#pun-index tr.inew .tclcon {
    box-shadow: 0px 0px 6px #b9b8a766, 0px 0px 10px #a3a18d38 inset, -3px 0 #6e382e;
    background: url(http://forumstatic.ru/files/001b/c0/18/50753.jpg) right bottom no-repeat, url(http://forumstatic.ru/files/001b/c0/18/28990.jpg) repeat;
    padding: 5px 10px 10px 10px;
    text-align: justify;
    position: relative;
    border: 1px solid #bab9a7;
}

div.icon {
display:none;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #6a6a68;
    border: 1px solid #545453ba;
    height: 7px;
    width: 7px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 3px;
    box-shadow: 0px 0px 4px #979684;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #72613f;
    border: 1px solid #645536;
    height: 7px;
    width: 7px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 3px;
    box-shadow: 0px 0px 4px #979684;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #cfcebc;
    border: 1px solid #b8b5a2;
    height: 7px;
    width: 7px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 3px;
    box-shadow: 0px 0px 4px #97968447;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #95564a;
    border: 1px solid #874d41;
    height: 7px;
    width: 7px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 3px;
    box-shadow: 0px 0px 4px #979684;
}


/* 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;}
#pun-stats h2 span {visibility: visible;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



/*---Прокрутка---*/
::-webkit-scrollbar {
    width: 10px;
    height: 6px;
    background-color: #d3d2be;
}

::-webkit-scrollbar-thumb {
    background-color: #7a4339;
    border: 2px solid #d3d2be;
}


::selection {
    background: #54261f !important;
    color: #d1cfc0;
}


td.tcr a {
    text-transform: lowercase;
    font-weight: 400;
    font-family: beaufort;
    font-size: 15px;
    text-shadow: 0px 0px 1px #5a5a5694;
    color: #5d2d24 !IMPORTANT;
    transition: 1s;
    letter-spacing: .3px;
}


td.tcr a:hover {
    color: #1d1d1b !IMPORTANT;
    transition: 1s;
}

.punbb .user-avatar .avatar-image {
    border: 1px solid #bab9a7;
    opacity: 0.78 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 100% !important;
    mix-blend-mode: luminosity;
}


.punbb .user-avatar .isonline {
    margin-right: 3px;
    background: #5c2e25 !important;
}


.punbb .user-avatar {
    margin: 1px 8px 2px 0px !important;
}


.podfor {
    background: #767a5e2b;
    padding: 6px 8px 8px 8px;
    border: 1px solid #9ca18a;
    font-family: 'Source Serif 4', serif;
    font-size: 10px;
    color: #000;
    line-height: 15px;
}


.podflink {
    margin-top: 8px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


#pun-index .tclcon a {
    display: inline-block;
    position: relative;
    margin: 0 3px;
}


.podflink a {
    text-transform: uppercase;
    font-size: 9px;
    flex: auto;
    text-align: center;
    padding: 2px 0 !important;
    background: #767a5e2b;
    border: 1px solid #9ca18a;
    font-family: 'Source Serif 4', serif;
    transition: 1s;
}


.podflink a:hover {
    text-transform: uppercase;
    font-size: 9px;
    flex: auto;
    text-align: center;
    padding: 2px 0 !important;
    background: #5c8b4c;
    border: 1px solid #4f7a40;
    font-family: 'Source Serif 4', serif;
    transition: 1s;
    color: #d6d7cf !important;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 0px;
    border: 4px solid #cbcab8;
    outline: 1px solid #b1af9bba;
    margin-top: 6px;
    box-shadow: 0px 0px 5px #85846f30;
}


#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: #9c9e86 url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
    border: 1px solid #bdbbac;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
    color: #7a4339;
}


.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: #9c9e86 url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
    border: 1px solid #bdbbac;
}


.button {
    font-family: 'beaufort' !important;
    background-color: #7a4339 !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: 3px !important;
    letter-spacing: 0.8px;
    color: #d7d6c3 !IMPORTANT;
    border: 1px solid #89877063;
    text-shadow: 1px 1px #5c3229;
    text-align: justify;
    box-shadow: 0px 0px 5px #8f8e79, 0px 0px 9px #19191747 inset;
}


#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background: #9c9e86 url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
    border: 1px solid #bdbbac;
    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: #9c9e86 url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
    border: 1px solid #bdbbac;
}


#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: #9c9e86 url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
    border: 1px solid #bdbbac;
    padding: 8px;
}




#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}


#pun-viewforum .tclcon, #pun-messages .tclcon, #pun-searchtopics .tclcon {
    font-family: 'Source Serif 4', serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

#pun-viewforum .tclcon a, #pun-messages .tclcon a, #pun-searchtopics .tclcon a {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: bona nova;
    text-shadow: 0px 0px 1px #7b7c69;
}



#pun-viewforum td.tcr a, #pun-messages td.tcr a, #pun-searchtopics td.tcr a {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: bona nova;
    text-shadow: 0px 0px 1px #7b7c69;
}


#pun-viewforum span.byuser, #pun-messages span.byuser, #pun-searchtopics span.byuser {
    font-family: 'Bona Nova';
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

.punbb .post .post-author  a {
    color: #743b34;
    font-weight: 500;
}



.pa-ip {
    font-family: 'Merriweather';
    font-size: 9px;
    text-transform: lowercase;
}


#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z-index: 2;
    background: #9c9e86 url(http://forumstatic.ru/files/001b/c0/18/59041.jpg) repeat;
    border: 1px solid #bdbbac;
    height: 210px;
}



#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-viewforum .main td {
    padding: 0.5em 1em;
    vertical-align: top;
}






#pun .code-box strong.legend a {
    font-weight: 400;
}


.post-author {
    background: url(http://forumstatic.ru/files/001b/c0/18/67431.jpg) no-repeat top, url(http://forumstatic.ru/files/001b/c0/18/10829.jpg) no-repeat bottom, url(http://forumstatic.ru/files/001b/c0/18/15530.jpg) repeat-y;
    padding: 6px 0 0px 0;
    margin: 10px 0 0 0px!important;
    font-family: 'beaufort';
    font-size: 12px;
    box-shadow: 0px 0px 3px #a5a3962b;
}



/* Индикатор активности пользователя */
    .post .post-author ul {
      position: relative;
    }
.pa-online {
    position: absolute;
    display: inline-block !important;
    bottom: 1px;
    left: 5px;
    background: #783e35 url(http://forumstatic.ru/files/001b/c0/18/70892.jpg);
    height: 6px;
    border-top: 1px solid #bdbcaa;
    width: 220px;
    margin: -10px 0 0 -5px !important;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
}
    .pa-online:hover {
opacity:1;
    }
.pa-online strong {
    position: absolute;
    top: 18px;
    right: 0px;
    padding: 0 8px;
    height: 20px;
    line-height: 20px;
    background: #6d362f;
    font-weight: 400;
    white-space: nowrap;
    color: #e3e2db;
    opacity: 1 !IMPORTANT;
    font-family: beaufort;
    text-transform: lowercase;
    font-size: 10px;
    text-align: center;
    z-index: 222;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
    opacity: 0;
    visibility: hidden;
}
    .pa-online:hover strong {
      opacity: 1.0;
      visibility: visible;
    }
.pa-online strong:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: 6px;
    top: -10px;
    border-width: 5px 5px;
    border-style: solid;
    border-color: transparent transparent rgb(109 54 47) transparent;
}








#pun-index .category h2, #pun-stats h2 {
    background: transparent;
    width: auto;
    height: auto;
    font-family: beaufort !important;
    font-size: 28px !important;
    color: #b9b8ad !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: right;
    border-bottom: 1px solid #0000001c;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    text-shadow: 0px 0px 1px #0000003b;
    margin: 0px 0px 6px 0px !IMPORTANT;
}

#pun-index .category h2 span, #pun-stats h2 span {
    display: block;
    margin-bottom: -8px;
    -webkit-text-size-adjust: 100%;
}



