.inflation-app { box-sizing: border-box; position: relative; font-family: "ÐÇ¿Õ´«Ã½Sans-Regular", "ÐÇ¿Õ´«Ã½ Sans", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; max-width: 500px; margin: 16px auto; background-color: #dfeef4; padding: 18px; display: none; flex-direction: column; align-items: center; line-height: normal; } .inflation-app.loaded { display: flex; } .inflation-app * { box-sizing: border-box; } .inflation-app.data-unavailable .data-container::after { content: "Data not available for selected food and location"; position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 100%; padding: 24px; height: 100%; text-align: center; font-size: 14px; color: #2c2c2c; font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; box-sizing: border-box; background-color: rgb(243, 243, 243, 0.95); } .inflation-app h2 { font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; font-weight: normal; margin: 0 0 18px; } .inflation-app h3 { font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; font-weight: normal; font-size: 14px; margin: 0 0 8px; } .inflation-app .note { margin: 24px 0 0; font-size: 12px; text-align: center; /* max-width: 400px; */ } .inflation-app .note a { /* text-decoration: none; */ color: #222; font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; } .inflation-app .data-container { position: relative; width: 100%; max-width: 400px; display: flex; align-items: center; flex-direction: column; gap: 8px; background-color: #fff; padding: 18px; } .inflation-app button.loading { opacity: 0.5; pointer-events: none; } .inflation-app form { width: 100%; max-width: 400px; display: flex; flex-direction: column; margin-bottom: 18px; } .inflation-app label { font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; font-size: 10px; margin-bottom: 4px; } .inflation-app select { border: none; padding: 4px 6px; font-family: "ÐÇ¿Õ´«Ã½Sans-Regular", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; font-size: 16px; margin-bottom: 12px; border-radius: 0; } .inflation-app option:disabled { background-color: rgb(243, 243, 243); color: #a3aeb4; } .inflation-app .chart { width: 100%; font-family: monospace; font-size: 10px; /* background-color: #f4f8fa; */ } .inflation-app .chart-container { width: 100%; position: relative; margin: 8px 0; } .inflation-app svg.chart { position: relative; /* background-color: antiquewhite; */ } .inflation-app .bar-chart.chart-container svg.chart { height: 120px; shape-rendering: crispEdges; } .inflation-app .line-chart.chart-container svg.chart { height: 120px; } .inflation-app circle.open { fill: #2c2c2c; stroke: #2c2c2c; stroke-width: 0; } .inflation-app g.line-layer path.line { stroke-width: 2px; /* stroke: rgb(76, 88, 92); */ stroke: #2c2c2c; fill: none; } .inflation-app g.line-layer path.area { stroke-width: 0; fill: rgb(127, 141, 146, 0.1); } .inflation-app .line-chart.chart-container g.x-axis-layer line { shape-rendering: crispEdges; stroke-width: 1; stroke: #cfcfcf; stroke-dasharray: 3 4; } .inflation-app g.y-axis-layer line { shape-rendering: crispEdges; stroke-width: 1px; stroke: #cfcfcf; stroke-dasharray: 3 4; } .inflation-app g.y-axis-layer text { fill: #a3aeb4; } .inflation-app g.x-axis-layer text { fill: #a3aeb4; text-anchor: middle; } .inflation-app g.x-rect-layer rect { fill: #222; /* opacity: 0.03; */ opacity: 0; } .inflation-app g.x-rect-layer rect.even { opacity: 0; } .inflation-app g.bar-layer rect { fill: #222; } .inflation-app g.bar-layer text { font-size: 8px; text-anchor: middle; fill: #fafafa; } .inflation-app .info-date { font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; font-size: 18px; } .inflation-app .info-container { display: flex; justify-content: center; margin: 0 0 16px; gap: 4px; } .inflation-app .info { display: flex; flex-direction: column; align-items: center; background-color: #f5f7f9; padding: 8px 14px; } .inflation-app .info .label { /* font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; */ /* color: #626262; */ font-size: 13px; } .inflation-app .info .number { font-family: "ÐÇ¿Õ´«Ã½ Sans Bold", "ÐÇ¿Õ´«Ã½Sans-Bold", "ÐÇ¿Õ´«Ã½ Sans", sans-serif; font-size: 22px; }