/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html {
background: url(http://forumstatic.ru/files/001b/2d/e8/45356.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #3e4956;
background-size: cover;
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/15653.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 978px;
    height: 171px;
    margin-left: -20px;
    margin-top: -200px;
}

/* Тело форума */
#pun {
width: 978px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001b/2d/e8/95784.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 978px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/70207.png);
    margin: 0px 0px -100px -20px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 978px;
    height: 65px;
    overflow-x: hidden;
    padding-bottom: 60px;
}


/* 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: #383838;
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: #383838;
    text-align: center;
    font-style: normal;
    font-family: montserrat;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
    color: #383838;
    border: 1px solid  #c1bcb9;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-color: #cbc7c4;
    color: #383838;
}


/* Тень и закругление */
.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-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
}





/* 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: #434e5a;
  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: #7a6e38;
    transition-duration: 1s;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
color: #7a6e38;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 11px;
    color: #383838;
    font-weight: 400;
    font-family: 'Montserrat';
    text-transform: lowercase;
    transition-duration: 1s;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #7a6e38;
    transition-duration: 1s;
}


#pun-navlinks a {
    color: #cbc7c4;
    transition-duration: 1s;
    text-decoration: none;
    display: inline-block;
    line-height: 15px;
}



#pun-navlinks a:focus, #pun-navlinks a:active {
color: #aba070;
    transition-duration: 1s;
}


#pun-navlinks a:hover {
color: #aba070;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

div.icon {
    height: 75px;
    width: 7px;
    margin-left: 0px;
    background: #afadac;
    border: 1px solid #a9a9a9;
    margin-top: 4px;
}

tr.inew div.icon {
    height: 75px;
    width: 7px;
    margin-left: 0px;
    background: #3d4955;
    border: 1px solid #828c8f;
    margin-top: 4px;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #6c6c6c;
    border-radius: 90%;
    box-shadow: 2px 2px 4px #3c3c0f inset, 0px 0px 0px 1px #a5a5a5c9;
    height: 7px;
    width: 7px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #7a7925;
    border-radius: 90%;
    box-shadow: 2px 2px 4px #3c3c0f inset, 0px 0px 0px 1px #a5a5a5c9;
    height: 7px;
    width: 7px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #bababa61;
    border-radius: 50%;
    box-shadow: 2px 2px 4px #10100d1c inset, 0px 0px 0px 1px #a5a5a55e;
    height: 7px;
    width: 7px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #8b8a55;
    border-radius: 90%;
    box-shadow: 2px 2px 4px #10100d66 inset, 0px 0px 0px 1px #a5a5a5c9;
    height: 7px;
    width: 7px;
    margin-top: 3px !important;
    margin-left: 2px !IMPORTANT;
}





/* 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: 9px;
    height: 6px;
    background-color: #3d4955;
}

::-webkit-scrollbar-thumb {
    background-color: #d1cdca;
    border: 4px solid #3d4955;
}


::selection {
    background: #404c56 !important;
    color: #d1cdca;
}
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
    color: #383838;
    border: 1px solid  #c1bcb9;


#pun-index .tclcon {
    font-size: 9px;
    text-align: justify;
    margin: 5px 25px 5px 5px;
    font-family: montserrat;
    padding: 10px 12px 10px 12px;
    line-height: 15px;
    width: auto;
    z-index: 1;
    position: relative;
    background: #00000008;
    font-weight: 500;
    border: 1px solid #00000014;
}




#pun-index .tcr a {
    font-size: 12px;
    font-weight: 600;
    font-family: Montserrat;
}



.punbb .post h3 a {
    color: #d2cecb !important;
    font-weight: 500;
}

.punbb .post .post-author a {
color: #d2cecb;
}


li.pa-ua {
    margin-top: 0.7em;
    justify-content: center;
    display: none !important;
}


.pa-posts, .pa-respect {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Montserrat';
    font-size: 8px;
    padding: 1px 10px 1px 10px !important;
    margin: 0 -2px !important;
    margin-top: 5px !important;
    width: auto;
    margin-bottom: 5px !important;
}



.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    margin-top: 10px;
    box-shadow: 0px 0px 0px 4px #d3cfcc;
}

#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;
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
    border: 1px solid  #c1bcb9;
    top: 43px;
    overflow-y: auto;
    padding-top: 10px;
}



.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
}

.punbb .post-content strong {
    font-weight: bold;
}



.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
    border: 1px solid  #c1bcb9;
}



/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }


del {
    color: transparent;
    text-shadow: 0 0 4px rgba(1,1,1,1);
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -ms-transition: 1s ease;
    -o-transition: 1s ease;
    transition: 1s ease;
    text-decoration: none!important;
}
del:hover {
    background: transparent;
    color: #1e1c1c;
    text-decoration: none!important;
    text-shadow: none;
}


.button {
    border-radius: 1px !important;
    color: #d3cfcc !important;
    font-family: 'Montserrat';
    border: 1px solid #6c7a7d;
    background-color: #849396 !important;
    font-size: 9px !important;
    margin-top: 5px !important;
    padding: 4px 14px 4px 14px !important;
    text-decoration: none;
    transition: all 0.5s ease-in-out 0s;
    font-weight: 400 !important;
    vertical-align: middle;
    text-transform: uppercase;
}



#video-area-tinp, #image-area-tinp {
    margin: .5em 0;
    padding: .3em;
    border: 1px solid  #c1bcb9;
    height: 70px;
}


#tags .container {
    position: absolute;
    right: 6px;
    top: 43px;
    border: 1px solid #c1bcb9;
    padding-top: 10px;
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
}

#pun-index .category h2, #pun-stats h2 {
    text-align: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #3f4d58 !important;
    background-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
    margin: 0px -12px 0px -12px !IMPORTANT;
    border-top: 1px solid #c3bdba;
    border-bottom: 1px solid #c3bdba;
    padding: 3px 0 2px 0;
}



#BookmCntToggle {
    position: fixed;
    top: 50px !IMPORTANT;
    left: 10px;
    width: 30px;
    height: 30px;
    opacity: .7;
    cursor: pointer;
    z-index: 3;
    transition: opacity .3s ease-out;
}



#MyBookmarks {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 50px !important;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgb(0 0 0 / 50%);
    width: 240px;
    background-image: url(http://forumstatic.ru/files/001b/0e/2f/68803.jpg) !important;
    background-color: #a3a19e !important;
    color: #1d1d1d !important;
    border: #0c0c0c 4px solid !important;
}


#BookmCntToggle.default-style {
    background: #c1beb9 !important;
    border-left: solid 5px currentColor !important;
    box-shadow: 0 0 6px rgb(0 0 0 / 42%) !important;
    color: #7a3232 !important;
    display: block;
    height: 26px;
    width: 21px;
}


#pun-navlinks a:before {
    content: "/";
    font-size: 11px;
    margin-right: 5px;
}



.activss {
    height: 56px;
    width: 160px;
    top: 24px;
    margin-left: 545px !important;
    position: absolute;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    /* border: red 1px solid; */
}

.privet {
height: 56px;
    width: 238px;
    top: 22px;
    margin-left: 712px !important;
    position: absolute;
    text-align: justify;
    z-index: 100;
    color: #d6d3d1;
    font-weight: 500;
    padding-right: 5px;
    font-family: 'Montserrat';
    line-height: 11px;
    font-size: 9px;
    overflow-y: auto;
    /* border: red 1px solid; */
    text-shadow: 1px 1px #6c7779;
}



.privet2 {
    height: 40px;
    width: 220px;
    top: 140px;
    margin-left: -16px !important;
    position: absolute;
    text-align: justify;
    z-index: 100;
    color: #d6d3d1;
    font-weight: 500;
    padding-right: 5px;
    font-family: 'Montserrat';
    line-height: 10px;
    font-size: 9px;
    overflow-y: auto;
    /* border: red 1px solid; */
    text-shadow: 1px 1px #3a444e;
}


.activss2 {
    height: 46px;
    width: 230px;
    top: 142px;
    margin-left: 220px !important;
    position: absolute;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    /* border: red 1px solid; */
}

.linfo {
    height: 16px;
    width: 410px;
    top: 110px;
    margin-left: 537px !important;
    position: absolute;
    text-align: justify;
    z-index: 100;
    color: #d6d3d1;
    font-weight: 500;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-size: 8px;
    overflow-y: hidden;
    /* border: red 1px solid; */
    text-shadow: 1px 1px #6c7779;
}



.infolin {
    height: 37px;
    width: 202px;
    top: 142px;
    margin-left: 487px !important;
    position: absolute;
    z-index: 100;
    color: #d6d3d1;
    font-weight: 500;
    padding-right: 5px;
    font-family: 'Montserrat';
    line-height: 10px;
    font-size: 9px;
    overflow-y: auto;
    /* border: red 1px solid; */
}



.infolin a {
    display: block;
    background: #3e4a56;
    width: 200px;
    color: #ccc8c5 !important;
    text-align: center;
    padding: 4px 0 3px 0;
    text-transform: uppercase;
    font-size: 9px;
    margin: 0px 0px 3px 0px !IMPORTANT;
}


/*---Прокрутка---*/
.infolin::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    background-color: #3d4955;
}

.infolin::-webkit-scrollbar-thumb {
    background-color: #d1cdca;
    border: 1px solid #3d4955;
}


.privet3 {
    height: 40px;
    width: 226px;
    top: 140px;
    margin-left: 706px !important;
    position: absolute;
    text-align: justify;
    z-index: 100;
    color: #d6d3d1;
    font-weight: 500;
    padding-right: 5px;
    font-family: 'Montserrat';
    line-height: 10px;
    font-size: 9px;
    overflow-y: auto;
    /* border: red 1px solid; */
    text-shadow: 1px 1px #6c7779;
}


/*---Прокрутка---*/
.privet3::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    background-color: #3d4955;
}

.privet3::-webkit-scrollbar-thumb {
    background-color: #d1cdca;
    border: 1px solid #3d4955;
}


.podfor {
background-image: url(http://forumstatic.ru/files/001b/2d/e8/90260.jpg);
    background-color: #cbc7c4;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 9px;
    text-align: justify;
    padding: 5px 10px 6px 10px;
    border: 1px solid #afadac;
}


.pa-fld1 {
    text-align: justify;
    border: 2px solid #d3cfcc;
    margin: 5px 7px !important;
}

.lzname {
    padding: 5px 0 4px 0;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 1px solid #d3cfcc;
}


.lzname a {
    color: #d6d6d6 !important;
    font-size: 11px;
    text-shadow: 1px 1px #717f82;
    letter-spacing: 0.4px;
}


.lzinfo {
padding: 6px 8px 8px 8px;
}


.lzinfo a {
    color: #c3d2cd !important;
    font-weight: 600;
}








.go-up {
    width: 10px !important;
    font-weight: 400;
    height: 70px !important;
    background: #657275;
    border: 1px solid #ccc8c5;
}

.go-down {
width: 10px !important;
    font-weight: 400;
    height: 70px !important;
    background: #b7b5b4;
    border: 1px solid #cac6c3;
}



.pa-fld2 {
    border: 2px solid #d3cfcc;
    margin: 5px 7px 0px 7px!important;
    text-align: center;
    text-transform: uppercase;
    padding: 2px 0 2px 0;
}








.gbook {
    margin: 0px 0px 10px 20px !important;
    height: 460px;
    overflow: hidden;
    background-color: #c3bebb87;
    padding: 10px;
    border: 1px solid #c3bebb;
}


.gbook kart, .gbook text {
    display: inline-block;
    position: absolute;
}


.gbook kart {
    width: 150px;
    height: 460px;
    background: url(http://forumstatic.ru/files/001b/2d/e8/84433.jpg?v=1);
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #839297;
    background-size: cover;
}



.gbook text {
width: 436px;
    margin: 0px 0px 0px 170px !important;
}


.gbook text z {
    font-family: montserrat;
    display: block;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 30px;
    color: #607177;
}


.gbook text t {
display: block;
    text-align: center;
    background: #869497;
    color: #e6e5e4;
    font-family: montserrat;
    text-transform: uppercase;
    font-size: 8px;
    padding: 2px 0 2px 0;
    letter-spacing: 2px;
    margin-bottom: 5px;
}


.gbook text at {
display: block;
    background: #a7a3a15e;
    font-family: montserrat;
    font-size: 9px;
    font-weight: 500;
    padding: 10px;
    line-height: 13px;
    overflow-y: auto;
  height: 160px;
    text-align: justify;
    z-index: 100;
    overflow-y: auto;
    /* border: red 1px solid; */
}





/*---Прокрутка---*/
.gbook text at::-webkit-scrollbar {
    width: 3px;
    height: 3px;
    background-color: #3d4955;
}

.gbook text at::-webkit-scrollbar-thumb {
    background-color: #d1cdca;
    border: 1px solid #3d4955;
}




.gbook text lin {
    display: block;
    text-align: center;
    margin: 5px 0 5px 0 !IMPORTANT;
    font-family: 'Montserrat';
    font-size: 10px;
    letter-spacing: 0.4px;
}




/*---Шрифты блоками---*/
#font-area {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
#font-area div {
    -webkit-flex-basis: 12em;
    flex-basis: 12em;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}