:root {
  --background: #222;
  --border: #139995;
  --green: #139995;
  --red: #690c32;
}

* {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

@font-face {
  font-family: "Chalkboard";
  src: url("../font/Chalkboard-Bold.woff");
  /* font-style: ; */
}

@font-face {
  font-family: 'Chalkboard';
  src: local('Chalkboard Bold'), local('Chalkboard-Bold'),
      url('../font/Chalkboard-Bold.woff2') format('woff2'),
      url('../font/Chalkboard-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Chalkboard';
  src: local('Chalkboardr'), local('Chalkboard'),
      url('../font/Chalkboard.woff2') format('woff2'),
      url('../font/Chalkboard.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: rgba(240, 250, 240, 0.1);
}

td {
  position: relative;
}

/* TOTAL */

.my-container {
  margin: 0 auto;
  padding: 20px;
  max-width: 1400px;
  flex-direction: row;
  margin-bottom: 10px;  border-radius: 20px;
  background-color: rgba(250, 250, 250, 0.822);
  padding-left: 70px;
}

.flex {
  display: flex;
}

.my-btn {
  border: none;
  background-color: var(--green);
  color: white;
  width: 50%;
}

.btn-categories {
  background-color: var(--green);
  width: 30%;
  color: white;
  padding: 10px 5px;
  font-size: 20px;
  border: var(--border);
  margin-bottom: 10px;
}

.btn-categories:active {
  translate: 0 -2px;
}

.btn-categories:not(:last-child) {
  margin-right: 4%;
}

/* HEADER */

.header {
  flex-direction: row;
  justify-content: space-between;
}

.header__logo {
  width: 180px;
  height: auto;
  align-self: center;
  cursor: pointer;
  padding-top: 10px;
  padding-left: 30px;
}

.header__logo:active {
  transform: rotate(360deg);
}

.header__card {
  position: relative;
  justify-content: column;
  padding: 10px;
  height: 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 15px;
  flex-direction: column;
  box-shadow: 2px 2px 2px rgba(19, 153, 149, 0.1);
  background-color: rgb(253, 253, 253);

}

/* MAIN */
/* LEFT BLOCK */

.main__left {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.left__btn-group {
  display: flex;
  flex-direction: column;
  padding: 0 30px;
}

.btn-group__form:not(:last-child) {
  margin-bottom: 10px;
}

.btn-group__take {
  margin-bottom: 5px;
}

.input-group__input-start {
  padding-left: 2px;
  padding-right: 2px;
  font-size: 25px;
  justify-content: center;
}

.input-group__input-exit,
.input-group__input-get {
  /* display: none; */
  width: 100%;
  font-size: 30px;
}

.take-car__form {
  margin-bottom: 0;
}

.take-car__form 
input::placeholder {
  font-size: 14px;
}

.take-car__form 
input:last-child {
  width: 25%;
}


.add-car__form {
  /* margin-bottom: 20px; */
}

#addCarNumber::placeholder {
  font-size: 12px;
}

#addCarNumber {
  padding-left: 7px;
  padding-right: 1px;
}

#FinishWork,
#Break {
  padding: 0;
  display: block;
  text-align: center;
  font-size: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 100%;
}

.input-group__add {
  width: 32%;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
  justify-content: center;
}

.add-car__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.btn-group__categories {
  display: flex;
  flex-direction: row;
}

.add-car__comment {
  width: calc(100% - 10px);
  padding: 5px;
  justify-content: center;
  transform: translateY(-10px);
}

.btn-group__fact {
  margin-bottom: 10px;
}

.car-fact__input {
  width: calc(100% - 10px);
  padding: 5px;
  justify-content: center;
  margin-bottom: 10px;
}

.left__queue{
  margin-bottom: 20px;
}

.left__queue{
  padding: 0 30px;
}

.status__circle {
  position: absolute;
  right: 20px;
  top: 70%;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  /* background-color: #139995; */
}

/* RIGHT BLOCK */

.main__right {
  display: flex;
  flex-direction: column;
  width: 75%;
}

.right__search {
  display: flex;
  flex-direction: row;
}

.right__search
.input-group-text {
  min-width: 100px;
  background-color: var(--green);
  color: white;
}

.search__block:not(:last-child){
  margin-right: 10px;
}

.search__input {
  max-width: 200px;
}

.search__input::placeholder {
  font-size: 12px;
}

.table-caption {
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 5px;
}

.table-car,
.table-actives,
.table-completed {
  max-height: 100px;
  width: 100%;
  min-width: 712px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2) !important;
}

.table-car__thead th,
.table-active__thead th,
.table-completed__thead th,
.table-check__thead th {
  vertical-align: top;
  background-color: #e6ffff;
  border-top-color: #fff;
}

.checkAfter {
  margin-left: 2px;
}

.list__title {
  font-family: "Chalkboard";
  font-size: 20px;
  margin: 0 auto 20px 10px;
}

.deleteUserQueue {
  position: absolute;
  right: 2px;
  top: 2px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}


#Chat {
  border: 1px solid rgba(0, 0, 0, 0.125);
  min-width: 250px;
  overflow: auto;
  position: relative;
  padding: 0;
  border: none;
  overflow-x: hidden;
  border-bottom: 2px solid var(--border);
  border-radius: 5px;
}

#Chat::-webkit-scrollbar {
  width: 0;
  position: absolute;
}

#Chat:hover::-webkit-scrollbar,
#Chat:active::-webkit-scrollbar,
#Chat:focus::-webkit-scrollbar {
  width: 5px;
  position: absolute;
} 

#Chat:hover::-webkit-scrollbar-thumb,
#Chat:active::-webkit-scrollbar-thumb,
#Chat:focus::-webkit-scrollbar-thumb {
  /* background-color: var(--green); */
  border: 50px;
  border: none;
}

#Chat:hover::-webkit-scrollbar-track,
#Chat:active::-webkit-scrollbar-track,
#Chat:focus::-webkit-scrollbar-track  {
  background-color: white;
  border: 2px solid white;
}

#Chat li{
  padding-right: 10px;
  /* width: calc(100% - 50px); */
  border-left: 2px solid var(--green);
  margin: 0;
  /* border: 2px solid red; */
}

.comment__block {
  width: 100%;
  /* height: 0; */
  /* visibility: hidden; */
  display: none;
  position: relative;
  transition-property: display;
}

.comment__block-visible {
  /* height: ; */
  display: flex;
}

.comment__btn-group {
  background-color: transparent;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comment__btn-group
button {
  background-color: transparent;
  border: none;
  transform: scale(1.5);
}

.comment__btn-group
button:hover {
  transform: scale(1.7);
}

.comment__btn-group
button:active {
  font-size: 20px;
}

.comment__btn-group
button:hover {
  transform: scale(1.7);
}

.comment__textarea {
  display: block;
  margin: 0 auto;
  width: calc(99% - 20px);
  padding: 2px 10px 2px 2px;
  min-height: 100px;
}

.comment__textarea::placeholder {
  padding-left: 10px;
}

input.comment__btn-ok {
  position: absolute;
  bottom: -5px;
  width: calc(100% - 18px);
  left: 3px;
  background-color: var(--green);
  display: block;
  margin: 0 auto;
  margin-top: 200px;
  border: none;
  padding-bottom: 5px;
  padding-top: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  color: white;
  font-size: 20px;
}

.comment__btn-close {
  position: absolute;
  background-color: transparent;
  border: none;
  top: 0;
  right: 5px;
  font-size: 20px;
}

.comment__btn-close:hover {
  font-size: 20px;
}


.chat__username {
  font-size: 12px;
  font-weight: 800;
  margin-right: 4px;
}

.chat__comment {
  font-size: 14px;
  font-style: oblique;
  padding-right: 45px;
}

.comment__time {
  font-size: 10px;
  width: 60px;
  position: absolute;
  top: 0;
  right: 2px;
  text-align: right;
}

.comment__time-queue {
  font-size: 10px;
  width: 60px;
  position: absolute;
  top: 0;
  right: 2px;
  text-align: right;
}

#BtnAddCommentToChat:hover {
  color: var(--border);
}

#BtnAddCommentToChat:active {
  font-size: 20px;
  transform: scale(1.02);
  padding-left: 10px;
  padding-right: 10px;
  color: var(--green);
}

.input-group__add-comment {
  /* margin-top: 5px; */
  border-left: 2px solid var(--border);
  border-radius: 8px;
}

#BtnBackToWork {
  display: block;
  margin: 0 auto;
  padding: 10px;
  font-size: 30px;
  width: 50px;
  border-radius: 50px;
}

/* FOOTER */

.footer {
  justify-content: space-between;
  padding: 20px 20px;
  align-self: flex-end;
  align-content: flex-end;
  align-items: center;
}

.footer__logo {
  width: 200px;
  height: 50px;
}

/* .footer__link:hover {
  color: var(--red);
} */

/* AUTHORIZATION */

.container-authorization {
  display: flex;
  margin-top: 10%;
  max-width: 500px;
  flex-direction: column;
  border: 1px solid rgb(19, 153, 149, 0.1);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 20px 25px 10px rgba(0, 0, 0, 0.2);
  background-color: rgba(19, 153, 149, 0.01);
  font-family: "Chalkboard";
  font-weight: bold;
}

.container-authorization__logo {
  display: block;
  margin-bottom: 20px;
  width: 236px;
  height: 60px;
  align-self: center;
}

/*  */
.body-author {
  margin: 0 auto;
  display: block;
  max-width: 800px;
}

.form-author
input {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.mb-3 {
  flex-direction: row;
}

.error-message {
  display: none;
  color: #690c32;
  text-align: center;
  font-size: 12px;
  padding-bottom: 4px;
}

.btn-author {
  display: block;
  margin: 0 auto;
  background-color: var(--border);
  border: none;
  font-weight: 600;
  width: 40%;
  padding: 15px 0px;
}

.form-label-author {
  width: 70px;
  margin-right: 10px;
}

.flex-container {
  flex-direction: row;
  justify-content: space-between;
}

.btn-get-in-queue,
.btn-exit-queue {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
  width: 80%;
  background-color: var(--border);
}

.btn--none {
  display: none;
}

.status {
  display: none;
  color: var(--border);
  padding-left: 5px;
  padding-bottom: 5px;
}

.status--active {
  color: var(--red);
  font-weight: 500;
}

.spanUrgentCar {
  background-color: white !important;
}

.chat-block {
  padding: 20px;
  min-height: 150px;
  max-height: 400px;
  overflow-x: hidden;
}

.li-queue:not(:last-child) {
  margin-bottom: 5px;
}

.my-btn:hover {
  opacity: 70%;
}

.disabled {
  opacity: 70%;
}

#carNumber,
#user {
  max-width: 150px;
}

.additEndDate {
  background-color: transparent !important;
  font-size: 11px;
}

.btnDateGroup {
  display: flex;
  flex-direction: column;
}

.btnAddEnd {
  min-width: 100px;
  position: absolute;
  width: 5px;
  height: 5px;
  font-size: 10px;
  padding: 0;
  margin: 0;
  bottom: 5px;
  right: 5px;
  border-radius: 20px;
}

.form-select-status {
  width: 120px;
  margin-bottom: 20px;
}

.btn-add-inform {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
}

.list-additional-inform {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.list-additional-inform
textarea {
  width: 60%;
}

.list-additional-inform
button {
  max-height: 30px;
  vertical-align: middle;
}

.btn-close {
  top: 5px;
}

.btn-save {
  background-color: #139995;
}

.logUserName {
  font-weight: 600;
}

.tr-car {
  background-color: white;
  border: 2px solid red;
  border-radius: 2px;
  border-bottom: 1px solid #139995;
}

.tr-car td {
  padding: 2px 5px;
  border: 2px solid rgb(248, 255, 255);
  min-width: 70px;
  max-height: 10px;
  position: relative;
}

.tr-car td:first-child {
  min-width: 115px;
}

.tr-car td:first-child:hover {
  cursor: pointer;
}

.tr-car td:last-child {
  text-align: justify;
}

.alert-change-carNumber {
  position: absolute;
  top: -20px;
  min-width: 200px;
  padding: 5px;
  z-index: 1000;
  display: flex;
  flex-direction: row;
}

.borderWarning {
  border: 4px solid var(--border);
}

.btn-additional-inform {
  font-size: 10px;
  font-weight: 500;
  width: 60%;
  padding: 2px 8px !important;
  border:  2px solid var(--green);
  border-radius:  10px;
  background-color: white !important;
}

.btn-additional-inform:hover {
  transform: translateY(1px);
  color: #139995;
}

.btnChangeCar:hover {
  transform: translateY(2px);
}

.btnChangeCar:active {
  border-color: var(--border);
}

.form-author {
  display: flex;
  flex-direction: column;
}

.endDate {
  display: block;
  background-color: transparent !important;
  font-size: 12px;
  min-width: 100px;
}

.fullname {
  font-weight: 600;
}

.noCar,
.yesCar {
  background-color: var(--green);
  color: white;
  padding: 10px 5px;
  font-size: 20px;
  border: var(--border);
  margin-bottom: 10px;
}

.addUsName {
  font-weight: 500;
}

.category {
  font-size: 12px;
  font-weight: 600;
}

.btnDisabled {
  position: relative;
}

.btn-next-active,
.btn-next-completed {
  margin-bottom: 10px;
  max-width: 700px;
  display: row;
  flex-wrap: wrap;
}

.btnNext {
  background-color: var(--green);
  border: 1px solid white;
}

.btnNext:focus,
.btnNext:hover {
  background-color: #690c32 !important;
  border: none;
}

.btnAddCMR {
  border: #139995;
  width: calc(100% - 6px);
  padding: 10px 2px 10px 4px ;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 400;
  font-size: 20px;
}

.listCMR {
  margin-bottom: 20px;
}

.checkboxLabel input {
  margin-right: 5px;
}

.urgentCar {
  max-width: 500px;
}

.btnDeleteUrgentCar {
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: white !important;
  margin-left: 25px;
}

.btn-next {
  border-top-right-radius: 0.375rem !important;
  border-bottom-right-radius: 0.375rem !important;
}

.btn-move-inActive:hover {
  opacity: 85%;
}

.chat__work {
  /* background-color: hsl(180, 48%, 63%); */
  color: hsl(180, 48%, 63%);
  font-weight: 700;
}

.chat__plus {
  color: hsl(180, 48%, 63%);
  font-weight: 700;
}

.chat__update {
  color: hsl(0, 48%, 63%);
  font-weight: 700;
}

.search__chat {
  width: 120px;
  display:  inline-block;
  margin-left: 50px;
  margin-bottom: 10px;
}

.notRegistration {
  color: #139995;
  font-weight: 600;
  /* border: 2px solid red; */
}

.btnNotRegistration {
  background-color: transparent !important;
  border: none;
}

.even {
  border-bottom: 2px solid black;
}

.odd {
  border-bottom: 2px solid black;
}

.block-search_parameter {
  display: flex;
  flex-direction: column;
  width: 200px;
  padding-left: 100px;
}

.logMail_item {
  border-bottom: 2px solid black;
  padding-bottom: 10px;
  padding-top: 10px;
}

.block-input_parameter {
  /* display: none; */
  padding-top: 10px;
  width: 200px;
}

.block-input_parameter input {
  margin-bottom: 10px;
}

.search_word {
  /* font-size: 25px; */
  /* font-size: xx-large; */
  background-color: rgb(83, 83, 83);
  color: white;
}

.user_logMail {
  color: rgb(41, 0, 0);
  font-size: larger;
  font-weight: 800;
  
}

#form_search_logMail {
  display: flex;
}

#form_search_logMail input {
  padding: 10px;
}

.actionMailMove {
  font-style: italic;
  background-color: blue;
  color: white;
}

.actionMailDelete {
  font-style: italic;
  background-color: red;
  color: white;
}

.date_logMail {
  font-size: 15px;
  font-weight: 600;
}

.search_parameter {
  display: block;
  text-align: justify;
  padding: 0;
  width: 300px;
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.my-container {
  padding-left: 50px;
}


@media (max-width: 720px) {
  /* TOTAL */

  .my-container {
    flex-direction: column;
  }


  /* HEADER */

  .header__logo {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    /* padding-bottom: 20px; */
    box-shadow: 2px 2px 2px rgba(19, 153, 149, 0.1);
  }

  /* RIGHT BLOCK */
  
  .right__search {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
  }  

  .search__block:not(:last-child){
    margin-right: 0px;
  }

  /* AUTHORIZATION */
  .container-authorization{
    max-width: 80%;
    font-size: 14px;
  }

  .btn-author {
    padding: 10px 0px;
  }

  .table-car,
  .table-car2 {
    min-width: 90%;
  }

  #carNumber,
  #userName{
    width: 80%;
    vertical-align: bottom;
  }

  #Chat {
    min-width: none;
  }

  .right {
    order: 3;
  }
}

@media (max-width: 500px) {
  /* AUTHORIZATION */
  .container-authorization__logo {
    width: 200px;
    height: 50px;
  }
}

.btn-return-user-in-queue {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
  background-color: var(--green);
  border: none;
  color: white;
  font-weight: 500;
  width: 75%;
}

.btn-return-user-in-queue:hover {
  opacity: 0.5;
  color: white;
}

.users-list-for-return li:hover,
.tbody-user-list tr:hover td{
  background-color: var(--background);
  color: white;
  cursor: pointer;
}

.user-list__content-change {
  max-height: 500px;
  overflow-y: auto;
}

.user-list__content {
  height: 350px;
  overflow-y: auto;
  padding-top: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgb(224, 224, 224);
  border-top: 1px solid rgb(224, 224, 224);
}

.input__search-users {
  margin-bottom: 10px;
  width: 95%;
}

.input__search-users-change {
  margin-left: 2%;
  width: 94%;
  margin-bottom: 10px;
}

#modal-change-category {
 top: 50px; 
}

#modal-change-category 
.modal-content {
  width: 700px;
  margin: 0 auto;
}

.socket-main {
  width: 700px;
  margin: 0 auto;
  margin-top: 50px;
}

.form__socket .row {
  margin-bottom: 10px;
}

#select__exam {
  background-color: none;
  border: none;
  /* width: 130px; */
}

.tbody-user-list tr td:nth-last-child(2) {
  padding-left: 50px;
}

.select__choose-table {
  background-color: #139995;
  color: #fff;
  border: none;
  height: 38px;
  border-radius: 5px;
  margin-right: 10px;
}

.row__exam-active td {
  background-color: rgb(255, 250, 250);
}

.row__exam-completed td {
  background-color: rgb(240, 255, 240);
}

.btn-exit {
  background-color: #139995;
  color: #fff;
  height: 40px;
  align-self: center;
  margin-left: 12px;
  border: none;
  border-radius: 10px;
  border: 2px solid #139995;
}

.btn-exit:hover {
  background-color: #690c32;
  border-color: #690c32;
  color: #fff;
}

.form-car__exam {
  display: flex;
  flex-direction: row;
}

.btn__delete-car-exam {
  background-color: transparent;
  border: none;
  height: 15px;
  width: 2px;
  background-image: url('../img/delete.svg');
  background-repeat: no-repeat;
  background-size: 15px auto;
}

.btn__delete-car-exam:hover {
  background-image: url('../img/deleteHover.svg');
}

.btn__ready-exam {
  border: 2px solid #139995;
  background-color: #139995;
  color: #fff;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 10px;
}

.btn__ready-exam:hover {
  background-color: #fff;
  color: #139995;
}

#textarea__info-exam {
  width: 100%;
}

.car-block__exam {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
}

/* телефония telephony */
.tbody__telephony tr {
  cursor: pointer;
}

.container-telephony {
  padding-left: 80px;
}

.tbody__telephony tr:hover td {
  background-color: #690c32;
  color: #fff;
}

#inp__search-number {
  border-radius: 5px;
  border-color: #690c32;
  padding: 2px;
} 

.nav__change-card .nav-link {
  color: #139995;
}

.nav__change-card .nav-link.active {
  background-color: #139995;
  color: #fff;
}

.tbody__telephony tr .cell__last-telephony button{
  cursor: pointer;
  display: none;
}

.tbody__telephony tr.active__row-telephony .cell__last-telephony button {
  display: block;
}

.active__row-telephony {
  background-color: #690c32;
  color: #fff;
}

.cell__last-telephony {
  text-align: right;
}

.cell__last-telephony button{
  font-size: 12px;
  width: 100px;
  background-color: #fff;
  color: #690c32;
}

.btn__saveChangesTelephony {
  margin-bottom: 2px;
}


.pagination__telephony .page-link{
  background-color: #690c32;
  color: #fff;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}
.pagination__telephony {
  margin: 0;
}

.pagination__telephony .page-link:hover {
  background-color: #690c32;
  border: 2px solid #690c32;
  opacity: 0.5;
  padding: 4px 8px;
}

.pagination__telephony .page-link:active {
  transform: translateY(-2px);
}

.page-link__current {
  color: #690c32;
  display: block;
  margin: 0 auto;
  margin-right: 0;
  margin-top: 0;
  width: 50px;
  text-align: center;
  font-size: 15px;
}

.tfoot__telephony td {
  padding: 0;
}

.btn__saveChangesPhoneData {
  background-color: #690c32;
  color: #fff;
  border: 2px solid #690c32;
  display: block;
  margin: 0 auto;
}

.btn__saveChangesPhoneData:hover {
  background-color: #690c32;
  border: 2px solid #690c32;
  opacity: 0.5;
} 

.btn__saveChangesPhoneData:focus,
.btn__saveChangesPhoneData:active {
  background-color: #690c32;
  color: #fff;
  border: 2px solid #690c32;
}

.form__changesPhoneData {
  display: block;
  margin: 0 auto;
  width: 400px;
  padding: 20px;
  padding-bottom: 10px;
  border: none;
}
.form__changesPhoneData .form-control {
  width: 90%;
  margin: 0 auto;
}

.form__changesPhoneData .row {
  margin-bottom: 10px;
}

.my-toast {
  opacity: 1;
  background-color: #690c32;
  color: #fff;
  /* display: none; */
  position: fixed;
  right: 150px;
  top: 15px;
  font-size: 15px;
  width: 250px;
} 

.toast-header {
  background-color: #fff;
  color: #690c32;
}

.toast-header .btn-close {
  color: #690c32;
}

.footer__link-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
}


.header__link-group a {
  margin-bottom: 12px;
  /* border: 1px solid #222; */
}

.footer__link-group a {
  text-align: right;
}

.footer__link {
  width: max-content;
  height: 30px;
  cursor: pointer;
  margin-right: 10px;
}

/*  ФИТО  */
.fito-container {
  border: 2px solid rgb(226, 225, 225);
  margin: 0 auto;
  padding: 20px;
  max-width: 1400px;
  flex-direction: row;
  margin-bottom: 10px;  border-radius: 20px;
  background-color: rgba(248, 248, 248, 0.822);
  max-height: 500px;
  position: relative;
  /* overflow-y: auto; */
}

.fito-container__table {
  max-height: 400px;
  overflow-y: auto;
}

.table-fito__fixed  {
  background-color: #fff;
  margin-bottom: -15px;
}

.table-fito__fixed th {
  background-color: #d1f3f2;
}

.table-fito__fixed-inactive th { 
  background-color: #fbede9;
}

.fito-containet__table {
  overflow-y: auto;
  max-height: 300px;
}


.fito-main {
  min-height: 80vh;
}

.btn__add-fito,
.btn__fito-save,
.btn__fito-note-save {
  background-color: #139995;
  color: #fff;
  padding: 5px 10px;
  border: 2px solid #139995;
  border-radius: 10px;
}

.btn__fito-save,
.btn__fito-note-save {
  background-color: #690c32;
  border: 2px solid #690c32;
}

.btn__add-fito:hover{
  background-color: #690c32;
  border: 2px solid #690c32;
}
.btn__fito-save:hover,
.btn__fito-note-save:hover {
  background-color: #139995;
  border: 2px solid #139995;
}

.btn__add-fito:active {
  transform: translateY(2px);
}

.pagination__fito a{
  color: #222;
}

.pagination__fito li:first-child {
  margin-right: 5px;
}

.pagination__fito li:last-child {
  margin-left: 5px;
}

.pagination__fito li:hover a {
  background-color: #690c32;
  color: #fff;
}

#modalAddFito 
.modal-content {
  padding: 10px;
}

.form__add-fito,
.form__add-fito-note {
  padding-right: 40px;
}

.form__add-fito .row,
.form__add-fito-note .row {
  flex-wrap: nowrap;
  width: 100%;
  padding: 0;
}
.form__add-fito-note .row {
  margin-bottom: 10px;
}

.form__add-fito .row:not(:last-child) {
  margin-bottom: 15px;
}

.fito-download-file {
  background-color: transparent;
  border: none;
  background-image: url('../img/download.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
}

.table__fito {
  position: relative;
}

.table__fito tbody tr:hover td {
  background-color: #690c32;
  color: #fff;
  cursor: pointer;
}

.table__fito tbody tr:hover .fito-download-file {
  background-image: url('../img/downloadWhite.png');
}

.table__fito tbody tr td:hover .fito-download-file {
  transform: scale(1.5);
  margin-left: 4px;
}

.ready__fito-order {
  border: none;
  background-color: transparent;
  background-image: url('../img/check.svg');
  background-repeat: no-repeat;
  background-size: contain;
  height: 15px;
  width: 15px;
}

.table__fito tbody tr:hover .ready__fito-order {
  background-image: url('../img/checkHover.svg');
}

a.pagination-fito__active {
  background-color: #690c32;
  color: #fff;
}

.search-fito {
  width: 500px;
  border-radius: 10px;
  padding: 5px;
  margin-left: 10px;
}

.input-role {
  width: 85px;
  font-size: 15px;
  padding-left: 2px;
  padding-right: 2px;
  text-align: center;
}

.table-car__body td {
  background-color: white;
}

.table-car__body td:not(:nth-child(1)){
  cursor: pointer;
}

.table-car__body td:nth-child(6) {
  font-size: 14px;
}

.btn__deleteCar {
  background-color: transparent;
  border: none;
}

.btn-category__active {
  background-color: #139995;
}

.btn-category__inactive {
  opacity: 50%;
  cursor: not-allowed;
}
#queueWaiting,
#queueActive {
  list-style: none;
  padding: 0;
  margin: 0;
  border: none;
}
#queueWaiting  li,
#queueActive li{
  margin-bottom: 1px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px;
  width: 200px;
  padding-right: 10px;
}

.active__user-queue {
  background-color: rgb(240, 255, 240);
  border: 2px solid rgb(157, 205, 201);
}

.inactive__user-queue {
  background-color: rgb(255, 228, 181);
  border: 2px solid rgb(245, 203, 131);
}

.warking__user-queue {
  background-color: rgb(225, 250, 250);
  border: 2px solid rgb(160, 221, 221);
}

.warking-true__user-queue {
  background-color: rgb(238, 236, 237);
  border: 2px solid rgb(207, 189, 196);
}

.category__not-registration {
  color: #139995;
  font-weight: 800;
  font-style: oblique;
}

.tbody__order-active tr td,
.tbody__order-completed tr td{
  padding: 0;
  padding-bottom: 3px;
  padding-left: 5px;
}

.tbody__order-active tr td:nth-child(5),
.tbody__order-completed tr td:nth-child(5) {
  text-align: center;
  padding: 0;
  vertical-align: middle;
  cursor: pointer;
}

.tbody__order-active tr td:nth-child(5):hover,
.tbody__order-completed tr td:nth-child(5):hover {
  font-size: 20px;
}

.row__order-active td {
  background-color: #fffafa;
}

.row__order-info td {
  background-color: #FFE4B5;
}

.row__order-completed td {
  background-color: #ccdbca;
}

.row__order-expectation td {
  background-color: #f07ffa;
}

.btn__order-ready {
  display: flex;
  background-color: transparent;
  border: none;
  align-items: center;
  align-content: center;
  align-self: center;
  vertical-align: bottom;
  cursor: pointer;
}

.order__btn-group {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  margin-left: 5px;
  /* width: max-content; */
  /* justify-content: space-around; */
}

.btn__order-not-ready {
  margin-left: 25px;
  font-size: 22px;
  font-weight: 700;
}

.btn__order-ready:hover {
  transform: translateY(2px);
}

.pagination__order-active,
.pagination__order-completed {
  display: flex;
  flex-direction: row;
  /* height: 30px; */
  font-size: 15px;
}

.pagination__order-active li,
.pagination__order-completed li{
  background-color: var(--green);
  color: #fff;
  cursor: pointer;
  margin-right: 1px;
  padding: 2px 10px;
}

.pagination__order-active .active,
.pagination__order-completed .active {
  background-color: #690c32;
  color: #fff;
  border: none;
}

.pagination__order-active li:hover,
.pagination__order-completed li:hover {
  background-color: #fff;
  color: #222;
}

.pagination__order-active .list-item__point,
.pagination__order-completed .list-item__point {
  background-color: transparent;
  color: #222;
  padding-bottom: 0;
  vertical-align: center;
}

.my-btn-success {
  background-color: #690c32;
  border: none;
  color: #fff;
}

.my-btn-success:hover {
  background-color: rgb(69, 3, 31);
  color: #fff;
}

/* .btn__add-info {
  display: block;
  margin: 0 auto;
} */

/* модалка дополнительной инфы */


.list__additional-info li {
  padding: 0;
  padding-left: 5px;
}

.item__create-info {
  font-display: flex;
  flex-direction: row;
  align-content: center;
  position: relative;
  padding: 26px 5px 4px;
  padding-top: 10px;
}

.item__create-info textarea {
  width:calc(100% - 9px);
  margin-right: 5px;
  height: 50px;
}

.btn__save-info {
  display: inline-block;
  background-color: #139995;
  color: #fff;
  width: 80px;
  margin: 0 auto;
  margin-right: 0;
  margin-left: 10px;
}

.btn__save-info:hover {
  opacity: 0.7;
  color: #fff;
}

.btn__remove-info {
  margin-left: 42%;
  width: 100px;
}

.btn__remove-info:hover {
  transform: translateY(2px);
}

.btn__deleteUser {
  position: absolute;
  top: 2px;
  right: 0px;
  font-size: 10px;
  cursor: pointer;
}

.btn__deleteUser:hover {
  font-size: 12px;
}

#inputChangeAvtoNumder {
  margin-bottom: 10px;
}

.labelChangeAvtoNumber {
  padding-left: 4px;
}

.btn__return-user,
.btn__change-category {
  display: block;
  width: calc(100% - 30px);
  margin: 0;
}

.search__user-return {
  width: calc(100% - 2rem);
  margin-bottom: 4px;
}

.list__users-return {
  max-height: 700px;
  min-height: 400px;
  overflow-y: auto;
}

.list__users-return li {
  cursor: pointer;
}

.list__users-return li:hover {
  background-color: #690c32;
  color: #fff;
}

.list__additional-info {
  margin-bottom: 10px;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 460px;
}

.additional-info__username {
  font-size: 14px;
  font-style: italic;
}

.additional-info__date {
  position: absolute;
  top: 0;
  right: 5px;
  font-size: 10px;
}

.group-item__additional-info {
  display: flex;
  flex-direction: column;
  position: relative;
}

#changeUserCategory .modal-dialog {
  max-width: 800px;
}

.search__user-change-cat {
  width: 96%;
}

.tbody__user-category tr:hover td {
  background-color: #690c32;
  color: #fff;
  cursor: pointer;
}

.block__table-user-cat {
  max-height: 800px;
  overflow-y: auto;
}

.hideBtnBlock {
  margin-left: 30px;
  background-color: white;
  border: white;
  border-radius: 10px;
  color: white;
  width: calc(100% - 60px);
}

.hideBtnBlock:hover {
  display: none;
  border: 1px solid black;
  color: black;
}

.main__phone-list {
  padding: 0 10px 10px 20px;
}

.main__phone-list li {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.main__phone-list li span {
  font-weight: 500;
}

.list-phone {
  min-width: 200px;
  max-width: 200px;
}

.list-phone li {
  position: relative;
  padding-right: 80px;
}

.list-phone li:hover {
  cursor: pointer;
  background-color: #139995;
  color: #fff;
}

.list-phone input{
  width: 170px;
  margin: 0;
  border-radius: 10px;
}

.list-phone input::placeholder {
  font-size: 11px;
}

.phone-time {
  position: absolute;
  top: 0;
  right: 2px;
  font-size: 10px;
  text-align: right;
  font-style: oblique;
}

.phone-chat__block {
  /* border: 1px solid rgb(210, 203, 203); */
  border-radius: 10px;
  position: absolute;
  left: 100%;
  width: 0;
  overflow-x: hidden;
  background-color: #fff;
  padding: 0;
  /* animation-name: closeChatBlock; */
  animation-duration: 0.5s;
}

.phone-chat__block-active {
  border: 1px solid rgb(210, 203, 203);
  width: 400px;
  padding: 20px 10px 0;
  padding-bottom: 20px;
  /* animation-name: openChatBlock; */
  animation-duration: 0.5s;
}

@keyframes openChatBlock {
  0% {
    width: 0;
    padding: 0;
    border: none;
  }

  100% {
    width: 400px;
    padding: 20px 10px 0;
  padding-bottom: 20px;
    border: 1px solid rgb(210, 203, 203);
  }
}

@keyframes closeChatBlock {
  0% {
    width: 300px;
    padding: 20px 10px 0;
    border: 1px solid rgb(210, 203, 203);
  }

  100% {
    width: 0;
    padding: 0;
    border: none;
  }
}

.submit__phoneChat {
  padding: 0 5px;
  background-color: #690c32;
  color: #fff;
}

.submit__phoneChat:hover {
  background-color: #550627;
}

.list__phoneChat {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;
  padding-bottom: 50px;
  padding-right: 20px;
  overflow-x: hidden;
}

.span__empty-message {
  position: absolute;
  left: 40%;
  top: 40%;
  font-style: italic;
}

.item__phoneChat {
  background-color: rgb(255, 249, 249);
  border-color: rgb(251, 227, 227);
  /* width: max-content; */
  padding: 2px 10px;
  margin-bottom: 10px;
  border-top-width: 2px !important;
  max-width: 300px;
}


.item__phoneChat-right {
  align-self: flex-end;
  border-top-right-radius: 15px;
  margin-right: 45px;
  background-color: rgb(251, 239, 239);
  border-color: rgb(246, 201, 201);
}

.item__phoneChat-left {
  border-bottom-left-radius: 15px;
  /* border-top-left-radius: 15px; */
  margin-left: 45px;
  text-align: right;
}

.avatar__phoneChat {
  background-color: transparent;
  border: 1px solid #c5bfbf;
  border-radius: 50%;
  position: absolute;
  width: max-content;
  padding: 5px 5px;
  /* color: #fff; */
  font-size: 16px;
  font-weight: 600;
  width: 25px;
  height: 25px;
}

.item__phoneChat-right .avatar__phoneChat {
  top: -5px;
  right: -50px;
  background-color: #690c32;
}

.item__phoneChat-left .avatar__phoneChat {
  top: -5px;
  left: -50px;
  background-color: rgb(19, 153, 149);
}

/* context */
.contextmenu {
  width: 250px;
  position: absolute;
}

.contextmenu-list {
  list-style: none;
  color: #000;
}

.contextmenu-list .list-group-item {
  cursor: pointer;
}

.contextmenu-list .list-group-item:hover {
  background-color: #712b43;
  color: white;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  margin-bottom: 30px;
  margin-left: 10px;
  padding-top: 10px;
}

.hamburger-icon:hover .bar {
  height: 4px;
}

.bar {
  width: 100%;
  height: 3px; /* Высота каждой полоски */
  background-color: #139995; /* Цвет полосок */
  border-radius: 3px; /* Скругленные углы */
}


.modal-backdrop.show {
  opacity: 0 !important;
}

.list__ofcanvas {
  width: 300px;
  border: none;
}

.list__ofcanvas a {
  border-left: none;
}

/* боковое меню */
.my-sidebar {
  width: 50px;
  height: calc(100vh - 60px);
  position: fixed;
  display: flex;
  flex-direction: column;
  padding: 30px 10px;
  z-index: 12;
  background-color: #f4f3f5f5;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
}

.show-sidebar {
  border: 1px solid #cccbcdf5;
  width: 300px;
  animation-name: sidebarAnimation;
  animation-duration: 0.5s;
}

.hide-sidebar {
  animation-duration: 0.5s;
}

@keyframes sidebarAnimation {
  0% {
    width: 50px;
  }

  100% {
    width: 300px;
  }
}

@keyframes sidebarAnimationHide {
  0% {
    width: 300px;
  }

  100% {
    width: 50px;
  }
}

.my-sidebar .list-group-item {
  overflow-x: hidden;
}

.my-sidebar .list-group-item {
  height: 30px;
  padding-left: 5px;
  overflow-x: hidden;
  overflow-y: hidden;
  cursor: pointer;
}

.sidebar-body .list-group-item:hover {
  background-color: #139995;
  color: #fff;
}

.sidebar-footer .list-group-item:hover {
  background-color: #139995;
  color: #fff;
}

.my-sidebar .list-group-item .list-group-item:hover {
  background-color: #139995;
  color: #fff;
}

.my-sidebar .list-group-item .list-group-item:hover a {
  color: #fff;
}

.my-sidebar .list-group-item .list-group-item a {
  padding-left: 5px;
}

.my-sidebar .list-group-item img {
  height: 30px;
  width: auto;
  padding-right: 15px;
}

.sidebar-body {
  padding-top: 10px;
}

.sidebar-body a {
  color: #222;
  font-size: 18px;
  text-decoration: none;
}

.hide-sidebar a span,
.hide-sidebar .setting__text-hide {
  display: none;
}

.hide-sidebar .list-group .list-group-item:hover img:first-child {
  display: none;
}

.hide-sidebar .list-group .list-group-item img:nth-child(2) {
  display: none;
}

.hide-sidebar .list-group .list-group-item:hover img:nth-child(2) {
  display: inline;
}

.show-sidebar .list-group .list-group-item:hover img:first-child {
  display: none;
}

.show-sidebar .list-group .list-group-item img:nth-child(2) {
  display: none;
}

.show-sidebar .list-group .list-group-item:hover img:nth-child(2) {
  display: inline;
}

.hide-sidebar .btn__close-sidebar {
  display: none;
}

.btn__close-sidebar {
  position: absolute;
  top: 10px;
  right: 10px;
}

.sidebar-header {
  display: flex;
  flex-direction: row;
}

.show-sidebar .sidebar__main-link {
  display: inline;
  width: 90px;
  height: auto;
  margin: 0;
  padding: 0;
}

.show-sidebar .sidebar__main-link img {
  height: auto;
  margin: 0;
  padding: 0;
  padding-left: 20px;
}

.hide-sidebar .sidebar__main-link {
  display: none;
}

.sidebar-footer__list {
  list-style: none;
}

.sidebar-footer__list .list-group-item {
  padding-left: 10px;
  display: flex;
}


.sidebar-footer {
  margin-top: auto;
}

/* окно настроек */
.modal__pop-up {
  width: 0;
  height: 0;
  position: fixed;
  top: 5px;
  left: 95px;
  background-color: #f4f4f4;
  border: 2px solid #b3b1b1;
  opacity: 0.95;
  border-radius: 10px;
  z-index: 5;
  overflow: hidden;
  animation-duration: 0.4s;
}

.modal__pop-up-active {
  width: calc(100% - 110px);
  height: calc(100% - 20px);
  animation-name: openSettings;
  animation-duration: 0.4s;
}

@keyframes openSettings {
  0% {
    width: 0;
    height: 0;
    border: 0;
    top: 98vh;
    left: 0;
  }

  100% {
    width: calc(100% - 110px);
    height: calc(100% - 20px);
    border: 2px solid #b3b1b1;
    top: 5px;
  }
}

@keyframes closeSettings {
  0% {
    width: calc(100% - 110px);
    height: calc(100% - 20px);
    display: block;
    top: 5px;
  }
  100% {
    width: 0;
    height: 0;
    display: none;
    top: 98vh;
    left: 0;
  }
}

.modal__pop-up-header {
  position: relative;
  padding: 20px;
  padding-left: 30px;
  height: 5%;
}

.modal__pop-up-body {
  padding: 20px;
  padding-left: 30px;
  height: 85%;
  overflow-y: hidden;
}

.modal__pop-up-filter {
  padding: 20px;
  padding-left: 30px;
  height: 5%;
}

.btn-close__settingBlock {
  position: absolute;
  right: 5px;
  top: 5px;
}

.setting__list-block {
  position: absolute;
  width: 200px;
}

.setting__list-block .accordion-button:not(.collapsed)::after {
  transform: rotate(270deg);
}

.setting__list-block .accordion-button::after {
  transform: rotate(90deg);
}

.setting__list-block .accordion-button:hover {
  background-color: #a4a4a4;
  color: #fff;
}

.setting__list-block .accordion-button:focus {
  color: #000;
}

.setting__list-block .accordion-button:not(.collapsed) {
  background-color: #f4f4f4;;
}

.setting-body {
  padding: 10px;
  padding-left: 250px;
  padding-right: 50px;
  /* border: 2px solid red; */
}

.setting-body .accordion-body {
  overflow-y: auto;
}

.accordion-body__title {
  font-size: 24px;
}

.form__setField {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 50px;
  width: auto;
  max-height: 85vh;
  overflow-y: auto;
}

.form__setField label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.form__setField label:not(:last-child):hover,
.form__setField label:not(:last-child):hover input,
.form__setField label:not(:last-child):hover select {
  background-color: #e1e1e1;
  cursor: pointer;
}

.form__setField label span {
  font-size: 10px;
  text-align: right;
}

.form__setField label:last-child {
  margin-bottom: 0px;
}

.form__setField input[type="submit"] {
  margin: 0 auto;
  margin-right: 0;
  display: block;
  background-color: #139995;
  color: #fff;
  border: #139995;
  padding: 5px 8px;
  border-radius: 6px;
  bottom: 10px;
  right: 30px;
}

.form__setField input,
.form__setField select {
  width: 30%;
  cursor: pointer;
}

.form__setField input[type="checkbox"] {
  width: 20px;
  cursor: pointer;
}

.phone-chat__block-main {
  position: relative;
  width: 100%;
  /* min-height: 600px; */
  max-height: 800px;
  /* overflow-y: auto; */
  padding-top: 20px;
  padding-bottom: 10px;
}

.modal-body__chatPhone {
  display: flex;
  flex-direction: row;
}

.phone-main__open-chat {
  font-size: 15px;
  font-weight: 700;
  position: absolute;
  top: 5px;
  right: 5px;
  line-height: 0.01;
  cursor: pointer;
}

.phone-main__open-chat:hover {
  color: #139995;
}

.form__user-field,
.form__data-phone {
  position: relative;
  width: auto;
  padding: 10px;
  padding-left: 40px;
  padding-bottom: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  height: calc(100% - 30px);
  /* border: 2px solid red; */
}

.form__user-field label:not(:last-child),
.form__data-phone label:not(:last-child) {
  margin-bottom: 15px;
}

.form__user-field input,
.form__data-phone input {
  width: 85%;
  border-radius: 5px;
}

.form__user-field input[type="submit"],
.form__data-phone input[type="submit"] {
  /* margin: 0 auto; */
  /* display: block; */
  background-color: #139995;
  color: #fff;
  border: #139995;
  padding: 5px 8px;
  border-radius: 6px;
  width: calc(85% + 15px);
}

.span-active {
  color: #139995;
}

.sidebar__list li {
  display: none;
}

.modal-pop__title {
  font-size: 25px;
}

.form__log-filter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 50%;
  position: relative;
  padding-bottom: 20px;
}

.form__log-filter input {
  width: 20%;
}

.form__log-filter input:last-child {
  width: 150px;
  position: absolute;
  right: -180px;
}

.my-btn-submit {
  background-color: #139995;
  color: #fff;
}

.my-btn-submit:hover {
  opacity: 70%;
}

.log-main {
  overflow-y: scroll;
  height:100%;
}

.spinner-log {
  position: absolute;
  top: 20%;
  left: 48%
}

.my-text-dark {
  background-color: #139995;
}

.block__send-chat {
  width: calc(100% - 30px);
  margin-top: 20px;
  
}

.active-phoneCall {
  background-color: #139995;
}

.user__queue-true {
  font-size: 10px;
  color: #000;
}

ul .item__true-inqueue {
  position: relative;
  /* width: 50% !important; */
  padding-right: 58px !important;

  width: 150px !important;
}

.block-spinner-phone .text-my-color {
  background-color: #139995;
  width: 20px;
  height: 20px;
}

.block-spinner-phone {
  position: absolute;
  top: 20%;
  left: 35%;
}

/* пагинация для списка телефонов */
.pagination__phone-chat {
  margin-top: 10px;
}
.pagination__phone-chat a {
  background-color: #139995;
  color: #fff;
}

.pagination__phone-chat .active-link {
  background-color: #550627;
}

.pagination__phone-chat .active-link:hover {
  background-color: #fff;
}

.pagination__phone-chat {

}

.displayNone {
  display: none;
}

.phone-list__search {
  /* display: none; */
  position: absolute;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-image: url('../img/search.svg');
  background-size: contain;
  right: 2px;
  bottom: 0;
}

/* иконка лупы */
.phone-list__search:hover {
  transform: scale(1.2);
}

@keyframes searchIcon {
  0% {
    right: 0;
    opacity: 0;
  }

  100% {
    right: -50px;
    opacity: 1;
  }
}
.btn__resetFilter {
  display: none;
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 150px;
  padding: 2px;
}

.block-spinner__order {
  margin: 0 auto;
  width: 300px;
  display: none;
}

.test__color-order {
  background-color: #139995;
}