/* Regras do painel Adquirente de SIM/e-fatura_files/styles_7Ioy.css,
   limitadas ao painel para não afetarem o Modelo 3. */
@font-face {
  font-family: "icon-at";
  src: url("../assets/efatura/icon-at.woff") format("woff");
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Source Sans Pro e-Fatura";
  src: url("../assets/efatura/source-sans-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro e-Fatura";
  src: url("../assets/efatura/source-sans-semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro e-Fatura";
  src: url("../assets/efatura/source-sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

.projeto-efatura {
  color: #333;
  background: #fff;
  font: 14px/20px "Source Sans Pro e-Fatura", sans-serif;
}

.projeto-efatura .container {
  box-sizing: content-box;
  width: auto;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0;
}

.simol-projeto-efatura > .main-wrapper--navigation .navigation-conclude,
.simol-projeto-efatura #projeto-painel:has(.projeto-efatura) > .content--header {
  display: none;
}

.simol-projeto-efatura #projeto-painel:has(.projeto-efatura) .simol-projeto-corpo {
  padding: 0;
}

body:has(.simol-projeto-efatura .projeto-efatura) .breadcrumb.breadcrumb-alone {
  display: none;
}

.projeto-efatura [class^="atf-"],
.projeto-efatura [class*=" atf-"] {
  font-family: "icon-at", sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.projeto-efatura .atf-automoveis:before { content:"\e600"; }
.projeto-efatura .atf-cabeleireiros:before { content:"\e601"; }
.projeto-efatura .atf-educacao:before { content:"\e602"; }
.projeto-efatura .atf-euro:before { content:"\e603"; }
.projeto-efatura .atf-familia:before { content:"\e604"; }
.projeto-efatura .atf-fatura:before { content:"\e605"; }
.projeto-efatura .atf-habitacoes:before { content:"\e606"; }
.projeto-efatura .atf-informacao:before { content:"\e607"; }
.projeto-efatura .atf-lares:before { content:"\e608"; }
.projeto-efatura .atf-motociclos:before { content:"\e609"; }
.projeto-efatura .atf-ginasios:before { content:"\e901"; }
.projeto-efatura .atf-jornais:before { content:"\e904"; }
.projeto-efatura .atf-restauracao:before { content:"\e60a"; }
.projeto-efatura .atf-saude:before { content:"\e60b"; }
.projeto-efatura .atf-seta-direita:before { content:"\e60c"; }
.projeto-efatura .atf-seta-esquerda:before { content:"\e60d"; }
.projeto-efatura .atf-seta-separacao:before { content:"\e60e"; }
.projeto-efatura .atf-transportes-publicos:before { content:"\e624"; }
.projeto-efatura .atf-veterinarios:before { content:"\e900"; }
.projeto-efatura .atf-livros:before { content:"\e905"; }
.projeto-efatura .atf-museus:before { content:"\e902"; }
.projeto-efatura .atf-artes:before { content:"\e903"; }
.projeto-efatura .benefbox1 .atf-saude { background-color:#ff5a59; }
.projeto-efatura .benefbox1 .atf-educacao { background-color:#ff893a; }
.projeto-efatura .benefbox1 .atf-habitacoes { background-color:#95d655; }
.projeto-efatura .benefbox1 .atf-lares { background-color:#6cb664; }
.projeto-efatura .benefbox1 .atf-automoveis { background-color:#247755; }
.projeto-efatura .benefbox1 .atf-motociclos { background-color:#32805f; }
.projeto-efatura .benefbox1 .atf-restauracao { background-color:#febc17; }
.projeto-efatura .benefbox1 .atf-cabeleireiros { background-color:#a98ddf; }
.projeto-efatura .benefbox1 .atf-veterinarios { background-color:#d07361; }
.projeto-efatura .benefbox1 .atf-transportes-publicos { background-color:#198354; }
.projeto-efatura .benefbox1 .atf-ginasios { background-color:#942192; }
.projeto-efatura .benefbox1 .atf-jornais { background-color:#c86c44; }
.projeto-efatura .benefbox1 .atf-livros { background-color:#f1743b; }
.projeto-efatura .benefbox1 .atf-artes { background-color:#763fdf; }
.projeto-efatura .benefbox1 .atf-museus { background-color:#b8cfa1; }
.projeto-efatura .consumerYearSlide {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding: 14px 8px 6px;
  text-align: center;
}

.projeto-efatura .consumerYearSlide ul { list-style: none; margin: 0; padding: 0; }
.projeto-efatura .pyear { margin: 0; font-size: 28px; font-weight: 700; line-height: 36px; }
.projeto-efatura .pmoney { margin: 4px 0; color: #097d60; font-size: 26px; font-weight: 700; line-height: 1.25; }
.projeto-efatura .pmoney output { display: inline; padding: 0; color: inherit; font: inherit; }
.projeto-efatura .consumerYearSlide h2 { margin: 4px 0; font-size: 16px; }
.projeto-efatura .projeto-efatura-contexto { margin: 3px 0 0; color: #5a5a5a; }
.projeto-efatura .projeto-efatura-contexto:empty { display: none; }
.projeto-efatura .projeto-efatura-zero { min-height: 32px; padding: 3px 6px; font: inherit; }

.projeto-efatura .flex-prev,
.projeto-efatura .flex-next {
  position: absolute;
  top: 10px;
  left: max(6px, calc(50% - 115px));
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #097d60;
  background: #fff;
  font: 14px "icon-at";
}
.projeto-efatura .flex-next { left: auto; right: max(6px, calc(50% - 115px)); }
.projeto-efatura .flex-prev::before { content: "\e60d"; }
.projeto-efatura .flex-next::before { content: "\e60c"; }
.projeto-efatura .consumerYearSlide button:disabled { opacity: .35; }
.projeto-efatura .simol-projeto-despesas-declaradas {
  max-width: 1170px;
  margin: 0 auto 8px;
  padding-inline: 12px;
  color: #375348;
}
.projeto-efatura .simol-projeto-despesas-declaradas > summary { cursor: pointer; }

.projeto-efatura .consumerBenefSlide { padding: 12px; background: #f5f5f5; border-block: 1px solid #e5e5e5; }
.projeto-efatura .consumerBenefSlide .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: 10px;
}
.projeto-efatura .at-row-fluid,
.projeto-efatura .at-row-fluid > div { display: contents; }

.projeto-efatura .benefbox1 {
  position: relative;
  min-width: 0;
  min-height: 128px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}
.projeto-efatura .benef-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  background-color: #2a8072;
  font-size: 32px;
  line-height: 48px;
}
.projeto-efatura .benefbox1 h2 { margin: 0; font-size: 16px; line-height: 1.15; font-weight: 700; }
.projeto-efatura .benefbox1::before,
.projeto-efatura .benefbox1::after { display: none; }
.projeto-efatura .benefbox1 .euro-value {
  padding: 2px 8px;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  color: #097d60;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.projeto-efatura .projeto-efatura-editar {
  position: absolute;
  inset: 0 0 auto auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #097d60;
  font-size: 14px;
}
.projeto-efatura .projeto-efatura-editar:hover { background: #eef7f3; }
.projeto-efatura button:focus-visible, .projeto-efatura input:focus-visible {
  outline: 2px solid #078156;
  outline-offset: 2px;
}

.projeto-efatura .projeto-efatura-editor {
  width: min(460px, calc(100% - 24px));
  max-height: min(85vh, 760px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #cfdfd6;
  border-radius: 8px;
  color: #333;
}
.projeto-efatura .projeto-efatura-editor::backdrop { background: #102c2390; }
.projeto-efatura .projeto-efatura-editor h3 { margin: 0 0 12px; font-size: 20px; }
.projeto-efatura .projeto-efatura-instrucao { color: #526159; }
.projeto-efatura .projeto-efatura-rubrica {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, 9em);
  align-items: center;
  gap: 6px 10px;
  margin-block: 0 10px;
}
.projeto-efatura .projeto-efatura-rubrica legend { margin: 0 0 5px; font-size: 15px; font-weight: 600; }
.projeto-efatura .projeto-efatura-rubrica label { margin: 0; font-weight: 400; }
.projeto-efatura .projeto-efatura-montante {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 2px 6px;
  border: 1px solid #9fafa6;
  border-radius: 4px;
  font-size: 16px;
  text-align: right;
}
.projeto-efatura .projeto-efatura-montante[aria-invalid="true"] { border-color: #a52216; }
.projeto-efatura .projeto-efatura-erro { margin: 0; color: #a52216; }
.projeto-efatura .projeto-efatura-rendas-interior { grid-column: 1 / -1; }
.projeto-efatura .projeto-efatura-rendas-interior input[type="checkbox"] {
  position: static;
  clip: auto;
  width: 1em;
  height: 1em;
  margin: 0;
  opacity: 1;
  appearance: auto;
}
.projeto-efatura .projeto-efatura-editor-acoes { display: flex; justify-content: flex-end; padding-top: 10px; }
@media (max-width: 480px) {
  .projeto-efatura .consumerBenefSlide .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projeto-efatura .projeto-efatura-montante { min-height: 44px; }
}
