html {
  width: 100%;
  overflow-y: auto !important;
}

body {
  overflow-x: hidden !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

body{
  min-height: calc(100% - 79px);
}

/* menu changes */
.navbar{
  height: 50px;
  padding: 0.5rem 0 0.5rem 0
}

.menu{
  padding-top: 50px;
  height: calc(100% - 50px) !important
}

.menu .main-menu{
  height: calc(100% - 50px) !important
}

.logo{
  background-size: 40%;
}

/* main page according to new menu format */

main {
  margin-top: 75px;
  margin-right: 25px;
  margin-bottom: 20px;
}

/* list table changes */

.data-table-rows table td{
  padding: 0.4rem;
}

table.dataTable td {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* page footer */

footer.page-footer{
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  height: 60px;
}

.logo-mobile {
  background-size: 100%;
}

.formButtonPosition{
  text-align: center;
}

/* Include buttons */
.form-group .btAddItem{
  padding: 2px 4px 2px 4px;
  border-radius: 8px;
}

.custom-scroll-list{
  max-height: 260px;
  overflow-y: scroll;
}

.searchStandardSelected{
  width: 100%;
}

.searchStandardSelected tbody tr td{
  cursor: pointer;
}

.searchStandard tbody tr td{
  cursor: pointer;
}

.w100{
  width: 100%;
}

.mg-left0{
  margin-left:0px
}

.menu .sub-menu {
  height: calc(100% - 45px)
}

.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 192px !important;
}

.fileList {
  padding-top: 10px;
  max-height: 300px;
  overflow-y: scroll;
}

.fileSection {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fileSection p{
  width: 100%;
  height: 15px;
  text-align: center;
  margin: 0px;
}

.fileSection i{
  width: 100%;
  height: 15px;
  text-align: center;
  margin: 0px;
}

.fileSection button{
  padding: 4px 8px 4px 8px;
  margin-left: 2px;
}

.padding4 {
  padding: 4px 4px 4px 4px !important;
}

.card-body {
  padding: 16px 16px 16px 16px !important;
}

.new-list{
  height: 187px;
}

.menu .main-menu {
  background-color: var(--theme-color-1);
}

.menu .main-menu ul li a {
  color: #fff;
}

.menu .main-menu ul li a:hover {
  color: #d1d1d1;
}

.menu .main-menu ul li a:focus {
  color: #d1d1d1;
}


.logo-mobile {
  background-image: url('../logos/logo.png');
}

.files-container, .dashboard-approvals {
  max-height: 20em;
  height: 20em;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

#home-service-orders-container .card {
  max-height: 20em;
  height: 20em;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

#qrCodePlace {
  text-align: right;
}

.logoImg {
  margin-top: 15px;
  text-align: right;
}

.logoImg img {
  width: 90px;
}

.btn-microsoft {
  font-family: 'Segoe UI Regular';
  font-size: 15px;
  font-weight: 600;
  font-color: #5e5e5e;
  background-color: #FFFF;
  border: 1px #8c8c8c8c;
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding-right:12px;
  padding-left: 12px;
  height: 41px;
}

.window {
  font-weight: bold;
  cursor: pointer;
  border:1px solid;
  box-shadow: 0 1px 15px rgba(0, 0, 0, .09), 0 1px 6px rgba(0, 0, 0, .09);
  -o-box-shadow: 0 1px 15px rgba(0, 0, 0, .09), 0 1px 6px rgba(0, 0, 0, .09);
  -webkit-box-shadow: 0 1px 15px rgba(0, 0, 0, .09), 0 1px 6px rgba(0, 0, 0, .09);
  -moz-box-shadow: 0 1px 15px rgba(0, 0, 0, .09), 0 1px 6px rgba(0, 0, 0, .09);
  -moz-border-radius:0.3em;
  border-radius:0.3em;
  width: 10em; height: auto;
  padding: 0.5em 0em;
  text-align:center;
  z-index:1;
  position:absolute;
  background-color:#eeeeef;
  color:black;
  font-family:helvetica;
  font-size:0.9em;
  word-wrap:break-word;
}

.window.active {
  background-color: var(--theme-color-2);
  color: #fff;
}

.window:hover {
  box-shadow: 0px 1px  15px rgba(0,0,0,.3);
  -o-box-shadow: 0px 1px  15px rgba(0,0,0,.3);
  -webkit-box-shadow: 0px 1px  15px rgba(0,0,0,.3);
  -moz-box-shadow: 0px 1px  15px rgba(0,0,0,.3);
}

.hidden {
  display: none;
}

.collapser {
  cursor: pointer;
  border:1px dotted gray;
  z-index:1;
}

._jsPlumb_connector {
  z-index: 1;
}

.errorWindow {
  border: 2px solid red;
}

#treemain {
  height: 500px;
  width: 100%;
  position: relative;
  overflow: auto;
}

#link-sample-observation span {
  color: var(--theme-color-2);
}

.btn-login span.btn-login-label {
  display: inline-block;
}

.btn-login :is(span.spinner-border, span.visually-hidden) {
  display: none;
}

.btn-login:disabled span.btn-login-label {
  display: none;
}

.btn-login:disabled :is(span.spinner-border, span.visually-hidden){
  display: inline-block;
}

.btn span.btn-label {
  display: inline-block;
}

.btn :is(span.spinner-border, span.visually-hidden) {
  display: none;
}

.btn:disabled span.btn-label {
  display: none;
}

.btn:disabled :is(span.spinner-border, span.visually-hidden){
  display: inline-block;
}

#report-model-elements-container {
  max-height: 50em;
  overflow-y: auto;
  overflow-x: hidden;
}

#report-model-elements li.element-item,
#step-elements-order li.element-item {
  /* border: 1px solid var(--theme-color-2); */
  text-wrap: nowrap;
  /* overflow-x: hidden; */
  overflow-x: clip;
  cursor: pointer;
  margin: 1rem 0;
  padding: 0.5em;
  border-radius: 0.5em;
  box-shadow: 0 1px 15px rgba(0, 0, 0, .09), 0 1px 6px rgba(0, 0, 0, .09);
  height: 3.5em;
  list-style-type: none;
}

#step-elements-order > li:first-child .elem-order-up {
  display: none;
}

#step-elements-order > li:last-child .elem-order-down {
  display: none;
}

/* Samples composition tables */
.composition-table {
  width: 100%;
}

.composition-table tr.composition-item {
  cursor: pointer;
  height: 2.5em;
  vertical-align: middle;
}
.composition-table tr.composition-item td div {
  height: 100%;
  padding: 0.5em 0.25em;
  border-radius: 10px;
  transition: all 0.3s;
}

.composition-table tr.composition-item:hover td div {
  border: 0.5px solid var(--theme-color-2);
  color: var(--theme-color-2);
}

.composition-table tr.composition-item.active td div {
  background-color: var(--theme-color-2);
  color: var(--foreground-color)
}

.composition-table .composition-list-observation {
  display: none;
}

.products-table thead th {
  white-space: nowrap;
}

#used-equipments-container,
#transactions-container {
  box-shadow: 1px 1px 13px 5px #eee;
  border-radius: 1.25em;
  padding-top: 1.25em;
  margin-bottom: 1em;
  padding-bottom: 1.25em;
}

/* services labels */
.label-area {
  border: solid;
  border-width: 1px;
  border-radius: 8px;
  padding: 1em;
  display: block;
  height: 100mm;
  /* /* min-width: 75mm; */
  width: 100%; 
}

@media print {
  .label-area {
    height: 85mm;
  }
}

.label-area .qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#profile-signature-container {
  border: 1px solid var(--separator-color);
  border-radius: 5px;
}

#profile-signature-container img {
  width: 100%;
}

.select2-container .select2-results__option.disabled-opt {
  display: none;
}