/* Label Computer — layout original de 2009 recriado sem Flash */
* { box-sizing: border-box; }
body, input, select, textarea, button { font-family: "Trebuchet MS", Arial, sans-serif; font-size: 13px; color: #003399; }
body {
    margin: 0;
    padding: 0;
    background: #aabccd url(../images/expansor.jpg) repeat-x;
}
a { color: #ff6603; text-decoration: none; }
a:hover { text-decoration: underline; }
img { border: 0; max-width: 100%; height: auto; }
h1, h2 { margin: 0; }
.clear { clear: both; }
.sr { position: absolute; left: -9999px; }

#principal { width: 900px; margin: 0 auto; }

/* ---------- Topo em HTML/CSS (substitui o topo.swf em Flash) ---------- */
#topo {
    width: 900px;
    margin-bottom: 10px;
    border: 1px solid #1a4571;
    border-top: 4px solid #ffd200;
    background: #fff;
}
#topo .topo-barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: linear-gradient(180deg, #eef2f5 0%, #d0dae2 100%);
}
#topo .logo { flex: 0 0 auto; display: block; line-height: 0; }
#topo .logo img { width: 294px; height: auto; }
#topo .topo-contato { text-align: right; }
#topo .slogan { display: block; color: #155596; font-size: 13px; margin-bottom: 4px; }
#topo .fone { color: #155596; font-size: 20px; font-weight: bold; white-space: nowrap; }
#topo .fone::before { content: "Fone: "; font-size: 13px; font-weight: normal; }
#topo .topo-banner {
    height: 156px;
    overflow: hidden;
    background: linear-gradient(90deg, #2c78c6 0%, #155596 55%, #0f4a85 100%);
    display: flex;
    justify-content: flex-end;
}
#topo .topo-banner img { display: block; max-width: none; height: 156px; width: auto; }

#menu { position: relative; z-index: 10; background: #155596; border-top: 1px solid #0d3a69; border-bottom: 1px solid #0d3a69; }
#menu .menu-abrir { display: none; }
#menu ul { list-style: none; margin: 0; padding: 0; }
#menu > ul { display: flex; flex-wrap: wrap; }
#menu > ul > li { position: relative; flex: 1 1 auto; }
#menu > ul > li > a {
    display: block; padding: 10px 8px; color: #fff; font-weight: bold; font-size: 13px; text-align: center;
    border-right: 1px solid rgba(255,255,255,.15);
}
#menu > ul > li:last-child > a { border-right: 0; }
#menu > ul > li > a:hover, #menu > ul > li:focus-within > a { background: #ffd200; color: #155596; text-decoration: none; }
#menu .tem-sub > a::after { content: " \25BE"; }
#menu .submenu {
    display: none; position: absolute; left: 0; top: 100%; min-width: 200px;
    background: #fff; border: 1px solid #155596; box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
#menu .tem-sub:hover .submenu, #menu .tem-sub:focus-within .submenu { display: block; }
#menu .submenu a { display: block; padding: 8px 12px; color: #155596; font-size: 12px; border-bottom: 1px solid #e3e8ec; }
#menu .submenu a:hover { background: #ffd200; text-decoration: none; }

/* ---------- Miolo ---------- */
#meio {
    width: 900px;
    display: flex;
    align-items: stretch;
    border-left: dotted 1px #1a4571;
    border-right: dotted 1px #1a4571;
    min-height: 400px;
}
#area-destaques { width: 230px; margin: 0 5px 0 8px; display: flex; flex-direction: column; }
#tarja-destaques, #tarja-content { height: 24px; border: solid 1px #000; margin-bottom: 2px; }
#tarja-destaques { background: #155596; }
#tarja-content { background: #ffd200; }
.titulo-destaque { color: #fff; font-size: 16px; font-weight: bold; margin-left: 10px; line-height: 22px; }
#tarja-content .titulo { color: #155596; font-size: 16px; font-weight: bold; margin-left: 10px; line-height: 22px; }

#destaques {
    flex: 1;
    border: solid 1px #000;
    background: #fff;
    padding: 14px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#destaques address { font-style: normal; font-size: 11px; margin-top: 20px; }

/* Destaques rotativos (antes destaques.swf) */
.rotativo { position: relative; width: 200px; min-height: 200px; }
.rotativo .slide { display: none; text-align: center; color: #155596; }
.rotativo .slide.ativo { display: block; animation: aparecer .6s ease; }
.rotativo .slide img { display: block; margin: 0 auto 6px; max-height: 200px; width: auto; }
.rotativo .slide span { display: block; font-weight: bold; font-size: 12px; }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }

#area-content { width: 648px; display: flex; flex-direction: column; min-width: 0; }
#area-content > *, #area-destaques > * { min-width: 0; }
#content {
    flex: 1;
    border: solid 1px #000;
    background: #fff;
    padding: 14px;
}
#content p { margin: 0 0 1em; line-height: 1.45; }

/* Vitrine (antes vitrine.swf) */
#vitrine { margin-top: 40px; width: 100%; height: 90px; overflow: hidden; position: relative; border-top: 1px dotted #1a4571; padding-top: 8px; }
.vitrine-trilho { display: flex; gap: 12px; width: max-content; animation: deslizar 40s linear infinite; }
#vitrine:hover .vitrine-trilho, #vitrine:focus-within .vitrine-trilho { animation-play-state: paused; }
.vitrine-trilho a { flex: 0 0 auto; height: 74px; display: flex; align-items: center; }
.vitrine-trilho img { height: 74px; width: auto; max-width: none; }
@keyframes deslizar { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .vitrine-trilho { animation: none; }
    #vitrine { overflow-x: auto; }
}

/* Produtos */
.lista-produtos { display: flex; flex-wrap: wrap; gap: 10px; }
.box_produto {
    border: solid #003366 1px; width: 190px; min-height: 200px; padding: 10px;
    text-align: center; color: #003399; display: block;
}
.box_produto:hover { border-color: #ff6603; text-decoration: none; }
.box_produto .img_prod { width: 130px; height: 130px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; }
.box_produto .img_prod img { max-width: 130px; max-height: 130px; }
.box_produto .nome { display: block; }
.sem-foto { color: #8a9bb0; font-style: italic; }
.detalhe .foto-detalhe { float: left; margin: 0 20px 10px 0; max-width: 260px; }
.detalhe h2 { font-size: 15px; margin-bottom: 12px; }
.detalhe .texto { line-height: 1.5; }
.detalhe .acoes { clear: both; padding-top: 14px; }

/* Formulários */
.tabela-form { border-collapse: separate; border-spacing: 2px 4px; margin: 0 auto; }
.tabela-form td { padding: 2px; vertical-align: middle; }
.tabela-form td.topo { vertical-align: top; }
.tabela-form td.rotulo { width: 90px; }
.box1, .box2 {
    font-family: Arial, sans-serif; font-size: 11px; font-weight: bold; color: #293b5a;
    border: 1px solid #293b5a; background: #fff; padding: 2px 3px; max-width: 100%;
}
.box1 { height: 20px; }
select.itens { width: 380px; }
.botao1 { font-size: 11px; padding: 1px 8px; }
.botoes { padding-top: 10px !important; }
.botao-reset { background: none; border: 0; padding: 0; cursor: pointer; vertical-align: middle; }
.botoes input[type=image] { vertical-align: middle; }
.campo-oculto { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.aviso-erro { border: 1px solid #c0392b; background: #fdecea; color: #8e1b10; padding: 8px 12px; margin-bottom: 12px; }
.aviso-erro * { color: #8e1b10; }
.aviso-erro ul { margin: 4px 0 0 18px; padding: 0; }
.msg-inline { color: #c0392b; font-size: 11px; margin-left: 6px; }
.obrigado { font-size: 18px; margin-top: 10px !important; }
.centro { text-align: center; }
.mapa iframe { border: 0; max-width: 100%; }

/* Rodapé */
#rodape { width: 900px; height: 37px; background: url(../images/rodape.jpg) no-repeat; margin-top: 50px; }
#hosting { float: right; margin: 9px 8px 0 0; font-size: 12px; }

/* ---------- Telas pequenas ---------- */
@media (max-width: 920px) {
    #principal, #topo, #meio, #rodape { width: 100%; }
    #principal { padding: 0 16px; }
    #topo .topo-banner { display: none; }
    #topo .topo-barra { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
    #topo .topo-contato { text-align: left; }
    body { overflow-x: hidden; }
    #topo .logo img { width: 220px; }
    #topo .slogan { display: none; }
    #topo .fone { font-size: 16px; }
    #menu .menu-abrir {
        display: block; width: 100%; padding: 8px; background: #155596; color: #fff;
        border: 0; font-weight: bold; font-size: 14px; cursor: pointer;
    }
    #menu > ul { display: none; flex-direction: column; background: #fff; }
    #menu.aberto > ul { display: flex; }
    #menu > ul > li > a { border-bottom: 1px solid #d0dae2; border-right: 0; color: #155596; text-align: left; }
    #menu .tem-sub > a::after { content: ""; }
    #menu .submenu { display: block; position: static; box-shadow: none; border: 0; background: #eef2f6; }
    #menu .submenu a { color: #155596; padding-left: 24px; }
    #meio { flex-direction: column-reverse; border: 0; }
    #area-destaques, #area-content { width: 100%; margin: 0 0 10px; }
    .rotativo { margin: 0 auto; }
    .tabela-form, .tabela-form tbody, .tabela-form tr, .tabela-form td { display: block; width: 100%; }
    .tabela-form input.box1[size="60"], .tabela-form textarea, select.itens, #SelectProd { width: 100%; }
    .detalhe .foto-detalhe { float: none; display: block; margin: 0 auto 12px; }
    .box_produto { width: calc(50% - 5px); }
    #rodape { background: #155596; height: auto; overflow: hidden; padding: 8px 0; }
    #hosting, #hosting a { color: #fff; }
}
