/* мигающий значок онлайн */
.punbb .user-avatar .isonline {background: #684e82 !important;}

/* блок активные темы */
#pun-main > div.forum .hasicon tr {background: #3c2e5724; box-shadow: 0 0 0 1px #1d213500 inset, 0 0 0px 0 #52527247 inset, 0px 1px 5px 0 rgb(35 33 60 / 13%);}

/* TextareaResizer*/
div.grippie {
  background: url(//i.rusff.me/f/me/rusff/grippie.png) no-repeat scroll center 2px;
  border: none;
  cursor: s-resize;
  height: 9px;
  overflow: hidden;
}
.resizable-textarea textarea {
  display: block;
  margin-bottom: 0pt;
}

/* спойлер */
.post-content .spoiler-box > div.visible {
    background: linear-gradient(to top, rgb(41 39 74) 0%, rgb(24 35 48) 100%) !important;
    box-shadow: 0 0 0 1px #364253a3 inset, 0 0 10px 0 #6f6eb473 inset, 0px 5px 10px 0 rgb(72 79 112 / 24%) !important;
    color: #a0b1c1 !important;
    padding: 5px 10px !important;
    border-radius: 3px !important;
}

.post-content .spoiler-box > div {
    cursor: pointer;
    background: linear-gradient(to top, rgb(41 39 74) 0%, rgb(24 35 48) 100%) !important;
    box-shadow: 0 0 0 1px #364253a3 inset, 0 0 10px 0 #6f6eb473 inset, 0px 5px 10px 0 rgb(72 79 112 / 24%) !important;
    color: #a0b1c1 !important;
    padding: 5px 10px !important;
    border-radius: 3px !important;
}

.lastpost span {font-size: 10px;}

#togglePreview > input {
font-family: 'Play', sans-serif;
    padding: 3px 5px !important;
    margin-right: 4px;
    border-radius: 3px !important;
    outline: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 8px;
    background-color: #899aa9 !important;
    border: #f0f4ff !important;
    color: #182330 !important;
    background: #899aa9;
    box-shadow: 0 0 0 1px inset #7a76986b, 2px 2px 5px #454a515e, 0px 0px 1px 0px #41444c66, 2px 2px 5px 1px #737c7d70 inset, 0px 0px 5px 2px #494d532b inset;}

#topic-users-in > p {font-size: 10px;padding-left: 10px;}

.punbb .modmenu .container span {display: none;}

    
/* ------------- панель над боксом сообщения --------------- */
#form-buttons #button-font, #form-buttons #button-indent, #form-buttons #button-size, #form-buttons #button-bold, #form-buttons #button-italic, #form-buttons #button-underline, #form-buttons #button-strike,
#form-buttons #button-left, #form-buttons #button-center, #form-buttons #button-right, #form-buttons #button-justify, #form-buttons #button-spoiler, #form-buttons #button-quote, #form-buttons #button-code, #form-buttons #button-color, #form-buttons #button-smile, #form-buttons #button-link, #form-buttons #button-image, #form-buttons #button-image2, #form-buttons #button-video, #form-buttons #button-hide, #form-buttons #button-table, #form-buttons #button-keyboard, #form-buttons #button-addition, #form-buttons #button-mask, #form-buttons #button-good, td#button-music {
    font-family: 'fontawesome', 'cappuccicons';
    background: transparent !important;
    top: 12px !important;
    position: relative;
    width: 22px;
    height: 23px;
    color: #18222f;
}

#form-buttons td {
    display: inline-block; 
    margin: 0 3px 3px;  
    line-height: 24px;}
    
#form-buttons td img {
    height: 26px;
    width: 100%;
    margin-top: -12px !important;
}
#form-buttons #button-smile {display:none;}

td#button-font:before {content: "\f031";} 
#button-size:before {content: "\f034";}
#button-bold:before {content: "\f032";} 
#button-italic:before {content: "\f033";} 
#button-underline:before {content: "\f0cd";} 
#button-strike:before {content: "\f0cc";} 
#button-indent:before {content:"\f03c";} 
#button-left:before {content: "\f036";}
#button-right:before {content: "\f038";}
#button-center:before {content: "\f037";}
#button-spoiler:before {content: "\e903";} 
#button-quote:before {content: "\ec2b";} 
#button-code:before {content: "\ea11";} 
#button-color:before {content: "\ebc3";} 
#button-smile:before {content: "\ea84";} 
#button-link:before {content: "\eb62";} 
#button-image:before {content: "\eb23";} 
#button-image2:before {content: "\eb24";} 
#button-video:before {content: "\eb9c";} 
#button-hide:before {content: "\eb41";} 
#button-table:before {content: "\e91c";} 
#button-keyboard:before {content: "\f11c";} 
#button-mask:before {content: "\ed1c";} 
#button-addition:before {content: "\e97d";} 
td#button-good:before {content: "\e9cf";}

#form-buttons tr {text-align: left;}
#button-dice {background: url(https://forumstatic.ru/files/001b/ac/e0/53589.png);}

 /*кнопки посмотреть, отправить, отменить*/ 
.button.submit, .button.preview, #cncl {    
    font-family: 'Play', sans-serif;
    padding: 5px 10px;
    border-radius: 3px !important;
    outline: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 8px;
    border: #183845;
    color: #2b5a6d !important;
    background: linear-gradient(to top, rgb(24 35 48) 0%, rgb(24 56 69) 100%);
    box-shadow: 0 0 0 1px inset #9876986b, 2px 2px 5px #4f45515e, 0px 0px 1px 0px #46414c66, 2px 2px 5px 1px #737c7d70 inset, 0px 0px 5px 2px #5049532b inset;
}

.button.submit:hover, .button.preview:hover, #cncl:hover {background: linear-gradient(to top, rgb(133 145 178) 0%, rgb(108 106 140) 100%) !important;}
.punbb .fs-box p, .punbb .fs-box fieldset  {margin-right: 6px;}
#form-buttons {background: #183744ab; border-radius: 5px 5px 0 0; font-size: 14px; margin-top:4px;}
#post > fieldset > legend > span {display: none;}

#plng {    
    font-family: 'Play', sans-serif;
    padding: 3px 5px !important;
    border: #f0f4ff !important;
    color: #182330 !important;
    background: #899aa9;
    box-shadow: 0 0 0 1px inset #7a76986b, 2px 2px 5px #454a515e, 0px 0px 1px 0px #41444c66, 2px 2px 5px 1px #737c7d70 inset, 0px 0px 5px 2px #494d532b inset;
    border-radius: 3px !important;
    outline: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 8px;
}

#profile fieldset {padding: 10px 0 10px 0;}

.reactions-root {
    display: none;
}

#pun-main > div.linksb > div.postlink > span {display: none;}
#pun-main > div.linkst > div.postlink > span {display: none;}

ion-icon {font-size: 18px;color: #182330;}


  /*БыстроПлюсы для Топика!*/
.noNull:before {
  content: "";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}
div .post-rating p>a {
    text-align: center;
    outline: 1px solid transparent;
    font-weight: 700;
    background: url(https://forumstatic.ru/files/001b/54/d7/31398.png) no-repeat center;
    background-size: 23px auto;
    position: relative;
    padding-left: 1px;
    z-index: 100;
    width: 36px;
    height: 36px;
    font-size: 12px !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 34px;
    color: #182330;
}
div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}
div.post-vote {
    margin-bottom: 65px;
}
div.post-vote p>a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  /*z-index: 200;*/
  width: 23px;
  height: 23px;
  background: url(https://forumstatic.ru/files/001b/54/d7/62448.png) no-repeat;
  display: block;
  background-size: 100%;
  margin-left: -5px;
  margin-top: 7px;
}
.post.dark-style div.post-vote p>a {
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}

/*спан быстрого ответа*/
.punbb .formal h2 span {
    display: block;
    text-align: center;
    font-size: 14px;
    font-family: 'russo one', sans-serif;
    color: #777770;
}

/*убираем кнопку граффити*/
#button-graffiti_rusff, #button-files_rusff {
    display: none !important;
}

  
/*опустить последний столбик на глав странице на уровень текста*/  
  #pun-category1 td.tcr,
  #pun-category2 td.tcr,
  #pun-category3 td.tcr,
  #pun-category4 td.tcr,
  #pun-category5 td.tcr,
  #pun-category6 td.tcr,
  #pun-category7 td.tcr,
  #pun-category8 td.tcr {
    padding-top: 30px;
  }
  
  #awards-content td.tcl {
    width: 5%;
    text-align: center;
  }

 /*ширина столбика в наградах*/ 
  #profileContainer td.tcl {
    width: 10%;
  }
  
  #filetable {
  width: auto !important;
  }
  
  #pun-category5 > div > table {
  width: 100% !important;
  }
  
  #profilenav > h2 {
    margin: 0 0 25px 0 !important;
    border: none !important;
  }
  
  
  
/*навигация в шапке от вещего духа*/  
  .spirit-navigation {
    height: 18px;
    width: 155px;
    top: 113px;
    margin-left: 796px !important;
    padding: 3px;
    display: block;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    color: #121c29;
    position: absolute;
    transition: all 0.3s ease-in-out 0s;
    text-align: center;
    letter-spacing: 1px;
    font-family: chainlinkc;
    background: linear-gradient(to bottom, rgb(83 66 130) 0%, rgb(60 103 153 / 38%) 100%);
    box-shadow: 0 0 0 1px #3d356575 inset, 0 0 10px 0px #67527247 inset, 0px 0px 2px 0 rgb(50 33 60 / 58%);
    -webkit-clip-path: polygon(20% 0%, 0% 100%, 100% 100%, 100% 100%, 100% 0%);
    clip-path: polygon(20% 0%, 0% 100%, 100% 100%, 100% 100%, 100% 0%);
  }
  
  /* вид кнопки после клика по ней */
  .spirit-navigation:hover{
    text-shadow: 1px 0px 2px #2e677c;
  }
  
  /* расположение название кнопки */
  .spirit-navigation p {
    margin-left: 29px;
    margin-top: 2px;
}
  
  /* настройка позиции выпадающего по клику окна и его ширина */
  #navigblock {
    width: 161px;
    margin-left: 796px;
    position: absolute;
    top: 136px;
    z-index: 999;
  }
  /* настройка блока ссылок, цвет фона, тени, прозрачность, отступы */
  .sslka {
    display: block;
    padding: 5px;
    background: rgb(24 35 48);
    box-shadow: 0px 0px 3px 1px inset #5c4989;
  }
  
  
  /* настройка вида самой ссылки, ширина, цвет, фон, шрифты и так далее */
  #pun .sslka a     {    
    width: 141px !important;
    margin: 5px;
    text-align: center;
    transition: all 0.3s linear 0s;
    display: block;
    color: #4f869e;
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: none !important;
    font-family: chainlinkc;
  }
  
  /* ссылка при наведении */
  
  #pun .sslka a:hover {
    background-color: #173a47 !important;
    width: 141px !important;
  }
  
  /* поле СООБЩЕНИЯ */
  
  #profile div.post-box{
    padding: 0 10px 0 15px !important;
    margin: 0;
    overflow: hidden;
    width: auto !important;
  }
  
  #profile div.post-links {
    margin-left: 25em !important;
  }
  
  /* всплывающие амс */
  .hl_all {
    position: absolute;
    cursor: pointer;
    top: 74px;
    margin-left: 576px !important;
    width: 155px;
    text-align: center;
    font-size: 10px;
    font-family: chainlinkc;
    color: #5c4989;
    text-shadow: 1px 0px 1px #11303d;
    text-transform: uppercase;
    z-index: 600;
  }
  
  .hl_all a {text-shadow: 1px 0px 1px #0c121b !important;}
  .hl em {
    position: absolute;
    background-color: #a0b1c1;
    color: #5c4989;
    padding: 5px;
    border: 3px double #182330;
    font: 10px 'montserrat alternates';
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    transition: all .7s ease-in-out 0s;
    transform: scale(0) translateX(-50%);
    top: 15px;
    /*left: 50%;*/
    transform-origin: top left;
    z-index: 800;
    width: 104px;
  }
  
  .hl center {
    background-color: #aba89e;
    line-height: 0;
    margin-bottom: 10px;
  }
  
  .hl img {
    mix-blend-mode: multiply;
    filter: opacity(90%);
    border: 1px solid #17222f !important;
  width:100px;
  height:100px;
  }
  
  .hl:hover em {
    transform: scale(1) translateX(-50%);
  }
  
  
  
  /* описание подфорумов и ссылки от Вещего*/
  .f_desc_wrap {
    display: flex;
    justify-content: space-between;
    gap: 5px; /* отступ между блоком текста и блоком ссылок */
    flex-direction: column; /*row-reverse чтобы ссылки были ПЕРЕД текстом; column сделает ссылки ПОД текст, только ширину блоков задать не забудьте на 100%; column-reverse запилит ссылки НАД блоком с текстом, опять же ширину на 100% поправить не забудьте*/
  }
  
  .f_desc {
    flex: 0 0 1;
    width: auto /*ширина блока с текстом*/
  }
  
  .f_links {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row; /*row, если ссылки надо расположить ПОД/НАД блоком с текстом*/
    gap: 2px;
    width: 100%; /*ширина блока ссылок*/
  }
  
  .f_links a {
    background: linear-gradient(to top, #321f3fba 0%, rgb(24 35 48) 100%);
    color: #a0b1c1 !important;
    box-shadow: 0 0 0 1px #6f6eb4;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 8px;
    padding: 2px 20px;
    flex: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
      margin: 1px;
    transition: all .2s linear;
  }
  
  .f_links a:hover {
    background: linear-gradient(to top, #321f3fba 0%, rgb(24 35 48 / 42%) 100%);
    transition: all .2s linear !important;
  }
  
  

  
 /* ШАПКА ЭПИЗОДА */
  
.ep_box {
    padding: 10px;
    position: relative;
    font-family: 'jura';
    vertical-align: top;
    color: #a0b1c1;
    background: linear-gradient(to bottom, rgb(41 39 74) 0%, rgb(24 35 48) 100%);
    box-shadow: 0 0 0 1px #364253a3 inset, 0 0 10px 0 #6f6eb473 inset, 0px 5px 10px 0 rgb(72 79 112 / 24%);
  }
  
.ep_img {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0px 10px 0px;
    text-align: center;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  
.ep_img img {
	padding: 5px;
	text-align: center;
	align-content: center;
	justify-content: center;
	align-items: center;
	filter: grayscale(0.5) opacity(0.7);
  }
  
.ep_author {
    font-size: 15px;
    font-family: chainlinkc;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    background: linear-gradient(to bottom, rgb(41 39 74 / 32%) 0%, rgb(24 35 48) 100%);
    box-shadow: 0 0 0 1px #364253a3 inset, 0 0 10px 0 #6f6eb473 inset, 0px 5px 10px 0 rgb(72 79 112 / 24%);
  }
  
.ep_author a {color: #718b71 !important;}
.ep_author b {color: #2b5a6d;} 

.ep_author h {
    display: block;
	font-size: 10px; 
	text-transform: lowercase;
  }
  
.ep_plot {
    height: 50px;
    overflow-y: auto;
    font-size: 11px;
    text-align: justify;
    padding: 5px 10px;
    background: linear-gradient(to bottom, rgb(41 39 74 / 32%) 0%, rgb(24 35 48) 100%);
    box-shadow: 0 0 0 1px #364253a3 inset, 0 0 10px 0 #6f6eb473 inset, 0px 5px 10px 0 rgb(72 79 112 / 24%);
  }
  
  /*удаление "отредактировано"*/
.lastedit {display: none !important;}
  
del {
    filter: blur(2px); transition: all .2s linear;
    text-decoration: none !important;
}

del:hover {transition: all .2s linear;
    filter: blur(0px);
}


 /* АНКЕТА (вещий дух)*/
.anketa {
	background: rgb(124 144 160 / 51%);
	padding: 10px;
	text-align: justify;
}

.anketa_info {
	height: 170px !important;
	overflow-y: auto;
	font-size: 11px;
	text-align: left;
	width: 385px;
	display: block;
	padding-left: 12px;
}

.anketa_info span {
	text-transform: uppercase !important;
	font-size: 13px;
	font-weight: bold;
    color: #3c2e57;
}

.anketa_info h {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
}

.anketa_pic {
	display: block;
	padding: 0 0 10px 10px;
	width: 270px;
	text-align: center;
}

.anketa_inline {
 display: flex;
}

.anketa_pic img {
	max-height: 150px;
	max-width: 250px;
	border: 2px solid #360d46 !important;
	padding: 5px;
}

.anketa_bio {
	padding: 10px;
}

#post_button {
display:none;
}

.post_button_container {
    padding: 10px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.post_button_container label {
 border: 1px solid #303030; /* обводка кнопки поста */
  text-align: center !important;
  font-size: 12px; /* шрифт кнопки */
  text-transform: uppercase !important;
  padding: 5px;
  transition: all .6s ease-in-out 0s
}

#post_text {
display:none;
margin-top: 10px;
}

.post_button_container input[type=checkbox]:checked~ #post_text {
  display: block;
}

/*МАСКИ*/

.mask {
    background: rgb(124 144 160 / 51%);
    padding: 10px;
    display: flex;
    flex-direction: row;
    border: 1px solid #99968d;
    box-shadow: 0 0 0px 1px rgb(49 49 76 / 40%), 0 0 0 1px #6e5c739c inset, 0 0 5px 0 #3b3d7a8f inset, 0 0 5px 0 #60395e5c, -5px 0px 5px -5px #5d5377b5, 5px 0px 5px -5px #a587be73;
}

.mask_info {
	display: flex; 
	padding: 10px; 
	width: 200px;
	flex-direction: column;
	align-content: center;
	align-items: center;}

.mask_info h1 {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 13px;
	color: #3c2e57;
	text-align: center;}
	
.mask_info h2 {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 8px;
	color: #182330;
	text-align: center;}

.mask_pic {
	display: block; 
	width: 200px; 
	padding: 10px;
    text-align: center;
}
	
.mask_pic img {
	max-width: 180px; 	
	padding: 10px;
	border: solid 1px !important;}
.mask_pic h {text-align: center; font-size: 8px;}
.mask_intro {width: 200px;}
.mask_intro img {
	position: absolute;
	top: 37px;
	left: 0px;}

.mask_bio {
	width: 442px;
	max-height: 250px;
	text-align: justify;
	overflow-y: auto;
	padding: 10px;
}


/* отношения */
.relat {
	background: rgb(122 123 114 / 21%);
	padding: 10px;
	text-align: justify;
	display: flex;
	width: 650px;
	flex-direction: row;
	flex-wrap: wrap;
}


.relat_pic {
	padding: 0 0 10px 10px;
	display: inline-flex;    
	align-items: flex-start;
	width: 150px;
}

.relat_pic img {
	max-height: 100px;
	max-width: 100px;
	border: 2px solid #192600 !important;
	padding: 5px;
}

.relat_pic h {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
	writing-mode: tb-rl;
	transform: rotate(180deg);
}

.relat_info {
    height: 120px !important;
    overflow-y: auto;
    font-size: 11px;
    text-align: justify;
    width: 400px;
    padding-left: 13px;
    padding-right: 8px;
    padding-bottom: 15px;
    margin-bottom: 20px !important;
}

.relat_info span {
	text-transform: uppercase !important;
	font-size: 13px;
	font-weight: bold;
	color: #2f3c2d;
}

.relat_info h {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
}

/* chronology */
.chrono {
	background: rgb(97 101 127 / 21%);
	padding: 10px;
}

.chrono_line {
	background: rgb(124 144 160 / 51%);
	padding: 14px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;}

.chrono_date {
	text-transform: uppercase;
	font-size: 10px;
	writing-mode: tb-rl;
	transform: rotate(180deg);
    min-height: 55px;
    text-align: center;
}

.chrono_info {
	display: flex;
	flex-direction: column;
	width: 270px;
	padding: 0 10px;
}


.chrono_info span {
	text-transform: uppercase;
	font-size: 14px;
	color: #3c2e57 !important;
}

.chrono_info h {
	text-transform: uppercase;
	font-size: 8px;
	font-weight: bold;
	color: #193643;
}

.chrono_descr {
	font-size: 12px;
	text-align: justify;
	width: 700px;
}

.chrono item1 {color: #4c3e73;}
.chrono item2 {color: #76697f;}

/* биржа */

.labour {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: row;
}

.labour_cell {
    width: 161px;
    display: inline-flex;
    text-align: left;
    padding: 5px;
    font-size: 12px;
    margin: 5px !important;
    border-radius: 1px;
    background: rgb(124 144 160 / 51%);
    border: 1px solid #99968d;
    box-shadow: 0 0 0px 1px rgb(49 49 76 / 40%), 0 0 0 1px #6e5c739c inset, 0 0 5px 0 #3b3d7a8f inset, 0 0 5px 0 #60395e5c, -5px 0px 5px -5px #5d5377b5, 5px 0px 5px -5px #a587be73;
    flex-direction: column;
    align-items: stretch;
    align-content: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.labour_cell p {
	text-align: center !important;
	font-family: Montserrat !important;
	font-size: 14px !important;
	text-transform: uppercase;
	color: #183845;
}

.labour_cell p img {
    margin-top: -10px;
    width: 35px;
}

.scroll_labour_cell {
	height: 250px;
	overflow-y: auto;
}

.labour_subcell {
	text-align: left;
	padding: 5px;
	font-size: 11px;
}

.labour_subcell p {
	text-align: center;
	font-family: Montserrat !important;
	font-size: 10px !important;
	text-transform: uppercase;
}



/* нпс */

.npc {
	background: rgb(122 123 114 / 21%);
	padding: 10px;
	}

.npc_pic {
	width: 135px;
	max-height: 135px;
	padding: 10px;
	border: solid 1px;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
}
.npc_pic img {
	max-width: 150px;
	max-height: 150px;
	}
	
.npc_face {
	text-align: center;
	font-weight: bold;
	font-size: 8px;
	}

.npc_name {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 18px;
	color: #3b3434;
	}
	
.npc_name img {
	margin-top: -8px;
	width: 40px;
	}
	
.npc_relat {
	text-align: center;
	font-size: 10px;
	font-weight: bold;
	padding: 5px;
	}

.npc_info {
	width: 428px;
	height: 280px;
	display: flex;
	align-content: center;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	text-transform: none;
	font-weight: normal;
	text-align: justify;
	overflow-y: auto;
	flex-direction: column;
	padding: 10px;
}

/* СТАТИСТИКА */
.week_st_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
    
.week_st_face {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 3px;
    background: #264250;
    height: max-content;
}
.week_st_face span {
    text-transform: uppercase;
    text-align: center;
    color: #497688;
    font-weight: bold;
}
.week_st_face img {
    width: 39px;
    padding: 3px;
    border-radius: 5px;
    box-shadow: 0 0 0 1px #274658 inset, 0px 1px 7px 5px #131931cc inset, -2px 2px 5px 0 rgb(33 37 60);
    opacity: 0.8;
}

.week_st {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: flex-start;
}

.week_all {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0 0 0 5px;
}


  .week_posts_tbl {
  /*box-shadow: 0 0 0 1px #101911 inset, 0 0 0 1px #877c61, 0px 0px 3px 0 rgb(255 255 255 / 50%) inset;*/
  padding: 5px;
  }
  
  .week_posts_tbl_win {
  /*box-shadow: 0 0 0 1px #101911 inset, 0 0 0 1px #877c61, 0px 0px 3px 0 rgb(255 255 255 / 50%) inset;*/
  padding: 5px;
  background: #2644513d;
  }
  
.week_all span {
	  text-align: center;
	  text-transform: uppercase;
	  font-weight: bold;
	  background: #264451;
	  padding: 10px;
	  color: #497688;
  }
  
 .tbl_sum, .tbl_long, .tbl_mean, .tbl_active {
	 padding: 15px;
	 background: #26425063;
	 width: 315px;
 }
 
 #st_button,  #st_button2 {
 display:none;
 }
 
 .st_button_container {
	margin-top: -10px !important;
	padding-bottom: 10px;
	display: flex;
	justify-content: space-around;
	flex-direction: column;
 }
 
 .st_button_container label {
	text-align: center !important;
    font-size: 8px;
    text-transform: uppercase !important;
	font-weight: bold;
    padding: 5px;
    transition: all .6s ease-in-out 0s;
    background: #1837449c;
    color: #7694a0;
    box-shadow: 0 0 0 1px #294353c2 inset, 0 0 10px 0 #2f575e47 inset, 0px 1px 5px 0 rgb(33 39 60 / 58%);
 }
 
 #st_list,  #st_list2 {
 display:none;
 margin-top: 10px;
 }
 
 .st_button_container input[type=checkbox]:checked~ #st_list {
   display: block;
 }
 
  .st_button_container input[type=checkbox]:checked~ #st_list2 {
   display: block;
 }
 

/*PT*/
#pttab1:checked~#content-pttab1, #pttab2:checked~#content-pttab2, #pttab3:checked~#content-pttab3 {display: block;}

.pttabs {
	width: auto;
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
}

.pttabs>section {
	display: none;
	margin-top: 10px;
	width: 100%;
	height: 450px;
	background: #45483fc9;
	box-shadow: 0 0 0 1px #514c47a3 inset, 0 0 10px 0 #3b343447 inset, 0px 1px 5px 0 rgb(69 63 56 / 58%);
}

.pttabs>section div span {
  display: block;
  margin: 0 0px 2px 0px;
}
.pttabs>section>div {
  animation-duration: 2s;
  animation-name: Grayscale;
  padding-right: 5px;
  overflow-y: auto;
  height: 450px;
}

.pttabs>input {
  display: none;
  position: absolute;
}

.pttabs>label {
display: block;
    padding: 0px 50px;
    margin-left: 10px;
    text-align: center;
    border-radius: 1px;
    color: #2b5a6d;
    font: 400 11px/22px russo one;
    text-shadow: 1px 1px 0 rgb(63 42 70);
    text-transform: uppercase;
    transition: all .3s cubic-bezier(.64,.51,.55,1.66) 0s;
    height: 23px;
    background: #182330;
    border: 1px solid #183845;
    box-shadow: 0 0 0 1px #4f4751 inset, 0 0 5px 0 #34343b inset, 1px 2px 10px 0 rgb(64 56 69);
}
.pttabs>label:hover {
  filter: brightness(1.4);
  cursor: pointer;
}

.pttabs>input:checked+label {
    сolor: #2b5a6d;
    filter: brightness(.5);
}

.pttabl {
	background: #182330;
    border: 1px solid #183845;
    box-shadow: 0 0 0 1px #4f4751 inset, 0 0 30px 0 #34343b inset, 0px 5px 10px 0 rgb(64 56 69);
	}
.pttabl h {
	display: flex;
	font-size: 14px;
	text-align: center;
	font-family: 'Russo One', sans-serif;
	width: 360px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #315969;
	text-shadow: 2px 1px 0.5px #321f3f;
	align-content: center;
	justify-content: center;
	align-items: center;
	}
.ptface {
	position: absolute;
	width: 215px !important;
	padding: 10px 5px 5px 5px !important;
	text-align: center;
	}
.ptface img {
	max-width: 200px;
	max-height: 110px;
	border: 2px solid #321f3f !important;
	padding: 3px;
	}
.pttwins {
	position: absolute;
	width: 215px;
	height: 178px;
	display: inline;
	text-align: center;
	margin: 250px 0 10px 5px !important;
	}
.pttwins_1 {
	overflow-y: auto;
	overflow-x: hidden;
	width: 217px;
	height: 145px;
}
.pttwins img {
	width: 57px;
	border: 2px solid #321f3f !important;
	padding: 3px;
	margin: 3px 1px;
	filter: brightness(.5) grayscale(50%);
	}
.pttwins img:hover {filter: brightness(1) grayscale(0%);}
.pttwins span {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
	text-align: center;
	font-family: 'Russo One', sans-serif;
	width: 207px;
	padding: 5px;
    color: #2b5a6d;
    text-shadow: 0.5px 0 0.5px #321f3f;
    background: #0b1520;
    box-shadow: 0px 0px 3px 1px inset #3c2e5796;
	}
.ptactiv span, .ptpost span, .ptmonth span, .pttroph span, .ptach_1 span {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
	text-align: center;
	font-family: 'Russo One', sans-serif;
	padding: 5px;
    color: #2b5a6d;
    text-shadow: 0.5px 0 0.5px #321f3f;
    background: #0b1520;
    box-shadow: 0px 0px 3px 1px inset #3c2e5796;
	} 
.ptactiv span, .ptpost span, .ptmonth span, .pttroph span {width: 180px;}
.ptach_1 span {width: 230px;}
.ptcollec, .ptach {
	position: absolute;
	height: 210px;
	width: 245px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	justify-content: center;
	}
.ptach {margin: 10px 0px 10px 10px !important;}
.ptcollec {margin: 228px 0px 10px 10px !important;}

.ptach_wrap {
    overflow-y: auto;
    overflow-x: hidden;
    height: 180px;
    width: 235px;
}

.ptach_1 {
	height: 50px;
	width: 230px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	padding: 0 0 10px 0 !important;
	justify-content: center;
	}
.ptach_1 img {
	height: 29px;
	padding: 3px;
	filter: hue-rotate(180deg);
	}
.ptach_1 img:hover {box-shadow: 0 0 0 1px #5d55305e inset, 0 0 3px 0 #97080847 inset, 0px 1px 1px 0 #63931d85;}
.ptach_fin {padding: 1px 6px; background: #0b15209e; border-radius: 13px;}
.ptplash {
	position: absolute;
	width: 220px;
	height: 105px !important;
	margin: 135px 0 10px 7px !important;
	overflow-y: auto;
	}
.ptplash::-webkit-scrollbar {
	display: none;
	}
.ptcup {
	position: absolute;
	height: 95px;
	width: 410px;
	margin: 330px 0 10px 230px !important;
	}
.ptcup_1 {	
	height: 65px;
	width: 400px;
	overflow-y: auto;
	text-align: center;
}
.ptcup img {
	height: 64px;
	filter: hue-rotate(180deg);
	}
.ptcup img:hover {box-shadow: 0 0 0 1px #5d55305e inset, 0 0 3px 0 #97080847 inset, 0px 1px 1px 0 #63931d85;}
.ptcup span {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
	text-align: center;
	font-family: 'Russo One', sans-serif;
	width: 390px;
	padding: 5px;
    color: #2b5a6d;
    text-shadow: 0.5px 0 0.5px #321f3f;
    background: #0b1520;
    box-shadow: 0px 0px 3px 1px inset #3c2e5796;
	}
.ptactiv, .ptpost, .ptmonth, .pttroph {
	position: absolute;
	height: 145px;
	width: 200px;
	}
.ptactiv {margin: 10px 0px 10px 230px !important;}
.ptpost {margin: 170px 0px 10px 230px !important;}
.ptmonth {margin: 10px 0px 10px 435px !important;}
.pttroph {margin: 170px 0px 10px 435px !important;}
.ptach_sec {
	height: 100px;
	width: 190px;
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	padding: 0 0 10px 0;
	justify-content: center;
	}
.ptach_sec img {
	height: 30px;
	padding: 3px;
	filter: hue-rotate(180deg);
	}
	
.ptach_sec img:hover {box-shadow: 0 0 0 1px #5d55305e inset, 0 0 3px 0 #97080847 inset, 0px 1px 1px 0 #63931d85;}
.ptgift {
	position: absolute;
	height: 195px;
	width: 370px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	margin: 10px 0 10px 260px !important;
	justify-content: center;
}
.ptgift_wrap {
    height: 185px;
    width: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
}
.ptgift img {
	height: 55px;
	padding: 3px;
	filter: brightness(.5) grayscale(50%);
}
.pttransp img:hover, .ptpet img:hover, .ptitem img:hover, .ptgift img:hover {filter: brightness(1) grayscale(0%);}
.ptequip {
	margin: 225px 0 0 266px !important;
	width: 355px;
	height: 210px;
}
.ptitem {
	position: absolute;
	margin: 5px 0 10px 0px !important;
	height: 90px;
	width: 360px;
	text-align: center;
	}
.ptitem img {
	height: 55px;
	padding: 5px;
	filter: brightness(.5) grayscale(50%);
	}
.pttransp {
	position: absolute;
	margin: 95px 0 10px 0px !important;
	width: 172px;
	height: 115px;
    overflow-y: auto;
    overflow-x: hidden;
	text-align: center;
	}
.ptpet {
	position: absolute;
	margin: 95px 0 10px 190px !important;
	width: 172px;
	height: 115px;
	text-align: center;
	}
.pttransp img, .ptpet img {
	max-width: 145px;
	max-height: 90px;
	padding: 2px;
	text-align: center !important;
	filter: brightness(.5) grayscale(50%);
}	
.ptitem span {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
	text-align: center;
	font-family: 'Russo One', sans-serif;
	width: 350px;
	padding: 5px;
    color: #2b5a6d;
    text-shadow: 0.5px 0 0.5px #321f3f;
    background: #0b1520;
    box-shadow: 0px 0px 3px 1px inset #3c2e5796;}

.pttransp span, .ptpet span {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 8px;
	text-align: center;
	font-family: 'Russo One', sans-serif;
	width: 160px;
	padding: 5px;
    color: #2b5a6d;
    text-shadow: 0.5px 0 0.5px #321f3f;
    background: #0b1520;
    box-shadow: 0px 0px 3px 1px inset #3c2e5796;}
	
.ptedit {	
	position: absolute;
    margin: 468px -621px 0px 0px !important;
    font-size: 6px;
}

.ptedit img {width:10px;}
	

/* ИТОГИ */
.itogi {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.itogi_naz {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    width: 558px;
    text-align: center;
    font-family: 'russo one';
    background: #183845e6;
    border: 1px solid #182330 !important;
    outline: 1px solid #677886;
    box-shadow: 0px 0px 3px 0px rgb(42 34 57);
    padding: 20px 10px;
}

.itogi_naz span {font-size: 20px;}

.itogi_ams img {
    width: 100px;
    border-radius: 50%;
    filter: grayscale(50%);
    object-fit: cover;
    border: 1px solid #182330 !important;
    outline: 1px solid #677886;
    box-shadow: 0px 0px 3px 0px rgb(42 34 57);
    margin: 10px;}

/* шкала */

.shkala {
    background: #5f635ac4;
    width: 500px;
    height: 30px;
    box-shadow: 0 0 0 1px #485147c2 inset, 0 0 10px 0 #52725847 inset, 0px 1px 5px 0 rgb(60 47 33 / 58%);}

.shkala_bar {
    background: #3b3933cc;
    float: left;
    max-width: 490px !important;
    height: 20px;
    margin-top: 5px !important;
    margin-left: 5px !important;
}

/* лица в стате */
.stat_wrap table {background: #183845e6; box-shadow: 0px 0px 3px 0px rgb(42 34 57);}
.stat_wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;}
.stat_pic {width: 60px; text-align: center;}
.stat_pic img {width: 60px;}

/*Стиль к скрипту "Музыка в постах и подписях" (c) Emerael */
td#button-music {
    background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%221em%22%20height%3D%221em%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M6%2013c0%201.105-1.12%202-2.5%202S1%2014.105%201%2013c0-1.104%201.12-2%202.5-2s2.5.896%202.5%202zm9-2c0%201.105-1.12%202-2.5%202s-2.5-.895-2.5-2s1.12-2%202.5-2s2.5.895%202.5%202z%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M14%2011V2h1v9h-1zM6%203v10H5V3h1z%22%2F%3E%3Cpath%20d%3D%22M5%202.905a1%201%200%200%201%20.9-.995l8-.8a1%201%200%200%201%201.1.995V3L5%204V2.905z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') center center no-repeat; /*иконка, замените ссылку если хотите поставить свою*/
    background-size: 16px; /*размер иконки*/
}
.audio-block {
    color: #2b5a6d;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;}
    
.audio-title {margin-bottom: -15px !important;}

audio {
    width: 390px;
    height: 35px;
    opacity: 0.3;}