

body.wait, body.wait .btn {
  cursor: wait !important;
}

.dropdown-menu li {
  cursor: pointer;
}

#tt-header.tt-header-01 #tt-desctop-menu nav > ul > li a {
  color: #2934528a;
}

.mr-3 {
  margin-right: 3px;
}

.ml-3 {
  margin-left: 3px;
}

.mr-5 {
  margin-right: 5px;
}

.ml-5 {
  margin-left: 5px;
}

.calendario-siza-12 {
    font-size: 12px;
}

.table-config-acessos {
  label {
    width: 100%;
    height: 26px;
    cursor: pointer;
  }
  tr td:nth-child(2) {
    width: 50px;
  }
  .submenu td:nth-child(1) {
    padding-left: 30px;
  }
}

.form-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.wait * {
  cursor: wait;
}

.click {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050; /* Same as Bootstrap modal */
  img {
    max-width: 80%;
    max-height: 80%;
  }
}

.logo-login img {
  max-height: 75px;
}

#main {
  min-height: calc(100vh - 135px);
}

#menu-operacoes {
  float: right;
    margin-top: -50px;
}

#menu-operacoes {

  padding-top: 5px;
  display: flex;

  .form-menu {
    height: 37px;
    overflow: hidden;
    float: left;
    margin-right: 3px;

    input {
      border: 1px solid #00b7af;
      border-radius: 5px;
      height: 37px;
      width: calc(100% - 3px);
      padding-top: 17px;
      color:#00b7af;
      background: transparent;
    }

    label {
      position: relative;
      top: -42px;
      left: 9px;
      font-size: 10px;
      color: #999;
    }

    select {
      border: 1px solid #00b7af;
      border-radius: 5px;
      height: 37px;
      width: calc(100% - 3px);
      padding-top: 8px;
      color: #00b7af;
      background: transparent;
    }

  }
  
}

.sidebar-nav .nav-content a i {
  font-size: 12px;
}

.sidebar {
  padding: 0px;
}

/* FULL CALENDAR */

#calendar {
  height: 100%;
}

#calendar .fc-view-container {
  height: 100%;
}

#calendar .fc-time-grid-container {
  overflow-y: auto;
  height: 100% !important;
}

#calendar h1, h2, h3, h4, h5, h6 {
  color: #009fe3 !important;
}

.fc-unthemed .fc-event {
  border-color: #009fe3;
  background-color: #009fe3;
}

.select2-selection {
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
      padding: 1rem .75rem;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 7px;
    padding-bottom: 10px;
    padding-top: 20px;
}

.hidden {
  display: none;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
  color: #ccc;
  border-color: #ccc;
}

.btn.dropdown-toggle {
  margin-left: -2px !important;
  /* max-width: 45px; */
}

.btn-group .dropdown-menu {
  padding: 5px;
  border: 1px solid #00b7af;
  border-radius: 5px;
}
.btn-group ul li {
  padding: 5px;
  border-radius: 5px;
}

.btn-group ul li:hover {
  background-color: #00b7af;
  color: #fff;
}

.btn-group ul .divider {
  height: 20px;
}

.display-block {
  display: block;
}

.cmd-card-body {
  float: right;
  margin-top: 10px;
}

.cmd-card-footer {
  float: right;
}

.card-body {
  padding: 20px 20px 20px 20px;
}

.form-floating>label {
  color: #ccc !important;
}

.width-20 {
  width: 20%;
  float: left;
  clear: initial;
}

.width-25 {
  width: 25%;
  float: left;
  clear: initial;
}

.width-50 {
  width: 50%;
  float: left;
  clear: initial;
}

.width-60 {
  width: 60%;
  float: left;
  clear: initial;
}

.dropzone {
  background: white;
  border-radius: 5px;
  border: 1px dashed rgb(150, 150, 150);
  border-image: none;
  margin-left: auto;
  margin-right: auto;
  min-height: 100px;
}

.dropzone .dz-preview:hover .dz-image img {
  -webkit-transform: scale(1.05, 1.05);
  -moz-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  -o-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
  -webkit-filter: blur(8px);
  filter: blur(0px);
}

.dropzone .dz-message {
  margin: 0px;
  display: bock !important;
}

.dropzone .dz-preview .dz-image img {
  position: absolute;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-height: 100%;
}

.btn-delete {
  background-color: rgb(255,0,0,0.15);
  color: #000;
}

.btn-upload {
  background-color: rgb(0,0,255,0.15);
  color: #000;
}

.form-floating>.form-select {
  padding-top: 1.5rem;
}

.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
  transform: scale(.85) translateY(-1.00rem) translateX(-0.35rem);
}

.form-floating>.form-control-plaintext~label::after, .form-floating>.form-control:focus~label::after, .form-floating>.form-control:not(:placeholder-shown)~label::after, .form-floating>.form-select~label::after {
  background-color: transparent;
}

.text-right {
  text-align: right;
}

.dataTables_length {
  display: none;
}

.red {
  background-color: red;
}

.bi-chevron-down::before {
  font-size: 12px;
}



.sidebar-nav .nav-content .nav-sub-item:first {
  margin-top: -10px;
}

.sidebar-nav .nav-content a {
  padding: 5px 15px 5px 40px;
}

.sidebar-nav .nav-content .nav-sub-item a {
  padding: 5px 0px 5px 70px !important;
}

.sidebar-nav .nav-content .nav-sub-item a i {
  font-size: 6px;
}

.sidebar-nav .nav-content {
  padding: 0px;
}


.sub-switch {
  margin-left: 20px;
}


/* CALENDARO */

.fc-day-grid-event > .fc-content {
  height: 32px; 
}

.fc-unthemed .fc-event {
  margin: 1px;
}

.fc-scroller {
  height: auto !important;
}

/* CALENDARO */

/* TIMELINE */

.radio-tipo-contacto {
  margin-top: -8px;
}

.timeline-article {
  cursor: pointer;
}

/* TIMELINE */
 
.btn-whatsapp {
    position: absolute;
    top: 3px;
    right: 7px;
    cursor: pointer;
}

.btn-telefone {
  position: absolute;
  top: 30px;
  right: 7px;
  cursor: pointer;
}

.btn-email {
  position: absolute;
  top: 30px;
  right: 7px;
  cursor: pointer;
}

.btn-pesquisa {
  position: absolute;
  top: 30px;
  right: 7px;
  cursor: pointer;
}

.btn-recicla {
    position: absolute;
    top: 3px;
    right: 7px;
    cursor: pointer;
}

.pagetitle {
  position: relative;
}

.pagetitle .search-bar {
  width: 250px;
  padding: 0px;
  position: absolute;
  right: 0px;
  top: -10px;
}

.pagetitle .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.pagetitle .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.notas {
  color: #ccc;
  font-size: 13px;
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--bs-link-color);
}

.pino {
  position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: red;
    border: 1px solid #000;
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 10px;
    line-height: 18px;
}

/*
.form-switch {
  margin-top:15px;
}
*/

.page_acessos {

  .form-switch {
    margin-top:0px;
    padding-left: .5rem;

    .form-check-input {
      float: right;
    }

  }

}

.evento-inadiavel {
  background-color: #aa0000;
  color:#fff;
}

.negocio-prox-passo {
  font-size: 12px;
  font-weight: bold;
  border-top: 1px solid #ccc;
  margin-top: 7px;
}

.negocio-desc-passo {
  font-size: 14px;
}

.negocio-localidade {
  font-size: 12px;  
}

input[readonly] {
  color: var(--bs-body-color);
  pointer-events: none;
  background-color: var(--bs-secondary-bg);
}

.select2-container--default .select2-selection--single {
  height: calc(3.5rem + calc(var(--bs-border-width)* 2));
}

.select2-container {
  max-width: 100%;
}

.select-quantidade i {
  cursor: pointer;
}

#table-seguros .form-switch {
  margin: 0px;
  padding: 0px;
  display: flex;
  justify-content: center;
}

#table-seguros .form-switch .form-check-input {
  margin: 0px;
}

#table-seguros td {
  vertical-align: middle;
}

.btn-extra-menos.disabled, .btn-extra-mais.disabled {
  color: #ddd;
}

#bodydoc {
  background-color: #fff !important;
  border: 1px solid #999;
  height: calc(100vh - 220px);
  overflow: overlay;
}

.area_print{
  background-color:#e6e6e6;
  border: 1px solid #999;
  position: relative;
}

.note-editor {
  background-color: #fff;
}

.note-editable {
  background-color: #e6e6e6;
}

.area_print *, .area_print *::after, .area_print *::before {
  box-sizing: unset !important;
}

.note-editor *, .note-editor *::after, .note-editor *::before {
  box-sizing: unset !important;
}

.sidebar-nav .nav-item {
  margin-bottom: 0px;
}

#area_print .editable {
  background-color: rgba(255,255,150,1) !important;
}

.viatura_area_imagem img {
  width: 100%;
}

.viatura-descricao {
  color: #000;
}

.viatura-descricao-topo {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  font-size: 11px;
}

.viatura-descricao-footer {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  font-size: 11px;
}

.text-small {
  font-size: 12px;
  line-height: 18px;
  color: #ccc;
}

.quadro-selects {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  margin: 0px;
}

.btn-group ul li {
  text-wrap: nowrap;
}

.btn-pesquisa-peca {
  width: 100%;
  height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  i {
    margin-right: 0.5rem;
  }
}

table tbody {
  cursor: pointer;
  line-break: anywhere;
}

#racViaturaImagens {
  min-height: 500px;
  padding: 0px;
  .dz-image {
    display: flex;
  }
  .dz-preview {
    width: calc(20% - 32px);
    .dz-image {
      width: 100%;  
      img {
        position: absolute;
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
        max-height: inherit;
        width: 100%;
        top: 50%;
      }
    }
  }
}

#catalogoViaturaImagens {
  min-height: 500px;
  padding: 0px;
  .dz-image {
    display: flex;
  }
  .dz-preview {
    width: calc(20% - 32px);
    .dz-image {
      width: 100%;  
      img {
        position: absolute;
        left: 50% !important;
        transform: translateX(-50%) translateY(-50%) !important;
        max-height: inherit;
        width: 100%;
        top: 50%;
      }
    }
  }
}

.text-xs {
  font-size: 10px;
}

.text-valign {
  align-content: center;
}

.input_quantidade {
  width: 60px;
  height: 31px;
  text-align: center;
  border-radius: 6px;
  margin: -5px 0px;
  background-image: url(../imagens/select.png);
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: center;
}

.input_valor {
  width: 120px;
  height: 31px;
  text-align: right;
  border-radius: 6px;
  margin: -5px 0px;
}

/* LOADING */

.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.loading {
  opacity: 0;
  width: 100%;
  height: calc( 100vh - 250px );
  animation: 1.25s linear 0s infinite normal forwards running loading;
  transform: matrix3d(0.91, 0, 0, 0, 0, 0.91, 0, 0, 0, 0, 0.91, 0, 0, 0, 0, 1);
  transform-box: view-box;
  transform-origin: 50px 50px;
  background-size: 128px !important;
}

@keyframes loading {
  0.00% {
    animation-timing-function: cubic-bezier(0.59, 0.02, 0.79, 0.52);
    transform: translate(0.00px, 0.00px) rotate(0.00deg) scale(1.00, 1.00) skew(0deg, 0.00deg);
    opacity: 0.00;
  }

  26.00% {
    animation-timing-function: cubic-bezier(0.19, 0.49, 0.42, 0.98);
    transform: translate(0.00px, 0.00px) rotate(0.00deg);
    opacity: 0.55;
  }

  50.00% {
    animation-timing-function: cubic-bezier(0.59, 0.02, 0.79, 0.52);
    transform: translate(0.00px, 0.00px) rotate(0.00deg);
    opacity: 1.00;
  }

  76.00% {
    animation-timing-function: cubic-bezier(0.21, 0.48, 0.44, 0.93);
    transform: translate(0.00px, 0.00px) rotate(0.00deg);
    opacity: 0.45;
  }

  100.00% {
    animation-timing-function: cubic-bezier(0.21, 0.48, 0.44, 0.93);
    transform: translate(0.00px, 0.00px) rotate(0.00deg);
    opacity: 0.00;
  }
}

.loading-content {
  /* position: fixed;
  top: 0;
  left: 0; */
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-box {
  width: 90px;
  height: 14px;
  box-shadow: 0 3px 0 #fff;
  position: relative;
  clip-path: inset(-40px 0 -5px)
}

.loading-box:before {
  content: "";
  position: absolute;
  inset: auto calc(50% - 17px) 0;
  height: 50px;
  --g: no-repeat linear-gradient(#ccc 0 0);
  background: var(--g),var(--g),var(--g),var(--g);
  background-size: 16px 14px;
  animation:
    l7-1 2s infinite linear,
    l7-2 2s infinite linear;
}

@keyframes l7-1 {
  0%, 100%  {
    background-position: 0 -50px,100% -50px;
  }

  17.5% {
    background-position: 0 100%,100% -50px,0 -50px,100% -50px;
  }

  35% {
    background-position: 0 100%,100% 100% ,0 -50px,100% -50px;
  }

  52.5% {
    background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% -50px;
  }

  70%, 98% {
    background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% calc(100% - 16px);
  }
}

@keyframes l7-2 {
  0%,70% {
    transform:translate(0);
  }
  100% {
    transform:translate(200%);
  }
}

.loading-box-fill {
  width: 90px;
  height: 14px;
  box-shadow: 0 3px 0 #fff;
  position: relative;
  display: grid;
  clip-path: inset(-60px 0 -5px)
}

.loading-box-fill:after {
  content: "";
  position: relative;
  background: repeating-linear-gradient(90deg,#0000 0 calc(50% - 8px), #ccc 0 calc(50% + 8px), #0000 0 100%) 0 0/calc(100%/3) 100%;
  animation: l6-1 1s infinite;
}

.loading-box-fill:before {
  content: "";
  position: absolute;
  width: 14px;
  aspect-ratio: 1;
  left: calc(50% - 7px);
  bottom: 0;
  border-radius: 50%;
  background: lightblue;
  animation: l6-2 1s infinite;
}

.no-cursor {
  cursor: default;
}

#lista-opcao-danos {
  text-decoration: none;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  li {
    list-style-type: none;
    padding: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    margin: 4px;
    width: calc( 33% - 8px)
  }
  li:hover {
    background-color: #ccc;
  }
}

@keyframes l6-1 {
  50%,100% {background-position: calc(100%/2) 0}
}

@keyframes l6-2 {
  0%,50% {transform:translateY(-80px)}
}

/* FIM LOADING */

@media (min-width: 1200px) {
  
  .logo {
    width: initial;
  }

}


@media (min-width: 769px) {
  
  .dataTables_length {
    display: block;
  }

}

@media (max-width: 768px) {
  
  .nav-tabs {
    display: flex;
    justify-content: space-between;
  }

  .cmd-card-footer {

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 5px;
    width: calc(100% - 10px);

    .btn {
      margin: 5px 0px;
      width: 100%;
    }

  }

}

@media print {

  #area_print {
    background-color: #fff;
  }

}

