/* CS1 Background and text colours
-------------------------------------------------------------*/

/* BODY */
body {
    background: url(https://i.imgur.com/2c4DK1m.jpg) top center fixed;
    background-color: #2d2e4a;
    margin-bottom: 21px !important;
}

/* Шапка */
#pun-title table {
background-image : url(https://i.imgur.com/sAEOsP9.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 946px;
height: 264px;
margin-left: -25px;}

/* Тело форума */
#pun {
width: 946px; 
background-color: transparent; 
background-image: url(https://i.imgur.com/PTXtdSH.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 946px;}

/* Футер */
#pun-about p.container {
    background-image: url(https://i.imgur.com/afgcBGq.jpg);
    margin: 0px 0px -90px -25px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 946px;
    height: 61px;
    padding-bottom: 50px;
    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: #37344f;
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: #37344f;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: rgba(165, 170, 173, 0.09);
    color: #473447 !important;
    border: 2px solid rgb(69, 50, 69) !important;
    outline: 1px solid #babfc2;
    box-shadow: -5px 5px #5c5882, -4px -4px rgba(141, 146, 149, 0.29) inset;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-color: #b9bec0;
    color: #473447;
}

/* Тень и закругление */
.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-color: #b9bec0;
}





/* 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: #393753;
  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: #393753; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #493649;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 8px;
    color: #d3d7da;
    font-family: 'calibri';
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: underline;
  color: #b7bcbf;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #bbc0c3;
    text-shadow: 0 0 4px rgba(237, 242, 245, 0.32);
}


#pun-navlinks a:hover {
  color: #aba8c5;
  text-decoration: underline;
}




/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
            background: url(https://i.imgur.com/L4YolCq.png) no-repeat;
}

tr.inew div.icon {
        background: url(https://i.imgur.com/YWXMAWC.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(https://i.imgur.com/eloGKkA.png) no-repeat;
}

tr.isticky div.icon {
        background: url(https://i.imgur.com/IsrDOA3.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: 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: 6px;
height: 4px;
background-color: #686399;
border:solid 1px #1f1d2c;}

::-webkit-scrollbar-thumb{
background-color: #9b9aac;
border:solid 1px #1f1d2c;
}

::-webkit-scrollbar-thumb:hover{
background-color: #6e67a2; 
border:solid 1px #1f1d2c;}

 ::selection {
background: #493649 !important;
color: #bbc0c3;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



.topic .post {
  margin-left:10px;
}

/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(https://i.imgur.com/B145Vxb.jpg) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
    background: url(https://i.imgur.com/JTDEEIF.jpg) 0 top no-repeat, url(https://i.imgur.com/889nqC4.jpg) 0 bottom no-repeat;
    margin: -12px 0 -12px 0!important;
padding: 9px 6px 13px 9px!important;
}


li.pa-avatar.item2 img {
    margin-top: 6px;
    border: 2px solid #4f3c50;
}


#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-color: #a4a9ac;
    border: 1px solid #3b3755;
}





.links1 {
    height: 0px;
    padding: 7px 6px 7px 6px;
    background: rgba(142, 105, 79, 0.68);
    color: #c5c4c2 !important;
    border: 1px solid rgb(125, 90, 68);
    font-family: calibri;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.4px!important;
    line-height: 0px !important;
    margin-left: 0px!important;
    margin: 0px 0px 4px 0px !important;
    display: inline-block;
}



.links1:hover {
    height: 0px;
    padding: 7px 6px 7px 6px;
    background: rgba(136, 137, 71, 0.58);
    color: #d2d2d2 !important;
    border: 1px solid rgba(246, 246, 246, 0.21);
    font-family: calibri;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.4px!important;
    line-height: 0px !important;
    margin-left: 0px!important;
    margin: 0px 0px 4px 0px !important;
    display: inline-block;
}


#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-image: url(https://i.imgur.com/M1Z5ddl.jpg);
    box-sizing: border-box;
    text-align: center;
    font-size: 14px !important;
    color: #d5d9dc;
    position: relative;
    z-index: 5;
    font-family: arial narrow;
    letter-spacing: 0.4px;
    padding: 22px 40px 0;
    margin: 0px -8px 0px;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 59px;
    width: 912px;
}






.wrapper {
    width: 269px;
    height: 65px;
    position: relative;
    overflow: hidden;
}
.content{
  position: absolute;
  top:0;
  left:0;
  right:-30px;  
  padding-right:25px;
  box-sizing: border-box;
  height:100%;  
  overflow: hidden;
  overflow-y: scroll;  
}





.tooltip {
    position: relative;
    color: #d2d5d6 !important;
    font-family: arial narrow;
    font-size: 14px;
    text-transform: uppercase;
}

.tooltip span {
  margin-left: -999em;
  position: absolute;
  }

.tooltip:hover span {
  font-family: Verdana;
  position: absolute;
  left: -51px;
  top: 24px; 
  z-index: 99;
  margin-left: 0;
  }

.top {
    z-index: 200 !important;
    position: absolute !important;
    color: #eff0f3;
    font-family: calibri !important;
    font-size: 10px;
    text-transform: lowercase;
    font-weight: normal;
    line-height: 9px;
    text-align: justify;
    padding: 5px;
    background-color: #2e3049;
    width: 120px;
    border: 1px solid #cdd1d4;
}










/*-----СТРАНИЦА ПЕРЕАДРЕСАЦИИ-----*/
div#pun-redirect {
    margin-top: 10%;
    background: #4a4b65;
    width: 810px !important;
    height: 120px;
    border: 1px solid #bcbdbf;
}

#pun-redirect #pun-main {
    background-color: #b3b4b5;
    width: 810px;
    height: 100px;
    position: relative;
    left: 0px;
    top: 0px;
}
#pun-redirect h1.main-title {
    width: 810px;
    background: #2d2e4a;
    margin-left: 0px;
    margin-top: 10px;
}

#pun-redirect .main-title span {
    font: 20px 'franklin gothic' !important;
    color: #dddede;
}

#pun-redirect .info {
    text-align: center;
    font-size: 90%;
}

#pun-redirect a {
    font-size: 90%;
}





.punbb .post-content a, 
.punbb .post-content a:link {
color:#393753;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#2b2849;
text-decoration: underline;
}




.tabalk {
    color: #847bc3 !important;
    font-weight: bold;
}