/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
HTML {
    background: #515669 url(http://forumstatic.ru/files/001b/c4/9a/89669.jpg) repeat fixed top center;
    background-size: cover;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/c4/9a/32815.png);
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
    width: 1022px;
    height: 290px;
    margin-left: -40px;
    overflow-x: hidden;
    margin-top: -140px;
}

/* Тело форума */
#pun {
    background-position: center top;
    background-repeat: repeat-y;
}


/* Футер */
#pun-about p.container {
    border: none !important;
    background-image: url(http://forumstatic.ru/files/001b/c4/9a/10744.png);
    margin: 0px 0px -62px -40px;
    background-position: bottom left;
    background-repeat: repeat-x;
    width: 1022px;
    height: 48px;
    overflow-x: hidden;
    padding-bottom: 50px;
}


/* 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: #20252d;
    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: #20252d;
    text-align: center;
    font-style: normal;
    font-family: 'Raleway';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    color: #20252d;
    border: 1px solid #b4afa9;
    background: url(http://forumstatic.ru/files/001b/c4/9a/16120.jpg?v=1) top center no-repeat, url(http://forumstatic.ru/files/001b/c4/9a/26729.jpg?v=1) repeat;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background: #bec4ba;
    color: #2b2e31;
}


/* Тень и закругление */
.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: #dbdcdd;
}


/* 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: #84644a;
  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: #4f556e;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #4f556e;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #26272a;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: .4px;
    font-family: 'Roboto';
}
#pun-ulinks a:hover {
    text-decoration: none;
    color: #755b41;
}


#pun-navlinks a {
    color: #d6cfc1;
    transition-duration: 1s;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
color: #bea182;
transition-duration: 1s;
}


#pun-navlinks a:hover {
color: #bea182;
  transition-duration: 1s;
}

/* CS3 Остальное 
-------------------------------------------------------------*/
tr.inew div.icon {
    background: #b1977e;
    border: 1px solid #b1967c;
    height: 40px;
    width: 5px;
    margin-right: 5px !IMPORTANT;
    margin-left: -4px;
    margin-top: 10px;
}

div.icon {
    background: #cac4bf;
    border: 1px solid #b9b3ad;
    height: 40px;
    width: 5px;
    margin-right: 5px !IMPORTANT;
    margin-left: -4px;
    margin-top: 10px;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #8d8a88;
    border: 1px solid #787674;
    height: 6px;
    width: 11px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    margin-left: 0px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #6b708d;
    border: 1px solid #4e546d;
    height: 6px;
    width: 11px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    margin-left: 0px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #c4bfb7;
    border: 1px solid #b7b4aa;
    height: 6px;
    width: 11px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    margin-left: 0px;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #a98865;
    border: 1px solid #87684b78;
    height: 6px;
    width: 11px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    margin-left: 0px;
}


/* 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: 8px;
    height: 8px;
    background-color: #cdc5c2;
    border: 3px solid #85684d;
}
::-webkit-scrollbar-thumb {
    border: 1px solid #aba59e;
    background-color: #82674e;
}


::selection {
    background: #8a6b4e !important;
    color: #dad4ce;
}
td.tcr a {
    font-weight: 400;
    font-size: 14px;
    transition: 1s;
    font-family: bona nova;
    text-transform: lowercase;
    color: #4e5772 !important;
    text-shadow: 0px 0px 1px #9d9989;
}

.punbb .user-avatar .avatar-image {
    border: 1px solid #b5b5b5;
    opacity: .7 !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 100% !important;
    mix-blend-mode: luminosity; 
}


.punbb .user-avatar .isonline {
    margin-right: 0px;
    background: #8f7051 !important;
}

.punbb .user-avatar {
    margin: 1px 14px 2px 0px !important;
}




.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 0px;
    margin-top: 2px;
    border-radius: 0;
    border: 4px solid #cdc5c0;
    box-shadow: 0px 0px 0px 1px #b4afa9;
}


#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: #c7c4ba;
    border: 1px solid #b7b4a8;
}



.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: #c7c4ba;
    border: 1px solid #b7b4a8;
}


.button {
    font-family: raleway !important;
    background-color: #dbdada !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: lowercase;
    font-weight: 500 !important;
    border-radius: 1px !important;
    letter-spacing: 0;
    border: 1px solid #6b7a8b54;
    text-align: justify;
}


#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background: #c7c4ba;
    border: 1px solid #b7b4a8;
    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: #c7c4ba;
    border: 1px solid #b7b4a8;
}


#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: #c7c4ba;
    border: 1px solid #b7b4a8;
    padding: 8px;
}




#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}


#pun-viewforum .tclcon, #pun-messages .tclcon, #pun-searchtopics .tclcon {
    font-size: 13px;
    font-weight: 400;
    font-family: 'Roboto';
}

#pun-viewforum .tclcon a, #pun-messages .tclcon a, #pun-searchtopics .tclcon a {
    font-size: 13px;
    font-weight: 400;
    font-family: 'Roboto';
}



#pun-viewforum td.tcr a, #pun-messages td.tcr a, #pun-searchtopics td.tcr a {
    font-size: 11px;
    font-weight: 300;
    font-family: roboto;
}


#pun-viewforum span.byuser, #pun-messages span.byuser, #pun-searchtopics span.byuser {
    font-size: 11px;
    font-weight: 400;
    font-family: roboto;
}



#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z-index: 2;
    background: #c7c4ba;
    border: 1px solid #b7b4a8;
    max-height: 250px;
}



#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;
}




#button-dice { background-image: url(https://i.imgur.com/Ol8hKfR.png); }