[data-pc-preset=preset-1] {
    --pc-sidebar-active-color: #A8C94B;
    --bs-blue: #A8C94B;
    --bs-primary: #A8C94B;
    --bs-primary-rgb: 4, 169, 245;
    --bs-primary-light: #e6f6fe;
    --bs-link-color: #A8C94B;
    --bs-link-color-rgb: 4, 169, 245;
    --bs-link-hover-color: #9cbb46;
    --bs-link-hover-color-rgb: to-rgb(shift-color($ pc-primary, $ link-shade-percentage));
    --dt-row-selected: 4, 169, 245;
}

.pc-container .pc-content{
  max-width: 1400px; margin: 0 auto;
}

.btn-my-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #A8C94B;
  --bs-btn-border-color: #A8C94B;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #9cbb46;
  --bs-btn-hover-border-color: #9cbb46;
  --bs-btn-focus-shadow-rgb: 42, 182, 247;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #9cbb46;
  --bs-btn-active-border-color: #9cbb46;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: #A8C94B;
  --bs-btn-disabled-border-color: #A8C94B;
}

.border-color-primary{
  border-color: #A8C94B;
}

.text-my-primary{
  color: #A8C94B !important;
}

.pc-sidebar .m-header {
  height: 100px !important;
  display: block !important;
  align-items: center;
  padding: 16px 24px !important;
}
.pc-sidebar .m-header img {
height: 100% !important;
}

.form-check .form-check-input.my-input:checked {
  border-color: var(--pc-sidebar-active-color);
  background-color: var(--pc-sidebar-active-color);
}

.pc-sidebar .pc-navbar > .pc-item.active > .pc-link{
  color: var(--pc-sidebar-active-color);
}

.pc-sidebar .navbar-wrapper{
  height: 100vh;
}

.pc-sidebar .navbar-content {
  height: calc(100vh - 50px);
  padding: 10px 0 80px;
}

div.dt-container div.dt-search{
  margin-bottom: 20px;
}

.hide { display: none; }

.pointer{ cursor: pointer;}
.no-cursor{ cursor: unset;}

.white-space-normal{
  white-space: normal !important;
}

.w100{ width: 100%;}

.my-icon{
  width: 18px; font-size: 18px;
}
.my-icon.big{
  width: 28px; font-size: 28px;
}

.label-richiesto:after { content:" *"; color: red;}

.form-control.is-invalid{ border: 1px solid #f72b50 !important; }
.my-invalid{ color: rgba(255, 0, 0, 1); font-weight: 500; margin-left: 1rem; }

.datatable-table thead th, .table thead th{
  text-transform: none; font-size: 14px;
}

.width-check{
  width: 50px !important;
}

.form-control:disabled, .datatable-input:disabled, .custom-select:disabled, .dataTable-selector:disabled, .dataTable-input:disabled {
  opacity: 0.5 !important;
}

.border.card.inactive{
  border: none !important; box-shadow: none; opacity: 0.6;
}

.my-select2, .select2{
    width:100% !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered{
  color: var(--bs-body-color) !important;
}

.select2-container--bootstrap-5 .select2-selection--single{
  padding: 0.8rem 2rem 0.8rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option{
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #5B6B79 !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted){
  color: #fff !important;
}

.select2-container--bootstrap-5 .select2-selection{
  display: inline-table !important;
  padding: 0.8rem 2rem 0.8rem 0.75rem !important;
}

.select2-container--bootstrap-5.select2-container--disabled .select2-selection,.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection {
  color: #5B6B79 !important;
  background-color: #F3F5F7 !important;
  border: 1px solid #DBE0E5 !important;
  box-shadow: none !important;
  opacity: 0.5 !important;
  cursor: auto !important;
}
.select2-container--bootstrap-5.select2-container--disabled .select2-selection:hover {
  background-color: #F8F9FA !important;
}

[data-pc-theme=dark] .select2-container--bootstrap-5 .select2-selection{
  background-color: #263240 !important;
  color: var(--bs-body-color) !important;
  border-color: #303f50 !important;
}

[data-pc-theme=dark] .select2-container--bootstrap-5 .select2-selection, 
[data-pc-theme=dark] .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option{
  color: var(--bs-body-color) !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection,
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus{
  color: #5B6B79 !important;
  background-color: #ffffff !important;
  border-color: var(--bs-primary) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.2) !important;
}

/* SPECTRUM COLORPICKER */
.sp-original-input-container .sp-add-on{
  border: none !important;
}
/* FINE - SPECTRUM COLORPICKER */

/* SWEET ALARM 2 */
body .swal2-container.swal2-backdrop-show {
  background: rgba(0, 0, 0, .4);
}

.swal2-icon.swal2-success {
  border-color: #A8C94B;
  color: #A8C94B;
}
.swal2-icon.swal2-success .swal2-success-ring {
  border: 0.25em solid #A8C94B;
}
.swal2-icon.swal2-success [class^=swal2-success-line] {
  background-color: #A8C94B;
}

[data-pc-theme=dark] .swal2-popup {
  background: #2f363e !important;
  color: #fff !important;
}

[data-pc-theme=light] .swal2-popup {
  background: #fff !important;
  color: #1D2630 !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  color: #fff !important;
}
/* FINE - SWEET ALARM 2 */