/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("http://i.imgur.com/KBaAeC0.png") repeat-x top left,
  url("http://i.imgur.com/Z5X0Td9.png") center; background-color: #707761;
}


/* Шапка */
#pun-title table {
background-image : url(http://i.imgur.com/rRRBnT4.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 936px;
height: 398px;
margin-left: -15px;}

/* Тело форума */
#pun {
width: 936px; 
background-color: transparent; 
background-image: url(http://i.imgur.com/AjyhmQZ.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 936px;}

/* Футер */
#pun-about p.container {
background-image : url(http://i.imgur.com/UixNOPA.png);
margin: 0px 0px -30px -15px;
background-position : center top;
background-repeat : no-repeat;
width: 936px;
height: 107px; 
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: #364036;
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: #364036;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
background-image: url("http://i.imgur.com/Y4x5xBP.png");
background-color: #cac8bc;
  color: #40251c;
border: 3px solid rgb(192, 188, 176);
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-image: url("http://i.imgur.com/Y4x5xBP.png");
background-color: #cac8bc;
color: #40251c;
border: 3px solid rgb(192, 188, 176);
}

/* Тень и закругление */
.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: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
background-image: url("http://i.imgur.com/Y4x5xBP.png");
background-color: #cac8bc;}





/* 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: #3c231b;
  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-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #3c231b; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #374137;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 10px;
  color: #374137; 
  font-family: 'arial';
  font-weight: normal;
  text-transform: lowercase;
  }

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #6e745b;
}


#pun-navlinks a, #pun-navlinks .container {
color: #6e745b;
text-shadow: 1px 0px 0px #2c332c;
}

#pun-navlinks a:hover {
color: #40241c;
    text-shadow: 1px 0px 0px #374337;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
            background: url(http://i.imgur.com/QUCnAwI.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://i.imgur.com/NuDxGji.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://i.imgur.com/rzQSoHR.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://i.imgur.com/uu12DL6.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:#d4d2c6;
border: 1px solid #6d705b;
}

::-webkit-scrollbar-thumb:horizontal {
    background-color:#d4d2c6;
border: 1px solid #6d705b;
}

::-webkit-scrollbar {
width: 5px;
    height: 6px;
    background-color: #ceccc0;
    border: 2px solid #40241c;
    }









#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://i.imgur.com/Y4x5xBP.png) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
  background:url(http://i.imgur.com/Y4x5xBP.png) 0 top no-repeat,url(http://i.imgur.com/Y4x5xBP.png) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:-12px 0 -12px 0!important;
  padding:9px 9px!important;
border: 3px solid rgb(192, 188, 176);
}






.punbb .post-content a, 
.punbb .post-content a:link {
color:#394539;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#3c231b;
text-decoration: underline;
}





.punbb .pa-avatar img {
  border: 3px double rgba(205,202,192,0.9);
}



.topic .post {
  margin-left:10px;
}





/*Штуки в шапке*/
.flip-container {perspective: 1000px;}
.flip-container:hover .flipper, .flip-container.hover .flipper {transform: rotateY(180deg);}

.flip-container, .front, .back {
    width: 282px;
    height: 150px;
    position: absolute;
}

.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;  }

.front, .back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;  left: 0;  }

.front {
  z-index: 2;
  transform: rotateY(0deg);  }

.back {
  transform: rotateY(180deg);
  background-image: url(http://i.imgur.com/Ox49KGk.png);  }



/*Штуки в шапке 2*/
.flip-container1 {perspective: 1000px;}
.flip-container1:hover .flipper1, .flip-container.hover .flipper1 {transform: rotateY(180deg);}

.flip-container1, .front1, .back1 {
    width: 282px;
    height: 150px;
    position: absolute;
}

.flipper1 {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;  }

.front1, .back1 {
  backface-visibility: hidden;
  position: absolute;
  top: 0;  left: 0;  }

.front1 {
  z-index: 2;
  transform: rotateY(0deg);  }

.back1 {
  transform: rotateY(180deg);
  background-image: url(http://i.imgur.com/nex3uno.png);  }


/*Штуки в шапке 3*/
.flip-container2 {perspective: 1000px;}
.flip-container2:hover .flipper2, .flip-container.hover .flipper2 {transform: rotateY(180deg);}

.flip-container2, .front2, .back2 {
    width: 282px;
    height: 150px;
    position: absolute;
}

.flipper2 {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;  }

.front2, .back2 {
  backface-visibility: hidden;
  position: absolute;
  top: 0;  left: 0;  }

.front2 {
  z-index: 2;
  transform: rotateY(0deg);  }

.back2 {
  transform: rotateY(180deg);
  background-image: url(http://i.imgur.com/1ZAhoPD.png);  }




.bestpost img {
    float: left;
    padding-right: 3px;
}


.bestpost {
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    text-align: justify;
}


.tooltip {
position: relative;
}
.tooltip em {
display: none;
}
.tooltip:hover em {
font-style: normal;
font-family: arial;
font-size: 10px;
text-transform: none;
letter-spacing: 0px;
display: block;
position: absolute;
background: #cac8bc; *цвет фона*
color: #40241c; *цвет текста*
padding: 10px 10px 10px 10px; 
bottom: 10px;
right: 10px;
box-shadow: 0 0 1px #40241c; *цвет тени обводки блока*
border-radius: 0px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
}
.tooltip:hover em i {
position: absolute;
bottom: -7px;
right: 5px;
padding: 10px 10px 10px 10px; 
border-top: 7px solid #000;
border-left: 7px solid transparent;
display: block;
} 