/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {

  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {

  }

.punbb .main .container {
margin-left: -2px;

}

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  color: #000;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {

  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
font-size: 15px!important;
    /* text-transform: lowercase; */
    /* text-decoration: underline; */
    font-weight: 600;
    color: #a14e7a;
  }

#punbbsearch fieldset legend span, #pun-userlist fieldset legend span, #profile fieldset legend span {
font-size: 11px!important;
    text-transform: lowercase;
    text-decoration: none;
    font-weight: 600;
    color: #000;
}

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {

  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {

  }

/* CS1.8 */
#pun-navlinks .container {

  }

#pun-navlinks .container a{

  }

.offline li.pa-online strong {
  font-weight: normal
  }

li.pa-offline:after {
    content: url(https://i.imgur.com/7sVukQI.png) !important;
width: 53px;
position: absolute;
    margin: -40px 0px 0px 68px !important;
}




/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
    border-style: none;
    border-width: 0;
  }

#profile-signature ul {
border: none !important;
}

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border-style: none;
    border-width: 0;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
    border-style: none;
    border-width: 0;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
    border-style: none;
    border-width: 0;
  }

/* CS2.5 */
.punbb th {
    border-style: none;
    border-width: 0;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
    border-style: none;
    border-width: 0;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {

  }

#pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {

  }

.punbb .divider {

  }

.punbb .formal fieldset .post-box, .punbb .info-box {

  }

li.pa-online {

  }


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.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 {
  color: #608122;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333
  }

/* CS3.2 */
.punbb a:hover, .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 {
  color: #262626;
  }

/* CS3.3 */
#pun-navlinks a {
    color: #e4e4e4;
    background: linear-gradient(to right, #c35c92, #2f3f10) no-repeat right;
    background-size: 0% auto;
    transition: background-size 0.3s, background-position 0s;
    border-radius: 10px;
    padding-top: 4px;
    padding-left: 4px;
}

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #000000;
background-size: 100% auto;
    background-position: left; 
}

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

/* div.icon {border-color: #E6E6E6 #DEDEDE #DADADA #E2E2E2}
tr.iredirect div.icon {border-color: #F7F7F7 #F7F7F7 #F7F7F7 #f7f7f7}
div.inew {border-color: #0080D7 #0065C0 #0058B3 #0072CA} */

.messages-container div.icon, .forum div.icon {

}

.messages-container tr.inew div.icon, .forum tr.inew div.icon {
border: 11px solid #a14e7a;
border-radius: 15px 0px 15px 15px;
}


#pun-main .category div.icon {
margin: 5px 0px 0px 375px !important;
}

#pun-main .category div.icon {

}

#pun-main .category tr.inew div.icon {
margin: 5px 0px 0px 3px !important;
    width: 41px;
    height: 36px;
    background: 
  url(https://i.imgur.com/xqfPllw.png) no-repeat top center;
}

.fs-box div.icon {
    margin-left: -30px !important;
}

.forum div.icon {
    margin-left: -30px !important;
}

/* TR.iclosed Div.icon {background-position: -124px 0px;}
TR.isticky Div.icon {background-position: -186px 0px;} */

#pun-main div.catleft, #pun-main div.catright {display: none}


.punbb .user-avatar .isonline {
background: #a14e7a !important;
    margin: 27px 27px 0px 0px;
    border-radius: 0% !important;
}


.punbb .user-avatar .avatar-image {
filter: grayscale(1);
    border-radius: 15px 0px 15px 15px !important;
}

.punbb .user-avatar .avatar-image:hover {
filter: grayscale(0);
}

#tooltip {
  position: absolute;
  background: #945a72;
  z-index: 999999;
  max-width: 165px;
  border: none;
  font-size: 10px;
font-family: tahoma;
    text-transform: lowercase;
    letter-spacing: 0.5px;
  display: none;
  color: #fff;
  text-align: center;
  padding: 4px;
}

#MyBookmarks {
background: #f5f0ecf2 !important; 
margin-top: 50px;
max-height: 700px;
}

#BookmCntToggle.default-style {
color: #ae0c1c !important;  
}

#MyBookmarks h2 {
font-size: 14px !important;
}

#MyBookmarks h2 span {
    font: 20px 'tahoma';
    color: #ae0c1c !important;
}

#MyBookmarks .container {
height: 87% !important;
    margin-top: 0px !important;
}

#MyBookmarks #bm2 {
right: -1em !important;
}

.post .bookmark {
color: #ae0c1c !important;
}

#MyBookmarks #bm2 {
    color: #ae0c1c !important;
}



#pun-status span.item2 {

}

.permalink {
    text-transform: lowercase;
}

div.post-rating a, div.post-vote a {
font-weight: bold;
    letter-spacing: 3px !important;
    padding: 2px;
    font-size: 2px !important;
    border: 1px solid #608122;
    border-radius: 0px 10px 10px 10px;
    color: #608122 !important;
}

div.post-rating a:hover {
    color: #a14e7a !important;
    border: 1px solid #a14e7a;
}

div.post-vote a:hover {
    color: #5d9ecf !important;
}


.punbb .post-links ul a {
    font-weight: bold;
font-size: 10px !important;
padding: 0px 3px 2px 2px;
}

.punbb .post-links ul a:hover {
background: #979797;
    color: #ffffff !important;
}



.spoiler-box {
    font-style: normal;
    border: 1px solid #5a6a2d !important;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 0px 0px 15px 15px;
}

.post-content .spoiler-box > blockquote {

}

.post-content .spoiler-box > div {
text-align: center;
}

.post-content .spoiler-box > blockquote.visible {
background-color: transparent;
border: none;
}

.post-content td {
border-color: transparent;
}

.punbb .pa-avatar {
    margin-top: 5px !important;
    text-align: center !important;
    margin-bottom: 5px !important;
}

.punbb .pa-avatar img {
max-height: 180px !important;
    max-width: 180px !important;
    padding: 10px;
    border: 1px solid #5a6a2d;
    border-radius: 10px 10px 0px 10px;
}

/*Выравниваем в одну строку число постов и Уважение*/
li.pa-posts, li.pa-fld4, li.pa-respect {
    text-align: center;
    padding: 0!important;
    margin: 7px auto 0!important;
    display: inline-block;
    /* outline: red solid 1px; */
    max-width: 68px;
    min-width: 40px;
    color: #e4e4e4 !important;
    font-size: 9px;
    font-weight: bold;
    margin-bottom: 5px;
background: #7e9879;
}
.pa-respect a, .pa-posts a {
    color: #f7f7f7 !important;
}


.post-content .highlight-text {
background-color: #608122 !important;
    color: #efefef !important;
    padding: 0px 2px;
}

span.num_msg {
margin-top: 1px !important;
    background: #a14e7a !important;
    color: #eeeeee !important;
    margin-left: 1px !important;
    padding: 3px 4px 0px 4px !important;
}

.bubble {
background: #a14e7a !important;
    color: #eeeeee !important;
    font-size: 8px !important;
    right: -2px !important;
    top: -7px !important;
}

.bubble:after {
display: none !important;
}

span.num_msg:before {
display: none !important;
}

#viewprofile {
    /* text-transform: lowercase; */
}

#pun_wrap #post .container[id$="-area"] {max-height:250px; overflow:auto;}
#pun_wrap #post .container[id$="-area"], #video-area-tinp, #image-area-tinp, .pun-modal .modal-inner, .inner, #post-sig .container[id$="-area"] {
outline: none;
    padding: 5px;
    border: 1px solid #37411c;
    background: #f7f7f7;
    padding: 7px !important;
}

.punbb input, .punbb select, .punbb optgroup {
outline: none;
padding: 3px;
    border: 1px solid #b4cae2;
    background: #eaecf0;
}


#pun-main .category div.tclcon {
    padding: 7px 15px 5px 40px;
width: 380px;
    margin-left: -50px !important;
}



.tpf {
margin: 10px;
    padding: 15px;
    font-size: 10px;
    text-align: justify;
    background: #f7f7f7;
    border: 2px #a14e7a solid;
    border-radius: 25px;
}


.tpf a {
margin-right: 5px;
    font-size: 10px;
    font-weight: bold;
    line-height: 15px;
    padding: 2px;
}

.tpf a:hover {

}



#post-form h2 span, #post-form fieldset legend span {
    font-size: 0px!important;
}

#pun-main h1 {
display: none;
}

#post-form h2 {margin-bottom: -50px;}



.hvStickerPackModal {
padding: 15px 10px 10px 10px !important;
border-radius: 2px !important;
    padding: 5px !important;
    border: 1px solid #000 !important;
    background: #e3e6e7eb !important;
    padding: 7px !important !important;
}

.hvStickerPackModalContainer .hvStickerPackModal {
width: 700px !important;
padding: 2px 2px 8px !important;
margin-left: 190px !important;
margin-bottom: -10px  !important;
}

 .hvStickerPackModalContainer .hvStickerPackModalTab {
border-radius: 0px !important;
}


/*.hvStickerPackModalContainer .hvStickerPackModalTab:hover {
    background: linear-gradient(#252b00, #353d09)!important;
    cursor: pointer!important;
  }
*/

.hvStickerPackModalTabs {
padding: 0px 15px !important;
border-radius: 0px !important;

}

.hvStickerPackModalContent {
    padding: 5px !important;
    min-height: 17px !important;
max-height: 170px !important;
border: solid 1px #25354b !important;
}

#button-sticker {
    background: url(https://i.imgur.com/RFR4Jjw.png) 50% no-repeat !important;
background-size: auto !important;
}


.hvStickerPackItem {
    padding: 1px !important;
}






/* КАКИЕ-ТО ДОПЫ */

#keyboard-span input {
color: #e4e4e4 !important;

}


#mask_dialog .inner {
    border: 1px solid #000 !important;
    background: #e3e6e7eb !important;
    padding: 7px !important;
}

#mask_dialog .hv-preview-block {
flex: 0 0 160px !important;
    max-width: 160px !important;
}

#mask_dialog .hv-form-block {
max-height: 400px !important;
}