/*
Theme name:     criacoesestudogenealogia
Theme URI:      criacoesbutzke.com.br e amoksys.com.br
Author:         Rubinei Butzke
Author URI:     criacoesbutzke.com.br
Description:    Criado especialmente para apresentar ferramentas de pesquisa genealógicas: contendo uma página inicial com quatro colunas. Cada coluna apresentando uma ferramenta: através de uma imagem principal e um texto explicativo com os devidos links, caso existam e um botão de link, é possível, também colocar um laço de fita sobre a imagem para destacar a quantidade de itens disponível para pesquisa; e uma seção para indicar sites recomendados. Nas páginas das ferramentas apresenta espaços para campos de entrada, escolha e apresentação dos dados; Há um cabeçalho com logo do site, espaço para o nome e um navegador para dashboard. O rodapé é composto por três colunas onde apresentamos a missão do site, o registro do criador no centro e a esquerda dados de contato e sobre últimas atualizações.
Version:        1.0.9
Text domain:    criacoesestudosgenealogia
*/
/* Estilos Globais */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}
.nav-wrapper .brand-logo {
    display: block;
}
.nav-wrapper .brand-logo img {
    max-height: 60px;
}
@media screen and (max-width: 600px) {
    .nav-wrapper .brand-logo img {
        max-height: 54px;
    }
}
footer.rodape {
    background-color: rgba(238,110,115,1);
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header Styles */
.header-nav .main-container {
    padding: 0 10px;
}

.header-nav .main-container .col.s12 {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Impede a quebra de linha */
    gap: 8px; /* Reduz o espaçamento entre os elementos */
    justify-content: space-between; /* Distribui os elementos uniformemente */
}

h1.cabecalho {
    line-height: normal !important;
    font-weight: bolder;
    font-size: clamp(1.6rem, 4vw, 2rem); /* Reduz o tamanho da fonte */
    text-align: center;
    flex-grow: 1;
    margin: 0 5px; /* Reduz margens */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-wrapper .brand-logo img {
    max-height: 50px; /* Reduz o tamanho do logo */
}

#site-icons-trigger {
    background-color: transparent !important;
    box-shadow: none !important;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

@media screen and (max-width: 992px) {
    h1.cabecalho {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }
}

@media screen and (max-width: 600px) {
    .header-nav .main-container {
        padding: 0 5px;
    }

    .header-nav .main-container .col.s12 {
        justify-content: space-between;
    }

    h1.cabecalho {
        font-size: clamp(1.5rem, 4vw, 2rem);
        flex-basis: 100%;
        margin: 10px 0;
        white-space: normal;
    }

    .nav-wrapper .brand-logo img {
        max-height: 48px;
    }

    #site-icons-trigger {
        width: 36px;
        height: 36px;
    }
}
.header-nav .main-container .col.s12 {
    display: flex;
    align-items: center;
}
#site-icons-trigger {
    background-color: transparent !important;
    box-shadow: none !important;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Modal Overlay */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Tools Modal */
.modal.tools-modal {
    width: 400px !important;
    max-height: 380px !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    position: fixed !important;
}
.modal.tools-modal img {
    width: 320px;
    height: 240px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.modal.tools-modal .modal-content {
    padding-bottom: 10px;
}
.modal.tools-modal .modal-footer {
    text-align: center;
    padding: 0 0 10px 0;
}
.modal.tools-modal .modal-footer .btn {
    margin: 0 10px;
}
.modal.tools-modal .modal-footer .row {
    margin-bottom: 0;
}

/* Image Zoom Modal */
.modal.image-zoom-modal {
    width: auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    top: 5% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: fixed !important;
    background: none !important;
}
.modal.image-zoom-modal .modal-content {
    padding: 0;
    background: none;
}
.modal.image-zoom-modal .image-zoom-container {
    background-color: white;
    margin: 5px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px;
    text-align: center;
}
.modal.image-zoom-modal .image-zoom-container img#zoom-img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}
.modal.image-zoom-modal .image-zoom-container figcaption {
    font-size: 14px;
    color: #004d40;
    margin: 10px 0;
    text-align: center;
}
.modal.image-zoom-modal .modal-footer {
    text-align: center;
    padding: 0 0 10px 0;
    background: none;
}
.modal.image-zoom-modal .modal-footer .btn {
    margin: 0 10px;
}

/* Tutorial Modal */
.modal.tutorial-modal {
    width: 80vw !important;
    max-height: 80vh !important;
    top: 10% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: fixed !important;
}
.modal.tutorial-modal .modal-content {
    text-align: center;
    padding: 20px;
}
.modal.tutorial-modal .modal-content .image-container {
    position: relative;
    display: inline-block;
}
.modal.tutorial-modal .modal-content img#modal-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 10px auto;
    display: block;
}
.modal.tutorial-modal .modal-content figcaption.tooltip-figcaption {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 8px;
    text-align: center;
    z-index: 10;
}
.modal.tutorial-modal .modal-content .image-container:hover figcaption.tooltip-figcaption {
    display: block;
}
.modal.tutorial-modal .modal-content .col.l8.s12.m8 {
    padding: 10px;
}
.modal.tutorial-modal .modal-content p[data-type="txt1"],
.modal.tutorial-modal .modal-content p[data-type="txt2"] {
    margin: 5px 0;
    text-align: left;
}
.modal.tutorial-modal .modal-footer {
    text-align: center;
    padding: 0 0 10px 0;
}
.modal.tutorial-modal .modal-footer .btn {
    margin: 0 10px;
}
.modal.tutorial-modal .modal-content .btn {
    margin: 10px auto;
}

/* Icons Modal */
.modal.icons-modal {
    width: 300px !important;
    max-height: 150px !important;
    top: 20px !important;
    right: 120px !important;
    bottom: auto !important;
    left: auto !important;
    position: fixed !important;
}
.modal.icons-modal .modal-content {
    text-align: center;
    padding: 20px;
}
.modal.icons-modal .modal-content .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal.icons-modal .modal-content .icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.modal.icons-modal .modal-content .icon-container.disabled {
    pointer-events: none;
    opacity: 0.5;
}
.modal.icons-modal .modal-content .icon-container span {
    font-size: 40px;
    color: #ee6e73;
}
.modal.icons-modal .modal-content .icon-container span:hover {
    color: #000;
}
.modal.icons-modal .modal-content .icon-container.disabled span:hover {
    color: #d0d0d0;
}
.modal.icons-modal .modal-content .icon-container p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #004d40;
}

/* Settings Modal */
.modal.settings-modal {
    width: 350px !important;
    max-height: 200px !important;
    top: 20px !important;
    right: 120px !important;
    bottom: auto !important;
    left: auto !important;
    position: fixed !important;
}
.modal.settings-modal .modal-content {
    text-align: center;
    padding: 20px;
}
.modal.settings-modal .modal-content p {
    margin: 10px 0;
    font-size: 16px;
    color: #004d40;
}
.modal.settings-modal .modal-footer {
    text-align: center;
    padding: 0 0 10px 0;
}
.modal.settings-modal .modal-footer .btn {
    margin: 0 10px;
}

/* Links e Texto */
a[disabled="disabled"] {
    pointer-events: none;
    opacity: 0.5;
}
a.card-text {
    color: #3390ff !important;
}
a.cabecalho {
    color: #ffffff !important;
}
a:hover {
    font-weight: bolder;
}
b {
    font-weight: bolder;
}
b:hover {
    background-color: #7bdcb5;
}
p {
    margin: 1em;
}
p.descricao {
    hyphens: auto;
    font-family: 'Philosopher', sans-serif;
}
h6 {
    margin-top: 0px !important;
    margin-bottom: 7px !important;
}

/* Figure e Figcaption */
figure {
    float: left;
    position: relative;
    margin-bottom: 0px !important;
}
figure figcaption {
    margin-top: -110px;
    display: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    box-sizing: inherit;
    background-color: rgba(0,0,0,0.5);
}
figure figcaption.center {
    position: absolute;
    bottom: 0; /* Alinhar na base da imagem */
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px;
}
figure:hover figcaption {
    display: block;
}

/* Outros Estilos Usados */
.no-margin {
    margin: 0 !important;
}
.no-margin-top {
    margin-top: 0 !important;
}
.no-margin-bottom {
    margin-bottom: 0 !important;
}
.no-padding-top {
    padding-top: 0 !important;
}
.data-background {
    background-color: rgba(238,110,115,0.1);
    height: 188px !important;
    margin-top: 0px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.text-center {
    text-align: center;
    font-size: 20px;
    font-weight: bolder;
}
.center-itens {
    display: inline-flex !important;
}
.content-superior {
    margin: 0px !important;
    padding: 0px;
}

.card.min-height-572 {
    min-height: 590px !important;
}
label#date-diff-result-years, label#date-diff-result-months, label#date-diff-result-days {
    color: black !important;
    font-size: 20px !important;
    font-weight: bolder !important;
}
.row {
    margin-bottom: 10px !important;
}
.parceiros-rodape {
    background: #ffffff;
}

/* Estilos não usados em front-page.php ou header.php (manter até verificação em outras páginas) */
a.seletor-de-nr {
    color: #3390ff !important;
}
a.seletor-de-nr:hover {
    font-weight: normal !important;
}
a#seletor-de-nr:hover {
    font-weight: normal !important;
    font-style: italic !important;
}
p.footer-text {
    margin: 0px !important;
}
footer-creditos {
    justify-content: right;
}
.tela-cel {
    max-width: 100%;
    overflow: hidden;
    align-content: center;
    margin: 1px;
}
.caix {
    padding: 2px;
    background-color: #7BDCB5;
    display: table;
    font-size: 150% !important;
    text-align: center;
    vertical-align: middle;
}
.caixao {
    padding: 2px;
    background-color: #7BDCB5;
    display: table;
    font-size: 200% !important;
    text-align: center;
    vertical-align: middle;
}
.caixa {
    padding: 2px;
    background-color: #7BDCB5;
    display: table;
    font-size: 100% !important;
    text-align: center;
    vertical-align: middle;
}
.nrmostra {
    background-color: #7BDCB5;
}
.caixinha {
    padding: 0px;
    margin-top: 0px;
    display: table;
    font-size: 85% !important;
    text-align: center;
    vertical-align: middle;
}
.black.text {
    color: black;
}
.meio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
}
.objetivo {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.objetivo:hover {
    width: 100%;
    white-space: normal;
}
.small-text {
    font-size: 70% !important;
    color: #004d40 !important;
}
.nome-nr {
    font-size: 1.2em !important;
    color: #004d40 !important;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.nome-nr:hover {
    width: 100%;
    white-space: normal;
}
.text-indent {
    text-indent: 2em !important;
}
.text-indent-invertido {
    padding-left: 1em !important;
    text-indent: -1em !important;
    text-align: justify;
}
.segundo {
    font-size: 1.2em !important;
    font-weight: 900;
    color: #004d40 !important;
}
.obs-norma {
    font-size: .6em;
    color: #120a8f !important;
    font-style: italic;
}
.material-icons.md-18 {
    font-size: 18px;
}
.material-icons.md-28 {
    font-size: 28px;
}
.material-icons.md-38 {
    font-size: 38px;
}
.material-icons.md-48 {
    font-size: 40px;
}
.material-icons.md-58 {
    font-size: 58px;
}
.borda {
    border: 1px solid black;
}
.ggg {
    font-size: 40px;
}
.numero-nr {
    font-size: 40px;
}
#condensad {
    font-stretch: condensed;
}