/* variables */
:root {
  --transparent__grey: #000000c9;
  --strong__blue: #4c7ebe;
  --light__blue: #56ccf1;
}

html {
  overflow-y: auto;
}

html,
body {
  height: 100%;
  max-height: 100%;
}

div[data-app].application,
div[data-app].application>.application--wrap,
div[data-app].application>.application--wrap>.v-content,
div[data-app].application>.application--wrap>.v-content>.v-content__wrap {
  max-height: inherit;
  height: inherit;
}

/*  */

.box-shadow--none {
  box-shadow: none !important;
}

.v-breadcrumbs__divider {
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.btn-group {
  max-width: fit-content;
  margin: 4px;
  border-radius: 10px;
  filter: drop-shadow(1px 3px 2px rgba(33, 33, 33, 0.7));
}

.btn-group>.v-btn:first-child:not(:last-child),
.btn-group>.v-menu:first-child:not(:last-child)>.v-menu__activator>.v-btn {
  /* clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 40%); */
  border-radius: 0;
  margin: 0;
  padding: 0 10px;
  box-shadow: unset !important;
}

.btn-group>.v-btn:not(:first-child):not(:last-child),
.btn-group>.v-menu:not(:first-child):not(:last-child)>.v-menu__activator>.v-btn {
  border-radius: 0;
  margin: 0;
  padding: 0 10px;
  box-shadow: unset !important;
}

.btn-group>.v-btn:not(:first-child):last-child,
.btn-group>.v-menu:not(:first-child):last-child>.v-menu__activator>.v-btn {
  /* clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 40%, 100% 100%, 0 100%); */
  border-radius: 0;
  margin: 0;
  padding: 0 10px;
  box-shadow: unset !important;
}

/*  */


/* font-families */

.theme--dark.v-subheader {
  color: white;
}

.theme--light.v-subheader {
  color: black;
}

.font-family--playfair-display-sc,
.font-family--playfair-display-sc .display-4:not(.v-icon),
.font-family--playfair-display-sc .display-3:not(.v-icon),
.font-family--playfair-display-sc .display-2:not(.v-icon),
.font-family--playfair-display-sc .display-1:not(.v-icon),
.font-family--playfair-display-sc .headline:not(.v-icon),
.font-family--playfair-display-sc .title:not(.v-icon),
.font-family--playfair-display-sc .subheading:not(.v-icon),
.font-family--playfair-display-sc .body:not(.v-icon),
.font-family--playfair-display-sc .body:not(.v-icon),
.font-family--playfair-display-sc .caption:not(.v-icon) {
  font-family: "Playfair Display SC", serif !important;
  /* font-family: "Comic Sans MS", cursive !important; */
}

.display-4.v-icon,
.display-3.v-icon,
.display-2.v-icon,
.display-1.v-icon,
.headline.v-icon,
.title.v-icon,
.subheading.v-icon,
.body.v-icon,
.body.v-icon,
.caption.v-icon {
  font-family: 'Material Icons' !important
}


/* MCT Snackbar */
.v-snack.mct--snackbar .v-snack__content {
  height: auto !important;
  padding: 10px !important;
}

/* cursors */
.cursor--pointer {
  cursor: pointer;
}

.fit-content {
  width: fit-content;
}

.max-width--fit-content {
  max-width: fit-content !important;
}

.overflow-x--auto {
  overflow-x: auto !important;
}

.app-title {
  border-left: 3px solid var(--strong__blue);
  border-radius: 10px;
  border-top: 3px solid var(--strong__blue);
  padding-left: 5px;
  padding-right: 2px;
  border-top-left-radius: 0;
}

#main-workspace {
  background: white;
  /* background: #f5f5f5; */
}

/* ----------- */

.v-navigation-drawer>.v-list .v-list__tile {
  height: auto !important;
  min-height: 40px !important;
}

.v-list .v-list__tile .v-list__tile__title,
.v-list .v-list__tile .v-list__tile__sub-title {
  height: auto !important;
  white-space: normal !important;
}

.v-navigation-drawer>.v-list .v-list__tile .v-list__tile__content {
  overflow: auto !important;
}

.v-input.v-input__append-outer--margin--none .v-input__append-outer {
  margin: 0;
}

.v-toolbar__extension {
  min-height: 48px !important;
}

.v-toolbar.v-toolbar__content--x-padding--none>.v-toolbar__content {
  padding: 0;
}

.v-toolbar.v-toolbar__content--padding-left--none>.v-toolbar__content {
  padding-left: 0;
}

.v-toolbar.v-toolbar__content--padding-right--none>.v-toolbar__content {
  padding-right: 0;
}

/* ----------- */

.no-min-height {
  min-height: 0 !important;
}

.height--fit-content {
  height: fit-content !important;
}

.height--auto {
  height: auto !important;
}

.no-min-width {
  min-width: 0 !important;
}

.background--none {
  background: none !important;
}

.background--white {
  background: white !important;
}

/* отключает возможность выбора текста, хорошо используется с иконками */
.no-select {
  /* iOS Safari */
  -webkit-touch-callout: none;
  /* Safari */
  -webkit-user-select: none;
  /* Konqueror HTML */
  -khtml-user-select: none;
  /* Firefox */
  -moz-user-select: none;
  /* Internet Explorer/Edge */
  -ms-user-select: none;
  /* Non-prefixed version, currently supported by Chrome and Opera */
  user-select: none;
}

/* ----------- */

.fill-width {
  width: 100% !important;
}

.primary--gradient--background {
  background-image: linear-gradient(180deg,
      var(--light__blue),
      var(--strong__blue));
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.primary--gradient--background .primary--text {
  color: white !important;
  caret-color: white !important;
  border-bottom: 1.5px solid white;
  padding-bottom: 0px;
  margin-left: 10px;
  margin-right: 10px;
  font-weight: 600 !important;
}

/* .v-navigation-drawer { !!!!!!!!!!!!!1
  min-width: 350px;
  max-width: 700px;
} */

/* .v-navigation-drawer__border {
  min-width: 5px;
}

.v-navigation-drawer__border:hover {
  cursor: e-resize;
} */

.v-input.v-text-field>.v-input__control>.v-input__slot {
  -webkit-box-shadow: inset 0px 0px 3px -1px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: inset 0px 0px 3px -1px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0px 0px 3px -1px rgba(0, 0, 0, 0.5);
}

/* .v-input--is-focused.v-input>.v-input__control>.v-input__slot {
  box-shadow: unset !important;
} */

.v-input.hide-messages>.v-input__control>.v-text-field__details .v-messages {
  display: none;
}

.v-input:not(.v-input--is-focused)>.v-input__control .v-text-field__details>.v-counter {
  display: none;
}

.v-input.v-input--is-focused>.v-input__control .v-text-field__details>.v-counter {
  display: block;
}

.v-textarea>.v-input__control>.v-input__slot>.v-text-field__slot>textarea {
  padding: 2px 3px !important;
  min-height: 0;
}

.v-card,
.v-dialog {
  border-radius: 0 !important;
}

.v-dialog.v-dialog--active>.v-card>.v-toolbar>.v-toolbar__content {
  height: 36px !important;
}

.v-dialog.v-dialog--active>.v-card>.v-toolbar>.v-toolbar__content>.v-toolbar__items>.v-btn {
  min-width: 0 !important;
  height: fit-content !important;
}

/* .v-dialog.v-dialog--active .v-card__title {
  cursor: grab;
}

.v-dialog.v-dialog--active.grabbed .v-card__title,
.v-dialog.v-dialog--active.grabbed .v-toolbar {
  cursor: grabbing;
} */

.v-dialog--scrollable>.v-card {
  width: 100%;
}

.v-menu__content .v-card {
  border-radius: 0px !important;
}

.v-menu__content .v-card {
  border-top-left-radius: 2px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 2px !important;
}

.v-select:not(.v-autocomplete)>.v-input__control>.v-input__slot>.v-select__slot>.v-select__selections>input {
  display: none;
}

.v-select .v-chip {
  background: var(--strong__blue);
  font-size: inherit;
  width: 100%;
  border-radius: 0;
  margin-left: 2px;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 2px;
}

.no-wrap.v-text-field>.v-input__control>.v-input__slot .v-select__selection {
  white-space: nowrap;
  min-width: fit-content;
}

.v-select.v-select--chips .v-select__selections {
  padding-top: 2px;
}

.v-chip .v-chip__content {
  color: white;
  font-size: inherit;
  height: auto;
}



.v-input--checkbox {
  padding-top: 0;
  margin-top: 0;
}

.v-input__control {
  min-height: 28px;
  align-items: center;
  align-self: center;
}

.v-input--radio-group>.v-input__control>.v-input__slot {
  margin-bottom: 0px;
  transform: translateY(25%);
  align-self: center;
}

.v-text-field {
  padding-top: 0;
  margin-top: 0;
}

.v-text-field>.v-input__control>.v-input__slot input,
.v-text-field>.v-input__control>.v-input__slot .v-select__selection {
  margin: 0;
  padding-left: 3px;
  padding-top: 2px;
  padding-right: 3px;
  padding-bottom: 2px;
  color: black !important;
}

.v-text-field>.v-input__control>.v-input__slot input,
.v-text-field>.v-input__control>.v-input__slot .v-select__selection {
  font-size: 14px;
}

.v-text-field>.v-input__control>.v-input__slot {
  background: white;
}

.v-text-field>.v-input__control>.v-input__slot:before,
.v-text-field>.v-input__control>.v-input__slot:after {
  border-style: none;
  border-width: 0;
}

.v-text-field.v-input--is-focused>.v-input__control>.v-input__slot {
  -webkit-box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2),
    0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
    0 1px 3px 0 rgba(0, 0, 0, 0.12) !important;
}

.v-text-field>.v-input__control>.v-input__slot {
  border: 1px solid #949494;
  border-radius: 0;
  margin-bottom: 0;
}

.v-text-field>.v-input__control {
  position: relative;
}

.v-text-field>.v-input__control>.v-text-field__details {
  position: absolute;
  width: 100%;
  padding-left: 3px;
  padding-right: 3px;
  font-size: 12px;
  top: 90%;
  z-index: 1;
}

.v-text-field>.v-input__control>.v-text-field__details .v-counter,
.v-text-field>.v-input__control>.v-text-field__details .v-messages__wrapper {
  background-color: var(--strong__blue);
  color: white !important;
  font-family: SF Pro Text;
  font-size: 13px;
  border-radius: 0;
  padding-left: 3px;
  padding-top: 2px;
  padding-right: 3px;
  padding-bottom: 2px;
  min-width: 0;
  min-height: 0;
  z-index: 1 !important;
  height: fit-content;
}

.error--text .v-messages__wrapper {
  background-color: #f44336 !important;
}

.v-text-field .v-messages__wrapper:empty {
  display: none;
}

.v-subheader {
  height: auto !important;
  min-height: 36px;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background-color: #222;
}

::-webkit-scrollbar-thumb {
  background-color: var(--strong__blue);
}

.v-menu__content,
.v-menu__content .v-card {
  border: 0.5px solid #949494 !important;
  border-radius: 0 !important;
}

.v-menu__content .v-list {
  padding-top: 2px;
  padding-bottom: 2px;
}

.v-menu__content .v-list * {
  font-size: 14px;
}

.v-list {
  padding-top: 2px;
  padding-bottom: 2px;
}

.v-menu__content .v-list__tile {
  padding-left: 3px;
  padding-right: 3px;
  height: auto;
}

.v-menu__content .v-list__tile__title {
  height: 24px;
}

.v-autocomplete .v-select__selections {
  padding-left: 3px;
  padding-right: 3px;
  font-size: 14px;
  min-height: 24px;
}

.v-select.v-select--chips .v-select__selections {
  min-height: 24px;
}

.v-autocomplete .v-select__selections>.v-chip {
  margin: 1px;
  border-radius: 0;
  background-color: var(--strong__blue);
  color: white;
  border: 0.5px solid #949494;
}

.v-autocomplete .v-select__selections>.v-chip>.v-chip__content {
  padding-left: 3px;
  padding-top: 2px;
  padding-right: 3px;
  padding-bottom: 2px;
  display: contents;
  white-space: pre-wrap;
}

.v-text-field .v-input__append-inner,
.v-autocomplete .v-input__append-inner {
  margin: 0;
  align-items: center;
  align-self: center;
  justify-items: center;
}

table.v-table>thead>tr:first-child,
table.v-table>tbody>tr {
  height: 34px !important;
}

table.v-table>thead>tr:first-child>th {
  font-weight: 600 !important;
  font-size: 14px !important;
}

table.v-table>tbody td,
table.v-table>thead>tr:first-child>th {
  padding-left: 6px !important;
  padding-top: 2px !important;
  padding-right: 3px !important;
  padding-bottom: 2px !important;
}

table.v-table tbody td,
table.v-table tbody th {
  height: 34px;
}

.v-input--checkbox .v-label {
  font-size: 14px;
}

.v-input--checkbox .error--text .v-messages__wrapper {
  background-color: white !important;
}

.v-list--dense .v-list__tile:not(.v-list__tile--avatar) {
  height: 30px;
}

.v-list__group__items--no-action .v-list__tile {
  padding-left: 40px !important;
}

table.v-table tr[active] {
  background: #40abd852 !important;
}

.v-toolbar__extension {
  height: auto !important;
}

/* Mct qa card */

.v-dialog.mct-qa>.v-card.glass,
.mct-qa.v-card.glass {
  background: inherit !important;
}

.v-dialog.mct-qa>.v-card.glass,
.mct-qa.v-card.glass,
.mct-qa.glass>.v-card {
  border: 2px solid #385376;
  background: #000000ba !important
}

.v-dialog.mct-qa>.v-card.glass .v-subheader,
.mct-qa.v-card.glass .v-subheader,
.mct-qa.glass>.v-card .v-subheader {
  color: white;
}

.v-dialog.mct-qa>.v-card:before,
.mct-qa.v-card:before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: -1 !important;
  bottom: 0 !important;
  box-shadow: inset 0 0 2000px #ffffff80 !important;
  filter: blur(10px) !important;
}

.v-dialog.mct-qa>.v-card>.layout:nth-child(1),
.mct-qa.v-card>.layout:nth-child(1) {
  height: auto;
  min-height: 40px;
}


.v-dialog.mct-qa>.v-card .v-card__title,
.mct-qa.v-card .v-card__title {
  color: #fafafa !important;
  font-weight: bold !important;
  padding: 0;
}

.v-dialog.mct-qa>.v-card .v-card__title,
.mct-qa.v-card .v-card__title {
  /* iOS Safari */
  -webkit-touch-callout: none;
  /* Safari */
  -webkit-user-select: none;
  /* Konqueror HTML */
  -khtml-user-select: none;
  /* Firefox */
  -moz-user-select: none;
  /* Internet Explorer/Edge */
  -ms-user-select: none;
  /* Non-prefixed version, currently supported by Chrome and Opera */
  user-select: none;
}

.v-dialog.mct-qa>.v-card>.v-card__text,
.mct-qa.v-card>.v-card__text,
.v-dialog.mct-qa>.v-card>.v-card__actions,
.mct-qa.v-card>.v-card__actions {
  background: none !important;
}

/* Pagination */
.v-pagination {
  flex-wrap: wrap;
  justify-content: center;
}

/* text */

.text--black {
  color: black !important;
}

.text--white {
  color: white !important;
}

.text--underlined {
  text-decoration: underline;
}

/* v-btn */
.v-btn.btn--content--text-align-left>.v-btn__content {
  justify-content: left !important;
  text-align: left !important;
}

.v-btn.btn--content-wrap>.v-btn__content {
  white-space: normal !important;
  max-width: 100% !important;
}

.v-btn.v-btn--small-icon .v-icon {
  font-size: 18px !important;
}


.v-btn.tab {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 15px !important;
  border-bottom-right-radius: 0 !important;
  border: none !important;
  -moz-box-shadow: -4px 4px 5px 0px #385376 !important;
  -webkit-box-shadow: -4px 4px 5px 0px #385376 !important;
  box-shadow: -4px 4px 5px 0px #385376 !important;
  z-index: 1;

  transform: rotate3d(0, 0.5, 0, 3deg) !important;

  max-width: 100%;
  height: auto;
  min-height: 28px;
}

.v-divider.tab {
  transform: rotate3d(0, 0.5, 0, 3deg);
}

.div.tabbed {
  box-shadow: 0 -4px 10px -7px black !important;
}

/*  */
#chartjs-tooltip {
  background: var(--transparent__grey);
  color: white;
  max-width: 300px;
  width: auto;
}

.field-label.v-subheader {
  font-family: 'Playfair Display', serif !important;
  font-weight: bold !important;
  letter-spacing: 1px !important;
  font-size: 15px !important;
}

/* tables */

table.simple-table {
  border-collapse: collapse;
  width: 100%;
}

table.simple-table td,
table.simple-table th {
  border: 1px solid #ddd;
  padding: 8px;
}

#customers tr:nth-child(even) {
  background-color: #e0e0e0;
}

table.simple-table>tbody>tr:hover {
  background-color: rgba(221, 221, 221, 0.199);
}

table.simple-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
}

.v-input.hide-spinner input[type=number]::-webkit-outer-spin-button,
.v-input.hide-spinner input[type=number]::-webkit-inner-spin-button,
input[type=number].hide-spinner::-webkit-outer-spin-button,
input[type=number].hide-spinner::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

.v-input.hide-spinner input[type=number] {
  -moz-appearance: textfield;
  /* Firefox */
}

.heading {
  font-size: 18px !important;
  font-weight: 500;
}

.menu-lg {
  height: auto;
  border: none !important;
}

.menu-lg>.v-list>div[role="listitem"]>.v-list__tile .v-list__tile__title {
  height: 40px;
  line-height: 40px;
}