/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("http://forumuploads.ru/uploads/001a/fd/75/2/417008.png") repeat-x top left,
  url("http://forumuploads.ru/uploads/001a/fd/75/2/876084.png") center; background-color : #b5c2c4;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumuploads.ru/uploads/001a/fd/75/2/510642.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 1200px;
    height: 382px;
    margin-left: -150px;
}

/* Тело форума */
#pun {
width: 960px; 
background-color: transparent; 
background-image: url(http://forumuploads.ru/uploads/001a/fd/75/2/555959.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 960px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumuploads.ru/uploads/001a/fd/75/2/23541.png);
    margin: 0px 0px -20px -30px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 960px;
    height: 166px;
    overflow-x: hidden;
    position: absolute;

}

/* 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: #2e2825;
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: #2e2b29;
    text-align: center;
    font-style: normal;
font-family: 'Montserrat Alternates', sans-serif;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #ddd7db;
    color: #302c31;
    border: 1px solid #e8e8e8;
    box-shadow: 3px 0px #614245 inset, 0 0 0 1px #bfb5bc;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-color: #d6d0d8;
    color: #363636;
}

/* Тень и закругление */
.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://forumuploads.ru/uploads/001a/fd/75/2/227552.png);
    background-color: #cac2ba;
}




/* 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: #4f3437;
  text-decoration: none;
  transition-duration: 1s;
  }

/* 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: #4f3437;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #4f3437;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #453750;
    text-transform: lowercase;
    font-family: montserrat;
    word-spacing: 0px;
    transition-duration: 1s;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #68626b;
  transition-duration: 1s;
}


#pun-navlinks a {
    color: #543b53;
  transition-duration: 1s;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #543b53;
  transition-duration: 1s;
}


#pun-navlinks a:hover {
  color: #543b53;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/


div.icon {
    background: #330808;
    border: 1px solid #4c0707;
    box-shadow: 2px 2px 5px #b0a294 inset;
    border-radius: 100px;
    height: 13px;
    width: 13px;
}

tr.inew div.icon {
    background: #ae9b8f;
    border: 1px solid #cbc3bc;
    box-shadow: 2px 2px 5px #756464 inset;
    border-radius: 100px;
    height: 13px;
    width: 13px;
}
#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: #583e56;
    border: 1px solid #360c0c;
    box-shadow: 2px 2px 5px #bbb4ab inset;
    border-radius: 200px;
    height: 10px;
    width: 10px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: #786363;
    border: 1px solid #d2c9c2;
    box-shadow: 2px 2px 5px #66536e inset;
    border-radius: 200px;
    height: 10px;
    width: 10px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: #d5d1cc;
    border: 1px solid #d3cdc8;
    box-shadow: 2px 2px 5px #bbbbbb inset;
    border-radius: 200px;
    height: 10px;
    width: 10px;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: #634a6d;
    border: 1px solid #d9d3cb;
    box-shadow: 2px 2px 5px #5e5167 inset;
    border-radius: 200px;
    height: 10px;
    width: 10px;
}


/* 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-thumb:vertical {
   background-color:#74667d;
}
::-webkit-scrollbar-thumb:horizontal {
   background-color:#74667d;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #c1bbb1;
}



::selection {
    background: #76647a !important;
    color: #e1e1e1;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: montserrat;
    font-size: 12px;
    font-weight: 600;
    color: #534457 !important;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    border: 4px solid #dedbd9;
    box-shadow: 0 0 0 1px #bdb8b0;
    margin-top: 4px;
    margin-bottom: 4px;
}

#pun-viewtopic .post h3 {
    height: 14px;
    border-radius: 1px;
    margin: 0 10px 0 10px;
    padding-top: 1px;
    font-family: montserrat;
    font-size: 8px;
    border: 1px solid #9e9a9038;
    background-image: url(http://forumuploads.ru/uploads/001a/fd/75/2/571047.png);
    background-color: #544656;
}

.punbb .post h3 span a {
    color: #f7f7f7 !important;
    text-shadow: 1px 1px #754343;
    letter-spacing: 0.6px;
}

#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://forumuploads.ru/uploads/001a/fd/75/2/227552.png);
    background-color: #d2cdc8;
    border: 1px solid #d3cec6;
}


#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;}



.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
}


.pa-respect, .pa-posts {
    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;
}



/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }





#banners-box {
    position: absolute;
    margin-left: -25px;
    margin-top: -45px;
    width: 942px;
    height: 33px;
    text-align: center;
    overflow-y: auto;
    padding-right: 6px;
    /* border: 1px solid red; */
}

.zagb {
    position: absolute;
    margin-left: -25px !important;
    margin-top: -66px !important;
    width: 948px;
    height: 17px;
    text-align: center;
    overflow: hidden;
    font-family: playfair display;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    /* border: 1px solid red; */
    color: #ded4cb;
    text-transform: uppercase;
}



/*** фиксация поля ответа в смартфоне ***/
textarea {
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}






#MyBookmarks {
    display: none;
    position: fixed;
    z-index: 101;
    background-image: url(http://forumuploads.ru/uploads/001a/fd/75/2/227552.png);
    background-color: #cac3c0;
    left: 0;
    top: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 240px;
}



.punbb .user-avatar .avatar-image {
    border-radius: 0 !important;
    height: 30px !important;
    width: 30px !important;
    opacity: 1 !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;
    border: 1px solid #d7cfca;
}


.reit inf {
    background: #4c75798f;
    padding: 0 3px 0 3px;
    font-weight: 300;
    color: #fff !important;
    text-shadow: 1px 1px #423247;
}


.adml {
font-weight: 600;
    font-family: playfair display;
    color: #fbf8f8 !important;
    text-shadow: 1px 1px #754343;
    letter-spacing: 0.6px;
}


.navl {
color: #fff !important;
    font-size: 9px;
    margin: 0 4px 0 4px !important;
    text-shadow: 1px 1px #754343;
    letter-spacing: 0.6px;
}



.punbb th {
    font-size: 0 !important;
}


.punbb .main .container {
    background: #f3f3f361;
    padding: 10px 8px 10px 8px;
    margin: 10px 10px;
    box-shadow: 0 0 0 1px #dddddd, 3px 3px 6px #9e9d9d14;
}



#button-dice {
background-image:url(http://forumuploads.ru/uploads/001a/fd/75/2/986728.png);
}

.pa-fld3 {
margin-top: -50px !important; 
}