:root {
  --color-primary: #7BB397;
  --color-text-black: #000;
  --color-text-white: #fff;
  --color-text-warning: #F2E5B9;
  --color-text-success: #4BA56E;
  --color-text-danger: #b83b22;
}

html {
  overflow-y: auto;
  background-color: var(--color-primary);
  background-size: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: scroll;
}

main {
  flex: 1 0 auto;
}

#login_form {
  background-color: #ffffff66;
}

.group_btn_right {
  position: absolute;
  right: 0;
  margin: 2rem;
}

#page-login .logo img {
  margin: 0 !important;
}

.logo img {
  width: auto;
  min-height: 5rem;
  margin-bottom: -1.5rem;
}

.is-logo {
  max-width: 50vw;
}

.bg-color {
  background-color: var(--color-primary);
}

.text-color {
  color: var(--color-primary);
}

.button.bg-color {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-text-white);
}

.button.bg-color:hover {
  background-color: var(--color-text-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}


.hero .tabs a {
  color: #ffffff;
}

.hero .tabs a:hover {
  color: var(--color-primary);
}

.hero .tabs a.is-active {
  color: var(--color-text-black);
}

.hero .tabs a.is-active:hover {
  color: var(--color-text-black);
}

.navbar>.container {
  align-items: center;
}

a.has-text-white:focus,
a.has-text-white:hover {
  color: var(--color-primary) !important;
}

.tabs li.is-active a {
  border-bottom-color: var(--color-text-success);
  color: var(--color-text-success);
}

.section:not(#page-login.section) {
  background-color: #ffffff;
}

.hide {
  display: none;
}

.is-size-6b {
  font-size: 0.9rem;
}

.datetimepicker.is-primary .datepicker-body .datepicker-dates .datepicker-days .datepicker-date.datepicker-range .date-item.is-today,
.datetimepicker .datepicker-body .datepicker-dates .datepicker-days .datepicker-date .date-item.is-active.is-today {
  color: #000 !important;
}

.dashed {
  border: 4px dashed #999;
}

.big_button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.navbar-menu a.has-text-white.is-active {
  color: var(--color-primary) !important;
  background-color: var(--color-text-white) !important;
}

#prev_resultados_pesquisa_lista {
  overflow: hidden auto;
  max-height: 70vh;
}


/* FOOTER */
.footer {
  background-color: var(--color-text-white);
  background-size: 100%;
  padding: 3rem 1.5rem 2rem;
  flex-shrink: 0;
}

.footer .content {
  min-height: 2em;
}

.footer a::before {
  content: '| ';
  color: var(--color-text-black);
}


.mobile.navbar {
  /* box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%); */
  box-shadow: 0 0.5em 1em rgb(10 10 10);
}

.heading.elipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 20vw;
}

.input-hidden {
  height: 3em;
  opacity: 0;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.uppy-FileInput-container {
  display: none;
}

.uppy-ProgressBar-inner {
  box-shadow: none !important;
}

.clear_file_btt {
  position: absolute;
  right: 8px;
  top: 8px;
  cursor: pointer;
  z-index: 10;
}

.datetimepicker-dummy .datetimepicker-dummy-wrapper .datetimepicker-dummy-input {
  width: 100%;
}

.datetimepicker-footer {
  background-color: #eeeeee;
}

.datetimepicker-footer-today {
  color: #4a4a4a !important;
}

.date-item.is-today {
  color: #000000 !important;
  font-weight: bold;
}

small time {
  font-size: 0.9em;
}

.card-footer-item.has-background-danger {
  border-bottom-right-radius: 0.3em;
}

.image-bg-cover {
  background-size: cover;
  background-position: center;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.image-bg-cover.absolute {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.no-image-bg {
  background-image: url(../../media/no-image.png);
}

.image-cover {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.image img {
  display: block;
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* .login-page .navbar-item img {
    max-height: 5rem;
} */

.modal-background {
  background-color: var(--color-primary) !important;
  opacity: .8;
}

/* Tab dropdown */
#home_tab-container .tabs {
  overflow-x: initial;
  overflow: initial;
}

#home_tab-container .tabs li a {
  border-bottom-color: var(--color-text-success);
  color: var(--color-text-success);
}

div.dropdown-item.is-active {
  background-color: var(--color-text-success) !important;
  color: var(--color-text-white) !important;
}

div.dropdown-item {
  padding-right: 3rem;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

div.dropdown-item:hover {
  background-color: whitesmoke;
  color: #0a0a0a;
}

div.dropdown-estado_item{
  position: fixed;
  z-index: 20;
}

div.dropdown.estado_colunas .dropdown-trigger,
div.dropdown.estado_item .dropdown-trigger{
  box-sizing: border-box;
}
div.dropdown .button{
  height: 2.3em;
}

div.dropdown.dropdown_colunas .button{
  border-color: #aaa !important;
  border-radius: 3px !important;
}


@media screen and (max-width: 768px) {
  .hero:not(.home-out):not(.admin) .navbar-burger {
    /* display: none !important; */
  }

  #navbarMenuHeroB .navbar-end {
    display: grid;
    margin-top: 0 !important;
  }

  .section {
    padding: 1.5rem;
  }

  .footer {
    padding: 3rem 1.5rem 6rem;
  }

  .footer a {
    display: block;
  }

  .footer a::before {
    content: '';
  }
}

@media screen and (max-width: 1023px) {
  .navbar-menu.is-active {
    display: block;
    position: absolute;
    right: 0;
    margin-top: -1.3rem;
    min-width: 30%;
    color: var(--color-primary) !important;
  }

  .navbar-menu a.has-text-white {
    color: var(--color-text-black) !important;
    padding: .8rem 2rem
  }

  .navbar-menu a.has-text-white:hover,
  .navbar-menu a.has-text-white:focus {
    color: var(--color-primary) !important;
  }

  .mobile.navbar a.navbar-item:hover,
  .mobile.navbar a.navbar-item:focus {
    background-color: var(--color-text-white) !important;
  }

}


.notification.top_float {
  position: absolute !important;
  left: 50%;
  transform: translate(-50%, 0);
  top: 15px;
  z-index: 100 !important;
  margin: auto;
  display: block;
  /* ANIMATION */
  -webkit-animation: float-top-notification 600ms ease-out;
  animation: float-top-notification 600ms ease-out;
}

@-webkit-keyframes float-top-notification {
  0% {
    -webkit-transform: translate(-50%, -180%);
    transform: translate(-50%, -180%);
  }

  100% {
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
}

@keyframes float-top-notification {
  0% {
    -webkit-transform: translate(-50%, -180%);
    transform: translate(-50%, -180%);
  }

  100% {
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
}

.st-0.is-selected {
  background-color: #cccccc;
  color: #ffffff;
}

.st-1.is-selected {
  background-color: #ffb300;
  color: #ffffff;
}

.st-2.is-selected {
  background-color: #4caf50;
  color: #ffffff;
}

.st-3.is-selected {
  background-color: #e53935;
  color: #ffffff;
}

.is-fullheight {
  height: 100%;
}


input:not([value=""]):invalid {
  border-color: red;
}

/* TABLES */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 10px;
}

th,
td {
  padding: 6px 15px;
}

td span.ip_s {
  cursor: pointer;
}

td span.ip_s:hover {
  text-decoration: underline;
}

th {
  color: #000;
  text-align: left;
  font-weight: bold;
}

thead {
  background-color: hsl(0, 0%, 95%);
}

.table tr.is-selected td,
.table tr.is-selected th {
  border-color: #dddddd;
}

tbody tr.encomenda:not(.is-selected):not(.notfilterhover):hover{
  /* background: hsl(0, 0%, 98%) !important; */
  /* filter: saturate(300%) brightness(98%); */
}

tbody tr.encomenda:not(.is-selected):hover {
  color: #000;
}

table.dataTable thead th,
table.dataTable thead td {
  border-bottom-color: #999999;
}

tbody tr:first-child {
  border-top: 1px solid #cccccc;
}

tbody td {
  border-bottom: 1px solid #cccccc;
}

tr:last-child td {
  border: none;
}

td:last-child {
  border-right: none;
}

td:first-child {
  border-left: none;
}

tfoot,
tfoot tr:hover {
  background: #e6e6e6;
}

.dataTables_filter,
.dataTables_length {
  margin-bottom: 10px !important;
}

table.dataTable.no-footer {
  border-bottom: none;
}

table.dataTable thead .sorting {
  background-image: none;
}

table.dataTable thead .sorting_asc {
  background-image: none;
}

table.dataTable thead .sorting_desc {
  background-image: none;
}

table.dataTable thead .sorting_asc_disabled {
  background-image: none;
}

table.dataTable thead .sorting_desc_disabled {
  background-image: none;
}

.cursor_info {
  cursor: help;
}

.item_checkbox {
  width: 1.2em;
  height: 1.2em;
  cursor: pointer;
}


/*! DataTables Bulma integration
  * ©2020 SpryMedia Ltd - datatables.net/license
  */
table.dataTable {
  clear: both;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  max-width: none !important;
  border-collapse: separate !important;
  border-spacing: 0;
}

table.dataTable td,
table.dataTable th {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

table.dataTable td.dataTables_empty,
table.dataTable th.dataTables_empty {
  text-align: center;
}

table.dataTable.nowrap th,
table.dataTable.nowrap td {
  white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_length label {
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_length div {
  vertical-align: middle;
}

div.dataTables_wrapper div.dataTables_length select {
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: right;
}

div.dataTables_wrapper div.dataTables_filter label {
  font-weight: normal;
  white-space: nowrap;
  text-align: left;
}

div.dataTables_wrapper div.dataTables_filter input {
  margin-left: 0.5em;
  width: auto;
  vertical-align: middle;
}

div.dataTables_wrapper div.dataTables_info {
  padding-top: 0.5em;
}

div.dataTables_wrapper div.dataTables_paginate ul {
  justify-content: flex-end;
  list-style: none;
  margin: 0;
}

div.dataTables_wrapper div.dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -26px;
  text-align: center;
  padding: 1em 0;
}

/* table.dataTable > thead > tr > th:first-child del{
    display: none;
  }
  table.dataTable > thead > tr > th:first-child{
    padding: 0 0 0 25px !important;
  }
  table.dataTable > tbody > tr > td:first-child del{
    display: none;
  }
  table.dataTable > tbody > tr > td:first-child{
    padding: 0;
    text-align: center;
  }
  table.dataTable > tbody > tr > td:first-child::after{
    content: '\25CF';
    font-size: 1.6em;
    cursor: default; 
  } */
table.dataTable>thead>tr>th:active,
table.dataTable>thead>tr>td:active {
  outline: none;
}

/* table.dataTable>thead>tr>th:not(.sorting_disabled),
table.dataTable>thead>tr>td:not(.sorting_disabled) {
  padding-right: 30px;
} */

table.dataTable>thead>tr:first-child>th:not(.sorting_disabled):hover,
table.dataTable>thead>tr>td:not(.sorting_disabled):hover {
  background-color: whitesmoke;
}

table.dataTable>thead .sorting,
table.dataTable>thead .sorting_asc,
table.dataTable>thead .sorting_desc,
table.dataTable>thead .sorting_asc_disabled,
table.dataTable>thead .sorting_desc_disabled {
  cursor: pointer;
  position: relative;
}

table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:after {
  position: absolute;
  bottom: 0.7em;
  display: block;
  opacity: 0.3;
}

table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
  right: 0.9em;
  content: "↑";
}

table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
  right: 0.2em;
  content: "↓";
}

table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:after {
  opacity: 1;
}

table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:after {
  opacity: 0;
}

div.dataTables_scrollHead table.dataTable {
  margin-bottom: 0 !important;
}

div.dataTables_scrollBody table {
  border-top: none;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

div.dataTables_scrollBody table thead .sorting:before,
div.dataTables_scrollBody table thead .sorting_asc:before,
div.dataTables_scrollBody table thead .sorting_desc:before,
div.dataTables_scrollBody table thead .sorting:after,
div.dataTables_scrollBody table thead .sorting_asc:after,
div.dataTables_scrollBody table thead .sorting_desc:after {
  display: none;
}

div.dataTables_scrollBody table tbody tr:first-child th,
div.dataTables_scrollBody table tbody tr:first-child td {
  border-top: none;
}

div.dataTables_scrollFoot>.dataTables_scrollFootInner {
  box-sizing: content-box;
}

div.dataTables_scrollFoot>.dataTables_scrollFootInner>table {
  margin-top: 0 !important;
  border-top: none;
}

.dataTables_wrapper select,
.presel {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 6px !important;
  padding-left: 10px !important;
  padding-right: 18px !important;
  background-color: transparent;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23999999%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .75em auto, 100%;
  font-size: 0.85em;
}

table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_desc:after {
  opacity: .8;
}
table.dataTable thead>tr>th.sorting:before, table.dataTable thead>tr>th.sorting:after, table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_asc:after, table.dataTable thead>tr>th.sorting_desc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>th.sorting_asc_disabled:before, table.dataTable thead>tr>th.sorting_asc_disabled:after, table.dataTable thead>tr>th.sorting_desc_disabled:before, table.dataTable thead>tr>th.sorting_desc_disabled:after, table.dataTable thead>tr>td.sorting:before, table.dataTable thead>tr>td.sorting:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_asc:after, table.dataTable thead>tr>td.sorting_desc:before, table.dataTable thead>tr>td.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc_disabled:before, table.dataTable thead>tr>td.sorting_asc_disabled:after, table.dataTable thead>tr>td.sorting_desc_disabled:before, table.dataTable thead>tr>td.sorting_desc_disabled:after {
  line-height: 0.4em;
  font-size: 1.8em;
}

table.dataTable thead th,
table.dataTable thead td {
  padding: 10px 10px;
  border-bottom: 1px solid #111;
}

.is-mini.input {
  border-radius: 2px;
  font-size: 0.75rem;
  padding: 0.2em !important;
  height: auto;
  width: 100%;
  margin: 0 !important;
}

.l_items_encomenda  {
  font-size: 0.8em;
}
.l_items_encomenda .button{
  height: 2em;
}
.l_items_encomenda > thead > tr:first-child {
  border-top: none;
}
.l_items_encomenda th,
.l_items_encomenda td {
  padding: 4px 10px;
}

#lista_items_encomenda th:first-child,
#lista_items_encomenda td:first-child {
  padding: 6px 10px;
}

mark {
  background: #FFDD00;
  color: black;
}

.estado_inativo {
  color: hsl(0, 0%, 70%);
}

#lista_items_encomenda th,
#lista_items_encomenda td {
  padding: 6px 6px;
}

/* scheduler */
#dp .scheduler_default_rowheader_inner {
  padding: 10px;
}

#dp .scheduler_default_timeheader_cell_inner,
#dp .scheduler_default_timeheader_float_inner {
  padding: 10px;
}

#dp .scheduler_default_columnheader_cell_inner {
  padding: 10px;
}

#dp .scheduler_default_event_inner {
  padding: 10px;
}

.scheduler_default_timeheader_cell_now {
  background-color: #ffdd00 !important;
  font-weight: bold;
}

.scheduler_default_header_icon {
  top: 9px !important;
  width: 12px !important;
}

.success {
  background-color: var(--color-success);
  color: white;
}

.disabled {
  opacity: 0.7 !important;
  cursor: default !important;
  pointer-events: none !important;
}

.disabled .scheduler_default_event_delete {
  display: none;
}

a.navbar-item:hover,
.dropdown:hover a.navbar-item {
  background-color: #ffffff;
}

@media screen and (max-width: 768px) {
  #filter_tag .tag span.tag_text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 9em;
  }
}

.toggle-vis.selected {
  color: #999999;
}

.is-small.input, .is-small.textarea {
  border-radius: 3px;
}

/* TGL SWITCH */
.tgl {
  display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
  box-sizing: border-box;
}
.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
  background: none;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
  background: none;
}
.tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: calc(2em - 2px);
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
.tgl + .tgl-btn:after {
  left: 0;
}
.tgl + .tgl-btn:before {
  display: none;
}
.tgl:checked + .tgl-btn:after {
  left: 50%;
}

.tgl-flat + .tgl-btn {
  padding: 2px;
  transition: all 0.2s ease;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 3px;
}
.tgl-flat + .tgl-btn:after {
  transition: all 0.2s ease;
  background: #dddddd;
  content: "";
  border-radius: 2px;
}
.tgl-flat:checked + .tgl-btn {
  border: 1px solid var(--color-primary);;
}
.tgl-flat:checked + .tgl-btn:after {
  left: 50%;
  background: var(--color-primary);;
}

.tgl-flat:hover + .tgl-btn:hover {
  border: 1px solid #aaaaaa;
}