/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {
    background: #d6d6d3 url(http://forumstatic.ru/files/001b/e3/d2/43725.jpg) no-repeat fixed center center;
    background-size: cover; 
}


/* Шапка */
#pun-title table {
    border: none;
}




/* Тело форума */
#pun {
    background-position: center top;
    background-repeat: repeat-y;
}


/* Футер */
#pun-about p.container {
    background: transparent;
    height: 30px;
    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: #3c3535;
    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: #3c3535;
    text-align: center;
    font-style: normal;
    font-family: 'Montserrat';
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    color: #3c3535;
    border-radius: 0px !IMPORTANT;
    background: #b8b4b1 url(http://forumstatic.ru/files/001b/e3/d2/73510.jpg);
    border: 1px solid #c2c08d;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background: #bfbfbf;
    border: 1px solid #a9a9a9;
    color: #3c3535;
}


/* Тень и закругление */
.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: #bfbfbf;
    border: 1px solid #a9a9a9;
}


/* 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: #a56c5d;
    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: #9a9751;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #9a9751;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 8px;
    color: #7d7b4f;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .48px;
    font-family: viaoda libre;
}

#pun-ulinks a:hover {
    text-decoration: none;
    color: #a56c5d;
}


#pun-navlinks a {
    color: #b08c72;
    transition-duration: 1s;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
color: #8c8a55;
transition-duration: 1s;
}


#pun-navlinks a:hover {
color: #8c8a55;
  transition-duration: 1s;
}

/* CS3 Остальное 
-------------------------------------------------------------*/
#pun-index tr.inew .tclcon:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -27px;
    width: 11px;
    height: 11px;
    font-size: 30px;
    background: #d1cf9e;
    border-radius: 100%;
    border: 1px solid #c2c08d;
}


#pun-index .tclcon:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -27px;
    width: 11px;
    height: 11px;
    font-size: 30px;
    background: #e1e1d9;
    border-radius: 100%;
    border: 1px solid #c2c08d;
}

div.icon {
display: none;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #787878;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    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: #9b6107;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    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: #9997959c;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    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: #ad8e5d;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    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";}
#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: 8px;
    height: 8px;
    background-color: #ddddd5;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #ddddd5;
    background-color: #92915e;
}

::selection {
    background: #92915e !important;
    color: #ddddd5;
}


td.tcr a {
    font-weight: 600;
    font-size: 11px;
    transition: 1s;
    font-family: montserrat;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.punbb .user-avatar .avatar-image {
    border: 1px solid #b7b7b5;
    opacity: .7  !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 0% !important;
    mix-blend-mode: luminosity;
}


.punbb .user-avatar .isonline {
    margin-right: 0px;
    background: #92915e !important;
}

.punbb .user-avatar {
    margin: 1px 14px 2px 0px !important;
}


#pun-index .tclcon a {
    display: inline-block;
    position: relative;
    transition-duration: 1s;
}



.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 0px;
    margin-top: 8px;
    border-radius: 0px;
    border: 1px solid #9d9b69;
    box-shadow: 0px 0px 10px #8f8f79b5;
}


#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: #cfcdc8;
    border: 1px solid #c1bfb9;
}



.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: #cfcdc8;
    border: 1px solid #c1bfb9;
}

.button {
    font-family: 'montserrat' !IMPORTANT;
    background-color: #a77931 !important;
    font-size: 10px !important;
    margin-top: 5px !important;
    padding: 3px 10px 4px 10px;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: lowercase;
    font-weight: 400 !important;
    letter-spacing: 0;
    line-height: 13px !IMPORTANT;
    border: 1px solid #aeaba6 !important;
    text-align: justify;
    color: #7c7c4d !IMPORTANT;
    border-radius: 0px !important;
    background: #b8b4b1 url(http://forumstatic.ru/files/001b/e3/d2/73510.jpg) !IMPORTANT;
    border: 1px solid #c2c08d !important;
    box-shadow: 0px 0px 10px #8f8f792e, 0px 0px 8px #b7b7a691 inset;
    cursor: pointer;
}


.button:hover {
    font-family: 'montserrat' !IMPORTANT;
    background-color: #a77931 !important;
    font-size: 10px !important;
    margin-top: 5px !important;
    padding: 3px 10px 4px 10px;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: lowercase;
    font-weight: 400 !important;
    letter-spacing: 0;
    line-height: 13px !IMPORTANT;
    border: 1px solid #aeaba6 !important;
    text-align: justify;
    color: #e1e1d9 !IMPORTANT;
    border-radius: 0px !important;
    background: #a39e66 !IMPORTANT;
    border: 1px solid #c2c08d !important;
    box-shadow: 0px 0px 10px #8f8f792e, 0px 0px 8px #b7b7a691 inset;
    cursor: pointer;
}


#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background: #cfcdc8;
    border: 1px solid #c1bfb9;
    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: #cfcdc8;
    border: 1px solid #c1bfb9;
}


#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: #cfcdc8;
    border: 1px solid #c1bfb9;
    padding: 8px;
}




#MyBookmarks h2 {
margin: 10px 0 10px 0 !important;
}



#pun-viewforum .tclcon a, #pun-messages .tclcon a, #pun-searchtopics .tclcon a {
    font-size: 11px;
    font-weight: 500;
    font-family: montserrat;
    text-transform: none;
    letter-spacing: .3px;
}



#pun-viewforum td.tcr a, #pun-messages td.tcr a, #pun-searchtopics td.tcr a {
    font-size: 11px;
    font-weight: 500;
    font-family: montserrat;
    text-transform: none;
}


#pun-viewforum span.byuser, #pun-messages span.byuser, #pun-searchtopics span.byuser {
    font-size: 11px;
    font-weight: 500;
    font-family: montserrat;
}

.punbb .post .post-author  a {
    font-weight: 500;
    transition: 1s;
}




#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z-index: 2;
    max-height: 245px;
    background: #ddddd5;
    border: 1px solid #a9a878;
    border-radius: 0px;
}



#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;
}

.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
}


body.dark {
    background: #c6a69f url(http://forumstatic.ru/files/001b/e4/04/61459.jpg) no-repeat fixed center center;
    background-size: cover; 
}


.dark .punbb .quote-box, .dark .punbb .code-box {
    color: #35322f;
    border-radius: 0px !IMPORTANT;
    background: #d7c8c3 url(http://forumstatic.ru/files/001b/e4/04/61800.jpg);
    border: 1px solid #c5b5b2;
}


.dark .punbb textarea, .dark .punbb input {
    background: #d6c7c2;
    border: 1px solid #c5b5b2;
    color: #35322f;
}


.dark #pun-popup_awards div, .dark #pun-reputation div {
    background: #d6c7c2;
    border: 1px solid #c5b5b2;
}

.dark .punbb a, .dark .punbb a:link, .dark .punbb a:visited, .dark .punbb-admin #pun-admain a, .dark .punbb-admin #pun-admain a:link, .dark .punbb-admin #punbb-admain a:visited, .dark .punbb li.isactive a, .dark .punbb li.isactive a:link, .dark .punbb li.isactive a:visited, .dark #pun-navlinks a, .dark #pun-ulinks a {
    color: #629090;
    text-decoration: none;
}


.dark .punbb a:focus, .dark .punbb a:active,  .dark .punbb-admin #pun-admain .nodefault,
.dark .punbb-admin #punbb-admain a:hover, .dark .punbb-admin #punbb-admain a:focus, .dark .punbb-admin #punbb-admain a:active,  .dark #pun-ulinks a:focus, .dark #pun-ulinks a:active {
color: #b0847c;
    transition-duration: 1s;
  }

.dark .punbb a:hover, .dark #pun-navlinks a:hover, .dark #pun-ulinks a:hover {
color: #b0847c;
    transition-duration: 1s;
  text-decoration: none;
  }


.dark #pun-ulinks a {
    font-size: 8px;
    color: #485b5b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .48px;
    font-family: montserrat;
}

.dark #pun-ulinks a:hover {
    text-decoration: none;
    color: #a46666;
}


.dark #pun-navlinks a {
    color: #dedbdb;
    transition-duration: 1s;
}

.dark #pun-navlinks a:focus, .dark #pun-navlinks a:active {
color: #e2cbc6;
transition-duration: 1s;
}


.dark #pun-navlinks a:hover {
color: #e2cbc6;
  transition-duration: 1s;
}


.dark #pun-index tr.inew .tclcon:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -27px;
    width: 11px;
    height: 11px;
    font-size: 30px;
    background: #c7a8a1;
    border-radius: 100%;
    border: 1px solid #b4958d;
}


.dark #pun-index .tclcon:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -27px;
    width: 11px;
    height: 11px;
    font-size: 30px;
    background: #dbd0cc;
    border-radius: 100%;
    border: 1px solid #cdbdb8;
}


.dark #pun-viewforum TR.iclosed Div.icon, .dark #pun-messages TR.iclosed Div.icon, .dark #pun-searchtopics TR.iclosed Div.icon {
    background: #9d9d9d;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 3px;
    margin-left: 0px;
}

.dark #pun-viewforum TR.isticky Div.icon, .dark #pun-messages TR.isticky Div.icon, .dark #pun-searchtopics TR.isticky Div.icon {
    background: #8ba1a1;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 3px;
    margin-left: 0px;
}

.dark #pun-viewforum table Div.icon, .dark #pun-messages table Div.icon, .dark #pun-searchtopics table Div.icon {
    background: #d4c6c3;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 3px;
    margin-left: 0px;
}

.dark #pun-viewforum TR.inew Div.icon, .dark #pun-messages TR.inew Div.icon, .dark #pun-searchtopics TR.inew Div.icon {
    background: #c6a89e;
    height: 9px;
    width: 9px;
    border-radius: 100%;
    margin-right: 8px !important;
    margin-top: 3px;
    margin-left: 0px;
}


.dark ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #dbd0cc;
}

.dark ::-webkit-scrollbar-thumb {
    border: 2px solid #dbd0cc;
    background-color: #c5a69c;
}

.dark ::selection {
    background: #c0a097 !important;
    color: #e7dfdc;
}

.dark .punbb .user-avatar .isonline {
    margin-right: 0px;
    background: #628f91 !important;
}

.dark .punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 0px;
    margin-top: 8px;
    border-radius: 20px;
    border: 1px solid #ad9793;
    box-shadow: 0px 0px 10px #b7a39edb;
}


.dark #font-area, .dark #size-area, .dark #color-area, .dark #table-area, .dark #smilies-area, .dark #image-area, .dark #imageup-area, .dark #imageattach-area, .dark #keyboard-area, .dark #video-area, .dark #addition-area {
    position: absolute;
    right: 6px;
    top: 43px;
    overflow-y: auto;
    padding-top: 10px;
    background: #d8cbc6;
    border: 1px solid #cdbdb8;
}



.dark .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: #d8cbc6;
    border: 1px solid #cdbdb8;
}

.dark .button {
    font-family: 'montserrat' !IMPORTANT;
    background-color: #a77931 !important;
    font-size: 10px !important;
    margin-top: 5px !important;
    padding: 3px 10px 4px 10px;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: lowercase;
    font-weight: 400 !important;
    letter-spacing: 0;
    line-height: 13px !IMPORTANT;
    border: 1px solid #aeaba6 !important;
    text-align: justify;
    color: #644d47 !IMPORTANT;
    border-radius: 0px !important;
    background: #d8cbc6 url(http://forumstatic.ru/files/001b/e4/04/61800.jpg) !IMPORTANT;
    border: 1px solid #c6a79e !important;
    box-shadow: 0px 0px 10px #8f8f792e, 0px 0px 8px #c19e965e inset;
}


.dark #video-area-tinp, .dark #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    background: #d8cbc6;
    border: 1px solid #cdbdb8;
    height: 70px;
}



.dark #mask_dialog .inner {
    cursor: default;
    margin: 0;
    width: 760px;
    max-width: 99%;
    max-height: 90%;
    overflow-x: auto;
    z-index: 100;
    background: #d8cbc6;
    border: 1px solid #cdbdb8;
    padding: 8px;
}


.dark #tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    z-index: 2;
    max-height: 245px;
    background: #d8cbc6;
    border: 1px solid #cdbdb8;
    border-radius: 0px;
}

.dark .button:hover {
    font-family: 'montserrat' !IMPORTANT;
    background-color: #a77931 !important;
    font-size: 10px !important;
    margin-top: 5px !important;
    padding: 3px 10px 4px 10px;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    vertical-align: middle;
    text-transform: lowercase;
    font-weight: 400 !important;
    letter-spacing: 0;
    line-height: 13px !IMPORTANT;
    border: 1px solid #aeaba6 !important;
    text-align: justify;
    color: #e9ddd9 !IMPORTANT;
    border-radius: 0px !important;
    background: #c6aaa0 !important;
    border: 1px solid #c6a79e !important;
    box-shadow: 0px 0px 10px #8f8f792e, 0px 0px 8px #c5968c5e inset;
}