a.btn-prime:hover {
  text-decoration: none;
  color: white;
}

/* progress bar inspinia */
.pace .pace-progress {
  background-color: var(--red-polaris);
}

.btn-prime {
  background: var(--blue-polaris);
  /* border: none; */
  color: white;
}

.btn-prime:hover {
  background-color: var(--hover-prime);
}

.btn-red {
  background: var(--red-polaris);
  color: white;
}

.btn-red:hover {
  background: var(--hover-red);
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* row di bootstrap margin */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/*ibox ispinia*/
.ibox {
  box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000,
    0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

/* error message style */
label.error {
  color: #a94442;
}

/* input on error */
.form-control.error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  padding: 1px 20px 1px 20px;
}

/* border input on focus */
.form-control:focus {
  border-color: var(--blue-polaris);
}

.page-wrapper {
  width: 100%;
  /* border: 1px solid pink; */
}

.cornice-wrapper {
  display: flex;
  width: 100%;
  position: relative;
}

.page-right {
  width: var(--page-right-width);
  height: var(--page-right-min-height);
  overflow-y: auto;
  position: relative;
  background-color: var(--bg-page);
}

.page-left {
  width: var(--page-left-width);
  min-height: var(--page-left-min-height);
  position: sticky;
  background: var(--bg-menu);
}

.pagina {
  width: 100%;
  padding-top: var(--padding-pagina);
  /* padding-left: 50px;
  padding-right: 50px; */
  padding-left: var(--padding-pagina);
  padding-right: var(--padding-pagina);
  background: var(--bg-page);
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.pagina .box-tab,
.pagina .box_ricerca {
  margin-bottom: var(--padding-pagina);
}

.header-pagina {
  width: 100%;
  height: var(--header-pagina-height);
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.titolo-pagina {
  text-transform: capitalize;
  font-size: 24px;
  padding: 15px 20px 20px 20px;
}

.header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  height: var(--header-height);
  align-items: center;
  background: var(--bg-header);
  z-index: 2000;
  padding: 20px;
  box-shadow: var(--box-shadow);
}

.header-path,
.header-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  line-height: 20px;
}

.header-title h3 {
  font-size: 24px;
  text-transform: capitalize;
}

.back-arrow {
  font-weight: 800;
}

/* form modal insert section */

/* fontawesome unicode */

.select-icona {
  font-family: FontAwesome, "Font Awesome\ 5 Free", "Font Awesome 5 Brands";
}
.select-icona option {
  font-family: FontAwesome, "Font Awesome\ 5 Free", "Font Awesome 5 Brands";
  font-weight: normal;
  font-style: normal;
}

/* sostituisco colore chosen select bootstrap */
.chosen-container .chosen-results li.highlighted {
  /* background-color: #18a689 !important; */
  background-color: var(--blue-polaris) !important;
}

.chosen-container-active.chosen-with-drop .chosen-single {
  /* border: 1px solid #18a689 !important; */
  border: 1px solid var(--blue-polaris) !important;
}

.chosen-container-active .chosen-choices {
  /* border: 1px solid #18a689 !important; */
  border: 1px solid var(--blue-polaris) !important;
}

/* stile metismenu del menu laterale sito */
.menu-container {
  width: auto;
  /* border: 1px solid white; */
  height: 100vh;
  /* padding: 10px 0 10px 0; */
}

.menu-top {
  /* padding: var(--padd-menu-section); */
  padding: 0 8px 0 8px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

#logo_menu {
  /*width: var(--width-logo-menu);
  height: var(--height-logo-menu);*/
  padding: 10px;
  width: 95px;
  height: 100%;
}

.toggler {
  border-radius: 2px;
  padding: 8px;
  background: var(--red-polaris);
}

.toggler:hover {
  cursor: pointer;
}

.toggler-line {
  width: 20px;
  height: 2px;
  background-color: #fff;
  margin: 3px 0;
}

.menu-top.collapsed .toggler {
  /* margin-top: 10px; */
}

.menu-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--padd-menu-section);
  height: var(--menu-user-height);
}

.menu-user-info {
  width: 60%;
}

.user-info {
  padding: 0 0 0 10px;
}

.user-name,
.user-ruolo {
  color: #fff;
  font-weight: 600;
}

.menu-user-icons-mobile {
  display: none;
  font-size: var(--font-icon-menu-collapsed);
  height: var(--menu-user-icon-mobile-height);
  position: absolute;
  bottom: 0%;
  color: var(--text-menu-color) !important;
}

.menu-user-icons-mobile a {
  text-decoration: none;
  color: var(--text-menu-color) !important;
}

.menu-user-icons {
  width: 40%;
  display: flex;
  color: var(--text-menu-color) !important;
  justify-content: space-around;
}

.menu-user-icons:hover {
  cursor: pointer;
}
.menu-user-icons i {
  font-size: var(--font-icon-menu-header);
  color: var(--color-icon-menu-header);
}

#list-menu {
  margin-top: var(--margin-menu-user-to-list-menu);
  /* padding: var(--padd-menu-section); */
  max-height: calc(
    100vh - var(--menu-logo-height) - var(--menu-user-height) -
      var(--margin-menu-user-to-list-menu)
  );
  overflow-y: auto;
}

#metismenu {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
}

.voce-menu {
  list-style: none;
  width: 100%;
  /* padding: 10px; */
}
.voce-menu:hover {
  background: #263a4a;
  border-radius: 6px;
}

.link-voce {
  color: var(--text-menu-color) !important;
  font-weight: 600;
  text-transform: capitalize;
  display: flex;
  width: 100%;
  align-items: center;
  /* padding: 2px 0 2px 0; */
  padding: 14px 20px 14px 25px;
}

.voce-menu:hover > .link-voce {
  color: white !important;
}

.active-menu {
  background: #324758;
  /* color: #fff !important; */
  border-radius: 6px;
  border-left: 4px solid var(--red-polaris);
}

.link-voce.active {
  color: #fff !important;
}
.nested-list {
  /* margin-left: -25px !important; */
}

.nested-list li a {
  padding: 7px 10px 7px 18px;
}

.nested-list li:last-child {
  padding-bottom: 10px;
}

.icona-menu {
  margin-right: 10px;
}

#nestable-output {
  height: auto;
  font-weight: 600;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  /* background-color: #2196f3; */
  background-color: var(--blue-polaris);
}

input:focus + .slider {
  /* box-shadow: 0 0 1px #2196f3; */
  box-shadow: 0 0 1px var(--blue-polaris);
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.plus-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--plus-btn-width);
  height: var(--plus-btn-height);
  border-radius: 50px;
  background: var(--plus-btn-bg);
  position: absolute;
  bottom: 1%;
  left: 6%;
  box-shadow: var(--box-shadow);
}

.plus-button:hover {
  cursor: pointer;
}

.plus-button i {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
}

/* tabella permessi */
#permessi {
  /* table-layout: fixed; */
  width: 100%; /* Important */
}
#permessi tr td:first-child {
  width: 300px !important;
  /* text-align: left; */
}

#permessi th {
  /* padding: 8px 10px !important; */
  /* text-align: center; */
}
#permessi tr td {
  /* text-align: center; */
}

/* MENU LATERALE COMPRESSO */
/* sidebar collapsed */

.collapsed {
  transition: width 0.5s;
  animation-duration: 1s;
  animation-name: fadein;
}

.page-left.collapsed {
  position: relative;
  width: 80px;
  display: flex;
  flex-direction: column;
}

.page-left.collapsed + .page-right {
  background: var(-red-polaris);
}

.menu-container.collapsed {
  display: flex;
  flex-direction: column;
  /* width: 80px; */
  align-items: center;
  position: relative;
}

.menu-logo {
  height: var(--menu-logo-height);
}

#logo_menu.collapsed {
  display: none;
}

.menu-top.collapsed {
  width: auto;
  display: flex;
  justify-content: center;
  height: var(--header-height);
}

#page-left {
  transition: width 0.5s;
  animation-duration: 1s;
  animation-name: fadein;
}

#list-menu.collapsed {
  display: flex;
  width: 80px;
  justify-content: center;
  width: auto;
  max-height: calc(
    100vh - var(--menu-logo-height) - var(--margin-menu-user-to-list-menu) -
      var(--menu-user-icon-mobile-height) - 1px
  );

  /* nascondo scrollbar con la possibilita' di scrollare comunque */
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}
/* webkit scrollbar hide */
#list-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.icona-menu.collapsed {
  font-size: var(--font-icon-menu-collapsed);
}

.link-voce.collapsed .description-menu {
  display: none;
}

.link-voce.collapsed {
  display: flex;
  justify-content: center;
  padding: 14px 18px 14px 25px;
}

.nav-item.collapsed {
  display: flex;
  z-index: 99;
}

.nested-list.collapsed {
  display: none;
  border: 1px var(--red-polaris) solid;
  position: absolute;
  top: auto;
  left: 80px;
  z-index: 999;
  transition: display 0.5s;
}

.menu-user.collapsed {
  display: none;
  /* flex-direction: column; */
}

.menu-user.collapsed .menu-user-info,
.menu-user.collapsed .menu-user-icons {
  display: none;
}

.menu-container.collapsed .menu-user-icons-mobile {
  display: flex;
  border-top: 1px solid slategray;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

/* ====== */

.expand {
  /* display: table-row !important; */
}

.shrink {
  /* display: none; */
}

.parent {
  font-weight: 800;
}

.child {
  background: #f4f4f4 !important;
}

.group {
  /* background-color: var(--red-polaris) !important ; */
}

.group > td {
  border-top: 1px solid rgba(0, 0, 0, 0.37) !important;
}

.tree-toggler:hover {
  cursor: pointer;
}

/* td:last-child {
  border-bottom: 1px solid rgb(83, 83, 83) !important;
} */
table.dataTable thead th,
table.dataTable thead td {
  /* padding: 10px 18px; */
  border-bottom: none !important;
  vertical-align: middle;
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 10px 18px !important;
  vertical-align: middle;
}

.dataTables_wrapper .dataTables_filter {
  float: right;
}

.dataTables_wrapper .dataTables_length {
  float: left;
}

.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
  display: flex;
  align-items: center;
}
.dataTables_wrapper .dataTables_filter label input,
.dataTables_wrapper .dataTables_length label select {
  margin: 0 3px;
}

div.dataTables_wrapper div.dataTables_filter input {
  width: 100%;
}
.hidden-playground {
  opacity: 0.6 !important;
}

/* footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  bottom: 0;
  right: 0;
  height: var(--footer-height);
  box-shadow: var(--box-shadow);
}

.footer-left h5 {
  font-size: 10px;
}
.footer-right img {
  /* max-width: 100%; */
  /* width: 35px; */
  height: 35px;
}

/* pagination page indicator datatables */
.page-item.active .page-link {
  background-color: var(--blue-polaris);
  border-color: var(--blue-polaris);
}

/* ibox bottoni personalizzati a destra */
.ibox-buttons {
  padding: 15px 20px 20px 20px;
  display: flex;
  justify-content: flex-end;
}

.ibox-buttons-modal {
  /* padding: 15px 20px 20px 20px; */
  display: flex;
  justify-content: flex-end;
}

.ibox-buttons button,
.ibox-buttons-and-title button {
  margin-right: 10px;
}

.ibox-buttons button:last-child,
.ibox-buttons-and-title button:last-child {
  margin-right: 0px;
}

.ibox-title-custom {
  /* padding: 0px 20px 0px 20px; */
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.ibox-title-double-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 15px 8px 15px !important;
}

.ibox-buttons-and-title {
  padding: 15px 0px 20px 20px;
  display: flex;
}

.ibox-title-section {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

/* ======================== */

.inmodal .modal-header {
  padding: 15px 15px;
  text-align: center;
  display: block;
}

/* UI STYLE COMPONENTS */

/* TABLE COMPONENT  */

.table_component > thead > tr > th {
  color: var(--red-polaris) !important;
}

.table_component {
  vertical-align: middle;
}

.table_icons i {
  color: var(--table-actions-color);
  font-size: var(--font-icons-actions);
}

.table_icons {
  margin-right: 10px;
}

.table_icons:last-child {
  margin-right: 0;
}

/* ============================================ MODALE LATERALE ====================================================*/

.modal_wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 100vh;
  border: 1px solid red;
  background: #f8fafc;
  z-index: 2000;
}

.modal_wrapper.hide {
  display: none;
}

.modal_wrapper.show {
  display: block;
}

.modal_header {
  color: #fff;
  height: 35px;
  background: var(--blue-polaris);
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border: 1px solid green; */
}

.modal_header-left {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 8%;
}

.modal_header-right {
  width: 18%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-modal {
  border-radius: 5px;
  background: #fff;
  border: none;
}

/* MODAL LATERAL BOOTSTRAP*/
.modal {
  /*From Right/Left */
}
.modal.drawer {
  display: flex !important;
  pointer-events: none;
}
.modal.drawer * {
  pointer-events: none;
}
.modal.drawer .modal-dialog {
  margin: 0px;
  display: flex;
  flex: auto;
  transform: translate(25%, 0);
}
.modal.drawer .modal-dialog .modal-content {
  border: none;
  border-radius: 0px;
}
.modal.drawer .modal-dialog .modal-content .modal-body {
  overflow: auto;
}
.modal.drawer.show {
  pointer-events: auto;
}
.modal.drawer.show * {
  pointer-events: auto;
}
.modal.drawer.show .modal-dialog {
  transform: translate(0, 0);
}
.modal.drawer.right-align {
  flex-direction: row-reverse;
}
.modal.drawer.left-align:not(.show) .modal-dialog {
  transform: translate(-50%, 0);
}

/* Contenuto Modale Laterale */

.modal_header {
  color: white;
  background: var(--blue-polaris);
  border: none;
  border-radius: 0;
  height: var(--modal-heading-height);
}

#modal_context .modal-dialog {
  max-width: 75%;
}

.header_left {
  display: flex;
  align-items: center;
  width: 50%;
}

/* popup stato  */
.popup_status {
  display: none;
  position: absolute;
  left: 0%;
  top: var(--modal-heading-height);
  background: #fcfcfc;
  width: 300px;
  height: 300px;
  padding: 15px;
  z-index: 3000;
  color: var(--bg-menu);
  font-weight: 400;
  box-shadow: var(--box-shadow-2);
}

.header_icon_status {
  cursor: pointer;
  color: rgba(255, 255, 255);
  text-shadow: 0 0 4px rgb(255, 255, 255);
}

.header_icon_status,
.header_title {
  font-size: 16px;
}

#delete_modal {
  z-index: 9999 !important;
}

.header_right {
  display: flex;
  align-items: center;
}

.content_header {
  padding: 12px 0px;
  background-color: #fff;
  min-height: 60px;
}

label {
  display: block;
  margin-bottom: 0;
}

.tab_content {
  /* min-height: 150px; */
  background-color: #fff;
  padding: 8px 0px;
}

.tab_content textarea {
  padding: 10px;
  border: 1px solid #f0f0f0;
}

/* === override bootstrap's tabs === */

.tab-content {
  display: flex;
}

.tab-content > .tab-pane {
  display: block;
  /* undo "display: none;" */
  visibility: hidden;
  margin-right: -100%;
  width: 100%;
}

.tab-content > .active {
  visibility: visible;
}

.nav-tabs > li > a {
  padding: 5px 20px 5px 20px;
}

#table_macro table.dataTable > thead > tr > th:not(.sorting_disabled),
table.dataTable > thead > tr > td:not(.sorting_disabled) {
  padding-right: 30px;
  padding-top: 0;
}

/* =====*/

.content_table {
  height: 440px;
  width: 100%;
  background-color: #fff;
  padding: 8px 0px;
  position: relative;
}

#modal_left_panel {
  display: none;
  width: 25%;
  min-height: 100vh;
  background-color: #fff;
}

#modal_tabs {
  position: relative;
}
#macro_cat {
  height: 120px;
}

#table_macro {
  height: 120px;
  width: 94%;
}

.modal_cat_edit {
  display: none;
  width: 100%;
  height: 120px;
}

.row_editor {
  display: none;
  width: 100%;
  height: 440px;
  min-height: 100%;
  background-color: #fff;
  padding: 8px 0px;
  position: relative;
  z-index: 888;
  margin-bottom: var(--mg-ud-component);
}
.row_editor_alt {
  display: none;
  width: 100%;
  height: 440px;
  min-height: 100%;
  background-color: #fff;
  padding: 8px 0px;
  position: relative;
  z-index: 888;
  margin-bottom: var(--mg-ud-component);
}

.buttons_fixed {
  position: absolute;
  right: 8px;
  bottom: 8px;
}

.button_fixed button {
  margin-right: 10px;
}

.content_footer {
  padding: 8px 0;
  border: 1px solid #f0f0f0;
  background-color: #fff;
  /* height: 60px; */
}

#myTable tbody td:first-child {
  cursor: move;
}

.close_modal_icon {
  color: var(--red-polaris);
}

.body_modal {
  padding: 1rem;
}

#myTable_filter {
  float: right !important;
}

.descrizione_limited {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 20%;
}

.margine_green {
  color: green;
}

/* cursore move tabella */
#tab_dett_offerta td:first-child {
  cursor: move;
}
/* #tab_dett_offerta td:nth-child(2) {
  cursor: help;
} */

/*ibox modale context */

#modal_context .ibox {
  box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000,
    1px 1px 15px 1px rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.4) !important;
}

.lock-icon {
  font-size: 18px;
  color: #fcfcfc;
  cursor: pointer;
}

.close_icon {
  font-size: 24px;
  color: var(--red-polaris);
  cursor: pointer;
  margin-left: 10px;
}

.ordering-icon {
  font-size: 20px;
}

/* evidenzia nota art tabella dettaglio */
.highlight {
  background-color: var(--bg-page) !important;
}

/* evidenzia riga tabella dettaglio */
.row_highlight {
  background-color: var(--row-highlight-color) !important;
}

.dragged {
  transition: all 0.5s;
  background: var(--blue-polaris) !important;
  color: #fff !important;
}

.dragged-icons {
  color: #fff !important;
}

/* ====================== LEGENDA STATI OFFERTA ================ */

.legend {
  width: 100%;
  margin-left: 20px;
}

.legend_status {
  display: flex;
  /* justify-content: space-around; */
  align-items: center;
}

.legend_item:last-child {
  margin-right: 0;
}

.legend_item {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.legend_item_text {
  font-weight: 580;
}

/* =============================================================== */

/* #################### SPINNER STYLE ########################### */

.spiner-example {
  display: none;
  background-color: rgba(255, 255, 255, 0.7);
  position: fixed;
  left: 0%;
  top: 0%;
  z-index: 99;
  width: 100%;
  height: 100%;
  /* display: flex; */
  /* align-items: center; */
  /* padding-top: 0; */
}

.sk-loading {
  display: block;
  padding-top: 0;
  display: flex;
  align-items: center;
}

/* override colore loader */
.sk-spinner-three-bounce div {
  background-color: var(--blue-polaris);
}

/* ############################################################## */

.preview_container {
  height: 200px;
}

.image_wrapper {
  width: 100%;
  border: 1px dotted slategray;
}

/*bottone modale summernote insert*/
.btn-primary {
  background: var(--blue-polaris) !important;
  border-color: transparent !important;
}

.btn-primary.disabled {
  border-color: transparent !important;
}

.col-no-pad {
  padding-left: 0px;
  padding-right: 0px;
}

.col-custom-pad {
  padding-left: var(--custom-col-plf);
  padding-right: var(--custom-col-plf);
}

/* FILTRO DI RICERCA IN TESTATA */

.form_filter {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.box_ricerca_left {
  display: flex;
  width: 90%;
}

.filtri_cont {
  display: flex;
}

.box_input {
  margin-right: 30px;
}

.box_input:last-child {
  margin-right: 0px;
}

.box_ricerca_right {
  display: flex;
  width: 10%;
}

.buttons_cont {
  flex-direction: row-reverse;
  display: flex;
  width: 100%;
}

.form_filter input {
  height: 34px;
}

.filtri_btn:last-child {
  margin-right: 10px;
}
/* #############################*/

.chosen-container-multi .chosen-choices {
  border-radius: 0 !important;
}

.modal table.dataTable tbody td {
  padding: 5px 10px !important;
  vertical-align: middle;
}

input[type="checkbox" i] {
  background-color: var(--blue-polaris) !important;
  cursor: default;
  appearance: auto;
  box-sizing: border-box;
  margin: 3px 3px 3px 4px;
  padding: initial;
  border: initial;
}

/* create custom checkbox */

/* Customize the label (the container) */
.container_checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container_checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #eee;
  border: 0.2px solid #32475880;
}

/* On mouse-over, add a grey background color */
.container_checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container_checkbox input:checked ~ .checkmark {
  background-color: var(--blue-polaris);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container_checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container_checkbox .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* ====================== */

.table p {
  margin-bottom: 0 !important;
}

.select_macro {
  height: 2.05rem !important;
}

/* ########### SELECT2 OVVERIDE ############## */
.select2-dropdown {
  z-index: 3000 !important;
}

.select2-container .select2-selection--single {
  height: 2.05rem !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 32px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border-color: var(--blue-polaris) !important;
}

.select2-container--default .select2-selection--single {
  border-color: #e5e6e7 !important;
  border-radius: 0px !important;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: var(--blue-polaris) !important;
  color: white;
}

.select2-selection__placeholder {
  color: #676a6c !important;
}

.select2-dropdown,
.select2-search__field {
  border-color: #e5e6e7 !important;
}

.select2-search__field:focus {
  outline: 1px solid var(--blue-polaris) !important;
}

/* ############################################################################## */

/* CHOSEN-SELECT OVERRIDE */

.chosen-container-single .chosen-search input[type="text"] {
  background: none !important;
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.chosen-container-single .chosen-search input[type="text"]:focus {
  outline: 1px solid var(--blue-polaris) !important;
}
/* ##################### */

.btn-action {
  display: inline-block;
  min-width: 82px;
  min-height: 22px;
  line-height: normal;
}