/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {
    background: #171717 url(http://forumstatic.ru/files/001b/bc/b5/36786.jpg) no-repeat fixed top center;
    background-size: cover;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/a7/96/71711.png);
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
    width: 966px;
    height: 478px;
    margin-left: -40px;
    overflow-x: hidden;
    margin-top: -390px;
}

/* Тело форума */
#pun {
    background-position: center top;
    background-repeat: repeat-y;
}


/* Футер */
#pun-about p.container {
    border: none !important;
    background-image: url(http://forumstatic.ru/files/001b/bc/b5/93851.png);
    margin: 0px 0px -50px -40px;
    background-position: bottom left;
    background-repeat: repeat-x;
    width: 966px;
    height: 43px;
    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: #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;
    background: #bababa52;
    border: 1px solid #7a7a7a40;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background: #c9cabc;
    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: #c1c1c1;
    border: 1px solid #a3a3a3;
}


/* 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: #4f6868;
    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: #3c4444;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #3c4444;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 12px;
    color: #000000;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.8px;
    font-family: 'beaufort';
    text-shadow: 0px 0px 3px #888985b5;
    transition-duration: 1s;
}

#pun-ulinks a:hover {
    text-decoration: none;
    color: #334c4c;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #090e11;
    transition-duration: 1s;
    background: linear-gradient(rgba(255,255,255,1) 5%, rgba(0,0,0,1) 65%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
    font-weight: 400;
    text-shadow: 0px 0px 1px #909090;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
    color: #2c6057;
    transition-duration: 1s;
    text-shadow: 0px 0px 1px #9b9b9b;
}


#pun-navlinks a:hover {
    color: #2c6057;
    transition-duration: 1s;
    text-shadow: 0px 0px 1px #9b9b9b;
}

/* CS3 Остальное 
-------------------------------------------------------------*/
#pun-index .category tr.inew {
    background: #b7b7b7 url(http://forumstatic.ru/files/001b/bc/b5/90993.jpg);
    box-shadow: 0 0 0 1px #a1a1a1ad inset, 0px -3px #628383 inset;
}

div.icon {
display:none;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #5e5e5e;
    border: 1px solid #585858;
    height: 8px;
    width: 8px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    box-shadow: 0px 0px 3px #8a8b8778;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #618585;
    border: 1px solid #4a7070;
    height: 8px;
    width: 8px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    box-shadow: 0px 0px 3px #8a8b8778;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #b3b3b3;
    border: 1px solid #8e8f7e63;
    height: 8px;
    width: 8px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    box-shadow: 0px 0px 3px #b4b5a491;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #6b8487;
    border: 1px solid #8e8f7e63;
    height: 8px;
    width: 8px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    box-shadow: 0px 0px 3px #b4b5a491;
}

.dark #pun-viewforum TR.inew Div.icon, .dark #pun-messages TR.inew Div.icon, .dark #pun-searchtopics TR.inew Div.icon {
    background: #9d786d;
    border: 1px solid #8b685e;
    height: 8px;
    width: 8px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    box-shadow: 0px 0px 3px #b4b5a491;
}


.dark #pun-viewforum TR.isticky Div.icon, .dark #pun-messages TR.isticky Div.icon, .dark #pun-searchtopics TR.isticky Div.icon {
    background: #9b5340;
    border: 1px solid #7a3e2e;
    height: 8px;
    width: 8px;
    border-radius: 0;
    margin-right: 8px !important;
    margin-top: 4px;
    box-shadow: 0px 0px 3px #b4b5a491;
}


/* 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: 10px;
    background-color: #202020;
}

::-webkit-scrollbar-thumb {
    background-color: #4a4a4a;
}

::selection {
    background: #4a5a5a !important;
    color: #cacaca;
}


td.tcr a {
    font-weight: 500;
    font-size: 12px;
    color: #506b6b !IMPORTANT;
    transition: 1s;
    font-family: beaufort2;
    letter-spacing: .5px;
    text-transform: uppercase;
}


td.tcr a:hover {
    color: #353838 !IMPORTANT;
}

.punbb .user-avatar .avatar-image {
    border: 1px solid #20302e;
    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: #6d9393 !important;
}


.dark .punbb .user-avatar .isonline {
    margin-right: -2px;
    background: #af6b58 !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: 6px;
    border-style: solid;
    border-width: 3px;
    border-color: rgba(0,0,0,0);
    border-image: url(http://forumstatic.ru/files/001b/bc/b5/37454.png) round 3;
}


#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: #c1c1c1;
    border: 1px solid #a3a3a3;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
    color: #5c7070;
}


.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: #c1c1c1;
    border: 1px solid #a3a3a3;
}


.button {
    font-family: 'beaufort' !important;
    background-color: #5a7070 !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.6px;
    color: #d3d4c6 !IMPORTANT;
    border: 1px solid #4558569e;
    text-align: justify;
    box-shadow: 0px 0px 5px #878484c2, 0px 0px 9px #00000029 inset;
}


#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background: #c1c1c1;
    border: 1px solid #a3a3a3;
    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: #c1c1c1;
    border: 1px solid #a3a3a3;
}


#BookmCntToggle.default-style {
    color: #78a2a2 !important;
}


.dark #BookmCntToggle.default-style {
    color: #af6b58 !important;
}



#mask_dialog .inner {
    cursor: default;
    margin: 0;
    width: 760px;
    max-width: 99%;
    max-height: 90%;
    overflow-x: auto;
    z-index: 100;
    background: #c1c1c1;
    border: 1px solid #a3a3a3;
    padding: 8px;
}




#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}


#pun-viewforum .tclcon, #pun-messages .tclcon, #pun-searchtopics .tclcon {
    font-family: beaufort;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

#pun-viewforum .tclcon a, #pun-messages .tclcon a, #pun-searchtopics .tclcon a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: none;
    font-family: 'beaufort';
    text-shadow: 0px 0px 1px #949588;
}



#pun-viewforum td.tcr a, #pun-messages td.tcr a, #pun-searchtopics td.tcr a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: none;
    font-family: 'beaufort';
    text-shadow: 0px 0px 1px #949588;
}


#pun-viewforum span.byuser, #pun-messages span.byuser, #pun-searchtopics span.byuser {
    font-family: beaufort;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}

.punbb .post .post-author  a {
    color: #8cb3ae !IMPORTANT;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.pa-ip {
    font-family: beaufort;
    font-size: 9px;
    text-transform: lowercase;
}


#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z-index: 2;
    background: #c1c1c1;
    border: 1px solid #a3a3a3;
}



#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;
}




.post-author {
    padding: 6px 0 6px 0;
    margin: -22px 0 0px -60px!important;
    font-family: 'beaufort';
    font-size: 10px;
    color: #c8c8c8;
    min-height: 150px;
    box-shadow: 0px 0px 6px #0000005c;
    background: url(http://forumstatic.ru/files/001b/bc/b5/85572.jpg) no-repeat top, url(http://forumstatic.ru/files/001b/bc/b5/86168.jpg) no-repeat bottom, url(http://forumstatic.ru/files/001b/bc/b5/43971.jpg) repeat-y;
}

#pun-main .category h2, #pun-stats h2 {
    text-transform: uppercase;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    /* width: 931px; */
    font-weight: 400;
    margin: 0px 0px -20px 0px !important;
    height: 33px;
    text-align: right;
    background: #c5c5c5;
    padding: 5px 15px !important;
    font-size: 31px !important;
    letter-spacing: 1px !important;
    border: 1px solid #b5b5b5;
    font-family: 'beaufort';
    border-width: 1px 1px 0 1px;
    text-shadow: 0px 0px 2px #9d9a9a;
}

#pun-stats h2 {
    margin-top: -10px !important;
    border-width: 1px 1px 1px 1px;
}


/* Индикатор активности пользователя */
    .post .post-author ul {
      position: relative;
    }
.pa-online {
    position: absolute;
    display: inline-block !important;
    bottom: -14px;
    left: 36px;
    height: 20px;
    width: 172px;
    margin: -10px 0 0 -10px !important;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    background: transparent url(http://forumstatic.ru/files/001b/bc/b5/71937.png) no-repeat;
}
    .pa-online:hover {
opacity:1;
    }
    .pa-online:hover strong {
      opacity: 1.0;
      visibility: visible;
    }
.pa-online strong {
    position: absolute;
    top: 18px;
    right: -6px;
    padding: 0 8px;
    height: 24px;
    line-height: 24px;
    background: rgb(0 0 0);
    font-weight: 400;
    white-space: nowrap;
    color: #e5e5e5;
    letter-spacing: 1px;
    font-family: beaufort;
    font-size: 100%;
    text-shadow: rgba(0,0,0,0.2) 0 -1px 0;
    text-align: center;
    z-index: 10;
    -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 strong:before {
      content: "";
      position: absolute;
      width: 0;
      height: 0;
      right: 6px;
      top: -10px;
      border-width: 5px 5px;
      border-style: solid;
      border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
    }





#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    border: #21201e solid 1px;
    height: 70px;
    background: #c5c3c3;
}






body.dark {
    background: #171717 url(http://forumstatic.ru/files/001b/bc/b5/85289.jpg) no-repeat fixed top center;
    background-size: cover;
}

/* Шапка */
.dark #pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/a7/96/99487.png);
    background-repeat: repeat-x;
    background-position: top left;
    border: none;
    width: 966px;
    height: 478px;
    margin-left: -40px;
    overflow-x: hidden;
    margin-top: -390px;
}



.dark .button {
    font-family: 'beaufort' !important;
    background-color: #9b7468 !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.6px;
    color: #d3d4c6 !IMPORTANT;
    border: 1px solid #835f55;
    text-align: justify;
    box-shadow: 0px 0px 5px #878484c2, 0px 0px 9px #00000029 inset;
}