.f-item {
  margin-bottom: 2px;
}
.f-grid {
  display: table;
}
.f-grid>div {
  display: table-row;
}
.f-grid>div>div {
  display: table-cell;
}
.f-button {

}
.f-mark {
  padding: 3px 5px;
  font-family: Tahoma;
  font-size: 12px; 
  color: #000;
  background-color: #ccc; 
  border: 1px solid #888;
  border-radius: 4px;  
}
.f-mark.ok {
  background-color: #3f3;
  color: #fff; 
}

.f-boxed {
  position: relative;
  display: flex;
  width: 100%;
  height:21px; 
  padding: 1px 1px;
  background-color: #fff;
  border: 1px solid #888;
  border-radius: 2px;
  font: 13px sans-serif;
  cursor: pointer;
}
.f-boxed .f-remove {
  position: absolute;
  top: 2px;
  right: 19px;
  padding: 0px 1px;
  background-color: #88f;
  border-radius: 2px;
  color: #fff;
}
.f-boxed .f-choose {
  position: absolute;
  top: 2px;
  right: 2px;
  float: right;
  padding: 0px 1px;
  background-color: #ccc;  
}
.f-boxed .f-text {
  padding:1px 5px;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.f-boxed .f-text.f-empty {
  color: #888;
}
.f-boxed .f-edit {
  display: none;
  width: calc(100% - 20px);
  padding: 1px 5px;
  border: none;
  overflow: hiden;
}
.f-boxed .f-list {
  position:absolute;
  top: 20px;
  display: none;
  z-index:100;
  border: 1px solid #888;
  background-color:#fff;   
  user-select: none;
  max-height: 190px;
  min-width: 100%; 
  overflow-x: hidden;
  overflow-y: scroll; 
}
.f-boxed .f-list-option {
  padding: 2px 5px;
  cursor: pointer;
}
.f-boxed .f-list-option:hover {
  background-color: #ccc;
}

.pict-preview {
  display: none;
  background-color: #fff;
  box-shadow: 0px 1px 10px #888;
  border: 1px solid #888;  
}
.button2 {
  display: inline-block;
  border: 1px solid #888;
  margin-bottom: 3px;
  width: 100%;
}
.ic {
  display: inline-block;
  width: 16px;
  height: 16px;
}
.ic-messages {
  color: red;
  background-image: url(/f/svg/envelope-regular.svg);
}
.ic-messages2 {
  color: red;
  background-image: url(/f/svg/envelope-regular.png);
}
.ic-search {
  margin-left: 10px;
  color: red;
  background-image: url(/f/svg/search-solid.svg);
}
.search-form {
  padding: 5px 10px;
  background-color: #fff;
}
.search-list {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 10px;
}
.search-list .search-item {
  display: flex;
  margin-bottom: 20px;
  width: 287px;
  border: 1px solid #fff;
}
.search-list .search-item:nth-child(even) {
  margin-left: auto;
}
.search-item .icon {
  margin-right: 10px;
}
.search-item .icon img{
  width: 100px;
  height: 100px;
  border: 1px solid #888;
}
.user-pict a {
  display: inline-block;
}
.user-pict img.pict {
  display: inline-block;
  width: 50px;
  height: 50px;
}

.gend-m {
  font-weight: bold;
  color: blue;
}
.gend-f {
  font-weight: bold;
  color: deeppink;
}

/* pagination */
.pagination {
  text-align: center;
}
.page-bt {
  padding: 3px 10px;

  border: 1px solid #888;
  border-radius: 4px;
  font-family: 'Tahoma';
  font-size: 14px;
  color: #000;
  
  text-decoration: none;
  margin-right: 5px;
}
.page-bt:last-child {
  margin-right: 0px;
}
.page-bt.current {
  background-color: #444;
  color: #fff;
}



/* dialogs list*/
.im-dial-item {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.im-dial-item .text {
  margin-left: 5px;
}
.im-dial-item .time {
  color: #888;
}
.im-dial-item .name {
  -font-size: 12px;
}
.im-dial-item:hover {
  cursor: pointer;
}
.im-dial-item a {
  color: #000;
  text-decoration: none;
}

.im-dial-menu {
  position:relative;

  margin-left: auto;
  padding-top: 12px;
  width: 50px;
  height: 50px;

  border:1px solid #d83;
  border-radius: 3px;
  
  color: #c60;

  text-align: center;
  cursor: pointer;
}
.im-dial-item:hover .im-dial-menu {
  background-color: #fda;
}
.im-dial-menu-popup {
  position: absolute;
  display: none;
  top:49px;
  width: 200px;
  text-align: left;
  border: 1px solid #c60;
  background-color: #fff;
  z-index: 10;
  box-shadow: 1px 1px 5px #888;
}
.popup-menu-item {
  color: #c60;
  padding: 3px 10px;
}
.popup-menu-item:hover {
  background-color: #fda;
}

/* dialog */
.im-part {
  margin-top: 5px;
  display:flex;
}
.im-part .im-pict .pict {
  width: 32px;
  height: 32px;
  border-radius: 3px;
}
.im-part .im-nick {
  margin-right: 10px;
  color: blue;
}
.im-date {
  text-align: center;
}
.im-time {
  color: gray;
}
.im-text-w {
  padding-left: 10px;
}
.im-text {
  margin-top: 2px;
  padding: 2px 10px;
  background-color: #bbb;
  border: 1px solid #888;
  border-radius: 10px;
}
.im-text.in {
  margin-left: 30px;
  padding: 2px 10px;
  background-color: #ddd;
  border: 1px solid #888;
  border-radius: 10px;
}

/* post message form */
#im_text {
  width: 100%;
  height: 50px;
}
.bl-warning {
  padding: 10px;
  border: 1px solid red;
  border-radius: 5px;
  color: red;
  text-align: center;
}

/* notification popup */
.im-notify {
  position: fixed;
  right: 50px;
  bottom: 20px;
  
  width: 250px;
  height: 100px;
  padding: 10px;

  color: #fff; 
  
  background-color: #000;
  border-radius: 10px;
  
  cursor: pointer;
}
.im-notify-pict {
  position: relative;
  margin-right: 10px;
  margin-bottom: 5px;

  float: left;
  width: 32px;
  height: 32px;  

  border-radius: 5px;
}
.im-notify-name {
  margin-top: 5px;
  float: left;
}
.im-notify-text {
  clear: both;
}
.profile .profile-pict {
  padding: 10px;
}
.profile .profile-pict img {
  display: block;
  width: 220px; height: 220px;
}
.profile-tabs {
  display: flex;
  margin-bottom: 10px;
}
.profile-tabs__tab {
  margin-right: 5px;
  padding: 0px 15px;
  background-color: #eee;
  box-shadow: 1px 1px 3px #888;
}
.profile-tabs__tab.active {
  background-color: #ffdca7;
}
.profile-tabs__tab.right {
  margin-left: auto;
  margin-right: 10px;
}
.premium {
  font-weight: bold;
  color: orange;
  text-shadow: 1px 1px 1px #888;
}
.online {
  font-weight: bold;
  color: lime;
  text-shadow: 1px 1px 1px #888;
}
.moderator {
  font-weight: bold;
  color: pink;
  text-shadow: 1px 1px 1px #888;
  margin-right: 5px;
}
.like-t {
  -font-size:; 
}
.like-b {
  margin-left: 7px;
  padding: 2px 5px 1px;
  border: 1px solid #888;
  border-radius: 3px;
  box-shadow: 1px 1px 5px #888;
  background-color: #fff;
  font: 11px verdana; 
  font-weight: bold;
  user-select: none;
  cursor: pointer;
}
.like-b:hover {
}
.like-y {
}
.like-m {
}
.like-n {
}
.like-re {
  color: #800;
  cursor: pointer;
  transition: 200ms;
}
.like-re:hover {
  color: #f22; 
}
.gifts {
  padding-top: 30px;
  padding-left: 25px;
}
.gift {
  margin-right: 10px;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  margin-top: -25px;
  transition: 0.3s;
  position: absolute;
}
.gift:hover {
  zoom: 1.1;
}

.user-pict-block {
  width: 200px;
  height: 200px;
  margin-right: 7px;
  margin-bottom: 7px;
}
.user-pict-block:nth-child(3n){
  margin-right: 0px;
}
.user-pict-block img {
  width: 198px;
  height: 198px;
}

#pict_preview {
  display: none;
}

.profile-sect-name {
  margin: 0px 0px 10px;
  font-size: 18px;
  font-weight: bold;
  color: #d83;
}
.profile-sect-cont {
  padding-left: 10px;
  margin: 0px 0px 15px;
  line-height: 1.5em; 
}
.profile-param {
  width: 100%;
  display: flex;
}
.profile-param-name {
  width: 200px;
}
.profile-param-value {
  width: 410px;
}
.profile-textarea {
  width: 100%;
  height: 55px;
}

.left-counter {
  float: right;
}
