/* Добавки к стилю, от 08.04.2017 / 08.05.2024 */

#html-header{
  position:relative;
}
.StyleSwitch{
  height:20px;
  width:20px;
  position:absolute;
  z-index:1000;
  right:6px;
  top:94px;
  border-radius:50%;
  cursor:pointer;
  box-shadow:0 0 10px rgba(0,0,0,.7);
  transition:.1s ease;
}
.StyleSwitch:hover{
  opacity:.8;
}
.StyleSwitch.St {
  background:#426B9A url(https://forumstatic.ru/files/0016/a6/f8/22564.png) center center no-repeat!important;
  background-size:16px!important;
}
.StyleSwitch.My {
  background:#6996CA url(https://forumstatic.ru/files/0016/a6/f8/90261.png) center center no-repeat!important;
  background-size:16px!important;
}
@media screen and (max-width:940px) and (min-width:541px) {
  .StyleSwitch{
    margin-right:2em!important;
  }
  #pun-ulinks .item3 {
    display: none;
  }
  #navextra1 {
    margin-left: 1.5em !important;
  }
  #pun-navlinks {
    margin-left: -1.5em !important;
  }
}
li#navextra1{
  position:absolute!important;
  top:25px;
  left:21em;
}
#navextra1 > a{
  font-size:0!important;
  color:transparent!important;
  text-shadow:0 0 0 0!important;
  background:url(https://forumstatic.ru/files/0016/a6/f8/90428.png) center center no-repeat!important;
  padding:16px!important;
  border-radius:4px!important;
}
#navextra1:hover > a{
  color:transparent!important;
  text-shadow:0 0 0 0!important;
  background-image:url(https://forumstatic.ru/files/0016/a6/f8/90428.png)!important;
  background-color:#406895!important;
  border-radius:4px!important;
}

.poll2 tbody{
  counter-reset:section;
}
.poll2 tbody td:not([class="tac"]):nth-child(1) span:before{
  counter-increment:section;
  content:counter(section) ". ";
}
#poll-special .poll2 td h1{
  background: url("https://forumstatic.ru/files/0000/14/1c/50871.png") no-repeat scroll 0 0  / cover !important;
  border-radius:11px;
  -webkit-border-radius:11px;
  -khtml-border-radius:11px;
  -moz-border-radius:11px;
  -o-border-radius:11px;
  box-shadow:5px 5px 5px #9C9C9C;
  -moz-box-shadow:5px 5px 5px #9C9C9C;
  -webkit-box-shadow:5px 5px 5px #9C9C9C;
  filter:progid:DXImageTransform.Microsoft.Shadow(color='#9C9C9C',direction=145,strength=7);
  padding:1px;
  border:none 0 transparent!important;
  border-bottom:none 0 transparent!important;
}
tr.poll div.icon{
background: url(https://forumstatic.ru/files/0000/14/1c/10916.png) no-repeat scroll -38px -62px !important;
    opacity: 0.3;
}
tr[class*="poll isticky"]:not(.inew) div.icon {
background: url(https://forumstatic.ru/files/0000/14/1c/10916.png) no-repeat scroll -38px -31px !important;
opacity: 0.3;
}	
tr[class*="iclosed poll"]:not(.inew) div.icon {
background: url(https://forumstatic.ru/files/0000/14/1c/10916.png) no-repeat scroll -38px 0 !important;
opacity: 0.4;
}
tr.inew poll div.icon {
    opacity: 0.7;
}
#navlogout{
  margin-right:0!important
}
#respect li{
  display:table-cell;
}/*
#respect figure{
  margin:7px;
  width:30px;
}
#respect figcaption{
  font-size:.9em;
}*/
.tipsy-inner{
  min-width:40px!important;
  max-width:800px!important;
}
.scrollup{
  width:31px;
  height:30px;
  position:fixed;
  bottom:30px;
  right:35px;
  display:none;
  text-indent:-9999px;
  background:rgba(0,0,0,0.35) url(https://forumstatic.ru/files/0014/ef/99/34838.png) 7px 10px no-repeat;
  background-size:17px;
  transition:background-color 1s linear,transform 1s linear,opacity 0s linear!important;
  border-radius:50%;
  -moz-border-radius:50%;
  z-index: 99999;
}
.scrollup:hover{
  background-color:rgba(0,0,0,0.85);
  transition:background-color 1s linear,transform 1s linear,opacity 0 linear!important;
  -webkit-transform:rotate(360deg);
  transform:rotate(360deg);
}
h1.title-logo span a:hover{
  text-shadow:0 -4px 7px rgba(0,54,102,1);
}
pre.prettyprint{
  border-color:transparent!important;
}
li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{
  color:#999;
  list-style-type:decimal!important;
}
li.L1,li.L3,li.L5,li.L7,li.L9{
  background:#f7f7f7!important;
}
.post-content td[style*="background-color:#36648B"]{
  box-shadow:0 0 10px #63B8FF inset;
  -moz-box-shadow:0 0 10px #63B8FF inset;
  -webkit-box-shadow:0 0 10px #63B8FF inset;
  vertical-align:bottom;
}
@media screen and (min-width: 540px) {
  #pun-index div.icon, #pun-index div.inew{
    width:32px!important;
    height:32px!important;
    margin-left:17px!important;
  }
}
tr#forum_f1 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -38px -70px !important;}
tr#forum_f2 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -73px -70px !important;}
tr#forum_f3 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -38px -0px !important;}
tr#forum_f4 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -108px -35px !important;}
tr#forum_f5 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -73px -105px !important;}
tr#forum_f6 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -38px -105px !important;}
tr#forum_f7 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -3px -70px !important;}
tr#forum_f8 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -38px -140px !important;}
tr#forum_f10 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -3px -105px !important;}
tr#forum_f12 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -73px -175px !important;}
tr#forum_f13 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -108px -70px !important;}
tr#forum_f14 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -73px -0px !important;}
tr#forum_f15 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -3px -175px !important;}
tr#forum_f16 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -3px -35px !important;}
tr#forum_f17 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -108px -140px !important;}
tr#forum_f18 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -3px -0px !important;}
tr#forum_f23 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -73px -35px !important;}
tr#forum_f24 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -3px -140px !important;}
tr#forum_f25 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -73px -140px !important;}
tr#forum_f30 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -109px -174px !important;}
tr#forum_f32 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -38px -175px !important;}
tr#forum_f33 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -38px -35px !important;}
tr#forum_f36 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -108px -105px !important;}
tr#forum_f37 .icon {background: rgba(0, 0, 0, 0) url(https://forumstatic.ru/files/0000/14/1c/86633.png) no-repeat scroll -108px -0px !important;}

/* закладки */
#pun #BookmCntToggle {
  color:#4E7FA9!important;
  height:26px!important;
  width:21px!important;
  background-image:none!important;
  background:#f7f7f7!important;
}

/* форма переноса сообщений */
.punbb #move_posts_form h1,
#pun .punbb .main .pun-modal h1,
#pun .punbb .main .pun-modal h2 {
  margin-bottom: 0 !important;
  background: #5F95CC !important;
  color: #fff !important;
  border-radius: 5px 5px 0 0;
}
.punbb #move_posts_form h1 .closer9 {
  margin: 3px 3px 0 0;
}
.punbb .pun-modal .closer {
  margin:0 -.3em!important;
}
.punbb .pun-modal h2>span:first-child,
.punbb .pun-modal h1>span:first-child {
  position: relative;
  top: 3px; left: 5px;
}
.punbb .pun-modal .container {
  border-radius: 0 0 5px 5px;
}
@media (max-width: 540px) {
  #pun .punbb .main .pun-modal.rating_theme .closer {
    margin-top: -.15em !important;
    }

  .punbb .pun-modal h2 span:not(.closer),
  .punbb .pun-modal h1 span:not(.closer) {
    padding: 0 !important;
    }
  }

/* оформление аватарок */
/*.punbb em.user-avatar {
  height: 42px;
  }
  
.punbb em.user-avatar img.on_ {
  margin: 5px 10px 0 -18px;
  }

.punbb em.user-avatar img.ava {
  width: 40px;
  height: 40px;
  border: none !important;
  }*/

/* пагинатор */
#paginator{
  opacity:.98;padding:.2em;
  position:absolute;
  left:6em;border:1px solid;
  table-layout:auto!important;
  width:auto!important;
  border-radius:4px;
  border-spacing: 0;
  box-shadow:0 1px 2px rgba(0,0,0,.4),0 1px 0 rgba(255,255,255,.5)inset;
  text-shadow:0 1px 0 rgba(255,255,255,.4);
  z-index:1000;margin-top:1px;
  border-top:solid 1px #eee !important;
}
#paginator:before{
  content:"";display:block;position:relative;
  height:6px;top:-5px;margin-bottom:-6px;
}
#paginator td{
  background:transparent!important;
  padding:0.1em;
  border-style:none!important;
}
#paginator a{
  border:solid 1px transparent;
  display:inline-table;
  width:2em;height:2em;
  line-height:2em;
  text-align:center;
  margin:-.2em;
}
#paginator a:hover{
  opacity:.8;
  background-color: rgba(240, 249, 255, 0.77);
  border:solid 1px;
  border-radius:50%;
}
.second {
  display: none;
  font-size: 0.8em;
}

@media screen and (max-width: 540px) {
  #paginator{left: -1em; border-collapse:collapse;}
  .first {font-size: 0.7em;}
  .second{font-size: 0.5em;}
}

@media screen and (max-width: 846px) and (orientation: portrait) {
  .first {font-size: 0.95em;}
  .second{font-size: 0.75em;}
  tr.poll div.icon {border-left: solid 3px #7F6A00 !important;}
}

/*Добавка для смайлов*/
.punbb .post-content img{
  vertical-align:middle!important;
}

/* Ссылка "Поделиться" картинкой */
.topic a.sharelink {
  display: inline-block; margin: 0 !important;
  color: transparent; z-index:1;
  height: 13px; width: 13px;
  background: url(https://s9.uploads.ru/ZQvDN.png) center center no-repeat;
  background-size: 13px;
  padding: 2px; opacity: .75;
  position: relative;
  text-indent:-9999px;
}
.topic a.sharelink:hover {  opacity: 1;}
#pun-viewtopic .post h3 strong {margin-right: .5em;}
.punbb .topic a.sharelink:before {
  content: " ";
  display: inline-block;
  width: 0; height: 0;
  position: absolute;
  text-indent: 0 !important;
  bottom: -5px; right: 4px;
  border: solid 5px;
  border-color:transparent transparent rgba(0,0,0,.7) transparent;
  border-radius:2em 0 0 0;
}
.punbb .topic a.sharelink:after {
  content: "Поделиться";
  font-size: 90% !important;
  color: #fff;
  padding: 0 8px;
  line-height: 24px;
  background: rgba(0,0,0,.7);
  border-radius: 4px;
  position: absolute;
  bottom: -29px;
  right: -5px;
}
a.sharelink:before, a.sharelink:after {visibility: hidden;opacity: 0;transition: .4s ease;cursor: text;text-indent:0}
a.sharelink:hover:before, a.sharelink:hover:after {visibility: visible !important; opacity: 1.0;}

/*Цветовыделение техподдержки*/
a.group1, a.group2, .group1 a[href*="profile.php?id="], .group2 a[href*="profile.php?id="], div[data-group-id="1"] li.pa-author>a, div[data-group-id="2"] li.pa-author>a {color: #a7605c !important;}

/*автар по умолчанию*/
#viewprofile-next.no-avatar #pa-avatar {
 background: url(https://forumstatic.ru/files/0000/14/1c/50190.png) no-repeat 0 0/contain;
 width: 150px;
 height: 150px;
}
/*цвет ссылок в подсказках*/
.tipsy a {color: #f4f4f4 !important}

.editBookmark h1 {color: #4A7EB3 !important;}