/* Colors */
/* Icons */
/* Sizes */
.analytic main {
  display: grid;
  grid-template-areas: "widget-events widget-events widget-events widget-session widget-session widget-session" "widget-events widget-events widget-events widget-tunnelsinfo widget-tunnelsinfo widget-tunnelsinfo" "widget-marketing widget-marketing widget-users widget-users widget-users widget-users" "widget-marketing widget-marketing widget-users widget-users widget-users widget-users" "widget-tunnels widget-tunnels widget-tunnels widget-tunnels widget-tunnels widget-tunnels";
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  margin-top: -10px;
  margin-left: 0;
}
@media (max-width: 1024px) {
  .analytic main {
    grid-template-areas: "widget-events widget-marketing" "widget-session widget-tunnelsinfo" "widget-users widget-users" "widget-tunnels widget-tunnels";
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .analytic main {
    grid-template-areas: "widget-users" "widget-events" "widget-marketing" "widget-session" "widget-tunnelsinfo" "widget-tunnels";
    grid-template-columns: 1fr;
    margin: 10px 0;
    width: 100%;
  }
}
.analytic main .widget {
  background-color: #fff;
  border-radius: 8px;
}

@keyframes blinker {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes blinker {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}
.shake {
  -webkit-animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Colors */
/* Icons */
/* Sizes */
.aside {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 7px 0px rgba(4, 97, 55, 0.07);
  height: calc(100vh - 97px - 20px);
}
@media (max-width: 768px) {
  .aside {
    height: auto;
  }
}
.aside-category {
  padding: 25px 30px;
  border-bottom: 2px solid #fafafd;
}
@media (max-width: 580px) {
  .aside-category {
    padding: 10px;
  }
}
.aside-category a {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 15px;
}
.aside-category a.active .aside-category_plus,
.aside-category a:hover .aside-category_plus {
  color: #fff;
  background-color: #00d393;
}
@media (max-width: 580px) {
  .aside-category a:last-child {
    margin-bottom: 0;
  }
}
.aside-category_plus {
  background-color: #fafafd;
  font-size: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 100%;
  margin-right: 15px;
  font-family: monospace;
}
.aside-nav {
  margin-top: 20px;
}
@media (max-width: 768px) {
  .aside-nav {
    margin-bottom: 20px;
  }
}
@media (max-width: 580px) {
  .aside-nav {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
.aside-nav a {
  display: flex;
  width: 100%;
  padding: 10px 30px;
  text-decoration: none;
  border-left: 5px solid transparent;
}
.aside-nav a.active {
  font-weight: 600;
  color: #3046ea;
  border-color: #3046ea;
}
.aside-nav a.subcategory {
  border-color: transparent;
}
.aside-nav a:hover {
  color: #3046ea;
}
@media (max-width: 768px) {
  .aside-nav a {
    padding-left: 15px;
    font-size: 14px;
  }
}

/* Colors */
/* Icons */
/* Sizes */
.auth main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  flex-basis: auto;
}
.auth main .form-content {
  border-radius: 8px;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0px 3px 7.28px 0.72px rgba(0, 0, 0, 0.07);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 480px;
  margin: 10px;
  user-select: none;
}
@media (max-width: 580px) {
  .auth main .form-content {
    padding: 15px;
    min-width: auto;
    max-width: 100%;
  }
}
.auth main .form-content h1 {
  font-weight: 400;
  font-size: 36px;
}
.auth main .form-content p {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  max-width: 70%;
  font-weight: 600;
  font-size: 13px;
  color: rgba(66, 71, 77, 0.412);
}
.auth main .form-content .field-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 15px;
}
.auth main .form-content .field-wrapper label {
  width: 100%;
  text-align: left;
  color: rgba(66, 71, 77, 0.412);
  font-size: 13px;
  margin-bottom: 5px;
}
.auth main .form-content .field-wrapper input {
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  font-size: 16px;
  height: 46px;
}
.auth main .form-content .field-wrapper svg {
  position: absolute;
  color: rgba(66, 71, 77, 0.412);
  top: 33px;
  left: 10px;
}
.auth main .form-content .field-wrapper svg:last-child {
  left: auto;
  right: 10px;
  cursor: pointer;
}
.auth main .form-content .field-wrapper button {
  font-size: 16px;
  letter-spacing: 1.2px;
  height: 46px;
  font-weight: 600;
  width: 100%;
  color: #fff;
  background-color: #00d393;
}

/* Colors */
/* Icons */
/* Sizes */
.breadcrubms {
  margin: 30px 25px;
}
@media (max-width: 580px) {
  .breadcrubms {
    margin: 15px 10px;
  }
}
.breadcrubms a {
  text-decoration: none;
  color: rgba(66, 71, 77, 0.412);
}
.breadcrubms a:hover {
  color: #3046ea;
}
.breadcrubms a + a {
  color: #14191d;
}
.breadcrubms a + a::before {
  content: '';
  display: inline-block;
  margin-left: 8px;
  margin-right: 8px;
  width: 10px;
  height: 10px;
  background: url("data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAAYElEQVQYlYXOQQrCUAwE0Ne68AhCl4KgeP97ubEVWlGmECi/grPIYh4JOeCGDyabBDqcsOBVFhjxxoC5MJDkTOG6WbDDLRTm3NA3kDwy8lH75RXPtrzj/Lc8/iqTy67EFyhdFKTkNQz0AAAAAElFTkSuQmCC") no-repeat center;
}

/* Colors */
/* Icons */
/* Sizes */
.layout {
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
}
@media (max-width: 580px) {
  .layout {
    padding: 10px;
  }
}

/* Colors */
/* Icons */
/* Sizes */
.content_wrapper {
  border-radius: 8px;
  background: #fff;
  display: flex;
  box-shadow: 0px 3px 7.28px 0.72px rgba(0, 0, 0, 0.07);
}
.content_wrapper .chat {
  display: flex;
  width: 100%;
  height: calc(100vh - 97px - 122px);
}
@media (max-width: 768px) {
  .content_wrapper .chat {
    flex-wrap: wrap;
  }
}
.content_wrapper .chat-box {
  flex-basis: 75%;
  padding: 20px;
}
@media (max-width: 768px) {
  .content_wrapper .chat-box {
    flex-basis: 100%;
    order: 1;
  }
}
@media (max-width: 580px) {
  .content_wrapper .chat-box {
    padding: 10px;
    flex-basis: 100%;
    width: 100%;
  }
}
.content_wrapper .chat-box_conversation {
  padding: 20px;
  background-color: #fdfdfe;
  border-radius: 3px;
  height: calc(100% - 100px);
  overflow-y: scroll;
}
@media (max-width: 580px) {
  .content_wrapper .chat-box_conversation {
    padding: 10px;
  }
}
.content_wrapper .chat-box_conversation.gradient-1 .message[data-from="user"]::before {
  background: linear-gradient(#ff516a, #ff885e);
}
.content_wrapper .chat-box_conversation.gradient-2 .message[data-from="user"]::before {
  background: linear-gradient(#ffa85c, #ffcd6a);
}
.content_wrapper .chat-box_conversation.gradient-3 .message[data-from="user"]::before {
  background: linear-gradient(#665fff, #82b1ff);
}
.content_wrapper .chat-box_conversation.gradient-4 .message[data-from="user"]::before {
  background: linear-gradient(#54cb68, #a0de7e);
}
.content_wrapper .chat-box_conversation.gradient-5 .message[data-from="user"]::before {
  background: linear-gradient(#4acccd, #00fcfd);
}
.content_wrapper .chat-box_conversation.gradient-6 .message[data-from="user"]::before {
  background: linear-gradient(#2a9ef1, #72d5fd);
}
.content_wrapper .chat-box_conversation.gradient-7 .message[data-from="user"]::before {
  background: linear-gradient(#d669ed, #e0a2f3);
}
.content_wrapper .chat-box_footer {
  height: 100px;
  display: flex;
  align-items: center;
}
.content_wrapper .chat-box_footer .chat-input {
  width: 100%;
  height: 66px;
  display: flex;
  background-color: #f6f6f7;
  border-radius: 30px;
  position: relative;
}
.content_wrapper .chat-box_footer .chat-input textarea {
  resize: none;
  width: 100%;
  border-color: transparent;
  background-color: #f6f6f7;
  padding: 13px;
  font-family: sans-serif;
}
.content_wrapper .chat-box_footer .chat-input textarea:focus {
  outline: none;
}
.content_wrapper .chat-box_footer .chat-input_select {
  width: 20%;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .content_wrapper .chat-box_footer .chat-input_select {
    display: none;
  }
}
.content_wrapper .chat-box_footer .chat-input_select select {
  border-right: 1px solid rgba(66, 71, 77, 0.412);
  background-color: #f6f6f7;
  width: 100%;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  padding-left: 20px;
}
.content_wrapper .chat-box_footer .chat-input_select select:focus {
  border-color: transparent;
}
.content_wrapper .chat-box_footer .chat-input_additional {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-right: 10px;
}
@media (max-width: 580px) {
  .content_wrapper .chat-box_footer .chat-input_additional {
    display: none;
  }
}
.content_wrapper .chat-box_footer .chat-input_additional svg {
  color: rgba(66, 71, 77, 0.412);
}
.content_wrapper .chat-box_footer .chat-input label button {
  position: relative;
  background: #3046ea;
  border-radius: 100%;
  color: #fff;
  width: 54px;
  height: 54px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.content_wrapper .chat-box_footer .chat-input #additional {
  visibility: hidden;
  position: absolute;
}
.content_wrapper .chat-box_avatar {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: #00d393;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content_wrapper .chat-info {
  flex-basis: 25%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  overflow: scroll;
}
@media (max-width: 1480px) {
  .content_wrapper .chat-info {
    font-size: 14px;
  }
}
.content_wrapper .chat-info_avatar img {
  border-radius: 100%;
  width: 120px;
  height: 120px;
}
.content_wrapper .chat-info_avatar span {
  border-radius: 100%;
  width: 120px;
  height: 120px;
  background-color: #00d393;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  max-width: 100%;
  color: #fff;
}
@media (max-width: 580px) {
  .content_wrapper .chat-info_avatar span {
    width: 40px;
    height: 40px;
  }
}
.content_wrapper .chat-info_name {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 5px;
}
.content_wrapper .chat-info_date {
  font-size: 14px;
}
.content_wrapper .chat-info_settings {
  border-top: 1px solid #fafafd;
  border-bottom: 1px solid #fafafd;
  padding: 20px;
  margin: 25px 0;
  width: 100%;
}
@media (max-width: 1480px) {
  .content_wrapper .chat-info_settings {
    padding: 15px;
  }
}
.content_wrapper .chat-info_settings-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}
.content_wrapper .chat-info_settings-item label {
  margin-left: 10px;
}
.content_wrapper .chat-info_settings-item.settings-select {
  margin-top: 20px;
}
.content_wrapper .chat-info_settings-item.settings-select label {
  margin-bottom: 10px;
  color: #42474d;
}
.content_wrapper .chat-info_settings-item select {
  width: 100%;
}
.content_wrapper .chat-info_additional {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.content_wrapper .chat-info_additional-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}
.content_wrapper .chat-info_additional-item svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
@media (max-width: 768px) {
  .content_wrapper .chat-info {
    flex-basis: 100%;
    order: 0;
    border-bottom: 2px solid #fafafd;
  }
}
@media (max-width: 580px) {
  .content_wrapper .chat-info {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .content_wrapper .chat-info_date,
  .content_wrapper .chat-info_settings {
    display: none;
  }
  .content_wrapper .chat-info_avatar {
    flex-basis: 50px;
    width: 50px;
  }
  .content_wrapper .chat-info_avatar img {
    max-width: 100%;
    height: auto;
  }
  .content_wrapper .chat-info_name {
    flex-basis: calc(100% - 65px);
    width: calc(100% - 65px);
    margin-left: 15px;
    text-align: center;
  }
  .content_wrapper .chat-info_additional {
    margin-top: 10px;
    flex-basis: 100%;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
  .content_wrapper .chat-info_additional-item {
    padding: 5px;
  }
}
#fileModal #image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
}
#fileModal #image img {
  max-height: 250px;
}
#fileModal #file {
  display: flex;
  text-align: center;
  justify-content: center;
  font-size: 18px;
  color: #00d393;
}
#fileModal #file svg {
  margin-right: 10px;
  width: 50px;
  height: 50px;
}
#fileModal #file p {
  align-self: center;
}
#fileModal .additional {
  display: none;
}
#fileModal.image #file {
  display: none;
}
#fileModal.image .additional {
  display: block;
}

/* Colors */
/* Icons */
/* Sizes */
@media (max-width: 580px) {
  .chats .list-item_phone,
  .chats .list-item_name {
    min-width: auto;
    flex-basis: calc((100% - 50px) / 2);
    font-size: 11px;
  }
  .chats .list-item_type,
  .chats .list-item_lastAction,
  .chats .list-item_category {
    display: none;
  }
}
.chats .chosen-container .chosen-drop .chosen-results {
  max-height: 200px;
  overflow: scroll;
}

/* Colors */
/* Icons */
/* Sizes */
.chosen-container {
  position: relative;
  border: 1px solid #fafafd;
  border-radius: 3px;
  font-size: 14px;
  height: 38px;
}
.chosen-container.chosen-with-drop .chosen-drop {
  clip: auto;
  clip-path: none;
}
.chosen-container .chosen-choices {
  overflow: hidden;
  display: flex;
  list-style: none;
  align-items: center;
  height: 100%;
  padding: 10px;
}
.chosen-container .chosen-choices li {
  padding: 5px;
}
.chosen-container .chosen-choices li.search-field input {
  border: 0;
  height: 100%;
  padding: 0;
  color: #d6d6d6;
}
.chosen-container .chosen-choices li.search-field {
  padding: 0;
}
.chosen-container .chosen-choices li.search-choice {
  background-color: #8d95e7;
  border-radius: 3px;
  color: #fff;
  padding: 1px 7px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chosen-container .chosen-choices li.search-choice span {
  margin-right: 7px;
}
.chosen-container .chosen-choices li.search-choice .search-choice-close {
  width: 13px;
  height: 13px;
  display: flex;
  background-color: #b0b6ee;
  border-radius: 100%;
  position: relative;
  cursor: pointer;
}
.chosen-container .chosen-choices li.search-choice .search-choice-close::before,
.chosen-container .chosen-choices li.search-choice .search-choice-close::after {
  content: '';
  display: block;
  width: calc(100% - 4px);
  background-color: #14191d;
  height: 1px;
  position: absolute;
  transform: rotate(45deg);
  top: 50%;
  left: 2px;
  opacity: 0.5;
}
.chosen-container .chosen-choices li.search-choice .search-choice-close::after {
  transform: rotate(-45deg);
}
.chosen-container .chosen-drop {
  position: absolute;
  top: 100%;
  width: 100%;
  border: 1px solid #fafafd;
  background-color: #fff;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  clip: rect(0, 0, 0, 0);
  clip-path: inset(100% 100%);
}
.chosen-container .chosen-drop .chosen-results {
  list-style: none;
}
.chosen-container .chosen-drop .chosen-results li {
  padding: 6px;
}
.chosen-container .chosen-drop .chosen-results li.result-selected {
  color: rgba(66, 71, 77, 0.412);
}
.chosen-container .chosen-drop .chosen-results li.highlighted {
  background-color: #3046ea;
  color: #fff;
  cursor: pointer;
}

/* Colors */
/* Icons */
/* Sizes */

/* Colors */
/* Icons */
/* Sizes */
.action-buttons {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
}
.action-buttons button {
  padding: 0 15px;
  height: 36px;
  font-weight: 600;
  margin-right: 20px;
}
.action-buttons_save {
  background-color: #3046ea;
  color: #fff;
}
.action-buttons_save:hover {
  background-color: #00d393;
}
.action-buttons_remove {
  font-weight: 600;
  border: 1px solid rgba(66, 71, 77, 0.412);
}
.action-buttons_remove:hover {
  background-color: #bf2a3b;
  border-color: #bf2a3b;
  color: #fff;
}

/* Colors */
/* Icons */
/* Sizes */
.events .event_wrapper {
  display: flex;
  width: 100%;
}
@media (max-width: 1240px) {
  .events .event_wrapper {
    flex-wrap: wrap;
  }
}
@media (max-width: 1024px) {
  .events .event_wrapper {
    flex-direction: column;
  }
}
.events .event_wrapper-col {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  flex-basis: calc(100% - 30% - 20px);
  width: calc(100% - 30% - 20px);
  background: #fff;
}
@media (max-width: 1024px) {
  .events .event_wrapper-col {
    width: 100%;
    flex-basis: 100%;
  }
}
.events .event_wrapper-col.full-size {
  flex-basis: 100%;
}
.events .event_wrapper-col.full-size + .event_wrapper-col {
  display: none;
}
.events .event_wrapper-col:last-child {
  flex-basis: 30%;
  width: 30%;
  margin-left: 20px;
  margin-top: 39px;
  min-height: 550px;
}
@media (max-width: 1024px) {
  .events .event_wrapper-col:last-child {
    margin-top: 15px;
    margin-left: 0;
    width: 100%;
    flex-basis: 100%;
    min-height: auto;
  }
}
.events .event_wrapper .event_tabs {
  display: flex;
  background: #fafafd;
}
@media (max-width: 580px) {
  .events .event_wrapper .event_tabs {
    overflow-x: scroll;
  }
}
.events .event_wrapper .event_tabs-item {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .events .event_wrapper .event_tabs-item {
    font-size: 13px;
  }
}
@media (max-width: 580px) {
  .events .event_wrapper .event_tabs-item {
    white-space: nowrap;
    padding: 15px 20px;
  }
}
.events .event_wrapper .event_tabs-item.active {
  background-color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: #3046ea;
}
.events .event_wrapper .event_tabs-item.disabled {
  color: rgba(66, 71, 77, 0.412);
  cursor: not-allowed;
  pointer-events: none;
}
.events .event_wrapper .event_contents {
  background-color: #fff;
}
.events .event_wrapper .event_contents-item {
  padding: 20px;
  display: none;
}
@media (max-width: 580px) {
  .events .event_wrapper .event_contents-item {
    padding: 10px;
  }
}
.events .event_wrapper .event_contents-item.active {
  display: flex;
  flex-direction: column;
}
.events .event_wrapper .event_settings {
  display: flex;
  flex-direction: column;
  padding: 20px 40px;
}
@media (max-width: 1480px) {
  .events .event_wrapper .event_settings {
    padding: 20px;
    font-size: 14px;
  }
}
.events .event_wrapper .event_settings-item {
  display: flex;
  flex-direction: column;
}
.events .event_wrapper .event_settings-item .event_checkbox-item {
  margin-right: 0;
}
.events .event_wrapper .event_checkbox {
  display: flex;
  padding: 0 10px;
  font-size: 14px;
}
@media (max-width: 580px) {
  .events .event_wrapper .event_checkbox {
    flex-direction: column;
  }
}
.events .event_wrapper .event_checkbox-item {
  display: flex;
  align-items: center;
  margin-right: 25px;
}
@media (max-width: 580px) {
  .events .event_wrapper .event_checkbox-item {
    margin-bottom: 10px;
  }
}
.events .event_wrapper .event_checkbox-item label {
  color: rgba(66, 71, 77, 0.412);
  margin: 0;
  margin-left: 10px;
}
.events .event_wrapper .chosen-container,
.events .event_wrapper div[data-editor],
.events .event_wrapper input {
  color: #14191d;
  border-color: #d9d5d2;
}
.events .event_wrapper .chosen-container::placeholder,
.events .event_wrapper div[data-editor]::placeholder,
.events .event_wrapper input::placeholder {
  color: #d6d6d6;
}
.events .event_wrapper .chosen-container {
  width: 100% !important;
}
.events .event_wrapper .keyboard_add,
.events .event_wrapper .keyboard_list {
  font-size: 14px;
}
.events .event_wrapper .keyboard_add input,
.events .event_wrapper .keyboard_list input {
  border-color: #fafafd;
  width: 100%;
}
.events .event_wrapper .keyboard_add .list,
.events .event_wrapper .keyboard_list .list {
  margin-top: 20px;
  margin-bottom: 40px;
}
.events .event_wrapper .keyboard_add .list-body_row,
.events .event_wrapper .keyboard_list .list-body_row {
  padding: 5px;
}
.events .event_wrapper .keyboard_add .list-item_width,
.events .event_wrapper .keyboard_list .list-item_width,
.events .event_wrapper .keyboard_add .list-item_number,
.events .event_wrapper .keyboard_list .list-item_number {
  flex-basis: 9%;
}
.events .event_wrapper .keyboard_add .list-item_name,
.events .event_wrapper .keyboard_list .list-item_name {
  min-width: auto;
  flex-basis: calc(100% - (9% * 2) - 50px - 20% - 32%);
}
.events .event_wrapper .keyboard_add .list-item_handler,
.events .event_wrapper .keyboard_list .list-item_handler {
  flex-basis: 20%;
}
.events .event_wrapper .keyboard_add .list-item_handler select,
.events .event_wrapper .keyboard_list .list-item_handler select {
  width: 100%;
}
.events .event_wrapper .keyboard_add .list-item_next,
.events .event_wrapper .keyboard_list .list-item_next {
  flex-basis: 32%;
  justify-content: space-between;
}
.events .event_wrapper .keyboard_add .list-item_next select,
.events .event_wrapper .keyboard_list .list-item_next select {
  width: calc(100% - 95px);
}
.events .event_wrapper .keyboard_add .list-item_next a,
.events .event_wrapper .keyboard_list .list-item_next a {
  margin-left: 15px;
  border: 1px solid rgba(66, 71, 77, 0.412);
  border-radius: 3px;
  width: 80px;
  padding: 3px;
  text-align: center;
}
.events .event_wrapper .keyboard_add-title,
.events .event_wrapper .keyboard_list-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.events .event_wrapper .keyboard_add .list-item_next select {
  width: 100%;
}
.events .event_wrapper .form_wrapper {
  font-size: 14px;
}
.events .event_wrapper .form_wrapper .list {
  margin-top: 20px;
  margin-bottom: 40px;
}
.events .event_wrapper .form_wrapper .list-body_row-item input {
  width: 100%;
}
.events .event_wrapper .form_wrapper .list-item_number {
  flex-basis: 10%;
}
.events .event_wrapper .form_wrapper .list-item_name {
  flex-basis: calc(35% - 50px);
  min-width: auto;
}
.events .event_wrapper .form_wrapper .list-item_answer {
  flex-basis: 30%;
}
.events .event_wrapper .form_wrapper .list-item_buttons {
  flex-basis: 25%;
}
.events .event_wrapper .form_wrapper .form_new-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .events a[data-tab="keyboard"],
  .events a[data-tab="form"] {
    display: none;
  }
}

/* Colors */
/* Icons */
/* Sizes */
.events .list_wrapper .list-body_row-item,
.events .list_wrapper .list-header_item {
  flex-basis: calc((100% - 100px) / 2);
}
.events .list_wrapper .list-body_row-item:last-child,
.events .list_wrapper .list-header_item:last-child {
  flex-basis: 100px;
}
@media (max-width: 580px) {
  .events .list_wrapper .list-item_name {
    min-width: auto;
    flex-basis: calc(100% - 100px);
    font-size: 11px;
  }
  .events .list_wrapper .list-item_type,
  .events .list_wrapper .list-item_lastAction,
  .events .list_wrapper .list-item_category {
    display: none;
  }
}

/* Colors */
/* Icons */
/* Sizes */
select,
textarea,
input {
  height: 38px;
  padding: 8px;
  border: 1px solid #d9d5d2;
  border-radius: 4px;
  appearance: none;
  color: #14191d;
}
select::placeholder,
textarea::placeholder,
input::placeholder {
  color: #888888;
}
select:focus,
textarea:focus,
input:focus {
  border: 1px solid #7d7d7f;
  outline: none;
}
select.validate-error,
textarea.validate-error,
input.validate-error {
  border-color: #bf2a3b !important;
}
textarea {
  height: auto;
}
select {
  border-color: #fafafd;
}
button {
  height: 38px;
  padding: 5px;
  border-radius: 4px;
  appearance: none;
  border: 1px solid #fafafd;
  background-color: #fafafd;
  color: #14191d;
  cursor: pointer;
}
.input-group {
  display: flex;
}
.input-group input:focus + .input-group-append button {
  border-top: 1px solid #7d7d7f;
  border-right: 1px solid #7d7d7f;
  border-bottom: 1px solid #7d7d7f;
}
.input-group-append {
  margin-left: -2px;
}
.input-group-append button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group-prepend {
  margin-right: -2px;
}
.input-group-prepend a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fafafd;
  border-radius: 4px;
}
select {
  padding-right: 30px;
  background: url("data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAICAYAAAAvOAWIAAAAeElEQVQYlYXQPQoCMRRF4c8/LMXKxh24/0XYit1gp2ArKmIxKhcmwzDKeJrc93LyEjLCBnMkv31T+s8plsj6j3qCM9bNhCG2kWvcsBow97hGDg8kL36IJxwTxp3mIad7Ym6sStGVw673I6lbyjMKL1wwaybe2x18AE0kFsh9xfMzAAAAAElFTkSuQmCC") no-repeat;
  background-position: calc(100% - 10px);
  background-color: #fafafd;
  color: #888888;
}
input[type="radio"],
input[type="checkbox"] {
  height: 20px;
  width: 20px;
  cursor: pointer;
  border-color: rgba(66, 71, 77, 0.412);
}
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  border-color: rgba(66, 71, 77, 0.412);
}
input[type="radio"]:hover,
input[type="checkbox"]:hover {
  border-color: #3046ea;
}
input[type="radio"]:checked,
input[type="checkbox"]:checked,
input[type="radio"]:active,
input[type="checkbox"]:active {
  border-color: #3046ea;
  background-color: #3046ea;
  box-shadow: inset 0 0 0 2px #fff;
}
input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label,
input[type="radio"]:active + label,
input[type="checkbox"]:active + label {
  color: #3046ea;
}
input[type="radio"] {
  border-radius: 100%;
  margin-right: 15px;
}
label {
  cursor: pointer;
  user-select: none;
}
.form-input,
.form-select {
  display: flex;
  flex-direction: column;
}
.form-input label,
.form-select label {
  color: #42474d;
  font-size: 14px;
  margin-left: 10px;
  margin-bottom: 10px;
}
.form-checkbox {
  display: flex;
  align-items: center;
  padding-left: 15px;
}
.form-checkbox label {
  margin-left: 15px;
}
.chosen-select {
  visibility: hidden;
}
.form-group {
  display: flex;
  align-items: center;
  margin: 1em;
}

/* Colors */
/* Icons */
/* Sizes */
.header {
  box-shadow: 0px 0px 7px 0px rgba(4, 97, 55, 0.07);
  height: 97px;
  display: flex;
  padding: 15px;
  background: #fff;
}
@media (max-width: 580px) {
  .header {
    padding: 10px 0;
    height: 60px;
  }
}
.header-logo {
  flex-basis: 360px;
  padding: 15px;
  height: 100%;
  display: flex;
  align-items: center;
}
.header-logo a {
  font-size: 0;
}
@media (max-width: 1366px) {
  .header-logo {
    flex-basis: 300px;
  }
}
@media (max-width: 768px) {
  .header-logo {
    padding: 5px;
    flex-basis: calc(100% / 3);
    order: 1;
  }
  .header-logo img {
    max-width: 100%;
  }
}
@media (max-width: 580px) {
  .header-logo {
    flex-basis: 50%;
  }
}
.header-menu {
  flex-basis: calc(100% - 300px - 360px);
  padding: 15px;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  align-items: center;
}
.header-menu.loaded {
  opacity: 1;
}
.header-menu nav {
  font-size: 16px;
  line-height: 2.478;
  font-weight: 600;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-right: 70px;
}
.header-menu nav .header-menu_additional {
  cursor: pointer;
  position: absolute;
  right: 0;
  padding: 10px;
}
.header-menu nav .header-menu_additional::before {
  content: '';
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: radial-gradient(rgba(66, 71, 77, 0.412) 25%, transparent 25%);
  background-size: 13.33333333px 13.33333333px;
  background-color: #fafafd;
  background-repeat: repeat-y;
  background-position: center;
}
.header-menu nav .header-menu_additional nav {
  display: none;
}
.header-menu nav .header-menu_additional:hover nav {
  position: absolute;
  right: 0;
  top: 60px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  width: auto;
  padding: 10px;
  border-radius: 4px;
  align-items: flex-end;
  box-shadow: 0px 3px 7.28px 0.72px rgba(0, 0, 0, 0.07);
}
.header-menu nav .header-menu_additional:hover nav a {
  line-height: 1.2;
  text-align: right;
  margin: 5px;
}
.header-menu nav a {
  text-decoration: none;
  border-bottom: 4px solid transparent;
}
.header-menu nav a.active {
  color: #3046ea;
  border-color: #3046ea;
}
.header-menu nav a:hover {
  color: #3046ea;
}
@media (max-width: 1366px) {
  .header-menu {
    flex-basis: calc(100% - 200px - 300px);
  }
}
@media (max-width: 768px) {
  .header-menu {
    flex-basis: calc(100% / 3);
    order: 0;
  }
  .header-menu::before {
    content: '';
    background: linear-gradient(to bottom, #bbbbbe 20%, transparent 21%, transparent 40%, #bbbbbe 41%, #bbbbbe 60%, transparent 61%, transparent 80%, #bbbbbe 81%);
    width: 24px;
    height: 20px;
  }
  .header-menu nav {
    background-color: #fff;
    left: -100%;
    top: 64px;
    flex-wrap: wrap;
    position: absolute;
    flex-direction: column;
    padding: 10px;
    transition: all 0.5s;
    height: 100%;
    justify-content: flex-start;
  }
  .header-menu.active::before {
    background: linear-gradient(45deg, transparent 45%, #bbbbbe 46%, #bbbbbe 55%, transparent 56%), linear-gradient(-45deg, transparent 45%, #bbbbbe 46%, #bbbbbe 55%, transparent 56%);
  }
  .header-menu.active nav {
    left: 0;
    z-index: 2;
  }
}
@media (max-width: 580px) {
  .header-menu {
    flex-basis: 25%;
  }
}
.header-actions {
  flex-basis: 300px;
  padding: 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
}
.header-actions .switch-lang {
  width: 64px;
  height: 40px;
  border-radius: 4px;
  background: #fafafd;
  text-align: center;
}
@media (max-width: 580px) {
  .header-actions .switch-lang {
    width: 50px;
    height: 30px;
  }
}
.header-actions .switch-lang_current {
  color: #3046ea;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 580px) {
  .header-actions .switch-lang_current {
    font-size: 15px;
  }
}
.header-actions .switch-lang_current::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  width: 12px;
  height: 12px;
  background: url("data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAICAYAAAAvOAWIAAAAeElEQVQYlYXQPQoCMRRF4c8/LMXKxh24/0XYit1gp2ArKmIxKhcmwzDKeJrc93LyEjLCBnMkv31T+s8plsj6j3qCM9bNhCG2kWvcsBow97hGDg8kL36IJxwTxp3mIad7Ym6sStGVw673I6lbyjMKL1wwaybe2x18AE0kFsh9xfMzAAAAAElFTkSuQmCC") no-repeat center;
}
@media (max-width: 580px) {
  .header-actions .switch-lang_current::after {
    margin-left: 4px;
    width: 8px;
    height: 8px;
    background-size: contain;
  }
}
.header-actions .switch-lang_dropdown_wrapper {
  display: none;
}
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper {
  display: flex;
}
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper .switch-lang_dropdown {
  width: 100%;
  display: flex;
  background: #fafafd;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0px 3px 7.28px 0.72px rgba(0, 0, 0, 0.07);
  background: #fff;
  padding: 12px;
  margin-top: 15px;
  position: relative;
  border-radius: 4px;
}
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper .switch-lang_dropdown::after,
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper .switch-lang_dropdown::before {
  position: absolute;
  right: 11px;
  top: -5px;
  display: block;
  width: 12px;
  height: 12px;
  content: "\00a0";
  background-color: #fff;
  z-index: -1;
  transform: rotate(45deg);
  box-shadow: 0px 3px 7.28px 0.72px rgba(0, 0, 0, 0.07);
}
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper .switch-lang_dropdown::after {
  box-shadow: none;
  z-index: 1;
}
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper .switch-lang_dropdown-item {
  text-transform: uppercase;
  text-decoration: none;
}
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper .switch-lang_dropdown-item:first-of-type {
  margin-bottom: 5px;
}
.header-actions .switch-lang:hover .switch-lang_dropdown_wrapper .switch-lang_dropdown-item:hover {
  color: #3046ea;
}
.header-actions_icon {
  margin-left: 20px;
}
.header-actions_icon * {
  color: #e3e3e3;
}
.header-actions_icon:hover * {
  color: #bf2a3b;
}
@media (max-width: 580px) {
  .header-actions_icon {
    display: none;
  }
}
@media (max-width: 1366px) {
  .header-actions {
    flex-basis: 200px;
  }
}
@media (max-width: 768px) {
  .header-actions {
    flex-basis: calc(100% / 3);
    order: 2;
  }
}
@media (max-width: 580px) {
  .header-actions {
    flex-basis: 25%;
  }
}

/* Colors */
/* Icons */
/* Sizes */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  flex-wrap: wrap;
  background: #fafafd;
  font-family: "Open Sans", system-ui;
  color: #14191d;
  overflow-y: scroll;
}
@media (max-width: 580px) {
  body {
    flex-direction: column;
    width: 100%;
    font-size: 14px;
  }
}
body header {
  flex-basis: 100%;
  margin-bottom: 20px;
}
@media (max-width: 580px) {
  body header {
    flex-basis: auto;
  }
}
body aside {
  flex-basis: 360px;
  width: 360px;
  margin-left: 10px;
  margin-right: 10px;
}
@media (max-width: 1366px) {
  body aside {
    flex-basis: 300px;
    width: 300px;
  }
}
@media (max-width: 768px) {
  body aside {
    flex-basis: 100%;
    width: 100%;
  }
}
@media (max-width: 580px) {
  body aside {
    flex-basis: auto;
    width: calc(100% - 20px);
  }
}
body aside + main {
  flex-basis: calc(100% - (360px + 80px));
  width: calc(100% - (360px + 80px));
}
@media (max-width: 1366px) {
  body aside + main {
    flex-basis: calc(100% - (300px + 80px));
    width: calc(100% - (300px + 80px));
  }
}
@media (max-width: 1024px) {
  body aside + main {
    flex-basis: calc(100% - 300px - 40px);
  }
}
@media (max-width: 768px) {
  body aside + main {
    flex-basis: 100%;
  }
}
@media (max-width: 580px) {
  body aside + main {
    flex-basis: auto;
    width: calc(100% - 20px);
    width: 100%;
    margin: 0;
  }
}
body main {
  flex-basis: 100%;
  margin-left: 10px;
  margin-right: 10px;
}
body a {
  color: #14191d;
}
body .list_wrapper {
  background-color: #fff;
  font-size: 14px;
  padding: 30px;
  border-radius: 8px;
}
@media (max-width: 580px) {
  body .list_wrapper {
    padding: 12px;
  }
}
.mb-1 {
  margin-bottom: 1em;
}
.mb-2 {
  margin-bottom: 2em;
}
.list-body_row-item .js__control--button {
  font-size: 30px;
  cursor: pointer;
}
.list-body_row-item .js__control--button:hover {
  text-decoration: none;
}

/* Colors */
/* Icons */
/* Sizes */
.list-control {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
}
@media (max-width: 580px) {
  .list-control {
    flex-direction: column;
    align-items: flex-start;
  }
}
.list-control_founded {
  flex-basis: 30%;
}
@media (max-width: 580px) {
  .list-control_founded {
    margin-top: 5px;
    margin-bottom: 20px;
    flex-basis: 100%;
    flex-direction: column;
  }
}
.list-control_actions {
  flex-basis: 70%;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 580px) {
  .list-control_actions {
    flex-basis: 100%;
    flex-direction: column;
    width: 100%;
  }
}
.list-control_actions > form,
.list-control_actions > div {
  margin-left: 20px;
}
@media (max-width: 580px) {
  .list-control_actions > form,
  .list-control_actions > div {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .list-control_actions > form input,
  .list-control_actions > div input {
    width: 100%;
  }
}
.list-control .search-remove {
  display: flex;
  align-items: center;
}
.list-control input {
  background: #fafafd;
  border-color: #fafafd;
}
.list-header {
  display: flex;
  background-color: #00d393;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
}
.list-header_item {
  flex-basis: calc((100% - 50px) / 5);
  padding: 10px;
  white-space: nowrap;
}
@media (max-width: 580px) {
  .list-header_item {
    font-size: 11px;
    padding: 10px 5px;
  }
}
.list-header_item:last-child {
  flex-basis: 50px;
}
.list-body {
  display: flex;
  flex-wrap: wrap;
}
.list-body_row {
  border-bottom: 1px solid #fafafd;
  display: flex;
  flex-basis: 100%;
}
.list-body_row-item {
  display: flex;
  align-items: center;
  flex-basis: calc((100% - 50px) / 5);
  border-right: 2px solid #fafafd;
  padding: 10px;
}
@media (max-width: 580px) {
  .list-body_row-item {
    padding: 5px;
  }
}
.list-body_row-item:last-child {
  flex-basis: 50px;
  border-right: 0;
  justify-content: space-around;
}
.list-body_row-item a {
  font-weight: 600;
  text-decoration: none;
}
.list-body_row-item a:hover {
  color: #3046ea;
  text-decoration: underline;
}
.list-body_row-item .remove-item {
  color: #e3e3e3;
}
.list-body_row-item .remove-item:hover {
  color: #bf2a3b;
}
.list-body_row-item .copy-item {
  color: #e3e3e3;
}
.list-body_row-item .copy-item:hover {
  color: #00d393;
}
.list-item_name {
  min-width: 400px;
}
@media (max-width: 1366px) {
  .list-item_name {
    min-width: 250px;
  }
}
.list-item_type {
  max-width: 200px;
}
@media (max-width: 1366px) {
  .list-item_type {
    min-width: 150px;
  }
}
.list-item_category select {
  width: 100%;
}

/* Colors */
/* Icons */
/* Sizes */
.mediafiles {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
}
.mediafiles_item {
  flex-basis: calc((100% - (10px * 8)) / 8);
  position: relative;
  margin: 5px;
  max-height: 120px;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mediafiles_item a {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  right: 5px;
  top: 5px;
  background-color: #fff;
  border-radius: 5px;
}
.mediafiles_item a:hover {
  color: #bf2a3b;
}
.mediafiles_item img,
.mediafiles_item video {
  max-width: 100%;
}
.widget {
  background-color: #fdfdfe;
  margin-bottom: 20px;
  border-radius: 5px;
  padding: 10px;
}
.widget-save {
  display: flex;
  align-items: flex-end;
}
.widget-save button {
  background-color: #3046ea;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.widget-save button:hover {
  background: #00d393;
}

/* Colors */
/* Icons */
/* Sizes */
.message {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 25px;
  position: relative;
}
.message-text {
  border-radius: 10px;
  padding: 10px;
}
.message-file {
  border-radius: 10px;
  padding: 10px;
  width: 320px;
}
@media (max-width: 580px) {
  .message-file {
    width: 220px;
  }
}
.message-file a {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 10px;
}
.message-file a .message-file_name {
  font-size: 12px;
  margin-top: 10px;
}
.message-avatar {
  display: none;
}
.message::before {
  content: attr(avatar);
  width: 44px;
  height: 44px;
  background: linear-gradient(#ff516a, #ff885e);
  color: #fff;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 44px;
}
@media (max-width: 580px) {
  .message::before {
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 20px;
  }
}
.message::after {
  content: attr(time);
  position: absolute;
  bottom: -20px;
  font-size: 12px;
  color: rgba(66, 71, 77, 0.412);
}
.message[data-from="user"] {
  align-items: flex-start;
  padding-left: 54px;
}
@media (max-width: 580px) {
  .message[data-from="user"] {
    padding-left: 35px;
  }
}
.message[data-from="user"] .message-file,
.message[data-from="user"] .message-text {
  background-color: #f6f6f7;
  color: #42474d;
  max-width: 320px;
  border-bottom-left-radius: 0;
}
@media (max-width: 580px) {
  .message[data-from="user"] .message-file,
  .message[data-from="user"] .message-text {
    max-width: 220px;
  }
}
.message[data-from="user"] .message-file a {
  color: #42474d;
}
.message[data-from="user"].with-photo::before {
  content: '';
}
.message[data-from="user"] .message-avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}
@media (max-width: 580px) {
  .message[data-from="user"] .message-avatar {
    width: 25px;
    height: 25px;
  }
}
.message[data-from="client"] {
  align-items: flex-end;
  padding-right: 54px;
}
@media (max-width: 580px) {
  .message[data-from="client"] {
    padding-right: 35px;
  }
}
.message[data-from="client"] .message-file,
.message[data-from="client"] .message-text {
  background-color: #3046ea;
  color: #fff;
  max-width: 320px;
  border-bottom-right-radius: 0;
}
@media (max-width: 580px) {
  .message[data-from="client"] .message-file,
  .message[data-from="client"] .message-text {
    max-width: 220px;
  }
}
.message[data-from="client"]::before {
  background: linear-gradient(#54cb68, #a0de7e);
  right: 0;
  left: auto;
}
.message img,
.message audio,
.message video {
  flex-basis: 100%;
  max-width: 320px;
}
@media (max-width: 580px) {
  .message img,
  .message audio,
  .message video {
    max-width: 100%;
  }
}
@media (max-width: 580px) {
  .message {
    font-size: 14px;
  }
}
.with-avatar .message[data-from="user"]::before {
  display: none;
}

/* Colors */
/* Icons */
/* Sizes */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
}
.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}
@media (min-width: 576px) {
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
}
.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}
.modal-content img {
  max-width: 100%;
}
.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal-title {
  font-size: 1.25rem;
  margin-bottom: 0;
  line-height: 1.5;
}
.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}
.fade {
  transition: opacity 0.15s linear;
}

/* Colors */
/* Icons */
/* Sizes */
#notifications {
  color: #fff;
  position: fixed;
  top: 100px;
  right: 15px;
  z-index: 2;
  border-radius: 5px;
  padding: 10px;
  max-width: 300px;
}
.notification {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  margin-bottom: 10px;
  display: none;
}
.notification.alert {
  background-color: #fd7e14;
}
.notification.warning {
  background-color: #dc3545;
}
.notification.success {
  background-color: #269a15;
}

/* Colors */
/* Icons */
/* Sizes */
.paginating-container {
  display: flex;
  margin-top: 30px;
  margin-bottom: 50px;
  justify-content: flex-end;
}
@media (max-width: 580px) {
  .paginating-container {
    justify-content: center;
  }
}
.paginating-container .pagination {
  display: flex;
  list-style: none;
}
.paginating-container .pagination li {
  margin: 5px;
  border-radius: 3px;
}
.paginating-container .pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 32px;
  text-decoration: none;
  border-radius: 3px;
}
.paginating-container .pagination li a:hover {
  color: #3046ea;
}
.paginating-container .pagination li a.active {
  background-color: #3046ea;
  color: #fff;
}
@media (max-width: 580px) {
  .paginating-container .pagination li a {
    width: 36px;
    height: 40px;
  }
}
.paginating-container .pagination li.next,
.paginating-container .pagination li.prev {
  background: url("data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAAYElEQVQYlYXOQQrCUAwE0Ne68AhCl4KgeP97ubEVWlGmECi/grPIYh4JOeCGDyabBDqcsOBVFhjxxoC5MJDkTOG6WbDDLRTm3NA3kDwy8lH75RXPtrzj/Lc8/iqTy67EFyhdFKTkNQz0AAAAAElFTkSuQmCC") no-repeat center;
}
.paginating-container .pagination li.next:hover,
.paginating-container .pagination li.prev:hover {
  background-color: #8d95e7;
  background-image: url("data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAALCAYAAACzkJeoAAAAXElEQVQYlWP8//8/Axawi4GB4QcDSBINr/0PAfroEmugEuJgE5EkViJLIEvOQpeASc6FSmDYz8TAwHAW6lgPDEdDVYVAdUejGwvD4egK0O2JgCrIwiaJMOH/f1cATD3Rbi1j2MEAAAAASUVORK5CYII=");
  transform: rotate(180deg);
}
.paginating-container .pagination li.prev {
  transform: rotate(180deg);
}
.paginating-container .pagination li.prev:hover {
  transform: rotate(0);
}

/* Colors */
/* Icons */
/* Sizes */
.requests .input-group {
  flex-wrap: wrap;
  flex-direction: row;
}
.requests .input-group label {
  flex-basis: 100%;
}
.requests .input-group input {
  flex-basis: calc(100% - 38px + 2px);
}
.requests .input-group-append {
  flex-basis: 38px;
}
.requests .input-group-append button {
  border-color: #d9d5d2;
}
@media (max-width: 580px) {
  .requests .list-item_name,
  .requests .list-item_user {
    min-width: auto;
    flex-basis: calc((100% - 50px) / 2);
    font-size: 11px;
  }
  .requests .list-item_messenger,
  .requests .list-item_date,
  .requests .list-item_operator {
    display: none;
  }
  .requests aside {
    display: none;
  }
  .requests .breadcrubms {
    margin-top: -5px;
  }
}

/* Colors */
/* Icons */
/* Sizes */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #fafafd;
}
::-webkit-scrollbar-thumb {
  background: #00d393;
  border: 1px solid #fafafd;
  background-clip: content-box;
  border-radius: 4px;
  cursor: pointer;
}
::-webkit-scrollbar-thumb:hover {
  background: #00d393;
  border: 1px solid #00d393;
}

/* Colors */
/* Icons */
/* Sizes */
.setting-item {
  margin-bottom: 15px;
}
.setting-item input {
  border-color: #d9d5d2;
}
.setting-item input[type="color"] {
  width: 100%;
}
.setting-item .form-checkbox {
  padding: 15px;
}
@media (max-width: 580px) {
  .setting-item .form-checkbox {
    padding: 10px;
  }
}
.settings .form-group {
  margin-left: 0;
}
.settings .form-group input {
  width: 100%;
}
.settings .list-body_row-item,
.settings .list-header_item {
  flex-basis: calc((100% - 50px) / 4);
}
.settings h6 {
  color: rgba(66, 71, 77, 0.412);
}
.settings h6 a {
  color: #3046ea;
}
.settings .form-group {
  margin-top: 5px;
}
.settings .form-group textarea {
  width: 100%;
  height: 100%;
  resize: none;
  padding: 10px;
  background-color: #fafafd;
  border-color: transparent;
}
.settings .form-group .input-group-append {
  border-left: 1px solid rgba(66, 71, 77, 0.412);
  height: 100%;
}
@media (max-width: 580px) {
  .settings .list-item_name,
  .settings .list-item_phone {
    min-width: auto;
    flex-basis: calc((100% - 50px) / 2);
    font-size: 11px;
  }
  .settings .list-item_vacancy,
  .settings .list-item_email {
    display: none;
  }
}

/* Colors */
/* Icons */
/* Sizes */
.editor {
  position: relative;
}
.editor [data-editor] {
  padding: 10px;
  padding-top: 36px;
  font-size: 14px;
  border: 1px solid #fafafd;
  border-radius: 0.25rem;
  cursor: text;
  min-height: 200px;
  white-space: pre-wrap;
}
.editor [data-editor]:focus-visible,
.editor [data-editor]:focus {
  outline: 1px solid rgba(66, 71, 77, 0.412);
}
.editor [data-editor] + .editor-control {
  height: 28px;
  padding: 5px;
  background: #fff;
  opacity: 0.5;
  top: 5px;
  left: 1px;
  position: absolute;
  display: flex;
  align-items: center;
  width: calc(100% - 2px);
  border-radius: 0.25rem;
}
.editor [data-editor] + .editor-control button {
  padding: 0 10px;
  background-color: #fff;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  margin-right: 5px;
  box-shadow: 0 0 2px #b0b6ee;
}
.editor [data-editor] + .editor-control button.bold {
  font-weight: 600;
}
.editor [data-editor] + .editor-control button.italic {
  font-style: italic;
}
.editor [data-editor] + .editor-control button.underline {
  text-decoration: underline;
}
.editor [data-editor].validate-error {
  border-color: #bf2a3b !important;
}

/* Colors */
/* Icons */
/* Sizes */
span[data-toggle="tooltip"] {
  cursor: help;
  display: inline-flex;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 100%;
  background-color: rgba(66, 71, 77, 0.412);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 15px;
}
.tooltip {
  position: absolute;
  z-index: 9999;
  display: block;
  margin: 5px;
  word-wrap: break-word;
  opacity: 0;
}
.tooltip.show {
  opacity: 0.8;
}
.tooltip .arrow {
  position: absolute;
  display: block;
  width: 10px;
  height: 6px;
}
.tooltip .arrow::before {
  position: absolute;
  content: "";
  border-color: transparent;
  border-style: solid;
}
.bs-tooltip-top {
  padding: 6px 0;
}
.bs-tooltip-top .arrow {
  bottom: 0;
}
.bs-tooltip-top .arrow::before {
  top: 0;
  border-width: 6px 5px 0;
  border-top-color: #14191d;
}
.bs-tooltip-right {
  padding: 0 6px;
}
.bs-tooltip-right .arrow {
  left: 0;
  width: 6px;
  height: 10px;
}
.bs-tooltip-right .arrow::before {
  right: 0;
  border-width: 5px 6px 5px 0;
  border-right-color: #14191d;
}
.bs-tooltip-bottom {
  padding: 6px 0;
}
.bs-tooltip-bottom .arrow {
  top: 0;
}
.bs-tooltip-bottom .arrow::before {
  bottom: 0;
  border-width: 0 5px 6px;
  border-bottom-color: #14191d;
}
.bs-tooltip-left {
  padding: 0 6px;
}
.bs-tooltip-left .arrow {
  right: 0;
  width: 6px;
  height: 10px;
}
.bs-tooltip-left .arrow::before {
  left: 0;
  border-width: 5px 0 5px 6px;
  border-left-color: #14191d;
}
.tooltip-inner {
  max-width: 220px;
  padding: 10px 10px;
  color: #fff;
  text-align: center;
  background-color: #14191d;
  border-radius: 4px;
}

/* Colors */
/* Icons */
/* Sizes */
.tunnels .list-header_item,
.tunnels .list-body_row-item {
  flex-basis: calc((100% - 50px) / 2);
}
.tunnels .list-header_item:last-child,
.tunnels .list-body_row-item:last-child {
  flex-basis: 50px;
}
@media (max-width: 580px) {
  .tunnels .list-item_name,
  .tunnels .list-item_user {
    min-width: auto;
    flex-basis: calc((100% - 50px) / 2);
    font-size: 11px;
  }
}
