﻿/* 
    Per il caricamento dei font e per gli stili di base si vedano le specifiche 
    in https://daisy.gruppobcciccrea.it/5831bbf64/p/90a247-specifiche-di-sviluppo-e-design/b/32a81c
*/

@charset "UTF-8";

.form-label {
  margin-bottom: 0.5rem;
  font-size: 16px;
  font-weight: 600;
}

.form-control {
  color: var(--bs-body-color);
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.375rem 0.75rem;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-clip: padding-box;
  background-color: var(--bs-body-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .form-control {
    transition: none;
  }
}

.form-control[type=file] {
  overflow: hidden;
}

.form-control[type=file]:not(:disabled):not([readonly]) {
  cursor: pointer;
}

.form-control:focus {
  background-color: var(--bs-body-bg);
  border-color: #80b79a;
  box-shadow: 0 0 0 0.25rem rgba(0, 111, 52, 0.25);
  color: var(--bs-body-color);
  outline: 0;
}

.form-control::-webkit-date-and-time-value {
  height: 1.5em;
  margin: 0;
  min-width: 85px;
}

.form-control::-webkit-datetime-edit {
  display: block;
  padding: 0;
}

.form-control::-moz-placeholder {
  color: var(--bs-secondary-color);
  opacity: 1;
}

.form-control::placeholder {
  color: var(--bs-secondary-color);
  opacity: 1;
}

.form-control:disabled {
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}

.form-control::file-selector-button {
  background-color: var(--bs-tertiary-bg);
  border-color: inherit;
  border-inline-end-width: var(--bs-border-width);
  border-radius: 0;
  border-style: solid;
  border-width: 0;
  color: var(--bs-body-color);
  margin: -0.375rem -0.75rem;
  margin-inline-end: 0.75rem;
  padding: 0.375rem 0.75rem;
  pointer-events: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .form-control::file-selector-button {
    transition: none;
  }
}

.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
  background-color: var(--bs-secondary-bg);
}

textarea.form-control {
  min-height: calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2));
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  color: var(--bs-body-color);
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .form-select {
    transition: none;
  }
}

.form-select:focus {
  border-color: #80b79a;
  box-shadow: 0 0 0 0.25rem rgba(0, 111, 52, 0.25);
  outline: 0;
}

.form-select[multiple],
.form-select[size]:not([size="1"]) {
  background-image: none;
  padding-right: 0.75rem;
}

.form-select:disabled {
  background-color: var(--bs-secondary-bg);
}

.form-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 var(--bs-body-color);
}

.form-check-input {
  --bs-form-check-bg: var(--bs-body-bg);
  flex-shrink: 0;
  height: 1em;
  margin-top: 0.25em;
  vertical-align: top;
  width: 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-form-check-bg);
  background-image: var(--bs-form-check-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: var(--bs-border-width) solid var(--bs-border-color);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.form-check-input[type=checkbox] {
  border-radius: 0.25em;
}

.form-check-input[type=radio] {
  border-radius: 50%;
}

.form-check-input:active {
  filter: brightness(90%);
}

.form-check-input:focus {
  border-color: #80b79a;
  box-shadow: 0 0 0 0.25rem rgba(0, 111, 52, 0.25);
  outline: 0;
}

.form-check-input:checked {
  background-color: #006f34;
  border-color: #006f34;
}

.form-check-input:checked[type=checkbox] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox]:indeterminate {
  background-color: #006f34;
  border-color: #006f34;
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

.form-check-input:disabled {
  filter: none;
  opacity: 0.5;
  pointer-events: none;
}

.form-floating {
  position: relative;
}

.form-floating>.form-control,
.form-floating>.form-select {
  height: calc(3.5rem + calc(var(--bs-border-width) * 2));
  line-height: 1.25;
  min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
}

.form-floating>label {
  border: var(--bs-border-width) solid transparent;
  height: 100%;
  left: 0;
  overflow: hidden;
  padding: 1rem 0.75rem;
  pointer-events: none;
  position: absolute;
  text-align: start;
  text-overflow: ellipsis;
  top: 0;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  white-space: nowrap;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .form-floating>label {
    transition: none;
  }
}

.form-floating>.form-control {
  padding: 1rem 0.75rem;
}

.form-floating>.form-control::-moz-placeholder {
  color: transparent;
}

.form-floating>.form-control::placeholder {
  color: transparent;
}

.form-floating>.form-control:not(:-moz-placeholder-shown) {
  padding-bottom: 0.625rem;
  padding-top: 1.625rem;
}

.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
  padding-bottom: 0.625rem;
  padding-top: 1.625rem;
}

.form-floating>.form-control:-webkit-autofill {
  padding-bottom: 0.625rem;
  padding-top: 1.625rem;
}

.form-floating>.form-select {
  padding-bottom: 0.625rem;
  padding-top: 1.625rem;
}

.form-floating>.form-control:not(:-moz-placeholder-shown)~label {
  color: rgba(var(--bs-body-color-rgb), 0.65);
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
  color: rgba(var(--bs-body-color-rgb), 0.65);
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating>.form-control:not(:-moz-placeholder-shown)~label::after {
  background-color: var(--bs-body-bg);
  border-radius: var(--bs-border-radius);
  content: "";
  height: 1.5em;
  inset: 1rem 0.375rem;
  position: absolute;
  z-index: -1;
}

.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
  background-color: var(--bs-body-bg);
  border-radius: var(--bs-border-radius);
  content: "";
  height: 1.5em;
  inset: 1rem 0.375rem;
  position: absolute;
  z-index: -1;
}

.form-floating>.form-control:-webkit-autofill~label {
  color: rgba(var(--bs-body-color-rgb), 0.65);
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating> :disabled~label,
.form-floating>.form-control:disabled~label {
  color: #6c757d;
}

.form-floating> :disabled~label::after,
.form-floating>.form-control:disabled~label::after {
  background-color: var(--bs-secondary-bg);
}

/* Clears the ‘X’ in input search from Chrome */
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

legend {
  border-bottom: 0;
  color: var(--bcc-nero-digital);
  float: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0;
}

legend .legenda-extra-info {
  display: block;
  font-weight: 400;
}

legend .img-errore {
  display: none;
  height: 1.25rem;
  margin-left: 0.75rem;
  width: 1.1875rem;
}

fieldset {
  padding: 0;
}

fieldset p.msg-errore+div,
fieldset p.msg-errore+button {
  margin-top: 0.75rem;
}

.conErrore:not(.radio-input-cont-esterno, .checkbox-cont-esterno, .gruppo-mixed-state, .mixed-s-g.fly-out-alternative) .form-cont-elm-interno::after {
  display: none;
}

.conErrore .text-input,
.conErrore .textarea,
.conErrore .date-input,
.conErrore .select,
.conErrore .radio-btn,
.conErrore .check-btn,
.conErrore .switch-btn,
.conErrore .file-input {
  border: 1px solid #B3000D;
}

.conErrore input[type=checkbox]:checked~.check-btn {
  border: 1px solid #B3000D;
}

.conErrore .msg-errore {
  display: block;
}

.form-cont-elm {
  position: relative;
}

.form-cont-elm #trovaFilialeButton {
  position: absolute;
  top: 200%;
  right: 0;
}

.form-cont-elm-interno {
  display: table;
  position: relative;
  width: 100%;
}

.form-cont-elm-interno .form-select {
  --bs-form-select-bg-img: none;
}

.form-cont-elm-interno.form-floating {
  display: inline-block;
  margin-top: 2.25rem;
}

.form-cont-elm-interno.form-floating .form-control:-moz-placeholder-shown,
.form-cont-elm-interno.form-floating .form-control:not(:-moz-placeholder-shown) {
  height: 2.5rem;
  line-height: inherit;
  min-height: auto;
  padding: 0 2rem 0 0.75rem;
}

.form-cont-elm-interno.form-floating .form-control:placeholder-shown,
.form-cont-elm-interno.form-floating .form-control:not(:placeholder-shown) {
  height: 2.5rem;
  line-height: inherit;
  min-height: auto;
  padding: 0 2rem 0 0.75rem;
}

.form-cont-elm-interno.form-floating .form-control:-moz-placeholder-shown~label,
.form-cont-elm-interno.form-floating .form-control:not(:-moz-placeholder-shown)~label {
  background-color: transparent;
  height: auto;
  margin: 0;
  padding: 0 2rem 0 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.form-cont-elm-interno.form-floating .form-control:placeholder-shown~label,
.form-cont-elm-interno.form-floating .form-control:not(:placeholder-shown)~label {
  background-color: transparent;
  height: auto;
  margin: 0;
  padding: 0 2rem 0 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.form-cont-elm-interno.form-floating .form-control:-moz-placeholder-shown~label::after,
.form-cont-elm-interno.form-floating .form-control:not(:-moz-placeholder-shown)~label::after {
  content: none;
}

.form-cont-elm-interno.form-floating .form-control:placeholder-shown~label::after,
.form-cont-elm-interno.form-floating .form-control:not(:placeholder-shown)~label::after {
  content: none;
}

.form-cont-elm-interno.form-floating .form-control:-moz-placeholder-shown:focus~label,
.form-cont-elm-interno.form-floating .form-control:-moz-placeholder-shown:focus-visible~label {
  background-color: transparent;
  color: var(--bcc-nero-digital);
  height: auto;
  transform: scale(1) translateY(-3.5rem) translateX(-0.75rem);
}

.form-cont-elm-interno.form-floating .form-control:placeholder-shown:focus~label,
.form-cont-elm-interno.form-floating .form-control:placeholder-shown:focus-visible~label {
  background-color: transparent;
  color: var(--bcc-nero-digital);
  height: auto;
  transform: scale(1) translateY(-3.5rem) translateX(-0.75rem);
}

.form-cont-elm-interno.form-floating .form-control:-moz-placeholder-shown:focus~label::after,
.form-cont-elm-interno.form-floating .form-control:-moz-placeholder-shown:focus-visible~label::after {
  content: none;
}

.form-cont-elm-interno.form-floating .form-control:placeholder-shown:focus~label::after,
.form-cont-elm-interno.form-floating .form-control:placeholder-shown:focus-visible~label::after {
  content: none;
}

.form-cont-elm-interno.form-floating .form-control:not(:-moz-placeholder-shown)~label {
  background-color: transparent;
  color: var(--bcc-nero-digital);
  height: auto;
  transform: scale(1) translateY(-3.5rem) translateX(-0.75rem);
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.form-cont-elm-interno.form-floating .form-control:not(:placeholder-shown)~label {
  background-color: transparent;
  color: var(--bcc-nero-digital);
  height: auto;
  transform: scale(1) translateY(-3.5rem) translateX(-0.75rem);
  transition: all 0.3s;
}

.form-cont-elm-interno.form-floating .form-control:not(:-moz-placeholder-shown)~label::after {
  content: none;
}

.form-cont-elm-interno.form-floating .form-control:not(:placeholder-shown)~label::after {
  content: none;
}

.form-cont-elm {
  display: block;
  margin: 0 0 3rem 0;
  position: relative;
}

.form-cont-elm.mixed-state {
  margin-bottom: 0;
}

.form-cont-elm .form-label {
  color: var(--bcc-nero-digital);
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.text-input,
.textarea,
.date-input,
.select,
.file-input {
  background-color: var(--bcc-bianco);
  border: 1px solid var(--bcc-rovere-digital);
  border-radius: 2px;
  box-shadow: none;
  color: var(--bcc-nero-digital);
  font-size: 1rem;
  font-weight: 400;
  height: 2.5rem;
  outline: 0;
  padding: 0 2rem 0 0.75rem;
  transition: background-color 0.3s;
  width: 100%;
}

.text-input::-moz-placeholder,
.textarea::-moz-placeholder,
.date-input::-moz-placeholder,
.select::-moz-placeholder,
.file-input::-moz-placeholder {
  color: var(--bcc-nero-digital);
  font-weight: 400;
  opacity: 1;
}

.text-input::-moz-placeholder,
.text-input::placeholder,
.textarea::-moz-placeholder,
.textarea::placeholder,
.date-input::-moz-placeholder,
.date-input::placeholder,
.select::-moz-placeholder,
.select::placeholder,
.file-input::-moz-placeholder,
.file-input::placeholder {
  color: var(--bcc-nero-digital);
  font-weight: 400;
  opacity: 1;
}

.text-input:focus,
.text-input:hover,
.textarea:focus,
.textarea:hover,
.date-input:focus,
.date-input:hover,
.select:focus,
.select:hover,
.file-input:focus,
.file-input:hover {
  background-color: var(--bcc-verde-form);
  border: 3px solid var(--bcc-verde-scuro);
  box-shadow: none !important;
}

.text-input:focus~.clear-input,
.text-input:hover~.clear-input,
.textarea:focus~.clear-input,
.textarea:hover~.clear-input,
.date-input:focus~.clear-input,
.date-input:hover~.clear-input,
.select:focus~.clear-input,
.select:hover~.clear-input,
.file-input:focus~.clear-input,
.file-input:hover~.clear-input {
  display: block;
}

.text-input:disabled,
.textarea:disabled,
.date-input:disabled,
.select:disabled,
.file-input:disabled {
  background: var(--bcc-argento-digital) no-repeat right 10px top 50%;
  border: 1px solid transparent;
  color: var(--bcc-nero-digital);
  font-style: italic;
}

.text-input:disabled~.clear-input,
.text-input:disabled~button,
.textarea:disabled~.clear-input,
.textarea:disabled~button,
.date-input:disabled~.clear-input,
.date-input:disabled~button,
.select:disabled~.clear-input,
.select:disabled~button,
.file-input:disabled~.clear-input,
.file-input:disabled~button {
  display: none;
}

.text-input:disabled::placeholder,
.text-input:disabled::-ms-input-placeholder,
.textarea:disabled::placeholder,
.textarea:disabled::-ms-input-placeholder,
.date-input:disabled::placeholder,
.date-input:disabled::-ms-input-placeholder,
.select:disabled::placeholder,
.select:disabled::-ms-input-placeholder,
.file-input:disabled::placeholder,
.file-input:disabled::-ms-input-placeholder {
  color: var(--bcc-nero-digital);
}

.text-input:disabled:hover,
.textarea:disabled:hover,
.date-input:disabled:hover,
.select:disabled:hover,
.file-input:disabled:hover {
  cursor: not-allowed;
}

.text-input:-moz-placeholder-shown~.clear-input,
.textarea:-moz-placeholder-shown~.clear-input {
  display: none;
}

.text-input:placeholder-shown~.clear-input,
.textarea:placeholder-shown~.clear-input {
  display: none;
}

.conErrore .geolocation-input {
  border-right: 2.5rem solid transparent;
}

.geolocation-input {
  border-right: 2.5rem solid transparent;
  display: inline-block;
  padding-right: 0.625rem;
}

.geolocation-input:focus,
.geolocation-input:hover {
  border-right: 2.5rem solid var(--bcc-verde-scuro);
}

.geolocation-input:focus+.geolocation-btn,
.geolocation-input:hover+.geolocation-btn {
  bottom: 0.125rem;
  height: 2.25rem;
}

.geolocation-input:focus+.geolocation-btn:focus,
.geolocation-input:focus+.geolocation-btn:hover,
.geolocation-input:hover+.geolocation-btn:focus,
.geolocation-input:hover+.geolocation-btn:hover {
  background-position: left 7px center;
  bottom: 0;
  height: 2.5rem;
  right: 0;
  width: 2.625rem;
}

.geolocation-btn {
  background: url(https://static.publisher.iccrea.bcc.it/archivio/648/184631.svg) no-repeat center center;
  background-color: var(--bcc-bianco);
  background-size: 1.25rem 1.25rem;
  border: 0.063rem solid var(--bcc-verde-medio);
  border-radius: 2px;
  bottom: 0;
  color: var(--bcc-verde-scuro);
  display: inline-block;
  font-size: 0;
  font-weight: 700;
  height: 2.5rem;
  padding: 0;
  position: absolute;
  right: 0.125rem;
  transition: background-color 0.3s;
  width: 2.5rem;
}

.geolocation-btn:focus,
.geolocation-btn:hover {
  background-color: var(--bcc-argento-digital);
  border: 0.188rem solid var(--bcc-verde-scuro);
  outline: 0;
}

.textarea {
  height: 9.375rem;
  padding: 0.75rem;
}

.textarea:focus:not(:disabled),
.textarea:focus-visible:not(:disabled),
.textarea:hover:not(:disabled) {
  padding-top: 0.625rem;
}

.date-input {
  padding: 0 0.75rem;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.date-input:not(:disabled):hover {
  cursor: text;
}

.select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 2.5rem 0 0.75rem;
}

.select:hover~span,
.select:focus~span {
  background-image: url(https://static.publisher.iccrea.bcc.it/archivio/648/178803.svg);
}

.select:focus~span {
  transform: rotate(180deg);
}

.select:disabled {
  opacity: 1;
}

.select:disabled:hover {
  background-color: var(--bcc-argento-digital);
  border: 1px solid transparent;
}

.select:disabled~span {
  background-image: url(https://static.publisher.iccrea.bcc.it/archivio/648/178802.svg);
}

.select:not(:disabled):hover {
  cursor: pointer;
}

.select~span {
  background-image: url(https://static.publisher.iccrea.bcc.it/archivio/648/178801.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 0.875rem;
  pointer-events: none;
  position: absolute;
  right: 0.9375rem;
  top: 0.875rem;
  transition: background-image 0.3s, transform 0.3s;
  width: 0.875rem;
}

.file-input {
  padding-left: 0;
  padding-right: 0.625rem;
  transition: margin 0.3s;
}

.file-input:focus,
.file-input:hover {
  outline: 0;
  padding-left: 0;
}

.file-input:focus::file-selector-button,
.file-input:hover::file-selector-button {
  margin: -2px 4px 0 -2px;
}

.file-input:disabled {
  padding-left: 0;
}

.file-input:disabled::file-selector-button {
  background-color: var(--bcc-argento-digital) !important;
  background-image: none;
  color: var(--bcc-nero-digital);
  font-weight: 400;
  margin: 0 4px 0 0;
}

.file-input::file-selector-button {
  background-color: var(--bcc-verde-medio);
  background-image: linear-gradient(270deg, var(--bcc-verde-b2b) 0%, var(--bcc-verde-medio) 100%);
  border: 0;
  border-radius: 0%;
  border-right: 1px solid var(--bcc-rovere-digital);
  color: var(--bcc-bianco);
  font-size: 1rem;
  font-weight: 700;
  height: 2.5rem;
  text-decoration: none;
}

.file-input:not(:disabled):hover {
  cursor: pointer;
}

.file-input:not(:disabled):hover::file-selector-button {
  cursor: pointer;
}

input[type=radio],
input[type=checkbox] {
  float: left;
  height: 1.625rem;
  margin: 0;
  min-width: auto;
  opacity: 0;
  position: relative;
  width: 1.625rem;
  z-index: 1;
}

input[type=radio]:focus~.radio-btn,
input[type=radio]:focus~.check-btn,
input[type=radio]:hover~.radio-btn,
input[type=radio]:hover~.check-btn,
input[type=checkbox]:focus~.radio-btn,
input[type=checkbox]:focus~.check-btn,
input[type=checkbox]:hover~.radio-btn,
input[type=checkbox]:hover~.check-btn {
  background-color: var(--bcc-verde-form);
  border: 3px solid var(--bcc-verde-scuro);
}

input[type=radio]:not(:disabled):hover,
input[type=checkbox]:not(:disabled):hover {
  cursor: pointer;
}

input[type=radio]:not(:disabled)~.form-label,
input[type=checkbox]:not(:disabled)~.form-label {
  cursor: pointer;
}

input[type=radio]:disabled,
input[type=checkbox]:disabled {
  cursor: not-allowed;
}

input[type=radio]:disabled~.radio-btn,
input[type=radio]:disabled~.check-btn,
input[type=checkbox]:disabled~.radio-btn,
input[type=checkbox]:disabled~.check-btn {
  background-color: var(--bcc-grigio);
  border: 1px solid var(--bcc-grigio);
}

input[type=radio]:disabled~.form-label,
input[type=checkbox]:disabled~.form-label {
  color: var(--bcc-rovere-digital);
  font-style: italic;
}

input[type=radio]:checked~.radio-btn::before {
  background-color: var(--bcc-verde-medio);
  border: 1px solid var(--bcc-verde-medio);
  border-radius: 100%;
  content: "";
  display: block;
  height: 0.9375rem;
  left: 0.25rem;
  position: relative;
  top: 0.25rem;
  transition: background-color 0.3s, border 0.3s;
  width: 0.9375rem;
}

input[type=radio]:checked:focus~.radio-btn::before,
input[type=radio]:checked:hover~.radio-btn::before {
  background-color: var(--bcc-verde-scuro);
  border: 3px solid var(--bcc-verde-scuro);
}

input[type=radio]:checked:disabled~.radio-btn {
  background-color: var(--bcc-bianco);
  border: 1px solid var(--bcc-rovere-digital);
}

input[type=radio]:checked:disabled~.radio-btn::before {
  background-color: var(--bcc-verde-medio);
  border: 1px solid var(--bcc-verde-medio);
  opacity: 60%;
}

input[type=radio]:checked:disabled~.form-label {
  color: var(--bcc-nero-digital);
}

input[type=checkbox]:checked:focus~.check-btn,
input[type=checkbox]:checked:hover~.check-btn {
  background-color: var(--bcc-verde-scuro);
  border: 1px solid var(--bcc-verde-scuro);
}

input[type=checkbox]:checked~.check-btn {
  background-color: var(--bcc-verde-medio);
  border: 1px solid var(--bcc-verde-medio);
}

input[type=checkbox]:checked~.check-btn::before {
  background-image: url(https://static.publisher.iccrea.bcc.it/archivio/648/178798.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  display: block;
  height: 1.063rem;
  left: 0.25rem;
  position: relative;
  top: 0.25rem;
  width: 1.063rem;
}

input[type=checkbox]:checked:disabled~.check-btn {
  background-color: var(--bcc-grigio);
  border: 1px solid var(--bcc-grigio);
}

input[type=checkbox]:checked:disabled~.form-label {
  color: var(--bcc-nero-digital);
}

.gruppo-mixed-state-seleziona-tutto {
  color: var(--bcc-nero-digital);
  display: table-cell;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 0.625rem;
  outline: none;
  padding-left: 2.1875rem;
}

.gruppo-mixed-state-seleziona-tutto:focus::before,
.gruppo-mixed-state-seleziona-tutto:hover::before {
  background-color: var(--bcc-verde-form);
  border: 3px solid var(--bcc-verde-scuro);
}

.gruppo-mixed-state-seleziona-tutto:not(.disabled):hover {
  cursor: pointer;
}

.gruppo-mixed-state-seleziona-tutto::before {
  background-color: var(--bcc-bianco);
  background-image: none;
  border: 1px solid var(--bcc-rovere-digital);
  content: "";
  display: table-cell;
  height: 1.5625rem;
  left: 0;
  position: absolute;
  top: -0.1875rem;
  transition: background-color 0.3s, background-image 0.3s;
  width: 1.5625rem;
  z-index: -1;
}

.gruppo-mixed-state-seleziona-tutto.disabled {
  color: var(--bcc-rovere-digital);
}

.gruppo-mixed-state-seleziona-tutto.disabled::before {
  background-color: var(--bcc-grigio);
  border: none;
}


@media (min-width: 576px) {

  .text-input,
  .textarea,
  .date-input,
  .select,
  .file-input {
    width: 18.75rem;
  }

  .form-cont-elm {
    display: inline-block;
    /* margin-right: 3rem;*/
  }

  .form-cont-elm #trovaFilialeButton {
    position: absolute;
    top: -5px;
    right: -200px;
  }

  .conErrore:not(.radio-input-cont-esterno, .checkbox-cont-esterno, .gruppo-mixed-state, .mixed-s-g.fly-out-alternative) .form-cont-elm-interno::after {
    background: url(https://static.publisher.iccrea.bcc.it/archivio/648/178799.svg) no-repeat right 0 top 0;
    background-size: cover;
    content: "";
    display: block;
    height: 1.25rem;
    position: absolute;
    right: -1.938rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.188rem;
  }

  .conErrore .img-errore {
    display: inline-block;
  }
}

@media (min-width: 768px) {
  .conErrore .geolocation-input {
    border-right-width: 8.563rem;
  }

  .geolocation-input {
    background-size: 1.25rem 1.25rem;
    border-right-width: 8.563rem;
    width: 24rem;
  }

  .geolocation-input:focus,
  .geolocation-input:hover {
    border-right-width: 0.54rem;
  }

  .geolocation-input:focus+.geolocation-btn,
  .geolocation-input:hover+.geolocation-btn {
    width: 8.438rem;
  }

  .geolocation-input:focus+.geolocation-btn:focus,
  .geolocation-input:focus+.geolocation-btn:hover,
  .geolocation-input:hover+.geolocation-btn:focus,
  .geolocation-input:hover+.geolocation-btn:hover {
    background-position: left 0.563rem center;
    width: 8.688rem;
  }

  .geolocation-btn {
    background-position: left 0.563rem center;
    font-size: 0.875rem;
    /*padding-left: 2.5rem;*/
    padding-left: 1.9rem;
    width: 8.438rem;
  }

  .geolocation-btn:focus,
  .geolocation-btn:hover {
    background-position: left 0.438rem center;
  }

  .radio-input-cont-esterno .input-inline .form-cont-elm,
  .checkbox-cont-esterno .input-inline .form-cont-elm {
    display: inline-block;
  }
}

@media (min-width: 900px) {
  .geolocation-input {
    width: 35rem;
  }
}