@media (min-width: 768px) {
#okey, #oktimezone {
    position: fixed;
    width: 370px;
    top: 0px;
    right: 0px;
    z-index: 1031;
    display: none;
}
}
@media (max-width: 767px) {
.alert {
    border-radius: 3px;
}
#okey, #oktimezone {
    position: fixed;
    width: 100%;
    top: 0px;
    right: 0px;
    z-index: 1031;
    display: none;
} 
}
#okey .alert-success {
	  padding: 10px 15px;
    background-color: #dff0d8 !important;
    border-color: #d6e9c6 !important;
    color: #3c763d !important;
}
#okey, #oktimezone {
    height: 80px;
}
#okey, #oktimezone, .alert .close {
    right: 0px;
}
#okey .alert-danger {
	  padding: 10px 15px;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}
#okey .alert-warning {
	  padding: 10px 15px;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
    color: #856404 !important;
}
#oktimezone {
    position: fixed;
    width: 370px;
    top: 0;
    right: 0;
    z-index: 1031;
}
#oktimezone .alert-success {
	padding: 10px 15px;
    background-color: #dff0d8 !important;
    border-color: #d6e9c6 !important;
    color: #3c763d !important;
}
#oktimezone .alert-danger {
	padding: 10px 15px;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}
.swal-button {
    border: none;
    box-shadow: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    margin: 0;
    cursor: pointer;
}
.swal-button--confirm {
  background-color: #00a65a;

}
.swal-button--confirm:hover, .swal-button--confirm:active {
  background-color: #008d4c;
}
.swal-button--cancel {
  background-color: #e6e6e6;
  color: #444;
}
.swal-button--cancel:hover, .swal-button--cancel:focus {
  background-color: #d6d6d6;
  color: #444;
}
.swal-button--danger {
  background-color: #e33636;
  color: #ffffff;
}
.swal-button--danger:hover, .swal-button--danger:focus {
  background-color: #d63e3c;
  color: #ffffff;
}
.products-list .item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 14px;
    border-radius: 5px;
    border: 1px dotted #d2d6de;
}
.products-list .item:hover {
    background: #f3f3f38f;
    border-radius: 5px;
}
.no_active_link {
    animation: blink 2s infinite;
    color: #ff8f00;
}
@keyframes blink {
    from {
        color: #ff0000;
    }
    to {
        opacity: 0.5;
    }
}

/* Активные сообщества */
li.item {
    border-bottom: 1px solid #f4f4f4;
    padding: 10px 0;
}
.show_items_button, .hide_items_button {
	width: 100%;
    border-radius: 0px;
    background: #e6e6e6;
    color: #989898;
    border: 0px;
    height: 30px;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: none;
}
a.show_items_button:focus, a.show_items_button:active, a.hide_items_button:focus, a.hide_items_button:active {
	color: #989898 !important;
}
.show_items_button:hover, .hide_items_button:hover {
    background: #d6d6d6;
    color: #989898;
}
.search_icon {
	color: #a5a5a5;
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: unset !important;
 }
.show_items_content {
    padding-top: 10px;
}
li[style*="display: none;"] ~ p {
    display: block;
  }
li[style*="display: none;"] ~ .show_items_content {
    display: none;
}
li:not([style*="display: none;"]) ~ p {
    display: none;
}
li:not([style*="display: none;"]) ~ .show_items_content {
    display: block;
}

/********Scroll top***********/
/*
@media (max-width: 767px) {
  #scroll-top {
    display: none !important;
  }
}
*/
#scroll-top {
    cursor: pointer;
    display: inline-block;
    left: -80px;
    height: 80px;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 80px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#scroll-top:hover .bg {
    background: #ffffff;
}
#scroll-top .bg {
    height: 100%;
    min-height: 1000px;
    opacity: 0.2;
    width: 80px;
}
/*
@media (max-width: 767px) {
#scroll-top.scrolled {
    display: none;
}  
}
*/
#scroll-top i {
    color: #879ba6;
    font-size: 24px;
    left: 50%;
    margin-left: -12px;
    position: absolute;
    top: 24px;
  }
  #scroll-top.scrolled {
    left: 0;
    opacity: 1;
    z-index: 2001;
  }
  
  .jspContainer {
      overflow: hidden;
      position: relative;
  }
  .jspPane {
      position: absolute;
  }
  .jspVerticalBar {
      position: absolute;
      top: 0;
      right: 0;
      width: 16px;
      height: 100%;
  }
  .jspHorizontalBar {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 16px;
  }
  .jspCap {
      display: none;
  }
  .jspHorizontalBar .jspCap {
      float: left;
  }
  .jspTrack {
      position: relative;
      width: 16px
  }
  .jspTrack::before {
      background: #eff2f4;
      content: '';
      display: block;
      height: 100%;
      position: absolute;
      right: 2px;
      top: 0;
      width: 3px;
  }
  .jspDrag {
      /*background: url('scroll-bg.png') no-repeat center center;*/
      background-color: #16b7aa;
      position: relative;
      top: 0;
      left: 0;
      margin-left: 9px;
      border-radius: 3px;
      cursor: pointer;
      width: 7px;
  }
  .jspHorizontalBar .jspTrack,
  .jspHorizontalBar .jspDrag {
      float: left;
      height: 100%;
  }
  .jspArrow {
      background: #50506d;
      text-indent: -20000px;
      display: block;
      cursor: pointer;
      padding: 0;
      margin: 0;
  }
  .jspArrow.jspDisabled {
      cursor: default;
      background: #80808d;
  }
  .jspVerticalBar .jspArrow {
      height: 16px;
  }
  .jspHorizontalBar .jspArrow {
      width: 16px;
      float: left;
      height: 100%;
  }
  .jspVerticalBar .jspArrow:focus {
      outline: none;
  }
  .jspCorner {
      background: #eeeef4;
      float: left;
      height: 100%;
  }
  * html .jspCorner {
      margin: 0 -3px 0 0;
  }
/* Notification Menu Bar */
.notifications-menu .menu::-webkit-scrollbar, .emojionearea-scroll-area::-webkit-scrollbar {
    width: 9px;
    background-color: #fff;
}
.notifications-menu .menu::-webkit-scrollbar-thumb, .emojionearea-scroll-area::-webkit-scrollbar-thumb {
    background-color: #dae1e8;
    border-radius: 5px;
}
.notifications-menu .menu::-webkit-scrollbar-thumb:hover, .emojionearea-scroll-area::-webkit-scrollbar-thumb:hover {
    background-color: #bec8d3;
    border-radius: 5px;
}

/* New Style */
.btn, .btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
    font-weight: 500;
  }
  .btn {
    cursor: pointer;
    text-decoration: none;
    text-shadow: none;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    border-radius: 3px;
    box-shadow: none;
    transition: color 0.25s;
    transition: background-color 0.25s;
    transform: translate3d(0px, 0px, 0px);
    display: -ms-inline-flexbox;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: column;
    height: auto;
  }
  .btn:hover, .btn:focus, .btn-group:focus .btn.dropdown-toggle {
    outline: none;
    transition: 0.25s;
    transform: translate3d(0px, 0px, 0px);
  }
  .btn:active, .btn-group.open .btn.dropdown-toggle, .btn.active {
    color: #000000;
    box-shadow: none;
  }
  .btn.disabled, .btn[disabled] {
    border: 1px solid #f4f9fd;
    background-color: #f4f9fd;
    color: #949db2;
    box-shadow: none;
    cursor: default;
  }
  .btn.disabled:hover, .btn[disabled]:hover {
    background-color: #f4f9fd;
    border: 1px solid #f4f9fd;
  }
  .btn.btn-rounded {
    border-radius: 20px;
  }
  .btn.btn-large {
    font-size: 16px;
    height: auto;
    padding: 14px 18px;
    max-height: 50px;
  }
  .btn.btn-large > [class^="fui-"] {
    top: 0;
  }
  .btn.btn-large > [class^="fui-"].pull-right {
    margin-right: -2px;
  }
  .btn.btn-small {
    font-size: 13px;
    height: auto;
    padding: 8px 18px;
    max-height: 36px;
  }
  .btn.btn-small > [class^="fui-"] {
    top: 0;
  }
  .btn.btn-small > [class^="fui-"].pull-right {
    margin-right: -2px;
  }
  .btn.btn-icon {
    padding-left: 42px;
  }
  .btn.btn-icon-add-channel {
    min-width: 190px;
    max-width: 190px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    -ms-flex-align: normal;
        -ms-grid-row-align: normal;
        align-items: normal;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTTAgMGgyMHYyMEgweiIvPgogICAgICAgIDxwYXRoIGQ9Ik0wIDBoMjAuMjl2MTkuNDQ0SDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTYuNDc0IDMuNTI2SDE5djEuNjg1aC0yLjUyNnYyLjUyNmgtMS42ODVWNS4yMWgtMi41MjZWMy41MjZoMi41MjZWMWgxLjY4NXYyLjUyNnptLTEuNjg1IDExLjc5di01LjA1M2gxLjY4NVYxN0gzVjMuNTI2aDYuNzM3djEuNjg1SDQuNjg0djEwLjEwNUgxNC43OXoiLz4KICAgIDwvZz4KPC9zdmc+Cg==) 14px center no-repeat;
  }
  .btn.btn-icon-add-user {
    min-width: 190px;
    max-width: 190px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    -ms-flex-align: normal;
        -ms-grid-row-align: normal;
        align-items: normal;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHBhdGggZD0iTTAgMGgyMHYyMEgweiIvPgogICAgICAgIDxwYXRoIGQ9Ik0wIDBoMjAuMjl2MTkuNDQ0SDB6Ii8+CiAgICAgICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTIuNDU1IDExLjEyNWMtMi4xODUgMC02LjU0NiAxLjA4LTYuNTQ2IDMuMjVWMTZIMTl2LTEuNjI1YzAtMi4xNy00LjM2LTMuMjUtNi41NDUtMy4yNXpNNS4wOSA3Ljg3NVY1LjQzN0gzLjQ1NXYyLjQzOEgxVjkuNWgyLjQ1NXYyLjQzOEg1LjA5VjkuNWgyLjQ1NFY3Ljg3NUg1LjA5MXpNMTIuNDU1IDkuNWMxLjgwNyAwIDMuMjcyLTEuNDU1IDMuMjcyLTMuMjVTMTQuMjYyIDMgMTIuNDU1IDNjLTEuODA4IDAtMy4yNzMgMS40NTUtMy4yNzMgMy4yNXMxLjQ2NSAzLjI1IDMuMjczIDMuMjV6Ii8+CiAgICA8L2c+Cjwvc3ZnPgo=) 14px center no-repeat;
  }
  .btn.btn-primary {
    background-color: #6f7273;
    border-color: #6f7273;
    color: #ffffff;
  }
  .btn.btn-primary:hover, .btn.btn-primary:focus, .btn-group:focus .btn.btn-primary.dropdown-toggle {
    background-color: #8c8e8f;
    border-color: #8c8e8f;
  }
  .btn.btn-primary:active, .btn-group.open .btn.btn-primary.dropdown-toggle, .btn.btn-primary.active {
    background-color: #5e6162;
    border-color: #5e6162;
  }
  .btn.btn-info {
    background-color: #0065ff;
    border-color: #0065ff;
    color: #ffffff;
  }
  .btn.btn-info:hover, .btn.btn-info:focus, .btn-group:focus .btn.btn-info.dropdown-toggle {
    background-color: #3384ff;
    border-color: #3384ff;
  }
  .btn.btn-info:active, .btn-group.open .btn.btn-info.dropdown-toggle, .btn.btn-info.active {
    background-color: #0056d9;
    border-color: #0056d9;
  }
  .btn.btn-danger {
    background-color: #fc4946;
    border-color: #fc4946;
    color: #ffffff;
  }
  .btn.btn-danger:hover, .btn.btn-danger:focus, .btn-group:focus .btn.btn-danger.dropdown-toggle {
    background-color: #e33636;
    border-color: #e33636;
  }
  .btn.btn-danger:active, .btn-group.open .btn.btn-danger.dropdown-toggle, .btn.btn-danger.active {
    background-color: #d63e3c;
    border-color: #d63e3c;
  }
  .btn.btn-success, .btn.btn-success:focus, .btn-group:focus .btn.btn-success.dropdown-toggle {
    background-color: #02af60;
    border-color: #02af60;
    color: #ffffff;
  }
  .btn.btn-success:hover {
    background-color: #019a54;
    border-color: #019a54;
  }
  .btn.btn-success:active, .btn-group.open .btn.btn-success.dropdown-toggle, .btn.btn-success.active {
    background-color: #089a2c;
    border-color: #089a2c;
    outline: none;
  }
  .btn.btn-warning {
    background-color: #fcd116;
    border-color: #fcd116;
    color: #ffffff;
  }
  .btn.btn-warning:hover, .btn.btn-warning:focus, .btn-group:focus .btn.btn-warning.dropdown-toggle {
    background-color: #fddd1b;
    border-color: #fddd1b;
  }
  .btn.btn-warning:active, .btn-group.open .btn.btn-warning.dropdown-toggle, .btn.btn-warning.active {
    background-color: #d6b213;
    border-color: #d6b213;
  }
  .btn.btn-inverse {
    background-color: #202025;
    border-color: #202025;
  }
  .btn.btn-inverse:hover, .btn.btn-inverse:focus, .btn-group:focus .btn.btn-inverse.dropdown-toggle {
    background-color: #28282e;
    border-color: #28282e;
  }
  .btn.btn-inverse:active, .btn-group.open .btn.btn-inverse.dropdown-toggle, .btn.btn-inverse.active {
    background-color: #1b1b1f;
    border-color: #1b1b1f;
  }
  .btn.btn-dark {
    background-color: #202025;
    border-color: #202025;
    color: #ffffff;
  }
  .btn.btn-dark:hover, .btn.btn-dark:focus, .btn-group:focus .btn.btn-dark.dropdown-toggle {
    background-color: #4d4d51;
    border-color: #4d4d51;
  }
  .btn.btn-dark:active, .btn-group.open .btn.btn-dark.dropdown-toggle, .btn.btn-dark.active {
    background-color: #1b1b1f;
    border-color: #1b1b1f;
  }
  .btn.btn-white {
    background-color: #ffffff;
    border-color: #ffffff;
  }
  .btn.btn-white:hover, .btn.btn-white:focus, .btn-group:focus .btn.btn-white.dropdown-toggle {
    background-color: #ffffff;
    border-color: #ffffff;
  }
  .btn.btn-white:active, .btn-group.open .btn.btn-white.dropdown-toggle, .btn.btn-white.active {
    background-color: #f4f4f4;
    border-color: #f4f4f4;
  }
  .btn.btn-white:active {
    border: solid 1px #dbe1e9;
    color: #475464;
  }
  .btn.btn-gray {
    background-color: #6f8496;
    border-color: #6f8496;
    color: #ffffff;
  }
  .btn.btn-gray:hover, .btn.btn-gray:focus, .btn-group:focus .btn.btn-gray.dropdown-toggle {
    background-color: #4d5e6d;
    border-color: #4d5e6d;
  }
  .btn.btn-gray:active, .btn-group.open .btn.btn-gray.dropdown-toggle, .btn.btn-gray.active {
    background-color: #4d5e6d;
    border-color: #4d5e6d;
  }
  .btn.btn-blue {
    background-color: #191d2e;
    border-color: #191d2e;
    color: #ffffff;
  }
  .btn.btn-blue:hover, .btn.btn-blue:focus, .btn-group:focus .btn.btn-blue.dropdown-toggle {
    background-color: #303443;
    border-color: #303443;
  }
  .btn.btn-blue:active, .btn-group.open .btn.btn-blue.dropdown-toggle, .btn.btn-blue.active {
    background-color: #151927;
    border-color: #151927;
  }
  .btn > [class^="fui-"] {
    margin: 0 4px;
    position: relative;
    top: 1px;
    vertical-align: top;
    display: inline-block;
    zoom: 1;
    *display: inline;
  }
  .btn > [class^="fui-"].pull-right {
    margin-right: 0px;
  }

  .btn-default {
   background-color: #e6e6e6;
   color: #444;
   border-color: #e6e6e6;
}
.btn.btn-default:hover, .btn.btn-default:focus, .btn-group:focus .btn.btn-default.dropdown-toggle {
   background-color: #d6d6d6;
   color: #444;
   border-color: #d6d6d6;
  }
.btn.btn-flat {
   border-radius: 3px;
}

.show_items_button_pub {
	  width: 100%;
    border-radius: 0px;
    background: #02af60;
    color: #fff;
    border: 0px;
    height: 30px;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: none;
}
.help-block {
  color: #999;
  font-size: 13px;
}