* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}

html,
body {
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition-property: all;
  transition-duration: 200ms;
  min-height: 100%;
  height: 100vh;
  width: 100%;
}

.root {
  height: 100%;
  width: 100%;
  display: flex;
}

body.ios * {
  font-family: "SFProDisplay", sans-serif;
}

body.android * {
  font-family: "Roboto", sans-serif;
}

body.web * {
  font-family: "SFProDisplay", sans-serif;
}

.bg-body {
  background-color: #f7f7f7 !important;
}

.header {
  background: #f7f7f7;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  height: calc(56px + env(safe-area-inset-top, 0));
  width: 100%;
  max-width: 500px;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: space-between;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;
  padding-top: calc(16px + env(safe-area-inset-top, 0));
}

/* body.android .header {
  margin-top: 45px;
} */

.main-scroll-container {
  flex: 1 1 0%;
  overflow-y: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  -webkit-box-pack: center;
  padding: 8px 16px 0px;
}

.icon-button {
  border: none;
  background: transparent;
  padding: 0;
}

.header-text {
  font-size: 18px;
  font-weight: 600;
  color: #0f0f0f;
  margin: 0;
}

.my-nav {
  background-color: #dcdef3;
}

.nav-links {
  font-size: 16px;
}

.navbar-light .navbar-nav .nav-link {
  font-size: 18px;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #000;
  background-color: #b9b9b9;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(2, 2, 2, 0.25) !important;
}

.shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(2, 2, 2, 0.43) !important;
}

.nav-tabs .nav-link {
  text-decoration: none;
  color: #000;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  font-size: 17px;
}

.nav-tabs .nav-link.active {
  background-color: #b9b9b9;
  font-weight: bold;
  color: #000;
  border-bottom: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.ref-book {
  font-size: 25px;
  font-style: italic;
  color: #000;
  text-decoration: none;
}

.ref-drop-menu {
  min-width: 300px;
  background-color: #dadada;
  border-radius: 30px;
  z-index: 1100;
}

.lang-drop-menu {
  min-width: 85px;
  background-color: #dadada;
  border-radius: 15px;
  z-index: 1100;
}

.ref-drop-menu-input-type {
  min-width: 185px;
  background-color: #dadada;
  border-radius: 30px;
  padding-left: 10px;
  padding-right: 10px;
}

.drop-search-menu {
  background-color: #797979;
  border-radius: 15px;
}

.ref-drop-menu-item {
  border-radius: 20px;
}

.ref-drop-menu-item:hover {
  background-color: #b4b4b4;
}

.video-dropdown-ul {
  border-radius: 20px;
  background-color: #dadada;
  width: 260px;
}

.video-dropdown .dropdown-toggle::after {
  display: none;
}

.search-btn {
  width: 58px;
  height: 58px;
}

.add-btn {
  background-color: #d5d5d5;
  border-color: #b9b9b9;
  box-shadow: 0 5px 25px 0 rgba(133, 133, 133, 0.6) inset;
}

.add-btn:hover {
  background-color: #e1e1e1;
}

.table-bg {
  background-color: #d0d0d0;
}

.form-bg {
  background-color: #d5d5d5;
  border-radius: 10px;
}

.search-form-bg {
  background-color: #dadada;
}

.inline-card-header-bg {
  background-color: #f7f7f7;
}

.counter {
  width: 40px;
}

dl,
ol,
ul {
  margin-bottom: 0;
}

.table-header {
  background-color: #dcdef3;
}

.address {
  font-family:
    Times,
    Times New Roman,
    Georgia,
    serif;
}

.item-cols,
.inspection-items {
  padding-top: 15px;
  padding-bottom: 1px;
}

.list-card-header {
  margin: 0;
}

.info-card-body {
  background-color: #f7f7f7;
}

.title-block {
  background-color: rgba(203, 203, 203, 0.78);
}

.accordion-button:not(.collapsed) {
  color: transparent;
  background-color: #cbcbcb;
}

.accordion-button:focus {
  border-color: #fff;
  box-shadow: none;
  text-align: center;
}

.accordion-btn-width {
  width: 200px;
}

.btn-user-create-card {
  position: relative;
}

.btn-create {
  font-size: 25px;
  background-color: rgba(164, 164, 164, 0.49);
  position: absolute;
  right: 25px;
  z-index: 10;
}

.btn-user-create {
  padding: 10px 47px;
  top: 40px;
}

.btn-auto-create {
  padding: 16px 44px;
  top: 149px;
}

.btn-employee-create {
  padding: 9px 47px;
  top: 74px;
}

.btn-auto-owner-create {
  padding: 9px 47px;
  top: 110px;
}

.btn-user-create-ceo {
  padding: 8px 47px;
  top: 87px;
  right: 17px;
}

.btn-user-create-ceo-1 {
  right: 25px;
}

.btn-user-role-create {
  padding: 9px 47px;
  top: 75px;
}

.btn-company-create {
  padding: 8px 45px;
  top: 111px;
  right: 24px;
}

.btn-auto-owner-create-update-form {
  padding: 9px 47px;
  top: 41px;
}

.select2-container .select2-selection--single {
  min-height: 60px;
  padding-top: 25px;
  padding-bottom: 15px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered {
  padding: 10px;
}

.login-form {
  width: 40%;
}

.form-control:focus {
  box-shadow: none;
  border-color: grey;
}

.pdf {
  color: #3b3b3b;
  font-size: 35px;
  line-height: 53px;
}

.pdf:hover {
  color: #000;
}

.dashboard-header {
  padding: 0 0 20px;
  margin-top: 0;
}

.group-by-form {
  width: 100%;
}

.group-by-form option {
  padding: 5px;
}

.year-form {
  width: 100%;
}

.form-check-input:checked {
  background-color: #5e5e5e;
  border-color: #adadad;
}

.dashboard-header-block {
  background-color: #adadad;
}

.filter-block {
  background-color: #adadad;
  padding: 10px;
  border-radius: 10px;
  margin-right: 10px;
  min-width: 200px;
}

.filter-tab.active {
  background-color: #adadad !important;
}

.chart {
  padding: 20px;
  border-radius: 10px;
  margin-left: 10px;
  background-color: #cbcbcb;
  width: 100%;
}

.dashboard-btn {
  border-radius: 5px;
  line-height: 57px;
}

.badge-icon {
  line-height: 2px;
  font-size: 16px;
}

.frame-category {
  line-height: 40px;
}

.booking-form {
  max-width: 400px;
  text-align: center;
}

#date-input {
  background-color: #ddd;
  border-radius: 10px;
  border: 2px solid #707070;
}

.phone-form-wrapper .form-floating > label {
  left: 20px;
}

.phone-number-input {
  background-color: #ddd;
  border-radius: 10px;
  width: 93%;
  margin: 15px auto 0;
  color: #505050;
}

.help-text {
  font-size: 14px;
  font-style: italic;
  color: #818181;
  margin: 0;
}

.time-select {
  margin-top: 10px;
  padding: 11px;
  font-size: 16px;
  line-height: 1;
  border: 2px solid #707070;
  border-radius: 10px;
  background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png)
    no-repeat 93% #ddd;
  -webkit-appearance: none;
}

.form-check-input:disabled ~ .form-check-label,
.form-check-input[disabled] ~ .form-check-label {
  opacity: 1;
}

.form-check-input:disabled {
  opacity: 1;
}

.videocall-icon {
  line-height: 35px;
}

.inspect-icon {
  font-size: 25px;
}

.inspection-bg {
  background-color: #f7f7f7;
}

.inspection-row {
  background-color: #d5d5d5;
}

.border-grey {
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.fs-14 {
  font-size: 14px;
  font-style: italic;
  color: grey;
}

.lh-delete-icon {
  line-height: 20px;
}

.inactive {
  opacity: 0.3 !important;
}

.search-drop-down-link {
  width: 120px;
}

.instruction-img-size {
  width: 320px;
  height: auto;
}

.btn-rotate {
  height: 58px;
  padding: 0 15px;
}

.bg-light-grey {
  background-color: rgba(128, 128, 128, 0.27) !important;
}

.text-bright-grey {
  color: rgba(128, 128, 128, 0.27) !important;
}

.damage-mt {
  margin-top: 30px;
}

.ref-drop-width {
  width: 225px;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #1e2125;
  background-color: transparent;
}

.accordion-date-btn-width {
  width: 250px;
}

.disabled-link {
  pointer-events: none;
  cursor: none;
}

.senior-span {
  width: 125px;
}

#alert {
  z-index: 10000;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(148, 148, 148, 0.54);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 150px;
  height: 150px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top: 5px solid #e1e808;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-sm {
  width: 75px;
  height: 75px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid #e1e808;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.form-border {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.disabled {
  pointer-events: none;
  cursor: default;
}

#loader-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #6c6c6c;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

#loader-finished {
  display: none;
  position: fixed;
  width: 100%;
  height: auto;
  top: 50%;
  left: 0;
  background: rgba(255, 255, 255, 0.4);
  color: black;
  text-align: center;
  transform: translateY(-50%);
  z-index: 50;
}

#loader-progress {
  display: none;
  position: fixed;
  width: 100%;
  height: 24px;
  top: 77px;
  left: 0;
  font-size: 14px;
  color: black;
  text-align: center;
  line-height: 24px;
  white-space: nowrap;
  z-index: 50;
}

.loader-frame::before {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border: 4px solid #ffea00;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.cropper-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.cropper-container canvas {
  max-width: 100%;
  cursor: default;
  margin: 0;
  padding: 0;
}

.height-555 {
  min-height: 555px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.preloader p {
  margin-top: 20px;
  font-size: 25px;
  padding-left: 20px;
  color: #333;
}

.app-link {
  font-size: 16px !important;
}

.app-sort-link {
  font-size: 14px !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .sub-menu {
  display: none;
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: none;
  border: none;
  padding-left: 20px;
}

.dropdown-submenu.show .sub-menu {
  display: block;
}

.btn-team-member-create {
  padding: 10px 47px;
  top: 105px;
}

.height-15 {
  height: 15px;
}

.pointer {
  cursor: pointer;
}

.width-150 {
  width: 150px;
}

.width-200 {
  width: 200px;
}

.width-250 {
  width: 200px;
}

.width-100 {
  width: 100px;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 500;
}

.col-9 {
  padding-right: 0;
}

.card {
  border: none;
  padding-top: 24px;
  border-radius: 16px;
  margin-right: 0;
  color: #0f0f0f;
}

.card-title {
  font-size: 16px;
  font-weight: 400;
  margin-top: 24px;
  margin-bottom: 16px;
}

.card-sub-title {
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.btn.w-100 {
  width: 100%;
}

.nav-pills .nav-link.active {
  background-color: #ffc107;
  color: #000;
}

.sidebar-link:hover {
  background-color: #ffc107;
  color: #000;
}

.sub-nav-item:hover {
  background-color: #ffc107ff;
  color: #000;
}

.bg-md-grey {
  background-color: #e4e4e4;
  color: #000;
}

/* Стили для сайдбара */
.sidebar-right {
  transition: transform 0.3s ease-in-out;
}

.width-21 {
  width: 18%;
}

.width-78 {
  width: 81%;
}

.sidebar-content {
  margin-top: 25px;
  border-radius: 15px;
}

.border-radius-10 {
  border-radius: 10px;
}

.sidebar-toggler-btn-display {
  display: none;
}

.comment-icon:hover {
  color: #ff8800;
}

.choose-video {
  padding: 14px 32px 14px 32px;
  border-radius: 16px;
  background: #4ebc73;
  color: #fff;
  font-weight: 500;
  border: none;
}

.list-group-item {
  font-size: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.part1 {
  font-weight: 600;
}

@media (max-width: 1300px) {
  .sidebar-right {
    position: fixed;
    top: 254px;
    right: 20px;
    width: 315px;
    z-index: 1000;
    transform: translateX(107%);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .sidebar-content {
    background-color: #c1c1c1;
    margin: 0;
  }

  .width-78 {
    width: 100%;
  }

  .sidebar-right.show {
    transform: translateX(0);
  }

  .sidebar-toggler {
    z-index: 1001;
  }

  .sidebar-toggler-btn {
    border: solid 1px #cdcdcd;
    border-radius: 20px;
    top: 185px;
    right: 100px;
    width: 60px;
    padding: 6px;
  }

  .sidebar-toggler-btn-display {
    display: block;
  }
}

.cropper-container {
  max-width: 100%;
  margin: 10px 0;
}

.cropper-container canvas {
  max-width: 100%;
  cursor: move;
}

.card-auto-object {
  font-weight: 600;
  color: #0f0f0f;
  font-size: 18px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.gap-\[20px\] {
  gap: 20px;
}

.form-check-label {
  font-size: 16px;
  font-weight: 600;
  color: #0f0f0f;
}

.btn-video {
  background: #4ebc73;
  color: #fff !important;
  border-radius: 16px;
  width: 100%;
  height: 45px;
  display: flex;
  padding: 9px 32px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  font-weight: 600;
  font-size: 16px;
}

.btn-upload {
  width: 100%;
  background: #4ebc73;
  color: #ffffff !important;
  border-radius: 16px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.footer-p {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.border-none {
  border: none !important;
}

.footer-slot {
  min-height: 8px;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
}

.btn-export {
  min-height: 78px;
}

.revision-warning {
  border-radius: 16px;
  padding: 4px 16px 12px;
}

.form-floating:has(select.no-floating) > label {
  display: none;
}

.required-field ~ label::after {
  content: " *";
  color: red;
}

.btn-inspektlab {
    color: #fff;
    background-color: #5856D6;
    border-color: #5856D6;
}

#record-stop-alert {
  position: fixed;
  left: 0;
  z-index: 50;
  width: 100%;
  justify-items: center;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
}

.stop-alert-container {
  background: #f7f7f7;
  max-width: 312px;
  border-radius: 12px;
}

.stop-alert-title {
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 600;
}

.stop-alert-text {
  padding-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #3a3a3c;
}

.stop-alert-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#close-confirm {
  border-top: 1px solid #d1d1d6;
  border-bottom: 1px solid #d1d1d6;
  background: transparent;
  width: 100%;
  padding: 11px 41px 11px 41px;
  color: #4ebc73;
  font-size: 18px;
  font-weight: 600;
}

#close-wait{
  border-bottom: 1px solid #d1d1d6;
  color: #636366;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  padding: 11px 43px 11px 43px;
}

#close-cancel {
  color: #636366;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  padding: 11px 43px 11px 43px;
}

@media (min-width: 1301px) {
  .sidebar-right {
    position: relative;
    height: auto;
    overflow-y: auto;
  }
}

@media (max-width: 1199px) {
  .sidebar-toggler-btn {
    right: 150px;
  }
}

@media (max-width: 700px) {
  .sidebar-toggler-btn {
    right: 100px;
  }
}

@media screen and (max-width: 1200px) {
  .login-form {
    width: 60%;
  }
}

@media screen and (max-width: 900px) {
  .login-form {
    width: 70%;
  }
}

@media screen and (max-width: 700px) {
  .login-form {
    width: 85%;
  }
}

@media screen and (max-width: 1200px) {
  .select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    padding: 60px 50px 10px 10px;
  }
}

@media screen and (max-width: 1400px) {
  .icon-title {
    display: none;
  }
}

@media screen and (max-width: 750px) {
  .message-btn-title {
    display: none;
  }
}

@media screen and (max-width: 990px) {
  .main-nav-link {
    margin-top: 10px;
  }
}

@media screen and (max-width: 980px) {
  .icon-title {
    display: inline-block;
  }
}

@media screen and (max-width: 600px) {
  .select2-container .select2-selection--single {
    padding-top: 60px;
    min-height: 95px;
  }

  .btn-auto-create {
    top: 184px;
  }
}

@media screen and (min-width: 992px) {
  .item-cols {
    border: solid 2px grey;
  }

  .btn-col {
    border-bottom: solid 2px grey;
  }
}

@media screen and (min-width: 780px) {
  .inspection-items {
    border: solid 2px grey;
  }
}

@media screen and (max-width: 780px) {
  .inspection-row {
    border: solid 2px grey;
  }
}

@media screen and (max-width: 992px) {
  .btn-col {
    border-bottom: solid 2px grey;
    padding-bottom: 10px;
  }
}

@media screen and (min-width: 992px) {
  .list-cards {
    width: 80%;
  }
}
