/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body {background-color : #d8dfd8;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumfiles.ru/files/0019/fd/38/29277.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 1020px;
    height: 260px;
}

/* Тело форума */
#pun {background-color: transparent;background-image: url(https://i.imgur.com/C8VuKgz.png);background-attachment: scroll;background-repeat: repeat-y;background-position: top center;}

.punbb {
padding: 0px!important;
width: 1020px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumfiles.ru/files/001a/69/74/96283.jpg);
    margin: 0px 0px -20px -15px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1020px;
    height: 154px;
    overflow-x: hidden;
}

/* 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: #2c2a2a;
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: #2c2a2a;
    text-align: center;
    font-style: normal;
    font-family: playfair display;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumfiles.ru/files/001a/69/74/60200.jpg);
    background-color: #c0bdb4;
    color: #2c2a2a;
    border: 1px solid #ad7272;
    outline: 1px solid #92846c30;
    box-shadow: 0 0 0 1px #a0998c2e inset;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-image: url(http://forumfiles.ru/files/001a/69/74/60200.jpg);
    background-color: #c0bdb4;
    color: #2c2a2a;
}

/* Тень и закругление */
.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://forumfiles.ru/files/001a/69/74/60200.jpg);
    background-color: #c0bdb4;
}




/* 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: #8d9a97;
  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: #8e7388;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #8e7388;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #393535;
    text-transform: lowercase;
    font-family: roboto;
    word-spacing: 0px;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #8d9a97;
  transition-duration: 1s;
}


#pun-navlinks a {
    color: #8d9a97;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #8e7388;
}


#pun-navlinks a:hover {
  color: #604a2e;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/001a/69/74/44746.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/001a/69/74/92869.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/001a/69/74/37108.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/001a/69/74/60434.png) no-repeat;
}


/* 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-thumb:vertical {
   background-color:#a99767; 
   border: 1px solid #72393b;
}
::-webkit-scrollbar-thumb:horizontal {
   background-color:#a99767; 
   border: 1px solid #72393b;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #72393b2b;
}



::selection {
    background: #72393b !important;
    color: #dbd9d2;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: roboto;
    font-size: 12px;
    text-transform: lowercase;
    font-weight: 500;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    border: 2px solid #9b7d54;
    margin-top: 4px;
    margin-bottom: 4px;
}

#pun-viewtopic .post h3 {
    margin-left: 2px;
    height: 14px;
    margin-right: 4px;
    border-radius: 2px;
    font-family: roboto;
    background-color: #9e8e7224;
    padding: 1px 2px 3px 2px;
    background-image: url(http://forumfiles.ru/files/001a/69/74/60200.jpg);
    font-size: 11px;
    box-shadow: 0 0 3px #0000001f inset;
    border: 1px solid #c5c0b7;
}



#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;
    background-image: url(http://forumfiles.ru/files/001a/69/74/60200.jpg);
    background-color: #c1beb5;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #825e36;
}



#podforum {
    padding: 5px 8px 5px 8px;
    margin-top: 5px !important;
    border-radius: 1px;
    border: 1px solid #c5c0b7;
    background-image: url(http://forumfiles.ru/files/001a/69/74/60200.jpg);
    background-color: #c0bdb4;
}

.name {
    text-align: center;
    background-color: #8e724a;
    padding: 2px 2px 2px 2px;
    text-transform: lowercase;
    color: #dcd8d1;
    font-family: roboto;
    border-radius: 2px;
    box-shadow: 0 0 3px #00000038 inset;
    font-size: 11px;
    margin-bottom: 3px !important;
    text-shadow: 1px 1px #0000002b;
}

#textopisanie {
    font-family: tahoma;
    font-size: 11px;
}

#podforum a {
    font-size: 11px !important;
    letter-spacing: 0.3px;
}







/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://forumfiles.ru/files/001a/69/74/61597.jpg) 0 0 repeat-y;
    overflow: visible!important;
    margin: 12px 0px 0px 2px!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumfiles.ru/files/001a/69/74/26396.jpg) 0 top no-repeat, url(http://forumfiles.ru/files/001a/69/74/51596.jpg) 0 bottom no-repeat;
    margin: 0px 0 -12px 0!important;
    padding: 9px 9px 6px 9px!important;
}




#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;}



.links3 {
    color: #ebe7de !important;
    text-transform: uppercase;
    font-size: 8px;
    margin: 0 4px 0 0 !important;
    letter-spacing: 0.3px;
    font-family: tahoma;
}



.pa-respect, .pa-posts, .pa-fld2 {
    font-size: 10px !important;
    font-family: tahoma;
    font-variant: normal !important;
    display: inline-block;
    width: 57px;
    text-align: center;
    font-style: normal !important;
    text-transform: lowercase;
    padding-top: 4px!important;
    margin-bottom: 12px !important;
}



.pa-fld1 {
    background-color: #f1ede84f;
    width: 171px;
    margin-left: 8px !important;
    padding: 5px;
    margin-bottom: 4px !IMPORTANT;
    border: 2px solid #9b7d54;
}


.namel {
    font-family: roboto;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}


.fandom {
    margin: 2px 2px 3px 2px !important;
    border-radius: 2px;
    background-color: #813837 !IMPORTANT;
    color: #e2dfda !important;
    font-family: roboto;
    padding: 1px 0 1px 0;
    border: 1px solid #d2cec8;
}

.info {
    text-align: justify;
    padding: 0px 3px 3px 3px;
    font-size: 10px;
    font-family: tahoma;
}




#banners-box {
    position: absolute;
    margin-left: -10px;
    margin-top: -40px;
    width: 1020px;
    height: 33px;
    text-align: center;
    overflow-y: scroll;
    opacity: 0.5;
    word-spacing: -1px;
    padding-right: 1px;
    /* border: 1px solid red; */
}


.punbb .post-content a, 
.punbb .post-content a:link {
font-weight: bold;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
text-decoration: underline;
}




.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://forumfiles.ru/files/001a/69/74/60200.jpg);
    background-color: #c1beb5;
}




.plash {
    background-color: #592223;
    padding: 2px 4px 3px 4px;
    border: 1px solid #aba79e;
    border-radius: 1px;
    width: 150px !important;
    display: inline-table;
    font-family: roboto;
    box-shadow: 0 0 3px #b1414596 inset;
    color: #dedad2 !important;
}



.plash:hover {
    /* background-image: url(http://forumfiles.ru/files/001a/69/74/38379.jpg); */
    padding: 2px 4px 3px 4px;
    border: 1px solid #aba79e;
    background-color: #674a2a;
    border-radius: 1px;
    width: 150px !important;
    display: inline-table;
    transition-duration: 2s;
    font-family: roboto;
    box-shadow: 0 0 3px #a78159a3 inset;
    color: #dedad2 !important;
}



/*** фиксация поля ответа в смартфоне ***/
textarea {
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}



.info a {
font-weight: bold;
}



#MyBookmarks {
    display: none;
    position: fixed;
    z-index: 101;
    background-image: url(http://forumfiles.ru/files/001a/69/74/60200.jpg);
    background-color: #c0bdb4;
    left: 0;
    top: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 240px;
}