.woocommerce-MyAccount-navigation-link--note-spese a{
  background-color: #435c7c !important;
  color: #fff !important;
}

.file_container {
	padding: 10px;
	border: 1px solid #eee;
	overflow-x: scroll;
}

.file_container .files {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 10px;
  margin-bottom: 20px;
}

.file_container .files .single_file {
	display: flex;
	flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 150px;
  background-color: #f4f4f4;
}

.file_container .files .single_file img{
  width: 150px;
  height: 150px;
  object-fit: none;
  object-position: top;
}

.file_container::-webkit-scrollbar {
    width: 1em;
}

.file_container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.file_container::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.nota_spesa_delete {
  background-color: #ff8d8d;
  color: #fff;
  text-align: center;
  cursor: pointer;
  margin-top: auto;
}

.single_file > div {
  padding: 0 5px;
}

h3.nota_spesa_titolo {
  margin-bottom: 5px;
}

.nota_spesa_turno {
  width: 100%;
  text-align: center;
  color: #ed1c24;
  font-weight: 600;
  margin-bottom: 5px;
}

.pw_delete_nota_spesa:hover{
  color: #ed1c24;
  cursor: pointer;
}

#lista_corsi_note_spese i {
  font-size: 25px;
  margin-left: 20px;
}

.pw_nota_error_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pw_nota_error_container button {
  margin: 20px 0;
  flex: 1;
}

.pw_nota_error {
  color: #ed1c24;
  padding: 10px;
  font-weight: 600;
  text-decoration: underline;
}

.file_container_confirm .single_file {
  display: flex;
  align-items: center;
  height: 170px;
  padding: 10px 0;border-bottom: 2px solid #eee;
}

.file_container_confirm .nota_img .file_preview img {
  height: 150px;
  width: 150px;
}

label.nota_spesa_nota_label {
  width: 100%;
}

.buttons_container {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  width: 100%;
}

.nota_info{
  text-align: center;
}

.nota_info > span {
  margin: 0 5px;
}

.nota_info span.volontario {
  font-weight: 600;
}

.input_stato_nota_spesa {
  margin: 20px 0;
  text-align: center;
}

.input_stato_nota_spesa #stato_nota_spesa {
  display: block;
  margin: auto;
}

p.nota_revisore_label {
  font-weight: 600;
}

.salva_iban > p {
  font-weight: 600;
}

.salva_iban label {
  display: block;
}

.salva_iban > p, .salva_iban > div, .salva_iban > button {
  margin: 15px 0;
  width: 100%;
}

.salva_iban input {
  width: 100%;
}

button#btn_stampa_nota {
  float: right;
  padding: 5px 15px;
}

form.switch_storico {
    margin: 20px 0;
    float: right;
}

.nuovo_file_container h4 {
  text-align: center !important;
  border-bottom: 1px solid #435c7c;
  margin: 0 !important;
  padding: 10px 0;
  background-color: #d9d9d9;
}

.nuovo_file_container div#caldera_form_1 {
  padding: 15px;
}

.caldera_forms_form input {
  width: 100%;
  max-width: unset !important;
}

.single_file .btn-action button {
  padding: 5px;
  min-width: 100px;
}

.single_file .btn-action.stato-attuale-1 button {
  background-color: #ff8d8d;
  border-color: #ff8d8d;
}

.single_file .btn-action.stato-attuale-0 button {
  background-color: #008018;
  border-color: #008018;
}

.single_file .file_stato.stato-0 {
    background-color: #ff8d8d75;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    text-align: center;
    padding: 10px 0;
}

.file_container .disclaimer {
  padding: 15px 10px;
  background-color: #435c7c;
  color: #fff;
  margin-bottom: 15px;
}

.nota_titoletto {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    margin: 30px 0;
    display: none;
}


/* START LAYOUT DI STAMPA*/
@media print {
  div[data-elementor-type='section'],
  div[data-elementor-type='footer'],
  .woocommerce-MyAccount-navigation, header,
  [class*='astra-advanced-hook-'],
  #btn_stampa_nota,
  h3,
  .input_stato_nota_spesa label,
  .pw_nota_error_container label,
  #ui-datepicker-div, /* PWS#102-2 */
  .input_importo_approvato,
  .data_pagamento { /* PWS#102-2 PWS #110 */
    display: none;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
  }

  .woocommerce, div#primary {
    margin: 0 !important;
  }

  .buttons_container{
    display: none;
  }

  @page{
    size:  auto;   /* auto is the initial value */
    margin: 0mm;  /* this affects the margin in the printer settings */
  }

  .single_file .btn-action button{
  	-webkit-print-color-adjust: exact;
  	width:50px;
  	height:50px;
  	font-size:0;
  }

  .single_file .btn-action.stato-attuale-0 button {
    color: #ff8d8d;
	  background-color: #ff8d8d;
    border-color: #ff8d8d;
  }

  .single_file .btn-action.stato-attuale-1 button {
    color: #008018;
	  background-color: #008018;
    border-color: #008018;
  }

  .pw_nota_error_container .nota_spesa_nota,
	.input_stato_nota_spesa #stato_nota_spesa{
		border:0;
		outline:0;
		-webkit-appearance: none;
	  -moz-appearance: none;
    margin:0;
		resize:none;
	}

	.show_print{
		display:block;
	}
}
/* END LAYOUT DI STAMPA */

/* START PWS#102-importo */
.importo_approvato {
  padding: 10px;
  text-align: center;
}

.importo_approvato .importo_value{
  font-weight:600;
}
/* END PWS#102-import */

/* Customize the label (the container) */
.check_container {
  display: flex;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  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 */
.check_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.check_container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.check_container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.check_container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.check_container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.check_container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nota_spesa_container .caldera-grid .btn.btn-default[type="submit"]{
  background-color: rgb(224 163 32/var(--tw-bg-opacity,1));
}