/* Define que a altura total da tela é 100% */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.document-box{
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}

h4 {
  text-align: center;
  margin-bottom: 20px;
}





/* Estilo para o container do botão */
.button-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Canto arredondado */
    border: 2px solid white; /* Borda branca */
  }
  
  /* Estilo para a imagem dentro do botão */
  .button-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para a imagem cobrir o botão */
    border-radius: 10px; /* Cantos arredondados */
    transition: transform 0.3s ease-in-out;
  }
  
 
  /* ITENS DE NAVEGALÇAO FORA DO MENU */
  /* Container para o botão */
.button-container {
    position: relative; /* Tornar o contêiner da imagem um contêiner de referência para o texto */
    overflow: hidden;
    border-radius: 10px; /* Canto arredondado */
    border: 2px solid white; /* Borda branca */
    width: 100%;
    height: 300px; /* Ajuste o tamanho conforme necessário */
  }
  
  /* Estilo para a imagem dentro do botão */
  .button-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para que a imagem cubra todo o botão */
    border-radius: 10px; /* Cantos arredondados */
    transition: transform 0.3s ease-in-out;
  }
  
  /* Efeito de transformação quando o mouse passa sobre a imagem */
  .button-container:hover .button-image {
    transform: scale(1.1); /* Aumenta a imagem ao passar o mouse */
  }
  
  /* Estilo para o texto sobre a imagem */
  .button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Para centralizar o texto */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    width: 80%; /* Largura do box do texto */
  }
  
  /* Estilo para os títulos no texto */
  .button-text h4 {
    font-size: 24px;
    margin: 0;
  }
  
  /* Estilo para as descrições no texto */
  .button-text p {
    font-size: 16px;
    margin: 0;
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    .col-12.col-md-6 {
      width: 100%;
      padding: 20px; /* Padding de 20px para telas menores */
    }
  
    .button-container {
      height: 250px; /* Ajuste a altura para dispositivos móveis, se necessário */
    }
  }
  
  .container.mt-4 {
    position: relative;
    padding: 10px;
    background-image: url('../media/diversos/bg-01.jpg');
    background-size: cover;
    background-attachment: fixed; /* A imagem fica fixa enquanto rola a página */
    z-index: -1; /* Garante que o fundo fique atrás do conteúdo */
}

.background-overlay {
    background-image: url('../media/diversos/bg-01.jpg');
    background-size: cover;
    z-index: -1;
    background-attachment: fixed;
    margin-top: 1px;
}

.tempo-logo-container{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 100%;
}

.templo-logo{
  margin-bottom: 15px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #007bff;

}

.templo-card {
  padding: 20px;
  background: rgba(130, 165, 149, 0.699);
  text-align: center;
  color: #333;
  border: 2px solid #007bff;
  border-radius: 10px;
}

.btn-templo {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background: #007bff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
  color: white;
}

.btn-templo:hover {
  background: #0056b3;
  color: white;
}
.button-text a {
  text-decoration: none;
}

.button-text a:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* LAND PAGE COM O INSTITUCIONAL */
/* estilos básicos e para animação */
.document-box {
  padding: 50px 15px;
  background: #f9f9f9;
}
.document-container {
  max-width: 900px;
  margin: 0 auto;
}

/* RODAPE */

/* Faz com que o conteúdo ocupe todo o espaço disponível */
.main-content {
  flex: 1;
  position: relative; /* necessário para z-index funcionar */
  z-index: 10; /* valor alto para ficar na frente */
  margin-top: 10px;
}


.whatsapp {
  background-color: #25d366;
}

.instagram {
  background-color: #e4405f;
}

.social-link:hover {
  opacity: 0.8;
}

.mapa {
  width: 600px;
  height: 400px;
  border: none;
}

/* TRADUTOR DO SITE */
/* Esconde a barra azul do Google Translate */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

/* Estiliza os botões de idioma */
.language-switcher {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.language-switcher a img {
  width: 40px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  height: auto;
  margin: 5px;
  cursor: pointer;
}

/* NOTICIA DESTAQUE */
.destaque-wrapper {
  padding: 10px;
  border-radius: 10px;
}
.destaque-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-right: 20px;
}
.destaque-header {
  background: #73a1d3;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
}
.destaque-body {
  padding: 15px;
}
.destaque-list {
  display: flex;
  flex-direction: column;
}
.destaque-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: inherit;
}
.destaque-item:last-child {
  border-bottom: none;
}
.destaque-imagem {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}
.destaque-conteudo {
  margin-left: 10px;
  flex: 1;
}
.destaque-titulo {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}
.destaque-resumo {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}
.destaque-data {
  font-size: 12px;
  color: #999;
}

/* LER NOTICIA */
/* Wrapper para centralizar e ajustar largura */
.view-wrapper {
  width: calc(100% - 40px); /* Reduzindo 20px de cada lado */
  max-width: 900px;
  margin: 30px auto;
  display: flex;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Cartão da notícia */
.view-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.view-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.2);
}

/* Cabeçalho */
.view-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  padding: 18px 20px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.view-header i {
  margin-right: 12px;
  font-size: 24px;
}

/* Corpo do conteúdo */
.view-body {
  padding: 25px;
}

/* Imagem da notícia */
.view-imagem {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.view-imagem:hover {
  opacity: 0.9;
}

/* Conteúdo */
.view-conteudo {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* Data da notícia */
.view-data {
  display: flex;
  align-items: center;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.view-data i {
  margin-right: 8px;
  font-size: 16px;
  color: #007bff;
}

/* Responsividade */
@media (max-width: 768px) {
  .view-wrapper {
      width: calc(100% - 20px);
      padding: 15px;
  }

  .view-card {
      border-radius: 10px;
  }

  .view-header {
      font-size: 18px;
      padding: 15px;
  }

  .view-body {
      padding: 20px;
  }

  .view-imagem {
      max-height: 300px;
  }

  .view-conteudo {
      font-size: 16px;
  }

  .view-data {
      font-size: 13px;
  }
}


/* BOTAO VOLTAR */
.btn-voltar {
  width: 100%;
  background-color: #eb9443 !important;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  margin-top: 10px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-voltar:hover {
  background-color: #0056b3;
}

/* LOGIN FORM */
/* Wrapper para centralizar o formulário */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  
}

/* Estilizando os campos de input */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #007bff;
  outline: none;
}

/* Estilo do botão de login */
.btn-login {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  width: 100%;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: #0056b3;
}

.orange{
  background-color: orange;
  border-radius: 10px;
  font-weight: bold;
}

/* ADICIONAR NOVO INFORMATIVO */
/* Estilos para o formulário de informativo */
.form-informativo {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.form-informativo-label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.form-informativo-input,
.form-informativo-file {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

.form-informativo-input:focus,
.form-informativo-file:focus {
  outline: none;
  border-color: #007bff;
}

.form-informativo-check {
  margin-right: 10px;
}

.form-informativo-check-label {
  font-size: 14px;
  color: #555;
}

.form-informativo-submit {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.form-informativo-submit:hover {
  background-color: #0056b3;
}

/* LEITURA DE PAGINAS FIXAS DO SITE */
.espaco-fisico {
    margin-bottom: 20px;
}

.titulo-espaco {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2a2a2a;
}

.descricao-espaco {
    font-size: 1rem;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 15px;
}


/* Cada card do banner */
/* Estilização principal do destaque */
.destaque-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
}

.destaque-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 50%;
}

.destaque-header {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

/* SPLASH BANNER */
.splash-banner {
  position: relative;
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Cada card do banner */
.splash-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  display: flex;
  flex-direction: column; /* Alinha tudo na vertical */
  align-items: center;
}

.splash-card img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Garante que a imagem inteira apareça */
  border-radius: 10px;
}

/* Exibir apenas o card ativo */
.splash-card.active {
  opacity: 1;
}

/* Estilo do texto complementar abaixo da imagem */


/* BOX ESPECIAIS PARA MOLDURAS */
/* Estilos Globais para os Boxes */
.box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

/* Estilo base para qualquer box */
.box {
  background: rgba(255, 255, 255, 0.507); /* Transparência no fundo */
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 100%;
  position: relative; /* Para o posicionamento da moldura */
}

/* Moldura da box */
/* Moldura da box */
.box .moldura {
  position: absolute; /* Garante que a moldura será posicionada em relação ao seu contêiner */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%; /* Garantir que a moldura ocupe 100% da largura */
  height: 100%; /* Garantir que a moldura ocupe 100% da altura */
  background-size: 100% 100%; /* Garantir que a imagem de fundo cubra completamente a div */
  z-index: -1; /* Moldura ficará atrás do conteúdo */
  border-radius: 10px; /* Bordas arredondadas */
  background-image: url(""); /* Será preenchido dinamicamente no PHP */
}



/* Box com cabeçalho */
.box-header {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

/* Box flexível para elementos internos */
.box-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Moldura para fotografias */
.box-foto {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
}

.box-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Moldura para exibir notícias */
.box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-left: 5px solid #007bff;
}

.box h3 {
  font-size: 1.2rem;
  margin: 0;
  padding-left: 45px;
}

.box p {
  font-size: 1rem;
  color: #555;
  padding-left: 45px;
}



/* LEITOR DE PDF */
.upamc-pdf-wrapper {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.upamc-pdf-title {
    background-color: #ffffffb7;
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 16px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
}

.upamc-pdf-container {
    width: 100%;
    max-width: 25cm; /* Limite para telas grandes */
    aspect-ratio: 210 / 297; /* Mantém proporção A4 */
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(42, 42, 63, 0.5);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    padding: 10px;
}

.upamc-pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Ajuste para telas menores (celular) */
@media (max-width: 768px) {
    .upamc-pdf-wrapper {
        margin: 20px auto;
        padding: 10px;
    }

    .upamc-pdf-title {
        font-size: 1.4rem;
    }

    .upamc-pdf-container {
        padding: 5px;
        border-radius: 8px;
    }
}
