@charset "utf-8";

/* DIN Next font faces */
@font-face {
  font-family: 'DIN Next';
  font-weight: 900;
  src: url('../fonts/din-next/din-next-black.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 900;
  font-style: italic;
  src: url('../fonts/din-next/din-next-black-italic.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 700;
  src: url('../fonts/din-next/din-next-bold.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 700;
  font-style: italic;
  src: url('../fonts/din-next/din-next-bold-italic.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 800;
  src: url('../fonts/din-next/din-next-heavy.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 800;
  font-style: italic;
  src: url('../fonts/din-next/din-next-heavy-italic.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 600;
  src: url('../fonts/din-next/din-next-medium.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 600;
  font-style: italic;
  src: url('../fonts/din-next/din-next-medium-italic.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 400;
  src: url('../fonts/din-next/din-next-regular.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 400;
  font-style: italic;
  src: url('../fonts/din-next/din-next-italic.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 300;
  src: url('../fonts/din-next/din-next-light.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 300;
  font-style: italic;
  src: url('../fonts/din-next/din-next-light-italic.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 200;
  src: url('../fonts/din-next/din-next-ultra-light.otf') format('opentype');
}

@font-face {
  font-family: 'DIN Next';
  font-weight: 200;
  font-style: italic;
  src: url('../fonts/din-next/din-next-ultra-light-italic.otf')
    format('opentype');
}

/* CSS Document */

body,
html,
input,
select,
textarea,
button {
  font-family: 'DIN Next', Tahoma, Geneva, sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
}

.entity {
  font-size: 1.3em;
  font-weight: bold;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 32px;
}

.card {
  background: #fff;
  border: 1.5px solid #e3e3e3;
  border-radius: 10px;
  width: 180px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
}

.card img {
  height: 48px !important;
  margin-bottom: auto;
}

.card h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px 0;
  color: #222;
}

.card a {
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: start;
  height: 100%;
  text-decoration: none;
}

.card a > * {
  width: fit-content;
  text-align: start;
}

.card p {
  font-size: 0.98em;
  color: #888;
  margin: 0;
}

.header,
.footer {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5a2318;
  color: #fff;
  border: 0px;
}

.header-content,
.footer-content {
  width: 100%;
  max-width: 1200px;
  text-align: left;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}

.footer span {
  font-size: 16px;
  font-weight: 300;
  color: #cccccc;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-text {
  color: #ffffff;
  font-size: 16px;
  margin-right: 15px;
}

.btn {
  border: none;
  border-radius: 25px;
  padding: 6px 16px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'DIN Next', Tahoma, Geneva, sans-serif;
}

.white-btn {
  background-color: #ffffff;
  color: #000000;
  text-decoration: underline;
}

.yellow-btn {
  background-color: #ffc72c;
  color: #333333;
}

.page-title {
  font-weight: 400;
  font-size: 28px;
  margin: 0;
}

.page-subtitle {
  font-size: 16px;
  color: #8c8c8c;
  width: 100%;
  text-align: start;
  margin: 0;
}

.title-block {
  margin: 24px 0;
}

.partner-header {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.banner-section {
  margin-bottom: 32px;
}

.banner-desktop,
.banner-mobile {
  width: 100%;
  display: block;
}

.banner-desktop {
  display: block;
}
.banner-mobile {
  display: none;
}

ul {
  margin: 0px;
  padding: 0px;
}

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

li.error {
  display: block;
  color: #d74d4d;
  font-size: 12px;
}

@media (max-width: 768px) {
  .banner-desktop {
    display: none;
  }
  .banner-mobile {
    display: block;
  }
}

/* Animacoes SlideIn */
@keyframes slidein {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slidein300 {
  opacity: 0;
  animation: slidein 1s ease 300ms forwards;
}
.slidein500 {
  opacity: 0;
  animation: slidein 1s ease 500ms forwards;
}
.slidein700 {
  opacity: 0;
  animation: slidein 1s ease 700ms forwards;
}

@media (max-width: 900px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90vw;
  }
}

/* Template Login - Classes específicas */
.logo-header {
  height: 54px;
}

.header-link {
  text-decoration: none;
  color: black;
}

.login-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}

.info-section {
  flex: 1 1 400px;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 48px 0px;
}

.info-image {
  width: 100%;
}

.info-title {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

.info-text-large {
  font-size: 1.1em;
  color: #888;
  margin-bottom: 16px;
}

.info-text {
  font-size: 1em;
  color: #888;
}

.login-card {
  flex: 1 1 300px;
  margin-top: 48px;
  background: #fff;
  padding: 32px;
  padding-right: 0px;
  display: flex;
  flex-direction: column;
}

.login-card-title {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.login-card-subtitle {
  font-size: 1em;
  color: #888;
  margin-bottom: 16px;
}

.form-spacing {
  margin: 24px 0px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 1em;
  color: #222;
  font-weight: 400;
}

.form-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 8px;
  border: 1.5px solid #e3e3e3;
  font-size: 1em;
  margin-top: 6px;
  margin-bottom: 8px;
}

.messages-container {
  margin-bottom: 8px;
}

.btn-primary {
  width: 100%;
  background: #5a2318;
  color: #fff;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1em;
  font-weight: 300;
  text-align: center;
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}

.divider-section {
  width: 100%;
  text-align: center;
  color: #8c8c8c;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: #8c8c8c;
}

.divider-text {
  width: fit-content;
  text-wrap: nowrap;
}

.form-spacing-bottom {
  margin-bottom: 24px;
}

.btn-secondary {
  width: 100%;
  background: #fff;
  color: #5a2318;
  border: 1.5px solid #5a2318;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1em;
  font-weight: 300;
  text-align: center;
  display: block;
  text-decoration: none;
}

.rich-calendar-input {
  width: 100%;
  min-width: 90px;

  background: #fff;
  padding: 8px;
  border: 1px solid #cccccc;

  border-radius: 4px 0px 0px 4px;
  border-right: 0px;
  padding-right: 0px;

  color: #8c8c8c;
}

li > span {
  display: flex;
  align-items: center;
}

.rich-calendar-button {
  padding: 6px;
  background: #fff;
  border: 1px solid #cccccc;
  border-radius: 0px 4px 4px 0px;
  border-left: 0px;
}

.menu_conteudo li.pesquisa input {
  max-width: 90px;
  margin-top: 0px;
  padding: 8px;
  border: 1px solid #cccccc;
  border-radius: 4px 0px 0px 4px;
  border-right: 0px;
}

.menu_conteudo li.pesquisa input:focus {
  outline: none;
  border: 1px solid #cccccc;
  border-right: 0px;
}

.menu_conteudo li.pesquisa .lupa {
  height: 25px;
  background: #fff;
  border: 1px solid #cccccc;
  border-radius: 0px 4px 4px 0px;
  border-left: 0px;

  background-image: url('../imgs/magnifying-glass.png');
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: center;
}

.mensagens .warn {
  padding: 200px;
  text-align: center;
  background-repeat: no-repeat;
  background-position: 5px center;
  border-radius: 10px;
  border: 1px solid #cccccc;

  background-image: none;
  background: transparent;
  margin-bottom: 32px;

  font-weight: 400;
  color: #8c8c8c;
}

/* Styles moved from Certidao.xhtml inline styles */
.certidao-header-wrapper {
  margin-bottom: 24px;
}
.certidao-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
}
.certidao-title-group h1 {
  font-size: 28px;
  color: #222;
  margin: 0px;
  font-weight: 500;
}
.certidao-title-group .subtitle {
  color: #888;
  font-size: 16px;
}
.certidao-dates-row {
  font-size: 1.1rem;
  color: #444;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.certidao-dates-row p {
  margin: 0px;
}
.certidao-dates-row .dot-sep {
  color: #888;
  font-size: 1rem;
  font-weight: 400;
  margin-left: 12px;
  margin-right: 12px;
}
.certidao-dates-row .small-muted {
  margin: 0px;
  color: #888;
  font-size: 1rem;
  font-weight: 400;
  margin-left: 12px;
}

.banner-section.margin-top-128 {
  margin-top: 32px;
}

.menu_conteudo li.pesquisa {
  display: flex;
  align-items: center;
  margin-left: 8px !important;
}

.certidao-calendar-right .rich-calendar-input {
  padding: 8px;
  border: 1px solid #8c8c8c;
  border-radius: 4px;
}

.col-center-20 {
  text-align: center;
  width: 20px;
}

.certidao-dates-li {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.alvara-loading .modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  gap: 16px;
}
.skeleton-image {
  width: 120px;
  height: 80px;
  background: #e3e3e3;
  border-radius: 8px;
  margin-bottom: 12px;
  animation: skeleton-shimmer 1.2s linear infinite;
}
.skeleton-title {
  width: 60%;
  height: 28px;
  background: #e3e3e3;
  border-radius: 6px;
  margin-bottom: 8px;
  animation: skeleton-shimmer 1.2s linear infinite;
}
.skeleton-text {
  width: 80%;
  height: 18px;
  background: #e3e3e3;
  border-radius: 6px;
  margin-bottom: 8px;
  animation: skeleton-shimmer 1.2s linear infinite;
}
.skeleton-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.skeleton-row {
  width: 90%;
  height: 16px;
  background: #e3e3e3;
  border-radius: 6px;
  animation: skeleton-shimmer 1.2s linear infinite;
}
.skeleton-buttons {
  width: 60%;
  height: 36px;
  background: #e3e3e3;
  border-radius: 8px;
  margin-top: 16px;
  animation: skeleton-shimmer 1.2s linear infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}
.skeleton-image,
.skeleton-title,
.skeleton-text,
.skeleton-row,
.skeleton-buttons {
  background: linear-gradient(90deg, #e3e3e3 25%, #f5f5f5 50%, #e3e3e3 75%);
  background-size: 400px 100%;
}

.rich-table-cell {
  font-family: 'DIN Next', sans-serif !important;
}

.rich-table-subheader {
  background-color: #ffffff !important;
  height: 30px;
}

.rich-table-footercell {
  background-color: #ffffff !important;
}

.rich-table-subheadercell {
  padding: 14px !important;
}

.rich-table-subheader,
.rich-table-subheadercell,
.rich-table-sortable-header {
  font-family: 'DIN Next', sans-serif !important;
  font-weight: 600 !important;
}
