/** DEFINE STYLE **/
body {
  font-family: "DinMedium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #37383b !important;
}
input {
  border-color: #37383b !important;
  color: #37383b !important;
  border: 3px solid #37383b !important;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
  background-color: white;
}

select {
  background: #f7f7f7;
  background-image: -webkit-linear-gradient(
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
  );
  border: 3px solid #37383b;
  padding: 0.625em 0.4375em;
  width: 100%;
  text-transform: uppercase;
}
option {
  text-transform: uppercase;
}
footer {
  margin-top: 25px;
}

button[disabled],
html input[disabled],
html textarea[disabled],
html textarea[readonly] {
  opacity: 1;
  border-color: lightgrey !important;
  background-color: #e8e8e8;
  color: black !important;
}
.label_disabled {
  opacity: 0.5;
}

.d-none-important {
  display: none !important;
}
/******* OVERRIDE JQUERY UI *****************/
a:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
  outline: none;
}
.no-close .ui-dialog-titlebar-close {
  display: none;
}
.no-close .ui-dialog-titlebar {
  display: none;
}
.ui-widget {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 100% !important;
}
.ui-dialog-titlebar-close {
  border: 1px solid #aaaaaa;
  background: #cccccc;
  color: #222222;
  font-weight: bold;
}
.ui-widget input,
.ui-widget textarea,
.ui-widget button {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 100% !important;
  background: white;
  border: 1px solid grey;
  font-weight: normal;
  padding: 8px;
}
.ui-widget input,
.ui-widget textarea,
.ui-widget button:hover {
  background: #73aaff;
  border-color: #73aaff;
  color: white;
}

/***** OVERRIDE 2016 THEME STYLE ********/
.media-router .media-menu-item {
  color: #333 !important;
}
.media-router .media-menu-item:last-child {
  border-right: 0 !important;
}
.media-router .active,
.media-router .media-menu-item.active:last-child {
  border: 1px solid #ddd !important;
  border-bottom: none !important;
}
.wp-core-ui .button,
.wp-core-ui .button-secondary {
  color: #0071a1 !important;
  border: 1px solid #0071a1 !important;
}
.wp-core-ui .button-primary {
  border-color: #007cba !important;
  color: #fff !important;
}

button,
button[disabled]:hover,
button[disabled]:focus,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
  border: 0 !important;
  /*font-family: Montserrat, "Helvetica Neue", sans-serif;*/
  /*font-weight: 700;*/
  /*letter-spacing: 0.046875em;*/
  line-height: 1;
  text-transform: uppercase;

  cursor: pointer;
  color: white !important;
  background-color: #337ab7;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  font-size: 18px;
  border-radius: 2px;
  /*margin-top: 10px;*/
  /*margin-top: 23px;*/
}
button.menu-toggle {
  background-color: transparent;
  border: 1px solid #d1d1d1 !important;
  color: #1a1a1a !important;
  font-size: 13px;
  font-size: 1rem;
  margin: 1.076923077em 0;
  padding: 0.769230769em;
}
.menu-toggle.toggled-on,
.menu-toggle.toggled-on:hover,
.menu-toggle.toggled-on:focus {
  background-color: #1a1a1a;
  border-color: #1a1a1a !important;
  color: #fff !important;
}
.dropdown-toggle {
  background-color: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  color: #1a1a1a !important;
  content: "";
  height: 48px;
  padding: 0;
  position: absolute;
  right: 0;
  text-transform: none;
  top: 0;
  width: 48px;
}
.site-branding {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: 10px;
}
.site-inner {
  max-width: 1600px;
  padding: 0 5px;
}
@media screen and (min-width: 56.875em) {
  .main-navigation ul ul.first_of_menu:before {
    left: 9px;
    right: auto;
  }
  .main-navigation ul ul.first_of_menu:after {
    left: 11px;
    right: auto;
  }
  .main-navigation li:hover > ul.first_of_menu,
  .main-navigation li.focus > ul.first_of_menu {
    left: 0;
    right: auto;
  }
  .main-navigation {
    margin: 0;
  }
}
@media screen and (min-width: 44.375em) {
  body:not(.custom-background-image):before,
  body:not(.custom-background-image):after {
    height: 0;
  }
}
.site-header-menu {
  width: 100%;
}
.site {
  margin: 0;
}
.site-info {
  font-size: 11px;
}
img.sdim_header_logo {
  width: 75px;
}
.site-branding {
  text-align: center;
}
.site-description {
  font-size: 1.1rem;
  color: grey;
}
.site-header {
  /*padding-top:0;*/
  padding: 0;
  padding-bottom: 2.5em;
}
span.sdim_menu_user {
  font-size: 12px;
  margin-right: 5px;
}
a.sdim_menu_user {
  color: #73aaff;
  color: #337ab7;
}
.site-content {
  padding: 0;
}
/****/
/*** stats ***/
.sdim_stats_input_year {
  text-align: center;
  font-size: 34px;
  width: 150px !important;
}
.sdim_stats_year {
  display: inline-block;
  font-size: 24px;
  margin-right: 10px;
}
.sdim_stats_year_input_row {
  text-align: center;
}
.sdim_stats_month_text {
  margin-top: 0px;
}
.sdim_stats_row_year {
  margin-top: 0px;
}
.sdim_stats_row_year_text {
  text-align: right;
}
.sdim_stats_entrate {
  color: green;
}
.sdim_stats_uscite {
  color: red;
}
div.sdim_stats_row_separator {
}
hr.sdim_stats_row_separator {
  width: 30%;
  /* text-align: center; */
  margin-left: 35%;
}
.sdim_stats_row_month_text {
  text-align: right;
}
.sdim_stats_sbm {
  font-size: 14px;
  background-color: #337ab7 !important;
  background: #337ab7 !important;
  border: 0 !important;
  color: white !important;
  cursor: pointer;
}
.sdim_stats_sbm:hover {
  background-color: #73aaff !important;
  background: #73aaff !important;
}
/*****  FINE HOME ******/
.sdim_page_title {
  text-align: center;
  color: #337ab7;
  /* text-decoration: underline; */
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sdim_page_title_red {
  color: red;
}
.sdim_page_title_icon {
  margin-right: 7px;
}
div.sdim-button-cancel a {
  color: inherit;
}
div.sdim-save-row a:hover {
  text-decoration: none;
}

a {
  cursor: pointer;
}

/*** FILETRS***/
.sd_input {
  width: 100%;
}
label {
  font-weight: normal;
}
.sd_input_checkbox {
  text-align: center;
}
.sd_input_checkbox label {
  font-weight: bold;
}
.sdim-list-rows-search-loading {
  font-size: 30px;
  text-align: center;
  margin: 70px 0;
  /*color: lightgrey;*/
  /* color: grey; */
  color: #337ab7;
}
.sdim-filters-main {
  margin-bottom: 20px;
}
.div-filter-toggle {
}
.sdim-filters {
  border: 1px solid lightgrey;
  padding: 10px;
  border-radius: 5px;
}
.sdim_filters_label {
  font-size: 12px;
  margin-top: 5px;
}
.sdim_required:after {
  content: "*";
  color: red;
}
.sdim_small {
  font-size: 70%;
}
ul.pods-files li.pods-file-name {
  display: none;
}
/*** OVERWRITE PODS STYLE ***/

/* START pods field image list*/
ul.pods-dfv-list li.pods-dfv-list-handle span:before {
  content: "\f156";
}
ul.pods-dfv-list li.pods-dfv-list-handle span:before,
ul.pods-dfv-list li.pods-dfv-list-edit a:before,
ul.pods-dfv-list li.pods-dfv-list-link a:before,
ul.pods-dfv-list li.pods-dfv-list-download a:before,
ul.pods-dfv-list li.pods-dfv-list-remove a:before {
  margin: 0 24px 0 -24px;
  font: 400 20px/1 dashicons;
  line-height: 32px;
}
div.galleryHomePage
  form#sdim-form-save
  ul.pods-dfv-list
  li.pods-dfv-list-actions {
  left: 200px;
}
div.galleryHomePage form#sdim-form-save ul.pods-dfv-list li.pods-dfv-list-icon {
  width: 150px;
  height: 150px;
}
div.galleryHomePage form#sdim-form-save ul.pods-dfv-list li.pods-dfv-list-col {
  margin-right: 10px;
}

div.galleryHomePage form#sdim-form-save ul.pods-dfv-list li.pods-dfv-list-name {
  display: block;
  position: absolute;
  left: 200px;
  bottom: 0px;
}
div.galleryHomePage
  form#sdim-form-save
  ul.pods-dfv-list
  li.pods-dfv-list-name
  input[type="text"] {
  opacity: 0.75;
  pointer-events: none;
  border: none !important;
  background-color: transparent;
}
/* END pods field image list*/

.select2-container .select2-choice {
  padding: 10px !important;
  border: 3px solid #37383b !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #37383b !important;
  height: auto !important;
  line-height: inherit !important;
}
.select2-container .select2-choice div {
  background: transparent !important;
  border: 0 !important;
}
.select2-search input {
  border: 1px solid lightgrey !important;
}
.select2-drop {
  border: 3px solid #37383b !important;
  /* border-radius: 0 !important; */
  -webkit-box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
  -moz-box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
  -o-box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
}

.select2-container-multi .select2-choices .select2-search-choice {
  background-color: #efefef !important;
  background: #efefef !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  border: 1px solid #888 !important;
  color: grey !important;
  font-weight: normal !important;
  font-size: 12px !important;
}
.select2-container-multi .select2-choices {
  border: 3px solid #37383b !important;
}
.select2-default {
  color: #37383b !important;
}
.select2-container-multi .select2-choices .select2-search-field input {
  height: auto !important;
  border: 0 !important;
  padding-left: 5px !important;
}

/*
	for wordpress 5.4
*/
.select2-container {
  width: 100% !important;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
  border: 0;
}
.select2-container .select2-selection--multiple {
  padding: 5px 10px !important;
  border: 3px solid #37383b !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #37383b !important;
  height: auto !important;
  line-height: inherit !important;
}
.select2-container--default.select2-container--open.select2-container--above
  .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above
  .select2-selection--multiple {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
.select2-container .select2-search--inline .select2-search__field {
  height: auto !important;
  border: 0 !important;
  padding-left: 5px !important;
}

.select2-dropdown {
  border: 3px solid #37383b !important;
  /* border-radius: 0 !important; */
  -webkit-box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
  -moz-box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
  -o-box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 0px 10px 2px rgba(0, 0, 0, 0.35) !important;
}

.select2-container .select2-selection--single {
  padding: 7px 10px !important;
  border: 3px solid #37383b !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #37383b !important;
  height: auto !important;
  line-height: inherit !important;
}
.select2-container .select2-selection--single .select2-selection__arrow {
  background: transparent !important;
  border: 0 !important;
}

ul.pods-dfv-list,
.pods-dfv-field .pods-pick-values > ul {
  background: #fff;
  margin: 0 0 5px 0;
  padding: 0;
  border-radius: 0;
  border: 1px solid #dfdfdf;
  overflow: hidden;
  max-height: 220px;
  overflow-y: auto;
  border: none;
}
.sdim-save-row ul.pods-dfv-list,
.sdim-question .pods-dfv-field .pods-pick-values > ul {
  background: transparent;
  margin: 0;
}
.galleryHomePage ul.pods-dfv-list,
.galleryHomePage .pods-dfv-field .pods-pick-values > ul {
  max-height: unset;
}
li.pods-dfv-list-item,
.pods-pick-values li.pods-dfv-list-item {
  display: block;
  padding: 6px 5px 6px 10px;
  margin: 0;
  border-bottom: 1px solid #efefef;
}
.sdim-save-row li.pods-dfv-list-item,
.sdim-save-row .pods-pick-values li.pods-dfv-list-item {
  padding: 0;
}
li.pods-dfv-list-item:last-of-type {
  border-bottom: 0;
}
ul.pods-dfv-list-meta {
  display: block;
  overflow: hidden;
  zoom: 1;
  position: relative;
}
ul.pods-dfv-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.pods-dfv-list li.pods-dfv-list-icon {
  width: 80px;
  margin: 0 5px;
  height: 80px;
  font-size: 0;
  line-height: 32px;
  text-align: center;
}
.sdim-save-row ul.pods-dfv-list li.pods-dfv-list-icon {
  width: 40px;
  margin: 0 5px;
  height: 40px;
}
ul.pods-dfv-list li.pods-dfv-list-col {
  float: left;
  margin: 0;
  padding: 0;
}
.media-item .pinkynail {
  float: left;
  margin: 2px 10px 0 3px;
  max-width: 40px;
  max-height: 32px;
}
ul.pods-dfv-list li.pods-dfv-list-icon img {
  display: inline-block;
  vertical-align: middle;
  float: none;
  border-radius: 2px;
  margin: 0;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
}
ul.pods-dfv-list li.pods-dfv-list-name {
  position: absolute;
  left: 80px;
  right: 105px;
  padding: 3px 0;
  line-height: 24px;
  overflow: visible;
  white-space: nowrap;
  display: none;
}
ul.pods-dfv-list li.pods-dfv-list-col {
  float: left;
  margin: 0;
  padding: 0;
}
ul.pods-dfv-list li.pods-dfv-list-name input[type="text"] {
  width: 100% !important;
  font-size: 1em;
  line-height: 1;
  padding: 0.3vh 5px;
  margin: 0;
}
.form-field input[type="email"],
.form-field input[type="number"],
.form-field input[type="password"],
.form-field input[type="search"],
.form-field input[type="tel"],
.form-field input[type="text"],
.form-field input[type="url"],
.form-field textarea {
  border-style: solid;
  border-width: 1px;
  width: 95%;
}
.pods-field input,
.pods-field textarea {
  display: block;
}
.meta-box-sortables input {
  vertical-align: middle;
}
ul.pods-dfv-list li.pods-dfv-list-actions {
  position: absolute;
  top: 0;
  left: 90px;
}
.sdim-save-row ul.pods-dfv-list li.pods-dfv-list-actions {
  left: 50px;
}
.sdim-save-row ul.pods-dfv-list.ui-sortable li.pods-dfv-list-actions {
  left: 75px;
}
ul.pods-dfv-list li.pods-dfv-list-edit,
ul.pods-dfv-list li.pods-dfv-list-link,
ul.pods-dfv-list li.pods-dfv-list-download,
ul.pods-dfv-list li.pods-dfv-list-remove {
  width: 25px;
  height: 32px;
  float: right;
}
ul.pods-dfv-list li.pods-dfv-list-download {
  float: left !important;
}
ul.pods-dfv-list li.pods-dfv-list-download a:before {
  content: "\f316";
}
ul.pods-dfv-list li.pods-dfv-list-col {
  float: left;
  margin: 0;
  padding: 0;
}
ul.pods-dfv-list li.pods-dfv-list-handle span,
ul.pods-dfv-list li.pods-dfv-list-edit a,
ul.pods-dfv-list li.pods-dfv-list-link a,
ul.pods-dfv-list li.pods-dfv-list-download a,
ul.pods-dfv-list li.pods-dfv-list-remove a {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: none;
}

ul.pods-dfv-list li.pods-dfv-list-handle span,
ul.pods-dfv-list li.pods-dfv-list-edit a,
ul.pods-dfv-list li.pods-dfv-list-link a,
ul.pods-dfv-list li.pods-dfv-list-download a,
ul.pods-dfv-list li.pods-dfv-list-remove a {
  display: block;
  width: 25px;
  height: 32px;
  opacity: 0.4;
  text-decoration: none;
  color: #616161;
}
ul.pods-dfv-list li.pods-dfv-list-remove a:before {
  content: "\f158";
}
ul.pods-dfv-list li.pods-dfv-list-handle span:before,
ul.pods-dfv-list li.pods-dfv-list-edit a:before,
ul.pods-dfv-list li.pods-dfv-list-link a:before,
ul.pods-dfv-list li.pods-dfv-list-download a:before,
ul.pods-dfv-list li.pods-dfv-list-remove a:before {
  margin: 0 24px 0 -24px;
  font: 400 20px/1 dashicons;
  line-height: 32px;
}
/*
	fine wordpress 5.4
*/

.pods-form-ui-field-type-select2 {
  width: 100%;
}
ul.pods-files li.pods-file {
  display: block !important;
  padding: 0 !important;
}
li.pods-file-col {
  display: inline-block;
}
ul.pods-files {
  margin: 0 !important;
  border: 0 !important;
  /*display: inline-block;*/
}
ul.pods-file-meta {
  margin: 0;
}
ul.pods-files li.pods-file-delete {
  float: left !important;
  margin-left: 20px !important;
}
.pods-form-ui-field-type-file a {
  padding-bottom: 15px;
}

/* Wordpress 6 fixes*/
.pods-dfv-container-pick input {
  border: none !important;
}

/*****  END PODS STYLE  ****/
.sdim_input_error {
  color: red;
  font-size: 11px;
  font-weight: bold;
}
.sdim_error {
  border: 3px solid red !important;
}
.sdim-invoice-row {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 0 10px 0px;
  background-color: #eee;
  margin: 10px 0px;
}
.sdim-invoice-row #sdim-invoice-subrow {
  background-color: #ddd;
  float: right;
  padding-top: 0;
  padding-bottom: 0;
  border-color: #ccc;
  margin-top: 0;
  margin-bottom: 0;
}
.sdim-save-sinsp-add-answer {
  text-align: right;
  width: auto;
  float: right;
}

.sdim-button-text {
  cursor: pointer;
  display: inline-block;
  color: #337ab7;
  font-weight: bold;
}
.sdim-button-text:hover {
  color: #73aaff;
}
.sdim-button-text-add-row {
  /*display:block;*/
  margin: 20px 40px;
}
.sdim-button-text-add-row-loading {
  color: lightgrey;
  pointer-events: none;
}
.sdim-button-text-add-row-loading:hover {
  color: lightgrey;
}
.sdim-save-row .sdim-icon-spin {
  color: #337ab7;
  font-weight: bold;
  margin-left: 5px;
}
.sdim-save-row ul.pods-files li.pods-file-icon {
  width: 150px;
}
.sdim-list-taxonomy-type-container {
  text-align: center;
  margin-top: 15px;
}
.sdim-list-taxonomy-items-container {
}
.sdim-list-taxonomy-type-container .sdim_page_title_icon {
  margin-right: 0;
  margin-left: 4px;
}

.sdim-invoice-row-delete {
  font-size: 11px;
  cursor: pointer;
  display: inline-block;
  color: grey;
}
.sdim-invoice-row-delete:hover {
  color: #f66;
}

.sdim-invoice-attributeValue-container {
  margin-bottom: 24px;
}
.sdim-invoice-row-actions {
  display: flex;
  flex-grow: 1;
  justify-content: end;
  gap: 8px;
}
.sdim-invoice-row-action {
  font-size: 11px;
  cursor: pointer;
  display: block;
  color: #337ab7;
  padding-left: 8px;
  border-left: 1px solid lightgrey;
}
.sdim-invoice-row-action:first-child {
  border: none;
}
.sdim-invoice-row-action:hover {
  color: #73aaff;
}
.sdim_switcher_row {
  text-align: right;
  margin: 10px 0;
}
.sdim_nice_inputs_container {
  /* margin-top: 14px; */
  font-size: 10px;
}
.sdim_nice_input_row {
  margin-bottom: 10px;
}
.attribute-form-copy-toast {
  position: absolute;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: #ddffdddd;
  top: 18px;
  z-index: 10;
  color: green;
  min-width: 130px;
  text-align: center;
  display: none;
}

.sdim-save-undo-del {
  font-weight: normal;
}
.sdim-save-deleted-text {
  margin: 20px 0;
}
/** save invoices **/
.sdim-save-invoice-row-title {
  font-size: 10px;
}
.sdim-save-invoice-row-title textarea {
  font-size: 12px;
}
.sdim-save-invoice-row-title input {
  font-size: 12px;
}
.sdim-form-row-title {
  padding: 4px 0;
}
/** end save invoices*/
/**  TABLE */
.sdim-table {
}
.sdim-table-row:hover {
  background-color: #eee;
}
.sdim-table-rows {
}
/* ROSSO */
.sdim-table-row-unpayed {
  background-color: #fee;
}
.sdim-table-row-unpayed:hover {
  background-color: #fff8f8;
}
/* GREEN */
.sdim-table-row-tot-zero {
  background-color: #f2c9ff;
}
.sdim-table-row-completed {
  background-color: #afa;
}
.sdim-table-row-completed:hover {
  background-color: #dfd;
}
/* YELLOW */
.sdim-table-row-completed-vat {
  background-color: #ffc;
}
.sdim-table-row-completed-vat:hover {
  background-color: #ffd;
}
/* ARANCIO */
.sdim-table-row-completed-novat {
  background-color: #ffe0bd;
}
.sdim-table-row-completed-novat:hover {
  background-color: #ffead3;
}

/* GREEN */
.sdim-table-row-green {
  background-color: #afa;
}
.sdim-table-row-green:hover {
  background-color: #dfd;
}
/* YELLOW */
.sdim-table-row-yellow {
  background-color: #ffc;
}
.sdim-table-row-yellow:hover {
  background-color: #ffd;
}
/* ARANCIO */
.sdim-table-row-orange {
  background-color: #ffe0bd;
}
.sdim-table-row-orange:hover {
  background-color: #ffead3;
}
/* ROSSO */
.sdim-table-row-red {
  background-color: #fcc;
}
.sdim-table-row-red:hover {
  background-color: #fdd;
}
/* GRIGIO */
.sdim-table-row-grey {
  background-color: #ddd;
}
.sdim-table-row-grey:hover {
  background-color: #e4e4e4;
}
/* PURPLE */
.sdim-table-row-purple {
  background-color: #f2c9ff;
}
.sdim-table-row-purple:hover {
  background-color: #fae8ff;
}
/* BLUE */
.sdim-table-row-blue {
  background-color: #ccf;
}
.sdim-table-row-blue:hover {
  background-color: rgb(230, 230, 255);
}
/* PINK */
.sdim-table-row-pink {
  background-color: #ffd1e8;
}
.sdim-table-row-pink:hover {
  background-color: #ffe3f1;
}
/* CYAN */
.sdim-table-row-cyan {
  background-color: cyan;
}
.sdim-table-row-cyan:hover {
  background-color: rgb(230, 255, 255);
}
/* BROWN */
.sdim-table-row-brown {
  background-color: #dcc29a;
}
.sdim-table-row-brown:hover {
  background-color: #f7e6cb;
}

/* ORDER GENERATED ONLY DDT */
.sdim-table-row-order-ddt-only {
  background-color: #ffc;
}
.sdim-table-row-order-ddt-only:hover {
  background-color: #ffd;
}
/* ORDER GENERATED ONLY INVOICE */
.sdim-table-row-order-invoice-only {
  background-color: #ccf;
}
.sdim-table-row-order-invoice-only:hover {
  background-color: #ddf;
}
/* ORDER GENERATED NONE WORK DATE EXPIRED */
.sdim-table-row-order-workdate-expired {
  background-color: #fcc;
}
.sdim-table-row-order-workdate-expired:hover {
  background-color: #fdd;
}

/*legend*/
.sdim-table-list-header-top {
  border-bottom: 1px solid lightgrey;
  /* border-radius: 5px; */
  margin-top: 10px;
}
.sdim-legend-block {
  display: inline-block;
  margin-right: 10px;
}
.sdim-legend-icon-quad {
  width: 15px;
  height: 15px;
  border: 1px solid grey;
  display: inline-block;
}
.sdim-legend-text {
  color: grey;
  display: inline-block;
  font-weight: normal;
  font-size: 12px;
}

.sdim-table-row {
  padding: 10px;
  border-bottom: 1px solid lightgrey;
  cursor: pointer;
}
.sdim-table-row-header {
  font-weight: bold;
  border-bottom: 2px solid lightgrey;
  padding: 10px;
}
.sdim-table-col {
  font-weight: normal;
  padding: 3px 1px;
}
.sdim-table-col-image {
  padding: 0 10px;
  max-height: 64px;
}

.sdim-shadow-medium {
  box-shadow: 0px 0px 10px 1px #aaa;
  -webkit-box-shadow: 0px 0px 10px 1px #aaa;
  -moz-box-shadow: 0px 0px 10px 1px #aaa;
}

.sdim-shadow-mode1 {
  box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.sdim-button-border {
  float: right;
  border: 1px solid #337ab7;
  border-radius: 4px;
  padding: 5px 10px;
  color: #337ab7;
  cursor: pointer;
}
.sdim-button-border:hover {
  background-color: #337ab7;
  color: white;
}
.sdim-link {
  color: #337ab7;
  cursor: pointer;
}
.sdim-link:hover {
  text-decoration: underline;
}
.sdim-button-save {
  cursor: pointer;
  color: white;
  background-color: #337ab7;
  text-align: center;
  padding: 10px;
  /* font-weight: bold; */
  font-size: 18px;
  border-radius: 2px;
  margin-top: 10px;
  margin-top: 23px;
}
.sdim-button-save:hover {
  background-color: #73aaff;
}
.sdim-button-close-save {
  background-color: #ff0000;
}
.sdim-button-close-save:hover {
  background-color: #ff8888;
}
.sdim-button-save-green,
.sdim_button_close_and_save {
  background-color: #33b77a;
}
.sdim-button-save-green:hover,
.sdim_button_close_and_save:hover {
  background-color: #73dd99;
}

.sdim-button-save-red,
.sdim_button_annul,
.sdim_button_ask_for_new_verification {
  background-color: #ff0000;
}
.sdim-button-save-red:hover,
.sdim_button_annul:hover,
.sdim_button_ask_for_new_verification:hover {
  background-color: #ff8888;
}

.sdim-button-save-brown,
.sdim_button_ask_for_verification {
  background-color: #895643;
}
.sdim-button-save-brown:hover,
.sdim_button_ask_for_verification:hover {
  background-color: #dcc29a;
}

.sdim_button_verification_not_needed {
  background-color: white;
  border: 3px solid grey;
  color: grey;
}
.sdim_button_verification_not_needed:hover {
  background-color: #eee;
}

.sdim-button-save-orange,
.sdim_button_suspend,
.sdim_button_update_materials,
.sdim_button_materials_updated,
.sdim_button_update_cost {
  background-color: #ffb300;
}
.sdim-button-save-orange:hover,
.sdim_button_suspend:hover,
.sdim_button_update_materials:hover,
.sdim_button_materials_updated:hover,
.sdim_button_update_cost:hover {
  background-color: rgb(255, 234, 113);
}

.sdim-button-cancel {
  cursor: pointer;
  color: white;
  background-color: #888;
  text-align: center;
  padding: 10px;
  /* font-weight: bold; */
  font-size: 18px;
  border-radius: 2px;
  margin-top: 23px;
}
.sdim-button-cancel:hover {
  background-color: #bbb;
}
.sdim-save-row {
  margin-bottom: 20px;
  margin-top: 20px;
}

.sdim-save-column {
  margin-bottom: 10px;
  margin-top: 10px;
}

.sdim-loading {
  color: #337ab7;
  font-weight: bold;
  font-size: 18px;
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 2px;
  border: 1px solid #337ab7;
  margin-top: 23px;
}
.sdim-loading .glyphicon-refresh {
  font-weight: bold;
}
.sdim-sbm-loading-text {
  display: inline-block;
  margin-left: 5px;
}
.sdim-save-message {
  text-align: center;
  padding: 5px;
  border: 1px solid #337ab7;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  background-color: #f7f7f7;
  color: #337ab7;
}
.sdim-save-success {
  border-color: lightgreen;
  background-color: #dfd;
  color: green;
}
.sdim-save-error {
  border-color: red;
  background-color: #fdd;
  color: red;
}

.sdim-icon-spin {
  -webkit-animation: spin 1000ms infinite linear;
  animation: spin 1000ms infinite linear;
  display: inline-block;
}

.sdim-list-trash {
  color: grey;
}
.sdim-list-trash:hover {
  color: red;
}

.sdim-list-tools {
  text-align: right;
}
.sdim-list-tools-icon {
  color: grey;
  padding: 0 3px;
}
.sdim-list-tools-icon:hover {
  color: #337ab7;
}

.sdim_show_image {
  font-size: 11px;
  display: inline-block;
  cursor: pointer;
  color: #337ab7;
  margin-left: 10px;
  text-decoration: underline;
}
.sdim_show_image:hover {
  color: #23527c;
}

.sdim_add_type {
  font-size: 11px;
  display: inline-block;
  float: right;
  cursor: pointer;
  color: #337ab7;
}
.sdim_add_type:hover {
  color: #337ab7;
}
.sdim_add_type_input {
  margin-right: 5px;
  margin-bottom: 5px;
  width: 70% !important;
  padding: 1px 5px !important;
}
.sdim_add_type_button {
  display: inline-block;
  cursor: pointer;
  color: white;
  background-color: #337ab7;
  text-align: center;
  border-radius: 2px;
  padding: 2px 10px;
  width: 20%;
}
.sdim_add_type_button:hover {
  color: #73aaff;
}

.sdim_add_type_loading {
  display: inline-block;
  margin-left: 7px;
}

.sdim_add_type_message {
  display: block;
  font-size: 12px;
}

.sdim_fixed_w {
  width: 470px;
}
.sdim_w_100_perc {
  width: 100%;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.sdim-filters-toggle {
  display: inline-block;
}

/** SOPRALLUOGO **/
.sdim-row-selected {
  background-color: #00cc00;
  color: white;
}
.sdim-row-selected:hover {
  background-color: #00dd00 !important;
}

.sdim-site-inspection-row-container {
  border: 1px solid lightgrey;
  background-color: #f4f4f4;
  padding: 10px;
  margin: 10px 0;
}
.sdim-invoice-row-work-type {
  padding: 10px 0;
}
.sdim-work-type-row-title {
  text-align: center;
  color: #337ab7;
  margin-bottom: 10px;
}
.sdim-work-type-row-delete {
  font-size: 11px;
  cursor: pointer;
  display: inline-block;
  color: grey;
  padding: 10px 0;
}
.sdim-work-type-row-delete:hover {
  color: #f66;
}
.sdim-work-type-row-question {
  margin-bottom: 5px;
}
.sdim-work-type-row-reset-question {
  margin-left: 0px;
}
.sdim-work-type-row-answer {
  padding: 5px 10px;
  cursor: default;
}
@media (hover: hover) {
  .sdim-work-type-row-answer:hover {
    background-color: #cfc;
  }
}

.sdim-work-type-row-next {
  background-color: #337ab7;
  color: white;
  /* display: inline-block; */
  padding: 7px 30px;
  border-radius: 5px;
  margin: 10px 0;
  cursor: pointer;
}

.sdim_site_insp_wt_title_input label {
  font-weight: bold;
  cursor: pointer;
  margin-left: 5px;
}
.sdim_site_insp_wt_title_input {
  text-align: center;
  padding: 10px 0 0 0;
}
/*
.sdim_site_insp_wt_title_input_container {
  padding: 10px 0px;
}
*/
.floatRight {
  float: right;
}
.floatLeft {
  float: left;
}
.sdim_multiple_answer_flag_text {
  font-weight: normal;
  font-style: italic;
}

/* DIAGNOSTIC */
.sdim_diagnostic_input_container {
  display: inline-block;
  margin-right: 20px;
}
.sdim_diagnostic_desc {
  font-size: 10px;
  font-weight: normal;
}
.sdim_diagnostic_error {
  color: red;
}
.sdim_diagnostic_success {
  color: green;
}
.sdim_diagnostic_row {
  margin-top: 20px;
}
.sdim_diagnostic_content {
  font-weight: normal;
}
.sdim-linked-doc-items {
  display: inline-block;
  float: right;
}
.sdim-linked-doc-items a {
  margin-top: 10px;
}
.sdim_loadcost_log_date input {
  width: auto;
}
.sdim_loadcost_log_content {
  font-weight: normal;
  font-size: 14px;
}

.sd_checkbox_single_line {
  text-align: left;
}
.sd_checkbox_single_line div {
  display: inline-block;
  margin-right: 10px;
}
.sd_checkbox_single_line input[type="checkbox"] {
  display: inline-block;
  margin-right: 10px;
  width: 20px;
}
.sd_check_order_status_button {
  background-color: #337ab7;
  padding: 5px 7px;
  cursor: pointer;
  color: white;
  font-size: 14px;
  border-radius: 2px;
}
.sd_check_order_status_button:hover {
  background-color: #73aaff;
}
.sd_check_order_status_container {
  font-size: 10px;
  color: #37383b;
}
.sd_check_order_status_row {
  text-decoration: underline;
}
.sd_check_order_status_row:hover {
  font-weight: bold;
}
.sd_check_order_status_row:not(:last-child) {
  margin-bottom: 5px;
}
.sdim_row_returned {
  background-color: #ffd5a9;
}
.sdim_returned_stick {
  position: absolute;
  right: 0;
  padding: 0 5px;
  font-size: 12px;
  background-color: lightgray;
  color: white;
  border-radius: 3px;
}

/* COMMON */
.sd-text-align-center {
  text-align: center;
}
.sdPermissionUnauthorized {
  text-align: center;
  opacity: 0.3;
  color: black;
}
.sdPermissionUnauthorized span {
  font-size: 50px;
}
.sdPermissionUnauthorized img {
  width: 200px;
  margin-bottom: 30px;
}

.formSaveFixedRow {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999999;
  background-color: white;
  right: 0;
  margin: 0;
  border-top: 4px solid lightgrey;
  max-height: 200px;
  overflow-y: scroll;
  box-shadow: 0 0px 16px 0 rgba(5, 5, 5, 0.2);
  -webkit-box-shadow: 0 0px 16px 0 rgba(5, 5, 5, 0.2);
}

.uploadDisabled .pods-dfv-list-actions .pods-dfv-list-remove, 
.uploadDisabled .pods-dfv-list-add{
  display: none;
}

.formAddImageContainer {
  padding-top: 30px;
}

.formAddImageContainer .pods-ui-form {
  position: absolute;
  top: 0;
}

.formAddImageContainer .ui-draggable-handle,
.formAddImageContainer .ui-sortable-handle {
  touch-action: auto;
}
.formAddImageContainer ul.pods-dfv-list li.pods-dfv-list-handle span {
  display: none;
}

.showMoreButton {
  text-align: center;
  margin-bottom: 20px;
}
.showMoreButton span {
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  margin-top: 5px;
  background-color: #337ab7;
  color: white;
  border-radius: 5px;
}

.shimmer {
  background-color: #e8e8e8;
  display: block;
  position: relative;
}
.shimmer:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    #ffffff00 0%,
    #ffffff3f 20%,
    #ffffff8f 60%,
    #ffffff00 100%
  );
  animation: shimmer 1s infinite;
  content: "";
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

select#filter_estimate_status option:after {
  content: " ";
  height: 5px;
  width: 5px;
  background: #c00;
  border-radius: 5px;
  display: inline-block;
}

.sdim_field_disabled select,
.sdim_field_disabled input,
.sdim_field_disabled .select2 {
  opacity: 1;
  border-color: lightgrey !important;
  background-color: #e8e8e8;
  color: black !important;
  pointer-events: none;
}

.sdim_field_disabled textarea {
  opacity: 1;
  border-color: lightgrey !important;
  background-color: #e8e8e8;
  color: black !important;
}

.titleCollapsable {
  cursor: pointer;
  transition: opacity 200ms;
  font-size: 18px;
}

.titleCollapsable:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin-left: 5px;
}

.titleExpanded:after {
  content: "\e113";
}

.titleCollapsed:after {
  content: "\e114";
}

#sdim-invoice-row.sdim-invoice-row-work-type
  > div
  > div
  > .categoryItemContainer.selected
  > div.row
  > div.sdim-list-taxonomy-type-container {
  background-color: #00cc00;
  color: white;
}

@media (hover: hover) {
  .titleExpanded:hover,
  .titleCollapsed:hover {
    opacity: 0.75;
  }
}

/* START DASHBOARD */

.sdDsbBoxContainer {
  color: rgba(0, 0, 0, 0.87);
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  margin: 8px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%),
    0 2px 1px -1px rgb(0 0 0 / 12%);
  padding: 16px 0 0 0;
  max-width: 100%;
}

.sdDsbBoxContainerFixedHeight {
  height: 258px;
}

.sdDsbBoxRow {
  display: flex;
  flex-direction: row;
  padding: 0px 20px 12px 20px;
  font-size: 14px;
}
.sdDsbBoxRow > a > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdDsbBoxRow > a {
  color: inherit;
}

.sdDsbTitle {
  color: #337ab7;
  text-transform: uppercase;
  text-align: center;
  font-size: 18px;
}

.sdDsbTitleSmall {
  text-transform: uppercase;
  text-align: center;
}

.sdDsbCountdownValue {
  text-align: center;
}

.colonAfter {
  position: relative;
}
.colonAfter:after {
  content: ":";
  position: absolute;
  top: 0;
  right: -4px;
}

.slashAfter {
  position: relative;
}
.slashAfter:after {
  content: "/";
  position: absolute;
  top: 0;
  right: -4px;
}

.sdDsbSeparator {
  height: 1px;
  width: 100%;
  background-color: lightgrey;
}

.sdDsbBoxContainerLink {
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.sdDsbBoxContainerLink:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.sdProgressBar {
  background-color: #337ab7;
  height: 10px;
  width: 0%;
  /*transition: width 1s cubic-bezier(0.19, 0.7, 0.52, 0.98);*/
  border-radius: 10px;
  max-width: 100%;
}

.sdProgressBarContainer {
  background-color: #ebebeb;
  border-radius: 10px;
  height: 10px;
  width: 100%;
}

/* END DASHBOARD */

/* utils */
.w-5 {
  width: 5%;
}
.w-10 {
  width: 10%;
}
.w-15 {
  width: 15%;
}
.w-20 {
  width: 20%;
}
.w-25 {
  width: 25%;
}
.w-30 {
  width: 30%;
}
.w-35 {
  width: 35%;
}
.w-40 {
  width: 40%;
}
.w-45 {
  width: 45%;
}
.w-50 {
  width: 50%;
}
.w-75 {
  width: 75%;
}
.w-100 {
  width: 100%;
}

.pb-0 {
  padding-bottom: 0;
}
.pb-1 {
  padding-bottom: 6px;
}
.pb-2 {
  padding-bottom: 12px;
}
.pb-3 {
  padding-bottom: 24px;
}
.pb-4 {
  padding-bottom: 36px;
}
.pb-5 {
  padding-bottom: 72px;
}
.pt-0 {
  padding-top: 0;
}
.pt-1 {
  padding-top: 6px;
}
.pt-2 {
  padding-top: 12px;
}
.pt-3 {
  padding-top: 24px;
}
.pt-4 {
  padding-top: 36px;
}
.pt-5 {
  padding-top: 72px;
}
.pl-0 {
  padding-left: 0;
}
.pl-1 {
  padding-left: 6px;
}
.pl-2 {
  padding-left: 12px;
}
.pl-3 {
  padding-left: 24px;
}
.pl-4 {
  padding-left: 36px;
}
.pl-5 {
  padding-left: 72px;
}
.pr-0 {
  padding-right: 0;
}
.pr-1 {
  padding-right: 6px;
}
.pr-2 {
  padding-right: 12px;
}
.pr-3 {
  padding-right: 24px;
}
.pr-4 {
  padding-right: 36px;
}
.pr-5 {
  padding-right: 72px;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 6px;
}
.mb-2 {
  margin-bottom: 12px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 36px;
}
.mb-5 {
  margin-bottom: 72px;
}
.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 6px;
}
.mt-2 {
  margin-top: 12px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 36px;
}
.mt-5 {
  margin-top: 72px;
}
.ml-0 {
  margin-left: 0;
}
.ml-1 {
  margin-left: 6px;
}
.ml-2 {
  margin-left: 12px;
}
.ml-3 {
  margin-left: 24px;
}
.ml-4 {
  margin-left: 36px;
}
.ml-5 {
  margin-left: 72px;
}
.mr-0 {
  margin-right: 0;
}
.mr-1 {
  margin-right: 6px;
}
.mr-2 {
  margin-right: 12px;
}
.mr-3 {
  margin-right: 24px;
}
.mr-4 {
  margin-right: 36px;
}
.mr-5 {
  margin-right: 72px;
}

.font-weight-bold {
  font-weight: bold;
}
.font-weight-normal {
  font-weight: normal;
}

.font-large {
  font-size: 125%;
}
.font-xlarge {
  font-size: 150%;
}
.font-xxlarge {
  font-size: 200%;
}
.font-small {
  font-size: 75%;
}
.font-xsmall {
  font-size: 62.5%;
}

.color-blue {
  color: #337ab7;
}

.color-red {
  color: red;
}

.background-lightyellow {
  background-color: lightyellow;
}

.hover-text-decoration-none:hover {
  text-decoration: none;
}

.separatorWithTitle {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: white;
  padding: 0 16px;
  transform: translate(-50%, -50%);
  color: grey;
}

dialog.baseDialog .containerDialog {
  padding: 16px;
  flex-direction: column;
  align-items: center;
}

dialog.baseDialog .closeDialog {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 8px;
  color: grey;
  cursor: pointer;
}

dialog.baseDialog .buttonContainerDialog {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}

dialog.baseDialog .buttonContainerDialog button {
  text-transform: none;
  font-weight: normal;
  font-size: 16px;
}

dialog.baseDialog p.titleDialog {
  font-size: 120%;
}
dialog.baseDialog p.textDialog {
  font-weight: normal;
}
