@font-face {
    font-family: fontelaboratorios;
    src: url(https://laboratorio.net.br/fonts/Century-Gothic.ttf) format("truetype");
}


/* ============================================================
   VARIÁVEIS E BASE
   ============================================================ */

body {
    --cor-primaria: #001f5b;
    --cor-segundaria: #28aee4;
    --cor-menu-mobile: var(--cor-segundaria);
    --cor-txt-menu: #fff;
    --cor-link-login: var(--cor-segundaria);
    --cor-logo-home: var(--cor-primaria);
    --cor-logo-subpag: var(--cor-primaria);
    --botao-menu-mobile: var(--cor-segundaria);
    --cor-rodape: var(--cor-primaria);
    --cor-link: var(--cor-segundaria);
    --cor-icones: var(--cor-primaria);
    --fundo-primario: #fff;
    --botao-buscar: var(--cor-menu-mobile);
    --botao-rede-social: var(--cor-segundaria);
    --fundo-menu-bradcamp: #f5f5f5;
    --cor-letra-bradcamp: var(--cor-primaria);
    --fundo-menu-topo: var(--cor-segundaria);
}

#headertop {
    border-bottom: 1px solid #7d7d7d;
}

.titulo-rodape span {
    color: #FFF !important;
}

#logo_rodape_txt_img {
    max-height: 20px;
    margin-bottom: 5px;
}


/* ============================================================
   #logo_txt_img — FALLBACK
   ============================================================ */

#logo_txt_img {
    width: 190px;
    vertical-align: initial;
    position: relative;
    top: 1px;
}

body#homepage #logo_txt_img {
    top: 4px;
}

@media screen and (max-width: 500px) {
    #logo_txt_img {
        width: 171px;
        top: 2px;
    }
    .aumenta-cabecalo #logo_txt_img {
        margin-bottom: -6px;
    }
    body#homepage #logo_txt_img {
        top: 4px;
    }
}


/* ============================================================
   COMENTÁRIOS EMPRESA
   ============================================================ */

body#idbody:has(#fade[style*="display"][style*="block"]) {
    height: 100vh;
    overflow: hidden;
}

form[name="frm1"] h4[style*="margin-bottom"] {
    margin-bottom: 30px !important;
}

#lightboxfalecomlugar .lightboxfalecom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.poi-write-reviewtexto,
.poi-write-review {
    border-radius: 5px;
}

/* .poi-write-reviewtexto — FALLBACK */
.poi-write-reviewtexto {
    width: 98.5%;
    box-sizing: border-box;
}

@media screen and (max-width: 500px) {
    .poi-write-reviewtexto {
        width: 98%;
    }
}

#nomedocaracomentario {
    margin: 10px 0;
}

/* .poi-write-review — FALLBACK */
.poi-write-review {
    padding: 5px;
    width: 98.5%;
    box-sizing: border-box;
}

@media screen and (max-width: 500px) {
    .poi-write-review {
        width: 98%;
    }
}

form[name="frm1"] td[align="center"] {
    text-align: left;
}

.tablecomentario div[style="float:left;margin-left:10px;"] {
    margin-left: 0 !important;
}

#id_usuarioid_usuario ~ div[style*='min-height'][style*='500px'] {
    min-height: 400px !important;
}

#framedonotas {
    height: 520px !important;
}

/* .white_content1 — FALLBACK */
.white_content1 {
    max-width: initial;
    left: 1% !important;
    top: 14% !important;
}

@media screen and (max-width: 500px) {
    .white_content1 {
        top: 50px !important;
    }
}

@media screen and (min-width: 1024px) {
    .white_content1 {
        max-width: 44%;
        left: 28% !important;
    }
}

#lightboxfalecomlugar .lightboxfalecom div:not(.btnfechar) {
    width: 80% !important;
    font-size: x-large;
}

.btnfechar {
    width: 37px !important;
    cursor: pointer !important;
    height: 43px !important;
    font-size: 40px !important;
    margin: 0 !important;
}

/* .white_content1 .btnfechar — FALLBACK */
.white_content1 .btnfechar {
    margin-right: 0 !important;
}


/* ============================================================
   SOBRE EMPRESA (mobile)
   ============================================================ */

@media screen and (max-width: 700px) {
    #btnCompartilhar {
        margin-left: 0 !important;
    }
    .naoreinvid {
        margin-left: 10px !important;
        display: inline-flex !important;
        width: 64px;
        align-items: flex-start;
        position: relative;
        top: -10px;
        gap: 2px;
    }
    .curtir-empresa .montadedosecuritu {
        display: flex;
    }
}


/* ============================================================
   ESTRELAS
   ============================================================ */

div#idavaliacaoeestrelas {
    display: flow-root;
    margin: 15px 0;
}

div#idavaliacaoeestrelas .specific_stars_half {
    margin-left: 0 !important;
}


/* ============================================================
   LOGO — FALLBACK
   ============================================================ */

svg#logo_header {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    max-width: 100%;
    position: relative;
    top: 0;
}

@media screen and (max-width: 500px) {
    svg#logo_header {
        max-width: 275px;
        top: 4px;
    }
}

.logo-text {
    font-family: fontelaboratorios;
    font-weight: 700;
    letter-spacing: 6px;
    fill: #001f5b;
    font-size: 121px;
}

@media screen and (max-width: 500px) {
    .logo-text {
        font-size: 116px;
    }
}

/* #beker — FALLBACK */
#beker {
    transform: translate(805px, -27px) scale(0.83);
}

@media screen and (max-width: 500px) {
    #beker {
        transform: translate(770px, -27px) scale(0.83);
    }
}

.flask-line {
    fill: none;
    stroke: #001f5b;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.water {
    fill: #28aee4;
    opacity: 0.95;
    animation: waterMove 3s ease-in-out infinite alternate;
    transform-origin: center;
    transform-box: fill-box;
}

.wave {
    animation: waveSlide 4s linear infinite;
}

.bubble {
    fill: #28aee4;
    opacity: 0;
    animation: bubbleUp 3.5s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.bubble.b1 { animation-delay: 0s; }
.bubble.b2 { animation-delay: .7s; }
.bubble.b3 { animation-delay: 1.2s; }
.bubble.b4 { animation-delay: 1.8s; }
.bubble.b5 { animation-delay: 2.4s; }
.bubble.b6 { animation-delay: 3s; }

.top-bubble {
    fill: none;
    stroke: #28aee4;
    stroke-width: 3;
    opacity: .9;
    animation: topBubbleFloat 4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.top-bubble.t1 { animation-delay: 0s; }
.top-bubble.t2 { animation-delay: .5s; }
.top-bubble.t3 { animation-delay: 1s; }
.top-bubble.t4 { animation-delay: 1.5s; }
.top-bubble.t5 { animation-delay: 2s; }
.top-bubble.t6 { animation-delay: 2.5s; }

@keyframes waterMove {
    from { transform: translateY(2px) rotate(-1deg); }
    to   { transform: translateY(-3px) rotate(1deg); }
}

@keyframes waveSlide {
    from { transform: translateX(0); }
    to   { transform: translateX(-80px); }
}

@keyframes bubbleUp {
    0%   { opacity: 0; transform: translateY(18px) scale(.7); }
    20%  { opacity: .9; }
    80%  { opacity: .9; }
    100% { opacity: 0; transform: translateY(-55px) scale(1.15); }
}

@keyframes topBubbleFloat {
    0%   { transform: translateY(0) scale(.9); opacity: .2; }
    40%  { opacity: 1; }
    100% { transform: translateY(-16px) scale(1.08); opacity: .35; }
}

svg#logo_footer {
    max-width: 220px;
    width: 100%;
}

svg#logo_footer .logo-text {
    fill: #fff;
}

svg#logo_footer .flask-line {
    stroke: #fff;
}

svg#logo_footer .flask-line ^ path[stroke="#ffffff"] {
    stroke: var(--cor-primaria) !important;
}


/* ============================================================
   MISC
   ============================================================ */

.chama-pesquisa {
    background-color: var(--cor-segundaria) !important;
    color: var(--cor-txt-menu) !important;
}

body#homepage svg#logo_header {
    top: 4px;
}

@media screen and (max-width: 500px) {
    body#homepage svg#logo_header {
        top: 9px;
    }
     body#homepage #menumobile {
        padding: 11px 15px 8px !important;
    }
}

.btnanunciaqui {
    background-color: var(--cor-segundaria) !important;
}

.btnlight:hover {
    background-color: var(--cor-segundaria) !important;
}


/* ============================================================
   SOBRESCRITA MODERNA — apenas para navegadores com if() CSS
   Detecta suporte via @supports antes de aplicar if()
   ============================================================ */

@supports (width: if(style(--x: 1): 1px)) {

    /* Logo header */
    svg#logo_header {
        max-width: if(media(max-width: 500px): 275px; else: 100%);
        top: if(media(max-width: 500px): 4px; else: 0);
    }

    /* Logo text */
    .logo-text {
        font-size: if(media(max-width: 500px): 120px; else: 125px);
    }

    /* Beker */
    #beker {
        transform: if(
            media(max-width: 500px): translate(770px, -27px) scale(0.83);
            else: translate(805px, -27px) scale(0.83)
        );
    }

    /* poi-write-reviewtexto */
    .poi-write-reviewtexto {
        width: if(media(max-width: 500px): 98%; else: 98.5%);
    }

    /* poi-write-review */
    .poi-write-review {
        width: if(media(max-width: 500px): 98%; else: 98.5%);
    }

    /* white_content1 */
    .white_content1 {
        max-width: if(media(min-width: 1024px): 44%; else: initial);
        left: if(media(min-width: 1024px): 28%; else: 1%) !important;
        top: if(media(max-width: 500px): 50px; else: 14%) !important;
    }

    /* white_content1 .btnfechar */
    .white_content1 .btnfechar {
        margin-right: if(media(max-width: 500px): 0; else: 0) !important;
    }

    /* homepage logo */
    body#homepage svg#logo_header {
        top: if(media(max-width: 500px): 9px; else: 4px);
    }
    body#homepage #menumobile {
        padding: if( media(max-width: 500px): 12px 15px 8px; else: 12px 15px 10px 0);
    }
}