/* COMMON */
body {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}

main {
  display: flex;
  flex: 1;
}

.container {
  max-width: 1640px;
  margin: 0 auto;
}

.container-appointment {
  min-height: calc(100vh - 200px);
}

.w-50 {
  width: calc(50% - 10px);
}

.funnel-header {
  border-bottom: 1px solid #17417f;
}

.banner .icon img {
  min-width: 55px;
}

.container h2,
.container .small-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.container .intro-titles-wrapper p {
  color: #0d9ddb;
  font-weight: normal;
  margin-top: 0;
  font-size: 16px;
}

.container h3 {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
}

.container #supply-data-form h4,
.container #consent-data-form h4 {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

.container.docusign-wrapper {
  padding: 30px;
}

.container.docusign-wrapper h1 {
  margin: 24px 0;
  font-size: 24px;
}

.page-template-page-docusign .banner .container,
.page-template-page-docusign-with-offer .banner .container {
  max-width: 70%;
  margin-left: 0;
}

body:has(#wpadminbar) .funnel-header {
  margin-top: 32px;
}

.footer-wrapper {
  background-color: #17417f;
  color: #fff;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-wrapper>.container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-wrapper .logo {
  height: 32px;
}

.footer-wrapper .right-footer-wrapper {
  display: flex;
  gap: 32px;
}

.footer-wrapper .text>* {
  margin: 0;
  font-size: 12px;
}

.footer-wrapper .info-wrapper>* {
  margin: 0;
  font-size: 12px;
}

.footer-wrapper .policy-wrapper>* {
  margin: 0;
  font-size: 12px;
}

.footer-wrapper .links-wrapper {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.footer-wrapper .links-wrapper a {
  text-decoration: none;
}

.footer-wrapper .links-wrapper a img {
  height: 32.7381px;
  max-width: 110px;
}

.footer-wrapper .social-and-policy-wrapper a {
  color: #fff;
  text-decoration: none;
}

.footer-wrapper .socials-wrapper {
  gap: 8px;
  margin-bottom: 28px;
}

.footer-wrapper .socials-wrapper a {
  background: #fff;
  border-radius: 45%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-wrapper .socials-wrapper svg:not(.instagram-link svg) {
  fill: #17417f;
}

.footer-wrapper .socials-wrapper svg {
  width: 20px;
  height: 20px;
}

.footer-wrapper .socials-wrapper .facebook-link svg {
  border-radius: 50%;
}

.footer-wrapper .socials-wrapper .instagram-link svg {
  stroke: #17417f;
}

.footer-wrapper .socials-wrapper .linkedi-link svg {
  border-radius: 16px;
}

.btn {
  height: 50px;
  border-radius: 25px;
  padding: 0 50px;
  font-weight: bold;
  border-width: 2px;
  display: flex;
  align-items: center;
}

.btn-primary {
  background-color: #17417f;
  border-color: #17417f;
}

.btn-primary:hover {
  background-color: #0d9ddb;
  border-color: #0d9ddb;
}

.btn-back-form,
.btn-back {
  background-color: white;
  color: #17417f;
}

.btn-save-form,
.btn-resend-code {
  background-color: white !important;
  color: #0d9ddb !important;
  text-transform: none !important;
}

.message-request-new-code-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-request-new-code {
  padding: 0;
  color: #0d9ddb;
  background-color: white;
  text-decoration: underline;
}

.btn-request-new-code:focus:not(:focus-visible) {
  background-color: white;
  text-decoration: underline !important;
}

.btn-request-new-code:hover {
  color: #17417f;
  background-color: white;
  text-decoration: underline !important;
}

.btn-save-form,
.btn-request-new-code {
  border: none;
}

.btn-resend-code:hover {
  text-decoration: underline;
}

.btn:disabled {
  background-color: #898989;
  border: none;
  opacity: 0.5;
}

.wrapper-circular-progress {
  display: none;
}

/* FORM */
.form-group {
  position: relative;
}

.shift-label {
  position: absolute;
  left: 26px;
  top: 12px;
  font-size: 14px;
  color: #1d4289;
  font-weight: 400 !important;
  z-index: 1;
  background: #fff;
  padding: 0 4px;
  transition: 0.3s ease-in-out;
  cursor: text;
}

label[for="type_of_use"] {
  position: absolute;
  left: 26px;
  top: -10px;
  font-size: 12px;
  color: #1d4289;
  font-weight: 400 !important;
  z-index: 99;
  background: #fff;
  padding: 0 4px;
  transition: 0.3s ease-in-out;
  cursor: text;
}

label[for="inputAddressSupplyNumberForm"].shift-label,
label[for="inputAddressResidenceNumberForm"].shift-label {
  left: 12px;
}

label[for="inputPhoneForm"].shift-label {
  position: absolute;
  left: 80px;
}

input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]),
input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]):not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"])::selection,
input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]):focus,
input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]):not(:placeholder-shown) {
  z-index: 0;
  background-color: #fff;
  background: transparent;
}

input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]):-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #1d4289;
}

input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]):-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]):focus+label,
input:not(input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  input[type="date"]):not(:placeholder-shown)+label {
  position: absolute;
  top: -10px;
  font-size: 12px;
}

#inputPhoneForm:focus+label,
#inputPhoneForm:not(:placeholder-shown)+label,
.date-label {
  position: absolute;
  top: -10px;
  left: 26px;
  font-size: 12px;
}

.date-label {
  background: #fff;
  padding: 0 4px;
  font-weight: 400 !important;
}

label {
  font-weight: normal;
  font-size: 14px;
}

.form-control:focus {
  color: #17417f;
}

input[type="radio"] {
  width: 18px;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(var(--wdtBorderColorRgb), 1);
  border-radius: 50%;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background-color: #0d9ddb;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

input[type="radio"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

input[type="checkbox"] {
  min-width: 23px;
  height: 23px;
  border: 1px solid rgba(var(--wdtBorderColorRgb), 1);
}

.privacy-fieldset:has(#offerConditions.is-invalid) .offer-conditions,
.privacy-fieldset:has(#offerClauses.is-invalid) .offer-clauses,
.privacy-fieldset:has(#privacyConsent.is-invalid) .consent-privacy {
  display: block;
}

input[type="text"] {
  text-overflow: ellipsis;
  font-size: 14px;
}

input[type="tel"],
input[type="email"],
input[type="file"],
input[type="date"] {
  font-size: 14px;
}

input[type="checkbox"]:checked:before {
  width: 20px;
  height: 20px;
}

.custom-radio {
  display: inline-flex;
  align-items: center;
}

.custom-radio label {
  padding-left: 10px;
  margin-right: 40px;
}

.input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.input-container .form-group {
  margin-bottom: 20px;
}

.native-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
}

select {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  text-overflow: ellipsis;
  line-height: 1;
}

.custom-select {
  position: relative;
}

.custom-select label {
  display: inline-block;
  text-align: left;
  font-size: 14px;
}

.custom-select button,
.custom-select ul {
  background: white;
  border: 0;
  font-size: 14px;
  width: 100%;
}

.custom-select ul li span {
  display: flex;
  max-width: 80%;
}

.custom-select button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border: 1px solid #d9d9d9 !important;
  background: white;
  border-radius: 40px;
  z-index: 3;
  padding: var(--wdtInputPadding);
  font-weight: 400;
}

.select-list-container {
  left: 20px;
  width: 100%;
  height: 100%;
  height: auto;
  position: absolute;
  max-width: calc(100% - 40px);
  background-color: white;
  z-index: 9999;
}

.types-list .select-list-container {
  left: 30px;
  max-width: calc(100% - 66px);
}

/* .custom-select button[aria-expanded="true"] {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
} */

.custom-select button:hover {
  transition: none;
  background-color: white;
  color: #112b55;
}

.custom-select button:hover:before {
  color: #112b55;
}

.custom-select.types-list button:hover {
  border-color: #d9d9d9;
  color: #112b55;
}

.custom-select ul.active {
  border-top: transparent;
}

.custom-select ul li:hover {
  color: #112b55;
}

.custom-select button::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0d7";
  vertical-align: middle;
  font-weight: 900;
  position: absolute;
  right: 20px;
  color: #1d4289;
}

.custom-select:has(ul.active) button::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0d8";
  vertical-align: middle;
  font-weight: 900;
  position: absolute;
  right: 20px;
  color: #1d4289;
}

.custom-select button:focus-visible {
  outline: 0;
  box-shadow: 0 0 5px 2px rgba(251, 146, 60, 0.7) inset;
}

.custom-select button .default-value {
  width: calc(100% - 10%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
}

.custom-select ul {
  color: #17417f;
  left: 0;
  right: 0;
  top: 86.8px;
  max-height: 160px;
  list-style-type: none;
  padding: 0;
  opacity: 0;
  transform: scale(1, 0);
  transform-origin: top left;
  transition: all 0.3s ease-in;
  pointer-events: none;
  z-index: 2;
}

.custom-select ul.active {
  opacity: 1;
  transform: scale(1, 1);
  pointer-events: auto;
  overflow: auto;
  border-left: 1px solid #d9d9d9;
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-end-start-radius: 8px;
  border-end-end-radius: 8px;
}

.custom-select li {
  cursor: pointer;
  transition: all 0.3s ease-in;
  position: relative;
  padding: 8px 21px;
}

.custom-select li:last-child {
  padding: 8px 21px;
}

.custom-select li[aria-selected="true"]:before {
  content: "\2713";
  color: #1d4289;
  position: absolute;
  right: 16px;
  opacity: 1;
}

.custom-select li.active::before {
  opacity: 1;
}

.custom-select li:hover {
  background-color: #ececec;
}

.custom-radio-wrapper {
  display: flex;
  align-items: flex-start;
}

.custom-radio-wrapper {
  display: flex;
  align-items: flex-start;
}

.custom-radio-wrapper input[type="radio"] {
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-radio-wrapper label {
  line-height: 1.4;
  flex: 1;
  word-break: break-word;
}

/* Funnel */
/* Payment Wrapper */
.funnel-wrapper,
.payment-wrapper {
  position: relative;
}

.spinner-container {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  top: 0;
  left: 0;
}

.spinner-container::before {
  pointer-events: none;
  background: White;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.8;
  top: 0;
  left: 0;
}

.spinner-border {
  width: 150px;
  height: 150px;
}


.modal .btn-close-modal:focus-visible,
.modal .btn-request-new-code:focus-visible {
  box-shadow: rgba(251, 146, 60, 0.7) 0px 0px 0px 2px;
}

.modal input:focus-visible {
  outline: none;
  outline-offset: 0;
  border: 1px solid #0d9ddb !important;
  box-shadow: 0 0 .25rem rgba(13, 110, 253, .25);
}

/* 
.page-template-page-docusign,
.page-template-page-docusign-with-offer, */
.page-template-page-form-custom-integration {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* .page-template-page-docusign main,
.page-template-page-docusign-with-offer main, */
.page-template-page-form-custom-integration main {
  display: flex;
  flex: 1;
  /* min-height: 90vh; */
}

.page-template-page-form-custom-integration .form-custom-wrapper,
.page-template-page-form-custom-integration .form-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}



.page-template-page-tracking-pratica,
.page-template-page-edit-appointment {
  height: 100%;
}

.page-template-page-tracking-pratica .tracking-pratica-form-wrapper {
  min-height: 700px;
  padding: 30px;
}

.tracking-pratica-form-wrapper .type-client-wrapper {
  margin-bottom: auto;
  max-width: min-content;
}

.tracking-pratica-form-wrapper form fieldset {
  display: flex;
  flex-direction: column;
}

.tracking-pratica-form-wrapper form fieldset legend {
  line-height: 1.4;
}

/* .tracking-pratica-form-wrapper .submit-btn {
  padding-top: 8px;
  margin-top: 8px;
} */

.tracking-pratica-form-wrapper form input[type="submit"] {
  color: #fff;
  height: auto;
  font-size: 14px;
  background: #18417f;
}

#tracking-pratica-table,
#tracking-pratica-table th,
#tracking-pratica-table td {
  border: none;
}

.tracking-pratica-form-wrapper form input[type="text"] {
  /* margin-top: 8px; */
  font-size: 14px;
}

.tracking-pratica-form-wrapper #tracking-pratica-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  font-family: "Ubuntu", sans-serif;
  margin-top: 56px;
}

.tracking-pratica-form-wrapper #tracking-pratica-table th,
.tracking-pratica-form-wrapper #tracking-pratica-table td {
  min-width: 154px;
  max-width: 200px;
  padding: 12px;
}

.tracking-pratica-form-wrapper #tracking-pratica-table td {
  align-content: flex-start;
}

.tracking-pratica-form-wrapper #tracking-pratica-table .truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracking-pratica-form-wrapper #tracking-pratica-table tbody tr {
  border-bottom: 1px solid #17417f;
  font-size: 14px;
}

.tracking-pratica-form-wrapper #tracking-pratica-table thead {
  background-color: #e9ecef;
  font-size: 14px;
}

.tracking-pratica-form-wrapper #tracking-pratica-table thead tr th {
  font-weight: 700;
  background-color: #f1f1f1;
  align-content: center;
}

.error-feedback,
.invalid-feedback {
  color: #c8102e !important;
}

input.is-invalid {
  border-color: #c8102e !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="date"]).is-invalid {
  background-image: url("./images/warning_circle.svg");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

input[type="checkbox"] {
  background-image: none !important;
  padding: 0 !important;
}

.funnel-header {
  padding: 15px 0;
  position: fixed;
  z-index: 1;
  background-color: white;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999;
}

.funnel-aside-wrapper {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 380px;
  border-right: 2px solid #0d9ddb;
  margin-right: 24px;
  margin-bottom: 20px;
  max-width: 380px;
}

.funnel-aside .icon img {
  min-width: 56px;
}

.funnel-aside .text .subtitle {
  font-weight: 700;
  font-size: 18px;
}

.funnel-aside .text.gas h1,
.funnel-aside .text.gas {
  color: #0d9ddb;
}

.funnel-aside .text.light h1,
.funnel-aside .text.light {
  color: #e8327c;
}

.funnel-aside .text h1 {
  font-weight: 700;
  font-size: 40px;
  margin: 0;
}


.funnel-intro-mobile {
  display: none;
}

.logo {
  height: 70px;
}

.banner {
  background-size: cover;
  background-position: center top;
  position: relative;
}

.banner:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(23, 65, 127, 0.75);
}

.banner>* {
  position: relative;
}

.banner h1,
.banner h2 {
  color: white;
}

.banner .container {
  display: flex;
  padding: 50px 20px;
}

.banner .icon svg {
  height: 130px;
  width: auto;
}

.banner .text {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner .text h1 {
  font-size: 40px;
  margin: 0;
  font-weight: 600;
}

.banner .text h2 {
  font-size: 20px;
  margin: 0;
}

/* Nasconde l'header durante l'inizializzazione, evitando il flash dei ::before */
#stepperForm .bs-stepper-header {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.1s ease;
}

#stepperForm.stepper-ready .bs-stepper-header {
  visibility: visible;
  opacity: 1;
}

#stepperForm .bs-stepper-content {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.1s ease;
}

#stepperForm.stepper-ready .bs-stepper-content {
  visibility: visible;
  opacity: 1;
}

div.bs-stepper-content {
  padding: 0px;
  height: 100%;
  max-width: calc(50% + 100px);
  margin: 0 auto;
}

.bs-stepper-pane {
  /* min-height: calc(100vh - 180px); */
  position: relative;
}

.bs-stepper-pane.fade.active,
.bs-stepper .content.fade.active {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bs-stepper-pane--buttons {
  border-top: 2px solid #17417f;
  padding: 20px 0;
  background-color: white;
  display: flex;
  justify-content: space-between;
  flex-flow: row-reverse;
}

.save-and-continue-buttons {
  display: flex;
}

.bs-stepper-header {
  position: relative;
  right: 20px;
  max-width: max-content;
}

.bs-stepper button.step-trigger {
  width: 100%;
  display: block;
  /* padding: 10px 20px; */
  padding: 0;
  text-transform: none;
}

.bs-stepper-header .step {
  width: max-content;
  position: relative;
  padding-top: 28px;
}

/*Per mostrare il marchio grigio per tutti gli step dopo il marchio attivo; tranne che per  il primo step*/
.bs-stepper-header .active~.step:not(.step.one, .step.four):before {
  content: "";
  position: absolute;
  height: 100%;
  z-index: 0;
  width: 100%;
  transform: translateX(5%);
  background-image: url("./images/marchio_grigio.svg");
  background-size: 50px;
  background-repeat: repeat-x;
  top: 0;
}

/*Per aggiungere il marchio grigio successivo al marchio attivo*/
.bs-stepper-header .step.active:not(.four)::after {
  content: "";
  position: absolute;
  height: 100%;
  z-index: 99;
  width: 100%;
  transform: translate(72%);
  background-image: url("./images/marchio_grigio.svg");
  background-size: 50px;
  background-repeat: no-repeat;
  top: 0px;
}

/* gestione dei marchi colorati da mostrare */
/* Base: marchio grigio su one/two/three */
.bs-stepper-header .step.one:before,
.bs-stepper-header .step.two:before,
.bs-stepper-header .step.three:before {
  content: "";
  position: absolute;
  height: 100%;
  z-index: 0;
  width: 100%;
  transform: translateX(38%);
  background-image: url("./images/marchio_grigio.svg");
  background-size: 50px;
  background-repeat: repeat-x;
  top: 0;
  z-index: 0;
}

/* Override: marchio colorato se completed */
.bs-stepper-header .step.completed:before {
  background-image: url("./images/marchio.svg");
}

.bs-stepper-header .step.active:before {
  content: "";
  position: absolute;
  height: 100%;
  z-index: 0;
  width: 100%;
  background-size: 50px;
  transform: translate(38%);
  background-image: url("./images/marchio_attivo.svg");
  background-repeat: no-repeat;
  top: 0;
}

.bs-stepper-header .step.four.active:before {
  content: "";
  position: absolute;
  height: 100%;
  z-index: 0;
  width: 100%;
  transform: translateX(38%);
  background-size: 50px;
  background-image: url("./images/marchio_attivo.svg");
  background-repeat: no-repeat;
  top: 0;
}

.bs-stepper-header .step.four::before {
  content: "";
  position: absolute;
  height: 100%;
  z-index: 0;
  width: 67%;
  background-size: 50px;
  transform: translateX(5%);
  background-image: url("./images/marchio_grigio.svg");
  background-repeat: repeat-x;
  top: 0;
}

.bs-stepper-header .step,
.bs-stepper-label {
  width: 100%;
  max-width: 150px;
  min-width: 150px;
}

.bs-stepper-header .step:has(.step-image-active.four) {
  width: 100%;
  max-width: 100px;
  min-width: 100px;
}

.bs-stepper-header .step * {
  color: #17417f;
  font-weight: 400;
  pointer-events: none;
}

.bs-stepper-header .step.active * {
  color: #0d9ddb;
  font-weight: 600;
}

/* .bs-stepper-header .step.active:after {
  background-color: #4d91c2;
}

.bs-stepper-header .step.active .step-image {
  background-color: #4d91c2;
} */

.bs-stepper-header .active~.step * {
  color: #898989;
  pointer-events: none;
}

/* .bs-stepper-header .active~.step .step-image {
  background-color: #898989;
}

.bs-stepper-header .active~.step:after {
  background-color: #898989;
} */

.form-group .input-info {
  font-size: 12px;
}

.form-group .input-info * {
  margin-bottom: 0;
}

label:not(.custom-control-label,
  .privacy-fieldset legend,
  .privacy-fieldset label),
legend {
  font-weight: 600;
}

input {
  color: #17417f;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

fieldset legend {
  font-size: 14px;
}

.checkbox-group label {
  margin: 0 24px 0 0;
}

label.checkbox-label p {
  margin-bottom: 0;
}

#personal-data-form .info-auth {
  font-size: 13px;
}

.types-bill-wrapper {
  min-height: 120px;
  padding-bottom: 8px;
}

.type-bill-one-form.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

.type-bill-one-form.inactive {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.type-bill-two-form.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

.type-bill-two-form.inactive {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.currentAccountForm {
  display: flex;
  flex-direction: column;
}

/* .currentsAccount-wrapper {
  display: flex;
  gap: 16px;
} */

.aside-summary-wrapper {
  margin-right: 24px;
}

.aside-summary-wrapper section dd,
.aside-summary-wrapper section dt,
.aside-summary-wrapper section button span {
  font-size: 14px;
}

.aside-summary-wrapper section {
  padding-bottom: 16px;
  border-bottom: 2px solid #898989;
  margin-bottom: 18px;
}

.aside-summary-wrapper h4 {
  font-size: 20px;
  text-align: start;
}

.aside-summary-wrapper .offer-name {
  font-size: 20px;
  font-weight: 600;
}

.aside-summary-wrapper dt,
.aside-summary-wrapper dd {
  text-align: start;
  font-size: 16px;
}

.aside-summary-wrapper dt {
  font-weight: 600;
  font-size: 18px;
}

.aside-summary-wrapper dd {
  margin: 0;
}

.aside-summary-wrapper .offer-summary {
  display: none;
}

.aside-summary-wrapper .offer-summary {
  margin: 18px 0;
}

.aside-summary-wrapper .offer-summary dt {
  font-size: 16px;
}

.aside-summary-wrapper .offer-summary dl {
  font-size: 20px;
}

.aside-summary-wrapper .edit-step {
  background: transparent;
  border: none;
  color: #1d4289;
  padding: 0;
  display: flex;
  align-items: center;
}

.aside-summary-wrapper .edit-step svg {
  width: 32px;
  height: 24px;
}

.bs-stepper-pane--buttons.step5 .btn-message-wrapper {
  margin-left: auto;
}

.summary-wrapper section {
  padding-bottom: 16px;
  border-bottom: 1px solid #17417f;
}

.summary-wrapper h4 {
  font-size: 16px;
  text-align: start;
  text-transform: uppercase;
}

.summary-wrapper .offer-name {
  font-size: 20px;
}

.summary-wrapper dt,
.summary-wrapper dd {
  text-align: start;
  font-size: 13px;
}

.summary-wrapper dt {
  font-weight: 400;
}

.summary-wrapper dd {
  font-weight: 600;
  margin: 0;
}

.summary-wrapper dl:not(.offer-summary dl) {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row-gap: 12px;
}

.summary-wrapper .offer-summary {
  margin: 18px 0;
}

.offer-summary dt {
  font-size: 16px;
}

.offer-summary dl {
  font-size: 20px;
}

.currentAccountForm.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

.currentAccountForm.inactive {
  opacity: 0;
  visibility: hidden;
}

a {
  text-decoration: underline;
  color: #0d9ddb;
}

.phone-and-prefixes-wrapper {
  position: relative;
}

.prefixes-list {
  max-width: 115px;
  margin: 0;
  top: 8px;
  left: 26px;
  position: absolute;
}

.prefixes-list button {
  padding: 8px 4px 11px 24px;
  border: 0 !important;
  background-color: transparent;
}

.prefixes-list button:disabled {
  background-color: #e9ecef;
  cursor: no-drop;
  color: #1d4289cc;
}

.prefixes-list button::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0d7";
  vertical-align: middle;
  font-weight: 900;
  position: absolute;
  left: 0;
  right: 28px;
  color: #1d4289;
}

.prefixes-list:has(ul.active) button::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0d8";
  vertical-align: middle;
  font-weight: 900;
  position: absolute;
  left: 0;
  right: 28px;
  color: #1d4289;
}

.prefixes-list ul {
  position: absolute;
  top: 42px;
  left: 5px;
  border: 1px solid #d9d9d9;
}

.prefixes-list ul.active {
  border-end-end-radius: 8px;
  border-end-start-radius: 8px;
  padding: 0px;
  overflow: auto;
  min-width: 400px;
}

/* 
.docusign-wrapper .prefixes-list ul.active {
  min-width: 280px;
} */

.prefixes-list ul li {
  padding: 8px 21px;
}

.prefixes-list ul li:hover {
  background-color: #ececec;
}

.prefixes-list ul li.selected::before {
  content: "\2713";
  color: #1d4289;
  position: absolute;
  right: 16px;
  opacity: 1;
}

#inputPhoneForm {
  padding-left: 80px;
}

#inputPhoneForm:read-only {
  background-color: #e9ecef;
  cursor: no-drop;
  color: #1d4289cc;
}

#inputPhoneForm:read-only+label {
  background: transparent;
}

.prefixes-list li.active::before {
  opacity: 0;
}

/* MODAL */
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(77, 145, 194, 0.9);
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  max-width: 600px;
  max-height: max-content;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  padding: 40px 24px;
  height: min-content;
}

.modal-content.edit-appointment {
  max-width: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 450px;
}

.modal h1 {
  font-size: 24px;
  text-align: center;
  margin: 0 0 24px 0;
  font-weight: 700;
}

.modal h2 {
  font-size: 18px;
  font-weight: normal;
  margin: 12px 0;
  text-align-last: center;
  text-align: center;
  padding: 0 24px;
}

.body-modal {
  width: 100%;
}

#beforeContinuingModal .body-modal {
  margin-top: 24px;
}

#errorCodeModal .body-modal,
#expiredCodeModal .body-modal {
  gap: 24px;
  font-weight: 700;
}

#errorCodeModal .body-modal p,
#expiredCodeModal .body-modal p {
  gap: 24px;
  font-weight: 700;
  color: #c8102e;
}

.modal ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-weight: 600;
  color: #17417f;
  padding-left: 0;
}

.modal li {
  padding-bottom: 0;
  line-height: 1.4;
}

.footer-modal {
  width: 100%;
  justify-content: space-between;
  margin-top: 24px;
}

.modal p,
.modal label {
  color: #17417f;
  text-align: center;
}

.modal p {
  margin-bottom: 0;
}

.modal .body-modal {
  flex-direction: column;
  align-items: center;
}

#confirmationOfIdentityModal .expiring-description,
#confirmationSignatureModal .expiring-description {
  margin-bottom: 8px;
  font-weight: 700;
}

#confirmationOfIdentityModal .inputs-otp-wrapper,
#confirmationSignatureModal .inputs-sign-wrapper {
  gap: 8px;
  margin: 12px 0 16px;
}

#confirmationOfIdentityModal .inputs-otp-wrapper input,
#confirmationSignatureModal .inputs-sign-wrapper input {
  width: 70px;
  height: 64px;
  font-size: 32px;
  text-align: center;
  padding: 3px;
  border: 2px solid #ddd;
  transition: 0.3s ease;
  border-radius: 50%;
  color: #17417f;
}

#confirmationOfIdentityModal .footer-modal,
#confirmationSignatureModal .footer-modal {
  justify-content: center;
}

.modal .btn-close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: #1d4289;
  padding: 0;
}

.modal .btn-close-modal:before {
  content: "";
  display: inline-block;
  background: url("./images/cancel.svg") no-repeat center / contain;
  vertical-align: middle;
  /* color: #1d4289; */
  color: red;
  width: 24px;
  height: 24px;
}

.error-modal .modal-content {
  max-height: max-content;
}

.error-modal .icon-message-wrapper {
  margin-top: 24px;
  gap: 12px;
}

.error-modal .icon-message-wrapper svg {
  width: 24px;
  height: 24px;
}

.modal .error {
  color: #c8102e;
  font-weight: 600;
  margin-top: 12px;
}

.btn-resend-code {
  background: transparent;
  padding: 0;
  color: #0d9ddb;
  text-decoration: underline;
}

#requestCompletedModal .header-modal {
  width: 100%;
  justify-content: space-between;
}

#requestCompletedModal {
  background-color: rgba(23, 65, 127, 0.8);
}

#requestCompletedModal .header-modal .text-wrapper {
  border-bottom: 1px solid #17417f;
  flex-grow: 1;
  align-items: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#requestCompletedModal .header-modal .image-wrapper img {
  min-height: 112px;
  min-width: 65px;
}

#requestCompletedModal .header-modal p {
  color: #0d9ddb;
  font-weight: 600;
  margin-bottom: 0;
  text-align: start;
}

#requestCompletedModal .header-modal h1 {
  text-align: start;
  font-size: 30px;
}

#requestCompletedModal h2 {
  font-size: 16px;
  font-weight: 600;
}

#requestCompletedModal .body-modal p {
  font-size: 13px;
}

#requestCompletedModal .body-modal {
  padding: 24px 0 40px;
}

#requestCompletedModal .footer-modal {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #17417f;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
}

#requestCompletedModal #btn-go-to-offers {
  margin-top: 16px;
}

#cfentModal .modal-content img {
  min-width: 40px;
}

#feedbackModal h1 {
  font-size: 20px;
  margin-top: 24px;
}

#feedbackModal .image-wrapper img {
  width: 68px;
}

#feedbackModal .body-modal {
  font-size: 16px;
}

/* ERROR PAGE */

.error-page {
  display: flex;
  width: 100%;
  height: 100vh;
}

.error-page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.error-page img {
  min-width: 130px;
}

.error-page h1 {
  font-size: 24px;
}

.error-page p {
  font-size: 18px;
}

.thank-you-page {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

button[type="button"].btn-summary {
  display: none;
}

/* MOBILE */
@media only screen and (max-width: 575px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn:not(.btn.btn-resend-code) {
    height: 40px;
    padding: 0 20px;
  }

  .btn.btn-save-form {
    padding: 0;
    line-height: 20px;
  }

  .bs-stepper-pane--buttons {
    flex-direction: column;
    gap: 8px;
  }

  .save-and-continue-buttons {
    display: contents;
  }

  .bs-stepper-pane--buttons.step5 {
    flex-direction: column;
    flex-flow: column-reverse;
    gap: 8px;
  }

  .message-request-new-code-wrapper {
    display: block;
  }

  .message-request-new-code-wrapper p {
    margin-bottom: 0;
  }

  .btn-request-new-code {
    width: 100%;
    margin-bottom: 0 auto 12px;
  }

  /* MODALS */

  .modal-content {
    max-width: 364px;
    padding: 24px;
  }

  #confirmationOfIdentityModal .inputs-otp-wrapper input,
  #confirmationSignatureModal .inputs-sign-wrapper input {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .footer-modal {
    flex-direction: column;
    flex-flow: column-reverse;
    gap: 8px;
  }

  .error-modal .icon-message-wrapper {
    margin-top: 0;
  }

  .tracking-pratica-form-wrapper .error-message {
    margin-left: 8px;
  }

  .tracking-pratica-form-wrapper #tracking-pratica-table th,
  .tracking-pratica-form-wrapper #tracking-pratica-table td {
    font-size: 14px;
  }

  .prefixes-list ul.active {
    min-width: 300px;
  }

  .check-security-form .prefixes-list ul {
    min-width: 280px;
  }

  .modal-content.edit-appointment {
    top: 55%;
    max-height: calc(100% - 14%);
  }

  .modal-content.edit-appointment h1 {
    margin: 12px 0;
  }

  .modal-content.edit-appointment .calendar-wrapper {
    width: 100%;
  }

  .modal-content.edit-appointment .calendar-slots {
    flex-direction: column;
  }

  .modal-content.edit-appointment .calendar-slots {
    gap: 0;
  }

  .modal-content.edit-appointment .calendar-slots .slot-wrapper {
    margin-top: 0;
  }

  .calendar {
    min-height: 290px;
  }

  .calendar table th {
    font-size: 14px;
  }

  button[type="button"].btn-summary {
    display: block;
    background-color: #0d9ddb;
    color: #fff;
  }

  .funnel-aside-wrapper {
    border-right: none;
    /* transition: all 0.3s ease-in-out; */
  }

  .funnel-aside-wrapper.active {
    opacity: 1;
    visibility: visible;
    margin-right: 28px;
    max-width: 100%;
    transition: 0.5s;
  }

  .funnel-aside-wrapper.inactive {
    opacity: 0;
    visibility: hidden;
    margin-right: 0px;
    z-index: 0;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
  }

  .aside-summary-wrapper {
    margin-right: 0;
  }

  .summary-and-form-wrapper:has(.funnel-aside-wrapper.inactive) {
    background-color: #fff;
    margin-top: 0;
  }

  .funnel-wrapper:has(.funnel-aside-wrapper.active) .intro-titles-wrapper {
    display: none;
  }

  body:has(.funnel-aside-wrapper.active) footer {
    display: none;
  }

  body:has(.funnel-aside-wrapper.active) footer {
    display: none;
  }

  body:has(.funnel-aside-wrapper.inactive) footer {
    display: flex;
  }

  .prefixes-list button {
    top: 5px;
  }


  .input-date-wrapper .placeholder-date {
    display: block;
    position: absolute;
    top: 10px;
    font-size: 14px;
    left: 26px;
  }

  .input-date-wrapper #inputDatePaymentForm.is-invalid~.placeholder-date {
    top: 10px;
  }

  /* focus */
  .input-date-wrapper.isFocused .placeholder-date {
    display: none;
  }

  /* valid */
  .input-date-wrapper.isValid .placeholder-date {
    display: none;
  }
}

/* Solo Safari (incluso iOS) */
@supports (-webkit-touch-callout: none) {
  .input-date-wrapper .placeholder-date {
    left: 35%;
  }
}

/* >= 576 */
@media only screen and (min-width: 576px) and (max-width: 767px) {
  .modal-content {
    max-width: 532px;
    padding: 32px;
  }

  .prefixes-list ul.active {
    min-width: max-content;
  }

  /*calendar modal*/
  .modal-content.edit-appointment {
    max-width: 545px;
  }

  .calendar-slots {
    gap: 30px;
  }

  .calendar-slots .slots {
    column-gap: 6px;
    grid-template-columns: repeat(2, 96px);
    row-gap: 6px;
    grid-template-rows: repeat(5, 37px);
    overflow-y: auto;
    box-sizing: border-box;
  }

  .prefixes-list button {
    bottom: 25px;
  }
}

@media only screen and (max-width: 767px) {

  .page-template-page-docusign .banner .container,
  .page-template-page-docusign-with-offer .banner .container {
    max-width: 100%;
  }

  .check-security-step .check-security-form .bs-stepper-pane--buttons {
    margin-top: 15% !important;
  }

  /* SPINNER */
  .spinner-border {
    width: 60px;
    height: 60px;
  }

  /* COMMON */
  .footer-wrapper {
    flex-direction: column;
  }

  .footer-wrapper>.container {
    flex-direction: column;
    text-align: center;
  }

  .footer-wrapper .right-footer-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .footer-wrapper .text>* {
    color: #fff;
  }

  .footer-wrapper .links-wrapper {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* FUNNEL */
  #wpadminbar {
    position: fixed;
  }

  body:has(#wpadminbar) .funnel-header {
    margin-top: 0;
    top: 45px;
  }

  .bs-stepper-header.mobile {
    display: flex;
    margin-left: 10px !important;
  }

  .currentsAccount-wrapper {
    display: block;
  }

  .bs-stepper-header {
    margin: 0 -10px;
    text-align: center;
  }

  .bs-stepper-header .active~.step:not(.step.one, .step.four):before {
    content: "";
    position: absolute;
    height: 100%;
    z-index: 0;
    width: 100%;
    transform: translateX(-35%);
    background-image: url("./images/marchio_grigio.svg");
    background-size: 30px;
    background-repeat: repeat-x;
    top: 0;
  }

  /*Per aggiungere il marchio grigio successivo al marchio attivo*/
  .bs-stepper-header .step.active:not(.four)::after {
    content: "";
    position: absolute;
    height: 100%;
    z-index: 99;
    width: 100%;
    transform: translate(35%);
    background-image: url("./images/marchio_grigio.svg");
    background-size: 30px;
    background-repeat: no-repeat;
    top: 0px;
  }

  /* gestione dei marchi colorati da mostrare */
  .bs-stepper-header .step.one:before,
  .bs-stepper-header .step.two:before,
  .bs-stepper-header .step.three:before {
    content: "";
    position: absolute;
    height: 100%;
    z-index: 0;
    width: 100%;
    transform: translateX(0%);
    background-image: url("./images/marchio.svg");
    background-size: 30px;
    background-repeat: repeat-x;
    top: 0;
  }

  .bs-stepper-header .step.active:before {
    content: "";
    position: absolute;
    height: 100%;
    z-index: 0;
    width: 100%;
    background-size: 30px;
    background-image: url("./images/marchio_attivo.svg");
    background-repeat: no-repeat;
    top: 0;
  }

  .bs-stepper-header .step.four.active:before {
    content: "";
    position: absolute;
    height: 100%;
    z-index: 0;
    width: 100%;
    transform: translateX(0%);
    background-size: 30px;
    background-image: url("./images/marchio_attivo.svg");
    background-repeat: no-repeat;
    top: 0;
  }

  .bs-stepper-header .step.four::before {
    content: "";
    position: absolute;
    height: 100%;
    z-index: 0;
    width: 67%;
    background-size: 30px;
    transform: translateX(-50%);
    background-image: url("./images/marchio_grigio.svg");
    background-repeat: repeat-x;
    top: 0;
  }

  .bs-stepper-header .step,
  .bs-stepper-label {
    width: 100%;
    max-width: 90px;
    min-width: 90px;
  }

  .bs-stepper-header .step {
    padding-top: 20px;
  }

  .bs-stepper-label {
    font-size: 14px;
  }

  .bs-stepper-label {
    position: relative;
    left: 8px;
  }

  .bs-stepper-header .step:has(.step-image-active.four) {
    width: 100%;
    max-width: 70px;
    min-width: 70px;
  }

  .wrapper-circular-progress {
    display: none;
    align-items: center;
    gap: 16px;
  }

  .circular-progress {
    position: relative;
    min-height: 100px;
    min-width: 100px;
    border-radius: 50%;
    background: conic-gradient(#17417f 0deg 72deg, #ededed 72deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .circular-progress::before {
    content: "";
    position: absolute;
    min-height: 90px;
    min-width: 90px;
    border-radius: 50%;
    background: #fff;
  }

  .progress-value {
    position: relative;
    font-size: 21px;
    font-weight: 500;
    color: #17417f;
  }


  .banner .text {
    font-size: 16px;
    line-height: 1.65;
  }

  .text {
    font-size: 30px;
    font-weight: 500;
    color: #17417f;
    line-height: 32px;
  }

  #paymentData .form-group legend {
    margin-bottom: 4px;
  }

  .summary-wrapper dl:not(.offer-summary dl) {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .custom-radio label {
    padding-left: 10px;
    margin-right: 32px;
  }

  #payment-data-form .custom-radio {
    align-items: flex-start;
    flex-wrap: nowrap !important;
  }

  /* MODALS */

  .modal-content:has(.btn-close-modal) {
    padding: 32px 24px 24px;
  }

  .modal-content ul {
    grid-column-gap: 8px;
  }

  .prefixes-list button {
    padding: 8px 10px 8px 24px;
    top: 6px;
  }

  .prefixes-list ul {
    top: 40px;
  }

  /*FOOTER */

  .footer-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-wrapper .right-footer-wrapper {
    display: contents;
  }

  .footer-wrapper .text {
    text-align: center;
  }

  .footer-wrapper .download-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-wrapper .info-wrapper {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .footer-wrapper .social-and-policy-wrapper {
    align-items: center;
  }

  .footer-wrapper .socials-wrapper {
    align-items: center;
    justify-content: center;
  }

  .footer-wrapper .policy-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .select-and-forms-wrapper {
    width: 100%;
  }

  /* SELECT PREFIXES */
  /* .phone-and-prefixes-wrapper select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border: none;
    bottom: 7px;
    margin: 0 2px;
    right: 7px;
    font-size: 14px;
  }

  .types-list select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border-radius: calc(var(--wdtRadius_Part) - 0em);
    padding: var(--wdtPadding_Select);
    font-size: 14px;
  }

  .phase select,
  .owner-title select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border-radius: calc(var(--wdtRadius_Part) - 0em);
    padding: var(--wdtPadding_Select);
    font-size: 14px;
  }


  .payment-method-list select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border-radius: calc(var(--wdtRadius_Part) - 0em);
    padding: var(--wdtPadding_Select);
    font-size: 14px;
  } */

  .prefixes-list {
    top: 31px;
  }

  .page-template-page-form-custom-integration .prefixes-list {
    top: 0;
  }

  .check-security-form .phone-and-prefixes-wrapper .prefixes-list {
    top: 30px;
  }

  .page-template-page-landing-funnel-gas-php .prefixes-list,
  .page-template-page-landing-funnel-luce-php .prefixes-list {
    top: 0;
  }

  /* .custom-select button,
  .custom-select ul {
    display: none;
  } */

  .tracking-pratica-form-wrapper form {
    align-items: flex-start;
  }

  .tracking-pratica-form-wrapper .type-client-wrapper {
    margin-bottom: 16px;
    width: 100%;
  }

  /* .tracking-pratica-form-wrapper .submit-btn input {
    width: 100%;
  } */

  .funnel-wrapper .container {
    padding: 0;
  }

  .funnel-aside-wrapper {
    visibility: hidden;
  }

  .inputResidenceNumber-wrapper .shift-label,
  .inputSupplyNumber-wrapper .shift-label {
    left: 10px;
  }

  div.bs-stepper-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .funnel-aside-wrapper {
    margin-right: 0;
  }

  label[for="inputAddressSupplyNumberForm"].shift-label,
  label[for="inputAddressResidenceNumberForm"].shift-label {
    left: 8px;
  }

  .footer-wrapper .links-wrapper {
    flex-direction: row;
  }


  .cbp-wrapper .container {
    padding-left: 0;
    padding-right: 0;
  }


}

/* TABLET */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  body:has(#wpadminbar) {
    padding-top: 59px;
  }

  .footer-wrapper .links-wrapper {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .bs-stepper-header .bs-stepper-label {
    text-wrap: auto;
  }

  .bs-stepper-header .step {
    margin-top: auto;
  }

  #paymentData .form-group legend {
    margin-bottom: 4px;
  }

  /* .prefixes-list {
    top: 32px;
  } */

  .prefixes-list ul.active {
    min-width: max-content;
  }

  .check-security-form .phone-and-prefixes-wrapper .prefixes-list {
    top: 31px;
  }

  /* .custom-select button,
  .custom-select ul {
    display: none;
  } */

  /* .types-list select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border-radius: calc(var(--wdtRadius_Part) - 0em);
    padding: var(--wdtPadding_Select);
    font-size: 14px;
  }

  .phase select,
  .owner-title select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border-radius: calc(var(--wdtRadius_Part) - 0em);
    padding: var(--wdtPadding_Select);
    font-size: 14px;
  }

  .payment-method-list select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border-radius: calc(var(--wdtRadius_Part) - 0em);
    padding: var(--wdtPadding_Select);
    font-size: 14px;
  }

  .phone-and-prefixes-wrapper select {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    border: none;
    bottom: 7px;
    margin: 0 2px;
    right: 7px;
    font-size: 14px;
  } */

  .tracking-pratica-form-wrapper .type-client-wrapper fieldset .custom-radio label {
    margin-right: 15px;
  }
}

/* FORM CUSTOM INTEGRATION */

h1 {
  font-weight: 400;
  font-size: 32px;
}

.body-wrapper {
  margin: 28px 0;
}

.cbp-wrapper.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

.cbp-wrapper.inactive {
  opacity: 0;
  visibility: hidden;
}

.form-custom-wrapper .bs-stepper-pane--buttons {
  justify-content: flex-end;
}

/* DOCUSIGN FORM */

.page-template-page-docusign,
.page-template-page-docusign-with-offer,
.docusign-wrapper,
.check-security-step {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.docusign-wrapper iframe {
  padding: 40px;
}

.check-security-step .check-security-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: space-between;
}

.check-security-step .check-security-form .bs-stepper-pane--buttons {
  margin-top: 15%;
  justify-content: flex-end;
}

.docusign-wrapper .iFrame-form-step {
  flex-direction: column;
  height: 100%;
}

/* ACCESSIBILITY */

a:focus-visible {
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.7);
  display: block;
  width: max-content;
}

.btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.7);
}

button[role="tab"]:focus-visible {
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.7);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

ul[role="listbox"].active {
  display: block;
}

ul[role="listbox"] {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul[role="listbox"] li.highlighted {
  background-color: #e0f0ff;
  outline: 2px solid #0077ff;
}

/* EDIT APPOINTMENT */
/* calendar */
.calendar-wrapper {
  margin: auto;
  font-family: sans-serif;
}

.calendar-wrapper .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1em 0;
}

.calendar-wrapper .nav #prev,
.calendar-wrapper .nav #next {
  background-color: transparent;
  padding: 4px 10px;
  border: 1px solid #1d4289;
  border-radius: 100%;
}

.calendar-wrapper .nav #prev:hover,
.calendar-wrapper .nav #next:hover {
  color: #1d4289;
}

.calendar-slots {
  gap: 40px;
  min-height: 335px;
  font-family: "Ubuntu, sans-serif";
  font-size: 14px;
}

.calendar {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  margin: 0;
  font-family: "Ubuntu";
}

.calendar #month-label {
  color: #1d4289;
}

.calendar thead {
  border-bottom: 1px solid #d0d4d5;
}

.calendar thead th {
  height: 30px;
}

.calendar th {
  background-color: transparent;
}

.calendar th,
.calendar td {
  border: 0;
  padding: 0;
  min-width: 40px;
  height: 40px;
  border-radius: 4px;
}

.calendar td.disabled {
  color: #bbb;
}

.calendar td.available {
  background: #e0f7e9;
  cursor: pointer;
}

.calendar td.selected {
  background: #4caf50;
  color: #fff;
}

.calendar td.selected label {
  color: #fff;
}

.calendar td.available label {
  width: 100%;
  height: 100%;
  padding: 11px 8px 8px;
  font-size: 16px;
}

.calendar td.available label:hover {
  cursor: pointer;
}

.day {
  padding: 8px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.slot-wrapper {
  width: 100%;
  max-height: 100%;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.slots {
  display: grid;
  column-gap: 8px;
  grid-template-columns: repeat(3, 100px);
  row-gap: 8px;
  grid-template-rows: repeat(4, 40px);
  overflow-y: auto;
  font-family: "Ubuntu";
}

.slot-option {
  border: 1px solid #1d4289;
  border-radius: 4px;
}

.slot-option label {
  width: 100%;
  height: 100%;
  padding: 8px;
}

.slot-option label:hover {
  cursor: pointer;
}

.slot-option:has(input:checked) label {
  background-color: #1d4289;
  color: #fff;
}

input[type="radio"]:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

#fileList {
  list-style: none;
  font-size: 14px;
  padding: 0;
}

#fileList ul li {
  padding-bottom: 0;
}

#fileList p {
  margin-bottom: 0;
}

#fileList button {
  background: transparent;
  padding: 0;
  margin-left: 12px;
  font-size: 14px;
}

#fileList button:hover {
  color: #1d4289;
}

.card-document {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.card-document div {
  overflow: hidden;
}

.card-document div a {
  font-size: 14px;
}

.card-document div p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.card-document div .info {
  color: #929aab;
  font-size: 12px;
}

.tracking-pratica-form-wrapper svg {
  width: 50px;
  height: 26px;
}

.break-info {
  font-size: 12px;
}

.page-template-page-docusign main,
.page-template-page-docusign-with-offer main,
.page-template-page-form-custom-integration main {
  display: flex;
  /* min-height: 90vh; */
}

.page-template-page-docusign .banner,
.page-template-page-docusign-with-offer .banner,
.page-template-page-form-custom-integration .banner {
  width: 40%;
}

.page-template-page-docusign .banner h1,
.page-template-page-docusign .banner h2,
.page-template-page-docusign-with-offer .banner h1,
.page-template-page-docusign-with-offer .banner h2,
.page-template-page-form-custom-integration .banner h1,
.page-template-page-form-custom-integration .banner h2 {
  font-weight: 500;
}

.page-template-page-docusign .banner h2,
.page-template-page-docusign-with-offer .banner h2,
.page-template-page-form-custom-integration .banner h2 {
  margin-top: 30px;
}



.page-template-page-docusign main>.container,
.page-template-page-docusign-with-offer main>.container {
  width: 60%;
  height: 90vh;
}

.placeholder-date {
  display: none;
}

@media only screen and (max-width: 1023px) {

  .page-template-page-docusign main,
  .page-template-page-docusign-with-offer main,
  .page-template-page-form-custom-integration main {
    flex-direction: column;
    min-height: auto;
  }

  .page-template-page-docusign .banner,
  .page-template-page-docusign main>.container,
  .page-template-page-docusign .banner .container,
  .page-template-page-docusign>.container,
  .page-template-page-docusign-with-offer .banner,
  .page-template-page-docusign-with-offer main>.container,
  .page-template-page-docusign-with-offer .banner .container,
  .page-template-page-docusign-with-offer>.container,
  .page-template-page-form-custom-integration .banner,
  .page-template-page-form-custom-integration main>.container,
  .page-template-page-form-custom-integration .banner .container,
  .page-template-page-form-custom-integration>.container {
    width: 100%;
    padding: 10px;
  }
}

.not-found-page {
  min-height: 70vh;
  align-items: center;
  justify-content: center;
}

.half-desktop {
  max-width: 50%;
}

.min-215 {
  min-height: 215px;
}

.min-620 {
  min-height: 620px;
}

.min-500 {
  min-height: 500px;
}

.min-550 {
  min-height: 550px;
}

@media only screen and (max-width: 1023px) {

  .page-template-page-form-custom-integration .check-security-form .phone-and-prefixes-wrapper .prefixes-list,
  .page-template-page-docusign .check-security-form .phone-and-prefixes-wrapper .prefixes-list,
  .page-template-page-docusign-with-offer .check-security-form .phone-and-prefixes-wrapper .prefixes-list {
    top: 0px;
  }

  .half-desktop {
    max-width: 100%;
  }

  .min-215,
  .min-620,
  .min-550,
  .min-500 {
    min-height: 0;
  }
}

@media only screen and (max-width: 1023px) {

  .page-template-page-landing-funnel-luce,
  .page-template-page-landing-funnel-gas,
  .page-template-page-docusign,
  .page-template-page-docusign-with-offer,
  .page-template-page-form-custom-integration,
  .page-template-page-tracking-pratica,
  .page-template-page-edit-appointment,
  .page-template-page-edit-appointment-reseller {
    padding-top: 60px;
  }

  .funnel-header {
    padding: 10px 0;
  }

  .funnel-header .logo {
    height: 40px;
  }

  .docusign-wrapper iframe {
    padding: 0;
  }
}

/*Funnel UI*/
@media only screen and (max-width: 1023px) {
  /* .funnel-aside-wrapper.active {
    position: relative;
  }
  .funnel-aside-wrapper.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
  } */

  .funnel-intro-mobile .text .subtitle {
    font-weight: 700;
    font-size: 18px;
  }

  .funnel-intro-mobile .text.gas h1,
  .funnel-intro-mobile .text.gas {
    color: #0d9ddb;
  }

  .funnel-intro-mobile .text.light h1,
  .funnel-intro-mobile .text.light {
    color: #e8327c;
  }

  .funnel-intro-mobile .text h1 {
    font-weight: 700;
    font-size: 32px;
    margin: 0;
  }
}

@media only screen and (max-width: 992px) {
  .funnel-intro-mobile {
    display: inline;
  }

  .funnel-aside-wrapper {
    border-right: none;
    transition: 0.5s;
    /* transition: all 0.3s ease-in-out; */
  }

  .funnel-aside-wrapper.active {
    opacity: 1;
    visibility: visible;
    margin-right: 40px;
    max-width: calc(100vw - 40px);
  }

  .funnel-aside-wrapper.inactive {
    opacity: 0;
    visibility: hidden;
    margin-right: 0px;
    z-index: 0;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
  }

  .aside-summary-wrapper {
    margin-right: 0;
  }

  .summary-and-form-wrapper:has(.funnel-aside-wrapper.inactive) {
    background-color: #fff;
    margin-top: 0;
  }

  .funnel-wrapper:has(.funnel-aside-wrapper.active) .intro-titles-wrapper,
  .funnel-wrapper:has(.funnel-aside-wrapper.active) .funnel-intro-mobile,
  .funnel-wrapper:has(.funnel-aside-wrapper.active) .funnel-form-wrapper {
    display: none;
  }

  body:has(.funnel-aside-wrapper.active) footer {
    display: none;
  }

  body:has(.funnel-aside-wrapper.active) footer {
    display: none;
  }

  body:has(.funnel-aside-wrapper.inactive) footer {
    display: flex;
  }

  button[type="button"].btn-summary {
    display: block;
    background-color: #0d9ddb;
    color: #fff;
  }

  div.bs-stepper-content {
    max-width: none;
  }

  .aside-summary-wrapper .offer-summary {
    display: block;
    margin: 18px 0;
  }

  .tracking-pratica-form-wrapper #form-help {
    margin-top: 16px;
  }

  .tracking-pratica-form-wrapper tbody .podPdr {
    display: flex;
    gap: 4px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {

  page-template-page-docusign .banner .container,
  .page-template-page-docusign-with-offer .banner .container {
    max-width: 85%;
  }

  div.bs-stepper-content {
    max-width: calc(100% - 10%);
  }

  .funnel-aside-wrapper {
    max-width: 332px;
    margin-right: 12px;
  }
}

@media only screen and (min-width: 521px) and (max-width: 767px) {
  div.bs-stepper-content {
    max-width: calc(100% - 10%);
  }

  .funnel-aside-wrapper {
    max-width: 332px;
    margin-right: 12px;
  }
}