/* Moldura do quadro do Cepea (decisões C38 e C48). O estilo em linha do widget fica bloqueado pela CSP da moldura;
   este arquivo aplica as cores e a fonte do site à tabela que o Cepea escreve, ocupando toda a altura da moldura. */
@font-face {
  font-family: "Inter AGROPEC";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(inter.woff2) format("woff2");
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: #FFFFFF; }
.imagenet-widget-tabela { width: 100%; height: 100%; border-collapse: collapse; font: 400 clamp(14px, 2.4vw, 17px)/1.35 "Inter AGROPEC", system-ui, sans-serif; color: #0C224E; }
.imagenet-widget-tabela thead:first-of-type td { height: 1px; padding: 14px 18px 12px; text-align: left; }
.imagenet-widget-tabela img { display: block; max-width: 100%; height: auto; }
.imagenet-widget-tabela th { height: 1px; padding: 10px 18px; background: #1C3C79; color: #FFFFFF; font-size: .85em; font-weight: 700; text-align: left; }
.imagenet-widget-tabela tbody td { padding: 10px 18px; border-bottom: 1px solid #D5DFF0; font-variant-numeric: tabular-nums; }
.imagenet-widget-tabela tbody tr:nth-child(2n) { background: #F4F7F6; }
.imagenet-widget-tabela .maior { font-weight: 700; }
.imagenet-widget-tabela .unidade { color: #44557A; font-size: .8em; }
.imagenet-widget-tabela tbody td:first-child { color: #44557A; font-size: .9em; white-space: nowrap; }
body:not(.lista) .imagenet-widget-tabela tbody tr { height: 21%; }
/* C60: na página de cotações, as linhas dividem por igual a altura da moldura */
.imagenet-widget-tabela th:last-child { text-align: right; }
.imagenet-widget-tabela tbody td:last-child { text-align: right; white-space: nowrap; font-size: 1.1em; }
.imagenet-widget-tabela tfoot td { height: 1px; padding: 10px 18px; color: #44557A; font-size: .8em; }
.imagenet-widget-tabela tfoot td:last-child img { margin-left: auto; }
@media (max-width: 300px) {
  .imagenet-widget-tabela { font-size: 13px; }
  .imagenet-widget-tabela thead:first-of-type td, .imagenet-widget-tabela th, .imagenet-widget-tabela tbody td, .imagenet-widget-tabela tfoot td { padding-left: 8px; padding-right: 8px; }
  .imagenet-widget-tabela tbody td:last-child { font-size: 1em; }
}
