@charset "UTF-8";
@font-face {
  font-family: "FrozenCrystal";
  src: url("/fonts/frozen-crystal/frozencrystallight.woff") format("woff"), url("/fonts/frozen-crystal/frozencrystallight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.calendar-wrapper {
  display: flex;
  flex-direction: row;
}
@media all and (max-width: 960px) {
  .calendar-wrapper {
    flex-direction: column;
  }
}

.calendar-year-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.calendar-year-stack {
  display: flex;
  flex-direction: row;
}
@media all and (max-width: 960px) {
  .calendar-year-stack {
    flex-direction: column;
  }
}

.month-wrapper,
.calendar-notes-wrapper {
  display: flex;
  flex-direction: column;
}
.month-wrapper + .month-wrapper,
.month-wrapper + .calendar-notes-wrapper,
.calendar-notes-wrapper + .month-wrapper,
.calendar-notes-wrapper + .calendar-notes-wrapper {
  margin-left: 32px;
}
@media all and (max-width: 960px) {
  .month-wrapper + .month-wrapper,
  .month-wrapper + .calendar-notes-wrapper,
  .calendar-notes-wrapper + .month-wrapper,
  .calendar-notes-wrapper + .calendar-notes-wrapper {
    margin-left: 0;
    margin-top: 25px;
  }
}

.calendar-link-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-notes-wrapper div + div {
  margin-top: 8px;
}
.calendar-notes-wrapper .title {
  font-weight: 600;
}
.calendar-notes-wrapper .title a {
  margin-left: 8px;
  line-height: 2.5;
}
.calendar-notes-wrapper .today {
  font-size: 18px;
}

.count-notification {
  font-size: 13px;
  font-weight: 500;
  color: white;
  background-color: #dc3545;
  padding: 4px 9px;
  border-radius: 10px;
}
.count-notification.inline {
  background-color: #2d14c5;
  font-size: 10px;
  padding: 2px 7px;
  margin-left: 6px;
}

.month-name {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  padding-bottom: 8px;
  width: 168px;
}

.calendar-row {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #d1d7de;
  width: 168px;
}

.calendar-cell {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 24px;
  height: 16px;
  padding-right: 5px;
  font-size: 10px;
  border-left: 1px solid #d1d7de;
  color: #495153;
  box-sizing: border-box;
}
.calendar-cell:nth-last-child(-n+2) {
  color: #dc3545;
}
.calendar-cell:last-child {
  border-right: 1px solid #d1d7de;
}
.calendar-cell.month-header {
  border: none;
  padding-right: 6px;
}
.calendar-cell.today {
  border: 2px solid #dc3545;
}
.calendar-cell.has-notes {
  background-color: lightblue;
  cursor: pointer;
}

.month-header {
  font-size: 10px;
}

.contract {
  font-size: 12px;
  width: 100%;
  margin: 10px 0;
  display: flex;
  flex-direction: row;
}
@media print {
  .contract {
    font-size: 9px;
  }
}
.contract-delete {
  margin-left: 4px;
}
.contract-delete:hover {
  color: #dc3545;
}
.contract-note {
  font-size: 12px;
  color: #818c99;
  margin-top: 4px;
}
.contract-header {
  justify-content: space-between;
}
.contract-header-column {
  max-width: 300px;
}
.contract-details {
  justify-content: space-between;
}
.contract-details-column {
  text-align: left;
  width: 40%;
}
.contract-row {
  width: 100%;
  justify-content: flex-start;
}
.contract-row-name {
  width: 128px;
  font-weight: bold;
  box-sizing: border-box;
  padding-right: 8px;
}
.contract-row-name.wide {
  width: 264px;
}
.contract-row-number {
  width: 25px;
  font-weight: bold;
}
@media print {
  .contract-row-number {
    font-size: 11px;
  }
}
.contract-row-column {
  max-width: 85%;
}
.contract-block-item {
  margin-bottom: 4px;
}
@media print {
  .contract-block-item {
    min-width: 800px;
  }
}
.contract-block-item a {
  color: #cacaca;
}
.contract-block-item a:not(.contract-link) {
  margin-left: 2px;
}
.contract-block-item a:hover {
  color: #7f7f7f;
}
.contract-block-item a.delete:hover {
  color: #dc3545;
}
.contract-block-item a.contract-link {
  color: #2d14c5;
}
@media print {
  .contract-block-item a {
    color: black;
    text-decoration: none;
  }
}
.contract-block-title {
  flex-direction: column;
  justify-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.contract-block-title * {
  display: inline-flex;
  align-self: center;
}
.contract-title {
  display: block;
  width: 100%;
  text-align: left;
  font-weight: 700;
}
.contract-fields-wrapper * {
  margin-top: 0;
}
.contract-link {
  color: #0033cc;
}
.contract-link:hover {
  color: #0033cc;
}
@media print {
  .contract-link {
    color: black;
    text-decoration: none;
  }
}
.contract-text-md {
  font-size: 12px;
}
@media print {
  .contract-text-md {
    font-size: 10px;
  }
}
.contract-date {
  margin-left: 4px;
  color: #818c99;
  font-size: 12px;
}
.contract-int-heading {
  font-size: 13px;
  font-weight: 500;
}
.contract-remove-field {
  position: absolute;
  text-decoration: none;
  right: -20px;
  top: 0;
  font-size: 18px;
  margin-left: 4px;
  color: #dc3545;
}
.contract-remove-field:hover {
  color: #af0032;
}
.contract-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  background-color: #eaeaea;
  padding: 16px;
  border-radius: 4px;
  margin: 8px 0;
}
.contract-input-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: -moz-fit-content;
  width: fit-content;
}
.contract-input-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
}
.contract-input-row > .fw {
  width: 98.5%;
}
.contract-input-row label {
  font-size: 12px;
}
.contract-input-row label.single {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.contract-input-holder {
  width: 32%;
}
.contract-input-holder input[type=text],
.contract-input-holder input[type=number],
.contract-input-holder select {
  width: 100%;
}
.contract-input-holder.md {
  width: 65%;
}
.contract-input-holder.sm {
  width: 19%;
}
.contract-input-holder.xs {
  width: 64px;
}
.contract-input-holder.single-checkbox {
  display: flex;
  align-items: center;
}
.contract-input-bordered {
  border: 1px solid #b3bcc9;
  background-color: white;
  border-radius: 4px;
  padding: 4px;
}
.contract-archive-item {
  display: flex;
  flex-direction: row;
  text-decoration: none;
}
.contract-archive-item:hover {
  background-color: #f1f1f5;
}
@media all and (max-width: 780px) {
  .contract-archive-item {
    flex-direction: column !important;
  }
  .contract-archive-item div {
    width: 100% !important;
  }
}

#cargoTag {
  display: none;
}

#yMapWrapper {
  width: 100%;
  height: 320px;
}

#distanceValue {
  font-weight: bold;
  margin-left: 12px;
}

a.show-all {
  text-decoration: none;
  border-radius: 8px;
  padding: 4px 12px;
  color: #4c99c6;
  background-color: #dfedf5;
}

label.big {
  font-size: 15px;
}

.text-sm {
  font-size: 10px;
}

.text-12 {
  font-size: 12px !important;
}

.text-13 {
  font-size: 13px !important;
}

.indicator-wrapper {
  gap: 2px;
  margin: 12px 0;
  padding: 6px;
  border-radius: 4px;
  background-color: rgb(251, 243, 211);
  color: rgb(230, 154, 2);
}
.indicator-wrapper.red {
  background-color: #fee9e9;
  color: #dc3545;
}
.indicator-wrapper.blue {
  background-color: rgb(218, 237, 254);
  color: rgb(49, 109, 214);
}
@media print {
  .indicator-wrapper {
    display: none;
  }
}

.mr-4 > * {
  margin-right: 4px;
}

.my-8 {
  margin: 8px 0;
}

.hgap {
  gap: 20px;
}

.stamp-block {
  border: 2px solid rgb(117, 83, 179);
  padding: 8px;
  color: rgb(117, 83, 179);
}
.stamp-block a {
  color: rgb(30, 0, 255) !important;
}
.stamp-block.gray {
  border: none;
  color: #495153;
}
.stamp-block.red {
  border: 2px solid #dc3545;
  color: #dc3545;
}
.stamp-block:last-child {
  margin-right: 8px;
}
.stamp-block-waybill {
  padding: 1px;
  position: absolute;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
.stamp-block-consignment {
  border: 1px solid rgb(117, 83, 179);
  padding: 1px;
  position: absolute;
  font-weight: normal;
  letter-spacing: -0.3px;
  line-height: 1;
  text-align: center;
}

.stamp-code {
  font-size: 10px;
  padding: 2px 4px;
  border: 1px solid rgb(117, 83, 179);
  border-radius: 4px;
}

.cb-btn {
  text-decoration: none;
  font-size: 11px;
  background-color: #eaeaea;
  color: #495153;
  padding: 4px 8px;
  margin-left: 8px;
  border-radius: 8px;
}
.cb-btn.inline {
  margin-left: 0;
}
.cb-btn:hover {
  background-color: #e1e1e1;
}
.cb-btn-block {
  display: inline-block;
  width: auto;
  margin: 8px 0;
}
.cb-btn-contract {
  display: inline-block;
  width: auto;
  margin-left: 0;
  color: #818c99;
}
@media print {
  .cb-btn-contract {
    display: none;
  }
}
.cb-btn-contract-add {
  background-color: #baeea2;
  color: rgb(9, 95, 20);
}
.cb-btn-contract-add:hover {
  background-color: #8ae75f;
  color: rgb(9, 116, 24);
}
.cb-btn-contract-add-brown {
  background-color: #f4ddb4;
  color: rgb(109, 82, 59);
}
.cb-btn-contract-add-brown:hover {
  background-color: #eac990;
  color: rgb(72, 55, 39);
}
.cb-btn-contract-disabled {
  pointer-events: none;
  background-color: #dceed4;
  color: rgb(132, 172, 137);
}
.cb-btn-contract-informer {
  margin-left: 0;
  background-color: rgb(244, 244, 123);
  color: black;
  pointer-events: none;
}
.cb-btn-contract-copy {
  margin-left: 0;
  background-color: rgb(149, 226, 251);
  color: rgb(9, 44, 76);
  pointer-events: none;
}
.cb-btn-contract-cyan {
  margin-left: 0;
  background-color: rgb(202, 245, 241);
  color: rgb(9, 76, 75);
  pointer-events: none;
}
.cb-btn-contract-warn {
  margin-left: 0;
  background-color: rgb(255, 233, 233);
  color: #dc3545;
  pointer-events: none;
}
.cb-btn-contract-success {
  margin-left: 0;
  background-color: #baeea2;
  color: rgb(9, 95, 20);
  pointer-events: none;
}
.cb-btn-contract-success.active {
  pointer-events: all;
}
.cb-btn-contract-success.active:hover {
  background-color: #baeea2;
  color: rgb(9, 95, 20);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 15px;
  font-weight: 400;
  background-color: rgb(237, 238, 240);
  margin: 0;
}
@media all and (min-width: 376px) and (max-width: 780px) {
  body {
    font-size: 17px;
  }
}

.rel {
  position: relative;
}

.num-column {
  display: flex;
  align-self: center;
}

.abs-rt {
  position: absolute;
  right: 0;
  top: -25px;
}

.tdn {
  text-decoration: none;
}

.intro {
  background-image: url("/static/images/intro.jpg");
  background-size: cover;
  background-position: center center;
}

.intro-logo {
  width: 200px;
  margin-bottom: 16px;
}

.intro-logo-desc {
  width: 200px;
  margin-bottom: 32px;
}

.intro-title {
  color: white;
  font-weight: 200;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 40px;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 150;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

.popup {
  position: relative;
  padding: 25px 40px;
  border-radius: 8px;
  background-color: white;
  text-align: center;
  max-width: 80vw;
}
.popup-big {
  max-width: 70vw;
  max-height: 80vh;
  overflow-y: scroll;
}

[x-cloak] {
  display: none !important;
}

.language-wrapper {
  display: flex;
  width: 300px;
  flex-direction: row;
  flex-wrap: wrap;
}
.language-wrapper .language-item {
  padding: 8px 4px;
  border-radius: 4px;
  flex: 1 0 21%;
  margin: 8px 0;
  cursor: pointer;
}
.language-wrapper .language-item:hover {
  background-color: #efefef;
}

a {
  color: #3c8dbc;
}
a:hover {
  color: #367fa9;
}

i {
  margin-right: 4px;
}

.note {
  font-size: 12px;
  color: #495153;
  line-height: 1.5;
}

.green-hint {
  display: inline-block;
  font-size: 12px;
  color: #316c35;
  background-color: #e3fce3;
  padding: 4px 8px;
  border-radius: 4px;
}
.green-hint-bold {
  font-weight: bold;
  font-size: 15px;
  padding: 16px;
}

.hint-links-wrapper {
  display: block;
  margin: 10px 0;
}
.hint-links-wrapper a {
  margin-right: 10px;
}

.history-block {
  position: relative;
  display: none;
  font-size: 12px;
  color: #667;
  background-color: #eaeaef;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 25px;
}
.history-block > div {
  margin: 4px 0;
}
.history-block > div:first-child {
  margin-bottom: 12px;
}
.history-block > div > .date {
  font-weight: bold;
}

.hint {
  margin-top: 4px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.1;
  color: #495153;
}

h1 {
  font-size: 28px;
  text-indent: 10px;
}
@media all and (max-width: 780px) {
  h1 {
    text-indent: 0;
    margin-left: 16px;
  }
}

h3 {
  font-size: 21px;
  color: #2d14c5;
}

h4 {
  font-size: 18px;
  color: #2d14c5;
}

.big-label {
  font-size: 21px;
  font-weight: 600;
  color: #444;
}

.fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  height: auto;
}

.shield,
.modal-shield {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.33);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.shield > .image-container,
.modal-shield > .image-container {
  position: relative;
  height: auto;
  width: auto;
  max-width: 80vw;
  max-height: 80vh;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
.shield > .image-container > img,
.modal-shield > .image-container > img {
  max-width: 100%;
  max-height: 100%;
}
.shield > .image-container > .cover,
.modal-shield > .image-container > .cover {
  opacity: 0.3;
  background-image: url("/static/images/wm-black.png");
  background-repeat: repeat;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: calc(100vh - 50px);
  height: auto;
}

.sidebar {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  width: 260px;
  border-right: 1px solid #ddd;
  padding-bottom: 50px;
}
@media all and (max-width: 960px) {
  .sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    overflow-y: scroll;
  }
}

.sidebar-item {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}
.sidebar-item-plan {
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 6px;
  padding: 0;
  margin: 4px;
}
.sidebar-item-plan.premium {
  font-size: 12px;
}
.sidebar-item-user {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #495153;
  font-size: 14px;
  font-weight: bold;
}
.sidebar-item-user.abonent-info {
  padding-bottom: 0;
}
.sidebar-item-user .info {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -0.4px;
}
.sidebar-item-user .avatar {
  width: 48px;
  height: 48px;
  background-size: cover;
  background-position: center;
  border-radius: 48px;
  border: 2px solid white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.sidebar-item-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  color: #495153;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.4px;
  padding-left: 20px;
}
.sidebar-item-link:hover {
  background-color: white;
  color: #495153;
}
.sidebar-item-link > i {
  width: 25px;
  margin-top: 2px;
}
@media all and (min-width: 376px) and (max-width: 780px) {
  .sidebar-item-link > i {
    margin-right: 12px;
  }
}
@media all and (min-width: 376px) and (max-width: 780px) {
  .sidebar-item-link {
    margin-top: 12px;
  }
}
.sidebar-item-title {
  color: #818c99;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  justify-content: center;
  align-items: center;
}
.sidebar-item-expanded {
  background-color: #dcdcde;
}
.sidebar-item-expanded:hover {
  background-color: #cececf;
}
.sidebar-item-separated {
  border-bottom: 1px solid #ddd;
}
@media all and (min-width: 376px) and (max-width: 780px) {
  .sidebar-item {
    font-size: 20px;
  }
}

main {
  display: flex;
  flex-direction: column;
  width: calc(100% - 260px);
  box-sizing: border-box;
  padding: 40px 25px;
  height: auto;
  overflow-y: scroll;
}
main.noscroll {
  overflow-y: hidden;
  height: 100vh;
}
@media all and (max-width: 960px) {
  main {
    width: 100%;
  }
}
@media all and (max-width: 780px) {
  main {
    padding: 20px 8px;
  }
}

section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media all and (max-width: 960px) {
  section {
    flex-direction: column;
  }
}

.screen-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1440px;
  max-width: 960px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
}
.screen-block-section {
  margin-top: auto;
}
.screen-block-section .info-block {
  padding: 0 10px 25px 10px;
}
.screen-block-section .info-block-title {
  color: #495153;
  font-weight: 600;
  font-size: 14px;
}
.screen-block-section .info-block-text {
  margin-top: 4px;
  color: #818c99;
}
.screen-block-half {
  width: 49%;
}
@media all and (max-width: 960px) {
  .screen-block-half {
    width: 100%;
  }
}
.screen-block > h3 {
  padding: 4px 0 0 10px;
}
.screen-block.wide-block {
  max-width: 100%;
}

.filter-links {
  display: inline-block;
  margin-left: 40px;
}
@media all and (max-width: 1336px) {
  .filter-links {
    margin-top: 20px;
    margin-left: 0;
  }
}

@media all and (max-width: 1206px) {
  .date-filter-wrapper {
    margin-top: 20px;
  }
}

.filter-link {
  display: inline-block;
  margin-left: 16px;
}
.filter-link input {
  margin: 0 4px;
}

.table-filter-button {
  display: inline-block;
  background-color: #818c99;
}
.table-filter-button:hover {
  background-color: #677280;
}
@media all and (max-width: 780px) {
  .table-filter-button {
    margin-top: 25px;
  }
}

.not-completed {
  position: relative;
  background-color: #f39c12;
  color: white;
  padding-right: 16px;
}
.not-completed a {
  color: inherit;
  padding-top: 12px;
}
.not-completed.compact {
  padding: 16px;
  font-size: 12px;
  border-radius: 8px;
  margin-top: 25px;
}
.not-completed.compact a {
  padding: none;
}

.warning {
  position: relative;
  background-color: #e3fce3;
  border: 1px solid #0BDA51;
  color: #af0032;
}

.notice {
  position: relative;
  background-color: #e3fce3;
  border: 1px solid #316c35;
  color: #316c35;
}

.error-block {
  background-color: #f4b2ae;
  color: #af0032;
}

.close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.close-button.cb-his {
  top: 0;
  right: 10px;
}
.close-button:hover {
  color: rgba(0, 0, 0, 0.7);
}

.history-icon {
  color: #818c99;
  cursor: pointer;
  margin-left: 4px;
}
.history-icon:hover {
  color: black;
}

.items-wrapper {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.items-wrapper > .item {
  display: flex;
  width: 100%;
  flex-direction: row;
  box-sizing: border-box;
  padding: 12px 0;
  color: #495153;
  letter-spacing: -0.25px;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item {
    flex-wrap: wrap;
  }
}
.items-wrapper > .item.highlighted {
  background-color: #e3fce3;
}
.items-wrapper > .item.heading {
  color: #818c99;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item.heading > .column,
  .items-wrapper > .item.heading .service-column {
    display: none;
  }
  .items-wrapper > .item.heading > .mobile-heading-select {
    display: block;
  }
}
.items-wrapper > .item > .column {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .column {
    margin: 4px 0;
    padding-left: 0;
  }
}
.items-wrapper > .item > .column-id {
  width: 4%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .column-id {
    width: 5%;
  }
}
.items-wrapper > .item > .column-name {
  width: 30%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .column-name {
    width: 85%;
  }
}
@media all and (min-width: 780px) {
  .items-wrapper > .item > .column-vehicle {
    flex-grow: 1;
  }
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .column-vehicle {
    width: 85%;
  }
}
.items-wrapper > .item > .column-number {
  width: 20%;
}
.items-wrapper > .item > .column-number span {
  margin-right: 6px;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .column-number {
    width: 90%;
  }
}
.items-wrapper > .item > .column-role {
  width: 43%;
  padding-right: 10px;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .column-role {
    width: 75%;
  }
}
.items-wrapper > .item > .column-avatar {
  width: 46px;
}
.items-wrapper > .item > .column-actions {
  width: 8%;
  font-size: 32px;
  font-weight: bold;
  color: #818c99;
  margin-top: -20px;
}
.items-wrapper > .item > .column-actions .actions-link {
  transition: 0.2s;
  cursor: pointer;
}
.items-wrapper > .item > .column-actions .actions-link:hover {
  color: #515963;
}
.items-wrapper > .item > .service-column {
  position: relative;
}
.items-wrapper > .item > .service-column > a.tooltip-switcher {
  text-decoration: none;
  border-bottom: 1px dotted #3c8dbc;
}
.items-wrapper > .item > .service-column > .tooltip {
  position: absolute;
  background-color: white;
  border-radius: 8px;
  z-index: 60;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  background-color: beige;
  padding: 8px 12px;
  font-size: 12px;
  width: 426px;
  right: 0;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column > .tooltip {
    width: 95%;
  }
}
.items-wrapper > .item > .service-column > .tooltip .links {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.items-wrapper > .item > .service-column > .tooltip .links a {
  text-decoration: none;
}
.items-wrapper > .item > .service-column-medium {
  width: 14%;
  padding-left: 0;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-medium {
    width: 85%;
    padding-left: 10px;
  }
}
.items-wrapper > .item > .service-column-id {
  width: 40px;
}
.items-wrapper > .item > .service-column-icon {
  width: 100px;
}
.items-wrapper > .item > .service-column-icon.cell {
  padding-left: 16px;
}
.items-wrapper > .item > .service-column-num {
  width: 3%;
}
.items-wrapper > .item > .service-column-comment {
  width: 184px;
  padding-right: 6px;
}
.items-wrapper > .item > .service-column-comment.content {
  font-size: 12px;
}
.items-wrapper > .item > .service-column-report {
  width: 8%;
}
.items-wrapper > .item > .service-column-vehicle {
  width: 20%;
  padding-right: 6px;
}
.items-wrapper > .item > .service-column-vehicle .vehicle-number {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}
@media all and (max-width: 960px) {
  .items-wrapper > .item > .service-column-vehicle {
    padding: 0 4px;
  }
}
.items-wrapper > .item > .service-column-mileage {
  width: 10%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-mileage {
    padding-top: 10px;
  }
  .items-wrapper > .item > .service-column-mileage.value::before {
    content: "Пробег ";
    color: #818c99;
  }
}
.items-wrapper > .item > .service-column-date {
  width: 12%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-date.value::before {
    content: "Дата ";
    color: #818c99;
  }
}
.items-wrapper > .item > .service-column-work {
  width: 22%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-work {
    padding: 10px;
  }
}
.items-wrapper > .item > .service-column-client {
  width: 40%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-client {
    padding: 10px;
  }
}
.items-wrapper > .item > .service-column-part-cost {
  width: 8%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-part-cost.value::before {
    content: "Стоимость детали ";
    color: #818c99;
  }
}
.items-wrapper > .item > .service-column-work-cost {
  width: 8%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-work-cost.value::before {
    content: "Стоимость работы ";
    color: #818c99;
  }
}
.items-wrapper > .item > .service-column-driver {
  width: 15%;
  padding-right: 10px;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-driver {
    padding-right: 0;
  }
  .items-wrapper > .item > .service-column-driver.value::before {
    content: "Водитель ";
    color: #818c99;
  }
}
.items-wrapper > .item > .service-column-contract-mileage {
  width: 6%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-contract-mileage {
    padding-top: 10px;
  }
  .items-wrapper > .item > .service-column-contract-mileage.value::after {
    content: " км";
  }
}
.items-wrapper > .item > .service-column-contract-number {
  width: 12%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-contract-number {
    padding-top: 10px;
  }
  .items-wrapper > .item > .service-column-contract-number.value::before {
    content: "Договор № ";
    color: #818c99;
  }
}
.items-wrapper > .item > .service-column-cost-contract {
  width: 15%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-cost-contract {
    padding-top: 10px;
  }
  .items-wrapper > .item > .service-column-cost-contract.value::before {
    content: "Сумма договора ";
    color: #818c99;
  }
}
.items-wrapper > .item > .service-column-cost-sum {
  width: 13%;
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column-cost-sum {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .items-wrapper > .item > .service-column-cost-sum.value::before {
    content: "Сумма. Итог ";
    color: #818c99;
  }
}
@media all and (max-width: 780px) {
  .items-wrapper > .item > .service-column {
    width: 95%;
  }
}

@media all and (max-width: 780px) {
  .part-total::before {
    content: "Итог (детали)";
    color: #818c99;
    padding: 8px 0;
  }
}

@media all and (max-width: 780px) {
  .work-total::before {
    content: "Итог (работа)";
    color: #818c99;
    padding: 8px 0;
  }
}

@media all and (max-width: 780px) {
  .summary-value-title {
    padding: 8px 0;
  }
}

.mod-table {
  font-size: 12px;
}
@media all and (max-width: 780px) {
  .mod-table > .item {
    flex-direction: column;
  }
}

.table-select {
  color: #818c99;
  font-size: 13px;
  padding: 0 6px;
  width: 90%;
}

.spoiler-menu,
.vehicle-menu,
.worker-menu {
  position: absolute;
  background-color: white;
  border-radius: 8px;
  z-index: 60;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  display: none;
}
.spoiler-menu.with-x-show,
.vehicle-menu.with-x-show,
.worker-menu.with-x-show {
  display: block;
  position: absolute;
  top: 8px;
  left: 0;
  width: 244px;
}
.spoiler-menu.with-x-show a,
.vehicle-menu.with-x-show a,
.worker-menu.with-x-show a {
  font-weight: normal;
}
.spoiler-menu a,
.vehicle-menu a,
.worker-menu a {
  display: block;
  text-decoration: none;
  color: black;
  font-size: 14px;
  padding: 8px 16px;
}
.spoiler-menu a:hover,
.vehicle-menu a:hover,
.worker-menu a:hover {
  background-color: rgb(246, 246, 248);
}
.spoiler-menu a:first-child,
.vehicle-menu a:first-child,
.worker-menu a:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.spoiler-menu a:last-child,
.vehicle-menu a:last-child,
.worker-menu a:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.spoiler-menu a.blue,
.vehicle-menu a.blue,
.worker-menu a.blue {
  color: #3c8dbc;
}
.spoiler-menu a.blue:hover,
.vehicle-menu a.blue:hover,
.worker-menu a.blue:hover {
  color: #367fa9;
}
.spoiler-menu a.red,
.vehicle-menu a.red,
.worker-menu a.red {
  color: #dc3545;
}
.spoiler-menu a.green,
.vehicle-menu a.green,
.worker-menu a.green {
  color: #316c35;
}

.spoiler-menu {
  max-width: 272px;
}
.spoiler-menu a + a {
  border-top: 1px dotted black;
}

.note-popup {
  position: absolute;
  background-color: white;
  border-radius: 8px;
  z-index: 60;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 240px;
  background-color: beige;
}
.note-popup a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 8px;
}
.note-popup a:hover {
  background-color: #eaeab4;
}
.note-popup a + .note-popup a {
  border-top: 1px dotted black;
}

.item + .item {
  border-top: 1px solid #ddd;
}

.item:last-child {
  border-bottom: 1px solid #ddd;
}

.total-value,
.summary-value {
  color: black;
  font-weight: 600;
  margin-bottom: 3px;
}

.summary-value-title {
  color: #818c99;
  font-weight: 600;
  margin-bottom: 3px;
}

.totals > .service-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.container-bt {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 960px;
  justify-content: space-between;
}
@media all and (max-width: 960px) {
  .container-bt {
    flex-direction: column;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #818c99;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background-color: white;
  max-width: 1440px;
}
.form-wrapper-single {
  width: 320px;
}
.form-wrapper-half {
  width: 49%;
}
@media all and (max-width: 960px) {
  .form-wrapper-half {
    width: 100%;
  }
}
@media all and (max-width: 376px) {
  .form-wrapper {
    padding: 8px 16px;
  }
}

.header-error {
  padding: 16px;
  background-color: #f4b2ae;
  color: #af0032;
  font-size: 12px;
}

.auth-error {
  display: flex;
  padding: 16px 22px;
  border-radius: 8px;
  width: 320px;
  margin-bottom: 25px;
  background-color: #f4b2ae;
  color: #af0032;
}

.under {
  text-align: center;
  margin-top: 25px;
}

.form-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 16px;
}

.card-heading {
  font-size: 22px;
  margin-top: 0;
}

.card-title {
  font-size: 22px;
  margin: 16px 0 7px 0;
}

.card-avatar {
  padding: 16px;
}

.card-p {
  margin: 0 0 6px 0;
}

.card-list-item {
  margin-bottom: 8px;
}

.card-table-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.card-table-wrapper > .row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  padding: 8px 0;
}
.card-table-wrapper > .row.line {
  border-bottom: 1px solid #ddd;
}
.card-table-wrapper > .row.bt {
  justify-content: space-between;
}
.card-table-wrapper > .row > .name {
  width: 33%;
}
@media all and (max-width: 780px) {
  .card-table-wrapper > .row > .name {
    width: 100%;
    margin-bottom: 16px;
  }
}
.card-table-wrapper > .row > .date {
  width: 20%;
}
@media all and (max-width: 780px) {
  .card-table-wrapper > .row > .date {
    width: 100%;
    margin-bottom: 16px;
  }
}
.card-table-wrapper > .row > .number {
  width: 32px;
}
@media all and (max-width: 780px) {
  .card-table-wrapper > .row > .number {
    width: 100%;
    margin-bottom: 16px;
  }
}
.card-table-wrapper > .row > .details {
  width: 22%;
  padding-right: 12px;
  box-sizing: border-box;
}
.card-table-wrapper > .row > .details:last-child {
  width: 30%;
}
@media all and (max-width: 780px) {
  .card-table-wrapper > .row > .details {
    width: 100%;
    margin-bottom: 16px;
  }
}
.card-table-wrapper > .row > .full {
  width: 90%;
}
@media all and (max-width: 780px) {
  .card-table-wrapper > .row > .full {
    margin-bottom: 16px;
  }
}
.card-table-wrapper > .row > .half {
  width: 49%;
}
@media all and (max-width: 780px) {
  .card-table-wrapper > .row > .half {
    margin-bottom: 16px;
  }
}
@media all and (max-width: 780px) {
  .card-table-wrapper > .row {
    flex-direction: column;
  }
}

.border {
  width: 100%;
  height: 4px;
  border-bottom: 1px dotted #495153;
  margin-bottom: 4px;
}

.form-items-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
}
.form-items-wrapper.compact {
  margin-bottom: 0;
  padding: 8px 0;
  font-size: 13px;
  color: #495153;
}
.form-items-wrapper.no-border {
  border-bottom: none;
}
.form-items-wrapper.card-main-data {
  justify-content: flex-start;
}
@media all and (max-width: 780px) {
  .form-items-wrapper {
    flex-direction: column;
  }
}
.form-items-wrapper > .form-item-inline-half {
  width: 49%;
}
@media all and (max-width: 780px) {
  .form-items-wrapper > .form-item-inline-half {
    width: 100%;
    margin-bottom: 16px;
  }
}
.form-items-wrapper > .form-item-inline-third {
  width: 32%;
}
@media all and (max-width: 780px) {
  .form-items-wrapper > .form-item-inline-third {
    width: 100%;
    margin-bottom: 16px;
  }
}
.form-items-wrapper > .form-item-inline-fourth {
  width: 24%;
}
@media all and (max-width: 780px) {
  .form-items-wrapper > .form-item-inline-fourth {
    width: 100%;
    margin-bottom: 16px;
  }
}
.form-items-wrapper > .form-item-inline-small {
  width: 16%;
}
.form-items-wrapper > .form-item-inline-small.thin {
  width: 54px;
}
@media all and (max-width: 780px) {
  .form-items-wrapper > .form-item-inline-small {
    width: 100%;
    margin-bottom: 16px;
  }
}
.form-items-wrapper > .form-item-inline-wide {
  width: 75%;
}
@media all and (max-width: 780px) {
  .form-items-wrapper > .form-item-inline-wide {
    width: 100%;
    margin-bottom: 16px;
  }
}

.time-wrapper {
  display: flex;
  flex-direction: column;
  width: 128px;
  margin-top: 10px;
  align-items: center;
  justify-content: space-between;
}
.time-wrapper-hidden {
  display: none;
}
.time-wrapper:last-child {
  width: 24px;
}

.time {
  font-family: "FrozenCrystal";
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 300;
  letter-spacing: 1px;
  padding: 4px 8px;
  background-color: #e3fce3;
  border-radius: 6px;
  color: #316c35;
}

.location-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.currency-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
}

.currency {
  display: flex;
  width: 144px;
  color: #818c99;
  margin: 4px 0;
}
.currency > .fi {
  margin-right: 7px;
}
.currency-hidden {
  display: none;
}
.currency.map-link {
  width: 200px;
}

.common-spoiler-link {
  font-size: 24px;
  color: #b3bcc9;
  text-decoration: none;
  transition: 0.2s;
  margin-top: -6px;
}
.common-spoiler-link:hover {
  color: #95a2b4;
}
.common-spoiler-link#showAllTimezones {
  margin-top: 0;
}
.common-spoiler-link.lm {
  margin-left: 5px;
}

.form-error {
  display: none;
  font-size: 13px;
  color: #dc3545;
  margin-top: 4px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #495153;
  font-weight: 300;
}
label.black {
  color: black;
}
label.light {
  color: gray;
}
label.inline {
  font-size: 13px;
  display: inline;
  margin: 0;
}
label.inline.radio-label {
  font-size: 15px;
}

label.single {
  font-size: 15px;
}

label.required:after,
h4.required:after,
h3.required:after {
  content: " *";
  color: #dc3545;
}

.radio-group {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
}

.radio-group-column {
  width: 49%;
}

.radio-block {
  margin-bottom: 8px;
}

input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  padding: 6px 8px;
  font-size: 15px;
  box-sizing: border-box;
  border: 1px solid #bbbbbd;
  border-radius: 4px;
  color: #495153;
}
input::-moz-placeholder, select::-moz-placeholder, textarea::-moz-placeholder {
  color: #bbbbbd;
}
input::placeholder,
select::placeholder,
textarea::placeholder {
  color: #bbbbbd;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
}
@media screen and (min-width: 376px) and (max-width: 780px) {
  input,
  select,
  textarea {
    font-size: 17px;
  }
}
@media print {
  input,
  select,
  textarea {
    display: none;
  }
}

input:-moz-read-only, textarea:-moz-read-only {
  background-color: #eceefc;
}

input:read-only,
textarea:read-only {
  background-color: #eceefc;
}

select {
  height: 32px;
}

input[type=date],
input[type=time] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #495153;
  height: 31px;
}
input[type=date].exp-yellow,
input[type=time].exp-yellow {
  background-color: navajowhite;
}
input[type=date].exp-red,
input[type=time].exp-red {
  background-color: rgba(251, 187, 187, 0.75);
  color: darkred;
  border-color: darkred;
}

input[type=file] {
  height: 31px;
  font-size: 12px;
}

.form-image-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #bbbbbd;
  border-radius: 4px;
  height: 31px;
}
.form-image-wrapper img {
  height: 14px;
  width: auto;
  cursor: pointer;
}
.form-image-wrapper div {
  text-align: center;
  width: 32px;
  height: 100%;
  background-color: #efefef;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.form-image-wrapper.no-border {
  border: none;
  height: auto;
  justify-content: flex-start;
}
.form-image-wrapper.no-border img {
  margin-right: 12px;
}

.delete-image {
  font-size: 24px;
  font-weight: 200;
  color: #818c99;
  text-decoration: none;
}
.delete-image:hover {
  color: #dc3545;
}
.delete-image:after {
  content: "×";
}

.delete-input {
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
  width: 32px;
  height: 100%;
  background-color: #efefef;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 1px solid #bbbbbd;
  border-left: none;
  box-sizing: border-box;
}

.delete-link {
  color: #dc3545;
}
.delete-link:hover {
  color: #af0032;
}

.ts-wrapper {
  border-radius: 4px;
  height: 32px;
  position: relative;
}

.ts-control {
  padding: 6px 12px;
  font-size: 13px;
  color: #495153;
  font-weight: 400;
  height: 32px;
  border: 1px solid #bbbbbd !important;
}
.ts-control > .item {
  font-size: 13px;
}
.ts-control > input {
  font-size: 13px;
}

.ts-dropdown-content {
  font-size: 13px;
}

#select-country,
#select-exploiter-country {
  font-weight: 600;
}

input[type=checkbox] {
  cursor: pointer;
  padding: 0;
  line-height: normal;
}

button {
  display: block;
  width: 100%;
  height: 35px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background-color: #3c8dbc;
  border-radius: 4px;
  color: white;
  transition: 0.2s;
}
button:hover {
  background-color: #367fa9;
}
button.sm {
  width: auto;
  padding: 0 20px;
}
@media all and (max-width: 780px) {
  button.sm {
    font-size: 17px;
    padding: 6px 20px;
  }
}
button + button {
  margin-left: 16px;
}
@media all and (max-width: 780px) {
  button {
    font-size: 17px;
    height: auto;
    padding: 6px 0;
  }
  button + button {
    margin-left: 6px;
  }
}

.button-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #3c8dbc;
  border-radius: 4px;
  border: 1px solid transparent;
  color: white;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}
.button-link:hover {
  color: white;
  background-color: #367fa9;
}
.button-link-disabled {
  background-color: #99c5de;
  pointer-events: none;
}
.button-link-disabled.pale {
  background-color: #bababa;
  color: #efefef;
}
.button-link + .button-link {
  margin-left: 4px;
}
.button-link.bl-white {
  background-color: white;
  color: #818c99;
  border: 1px solid #ddd;
  font-size: 16px;
}
.button-link.bl-white:hover {
  border-color: #818c99;
}
.button-link.inverted {
  background-color: white;
  color: #3c8dbc;
  border: 1px solid #3c8dbc;
}
.button-link.inverted:hover {
  color: #367fa9;
  border-color: #367fa9;
}
@media all and (max-width: 376px) {
  .button-link {
    padding: 4px 12px 6px 12px;
    font-size: 12px;
  }
}

.green-button {
  background-color: rgb(0, 156, 0);
}
.green-button.disabled {
  background-color: rgb(104, 168, 104);
  cursor: not-allowed;
  pointer-events: none;
}
.green-button:hover {
  background-color: rgb(0, 122, 0);
}

.red-button {
  background-color: #dc3545;
}
.red-button:hover {
  background-color: #af0032;
}

.gray-button {
  background-color: #495153;
}
.gray-button:hover {
  background-color: #818c99;
}

.wide-input {
  width: 100%;
}

.small-input {
  width: 36%;
}
@media all and (max-width: 960px) {
  .small-input {
    width: 100%;
  }
}

.chat-block {
  max-width: 720px;
  max-height: 70vh;
  margin-top: 0;
}
@media all and (min-width: 376px) {
  .chat-block {
    max-height: 80vh;
  }
}

.chat-header {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 25px;
}

.chat-name {
  font-size: 14px;
  font-weight: 600;
  max-width: 80%;
}

.chat-back {
  position: absolute;
  left: 4px;
  font-size: 20px;
}

.chat-body {
  overflow-y: scroll;
}

.chat-input-wrapper {
  display: flex;
  flex-direction: row;
}

.chat-input {
  resize: none;
  overflow: hidden;
  height: 32px;
  max-height: 90vh;
  width: 100%;
  margin-right: 16px;
}

.chat-message-row {
  display: flex;
  width: 100%;
  flex-direction: row;
}
.chat-message-row.left {
  justify-content: flex-start;
}
.chat-message-row.left .chat-message-text {
  align-self: flex-start;
  background-color: #defde1;
}
.chat-message-row.left .chat-message-date {
  align-self: flex-start;
  padding-left: 8px;
}
.chat-message-row.right {
  justify-content: flex-end;
}
.chat-message-row.right .chat-message-text {
  align-self: flex-end;
  background-color: rgb(221, 237, 255);
}
.chat-message-row.right .chat-message-date {
  align-self: flex-end;
  padding-right: 8px;
}
.chat-message-row .chat-message {
  display: flex;
  flex-direction: column;
  min-width: 300px;
}
.chat-message-row .chat-message .chat-message-date {
  font-size: 12px;
  color: #818c99;
  padding-bottom: 6px;
}
.chat-message-row .chat-message .chat-message-text {
  max-width: 70%;
  padding: 8px 12px;
  border-radius: 12px;
}
.chat-message-row + .chat-message-row {
  margin-top: 25px;
}

a.all-chats {
  background-color: #ddd;
  color: #495153;
  text-decoration: none;
  padding: 4px 16px;
  border-radius: 16px;
  transition: 0.2s;
  font-size: 14px;
  text-align: center;
}
a.all-chats:hover {
  background-color: #c4c4c4;
}

.chat-notification {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}
.chat-notification .count-notification {
  margin-left: 4px;
}

.map-container {
  max-width: 100%;
  overflow-x: scroll;
}

.map-link {
  text-decoration: none !important;
}
.map-link:hover {
  color: #495153;
}

header {
  display: flex;
  flex-direction: row;
  background-color: white;
  height: 50px;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
  z-index: 10;
}

.header-logo {
  display: flex;
  width: 260px;
  justify-content: center;
  align-items: center;
  color: #818c99;
  letter-spacing: 4px;
  font-size: 24px;
}
@media all and (max-width: 780px) {
  .header-logo {
    display: none;
  }
}
.header-logo img {
  width: 50%;
}

.header-icon {
  display: flex;
  width: 50px;
  justify-content: center;
  align-items: center;
  color: #495153;
  text-decoration: none;
  font-size: 20px;
}
.header-icon:hover {
  color: #818c99;
}
.header-icon-mobile {
  z-index: 120;
  margin-top: 16px;
  color: black;
}

@media all and (min-width: 960px) {
  .menu-icon {
    display: none;
  }
}

.header-search {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
}
.header-search form {
  display: flex;
}
.header-search input {
  width: 250px;
  height: 32px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}
@media all and (max-width: 376px) {
  .header-search input {
    width: 188px;
  }
}
@media all and (max-width: 780px) {
  .header-search {
    justify-content: center;
  }
}

.header-email {
  margin-left: 8px;
}
@media all and (max-width: 780px) {
  .header-email {
    display: none;
  }
}

.header-item,
.header-account {
  position: relative;
  display: flex;
  flex-direction: row;
  width: -moz-fit-content;
  width: fit-content;
  justify-content: center;
  align-items: center;
  color: #495153;
  font-size: 13px;
  padding: 0 16px;
}

.header-item {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.lang-switcher {
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #495153;
}
.lang-switcher:hover {
  color: #818c99;
}
.lang-switcher .fi {
  margin-right: 7px;
}
@media all and (max-width: 960px) {
  .lang-switcher {
    display: none;
  }
}
.lang-switcher.mobile {
  z-index: 125;
  position: absolute;
  top: 16px;
  right: 25px;
}
@media all and (min-width: 960px) {
  .lang-switcher.mobile {
    display: none;
  }
}
@media all and (max-width: 960px) {
  .lang-switcher.mobile {
    display: flex;
  }
}

.header-avatar {
  width: 36px;
  height: 36px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 36px;
  align-self: flex-start;
}

.square-avatar {
  width: 128px;
  height: 128px;
  margin-bottom: 16px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.square-avatar.avatar-medium {
  width: 48px;
  height: 48px;
}
.square-avatar.no-margin {
  margin-bottom: 0;
}

i.indicator {
  font-size: 10px;
  padding-left: 10px;
  padding-bottom: 1px;
}
i.indicator.top {
  align-self: flex-start;
  padding-top: 3px;
  padding-bottom: 0;
}

.modal {
  display: flex;
  width: 460px;
  justify-content: center;
  align-items: center;
}
@media all and (max-width: 780px) {
  .modal {
    width: 100%;
  }
}

.buttons-block {
  margin: 16px 0;
  display: flex;
  flex-direction: row;
}

.row-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.row-flex.statistics-block {
  width: 100%;
  justify-content: space-between;
}
.row-flex.statistics-block .statistics-title {
  display: flex;
  align-items: center;
}
.row-flex.statistics-block .statistics-title span {
  font-weight: 600;
  cursor: pointer;
}
.row-flex.statistics-block .statistics-title span:hover {
  color: #818c99;
}
.row-flex.statistics-block .statistics-title span i {
  color: #818c99;
  margin-left: 8px;
  margin-top: 2px;
}
.row-flex.statistics-block .statistics-title .popup {
  position: absolute;
  background-color: white;
  border-radius: 8px;
  z-index: 60;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
.row-flex.statistics-block .statistics-title .popup .form-title {
  font-weight: 600;
  margin-bottom: 12px;
}
.row-flex.statistics-block .statistics-title .popup .dash {
  margin: 0 6px;
}
@media all and (max-width: 780px) {
  .row-flex.statistics-block .statistics-title {
    margin: 16px 0;
  }
}
.row-flex.statistics-block .statistics-item {
  display: flex;
  flex-direction: column;
}
@media all and (max-width: 780px) {
  .row-flex.statistics-block {
    flex-direction: column;
  }
}

a.map-external-link {
  text-decoration: none;
  padding: 4px 8px;
  border: 1px solid #3c8dbc;
  border-radius: 4px;
}

.weather-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.weather-block > * {
  margin-right: 16px;
}
.weather-block .weather-title {
  font-weight: 600;
}
.weather-block a.black {
  color: black;
  border-color: black;
}
.weather-block a.black:hover {
  color: black;
}
@media all and (max-width: 780px) {
  .weather-block {
    flex-direction: column;
  }
  .weather-block > * {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

.gray {
  color: #818c99;
}

.lightgray {
  color: #bbb;
}

.red {
  color: #dc3545 !important;
}

a.red:hover {
  color: #af0032;
}

.green {
  color: #0BDA51;
}

.blue {
  color: #3c8dbc;
}

.stamp-color {
  color: rgb(117, 83, 179);
}

.bg-green {
  background-color: rgb(231, 241, 240);
}

.bg-brown {
  background-color: rgb(242, 238, 232);
}

.dark-brown {
  color: rgb(81, 65, 39);
}

.dark-green {
  color: rgb(0, 156, 0) !important;
}

.violet {
  color: rgb(144, 26, 183) !important;
}

.orange {
  color: #f39c12 !important;
}

.bold {
  font-weight: 500;
}

.vpad {
  padding: 25px 0;
}

.bpad {
  padding-bottom: 40px;
}

.mt {
  margin-top: 50px;
}

.center {
  text-align: center;
}

.mt-medium {
  margin-top: 20px;
}

.vpad-sm {
  padding: 12px 0;
}

.mt-s {
  margin-top: 12px;
}

.mt-md {
  margin-top: 24px;
}

.mb-s {
  margin-bottom: 12px;
}

.mt-xs {
  margin-top: 4px;
}

.v-gap {
  height: 50px;
}

.lf {
  display: block;
  text-align: left;
}

.cntitle {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #495153;
  margin: 24px 0 12px 0;
  font-size: 17px;
}

.password-block {
  display: none;
}

.switch-role {
  color: #b3bcc9;
  text-decoration: underline;
}

footer {
  padding-top: 25px;
  color: #818c99;
}
footer p {
  line-height: 1;
  margin-bottom: 10px;
}
@media all and (max-width: 960px) {
  footer {
    text-align: center;
  }
}

.pagination-controls,
.fired-list-controls {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.pagination-controls a,
.pagination-controls span,
.fired-list-controls a,
.fired-list-controls span {
  margin-left: 7px;
}
.pagination-controls span,
.fired-list-controls span {
  display: none;
}

.pagination-select {
  color: #818c99;
  margin-top: 16px;
}
@media all and (max-width: 780px) {
  .pagination-select select {
    margin-top: 16px;
  }
}

.spoiler-link {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px dashed;
  padding-bottom: 2px;
}
.spoiler-link:hover {
  color: inherit;
}

iframe {
  width: 100%;
  height: 633px;
  max-height: 65vh;
  border: 1px solid black;
  display: block;
}
iframe.document {
  overflow: visible;
  border: none;
  height: 720px;
  max-height: 200vh;
  background-color: white;
}
iframe.document.long {
  max-height: none;
  height: 812px;
}
@media all and (max-width: 960px) {
  iframe.document.long {
    width: 1200px;
  }
}
iframe.document.longer {
  max-height: none;
  height: 1224px;
}

.darkblue {
  color: #2d14c5;
}

.search-button {
  display: flex;
  height: 32px;
  width: 40px;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
  color: #818c99;
  border: 1px solid #bbbbbd;
  border-left: none;
  border-radius: 0 4px 4px 0;
  box-sizing: border-box;
  cursor: pointer;
}
.search-button:hover {
  background-color: #efefef;
  color: #444;
}

.note-wrapper {
  position: relative;
  padding: 8px;
}
.note-wrapper span {
  font-size: 14px;
}
.note-wrapper .text {
  margin: 4px 0;
}
@media all and (max-width: 780px) {
  .note-wrapper .text {
    max-width: 70vw;
  }
}
.note-wrapper .files {
  margin-top: 8px;
}
.note-wrapper .files a {
  margin-right: 12px;
}
.note-wrapper .delete {
  position: absolute;
  top: 8px;
  right: 25px;
  color: #b3bcc9;
  cursor: pointer;
}
.note-wrapper .delete:hover {
  color: #dc3545;
}
.note-wrapper + .note-wrapper {
  border-top: 1px dotted #818c99;
}

.inline-icon-right {
  margin-left: 4px;
}

.delete-icon {
  color: #b3bcc9;
}
.delete-icon:hover {
  color: #dc3545;
}

.deleted {
  text-decoration: line-through;
  color: #b3bcc9 !important;
}

.scrollable-table {
  font-size: 12px !important;
  height: 900px;
  overflow-y: scroll;
}

.not-expandable {
  cursor: text;
}

.legal-wrapper {
  margin-top: 16px;
  margin-left: 16px;
}
@media all and (max-width: 780px) {
  .legal-wrapper {
    margin-left: 0;
  }
}

.legal-article-wrapper {
  border-radius: 8px;
}
@media all and (max-width: 780px) {
  .legal-article-wrapper {
    margin-left: 0;
  }
}

.legal-root-folder {
  font-weight: 400;
  font-size: 18px;
}

.legal-folder {
  color: #495153;
  text-decoration: none;
}
.legal-folder:hover {
  color: #25292a;
}
.legal-folder.denied {
  color: #ddd;
  text-decoration: none;
  cursor: default;
}
.legal-folder.denied:hover {
  color: #ddd;
}

.legal-article-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #495153;
  text-decoration: none;
}
.legal-article-title:hover {
  color: #25292a;
}

.legal-text-hint {
  font-size: 13px;
  margin: 6px 0 12px 0;
}

.legal-article-content {
  padding-left: 16px;
  border-left: 3px solid #ddd;
}
.legal-article-content-block {
  margin-top: 16px;
}
.legal-article-content-block.links-block {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.legal-article-content-block.links-block a {
  margin-right: 20px;
  font-size: 12px;
}
@media all and (max-width: 780px) {
  .legal-article-content-block.links-block {
    flex-direction: column;
  }
  .legal-article-content-block.links-block a {
    margin-right: 0;
    margin-bottom: 12px;
  }
}
.legal-article-content-block.comment-title {
  display: inline-flex;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  background-color: rgb(196, 238, 113);
}
.legal-article-content-block.comment-title:hover {
  cursor: pointer;
  background-color: #a8e62d;
}

a.comment-link {
  color: black;
}
a.comment-link:hover {
  color: black;
}

.no-auth-form {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
}

.lawyer-list-block {
  color: #495153;
  padding: 15px 0;
}
.lawyer-list-block + .lawyer-list-block {
  border-top: 1px dotted black;
}
.lawyer-list-block-title {
  font-size: 17px;
  font-weight: 400;
  color: black;
}

.lawyer-info {
  margin-top: 12px;
  font-size: 13px;
}
.lawyer-info span.title {
  color: black;
  font-weight: 600;
}
.lawyer-info span.column-title {
  display: block;
  margin-bottom: 4px;
}

@media print {
  .delete {
    display: none;
  }
}

.nested-legal-counter {
  font-size: 12px;
  margin-left: 12px;
  color: #818c99;
}

.checkbox-md {
  width: 22px;
  height: 22px;
}

.label-link {
  margin-left: 6px;
  font-size: 12px;
}

@media all and (max-width: 780px) {
  .archive-column {
    display: block;
    width: 100%;
  }
}

.route-search-wrapper {
  width: 400px;
}
@media all and (max-width: 780px) {
  .route-search-wrapper {
    width: 100%;
  }
}

.links-block {
  display: flex;
  flex-direction: row;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 12px;
}

.span-blocks span:not(.span-inline) {
  display: block;
}

.signature-code {
  font-size: 24px;
  color: #495153;
  font-family: monospace;
  font-weight: normal;
}

.balance-counter {
  font-size: 12px;
  padding: 2px 4px;
  border: 1px solid #818c99;
  border-radius: 4px;
}
