/*======================================================================
foglio di stile per classi e attributi per framework WAD
========================================================================= */

#barra_bottoni {
  margin-top: 25px;
  text-align: right;
}

#velo {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background-color: #00000078;
  color: #ffffff;
}
#velo_pupup {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 1027;
  background-color: #00000078;
  color: #ffffff;
}
.pointer {
  cursor: pointer;
}
#spinner {
  position: relative;
  margin-top: 20%;
}
.spinner-border {
  width: 10rem;
  height: 10rem;
}
#error_output {
  position: absolute;
  top: 33%;
  left: 25%;
  width: 500px;
  height: auto;
  min-height: 240px;
  background-color: white;
  border: 4px solid #d32e2e;
  border-radius: 6px;
  padding-left: 25px;
  padding-top: 22px;
  padding-right: 25px;
  padding-bottom: 0px;
  color: rgb(239, 11, 11);
  font-size: 0.66rem !important;
  font-weight: 800;
}
.verde {
  background-color: #16e24c;
}
.subform_content {
  background-color: #adbcd0;
}

.table thead th {
  border-bottom: 1px solid #f1f1f1;
  font-size: 0.66rem !important;
  color: #00295a;
  background: #d4deeb;
  text-transform: uppercase;
  padding: 0.4rem 0.2rem !important;
}

.table td,
.table th {
  border-top: 1px solid #d4deeb;
  border-bottom: 1px solid #d4deeb;
  white-space: unset;
  padding: 0.2rem;
}

.hid {
  display: none !important;
}

.btn-row {
  cursor: pointer;
  font-size: 0.7rem !important;
}

.btn_add {
  height: 26px !important;
  width: 26px !important;
  padding: 0 !important;
}

.btn_add svg {
  width: 16px !important;
  height: 16px !important;
}

.col_btn {
  width: 60px !important;
  min-width: 60px !important;
  text-align: right !important;
}

.modal-dialog {
  max-width: 800px !important;
}

.grip {
  cursor: pointer;
}

.b-add {
  margin-top: 2px;
  float: right;
  width: auto;
}

.form_new_line {
  background-color: #f0f2f8;
}

.pc-header .header-wrapper {
  background-color: #dce0ed !important;
}

.page-header {
  background: #f9fbff !important;
}

.tab-content > .active {
  display: block;
  padding: 10px;
  background-color: #edf5ff;
  border: 1px solid #bbc6d4;
  border-top: none;
}

.nav {
  font-size: 1rem !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #00295a;
  background-color: #edf5ff;
  font-weight: 600;
  border: 1px solid #bbc6d4;
  border-bottom: none;
}

.nav-pills .nav-link {
  border-radius: 0 !important;
  background-color: #d4deeb;
}

.datepicker {
  width: 100% !important;
  min-width: 140px !important;
  padding: 10px;
}

.datetime {
  width: 100% !important;
  min-width: 140px !important;
}

td .datetime {
  width: 140px !important;
  display: inline-block !important;
}

.choices__inner,
.choices__list--dropdown .choices__item {
  font-size: 0.66rem !important;
  padding: 0.25rem 0.3rem !important;
}

.choices__inner {
  min-height: 30px !important;
  border: 1px solid #ced4da !important;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.3rem !important;
  font-size: 0.66rem !important;
  font-weight: 400;
  line-height: 1.5;
  color: #293240;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-switch .form-check-input {
  width: 4em;
  height: 2em;
  margin-left: -2.5em;
  margin-right: 0.5em;
}

.form-check {
  display: block;
  min-height: 1.3125rem;
  padding-left: 1.5em;
  margin-bottom: 0.125rem;
  margin-top: 1.4rem;
}

.form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
  margin-right: 0.5em;
}

.form-check-input[data-type="check"] {
  width: 2em;
  height: 2em;
  background-color: #dddddd;
}
.form-check-input:checked {
  background-color: #00295a !important;
  border-color: #00295a !important;
}
.form-check-input[data-type="switch"] {
  width: 3em;
  height: 2em;
}
.form-check-input:focus {
  border-color: #00295a !important;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 70, 152, 0.25);
}
.form-label {
  margin-bottom: 0.05rem;
  font-weight: 600;
  color: #00295a;
}

.profile-card {
  position: relative;
  min-height: 200px !important;
  overflow: hidden;
}

body {
  font-size: 0.66rem !important;
}

/* ######### SIDEBAR #############*/

.pc-sidebar.light-sidebar .pc-link {
  color: #1c232f !important;
  font-size: 0.66rem !important;
}

.pc-sidebar .pc-submenu .pc-link {
  padding: 5px 5px 5px 40px;
}

.pc-sidebar .pc-submenu .pc-submenu .pc-link {
  padding: 5px 5px 5px 60px;
}

.pc-sidebar.light-sidebar .pc-item.active > .pc-link,
.pc-sidebar.light-sidebar .pc-item:focus > .pc-link,
.pc-sidebar.light-sidebar .pc-item:hover > .pc-link {
  color: #252f3f !important;
}
.pc-sidebar.light-sidebar .pc-item.active > .pc-link i.material-icons-two-tone,
.pc-sidebar.light-sidebar .pc-item:focus > .pc-link i.material-icons-two-tone,
.pc-sidebar.light-sidebar .pc-item:hover > .pc-link i.material-icons-two-tone {
  background-color: #252f3f !important;
}

.pc-sidebar .pc-item.active > .pc-link,
.pc-sidebar .pc-item:focus > .pc-link,
.pc-sidebar .pc-item:hover > .pc-link {
  color: #fff !important;
}

.pc-sidebar .pc-item.active > .pc-link i.material-icons-two-tone,
.pc-sidebar .pc-item:focus > .pc-link i.material-icons-two-tone,
.pc-sidebar .pc-item:hover > .pc-link i.material-icons-two-tone {
  background-color: #fff !important;
}

.pc-sidebar.light-sidebar .pc-navbar > .pc-item > .pc-link {
  border-radius: 5px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 7px 10px;
}

.pc-sidebar .pc-arrow {
  float: right;
  display: inline-block;
  transition: all 0.2s ease-in-out;
  font-size: 0.85rem !important;
}

.pc-sidebar .pc-micon {
  margin-right: 5px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

.pc-sidebar .m-header {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 10px;
  background: #161c25;
}

.minimenu .pc-sidebar .pc-submenu .pc-link {
  padding: 8px;
}

.minimenu .pc-sidebar .pc-submenu .pc-link i {
  background-color: #778290;
  font-size: 1rem;
}

.minimenu .pc-sidebar .m-header {
  padding: 10px;
}

body:not(.minimenu) .pc-sidebar .pc-submenu .pc-submenu .pc-item:before {
  left: 40px;
}
body:not(.minimenu) .pc-sidebar .pc-submenu .pc-submenu .pc-item:hover:before {
  left: 45px;
}

body:not(.minimenu) .pc-sidebar .pc-submenu .pc-item:before {
  content: "→";
  position: absolute;
  left: 20px;
  top: 5px;
  z-index: 1;
  transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
  color: #778290;
}

body:not(.minimenu) .pc-sidebar .pc-submenu .pc-item:hover:before {
  left: 25px;
}

body:not(.minimenu)
  .pc-sidebar.light-sidebar
  .pc-submenu
  .pc-item.active:before,
body:not(.minimenu)
  .pc-sidebar.light-sidebar
  .pc-submenu
  .pc-item:hover:before {
  color: #00295a !important;
}

body:not(.minimenu) .pc-sidebar .pc-submenu .pc-item.active:before,
body:not(.minimenu) .pc-sidebar .pc-submenu .pc-item:hover:before {
  color: #fff !important;
}

body:not(.minimenu) .pc-sidebar .pc-submenu .pc-link i {
  background-color: #778290;
  font-size: 1rem;
}

body:not(.minimenu)
  .pc-sidebar
  .pc-submenu
  .pc-submenu
  .pc-submenu
  > .pc-item:before {
  left: 60px;
}

.order-card .material-icons-two-tone {
  background-color: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  vertical-align: text-bottom;
}

.order-card a {
  color: #ffffff;
  text-decoration: none;
}

.cmp-nnull,
.cmp-nnull .choices__inner {
  border-bottom-color: #4182d4;
  border-bottom-width: 2px;
}

.upload-url {
  border-top-left-radius: unset !important;
  border-bottom-left-radius: unset !important;
}

.image-area {
  border: 2px dashed rgba(255, 255, 255, 0.7);
  padding: 1rem;
  position: relative;
}

.image-area::before {
  content: "Uploaded image result";
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  z-index: 1;
}

.image-area img {
  z-index: 2;
  position: relative;
}

.choices__list--dropdown {
  z-index: 1024;
}

.i_cursor {
  cursor: pointer;
  font-size: 2rem;
}

.nascosto {
  height: 0px;
  color: transparent;
  font-size: 0px;
  margin: 0;
  padding: 0;
  width: 0px;
}

.title {
  width: 100%;
  padding: 1rem;
}
.dataquery {
  position: fixed;
  top: 10%;
  left: 15%;
  z-index: 1028;
  width: 80%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  background-color: #efecec;
  border: 3px solid #bdbdc8;
  border-radius: 5px;
  border-radius: 5px;
}

code,
pre {
  padding: 0 3px 2px;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 0.66rem !important;
  color: #333333;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

code {
  padding: 2px 4px;
  color: #d14;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  white-space: nowrap;
}

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 0.66rem !important;
  line-height: 20px;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
  background-color: #f4f4f4;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

pre.prettyprint {
  margin-bottom: 20px;
}

pre code {
  padding: 0;
  color: inherit;
  white-space: pre;
  white-space: pre-wrap;
  background-color: transparent;
  border: 0;
}

.pre-scrollable {
  max-height: 340px;
  overflow-y: scroll;
}
/*
.addform {
  padding-left: 0 !important;
}
*/

input[type="date"] {
  min-width: 100px;
}

.not_lable {
  margin-top: 18px;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: #293240;
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: #293240;
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: #293240;
  --bs-table-hover-bg: rgba(0, 70, 152, 0.02);
  width: 100%;
  margin-bottom: 1rem;
  color: #293240;
  vertical-align: top;
  border-color: #d4deeb;
  border-radius: 4px;
  border-style: solid;
}
.datatable-wrapper.no-footer .datatable-container {
  height: calc(100vh - 330px) !important;
  overflow: auto !important;
  display: block !important;
}
.table-responsive {
  overflow-x: unset;
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
}

.margin_inline {
  margin: 0 !important;
}

.datatable-table > tbody > tr > td,
.datatable-table > tbody > tr > th,
.datatable-table > tfoot > tr > td,
.datatable-table > tfoot > tr > th,
.datatable-table > thead > tr > td,
.datatable-table > thead > tr > th {
  vertical-align: middle !important;
  padding: 0.2rem !important;
}

.notifier-container {
  z-index: 9999;
  position: fixed;
  top: 4px;
  right: 4px;
  padding: 4px;
  width: 700px !important;
  max-width: 98%;
  font-family: "Segoe UI", Tahoma, Calibri, Verdana, sans-serif;
  color: #999;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.ag-header-cell-menu-button:not(.ag-header-menu-always-show) {
  transition: opacity 0.2s;
  opacity: 0.3 !important;
}

.ag-theme-balham,
.ag-theme-balham-auto-dark,
.ag-theme-balham-dark {
  --ag-balham-active-color: #0091ea !important;
  --ag-foreground-color: #000 !important;
  --ag-background-color: #fff !important;
  --ag-header-background-color: #edeff5 !important;
  --ag-tooltip-background-color: #edeff5 !important;
  --ag-subheader-background-color: #edeff5 !important;
  --ag-control-panel-background-color: #edeff5 !important;
  --ag-border-color: #d4d7e1 !important;
  --ag-odd-row-background-color: #f4f6fc !important;
  --ag-row-hover-color: #edeff5 !important;
  --ag-column-hover-color: #edeff5 !important;
  --ag-input-border-color: #95a5a6 !important;
  --ag-invalid-color: #e02525 !important;
  --ag-input-disabled-background-color: #ebebeb !important;
  --ag-checkbox-unchecked-color: #dce0ed !important;
  --ag-input-focus-border-color: #719ece !important;
  --ag-advanced-filter-join-pill-color: #f08e8d !important;
  --ag-advanced-filter-column-pill-color: #a6e194 !important;
  --ag-advanced-filter-option-pill-color: #f3c08b !important;
  --ag-advanced-filter-value-pill-color: #85c0e4 !important;
  --ag-input-focus-box-shadow: 0 0 2px 1px var(--ag-input-focus-border-color);
  --ag-range-selection-border-color: var(--ag-balham-active-color);
  --ag-checkbox-checked-color: var(--ag-balham-active-color);
  --ag-checkbox-background-color: var(--ag-background-color);
  --ag-secondary-foreground-color: rgba(0, 0, 0, 0.54);
  --ag-disabled-foreground-color: rgba(0, 0, 0, 0.38);
  --ag-subheader-toolbar-background-color: rgba(226, 233, 235, 0.5);
  --ag-row-border-color: rgba(189, 195, 199, 0.58);
  --ag-chip-background-color: rgba(0, 0, 0, 0.1);
  --ag-range-selection-background-color: rgba(0, 145, 234, 0.2);
  --ag-range-selection-background-color-2: rgba(0, 145, 234, 0.36);
  --ag-range-selection-background-color-3: rgba(0, 145, 234, 0.49);
  --ag-range-selection-background-color-4: rgba(0, 145, 234, 0.59);
  --ag-selected-row-background-color: rgba(0, 145, 234, 0.28);
  --ag-header-column-separator-color: rgba(189, 195, 199, 0.5);
  --ag-input-disabled-border-color: rgba(149, 165, 166, 0.3);
  --ag-header-column-separator-display: block;
  --ag-header-column-separator-height: 50%;
  --ag-grid-size: 4px;
  --ag-icon-size: 16px;
  --ag-row-height: calc(var(--ag-grid-size) * 7);
  --ag-header-height: calc(var(--ag-grid-size) * 8);
  --ag-list-item-height: calc(var(--ag-grid-size) * 6);
  --ag-row-group-indent-size: calc(
    var(--ag-grid-size) * 3 + var(--ag-icon-size)
  );
  --ag-cell-horizontal-padding: calc(var(--ag-grid-size) * 3);
  --ag-input-height: calc(var(--ag-grid-size) * 4);
  --ag-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --ag-font-size: 12px;
  --ag-icon-font-family: agGridBalham;
  --ag-border-radius: 2px;
  --ag-checkbox-border-radius: 3px;
  --ag-card-shadow: none;
}
#ag_gest_filter {
  position: relative;
  margin-top: 20px;
  float: right;
  margin-right: 175px;
  z-index: 1100;
  width: 282px;
  height: auto;
  min-height: 160px;
  background-color: #f8f9fa;
  border: 1px solid #cccccc;
  padding-left: 14px;
}
#name_filter {
  width: 178px !important;
  background-color: white;
  margin-top: 48px;
  height: 30px;
  z-index: 1100 !important;
  border: var(--ag-borders-input) var(--ag-input-border-color);
}
.it_filter {
  width: 178px !important;
  height: 30px;
  display: inline-block;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0rem 0.5rem !important;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #293240;
  text-align: center;
  white-space: nowrap;
  background-color: #f0f2f8;
  border: 1px solid #ced4da !important;
  border-radius: 4px;
}

.dropdown {
  display: inline-block;
  margin: 0 10px;
}

.dropdown-menu {
  max-height: 200px;
  overflow-y: auto;
  min-width: 20rem;
  font-size: 0.7rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
}

.offcanvas-end {
  top: 0;
  right: 0;
  width: 700px !important;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
}

.list {
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tile-text {
  display: grid;
  grid-template-columns: 2fr 2fr 3fr 5fr; /* Adatta le colonne */
  width: 100%;
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.header .tile-text {
  font-weight: bold;
  background-color: #f0f0f0;
}

#table_filter {
  font-size: 0.7rem !important;
}

#table_filter td {
  padding: 0.2rem !important;
}

#table_filter input,
#table_filter select {
  padding: 0.3rem !important;
}

.exp_campo_filtro {
  font-size: 1rem !important;
}

#table_filter select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #ffffff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round' class='css-i6dzq1'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 0.05rem center/18px 25px;
}

#table_filter .choices__inner,
#table_filter .choices__list--dropdown .choices__item {
  font-size: 0.6rem !important;
  padding: 0.1rem 0.3rem !important;
}

#table_filter .choices__inner {
  min-height: 26px !important;
  border: 1px solid #ced4da !important;
}

.choices[data-type*="select-one"]:after {
  content: "";
  height: 0;
  width: 0;
  border-style: solid;
  border-color: #607d8b transparent transparent transparent !important;
  border-width: 5px;
  position: absolute;
  right: 3px !important;
  top: 50%;
  margin-top: -2.5px;
  pointer-events: none;
}

#table_filter .choices__list--multiple .choices__item {
  display: inline-block;
  vertical-align: middle;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 9px;
  font-weight: 500;
  margin-right: 2px;
  margin-bottom: 2px;
  background-color: #00295a;
  border: 1px solid #5d50ed;
  color: #ffffff;
  word-break: break-all;
  box-sizing: border-box;
}

#table_filter .choices__input {
  display: inline-block;
  vertical-align: baseline;
  background-color: #ffffff;
  font-size: 9px !important;
  margin-bottom: 0px;
  border: 0;
  color: #293240;
  border-radius: 0;
  max-width: 100%;
  padding: 4px 0 4px 2px;
}

#table_filter .choices__list--single {
  display: inline-block;
  padding: 4px 8px 4px 0px;
  width: 100%;
}
