*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face { /* roboto-regular - latin */
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('roboto/roboto-v51-latin-regular.woff2') format('woff2');
}

@font-face { /* roboto-800 - latin */
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 800;
  src: url('roboto/roboto-v51-latin-800.woff2') format('woff2');
}

body { font-family: 'Roboto',Arial,sans-serif; }

p {
    font-size: 14pt;
    padding-bottom: 10px;
}

a { text-decoration: none; }

/* unvisited link */
a:link {
    color: #87A96B;
    font-family: 'Roboto',Arial,sans-serif;
}

a:visited { color: #87A96B; } /* visited link */

a:hover { color: #568203; } /* mouse over link */

a:active { color: #87A96B; } /* selected link */

h1
{
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 5vw;
    letter-spacing: 10px;
}

.titulo_blog
{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif, system-ui;
    font-size: clamp(2rem, 3vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-rendering: optimizeLegibility;
    color: #242424;
}
.desc_blog
{
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    color: #777;
}
.texto_blog { margin-top: 20px; }
/* 1st letter of the 1st paragraph of the article, make it YUGE, tremendous, bigly */
/*.texto_blog > *:first-child::first-letter*/
/* 1. THE BOX: Keeps the emoji and letter physically glued together */
.texto_blog .drop-cap-container {
    float: left;
    margin-right: 10px;
    margin-top: 4px;
    line-height: 0.75;
    overflow: visible;
    display: block; /* Forces it to behave as a single float unit */
}

/* 2. THE LETTER: This is the YUGE style */
.texto_blog .drop-cap-letter {
    font-size: 4rem !important;
    font-weight: bold;
    color: #2c3e50;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    vertical-align: middle;
}
/* 3. THE EMOJI: Safety net for alignment on mobile/other devices */
.texto_blog .drop-cap-container :not(.drop-cap-letter) {
    font-size: 1.6rem; 
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -4px; /* Keeps the emoji from 'sinking' */
}

.author-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.dia-cheio { color: #e91e63; }

textarea { resize: none; }

.titulo_antigo
{
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    font-size: 21pt;
    color: #666666;
}
.titulo
{
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    font-size: 21pt;
    color: #2E8B57;
}
.titulo_azul_esverdeado
{
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    font-size: 21pt;
    color: #2E8B57;
}
.titulo_admin
{
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    font-size: 18pt;
    color: #7C91A1;
}
.subtitulo
{
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    font-size: 16pt;
    color: #2E8B57;
    font-weight: bold;
}
.subtitulo_azul_esverdeado
{
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    font-size: 16pt;
    color: #2E8B57;
    font-weight: bold;
}
.subtitulo_branco
{
    font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
    font-size: 16pt;
    color: #FFFFFF;
    font-weight: bold;
}

.font_arial
{
    font-family: Arial, Helvetica, sans-serif;
}
.texto_pequeno { font-size: 9pt; }
.texto_medio { font-size: 12pt; }
.texto_muito_grande { font-size: 24pt; }





.page {
    display: flex;
    flex-wrap: wrap;
}
.margem-topo { margin-top: 120px; }

.section {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.seccao
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-sidebar-left {
    position: fixed;
    top: 120px;
    width: 200px;
    align-items: flex-start;
    padding: 0rem 2rem 2rem 2rem;
    bottom: auto;
    font-family: "Helvetica Neue", sans-serif;
}
.admin-sidebar-left-divider {
    position: fixed;
    top: 0;
    left: 200px;        /* same as sidebar width */
    width: 1px;
    height: 100vh;      /* full screen height */
    background-color: #ebeaea;
    z-index: 10;        /* stay above content if needed */
}

.content-wrapper {
    margin-left: 200px;   /* reserve space for sidebar */
    width: calc(100% - 200px); /* fill remaining space */
    min-width: 0; /* prevents flex shrink issues */
}

.intro-1, .intro-2, .hernia_type_intro-1, .hernia_type_intro-2
{
    padding: 10px;
}

.photo img, picture
{
    max-width: 100%;
    height: auto;
    display: block;
}

table.tabela_resultados_admin
{
    width: 100%;
    font-family: Tahoma, Verdana, Geneva, sans-serif;
    font-size: 10pt;
    color: #585858;
    border-collapse: collapse;
    border: 1px solid #b7bbbd; 
}
table.tabela_resultados_admin th
{
    font-family: Lucida Sans Unicode,Lucida Grande,sans-serif;
    font-size: 9pt;
    padding: 5px 5px 5px 5px;
    color: #000000;
    background-color: #ededed;
    font-weight: bold;
    border: 1px solid #b7bbbd;
}
table.tabela_resultados_admin td
{
    padding: 7px 5px 7px 5px;
    border: 1px solid #b7bbbd;
}
.table-scroll-wrapper { max-width: 90%; margin: 0 auto; overflow-x: auto; }

/* neutralize figure from ckeditor5 that no one asked for */
figure.table {
    margin: 0;
    padding: 10px 0; /* top & bottom 20px, left & right 0 */
    max-width: 100%;
    overflow-x: visible;  /* figure itself should not scroll, wrapper will */
}

.menu-admin a {
    display: block;           /* each link on its own line */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    text-decoration: none;
    padding: 0.5rem 0;        /* space between links */
    transition: color 0.2s;
}
.menu-admin a:hover { color: #111; }
.menu-admin a i {
    display: inline-block;
    width: 1.2em;  /* same for all icons */
    text-align: center;
}

/* Desktop: show left sidebar, hide mobile */
.menu-admin-desktop { display: block; }
.menu-admin-mobile { display: none; }

#banner_2_text
{
    padding-left: 5%;
    padding-right: 5%;
}

/* Mobile + Tablet Styles */
@media only screen and (max-width: 960px) {
    .menu-admin { display: flex; justify-content: center; flex-wrap: wrap;}
    .menu-admin a { display: flex; align-items: center; }
    .menu-admin a + a::before { content: "·"; margin: 0 0.4rem; color: #555; }
    .menu-admin-desktop { display: none; }
    .menu-admin-mobile { display: block; }

    .content-wrapper { margin-left: 0; width: 100%; }
    .admin-sidebar-left, .admin-sidebar-left-divider { display: none; }

    /* allow flex children to shrink */
    .content-wrapper { min-width: 0 !important; }
    .table-scroll-wrapper { width: 400px; overflow-x:auto; box-sizing:border-box; }
    .tabela_resultados_admin { width: 600px; }
}

/* Mobile Styles */
@media only screen and (max-width: 600px)
{
    #banner_text
    {
        color: #FFFFFF;
        text-shadow: #343a40 2px 2px;
        width: 100%;

        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    #banner_2_text
    {
        color: #FFFFFF;
        text-shadow: #343a40 2px 2px;
        width: 100%;

        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .margem-topo { margin-top: 75px; } /* remove desktop 120px buffer on mobile */
}

/* Tablet Styles */
@media only screen and (min-width: 600px) and (max-width: 960px)
{
    .sign-up,
    .learnmore-1,
    .learnmore-2,
    .learnmore-3
    {
        width: 50%;
    }
    
    .intro-1, .intro-2
    {
        width: 50%;
    }
    .hernia_type_intro-1
    {
        width: 40%;
    }
    .hernia_type_intro-2
    {
        width: 50%;
        height: 100%;
    }
    
    .intro-2
    {
        padding-right: 30px;
    }

    #banner_text
    {
        color: #FFFFFF;
        text-shadow: #343a40 2px 2px;
        width: 100%;

        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    #banner_2_text
    {
        color: #FFFFFF;
        text-shadow: #343a40 2px 2px;
        width: 100%;

        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Desktop Styles */
@media only screen and (min-width: 961px)
{
    .page
    {
        width: 960px;
        margin: 0 auto;
    }
    .learnmore-1,
    .learnmore-2,
    .learnmore-3
    {
        width: 33.3%;
    }
    
    .intro-1, .intro-2
    {
        width: 50%;
        box-sizing: border-box;
        float: left;
    }
    .hernia_type_intro-1
    {
        width: 40%;
    }
    .hernia_type_intro-2
    {
        width: 50%;
        height: 100%;
    }
    
    .intro-2
    {
        padding-right: 30px;
    }

    #banner_text
    {
        color: #FFFFFF;
        text-shadow: #343a40 2px 2px;
        width: 100%;

        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    #banner_2_text
    {
        color: #FFFFFF;
        text-shadow: #343a40 2px 2px;
        width: 100%;

        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .tabela_razoes
    {
        padding-left: 25%;
        padding-right: 25%;
    }
}



input, textarea, select
{
    border: 1px solid #b7bbbd;
    -webkit-border-radius: 5px; //For Safari, etc.
    -moz-border-radius: 5px; //For Mozilla, etc.
    border-radius: 5px; //CSS3 Feature
    /* gradiente do fundo */
    background: -webkit-linear-gradient(top, #E6E6E6, #FFFFFF);  /* Safari 5.1, iOS 5.0-6.1, Chrome 10-25, Android 4.0-4.3 */
    background: -webkit-gradient(linear, top, color-stop(0%,#E6E6E6), color-stop(100%,#FFFFFF)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #E6E6E6 0%,#FFFFFF 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(#E6E6E6, #FFFFFF); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#E6E6E6, #FFFFFF); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#E6E6E6, #FFFFFF); /* Standard syntax (must be last) */
    outline: none;
    padding: 3px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}




.label_checkbox
{
    display: inline-block;
    vertical-align: top;
    position: relative;
    cursor: pointer;
}

.input_checkbox input
{
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}




.box-aviso p {
    padding:1em 1em 1em 3.5em;
    font-size: 9pt;
    color: #464646;
    line-height: 1.2em;
    margin: 0 auto .3em;
    width: 80%;
}

.aviso-red p {
    background: url('../imagens/stop.png') no-repeat scroll 3px 1px #ffc7c7;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    filter:alpha(opacity=85);-moz-opacity:.85;opacity:.85;
    text-align: left;
    border: solid 1px #ff4a4a;
}

.aviso-yellow p {
    background: url('../imagens/warning.png') no-repeat scroll 3px 1px #ffdfa1;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    filter:alpha(opacity=85);-moz-opacity:.85;opacity:.85;
    text-align: left;
    border: solid 1px #e9a626;
}

.aviso-green p {
    background: url('../imagens/ok.png') no-repeat scroll 3px 1px #defbb8;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    filter:alpha(opacity=85);-moz-opacity:.85;opacity:.85;
    text-align: left;
    border: solid 1px #5e9317;
}

.formulario_login
{
    border: 1px solid #666666;
    /* cantos redondos */
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    /* sombras */
    -webkit-box-shadow: 0px 5px 5px 1px #82829B;
    box-shadow: 0px 5px 5px 1px #82829B;
}

.formulario_login_primeira_linha
{
    border-bottom: 1px solid #666666;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    /* gradiente do fundo */
    background: -webkit-linear-gradient(#DFDFEA, #B2B2BB); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#DFDFEA, #B2B2BB); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#DFDFEA, #B2B2BB); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#DFDFEA, #B2B2BB); /* Standard syntax (must be last) */
}

.formulario_login_ultima_linha
{
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    background-color: #E6E6E6;
}

.celula_editar
{
    background: url('../imagens/editar.png') no-repeat scroll center;
}

#banner
{
    width: 100%;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 46px;
    overflow: hidden;
}

.alinhado_meio { text-align: center; }
.alinhado_esquerda { text-align: left; }

#banner img
{
    display: block;
    width: 100%;
    max-height: auto;
}

#banner_marcar_consulta
{
    width: 100%;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.escuro { filter: brightness(0.6); }

.linkclaro { color: #FFFFFF; }

.azulesverdeado,.azulesverdeado-hover:hover { color:#000!important;background-color:#2E8B57!important }

.corprincipal_fundo,.corprincipal_fundo-hover:hover { color:#000!important;background-color:#CCCC99!important }

.corprincipal_fundo_esbatida { color:#000!important;background-color: #f4f9e8 !important }

.azul_verdasco { color: #2E8B57; }

#footer
{
    font-size: 0.8em;
    color: #999999;
    background-color: #f5f5dc;
    padding-bottom: 7px;
    padding-top: 7px;
}

.link-card { transition: all 0.2s ease; }
.link-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.link-card:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.link-card a { display: block; }

a.botao-redondo {
    display: inline-flex; align-items: center;
    padding: 8px 16px;
    text-decoration: none; border-radius: 999px;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px; font-weight: bold;
    letter-spacing: -0.5px; line-height: 1.1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

.botao-redondo-texto {
    color: #FB8C00; /* fallback for old browsers */
    background: linear-gradient(90deg, #FB8C00, #87A96B);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

a.botao-redondo:hover { background-color: #f2f2f2; }

.botao-redondo-icon {
    color: #FB8C00;
    font-size: 13px;
}

.painel { display: flex; align-items: center; padding: 12px 16px; }

.flag {
    display: inline-block;
    width: 1.333333em;
    line-height: 1em;
    background-size:contain;
    background-position:50%;
    background-repeat:no-repeat
    position: relative;  /* legacy fallback for very old IE */
}
.flag:before { content: "\00a0"; } /* non-breaking space */
.flag-pt { background-image: url('../imagens/flags/4x3/pt.svg'); }
.flag-en { background-image: url('../imagens/flags/4x3/gb.svg'); }

/* administração inserir artigo blog */

.ck-editor__editable_inline { min-height: 50vh; max-height: 50vh; overflow-y: auto; overflow-x: hidden; }

.translate-header {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px; /* space between button and bar */
    margin-bottom: 10px;
}

#progressContainer {
    flex-grow: 1;       /* takes remaining space to the right */
    width: 100%;
    height: 20px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    border: 1px solid #999;    /* darker grey border for “container” look */
    border-radius: 6px;        /* rounded corners for softness */
}

#progress {
    width: 0%;
    height: 100%;
    background: #4caf50; /* green bar */
    text-align: center;
    color: white;
    line-height: 20px;
    transition: width 0.2s;
    display: block;
}

.loader {
    border: 3px solid #f3f3f3; /* light gray background */
    border-top: 3px solid #4caf50; /* green spinning part */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

    @keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
