:root {
  --primary-dark: #2a3042;
  --primary-color: #7ea1d4;
  --primary-color-rgba: rgba(127,162,213,1);
  --primary-color-darker: #3061a1;
  --primary-color-darker1x: #5673a6;
  --primary-color-darker2x: #244878;
  --primary-color-clearer: #c0d4ee;
  --secondary-color: rgba(168,70,88,1);
  --secondary-color-darker: #bd3249;
  --secondary-color-darker2x: #8d2536;
  --contrast-color: #F7F7F7;
  --primary-custom: #2985A6;
  --secondary-custom: #0087a0;
  --third-custom: #0087a0;
  --forth-custom: #d78a35;
  --fifth-custom: #a04600;
}

p {
  margin-bottom: 0.25rem;
}

.bg-gradient-custom {
  background-image: linear-gradient(195deg, var(--primary-custom) 0%, var(--secondary-custom) 100%);
}

.bg-dark {
  background-color: var(--primary-custom) !important;
}

.btn-custom {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--primary-custom);
  --bs-btn-border-color: #006779;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #008ea8;
  --bs-btn-hover-border-color: #3d97ad;
  --bs-btn-focus-shadow-rgb: 198, 26, 84;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #00aff0;
  --bs-btn-active-border-color: #2a6a7a;
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: #757575;
  --bs-btn-disabled-bg: #9e9e9e;
  --bs-btn-disabled-border-color: #000000;
}

.btn-custom:hover,
.btn.bg-gradient-custom:hover {
  background-color: var(--secondary-custom);
  border-color: var(--secondary-custom);
  box-shadow: 0 14px 26px -12px rgba(30, 125, 233, 0.4), 0 4px 23px 0 rgba(30, 125, 233, 0.15), 0 8px 10px -5px rgba(30, 125, 233, 0.2);
}
.btn-custom,
.btn.bg-gradient-custom {
  box-shadow: 0 3px 3px 0 rgba(30, 125, 233, 0.15), 0 3px 1px -2px rgba(30, 125, 233, 0.2), 0 1px 5px 0 rgba(30, 125, 233, 0.15);
}

.btn-outline-custom {
  --bs-btn-color: #006779;
  --bs-btn-border-color: #006779;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--primary-custom);
  --bs-btn-hover-border-color: #3d97ad;
  --bs-btn-focus-shadow-rgb: 26, 115, 232;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--primary-custom);
  --bs-btn-active-border-color: #2a6a7a;
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: #757575;
  --bs-btn-disabled-bg: #9e9e9e;
  --bs-btn-disabled-border-color: #000000;
  --bs-gradient: none;
}

.text-alert {
  color: red;
  vertical-align: 5px;
  margin-left: 3px;
}

table th {
	font-size: 14px;
}

#patient-new-nav-wrapper .nav-link {
	text-transform: uppercase;
  font-weight: 400;
  font-size: 0.875rem;
  color: rgb(88, 88, 88) !important;
}

#patient-new-nav-wrapper .nav-link a {
  color:white !important
}

.nav .nav-link:hover {
	cursor: pointer;
}

.copyright {
	position: absolute;
	bottom: 10px;
	width: 100%;
	text-align: center;
	color: white;
	font-size: 12px;
}

.nav-side .nav-link{
  text-align:left !important
}

/* START - Post riunione 04/04/2024 */

@media (min-width: 1200px) {
  .sidenav:hover {
    max-width: 15.625rem;
  }

  .sidenav .sidenav-toggler {
    padding: 1.5rem;
  }

  .sidenav.fixed-start+.main-content {
    margin-left: 15.5rem;
  }

  .sidenav.fixed-end+.main-content {
    margin-right: 15rem !important;
  }
  .g-sidenav-hidden .navbar-vertical:hover.fixed-start+.main-content {
    margin-left: 15.5rem;
  }
}
@media (min-width: 769px) {
  .g-sidenav-hidden .navbar-vertical {
    max-width: 5rem !important;
  }
}
@media (min-width: 1200px) {
  .g-sidenav-hidden .navbar-vertical.fixed-start+.main-content {
    margin-left: 5rem;
  }
}

#navbarBlur{
  background-image: linear-gradient(180deg, var(--primary-custom) 0%, var(--primary-custom) 100%);
}

.material-icons {
  color: #fff;
}

.card .card-header, .card .card-body {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  padding-top: 1rem !important;
}

.card{
  border-radius: 0px !important;
}

.card-body{
  overflow-x: auto;
}

.sidenav-toggler .btn {
  margin: 0px !important;
  color: #fff !important
}

.navbar .sidenav-toggler-inner .sidenav-toggler-line {
  background: #fff !important;
}

div.dataTables_paginate ul.pagination {
	margin: 2px 0;
	white-space: nowrap;
}

div.dataTables_wrapper{
  height: 100%;
}

.pagination {
  display: flex;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

div.dataTables_paginate ul.pagination {
  white-space: nowrap;
}

.pagination > li > a, .pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: var(--secondary-custom);
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
    border-top-color: rgb(221, 221, 221);
    border-right-color: rgb(221, 221, 221);
    border-bottom-color: rgb(221, 221, 221);
    border-left-color: rgb(221, 221, 221);
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: var(--secondary-custom);
  border-color: var(--secondary-custom);
}

.shadow-blur {
  box-shadow: none !important;
}

.container-post-project-message{
  padding: 15px !important;
}

.input-group.input-group-dynamic .form-control,
.input-group.input-group-dynamic .form-control:focus,
.input-group.input-group-static .form-control,
.input-group.input-group-static .form-control:focus {
  background-image: linear-gradient(0deg, var(--secondary-custom) 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0);
  border-radius: 0 !important;
}

.input-group.input-group-outline.is-focused .form-label,
.input-group.input-group-outline.is-filled .form-label {
  color: var(--secondary-custom);
}

.input-group.input-group-outline.is-focused .form-label:before,
.input-group.input-group-outline.is-focused .form-label:after,
.input-group.input-group-outline.is-filled .form-label:before,
.input-group.input-group-outline.is-filled .form-label:after {
  border-top-color: var(--secondary-custom);
  box-shadow: inset 0 1px var(--secondary-custom);
}

.input-group.input-group-outline.is-focused .form-label+.form-control:not([disabled]),
.input-group.input-group-outline.is-filled .form-label+.form-control:not([disabled]) {
  border-color: var(--secondary-custom) !important;
  border-top-color: transparent !important;
  box-shadow: inset 1px 0 var(--secondary-custom), inset -1px 0 var(--secondary-custom), inset 0 -1px var(--secondary-custom);
}

.form-check:not(.form-switch) .form-check-input[type="radio"]:after {
  background-image: linear-gradient(195deg, #6598a5 0%, var(--secondary-custom) 100%), var(--bs-gradient);
}

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked, .form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
  border-color: var(--secondary-custom);
}

@media (min-width: 768px) {
  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
}

td a:hover,
th a:hover  {
  color: var(--secondary-custom) !important;
  text-decoration: none;
}
.card-header a:hover{
  color: #bdbdbd !important;
  text-decoration: none;
}
.btn.btn-default:not(.btn-custom):hover {
  color: #000000 !important;
  text-decoration: none;
}

#footer-modal{
  border-top: 1px solid #c1c1c1;
  padding-top: 5px;
  margin-top: 15px;
}

.choices .choices__list.choices__list--single, .choices .choices__list.choices__list--single:focus {
  background-image: linear-gradient(0deg, var(--secondary-custom) 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0);
}

.choices .choices__input {
  background-image: linear-gradient(0deg, var(--secondary-custom) 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #d2d2d2 1px, rgba(209, 209, 209, 0) 0);
  background-size: 0 100%, 100% 100%;
}

.choices__item--disabled {
	color: #fff;
}

.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked {
  background: var(--secondary-custom);
}

.flatpickr-calendar .flatpickr-innerContainer {
  margin-top: 0px !important;
}
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: var(--primary-custom) !important;
}
.flatpickr-calendar.arrowBottom:after {
  border-top-color: var(--primary-custom) !important;
}
.flatpickr-months .flatpickr-month {
  background: var(--primary-custom) !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: var(--primary-custom) !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  background-color: var(--primary-custom) !important;
}
.flatpickr-weekdays {
  background: var(--primary-custom) !important;
}
span.flatpickr-weekday {
  background: var(--primary-custom) !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--primary-custom) !important;
  border-color: var(--primary-custom) !important;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
  -webkit-box-shadow: -10px 0 0 var(--primary-custom) !important;
          box-shadow: -10px 0 0 var(--primary-custom) !important;
}
.flatpickr-day.week.selected {
  -webkit-box-shadow: -5px 0 0 var(--primary-custom) !important, 5px 0 0 var(--primary-custom) !important;
          box-shadow: -5px 0 0 var(--primary-custom) !important, 5px 0 0 var(--primary-custom) !important;
}
.flatpickr-calendar .flatpickr-day.today{
  background: var(--primary-custom) !important;
}
.flatpickr-calendar .flatpickr-day.selected, .flatpickr-calendar .flatpickr-day.startRange, .flatpickr-calendar .flatpickr-day.endRange {
  background: var(--secondary-custom) !important;
}
/* .table-responsive{
  overflow-x: inherit !important;
} */
.top-7{
  top: 7vh !important;
}
  #patient-new-nav-wrapper .nav.nav-pills{
    border-radius: 0px;
    background-color: inherit !important;
  }

.fc .fc-button-primary {
  background-color: var(--primary-custom);
  border-color: var(--primary-custom);
}
.fc .fc-button-primary:hover,
.fc .fc-button-primary:focus,
.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled):active:focus {
  transform: none;
  box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.09), 0 2px 3px -1px rgba(0, 0, 0, 0.07);
  background-color: var(--secondary-custom);
  border-color: var(--secondary-custom);
}

div.dataTables_filter input,
div.dataTables_length select {
	height: 34px;
  font-size: 14px;
  border: 1px solid #ccc;
}

div.dataTables_filter input:focus,
div.dataTables_length select:focus {
  border: 1px solid var(--primary-color);
}

/* start FILTRI AVANZATI */
.dataTableSearch input.filter-warning-searchbox {
  background: #FF7;
  color: #000;
}

.filter-warning-icon{
  color:#ff7
}
/* end FILTRI AVANZATI */

div.dataTables_length label {
	font-weight: normal;
	float: left;
	text-align: left;
}
div.dataTables_length select {
	width: 75px;
  vertical-align: baseline !important;
}
div.dataTables_filter label {
	font-weight: normal;
	float: right;
}
@media screen and (min-width: 992px) {
  div.dataTables_filter input {
    width: 16em;
  }
}
@media screen and (max-width: 991px) {
  div.dataTables_filter input {
    width: 12em;
  }
}
div.dataTables_length label {
	font-weight: normal;
	float: left;
	text-align: left;
}
div.dataTables_length .form-control {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #444444;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
div.dataTables_length .form-control:focus,
div.dataTables_filter .form-control:focus{
  border-color: var(--third-custom);
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 142, 168, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 142, 168, 0.6);
}
div.dataTables_length .form-control::-moz-placeholder,
div.dataTables_filter .form-control::-moz-placeholder{
  color: #bbbbbb;
  opacity: 1;
}
div.dataTables_length .form-control:-ms-input-placeholder,
div.dataTables_filter .form-control::-ms-input-placeholder {
  color: #bbbbbb;
}
div.dataTables_length .form-control::-webkit-input-placeholder,
div.dataTables_filter .form-control::-webkit-input-placeholder {
  color: #bbbbbb;
}
div.dataTables_length .form-control::-ms-expand,
div.dataTables_filter .form-control::-ms-expand {
  border: 0;
  background-color: transparent;
}
.navbar-vertical.navbar-expand-xs .navbar-collapse {
  display: block;
  overflow: initial;
  height: calc(100vh - 360px);
}
.moving-tab{
  background-color: white !important;
}
.nav.nav-pills .nav-link {
  border-radius: 0px;
}
#sub_main_card{
  min-height: calc(100vh - 145px);
}
.input-group.input-group-outline.is-filled .form-control,
.input-group.input-group-outline.is-focused .form-control{
  border-color: var(--primary-custom) !important;
  border-top-color: transparent !important;
  box-shadow: inset 1px 0 var(--primary-custom), inset -1px 0 var(--primary-custom), inset 0 -1px var(--primary-custom);
}

.shadow-custom {
  box-shadow: 0 4px 20px 0 rgba(55, 140, 161, 0.14), 0 7px 10px -5px rgba(55, 140, 161, 0.4) !important;
}
.shadow-custom:hover{
  box-shadow: 0 4px 20px 0 var(--forth-custom), 0 7px 10px -5px var(--forth-custom) !important;
}
.shadow-custom:hover .text-custom{
  color: var(--fifth-custom) !important;
}
.text-custom{
  color: var(--secondary-custom) !important;
}
.datatable_text_custom{
  color: var(--primary-custom) !important;
}
.text-alert-custom{
  color: var(--forth-custom);
}
.text-warning-custom{
  color: var(--fifth-custom);
}
.btn-datatable{
  --bs-btn-color: grey !important;
}
.btn-warning-custom {
  --bs-btn-color: #000;
  --bs-btn-bg: var(--forth-custom);
  --bs-btn-border-color: var(--forth-custom);
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: var(--forth-custom);
  --bs-btn-hover-border-color: var(--forth-custom);
  --bs-btn-focus-shadow-rgb: 213, 119, 0;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: var(--fifth-custom);
  --bs-btn-active-border-color: var(--forth-custom);
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: var(--forth-custom);
  --bs-btn-disabled-border-color: var(--forth-custom);
}

.alert-danger-custom {
  --bs-alert-color: var(--fifth-custom);
  --bs-alert-bg: var(--forth-custom);
  --bs-alert-border-color: var(--forth-custom);
}

.alert-danger-custom .alert-link-custom {
  color: var(--fifth-custom);
}

.alert-warning-custom {
  --bs-alert-color: #664d03;
  --bs-alert-bg: #fff3cd;
  --bs-alert-border-color: #ffecb5;
}
.alert-warning-custom .alert-link {
  color: #523e02;
}

.btn-warning-custom,
.btn.bg-gradient-warning-custom {
  box-shadow: 0 3px 3px 0 rgba(168, 73, 0, 0.15), 0 3px 1px -2px rgba(168, 73, 0, 0.2), 0 1px 5px 0 rgba(168, 73, 0, 0.15);
}

.btn-warning-custom:hover,
.btn.bg-gradient-warning-custom:hover {
  background-color: var(--fifth-custom);
  border-color: var(--fifth-custom);
  box-shadow: 0 14px 26px -12px rgba(168, 73, 0, 0.4), 0 4px 23px 0 rgba(168, 73, 0, 0.15), 0 8px 10px -5px rgba(168, 73, 0, 0.2);
}

.btn-warning-custom .btn.bg-outline-warning,
.btn.bg-gradient-warning-custom .btn.bg-outline-warning {
  border: 1px solid var(--forth-custom);
}

.btn-warning-custom:not(:disabled):not(.disabled).active,
.btn-warning-custom:not(:disabled):not(.disabled):active,
.show>.btn-warning-custom.dropdown-toggle,
.btn.bg-gradient-warning-custom:not(:disabled):not(.disabled).active,
.btn.bg-gradient-warning-custom:not(:disabled):not(.disabled):active,
.show>.btn.bg-gradient-warning-custom.dropdown-toggle {
  color: color-yiq(var(--forth-custom));
  background-color: var(--forth-custom);
}

.btn-warning-custom.focus,
.btn-warning-custom:focus,
.btn.bg-gradient-warning-custom.focus,
.btn.bg-gradient-warning-custom:focus {
  color: #fff;
}
.btn-warning-custom,
.btn.bg-gradient-warning-custom {
  color: #fff;
}

.btn-warning-custom:hover,
.btn.bg-gradient-warning-custom:hover {
  color: #fff;
}
.input-group.input-group-outline.is-filled .form-control[disabled] {
  cursor: not-allowed;
  border-style: inset;
}
.input-group.input-group-outline.is-focused .form-label + .form-control, .input-group.input-group-outline.is-filled .form-label + .form-control {
  border-color: var(--secondary-custom) !important;
    border-top-color: var(--secondary-custom);
  border-top-color: transparent !important;
  box-shadow: inset 1px 0 var(--secondary-custom), inset -1px 0 var(--secondary-custom), inset 0 -1px var(--secondary-custom);
}
.icon-lg i {
  top: 15%;
  font-size: 2.5rem;
}

.choices.is-disabled .choices__inner , .choices.is-disabled .choices__input {
  background-color: #ffffff;
}
.choices.is-disabled .choices__inner .choices__list, .choices.is-disabled .choices__input {
  background-color: #f0f0f0;
  border-radius: 0.40rem;
}
#container-spinner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0.5;
}

@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 90vw;
  }
}
#modal-log .modal-dialog {
  max-width: 90vw;   
}
#modal-log .modal-body {
  max-height: 75vh;
  overflow: auto;
}

.btn-datatable-custom {
  --bs-btn-color: #7b809a;
  --bs-btn-border-color: #2a6a7a;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--primary-custom);
  --bs-btn-hover-border-color: #3d97ad;
  --bs-btn-hover-color: var(--third-custom);
}
.btn-datatable-trashbin-custom {
  --bs-btn-color: #7b809a;
  --bs-btn-border-color: #2a6a7a;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--forth-custom);
  --bs-btn-hover-border-color: #3d97ad;
  --bs-btn-hover-color: var(--fifth-custom);
}
.btn-badge:hover,
.btn-datatable-custom:hover i,
.btn-datatable-trashbin-custom:hover i {
  color: white
}

.navbar-vertical .nav-item .nav-link {
  border-radius: 0rem;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:hover:not(.active){
  isolation: isolate;
  border-color: var(--primary-custom);
  background-color: rgba(0, 168, 230, 0.6);
}
.nav-tabs .nav-link:hover:not(.active) span,
.nav-tabs .nav-link:hover:not(.active) i {
  color: white;
}
.nav-stacked .nav-item .nav-link.active{
  background-color: #f0f2f5;
  color: var(--secondary-custom);
}
.nav-stacked .nav-item .nav-link{
  color: black;
}
.nav-stacked .nav-side .nav-link.active{
  background-color: #ffffff;
}
.nav-stacked .nav-side .nav-link.active span{
  color: var(--secondary-custom);
}
.nav-stacked .nav-side .nav-link{
  color: black;
}
.nav-tabs {
  --bs-nav-tabs-border-radius: 0rem;
  border-bottom: none !important;
}
.card .nav-tabs .nav-link:hover,
.card .nav-tabs .nav-link:hover:not(.active),
.card .nav-tabs .nav-link:hover:not(.active) span {
  isolation: isolate;
  border-color: var(--primary-custom);
  background-color: initial !important;
  color: var(--primary-custom);
}

/* START GESTIONE MENU */

#sortable {
  padding: 50px 0 0 30px;
}
#sortable > ul {
  margin: 0;
  padding: 0;
  width: 100% !important;
}
#sortable ul li {
  list-style: none;
  padding: 5px 5px;
  margin: 3px 0;
  font-size: 14px;
  background: #CCEBFC;
}
#sortable ul li li {
  background: #fff;
  border: 1px solid #B1E1FC;
}
#sortable ul li:hover {
  cursor: hand;
}

#sortable .template_menu_permessi .text {
  font-size: 10px !important;
}
#sortable .template_menu_permessi .bs-searchbox .form-control{
  width: 100% !important;
}

#sortable .pull-left.form-group{
  width: 100%;
}

#sortable .bootstrap-select ul,
#sortable .bootstrap-select ul li,
#sortable .bootstrap-select ul li a {
  background: #fff !important;
  padding: 0;
}

#sortable .dropdown-menu > .active > a, #sortable .dropdown-menu > .active > a:hover, #sortable .dropdown-menu > .active > a:focus {
  color: #333 !important;
}
#sortable .bootstrap-select ul li {
  padding: 2px 5px;
  border: none;
}
#sortable .bootstrap-select ul li a:hover {
  background: #c1c1c1 !important;
}
#sortable .bootstrap-select .dropdown-header {
  font-size: 13px;
  padding: 2px 5px;
}
#sortable .bootstrap-select .text {
  font-size: 12px;
}
#sortable .bootstrap-select .opt {
  padding-left: 15px;
}
#sortable > ul > li > div {
  padding: 5px 6px;
}

.sortable-custom {
  padding: 20px !important;
}
.sortable-custom > #table-righe, .sortable-custom > .table-righe {
  margin: 0 !important;
}
.ph-class-custom {
  background: #C2C4CC !important;
  margin: 0 0 2px 0;
  border-radius: 4px;
}
.sortable-custom .panel-title {
  font-size: 13px;
}

#gestioneRiferimentiTab, #gestionePermessiTab, #tu_landing_pageTab {
  padding: 50px 0 0 30px;
}
#gestionePagineFormTab {
  padding: 50px 0 30px 30px;
}
#gestioneRiferimentiTab > ul, #gestionePermessiTab > ul, #gestionePagineFormTab > ul, #tu_landing_pageTab > ul {
  margin: 0;
  padding: 0;
  width: 100% !important;
}
#gestioneRiferimentiTab ul li, #gestionePermessiTab ul li, #gestionePagineFormTab ul li, #tu_landing_pageTab ul li {
  list-style: none;
  padding: 5px 5px;
  margin: 3px 0;
  font-size: 14px;
  background: #f6ec82;
}
#tu_landing_pageTab ul li{
  background: #f2cba1;
}
#gestioneRiferimentiTab ul li li, #gestionePermessiTab ul li li, #gestionePagineFormTab ul li li, #tu_landing_pageTab ul li li{
  background: #fff;
  border: 1px solid #B1E1FC;
}
#gestioneRiferimentiTab ul li:hover, #gestionePermessiTab ul li:hover, #gestionePagineFormTab ul li:hover, #tu_landing_pageTab ul li:hover {
  cursor: hand;
}

#gestioneRiferimentiTab .template_menu_nome, #gestionePermessiTab .template_menu_nome, #gestionePagineFormTab .template_menu_nome, #tu_landing_pageTab .template_menu_nome {
  margin-right: 10px;
}

#gestioneRiferimentiTab .bootstrap-select ul,
#gestioneRiferimentiTab .bootstrap-select ul li,
#gestioneRiferimentiTab .bootstrap-select ul li a,
#gestionePermessiTab .bootstrap-select ul,
#gestionePermessiTab .bootstrap-select ul li,
#gestionePermessiTab .bootstrap-select ul li a,
#gestionePagineFormTab .bootstrap-select ul,
#gestionePagineFormTab .bootstrap-select ul li,
#gestionePagineFormTab .bootstrap-select ul li a {
  background: #fff !important;
  padding: 0;
}

#tu_landing_pageTab .bootstrap-select ul,
#tu_landing_pageTab .bootstrap-select ul li,
#tu_landing_pageTab .bootstrap-select ul li a{
  padding: 0;
}

#gestioneRiferimentiTab .dropdown-menu > .active > a, #gestioneRiferimentiTab .dropdown-menu > .active > a:hover, #gestioneRiferimentiTab .dropdown-menu > .active > a:focus,
#gestionePermessiTab .dropdown-menu > .active > a, #gestionePermessiTab .dropdown-menu > .active > a:hover, #gestionePermessiTab .dropdown-menu > .active > a:focus,
#gestionePagineFormTab .dropdown-menu > .active > a, #gestionePagineFormTab .dropdown-menu > .active > a:hover, #gestionePagineFormTab .dropdown-menu > .active > a:focus
#tu_landing_pageTab .dropdown-menu > .active > a, #tu_landing_pageTab .dropdown-menu > .active > a:hover, #tu_landing_pageTab .dropdown-menu > .active > a:focus {
  color: #333 !important;
}
#gestioneRiferimentiTab .bootstrap-select ul li, #gestionePermessiTab .bootstrap-select ul li, #gestionePagineFormTab .bootstrap-select ul li, #tu_landing_pageTab .bootstrap-select ul li {
  padding: 2px 5px;
  border: none;
}
#gestioneRiferimentiTab .bootstrap-select ul li a:hover, #gestionePermessiTab .bootstrap-select ul li a:hover, #gestionePagineFormTab .bootstrap-select ul li a:hover, #tu_landing_pageTab .bootstrap-select ul li a:hover {
  background: #c1c1c1 !important;
}
#gestioneRiferimentiTab .bootstrap-select .dropdown-header, #gestionePermessiTab .bootstrap-select .dropdown-header, #gestionePagineFormTab .bootstrap-select .dropdown-header, #tu_landing_pageTab .bootstrap-select .dropdown-header {
  font-size: 13px;
  padding: 2px 5px;
}
#gestioneRiferimentiTab .bootstrap-select .text, #gestionePermessiTab .bootstrap-select .text, #gestionePagineFormTab .bootstrap-select .text, #tu_landing_pageTab .bootstrap-select .text  {
  font-size: 12px;
}
#gestioneRiferimentiTab .bootstrap-select .opt, #gestionePermessiTab .bootstrap-select .opt, #gestionePagineFormTab .bootstrap-select .opt, #tu_landing_pageTab .bootstrap-select .opt {
  padding-left: 15px;
}
#gestioneRiferimentiTab > ul > li > div, #gestionePermessiTab > ul > li > div, #gestionePagineFormTab > ul > li > div, #tu_landing_pageTab > ul > li > div {
  padding: 5px 6px;
}

/* .blur {
  filter: blur(0.8rem);
  -webkit-filter: blur(0.8rem);
  pointer-events: none;
} */
.customTab {
  height: 48px;
  padding-top: 13px !important;
}
/* END GESTIONE MENU */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

/* start SPINNER */
/* #container-spinner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100vw;
  height: 100vh;
} */

#container-spinner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0.5;
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
}

.rotateSpinner{
  -webkit-animation: spinner-border 1s linear infinite;
  animation: spinner-border 1s linear infinite;
}

@keyframes spinner-border {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#spinner img{
  opacity: 1;
}

.spinner-center {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
}
/* end SPINNER */

.highlight { background-color: yellow; color: #000; }

.highlight_green{
  background-color: #39ff14;
  color: #000;
}
.datatable_center{
  text-align: center;
}
.text-grey {
  color: #c6c6c6 !important;
}
.choices__list--dropdown,
.choices__list[aria-expanded] {
  word-break: break-word;
  min-width: 25vh;
}

table p, table div {
  white-space: normal;
}

.nav-item ol,
.nav-item ul {
  padding-left: 1rem;
}

.hidden{
  display: none !important;
}

.choices__list--multiple .choices__item {
  background-color: var(--third-custom);
  border: var(--third-custom);
}
.choices[data-type="select-multiple"] .choices__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0.5rem;
  background-color: transparent;
}

.choices[data-type="select-multiple"] .choices__input {
  flex-basis: 100%;
  padding: 0.25rem 0.5rem;
  background-color: transparent;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid #d2d2d2 ;
  background-image: none;
  /* margin-top: 0.5rem; */
  padding-top: 3px;
}


.choices[data-type="select-multiple"] .choices__input::placeholder{
  color: #989898
}

.choices[data-type="select-multiple"].is-open .choices__input{
  border-color: #0087a0;
}

.choices .choices__list.choices__list--dropdown {
  background: var(--primary-custom);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  z-index: 10 !important;
}

.choices__list--dropdown .choices__item--selectable,
.choices__item.choices__item--choice.has-no-choices {
  color: #f0f2f5;
}

.choices__list--dropdown:before {
  color: var(--primary-custom);
}

.choices__list--dropdown.is-active:before {
  top: -18px !important;
}

.item.item-caption{
  color: gray;
  border: solid 1px lightgray;
  display: inline-flex;
  border-radius: 5px;
  padding: 0 5px 0 0;
  margin: 5px;
  vertical-align: text-top;
  width: auto;
}
.caption{
  background-color: darkgray;
  float: left;
  margin-right: 4px;
  padding: 5px;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 3px 0 0 3px;
  color: #fff;
}
.value{
  float: right;
  padding: 5px;
  border-radius: 100px;
  color: gray;
}
.font-size-large{
  font-size: large;
}

/* COLORI */
.color-orange{
  color: #fd7e14;
}

.background-orange{
  background-color: #fd7e14;
}

.color-yellow{
  color: #D8D52B;
}

.background-yellow{
  background-color: #D8D52B;
}

.background-green{
  background-color: #02943f !important;
}

.background-light-green{
  background-color: #51ff9957;
}

.background-light-gray{
  background-color: #f2f2f2;
}
/* COLORI */

.accordion-panel.accordion-button {
  background-color: #f8f9fa; /* Colore di sfondo personalizzato */
  color: #344767; /* Colore del testo */
  border: none;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.accordion-panel .accordion-button:not(.collapsed) {
  background-color: #008dae; /* Cambia colore quando l'elemento è aperto */
  color: white
}

.accordion-panel .accordion-button:focus {
  box-shadow: none;
}

.accordion-panel .accordion-item {
  border: 1px solid black;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Aggiunge un'ombra */
}

.accordion-panel .accordion-body {
  background-color: #008dad; /* Sfondo per il contenuto */
}

.quill_container {
  min-height: 100px;
  height: unset;
}

.list-group-item.active{
  background-color: rgba(0, 168, 230, 0.6);
  border-color: #00a8e6;
}

.list-group-item{
  border: unset;
}

.badge-msg-privati, .badge-registrazioni-recenti {
  background-color: var(--forth-custom);
  text-shadow: none;
  padding: 5px;
  margin-left: 5px;
  margin-bottom: 10px;
}

/* SELECTIZE */

.selectize-control {
  display: inline-block;
  vertical-align: middle;
  height: auto !important;
}

.selectize-dropdown { /* colore neutro definito (altrimenti applica un trasparente) */
	background: var(--bs-modal-bg) !important;
}

/* SELECTIZE */

.sidenav-header{
  height: unset;
  max-height: 12rem;
}

h3.h3-modal {
  border-bottom: 1px solid #c1c1c1;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.btn-outline-success:hover,
.btn-outline-info:hover{
  background-color: var(--bs-btn-hover-bg) !important;
  color: #fff !important;
}

.badge-danger[href]:hover,
.badge-danger[href]:focus {
  color: #fff !important;
}

/* allineamento selectize a "js-choice" del template */
.selectize-control{
  margin-top: 0.25rem;
}
.selectize-input.focus {
  border: unset;
  border-top: unset;
  border-left: unset;
  border-right: unset;
  border-bottom: unset;
  box-shadow: unset;
  
  border-bottom: solid 1px;
  border-color: var(--primary-custom) !important;
}
.selectize-input {
  border: unset;
  border-top: unset;
  border-left: unset;
  border-right: unset;

  border-bottom: 1px solid #ced4da;
  padding: .375rem .75rem;
  padding-left: 0;
  display: inline-block;
  width: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  box-shadow: none;
  border-radius: unset;
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}
.selectize-control.single .selectize-input::after {
  display: unset;
  margin-top: unset;
  width: unset;
  height: unset;
  border: unset;
  border-style: unset;
  border-width: unset;
  border-color: unset;

  content: "\f107";
  font: normal normal normal 14px/1 FontAwesome;
  position: absolute;
  right: 13.5px;
  top: 14px;
  pointer-events: none;
  transition: 0.3s ease;
}
.selectize-control.single .selectize-input.dropdown-active::after {
  display: unset;
  margin-top: unset;
  width: unset;
  height: unset;
  border: unset;
  border-style: unset;
  border-width: unset;
  border-color: unset;

  content: "\f107";
  font: normal normal normal 14px/1 FontAwesome;
  position: absolute;
  right: 13.5px;
  top: 14px;
  pointer-events: none;
  transition: 0.3s ease;
  transform: rotate(180deg);
}
/* fine allineamento selectize a "js-choice" del template */

/* dataTable responsive */
.dataTable td.child ul li {
  text-align: left;
}
.dataTable td.child ul li input[type="text"] {
  display: inherit;
  width: 100%;
}
/* fine dataTable responsive */

/* custom css mobile 991px equivale al breakpoint "lg" in bootstrap 5 */
@media screen and (max-width: 991px) {
  .btn-icon, .btn-mobile {
    width: 100%;
  }
  .item-caption{
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .item-caption .caption{
    min-width: 33%;
  }
}

/* inizio calendario */
div.popUp {
  position: absolute;
  right: 2.5%;
  top: 23%;
  z-index: 9999;
  /* width: 20%; */
  background-color: #fff;
  border: 1px solid #dddddd;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* overflow: scroll; */
}

span.popUpLetter {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #dddddd;
  margin: 5px;
  transition: background-color 0.3s ease-in-out;
}

span.popUpLetterSelected, span.popUpLetter:hover {
  background-color: #7ea1d4;
  border-color: #5673a6;
  color: white;
}

div.popUpLetterContainer{
  display: flex;
  justify-content: center;
}
/* fine calendario */

.breadcrumb-item{
  display: inline-block !important;
}

@media screen and (min-width: 992px) {
  .swal-wide{
    width: 750px;
  }
}

.selectize-dropdown-content{
  background: #fff;

}
/* modale logs */
#registro-modifiche .accordion-button {
  background-color: rgb(31, 144, 182) !important;
  color: #fff !important;
  border-radius: 50px !important; 
  padding: 0.75rem 1rem !important; 
  transition: background-color 0.2s ease-in-out;
}
#registro-modifiche .accordion-button:hover {
  background-color: rgba(25, 118, 150, 0.75) !important; 
  color: #fff !important;
}
#registro-modifiche .tableini {
  width:75% !important;
  margin: 0 auto;  
}
#registro-modifiche .tableini,
#registro-modifiche .tableini th,
#registro-modifiche .tableini td {
  border: 1px solid #ccc !important; 
  border-collapse: collapse;        
}
#registro-modifiche .tableini thead th {
  font-weight: bold;
  border: solid;
}
#registro-modifiche .accordion-button:not(.collapsed) {
  background-color: rgba(25, 118, 150, 0.85) !important; 
  color: #fff !important;
  box-shadow: none !important;
}
.user-info .username,
.user-info .username * {
  color: #fff !important;
  font-weight: bold !important;
}


