:root {
  --alert-color: #495057;
  --alert-bg: #fcfcfd;
  --alert-border-color: #e9ecef;
  --alert-margin-bottom: 1rem;
  --alert-border-left-width: 4px;
  --alert-border-left: var(--alert-border-left-width) solid var(--alert-border-color);
  --alert-padding-x: 1rem;
  --alert-padding-y: 1rem;
}

.alert {
  position: relative;
  margin-bottom: var(--alert-margin-bottom);
  border-left: var(--alert-border-left);
  padding: var(--alert-padding-y) var(--alert-padding-x);
  background-color: var(--alert-bg);
  color: var(--alert-color);
}

:root {
  --alert-danger-color: #58151c;
  --alert-danger-bg: #f8d7da;
  --alert-danger-border-color: #f1aeb5;
}

.alert-danger {
  border-left-color: var(--alert-danger-border-color);
  background-color: var(--alert-danger-bg);
  color: var(--alert-danger-color);
}

:root {
  --alert-info-color: #055160;
  --alert-info-bg: #cff4fc;
  --alert-info-border-color: #9eeaf9;
}

.alert-info {
  border-left-color: var(--alert-info-border-color);
  background-color: var(--alert-info-bg);
  color: var(--alert-info-color);
}

:root {
  --alert-secondary-color: #2b2f32;
  --alert-secondary-bg: #e2e3e5;
  --alert-secondary-border-color: #c4c8cb;
}

.alert-secondary {
  border-left-color: var(--alert-secondary-border-color);
  background-color: var(--alert-secondary-bg);
  color: var(--alert-secondary-color);
}

:root {
  --alert-success-color: #0a3622;
  --alert-success-bg: #d1e7dd;
  --alert-success-border-color: #a3cfbb;
}

.alert-success {
  border-left-color: var(--alert-success-border-color);
  background-color: var(--alert-success-bg);
  color: var(--alert-success-color);
}

:root {
  --alert-warning-color: #664d03;
  --alert-warning-bg: #fff3cd;
  --alert-warning-border-color: #ffe69c;
}

.alert-warning {
  border-left-color: var(--alert-warning-border-color);
  background-color: var(--alert-warning-bg);
  color: var(--alert-warning-color);
}

:root {
  --bg-modal-tab-active: #707070;
  --text-modal-tab-active: #ffffff;
  --bg-subtab: #cacaca;
  --text-subtab: #343434;
  --bg-subtab-active: #707070;
  --text-subtab-active: #ffffff;
  --bg-red-color: #ff0000;
  --text-red-color: #ffffff;
  --bg-primary-color: #000000;
  --bg-secondary-color: #343434;
  --bg-tertiary-color: #cacaca;
  --bg-quaternary-color: #f3f3f3;
  --text-primary-color: #ffff;
  --text-secondary-color: #ffff;
  --text-tertiary-color: #343434;
  --text-quaternary-color: #343434;
  --text-default-color: #333333;
}

@media print {
  .no-print {
    display: none !important;
  }
}
/*MODAL*/
.modal {
  background-color: rgba(50, 50, 50, 0.5);
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  left: 0px;
  z-index: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal.modalN2 {
  z-index: 600;
}
.modal.modalN3 {
  z-index: 700;
}
.modal.modalN4 {
  z-index: 800;
}
.modal .box {
  position: relative;
  background-color: #fff;
  min-width: 600px;
  max-width: 90%;
  overflow: hidden;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.5);
  -moz-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.5);
  box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.5);
}
.modal .modal-container {
  padding: 0px !important;
  border-radius: 0px !important;
  position: relative;
}
.modal .modal-container ws-grid {
  height: 100%;
}
.modal .modal-container ws-grid .mat-elevation-z8 {
  height: 350px !important;
}
.modal .modal-container .modal-title {
  background-color: var(--bg-secondary-color);
  color: var(--text-secondary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 35px;
  margin: 0px;
  cursor: all-scroll;
}
.modal .modal-container .modal-title h2 {
  padding: 0px 0px 0px 7px;
  font-size: 16px;
  margin: 0px;
}
.modal .modal-container .modal-title button {
  height: 35px;
  width: 35px;
  padding: 0px;
  margin: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: auto;
  transition: all 0.5s ease;
}
.modal .modal-container .modal-content {
  margin: 0px;
  padding: 15px;
  max-height: calc(100vh - 290px) !important;
  overflow: auto;
}
.modal .modal-container .modal-content.gridList {
  padding: 0px;
}
.modal .modal-container .modal-content.gridList-modal {
  padding: 0px;
  height: 400px;
}
.modal .modal-container .modal-content mat-slide-toggle {
  margin-top: 10px;
}
.modal .modal-container .modal-actions {
  background-color: var(--bg-quaternary-color);
  border-top: 1px solid var(--bg-tertiary-color);
  color: var(--text-quaternary-color);
  display: flex;
  justify-content: space-between;
  height: 49px;
  min-height: auto;
  margin: 0px;
  padding: 0px;
}
.modal .modal-container .modal-actions .buttons {
  margin: 0px 7px;
  display: flex;
  align-items: center;
}
.modal .modal-container .modal-actions .buttons button {
  padding: 0px 15px 0px 10px !important;
  margin-left: 5px;
}
.modal .modal-container .modal-actions .buttons button i {
  font-size: 20px !important;
}
.modal .modal-container .mat-tab-group {
  margin: 0px !important;
  height: calc(100% - 35px) !important;
}
.modal .modal-container .mat-tab-group .mat-tab-header {
  width: auto;
  position: static !important;
  background-color: var(--bg-tertiary-color);
}
.modal .modal-container .mat-tab-group .mat-tab-header .mat-tab-label {
  padding: 0 10px;
  color: var(--text-tertiary-color);
  height: 30px;
  min-width: 110px;
  font-size: 13px;
}
.modal .modal-container .mat-tab-group .mat-tab-header .mat-tab-label-active {
  background-color: var(--bg-modal-tab-active);
  color: var(--text-modal-tab-active);
}
.modal .modal-container .mat-tab-group .mat-tab-body-wrapper {
  margin: 0px;
  display: block;
}
.modal .mat-toolbar-row {
  z-index: 90;
}

@media only screen and (max-width: 768px) {
  .modal {
    border-top: 1px solid #fff;
    height: 100% !important;
  }
  .modal .box {
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
  }
  .modal .box .modal-container {
    height: 100%;
  }
  .modal .box .modal-container .mat-tab-group {
    height: 100%;
  }
  .modal .box .modal-container .mat-tab-group .mat-tab-body {
    height: 100%;
  }
  .modal .box .modal-container form {
    height: calc(100% - 15px);
  }
  .modal .box .modal-container form .modal-content {
    height: 100%;
    max-height: max-content !important;
  }
  .modal .box .modal-actions {
    position: fixed !important;
    width: 100% !important;
    bottom: 0px !important;
  }
  .modal .box .modal-actions .buttons button {
    width: 40px;
    height: 40px;
    padding: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal .box .modal-actions .buttons button .text {
    display: none;
  }
}
.mat-progress-bar-fill::after {
  background-color: var(--bg-primary-color);
}

.mat-progress-bar-buffer {
  background: var(--bg-tertiary-color);
}

.mat-menu-panel {
  border-radius: 0px !important;
}
.mat-menu-panel .mat-menu-content .mat-menu-item {
  display: flex;
  align-items: center;
}
.mat-menu-panel .mat-menu-content .mat-menu-item i {
  font-size: 18px;
  margin-right: 5px;
}

button {
  font-size: 14px !important;
  border-radius: 0px !important;
  text-transform: uppercase;
  opacity: 0.9;
  min-width: auto !important;
  transition: all 0.5s ease;
}
button:hover {
  opacity: 1;
}
button.primary {
  background-color: var(--bg-secondary-color);
  color: var(--text-secondary-color);
}
button.secondary {
  background-color: var(--bg-primary-color);
  color: var(--text-primary-color);
}
button.tertiary {
  background-color: var(--bg-tertiary-color);
  color: var(--text-tertiary-color);
}
button.close {
  background-color: var(--bg-red-color);
  color: var(--text-red-color);
}
button.save {
  background-color: var(--bg-primary-color);
  color: var(--text-primary-color);
}
button.exportar {
  background-color: var(--bg-secondary-color);
  color: var(--text-secondary-color);
}
button.exportar i {
  font-size: 19px;
  margin: 0px 5px 0px -5px;
  padding: 0px;
  line-height: 16px;
}
button.mat-button[disabled][disabled] {
  background-color: var(--bg-tertiary-color);
  color: var(--text-tertiary-color);
}

.subTabs {
  height: 100%;
}
.subTabs .mat-tab-group {
  margin-top: 0px !important;
}
.subTabs .mat-tab-group .mat-tab-header {
  background-color: var(--bg-subtab);
  display: flex !important;
}
.subTabs .mat-tab-group .mat-tab-header .mat-tab-label {
  color: var(--text-subtab);
  padding: 0 15px;
  height: 30px;
  min-width: 110px;
}
.subTabs .mat-tab-group .mat-tab-header .mat-tab-label.mat-tab-label-active {
  background-color: var(--bg-subtab-active);
  color: var(--text-subtab-active);
}

.cdk-overlay-pane {
  margin-top: -1px;
}

.mat-mdc-dialog-container {
  padding: 0px !important;
  border-radius: 0px !important;
}
.mat-mdc-dialog-container .mat-dialog-title {
  background-color: var(--bg-secondary-color);
  color: var(--text-secondary-color);
  display: flex;
  justify-content: space-between;
  height: 35px;
  margin: 0px;
}
.mat-mdc-dialog-container .mat-dialog-title h2 {
  padding: 0px 0px 0px 7px;
  font-size: 16px;
  margin: 0px;
}
.mat-mdc-dialog-container .mat-dialog-title button {
  height: 35px;
  width: 35px;
  padding: 0px;
  margin: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: auto;
  transition: all 0.5s ease;
}
.mat-mdc-dialog-container .mat-dialog-content {
  margin: 0px;
  padding: 15px;
  display: block;
}
.mat-mdc-dialog-container .mat-dialog-actions {
  background-color: var(--bg-quaternary-color);
  border-top: 1px solid var(--bg-tertiary-color);
  color: var(--text-quaternary-color);
  display: flex;
  justify-content: space-between;
  height: 49px;
  min-height: auto;
  margin: 0px;
  padding: 0px;
}
.mat-mdc-dialog-container .mat-dialog-actions div {
  margin: 0px 7px;
}
.mat-mdc-dialog-container .mat-dialog-actions div button {
  padding: 0px 15px 0px 10px !important;
  min-width: auto;
}
.mat-mdc-dialog-container .mat-dialog-actions div button i {
  font-size: 20px !important;
}

form {
  padding: 0px;
  position: relative;
}
form .icone-show-hide-password {
  position: absolute;
  right: 10px;
  top: 13px;
  z-index: 100;
  cursor: pointer;
}
form .mat-progress-bar {
  position: absolute;
  margin-top: -2px;
}
form.default ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
form.default ul li {
  margin-right: 10px;
  height: 60px;
  margin-bottom: 20px;
}
form.default ul li:last-child {
  margin-right: 10px;
}
form ws-combo {
  width: 100%;
}
form .mat-card .mat-card-header .mat-card-header-text {
  margin: 0px !important;
}
form .mat-grid-tile .mat-figure .mat-slide-toggle {
  margin-top: -18px;
}

.mat-checkbox-checked.mat-primary .mat-checkbox-background,
.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background {
  background: var(--bg-primary-color) !important;
}

.mat-progress-spinner circle,
.mat-spinner circle {
  stroke: var(--bg-primary-color) !important;
}

.page-content {
  height: 100%;
  display: grid;
}
.page-content.page-content-row-2 {
  grid-template-rows: 60px calc(100% - 68px);
  grid-row-gap: 8px;
}

.box-filter {
  padding: 7px;
  border-bottom: 1px solid #f3f3f3;
  height: 50px;
  display: flex;
}
.box-filter form {
  display: grid;
  grid-template-columns: 280px 1fr 160px;
  grid-template-rows: 50px;
  column-gap: 15px;
}
.box-filter form .buttons-container {
  display: flex;
  align-items: center;
  column-gap: 15px;
}
.box-filter form .buttons-container button[type=submit],
.box-filter form .buttons-container button[type=button] {
  height: 42px;
  width: 100%;
}
.box-filter ws-combo .mat-error {
  display: none;
}

.gridImageContain .grid .grid-list .mat-table td.image .imagem {
  background-size: contain !important;
}

.leaflet-control-attribution {
  display: none;
}

@media only screen and (max-width: 600px) {
  .mat-mdc-dialog-container .mat-dialog-actions {
    height: 41px;
  }
  .grid-pagination button {
    height: unset;
  }
  button {
    width: 40px;
    height: 40px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  button .text {
    display: none;
  }
}
.mat-tab-group {
  height: 100%;
  position: relative;
  background-color: #fff;
}

.mat-tab-body .mat-tab-header {
  display: flex !important;
}

.mat-tab-header {
  display: none !important;
}

.mat-tab-body-wrapper {
  position: relative !important;
  height: 100%;
}

.mat-select-search-inner {
  display: flex !important;
}

.filtered-grid {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  padding-top: 5px;
}
.filtered-grid .box-form {
  padding: 5px;
  padding-bottom: 0;
  border-bottom: 1px solid #cecece;
}
.filtered-grid .box-form form {
  display: grid;
  column-gap: 15px;
  align-items: center;
}
.filtered-grid .box-form form ws-combo .mat-form-field-wrapper {
  padding-bottom: 0;
}
.filtered-grid .box-form form ws-combo .mat-error {
  display: none;
}
.filtered-grid .content {
  max-height: 100%;
  overflow: auto;
}
@media print {
  .filtered-grid {
    padding-top: 0px;
  }
}

ws-grid[gridStyle=small] td .mat-slide-toggle {
  height: 20px;
  transform: scale(0.8);
}

button {
  cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mat-form-field-disabled .mat-form-field-underline {
  height: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=time] {
  max-height: 18px;
}

.mat-form-field-appearance-legacy .mat-form-field-label {
  color: var(--text-default-color) !important;
}

.mat-form-field-appearance-outline .mat-form-field-outline {
  color: var(--text-default-color) !important;
}

.mat-form-field-appearance-outline .mat-form-field-infix {
  padding: 0.7em 0 0.3em 0 !important;
  top: -0.3em;
}
.mat-form-field-appearance-outline .mat-select-arrow-wrapper {
  transform: translateY(0.5px);
}
.mat-form-field-appearance-outline .mat-form-field-outline {
  color: var(--bg-tertiary-color) !important;
}
.mat-form-field-appearance-outline .mat-form-field-outline .mat-form-field-outline-start,
.mat-form-field-appearance-outline .mat-form-field-outline .mat-form-field-outline-gap,
.mat-form-field-appearance-outline .mat-form-field-outline .mat-form-field-outline-end {
  border-radius: 0px !important;
}

.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper {
  padding: 0 0em !important;
}

.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label {
  margin-top: -2px !important;
}

.mat-form-field {
  width: 100%;
}
.mat-form-field .mat-form-field-label {
  margin-top: -0.4em !important;
}
.mat-form-field .mat-form-field-wrapper {
  margin-right: 1px !important;
}
.mat-form-field .invalid-feedback {
  position: absolute;
  margin-top: 15px;
  font-size: 12px;
  color: var(--bg-red-color);
}
.mat-form-field.mat-focused .mat-form-field-label {
  color: #000 !important;
}
.mat-form-field.mat-focused .mat-form-field-outline {
  color: #000 !important;
}

.mat-checkbox {
  display: flex;
  align-items: center;
  height: 100%;
}
.mat-checkbox .mat-checkbox-checked.mat-accent .mat-checkbox-background,
.mat-checkbox .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {
  background-color: var(--bg-primary-color) !important;
}
.mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element {
  background: var(--bg-primary-color);
}

.mat-form-field.mat-focused.mat-primary .mat-select-arrow {
  color: var(--bg-secondary-color);
}

.mat-form-field.mat-focused .mat-form-field-ripple {
  background-color: var(--bg-secondary-color);
}

.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,
.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,
.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start {
  border-width: 1px !important;
}

.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label {
  color: rgba(0, 0, 0, 0.6);
}

.mat-select-disabled .mat-select-value {
  color: var(--text-default-color) !important;
}

.mat-input-element:disabled {
  color: var(--text-default-color) !important;
}

.mat-slide-toggle .mat-slide-toggle-bar {
  background-color: var(--bg-tertiary-color);
}

.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar {
  background-color: var(--bg-tertiary-color);
}

.mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb {
  background-color: var(--bg-primary-color);
}

.mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
  background-color: var(--bg-tertiary-color);
}

.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {
  background-color: var(--bg-primary-color);
}

.mat-form-field-suffix {
  top: 0em !important;
}

.box-pesquisa {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--bg-tertiary-color);
}
.box-pesquisa .mat-icon {
  color: var(--bg-tertiary-color);
}

.mat-radio-button.mat-accent .mat-radio-inner-circle,
.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),
.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,
.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple {
  background-color: #ff6961 !important;
}

.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle {
  border-color: #ff6961 !important;
}

.apexcharts-canvas {
  background-color: #f3f3f3 !important;
}

mat-dialog-container .mdc-dialog__container .mat-mdc-dialog-surface.mdc-dialog__surface {
  border-radius: unset;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}
a[href] {
  cursor: pointer;
}

:root {
  --background-color: #fff;
  --secondary-background-color: #f3f3f3;
  --color: #343434;
  --writesys: #f3a927;
}
:root .dark {
  --background-color: #343434;
  --secondary-background-color: rgba(0, 0, 0, 0.3);
  --color: #fff;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  background-color: var(--background-color);
  color: var(--color);
}
body .sistemas {
  padding: 0px;
  margin: 0px;
}
body .sistemas .list {
  margin: 0px;
  padding: 0px;
  list-style: none;
  display: grid;
}
body .sistemas .list .list-item {
  height: unset;
  padding: 0px;
}
body .sistemas .list .list-item:hover {
  background-color: transparent !important;
}
body .sistemas .list .list-item a {
  display: grid;
  align-items: center;
  position: relative;
  background-color: #f3f3f3;
  height: 60px;
  grid-template-columns: 35px 1fr;
  column-gap: 15px;
  border-left-style: solid;
  border-left-width: 4px;
  border-left-color: #f3f3f3;
}
body .sistemas .list .list-item a:hover, body .sistemas .list .list-item a:focus-within {
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-left-color: var(--accent-color);
}
body .sistemas .list .list-item a img {
  width: 100%;
  height: 100%;
  margin: 5px;
  object-fit: contain;
}
body .sistemas .list .list-item a .title {
  font-size: 18px;
  line-height: 16px;
  font-weight: 600;
}
body .sistemas .list .list-item a .title small {
  display: block;
  font-size: 16px;
  font-weight: 300;
}
body #grid {
  display: grid;
  grid-template-columns: 3.9em repeat(3, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header header header header" "nav    main   main   main" "footer footer footer footer";
  height: 100%;
  transition: all 0.3s ease-in-out;
}
body #grid .header {
  padding: 0.5em;
  display: flex;
  align-items: center;
  column-gap: 2em;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  grid-area: header;
  position: sticky;
  top: 0;
  z-index: 9;
  background-color: var(--background-color);
  height: 4.5em;
}
body #grid .header .menu-ws {
  display: flex;
  align-items: center;
  column-gap: 0.5em;
  width: calc(265px - 2.65em);
  height: 100%;
  position: inherit !important;
}
body #grid .header .menu-ws button {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  border-radius: 100%;
  width: 3em;
  height: 3em;
  transition: all 0.3s ease-in-out;
  color: var(--color);
}
body #grid .header .menu-ws button:hover {
  background: rgba(0, 0, 0, 0.1);
}
body #grid .header .menu-ws button i {
  font-size: 2em;
}
body #grid .header .menu-ws .logo {
  display: flex;
  align-items: center;
  column-gap: 0.5em;
  cursor: pointer;
  height: 100%;
}
body #grid .header .menu-ws .logo .logo-sow {
  display: block;
  width: 30px;
}
body #grid .header .menu-ws .logo .logo-sistema {
  width: 100px;
  height: 40px;
  object-fit: contain;
}
body #grid .header .menu-ws .logo.onlyOneSystem {
  cursor: default;
}
body #grid .header hr {
  display: block;
  width: 1px;
  height: 100%;
  border-color: rgba(0, 0, 0, 0.1);
}
body #grid .header .form {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
body #grid .header .form .form-conteudo {
  background-color: rgba(0, 0, 0, 0.1);
  height: 2.5em;
  display: flex;
  align-items: center;
  border-radius: 0.5em;
  column-gap: 0.5em;
  position: relative;
  width: 100%;
  max-width: 300px;
  min-width: 100px;
}
body #grid .header .form .form-conteudo label {
  width: 2em;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
body #grid .header .form .form-conteudo input {
  display: block;
  flex-grow: 1;
  height: 100%;
  border: none;
  background-color: transparent;
  padding: 1em;
  padding-left: 0;
  font-size: 1em;
  color: var(--color);
}
body #grid .header .form .form-conteudo input:focus {
  outline: none;
}
body #grid .header .form .form-conteudo input::-webkit-search-cancel-button {
  filter: saturate(0);
  cursor: pointer;
}
body #grid .header .form .form-conteudo:focus-within:has(.search-autocomplete-modulo) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
body #grid .header .form .form-conteudo:focus-within #search-autocomplete {
  visibility: visible;
  border-bottom-left-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
}
body #grid .header .form .form-conteudo #search-autocomplete {
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #fff;
  width: 100%;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 200px);
  overflow: auto;
  visibility: hidden;
}
body #grid .header .form .form-conteudo #search-autocomplete .search-autocomplete-modulo {
  position: relative;
}
body #grid .header .form .form-conteudo #search-autocomplete .search-autocomplete-modulo .search-autocomplete-item {
  padding: 10px 5px;
}
body #grid .header .form .form-conteudo #search-autocomplete .search-autocomplete-modulo .search-autocomplete-item.selected {
  background-color: #dddddd;
}
body #grid .header .form .form-conteudo #search-autocomplete .search-autocomplete-modulo .search-autocomplete-item:hover:not(.selected) {
  background-color: #f3f3f3;
  cursor: pointer;
}
body #grid .header .form .form-conteudo #search-autocomplete .search-autocomplete-modulo-texto {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 3px 5px;
  font-size: 12px;
  border-bottom-left-radius: 0.25em;
}
body #grid .header .form .form-conteudo #search-autocomplete .search-autocomplete-modulo:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
body #grid .header .actions {
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 2em;
  padding-right: 0.5em;
  height: 100%;
}
body #grid .header .actions a {
  display: block;
  position: relative;
}
body #grid .header .actions a i {
  font-size: 1.5em;
}
body #grid .header .actions a #user-profile-img {
  width: 2.7em;
  height: 2.7em;
  border-radius: 100%;
  object-fit: cover;
  object-position: center center;
}
body #grid .header .actions a .submenu {
  position: absolute;
  width: max-content;
  right: 0;
  top: calc(100% + 1em);
  background-color: var(--background-color);
  color: var(--background-color);
  padding: 0.5em 0.5em 0 0.5em;
  border-radius: 0.25em;
  cursor: default;
  display: none;
  box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
}
body #grid .header .actions a .submenu-item {
  display: flex;
  align-items: center;
  column-gap: 0.5em;
  color: #343434;
  cursor: pointer;
  padding: 5px;
  margin-bottom: 5px;
}
body #grid .header .actions a .submenu-item i {
  padding: 0.1em;
}
body #grid .header .actions a .submenu-item.highlight {
  font-weight: bold;
  font-size: 1.25em;
  margin-bottom: 0.5em;
  color: #343434;
  padding: 5px;
}
body #grid .header .actions a .submenu-item.highlight.title {
  background-color: var(--background-color);
}
body #grid .header .actions a .submenu-item:hover {
  background-color: var(--secondary-background-color);
}
body #grid .header .actions a .submenu.active {
  display: block;
  animation: fadeIn 0.5s;
}
body #grid .header .actions a .submenu hr {
  margin-bottom: 5px;
  width: 100%;
}
body #grid .header .actions a .submenu ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
body #grid .header .actions a .submenu ul li {
  margin-bottom: 2px;
}
body #grid .header .actions a .submenu.submenu-empresa {
  background-color: var(--background-color);
  box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
  color: var(--color);
  padding: 0;
  margin: 0;
}
body #grid .header .actions a .submenu.submenu-empresa .submenu-item {
  display: grid;
  position: relative;
  background-color: #f3f3f3;
  height: 60px;
  grid-template-columns: 35px 1fr;
  column-gap: 15px;
  margin-bottom: 0;
  padding: 0;
  border-left-style: solid;
  border-left-width: 4px;
  border-left-color: #f3f3f3;
}
body #grid .header .actions a .submenu.submenu-empresa .submenu-item:hover, body #grid .header .actions a .submenu.submenu-empresa .submenu-item:focus-within {
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-left-color: var(--accent-color);
}
body #grid .header .actions a .submenu.submenu-empresa .submenu-item .text {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  margin-right: 10px;
  font-size: 18px;
  line-height: 16px;
  font-weight: 600;
}
body #grid .header .actions a .submenu.submenu-empresa .submenu-item .text small {
  display: block;
  font-size: 16px;
  font-weight: 300;
}
body #grid .header .actions a .submenu.submenu-empresa .submenu-item img {
  width: 100%;
  height: 100%;
  max-height: 50px;
  margin: 5px;
  object-fit: contain;
}
body #grid .header .actions a#btn-help {
  position: relative;
}
body #grid .header .actions a#btn-help #help-label {
  position: absolute;
  top: 46%;
  right: 0px;
  transform: translateY(-54%);
}
body #grid .header .actions a#btn-help #help-label.post-enable {
  color: #f3a927;
}
body #grid .header .actions a#btn-help #help-label.animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 20px;
  padding: 4px;
  padding-left: 7px;
  animation: 10s linear fadeInOutHelp;
}
body #grid .header .actions a#btn-help #help-label.animation .label {
  display: inline-block;
  animation: 9.95s linear fadeInOutHelpLabel;
}
body #grid .header .actions a#btn-help #help-label .label {
  display: none;
  padding-top: 0.5px;
  width: 0px;
  font-size: 12px;
  text-wrap: nowrap;
  overflow: hidden;
}
body #grid .header .actions a#menu-empresa {
  height: 100%;
  display: flex;
  align-items: center;
  column-gap: 5px;
  font-weight: bold;
}
body #grid .header .actions a#menu-empresa .empresa-wrapper {
  display: flex;
  align-items: center;
  column-gap: 5px;
}
body #grid .header .actions a#menu-empresa .empresa-wrapper img {
  width: 20px;
  height: auto;
}
body #grid .header .actions a#btn-notifications {
  position: relative;
}
body #grid .header .actions a#btn-notifications[data-notifications]::after {
  content: attr(data-notifications);
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--writesys);
  padding: 2px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  width: 15px;
  height: 15px;
  transform: translate(1em, -0.75em);
}
body #grid .header .sistemas.sistemas-menu {
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;
  z-index: -1;
  pointer-events: none;
  position: absolute;
  top: 4.5em;
  left: 3.9em;
  background-color: var(--background-color);
  box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
  width: calc(265px - 3.9em);
}
body #grid .header .sistemas.sistemas-menu.show {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
  pointer-events: all;
}
body #grid.nav-fixed {
  grid-template-columns: 265px repeat(3, 1fr);
}
body #grid.nav-fixed .nav {
  overflow-y: auto;
  color: var(--color);
}
body #grid.nav-fixed .nav .list .list-item {
  text-wrap: wrap;
}
body #grid.nav-fixed .nav .list .list-item.sublink .list-item-link {
  padding-left: 1em;
}
body #grid .nav {
  grid-area: nav;
  border-right: 2px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  background-color: var(--background-color);
  transition: all 0.3s ease-in-out;
  width: 100%;
  z-index: 2;
  overflow-y: hidden;
  color: var(--background-color);
}
body #grid .nav .list {
  list-style-type: none;
  min-width: fit-content;
  padding-right: 1.5em;
  padding-top: 0.5em;
}
body #grid .nav .list .list-item {
  text-wrap: nowrap;
}
body #grid .nav .list .list-item .list-item-link {
  border-left: 0.35em solid transparent;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
}
body #grid .nav .list .list-item .list-item-link i,
body #grid .nav .list .list-item .list-item-link span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  padding: 0.4em 0.75em;
  width: 2.5em;
  color: var(--color);
}
body #grid .nav .list .list-item .list-item-link i.small,
body #grid .nav .list .list-item .list-item-link span.small {
  scale: 0.4;
}
body #grid .nav .list .list-item.sublink .list-item-link {
  text-transform: none;
}
body #grid .nav .list .list-item.active .list-item-link {
  background-color: color-mix(in srgb, var(--writesys), transparent 90%);
  border-radius: 0 2em 2em 0;
  border-color: var(--writesys);
}
body #grid .nav.open {
  position: relative;
  width: 265px;
  box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  color: var(--color);
}
body #grid .nav.open .list .list-item {
  text-wrap: wrap;
}
body #grid .nav.open .list .list-item.sublink .list-item-link {
  padding-left: 1em;
}
body #grid .main {
  grid-area: main;
  height: 100%;
}
body #grid .main .tabs-header {
  background-color: color-mix(in srgb, var(--color), transparent 95%);
  margin: 0.3em;
  padding: 0.3em;
  border-radius: 0.25em;
  display: none;
}
body #grid .main .tabs-header.active {
  display: flex;
}
body #grid .main .tabs-header .list {
  display: flex;
  list-style-type: none;
  overflow: auto;
}
body #grid .main .tabs-header .list::-webkit-scrollbar {
  display: none;
}
body #grid .main .tabs-header .list .list-item {
  padding: 0.5em 1em;
  border-radius: 0.25em;
  display: flex;
  align-items: center;
  column-gap: 0.5em;
  min-width: fit-content;
  cursor: pointer;
}
body #grid .main .tabs-header .list .list-item button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color);
  cursor: pointer;
}
body #grid .main .tabs-header .list .list-item button i {
  font-size: 1em;
}
body #grid .main .tabs-header .list .list-item.active {
  background-color: var(--writesys);
  cursor: default;
}
body #grid .main .tabs-header .list .list-item .icone-modulo {
  display: flex;
  align-items: center;
  justify-content: center;
}
body #grid .main .tabs-header .list .list-item .icone-modulo .material-icons {
  font-size: 15px;
}
body #grid .main .tabs-header .nav-button {
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--color);
  min-width: 4em;
  width: unset;
  height: unset;
}
body #grid .main .tabs-header .nav-button:not(:disabled) {
  cursor: pointer;
}
body #grid .main .tabs-body {
  position: relative;
  height: calc(100% - 47px);
}
body #grid .main .tabs-body .tab-item {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--background-color);
  overflow: hidden;
  opacity: 0;
}
body #grid .main .tabs-body .tab-item.active {
  z-index: 0;
  opacity: 1;
}
body #grid .main .tabs-body .tab-item--fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1000 !important;
}
body #grid .main .tabs-body::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--background-color);
}
body #grid .main .tabs-body .sistema-wrapper {
  position: absolute;
  inset: 0;
}
body #grid .footer {
  grid-area: footer;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  font-size: 0.8em;
  position: relative;
  overflow: hidden;
}
body #grid .footer .infos {
  display: flex;
  align-items: center;
  padding: 0.5em;
}
body #grid .footer .infos:not(:last-child) {
  border-right: 2px solid rgba(0, 0, 0, 0.1);
}
body #grid .footer .infos div {
  margin-left: 1em;
  margin-right: 1em;
}
body #grid .footer .infos div:first-child {
  margin-left: 0;
}
body #grid .footer .infos #usuarioAD {
  margin-right: 5px;
}
body #grid .footer #btn-info {
  position: absolute;
  right: 5px;
  border: none;
  background: none;
  align-items: center;
  justify-content: center;
  border-radius: 100% !important;
  display: none;
}
body #grid .footer #btn-info i {
  font-size: 20px;
}
body #grid .footer #btn-info:hover {
  box-shadow: 0px 0px 0px 5px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 1024px) {
  body #grid {
    grid-template-columns: 1fr;
    grid-template-areas: "header" "nav" "main" "footer";
    grid-template-rows: auto auto 1fr 30px;
  }
  body #grid.nav-fixed {
    grid-template-columns: 1fr;
  }
  body #grid.nav-fixed .nav {
    left: 0;
  }
  body #grid .header {
    column-gap: unset;
    justify-content: space-between;
    height: 47px;
  }
  body #grid .header .form {
    display: none;
  }
  body #grid .header hr {
    display: none;
  }
  body #grid .header .actions {
    column-gap: 1em;
    padding-right: 0;
  }
  body #grid .header .actions.refresh-close {
    display: none;
  }
  body #grid .header .actions a i {
    font-size: 18px;
  }
  body #grid .header .actions a#menu-empresa .empresa-nome-fantasia {
    display: none;
  }
  body #grid .header .actions a #user-profile-img {
    width: 2em;
    height: 2em;
  }
  body #grid .header .menu-ws {
    width: auto;
  }
  body #grid .header .menu-ws .logo .logo-sow {
    width: 20px;
  }
  body #grid .header .menu-ws .logo .logo-sistema {
    width: 50px;
    height: 20px;
  }
  body #grid .header .menu-ws button {
    width: auto;
    height: auto;
  }
  body #grid .header .menu-ws button i {
    font-size: 20px;
  }
  body #grid .nav {
    position: relative;
    width: 265px;
    box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    color: var(--color);
    position: fixed;
    top: 47px;
    height: 100vh;
    left: -265px;
  }
  body #grid .nav .list .list-item {
    text-wrap: wrap;
  }
  body #grid .nav .list .list-item.sublink .list-item-link {
    padding-left: 1em;
  }
  body #grid .footer .infos {
    display: none;
  }
  body #grid .footer #btn-info {
    display: flex;
  }
}
@media screen and (max-width: 768px) {
  body #grid .main {
    overflow: hidden;
  }
  body #grid .main .tabs-header {
    height: 35px;
  }
  body #grid .main .tabs-header .list .list-item {
    padding: 0.5em;
  }
  body #grid .main .tabs-header .list .list-item button {
    height: 30px;
    width: 30px;
  }
}
body #login {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  justify-content: flex-end;
  background-color: var(--background-color);
  background-image: url("../img/bg-default.jpg");
  background-position: center top;
  background-size: cover;
  color: #343434;
}
body #login .box {
  width: 100%;
  max-width: 35em;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body #login .box .login {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body #login .box .login #etapa1 form {
  padding: 0 5em;
  display: flex;
  flex-direction: column;
}
body #login .box .login #etapa1 form .label {
  position: relative;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}
body #login .box .login #etapa1 form .label:not(:first-child) {
  margin-top: 0.5em;
}
body #login .box .login #etapa1 form .label .input {
  width: 100%;
  padding: 1em 0;
  margin-top: 1.5em;
  border: none;
  outline: none;
  padding-left: 0.5em;
}
body #login .box .login #etapa1 form .label .input::placeholder {
  opacity: 0;
}
body #login .box .login #etapa1 form .label .input:not(:placeholder-shown) + .label-text, body #login .box .login #etapa1 form .label .input:-webkit-autofill + .label-text {
  transform: translateY(0.125em);
  font-size: 0.9em;
}
body #login .box .login #etapa1 form .label .label-text {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(2.5em);
  transition: all 0.3s ease-in-out;
  padding-left: 0.5em;
  cursor: text;
  user-select: none;
}
body #login .box .login #etapa1 form .label:focus-within {
  border-color: var(--writesys);
}
body #login .box .login #etapa1 form .label:focus-within > .label-text {
  transform: translateY(0.125em);
  font-size: 0.9em;
}
body #login .box .login #etapa1 form .toggle {
  position: relative;
  width: 3em;
  height: 2em;
  display: block;
  margin-bottom: 1.5em;
  margin-top: 0.5em;
  cursor: pointer;
}
body #login .box .login #etapa1 form .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
body #login .box .login #etapa1 form .toggle input:checked + .slider {
  background-color: var(--writesys);
}
body #login .box .login #etapa1 form .toggle input:checked + .slider::before {
  left: calc(100% - 1.45em);
}
body #login .box .login #etapa1 form .toggle input:focus-visible + .slider::before {
  box-shadow: 0 0 0 0.5em rgba(0, 0, 0, 0.1);
}
body #login .box .login #etapa1 form .toggle .slider {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.1);
  top: 50%;
  height: 60%;
  width: 100%;
  transition: all 0.3s ease-in-out;
  border-radius: 2em;
}
body #login .box .login #etapa1 form .toggle .slider::before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  top: -15%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.1);
  border-radius: 100%;
  transition: all 0.3s ease-in-out;
  transition-property: left;
  transition-duration: 150ms;
}
body #login .box .login #etapa1 form .toggle .slider:hover::before {
  box-shadow: 0 0 0 0.5em rgba(0, 0, 0, 0.1);
}
body #login .box .login #etapa1 form .toggle .label-text {
  position: absolute;
  width: max-content;
  left: 100%;
  top: 50%;
  padding-left: 1em;
}
body #login .box .login #etapa1 form button {
  width: 100%;
  display: block;
  text-transform: uppercase;
  padding: 0.75em 0;
  border: none;
  color: #fff;
  background-color: #343434;
  border-radius: 0.25em;
  cursor: pointer;
}
body #login .box .login #etapa1 .sociais {
  color: rgba(52, 52, 52, 0.5);
}
body #login .box .login #etapa1 .sociais .titulo {
  display: block;
  text-transform: uppercase;
  text-align: center;
  margin: 2em 0;
}
body #login .box .login #etapa1 .sociais .list {
  list-style-type: none;
  display: flex;
  align-items: center;
  column-gap: 4em;
  justify-content: center;
}
body #login .box .login #etapa1 .sociais .list .list-item a {
  display: flex;
  align-items: center;
  column-gap: 0.5em;
}
body #login .box .login #etapa2 {
  display: none;
  width: calc(100% - 10em);
  margin: 0 auto;
}
body #login .box .login #etapa2 .titulo {
  font-size: 1.5em;
  text-align: center;
  margin: 1em 0;
  font-weight: bold;
}
body #login .box .suporte {
  background-color: #fff;
  padding: 1em 3em;
}
body #login .box .suporte .titulo {
  font-weight: bold;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  column-gap: 0.5em;
  margin-bottom: 1em;
}
body #login .box .suporte .titulo i {
  color: var(--writesys);
  font-size: 1.5em;
}
body #login .box .suporte .contato {
  display: flex;
  align-items: center;
  column-gap: 2em;
}
body #login .box .suporte .contato a {
  display: flex;
  align-items: center;
  column-gap: 0.25em;
  font-size: 1.2em;
}
body #login .box .suporte .contato a .ddd {
  font-size: 75%;
}
body #login .box .suporte .contato a i {
  font-size: 1.2em;
  color: rgba(52, 52, 52, 0.5);
}
body #login .box #img-bg-login {
  display: block;
  width: 21em;
  height: auto;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  body #login .box .login form {
    padding: 0 3em;
  }
  body #login .box .login .sociais .list {
    flex-wrap: wrap;
  }
  body #login .box .suporte {
    padding: 1em 2em;
  }
  body #login .box .suporte .contato {
    flex-wrap: wrap;
  }
}
body #alerts {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  z-index: 9999;
  gap: 1em;
}
body #alerts:has(.alert) {
  padding: 1em;
}
body #alerts .alert {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000;
  padding: 0.5em;
  border-radius: 0.25em;
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  column-gap: 1em;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.75);
  width: 20em;
  animation: fadeIn 0.5s;
}
body #alerts .alert .alert-title {
  font-size: 1.5em;
  font-weight: bold;
}
body #alerts .alert .alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
body #alerts .alert .alert-icon i {
  font-size: 3em;
}
body #alerts .alert.error {
  background-color: red;
  color: #fff;
}
body #alerts .alert.success {
  background-color: green;
  color: #fff;
}
body #alerts .alert.closing {
  animation: fadeOut 0.6s;
}
body #loading {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease-in-out;
}
body #loading .box {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  animation: logo 2s infinite ease-in;
  overflow: hidden;
}
body #loading .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  margin-left: 5px;
  animation: logoImg 2s infinite ease-in;
}
body #notificacoes {
  position: fixed;
  right: 0;
  top: 4.5em;
  bottom: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
  box-shadow: 0 0 1em 0.5em rgba(0, 0, 0, 0.1);
  background-color: var(--background-color);
  color: var(--color);
  overflow: auto;
  min-width: 325px;
}
body #notificacoes.active {
  transform: translateX(0);
}
body #notificacoes .notificacoes-titulo {
  padding: 0.5em;
  background-color: #f3f3f3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
body #notificacoes .notificacoes-titulo.nao-encontrada {
  opacity: 0.4;
  font-weight: 500;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
body #notificacoes .notificacoes-footer {
  padding: 0px;
}
body #notificacoes .notificacoes-footer a {
  background-color: #ffa500;
  display: block;
  padding: 10px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}
body #notificacoes .notificacoes-footer .disabled {
  color: black;
  pointer-events: none;
  opacity: 0.5;
}
body #notificacoes .notificacoes-lista {
  height: calc(100% - 72px);
  overflow: auto;
}
body #notificacoes .notificacao {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  display: flex;
  align-items: center;
  column-gap: 0.5em;
}
body #notificacoes .notificacao .notificacao-conteudo {
  display: flex;
  flex-direction: column;
  padding: 0.5em;
  position: relative;
  width: 400px;
}
body #notificacoes .notificacao.visualizada {
  border-color: rgba(0, 0, 0, 0.1);
}
body #notificacoes .notificacao.visualizada .notificacao-conteudo {
  opacity: 0.5;
}
body #notificacoes .notificacao .notificacao-data {
  font-size: 11px;
  opacity: 0.5;
}
body #notificacoes .notificacao .notificacao-titulo {
  font-weight: bold;
}
body #notificacoes .notificacao .notificacao-desc {
  font-size: 12px;
}
body #notificacoes .notificacao .notificacao-acoes {
  display: flex;
  flex-direction: column;
  row-gap: 1px;
  background: rgba(0, 0, 0, 0.1);
  padding-left: 1px;
}
body #notificacoes .notificacao .notificacao-acoes button {
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  color: #000;
  cursor: pointer;
  width: 30px;
  height: 30px;
}
body #notificacoes .notificacao .notificacao-acoes button i {
  font-size: 1.15em;
}
body #notificacoes .notificacao .notificacao-acoes button:hover:not(:disabled) {
  background: #cecece;
}
body #notificacoes .notificacao .notificacao-acoes button:disabled {
  opacity: 0.5;
  cursor: default;
}
@media screen and (max-width: 1024px) {
  body #notificacoes {
    top: 47px;
  }
}
body #dialog-info .dialog-info-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-secondary-color);
  height: 35px;
  color: #fff;
}
body #dialog-info .dialog-info-title h2 {
  padding: 0px 0px 0px 7px;
  font-size: 16px;
  margin: 0px;
}
body #dialog-info .dialog-info-title button {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 35px;
}
body #dialog-info .dialog-info-title button i {
  font-size: 20px;
}
body #dialog-info .content {
  display: flex;
  height: 40px;
  align-items: center;
  padding: 10px;
}
body #dialog-info .dialog-actions {
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  height: 35px;
}
body #dialog-info .dialog-actions .close-empresa {
  color: #fff;
  background-color: red;
  border: 0;
}
body #dialog-info .dialog-actions .update-empresa {
  color: #fff;
  background-color: #343434;
  border: 0;
}
body #dialog-info .infos div {
  padding: 0.25em 0.5em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 1em;
}
body #dialog-info .infos div strong {
  text-align: right;
}
body .dialog {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.6);
}
body .dialog .dialog-content {
  color: #000;
  background-color: #fff;
  margin: 5em auto;
  width: fit-content;
  border-radius: 0.25em;
  max-width: 80%;
  overflow: auto;
}
body .dialog .dialog-sessoes {
  width: 30%;
}
body .dialog .dialog-sessoes .sessoes-titulo {
  padding: 0.5em;
  font-size: 1.5em;
  font-weight: bold;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
body .dialog .dialog-sessoes .sessoes-content {
  padding: 1em;
}
body .dialog .dialog-sessoes .sessoes-content-header {
  display: grid;
  grid-template-columns: 1fr 1fr 2.5em;
  font-weight: 500;
  padding-left: 0.5em;
}
body .dialog .dialog-sessoes .sessoes-content-body-item {
  display: grid;
  grid-template-columns: 1fr 1fr 2.5em;
  background-color: #f3f3f3;
  border-radius: 0.25em;
  margin-top: 0.5em;
}
body .dialog .dialog-sessoes .sessoes-content-body-item div {
  padding: 0.5em;
}
body .dialog .dialog-sessoes .sessoes-content-body-item button {
  width: 2.5em;
  border: none;
  background: var(--writesys);
  position: relative;
  right: -2px;
  cursor: pointer;
  border-radius: 0 0.25em 0.25em 0;
}
body .dialog .dialog-sessoes .sessoes-actions {
  padding: 0.5em;
  display: flex;
  column-gap: 0.5em;
  justify-content: flex-end;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
body .dialog .dialog-sessoes .sessoes-actions button {
  padding: 0.75em 1em;
  border: none;
  background: #343434;
  border-radius: 0.25em;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
}
body.card-border .container {
  display: grid;
  grid-template-columns: 1fr;
  padding: 5px;
  height: 100%;
  gap: 5px;
}
body.card-border .container.expansion {
  height: 100%;
  padding: 5px;
}
body.card-border .container ws-grid {
  display: block;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px;
  height: 100%;
  overflow: auto;
}
body.card-border .container ws-grid .box-title {
  height: 30px !important;
  padding: 7px !important;
}
body.card-border .container ws-grid .grid .grid-filter {
  padding: 0px 0px 5px 0px !important;
}
body.card-border .container ws-grid .grid .grid-list .mat-table {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
body.card-border .container ws-grid .grid .grid-pagination {
  border: 1px solid rgba(0, 0, 0, 0.1);
}
body .mobile-filter-button {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 11;
}
body .mobile-filter-button.tabs {
  top: 16px;
  right: 12px;
}
body .mobile-filter-button button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}
body .filtered-grid .mobile-header-filter {
  display: none;
  justify-content: space-between;
  height: 35px;
  align-items: center;
  background-color: #343434;
  color: white;
  padding: 10px;
}
body .filtered-grid .mobile-header-filter h2 {
  font-size: 16px;
}
body .filtered-grid .mobile-header-filter button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: red;
  width: 35px;
  height: 35px;
  margin-right: -10px;
}
body .filtered-grid form {
  display: grid;
  column-gap: 5px;
}
body .filtered-grid .button-container {
  display: flex;
  column-gap: 15px;
}
body .filtered-grid .button-container button {
  width: 150px;
}
@media print {
  body #grid .header .menu-ws {
    width: unset;
  }
  body #grid .main {
    position: fixed;
    inset: 60px 0px 0px 0px;
  }
  body #grid .main .tabs-header {
    margin: unset;
  }
  body #grid .main .tabs-header .list .list-item button {
    display: none;
  }
  body #grid .footer {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 0.5rem;
  }
}
@media screen and (max-width: 1024px) {
  body .container.tabs-filter {
    height: calc(100vh - 145px) !important;
  }
  body .container.tabs-filter ws-grid {
    margin-top: 0px !important;
  }
  body .mobile-filter-button {
    display: flex;
  }
  body .filtered-grid form {
    display: flex !important;
    flex-direction: column;
    row-gap: 10px;
    height: 100%;
    padding: 10px !important;
    background-color: #fff;
  }
  body .filtered-grid form app-date-picker {
    width: 100%;
  }
  body .filtered-grid .box-form {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0px !important;
    z-index: 1000;
    background-color: #fff;
  }
  body .filtered-grid .box-form.show-mobile-filter {
    display: block;
  }
  body .filtered-grid .box-form.show-mobile-filter .mobile-header-filter {
    display: flex;
    width: 100%;
  }
  body .filtered-grid .box-form.show-mobile-filter .button-container {
    flex-direction: column;
    row-gap: 5px;
    width: 100%;
    position: absolute;
    bottom: 0px;
  }
  body .filtered-grid .box-form.show-mobile-filter .button-container button {
    width: 100%;
  }
  body .mat-tab-header-pagination {
    height: auto;
  }
  body .mat-mdc-dialog-container .mat-dialog-actions {
    height: unset;
  }
  body ws-grid .grid-filter button {
    height: auto !important;
  }
  body ws-grid .grid-pagination .mat-paginator-page-size {
    display: none;
  }
  body ws-grid .grid-pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body ws-grid.modal-grid {
    display: block;
    height: calc(100vh - 157px) !important;
  }
  body:has(.tab-item.active .modal .box .modal-actions) #grid .footer, body:has(.tab-item.active .show-mobile-filter) #grid .footer {
    display: none;
  }
  body .dialog .dialog-sessoes {
    width: 95%;
    max-width: 95%;
  }
  body .dialog .dialog-sessoes .sessoes-actions button {
    width: auto;
  }
}

.hide-qrcode {
  position: absolute;
  z-index: -1;
}

.process {
  position: absolute;
  top: 66px;
  right: 180px;
  z-index: 10;
  display: none;
  border-radius: 8px;
  padding: 8px;
  width: 240px;
  background-color: var(--background-color);
  box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
  color: #343434;
  cursor: default;
}
.process.active {
  display: block;
}
.process .process-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.process hr {
  margin-block: 4px;
}
.process #process-itens {
  max-height: 210px;
  overflow: auto;
  /* width */
  /* Handle */
}
.process #process-itens::-webkit-scrollbar {
  width: 6px;
}
.process #process-itens::-webkit-scrollbar-thumb {
  background: #545454;
  border-radius: 5px;
}
.process #process-itens .process-item {
  margin-right: 2px;
  margin-bottom: 5px;
  border-radius: 4px;
  padding: 6px;
  background-color: var(--secondary-background-color);
}
.process #process-itens .process-item p {
  max-width: 210px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.loader {
  position: absolute;
  top: -1px;
  left: -3px;
  display: block;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  animation: rotate 1s linear infinite;
}
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 6px solid #f3a927;
  animation: prixClipFix 2s linear infinite;
}

.user-process-numbers {
  position: absolute;
  top: 3px;
  left: 1px;
  z-index: 1;
  display: grid;
  place-content: center;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background-color: #000;
  color: #f3f3f3;
  animation: fadeInOut 10s linear infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-1em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes logo {
  0% {
    background-color: #fff;
    opacity: 0;
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
    opacity: 1;
  }
  75% {
    background-color: var(--writesys);
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
@keyframes logoImg {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeInOutHelp {
  0% {
    width: 30px;
    background-color: #f3a927;
  }
  10% {
    width: 190px;
  }
  90% {
    width: 190px;
  }
  100% {
    width: 30px;
    background-color: #f3a927;
  }
}
@keyframes fadeInOutHelpLabel {
  0% {
    width: min-content;
  }
  100% {
    width: min-content;
  }
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}