.polopoly_embed { max-width: 100%; } .app { --chart-color: #1270ce; font-family: "ÐÇ¿Õ´«Ã½Sans-Regular", sans-serif; font-weight: normal; max-width: 750px; margin: 0 auto 40px; line-height: 1.25; } .bold { font-family: "ÐÇ¿Õ´«Ã½Sans-Bold", sans-serif; } .app h2 { font-family: "ÐÇ¿Õ´«Ã½Sans-Bold", sans-serif; font-weight: normal; font-size: 28px; color: #222; text-align: center; margin: 20px auto 20px; } .app h3 { font-family: "ÐÇ¿Õ´«Ã½Sans-Bold", sans-serif; font-weight: normal; font-size: 16px; color: #222; text-align: center; margin: 10px auto; } .map-canada, .map-world { margin: 20px auto 30px; } .map-world .map-svg { cursor: grab; } .map-world .region { cursor: pointer; } .map-world .region:hover { opacity: 0.8; } .province { cursor: pointer; } .map-text { font-size: 16px; font-family: "ÐÇ¿Õ´«Ã½Sans-Bold", sans-serif; fill: #222; text-anchor: middle; cursor: pointer; } .map-circle { fill: rgba(255, 255, 255, 0.6); cursor: pointer; } .map-text.Nova-Scotia, .map-text.New-Brunswick, .map-text.Prince-Edward-Island { font-size: 14px; } .map-circle.Nova-Scotia, .map-circle.New-Brunswick, .map-circle.Prince-Edward-Island { opacity: 0; } .map-line { stroke: #ddd; stroke-width: 1; } /* CHART */ .svg-chart { width: 100%; height: 250px; shape-rendering: crispEdges; } svg .title { font-size: 22px; fill: #222; } .bar-layer rect { fill: var(--chart-color); } .bar-layer rect.added { fill: pink; } .hover-layer .hover-bar { fill: rgba(18, 112, 206, 0); } .hover-layer .hover-bar:hover { fill: rgba(18, 112, 206, 0.05); } .tooltip { pointer-events: none; } .tooltip rect { fill: white; stroke-width: 1px; stroke: #222; } .tooltip .date { font-size: 10px; text-anchor: middle; } .tooltip .main { text-anchor: middle; } .y-axis.text, .x-axis.text { font-size: 10px; } .y-axis.text.off, .x-axis.text.off { display: none; } .x-axis.text { text-anchor: middle; } .y-axis.axis, .x-axis.axis { stroke-width: 1px; stroke: #222; } .y-axis.tick, .x-axis.tick { stroke-width: 1px; stroke: #222; } .y-axis.tick.off, .x-axis.tick.off { stroke: #ccc; } .y-axis.dash { stroke-width: 1px; stroke: #ccc; stroke-dasharray: 2 2; } /* -- -- */ .top-table-canada { min-height: 93px; overflow-x: auto; } .bottom-table-canada { margin: 10px 0 0 0; min-height: 437px; overflow-x: auto; } .bottom-table-world { position: relative; height: 400px; overflow-y: auto; overflow-x: auto; border-bottom: 1px solid #fafafa; } .shadow { position: sticky; position: -webkit-sticky; bottom: 0px; z-index: 10; width: 100%; box-shadow: 0 0 20px 8px rgba(22, 22, 22, 0.2); } .map-canada { min-height: 200px; } .vaccine-table { font-size: 14px; width: 100%; /*max-width: 550px;*/ margin: -2px auto 10px; text-align: center; } .vaccine-table th span { font-size: 10px; padding: 2px 4px; background: rgba(0, 0, 0, 0.15); border-radius: 3px; line-height: 2em; } .vaccine-table th.sorted span { background: rgba(0, 0, 0, 0.4); } .vaccine-table th { font-family: "ÐÇ¿Õ´«Ã½Sans-Regular", sans-serif; font-weight: normal; text-align: center; color: #333; background: #eaeaea; padding: 7px 7px; font-size: 12px; position: sticky; position: -webkit-sticky; top: 0; z-index: 10; letter-spacing: 0.1px; } .vaccine-table tr:nth-child(even) { background: #fafafa; } .vaccine-table.top tr { background: #fafafa; padding: 5px 7px; } tr.highlighted { color: #222; } .vaccine-table td { padding: 3px 5px; } .vaccine-table.top td { font-size: 22px; } .vaccine-table.bottom th { cursor: pointer; } th.sorted, td.sorted { background: var(--chart-color); color: #fff; font-family: "ÐÇ¿Õ´«Ã½Sans-Regular"; } /* th.sorted::after { margin: 3px 0 0 3px; color: #888; content: "\02C5"; } */ .bottom-table-canada .vaccine-table td:first-child, .bottom-table-world .vaccine-table td:nth-child(2) { text-align: right; } .bottom-table-canada .vaccine-table tr:hover { background: #fafafa; } .bottom-table-canada .vaccine-table td:hover, .bottom-table-world .vaccine-table td:hover { background: #eaeaea; cursor: pointer; } .bottom-table-canada .vaccine-table td.sorted:hover, .bottom-table-world .vaccine-table td.sorted:hover { background: var(--chart-color); } .bar-container { width: 100%; height: 20px; background: #eee; } .bar { height: 100%; background: var(--chart-color); border-radius: 0px; } .updated { font-size: 11px; } .pct { font-size: 0.8em; margin-left: 2px; } .difference { font-size: 14px; font-family: "ÐÇ¿Õ´«Ã½Sans-Regular", sans-serif; } .notes, .articleBody p.notes { text-align: center; font-size: 12px; color: #aaa; line-height: 1.1; margin-bottom: 4px; margin-top: 5px; } .note-highlight { margin: 20px auto; width: 80%; max-width: 600px; border-radius: 3px; padding: 10px 20px; background: rgba(241, 173, 85, 0.2); font-size: 14px; text-align: center; } .articleBody .note-highlight p, .note-highlight p { margin: 5px auto 12px; line-height: 1.4; font-size: 14px; } .note-highlight::before { content: "Note:"; font-family: "ÐÇ¿Õ´«Ã½Sans-Bold", sans-serif; font-size: 12px; } .label { text-anchor: middle; font-family: "ÐÇ¿Õ´«Ã½Sans-Bold", sans-serif; cursor: pointer; } .label.hidden { visibility: hidden; } .tooltip { shape-rendering: crispEdges; } /* LOADING */ .loading { margin: 50px auto; border: 5px solid #f3f3f3; border-top: 5px solid var(--chart-color); border-radius: 50%; width: 30px; height: 30px; animation: spin 1s ease-in-out infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @media only screen and (max-width: 500px) { .vaccine-table th { font-size: 11px; } .vaccine-table.top td { font-size: 16px; } }