@medicus.ai/medicus-report-pdf-generator 1.3.13 → 1.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/.vscode/settings.json +3 -3
  2. package/HANDOVER.md +146 -0
  3. package/README.md +26 -26
  4. package/app/i18n.config.js +20 -20
  5. package/app/i18n_wellbeing.config.js +20 -20
  6. package/app/services/localeService.js +28 -28
  7. package/assets/Mediclinic/css/nasco_report.css +6297 -6297
  8. package/assets/Mediclinic/css/nasco_report_rtl.css +851 -851
  9. package/assets/Mediclinic/css/style.css +33 -33
  10. package/assets/Mediclinic/js/js.js +112 -112
  11. package/assets/Mediclinic/js/raphael.js +8437 -8437
  12. package/assets/arabic.css +275 -275
  13. package/assets/charts.min.js +7 -7
  14. package/assets/corporate_report/css/report.css +582 -582
  15. package/assets/corporate_report/css/report_rtl.css +144 -144
  16. package/assets/corporate_report/js/js.js +14 -14
  17. package/assets/data/data.json +124 -124
  18. package/assets/data/data2.json +675 -675
  19. package/assets/data/pdf_data_with_history.json +1255 -1255
  20. package/assets/doctor-note-insight-icon.svg +11 -11
  21. package/assets/imc/css/style.css +61 -61
  22. package/assets/jquery-1.4.min.js +151 -151
  23. package/assets/jquery-2.1.0.min.js +3 -3
  24. package/assets/js.js +201 -201
  25. package/assets/medicus_pdf/arabic.css +444 -444
  26. package/assets/medicus_pdf/styles.css +2427 -2427
  27. package/assets/print.css +4 -4
  28. package/assets/qr-code-style.css +68 -68
  29. package/assets/qrcode.min.js +3 -3
  30. package/assets/raphael-min.js +10 -10
  31. package/assets/sanusx/css/sanusx_report.css +707 -707
  32. package/assets/sizing.js +2 -2
  33. package/assets/styles.css +1545 -1545
  34. package/assets/styles.min.css +1358 -1358
  35. package/assets/translation.js +30 -30
  36. package/assets/wellbeing/css/nasco_report.css +3472 -3472
  37. package/assets/wellbeing/css/nasco_report_rtl.css +679 -679
  38. package/assets/wellbeing/js/js.js +111 -111
  39. package/assets/wellbeing/js/raphael.js +8437 -8437
  40. package/base64/cairo-font.js +2 -2
  41. package/config/Mediclinic.json +37 -37
  42. package/config/Najeeb.ai.json +35 -35
  43. package/config/Pha.json +64 -64
  44. package/config/bionext.json +37 -37
  45. package/config/default.json +35 -35
  46. package/config/diagnostikare.json +34 -34
  47. package/config/maisonsante.json +39 -39
  48. package/config/nasco.json +35 -35
  49. package/config/sanitas.json +35 -35
  50. package/config/sanusx.json +34 -34
  51. package/config/test.txt +4 -4
  52. package/data converter.js +53 -53
  53. package/docs/01-architecture-overview.md +149 -0
  54. package/docs/02-configuration-and-whitelabelling.md +111 -0
  55. package/docs/03-templating-and-rendering.md +71 -0
  56. package/docs/04-report-pipelines.md +128 -0
  57. package/docs/05-questions-and-data-model.md +67 -0
  58. package/docs/06-internationalization.md +59 -0
  59. package/docs/07-email-notifications.md +59 -0
  60. package/docs/08-known-issues-and-technical-debt.md +41 -0
  61. package/docs/README.md +22 -0
  62. package/downloadfile.js +6 -6
  63. package/example.txt +1188 -1188
  64. package/index.js +481 -480
  65. package/lib/big_integral_questionnaire.js +370 -298
  66. package/lib/corporate_report_generator.js +399 -399
  67. package/lib/pdf_generator.min.js +525 -525
  68. package/lib/sanusx_report_generator.js +533 -533
  69. package/lib/sendEmail.js +343 -343
  70. package/lib/template.js +2227 -2227
  71. package/lib/wellbeing_report_generator.js +2164 -2134
  72. package/locales/ar-AE.json +169 -169
  73. package/locales/ar-SA.json +169 -169
  74. package/locales/ar.json +397 -397
  75. package/locales/de.json +169 -169
  76. package/locales/en.json +229 -229
  77. package/locales/fr.json +168 -168
  78. package/locales/pt.json +165 -165
  79. package/locales/wellbeing/ar-AE.json +149 -149
  80. package/locales/wellbeing/ar-SA.json +257 -257
  81. package/locales/wellbeing/de.json +301 -301
  82. package/locales/wellbeing/en.json +423 -423
  83. package/locales/wellbeing/es.json +133 -133
  84. package/locales/wellbeing/fr.json +121 -121
  85. package/locales/wellbeing/it-IT.json +121 -121
  86. package/locales/wellbeing/pt.json +121 -121
  87. package/locales/wellbeing/tr.json +121 -121
  88. package/locales/wellbeing/zh-CN.json +121 -121
  89. package/locales/zh-CN.json +165 -165
  90. package/package.json +47 -47
  91. package/preview-big-integral.js +75 -75
  92. package/run.js +15 -15
  93. package/templates/Mediclinic/blocks/first-section.html +205 -205
  94. package/templates/Mediclinic/blocks/footer.html +7 -7
  95. package/templates/Mediclinic/blocks/header-template.html +5 -5
  96. package/templates/Mediclinic/blocks/header.html +20 -20
  97. package/templates/Mediclinic/blocks/patient-table.html +38 -38
  98. package/templates/Mediclinic/blocks/pdf-header.html +9 -9
  99. package/templates/Mediclinic/blocks/tips.html +8 -8
  100. package/templates/Mediclinic/ltr_no_pages.html +37 -37
  101. package/templates/Mediclinic/rtl_no_pages.html +42 -42
  102. package/templates/Mediclinic/wellbeing_template.html +41 -41
  103. package/templates/Pha/blocks/first-section.html +207 -207
  104. package/templates/Pha/blocks/footer.html +7 -7
  105. package/templates/Pha/blocks/header-template.html +5 -5
  106. package/templates/Pha/blocks/header.html +20 -20
  107. package/templates/Pha/blocks/patient-table.html +38 -38
  108. package/templates/Pha/blocks/pdf-header.html +8 -8
  109. package/templates/Pha/blocks/tips.html +8 -8
  110. package/templates/Pha/ltr_no_pages.html +37 -37
  111. package/templates/Pha/rtl_no_pages.html +42 -42
  112. package/templates/Pha/wellbeing_template.html +41 -41
  113. package/templates/base.html +23 -23
  114. package/templates/blocks/ar-first-page-header.html +68 -68
  115. package/templates/blocks/ar-footer.html +54 -54
  116. package/templates/blocks/ar-header.html +67 -67
  117. package/templates/blocks/biomarker-compact-ar.html +27 -27
  118. package/templates/blocks/biomarker-compact.html +27 -27
  119. package/templates/blocks/biomarker-details.html +41 -41
  120. package/templates/blocks/biomarker-insight.html +22 -22
  121. package/templates/blocks/biomarker-min.html +9 -9
  122. package/templates/blocks/doctor-note.html +11 -11
  123. package/templates/blocks/footer.html +35 -35
  124. package/templates/blocks/header-first-page.html +46 -46
  125. package/templates/blocks/header.html +49 -49
  126. package/templates/blocks/panel-compact.html +38 -38
  127. package/templates/blocks/panel-details.html +16 -16
  128. package/templates/blocks/report-summary.html +16 -16
  129. package/templates/blocks/section-title.html +4 -4
  130. package/templates/blocks/signature.html +16 -16
  131. package/templates/blocks/summary-insight.html +15 -15
  132. package/templates/blocks/summary.html +9 -9
  133. package/templates/corporate_report/cover_page.html +23 -23
  134. package/templates/corporate_report/footer.html +9 -9
  135. package/templates/corporate_report/ltr_no_pages.html +20 -20
  136. package/templates/corporate_report/page.html +24 -24
  137. package/templates/corporate_report/participant_analytics.html +5 -5
  138. package/templates/corporate_report/rtl_no_pages.html +20 -20
  139. package/templates/empty.html +10 -10
  140. package/templates/first_page_head.html +157 -157
  141. package/templates/imc/first-header-template.html +53 -53
  142. package/templates/ltr.html +1368 -1368
  143. package/templates/ltr_no_pages.html +89 -89
  144. package/templates/maisonsante/blocks/first-section.html +151 -207
  145. package/templates/maisonsante/blocks/footer.html +7 -7
  146. package/templates/maisonsante/blocks/header-template.html +5 -5
  147. package/templates/maisonsante/blocks/header.html +20 -20
  148. package/templates/maisonsante/blocks/patient-table.html +38 -38
  149. package/templates/maisonsante/blocks/pdf-header.html +8 -8
  150. package/templates/maisonsante/blocks/tips.html +8 -8
  151. package/templates/maisonsante/ltr_no_pages.html +38 -38
  152. package/templates/maisonsante/rtl_no_pages.html +43 -43
  153. package/templates/maisonsante/wellbeing_template.html +41 -41
  154. package/templates/no_pages.html +1224 -1224
  155. package/templates/popup/popup-template.html +129 -129
  156. package/templates/rtl_no_pages.html +92 -92
  157. package/templates/sanusx/blocks/footer.html +6 -6
  158. package/templates/sanusx/blocks/header.html +20 -20
  159. package/templates/sanusx/blocks/personal-details.html +123 -123
  160. package/templates/sanusx/blocks/predictions-section.html +57 -57
  161. package/templates/sanusx/blocks/recommendations-section.html +6 -6
  162. package/templates/sanusx/blocks/super-power-section.html +29 -29
  163. package/templates/sanusx/blocks/tips.html +8 -8
  164. package/templates/sanusx/ltr_no_pages.html +26 -26
  165. package/templates/sanusx/rtl_no_pages.html +36 -36
  166. package/templates/template.html +1377 -1377
  167. package/templates/wellbeing/blocks/first-section.html +106 -106
  168. package/templates/wellbeing/blocks/footer.html +7 -7
  169. package/templates/wellbeing/blocks/header.html +37 -37
  170. package/templates/wellbeing/blocks/tips.html +8 -8
  171. package/templates/wellbeing/ltr_no_pages.html +35 -35
  172. package/templates/wellbeing/rtl_no_pages.html +36 -36
  173. package/templates/wellbeing/wellbeing_template.html +43 -43
  174. package/test.js +74 -74
  175. package/testing-reports/mediclinic/arabic-data.js +0 -439
  176. package/testing-reports/mediclinic/doctor-data.js +0 -523
  177. package/testing-reports/mediclinic/with-wellbeing.js +0 -415
  178. package/testing-reports/pha/notes-example.js +0 -397
@@ -1,583 +1,583 @@
1
- html {
2
- background: unset;
3
- height: 100%;
4
- width: 100%;
5
- scroll-behavior: smooth;
6
- }
7
-
8
- body {
9
- margin: 0;
10
- padding: 0;
11
- font-family: 'Open Sans', sans-serif;
12
- width: 100%;
13
- font-size: 16px;
14
- overflow-x: hidden;
15
- position: relative;
16
- margin: auto;
17
- float: left;
18
- }
19
-
20
- .page {
21
- width: 21cm;
22
- margin: auto;
23
- position: relative;
24
- box-sizing: border-box;
25
- padding-top: 40px;
26
- clear: both;
27
- height: auto;
28
- float: left;
29
- }
30
-
31
- .page:not(.first-page) {
32
- page-break-inside: avoid;
33
- }
34
-
35
- .participant-analytics-section.single-section.page {
36
- background-color: #fff;
37
- margin-top: -65px;
38
- }
39
-
40
- .bottom-section {
41
- display: block;
42
- width: 100%;
43
-
44
- float: left;
45
- }
46
-
47
- .page .relations-section-container {
48
- display: block;
49
- width: 100%;
50
- page-break-inside: avoid;
51
- float: left;
52
- }
53
-
54
-
55
- .first-page {
56
- width: 21cm;
57
- height: auto;
58
- padding-left: 50px;
59
- padding-top: 0.8in;
60
- box-sizing: border-box;
61
- background-color: transparent;
62
- position: relative;
63
- page-break-inside: avoid;
64
- }
65
-
66
- .page-footer {
67
- font-family: 'Open Sans', sans-serif !important;
68
- width: 21cm !important;
69
- margin: auto !important;
70
- padding: 0 50px;
71
- box-sizing: border-box;
72
- overflow: auto;
73
- margin-bottom: 15px !important;
74
- }
75
-
76
- .first-page .logo {
77
- width: 25%
78
- }
79
-
80
- .first-page .company-logo {
81
- width: 10%;
82
- float: right;
83
- padding-right: 20px;
84
- }
85
-
86
- .report-header {
87
- color: rgb(139, 139, 167);
88
- font-size: 181%;
89
- margin-top: 1.11%;
90
- }
91
-
92
- .cover-overlay-container {
93
- float: right;
94
- padding-right: 50px;
95
- box-sizing: border-box;
96
- width: 76%;
97
- background-image: url(../images/cover-bg-default.png);
98
- background-color: #fff;
99
- background-size: cover;
100
- margin-top: 0.8in;
101
- height: 8.27in;
102
- position: relative;
103
-
104
- }
105
-
106
- .cover-overlay-container.bionext {
107
- background-image: url(../images/cover-bg-bionext.png);
108
- }
109
-
110
- .report-title {
111
- font-size: 300%;
112
- font-weight: 700;
113
- float: right;
114
- width: 75%;
115
- margin-top: 62.1%;
116
- text-align: right;
117
- letter-spacing: -1.8px;
118
- line-height: 1.14;
119
- color: rgb(0, 0, 153);
120
- display: block;
121
- }
122
-
123
- .report-date {
124
- display: block;
125
- float: right;
126
- text-align: right;
127
- font-size: 182%;
128
- margin-top: 5.3%;
129
- color: rgb(139, 139, 167);
130
- }
131
-
132
- .footer {
133
- position: relative;
134
- bottom: 0;
135
- width: 100%;
136
- padding-right: 50px;
137
- box-sizing: border-box;
138
- margin-top: -104px;
139
- float: left;
140
- }
141
-
142
- .first-footer-logo {
143
- position: relative;
144
- width: 20%;
145
- margin-right: 0;
146
- float: right;
147
- margin-top: 25px;
148
- }
149
-
150
- img {
151
- width: 100%;
152
- position: relative;
153
- }
154
-
155
- .second-footer-logo {
156
- position: relative;
157
- float: left;
158
- margin-bottom: 0;
159
- width: 79%;
160
- }
161
-
162
- .second-footer-logo img {
163
- width: 25%;
164
- }
165
-
166
- .copyright-text {
167
- font-size: 84%;
168
- color: rgb(139, 139, 167);
169
- line-height: 1;
170
- }
171
-
172
- /*second page*/
173
- .single-section {
174
- padding-left: 50px;
175
- }
176
-
177
- .section-title {
178
- display: block;
179
- font-size: 202%;
180
- font-weight: 600;
181
- padding-bottom: 0.6%;
182
- border-bottom: 3px solid rgb(0, 158, 226);
183
- color: rgb(0, 0, 153);
184
- text-indent: 1px;
185
- margin-bottom: 4.4%;
186
- padding-right: 50px;
187
- }
188
-
189
- .side-chart-container {
190
- width: 46%;
191
- display: inline-block;
192
- margin-bottom: 5%;
193
- }
194
-
195
- .side-chart-container .chart_title {
196
- text-align: center;
197
- font-size: 179%;
198
- color: rgb(139, 139, 167);
199
- }
200
-
201
- .side-chart.side-chart-with-border table {
202
- width: 100%;
203
- margin-top: 20px;
204
- border-collapse: collapse;
205
- }
206
-
207
- .side-chart.side-chart-with-border table tr:first-child td {
208
- padding-top: 13%
209
- }
210
-
211
- .side-chart.side-chart-with-border table tr:last-child td {
212
- padding-bottom: 10% !important;
213
- }
214
-
215
- td.bar-title {
216
- width: 35.7%;
217
- border-left: 1px solid;
218
- padding-left: 12px;
219
- font-size: 86%;
220
- color: rgb(139, 139, 167);
221
-
222
- }
223
-
224
- td.bar-title span {
225
- padding-bottom: 10px;
226
- display: block;
227
- color: rgb(51, 51, 51);
228
- text-align: right;
229
- direction: ltr;
230
- text-transform: capitalize
231
- }
232
-
233
- /*
234
- .participant-analytics-section .container .side-chart-container:nth-child(odd) .bar-title span {
235
- text-align: left;
236
- }
237
- */
238
- .side-chart.side-chart-with-border table tr.empty-tr {
239
- height: 52px;
240
- }
241
-
242
- td {
243
- border-spacing: 0;
244
- vertical-align: revert;
245
- padding: 0;
246
- }
247
-
248
- .container {
249
- padding-right: 50px;
250
- box-sizing: border-box;
251
- width: 100%;
252
- }
253
-
254
- .bar-chart {
255
- height: 31px;
256
- margin-bottom: 7px;
257
- max-width: 95%;
258
- float: right;
259
- border-top-left-radius: 20px;
260
- border-bottom-left-radius: 20px;
261
- text-indent: 15px;
262
- padding-top: 5px;
263
- box-sizing: border-box;
264
- color: #fff;
265
- font-size: 86%;
266
- background: rgb(250, 145, 15);
267
- min-width: 60px;
268
- }
269
-
270
- .participant-analytics-section .container .side-chart-container table {
271
- direction: rtl;
272
- }
273
-
274
- .participant-analytics-section .container .side-chart-container table td.bar-title {
275
- border-right: 1px solid;
276
- border-left: 0;
277
- padding-right: 13px;
278
- padding-left: 0;
279
- }
280
-
281
- .participant-analytics-section .container .side-chart-container table .bar-chart {
282
- float: left;
283
- border-radius: 0 20px 20px 0;
284
- }
285
-
286
- /*other pages*/
287
- #page-0 {
288
- background-repeat: no-repeat;
289
- background-size: cover;
290
- /*background: url(../../corporate_report/images/3.png);*/
291
- background-size: 211mm;
292
- }
293
-
294
- .element-summary-container {
295
- float: right;
296
- width: 49%;
297
- margin-top: -15px;
298
- position: relative;
299
- }
300
-
301
- .element-summary-text {
302
- font-size: 8.5px;
303
- letter-spacing: -0.2px;
304
- line-height: 1.6;
305
- padding: 14px 16px;
306
- box-sizing: border-box;
307
- background: #e5f5fc;
308
- display: block;
309
- float: left;
310
- width: 100%;
311
- color: #333333;
312
- z-index: 1;
313
- position: relative;
314
- }
315
-
316
- .summary-bg {
317
- position: relative;
318
- left: 0;
319
- right: 0;
320
- width: 100%;
321
- height: 34px;
322
- border-style: none;
323
- display: block;
324
- float: left;
325
- transform: skewY(-3deg);
326
- background: #e5f5fc;
327
- border-bottom-right-radius: 20px;
328
- border-bottom-left-radius: 20px;
329
- margin-top: -10px;
330
- }
331
-
332
- .other .section-title {
333
- margin-bottom: 16px;
334
- }
335
-
336
- .other .container .side-chart-container table {
337
- direction: rtl;
338
- }
339
-
340
- .other .side-chart.side-chart-with-border table {
341
- margin-top: 0;
342
- }
343
-
344
- .other .container .side-chart-container {
345
- float: left;
346
- width: 51%;
347
- margin-bottom: 0;
348
- }
349
-
350
- .other .container .side-chart-container table td.bar-title {
351
- border-right: 1px solid;
352
- border-left: 0;
353
- padding-right: 13px;
354
- padding-left: 0;
355
- }
356
-
357
- .other .container .side-chart-container table .bar-chart {
358
- float: left;
359
- border-radius: 0 20px 20px 0;
360
- }
361
-
362
- .other .side-chart.side-chart-with-border table tr td:last-child {
363
- width: 43%;
364
- }
365
-
366
- .other .side-chart.side-chart-with-border table tr:first-child td {
367
- padding-top: 4%;
368
- }
369
-
370
- .other .side-chart.side-chart-with-border table tr:last-child td {
371
- padding-bottom: 2% !important;
372
- }
373
-
374
- .other .side-chart-container .chart_title {
375
- text-align: left;
376
- font-size: 100%;
377
- margin-top: 10px;
378
- }
379
-
380
- .single-section td.bar-title {
381
- font-size: 8.5px;
382
- }
383
-
384
- .relations-section {
385
- width: 100%;
386
- float: left;
387
- }
388
-
389
- .relations-section.relations-section-titles {
390
- margin-top: 10px;
391
- }
392
-
393
- .relations-section .single-relation {
394
- width: 30%;
395
- float: left;
396
- padding: 1% 1% 0% 1%;
397
- box-sizing: border-box;
398
- color: rgb(0, 0, 153);
399
- margin-right: 3%;
400
- }
401
-
402
- .relations-section .single-relation:nth-child(4n) {
403
- margin-right: 5%;
404
- width: 30%;
405
- }
406
-
407
- .relation-title {
408
- font-weight: 600;
409
- font-size: 83%;
410
- margin-bottom: 4px;
411
- min-height: 2.3em;
412
- }
413
-
414
- .relation-content {
415
- letter-spacing: -0.36px;
416
- font-size: 78%;
417
- line-height: 1.5;
418
- padding-top: 6px;
419
- padding-bottom: 20px;
420
- background: #f2f2ff;
421
- padding: 7px 8px 15px 8px;
422
- box-sizing: border-box;
423
- border-top: 1.5px solid rgba(0, 0, 153, 0.3);
424
- border-bottom-right-radius: 20px;
425
- }
426
-
427
- .relations-section.relations-section-content .single-relation {
428
- padding: 0;
429
- }
430
-
431
- .relation-content-bottom-bg {
432
- position: relative;
433
- left: 0;
434
- right: 0;
435
- width: 100%;
436
- height: 10px;
437
- background: #f2f2ff;
438
- transform: skewY(3deg);
439
- border-bottom-right-radius: 30px;
440
- margin-top: -6px;
441
- display: none;
442
- }
443
-
444
- table.data-by-gender {
445
- width: 100%;
446
- margin-top: 3%;
447
- float: left;
448
- text-align: left;
449
- font-size: 91%;
450
- border-spacing: 0;
451
- margin-bottom: 6%;
452
- page-break-inside: avoid;
453
- }
454
-
455
- table.data-by-gender tr th:first-child {
456
- width: 20%;
457
- }
458
-
459
- table.data-by-gender tr td {
460
- color: rgb(51, 51, 51);
461
- font-size: 80%;
462
- }
463
-
464
- table.data-by-gender th {
465
- color: rgb(139, 139, 167);
466
- font-weight: 600;
467
- border-bottom: 1px solid rgb(0, 0, 153);
468
- border-spacing: 0;
469
- }
470
-
471
- table.data-by-gender tbody tr:first-child td {
472
- color: rgb(139, 139, 167);
473
- font-weight: 600;
474
- font-size: 9px;
475
- }
476
-
477
- table.data-by-gender td, table.data-by-gender th {
478
- padding: 4px;
479
- }
480
-
481
- table.data-by-gender tbody tr:nth-child(even) {
482
- background-color: rgb(237, 237, 248);
483
- }
484
-
485
- table.data-by-gender tr td:last-child {
486
- text-align: center;
487
- }
488
-
489
- .recommends-section {
490
- width: 62%;
491
- float: left;
492
- margin-left: -50px;
493
- padding-left: 50px;
494
- padding-top: 3%;
495
- padding-bottom: 5%;
496
- background: rgba(0, 0, 153, 0.05);
497
- transform: skewY(3deg);
498
- border-top-right-radius: 20px;
499
- border-bottom-right-radius: 20px;
500
- }
501
-
502
- .recommends-section-content {
503
- transform: skewY(-3deg);
504
- }
505
-
506
- .recommends-title {
507
- font-size: 84%;
508
- color: rgb(0, 0, 153);
509
- margin-bottom: 6px;
510
- font-weight: 600;
511
- }
512
-
513
- .recommends-section ul {
514
- padding: 0;
515
- list-style: none;
516
- color: rgb(0, 0, 153);
517
- font-size: 72%;
518
- letter-spacing: -0.36px;
519
- margin: 0;
520
- width: 95%;
521
- }
522
-
523
- .recommends-section li {
524
- margin-bottom: 1%;
525
- }
526
-
527
- .recommends-section li img {
528
- display: inline-block;
529
- width: 14px;
530
- margin-right: 7px;
531
- vertical-align: top;
532
- }
533
-
534
- .recommends-section li span {
535
- display: inline-block;
536
- width: 86%;
537
- vertical-align: middle;
538
- line-height: 1.55;
539
- }
540
-
541
- .sources-section {
542
- width: 36%;
543
- float: right;
544
- margin-top: 3.3%;
545
- page-break-after: always;
546
- }
547
-
548
- .sources-title {
549
- color: rgb(139, 139, 167);
550
- font-weight: 600;
551
- font-size: 82%;
552
- margin-bottom: 3%;
553
- }
554
-
555
- .sources-section span {
556
- font-size: 55%;
557
- display: block;
558
- margin-bottom: 1.5%;
559
- color: rgb(51, 51, 51);
560
- width: 100%;
561
- position: relative;
562
- clear: both;
563
- float: left;
564
- }
565
-
566
- .sources-section a {
567
- color: rgb(0, 158, 226);
568
- line-height: 1.5;
569
- text-decoration: none;
570
- display: block;
571
- cursor: pointer;
572
- position: relative;
573
- width: 100%;
574
- }
575
-
576
- .bar-chart.divide-bar {
577
- height: 22px !important;
578
- padding-top: 1px !important;
579
- }
580
-
581
- #page1:target + .page-footer {
582
- display: none;
1
+ html {
2
+ background: unset;
3
+ height: 100%;
4
+ width: 100%;
5
+ scroll-behavior: smooth;
6
+ }
7
+
8
+ body {
9
+ margin: 0;
10
+ padding: 0;
11
+ font-family: 'Open Sans', sans-serif;
12
+ width: 100%;
13
+ font-size: 16px;
14
+ overflow-x: hidden;
15
+ position: relative;
16
+ margin: auto;
17
+ float: left;
18
+ }
19
+
20
+ .page {
21
+ width: 21cm;
22
+ margin: auto;
23
+ position: relative;
24
+ box-sizing: border-box;
25
+ padding-top: 40px;
26
+ clear: both;
27
+ height: auto;
28
+ float: left;
29
+ }
30
+
31
+ .page:not(.first-page) {
32
+ page-break-inside: avoid;
33
+ }
34
+
35
+ .participant-analytics-section.single-section.page {
36
+ background-color: #fff;
37
+ margin-top: -65px;
38
+ }
39
+
40
+ .bottom-section {
41
+ display: block;
42
+ width: 100%;
43
+
44
+ float: left;
45
+ }
46
+
47
+ .page .relations-section-container {
48
+ display: block;
49
+ width: 100%;
50
+ page-break-inside: avoid;
51
+ float: left;
52
+ }
53
+
54
+
55
+ .first-page {
56
+ width: 21cm;
57
+ height: auto;
58
+ padding-left: 50px;
59
+ padding-top: 0.8in;
60
+ box-sizing: border-box;
61
+ background-color: transparent;
62
+ position: relative;
63
+ page-break-inside: avoid;
64
+ }
65
+
66
+ .page-footer {
67
+ font-family: 'Open Sans', sans-serif !important;
68
+ width: 21cm !important;
69
+ margin: auto !important;
70
+ padding: 0 50px;
71
+ box-sizing: border-box;
72
+ overflow: auto;
73
+ margin-bottom: 15px !important;
74
+ }
75
+
76
+ .first-page .logo {
77
+ width: 25%
78
+ }
79
+
80
+ .first-page .company-logo {
81
+ width: 10%;
82
+ float: right;
83
+ padding-right: 20px;
84
+ }
85
+
86
+ .report-header {
87
+ color: rgb(139, 139, 167);
88
+ font-size: 181%;
89
+ margin-top: 1.11%;
90
+ }
91
+
92
+ .cover-overlay-container {
93
+ float: right;
94
+ padding-right: 50px;
95
+ box-sizing: border-box;
96
+ width: 76%;
97
+ background-image: url(../images/cover-bg-default.png);
98
+ background-color: #fff;
99
+ background-size: cover;
100
+ margin-top: 0.8in;
101
+ height: 8.27in;
102
+ position: relative;
103
+
104
+ }
105
+
106
+ .cover-overlay-container.bionext {
107
+ background-image: url(../images/cover-bg-bionext.png);
108
+ }
109
+
110
+ .report-title {
111
+ font-size: 300%;
112
+ font-weight: 700;
113
+ float: right;
114
+ width: 75%;
115
+ margin-top: 62.1%;
116
+ text-align: right;
117
+ letter-spacing: -1.8px;
118
+ line-height: 1.14;
119
+ color: rgb(0, 0, 153);
120
+ display: block;
121
+ }
122
+
123
+ .report-date {
124
+ display: block;
125
+ float: right;
126
+ text-align: right;
127
+ font-size: 182%;
128
+ margin-top: 5.3%;
129
+ color: rgb(139, 139, 167);
130
+ }
131
+
132
+ .footer {
133
+ position: relative;
134
+ bottom: 0;
135
+ width: 100%;
136
+ padding-right: 50px;
137
+ box-sizing: border-box;
138
+ margin-top: -104px;
139
+ float: left;
140
+ }
141
+
142
+ .first-footer-logo {
143
+ position: relative;
144
+ width: 20%;
145
+ margin-right: 0;
146
+ float: right;
147
+ margin-top: 25px;
148
+ }
149
+
150
+ img {
151
+ width: 100%;
152
+ position: relative;
153
+ }
154
+
155
+ .second-footer-logo {
156
+ position: relative;
157
+ float: left;
158
+ margin-bottom: 0;
159
+ width: 79%;
160
+ }
161
+
162
+ .second-footer-logo img {
163
+ width: 25%;
164
+ }
165
+
166
+ .copyright-text {
167
+ font-size: 84%;
168
+ color: rgb(139, 139, 167);
169
+ line-height: 1;
170
+ }
171
+
172
+ /*second page*/
173
+ .single-section {
174
+ padding-left: 50px;
175
+ }
176
+
177
+ .section-title {
178
+ display: block;
179
+ font-size: 202%;
180
+ font-weight: 600;
181
+ padding-bottom: 0.6%;
182
+ border-bottom: 3px solid rgb(0, 158, 226);
183
+ color: rgb(0, 0, 153);
184
+ text-indent: 1px;
185
+ margin-bottom: 4.4%;
186
+ padding-right: 50px;
187
+ }
188
+
189
+ .side-chart-container {
190
+ width: 46%;
191
+ display: inline-block;
192
+ margin-bottom: 5%;
193
+ }
194
+
195
+ .side-chart-container .chart_title {
196
+ text-align: center;
197
+ font-size: 179%;
198
+ color: rgb(139, 139, 167);
199
+ }
200
+
201
+ .side-chart.side-chart-with-border table {
202
+ width: 100%;
203
+ margin-top: 20px;
204
+ border-collapse: collapse;
205
+ }
206
+
207
+ .side-chart.side-chart-with-border table tr:first-child td {
208
+ padding-top: 13%
209
+ }
210
+
211
+ .side-chart.side-chart-with-border table tr:last-child td {
212
+ padding-bottom: 10% !important;
213
+ }
214
+
215
+ td.bar-title {
216
+ width: 35.7%;
217
+ border-left: 1px solid;
218
+ padding-left: 12px;
219
+ font-size: 86%;
220
+ color: rgb(139, 139, 167);
221
+
222
+ }
223
+
224
+ td.bar-title span {
225
+ padding-bottom: 10px;
226
+ display: block;
227
+ color: rgb(51, 51, 51);
228
+ text-align: right;
229
+ direction: ltr;
230
+ text-transform: capitalize
231
+ }
232
+
233
+ /*
234
+ .participant-analytics-section .container .side-chart-container:nth-child(odd) .bar-title span {
235
+ text-align: left;
236
+ }
237
+ */
238
+ .side-chart.side-chart-with-border table tr.empty-tr {
239
+ height: 52px;
240
+ }
241
+
242
+ td {
243
+ border-spacing: 0;
244
+ vertical-align: revert;
245
+ padding: 0;
246
+ }
247
+
248
+ .container {
249
+ padding-right: 50px;
250
+ box-sizing: border-box;
251
+ width: 100%;
252
+ }
253
+
254
+ .bar-chart {
255
+ height: 31px;
256
+ margin-bottom: 7px;
257
+ max-width: 95%;
258
+ float: right;
259
+ border-top-left-radius: 20px;
260
+ border-bottom-left-radius: 20px;
261
+ text-indent: 15px;
262
+ padding-top: 5px;
263
+ box-sizing: border-box;
264
+ color: #fff;
265
+ font-size: 86%;
266
+ background: rgb(250, 145, 15);
267
+ min-width: 60px;
268
+ }
269
+
270
+ .participant-analytics-section .container .side-chart-container table {
271
+ direction: rtl;
272
+ }
273
+
274
+ .participant-analytics-section .container .side-chart-container table td.bar-title {
275
+ border-right: 1px solid;
276
+ border-left: 0;
277
+ padding-right: 13px;
278
+ padding-left: 0;
279
+ }
280
+
281
+ .participant-analytics-section .container .side-chart-container table .bar-chart {
282
+ float: left;
283
+ border-radius: 0 20px 20px 0;
284
+ }
285
+
286
+ /*other pages*/
287
+ #page-0 {
288
+ background-repeat: no-repeat;
289
+ background-size: cover;
290
+ /*background: url(../../corporate_report/images/3.png);*/
291
+ background-size: 211mm;
292
+ }
293
+
294
+ .element-summary-container {
295
+ float: right;
296
+ width: 49%;
297
+ margin-top: -15px;
298
+ position: relative;
299
+ }
300
+
301
+ .element-summary-text {
302
+ font-size: 8.5px;
303
+ letter-spacing: -0.2px;
304
+ line-height: 1.6;
305
+ padding: 14px 16px;
306
+ box-sizing: border-box;
307
+ background: #e5f5fc;
308
+ display: block;
309
+ float: left;
310
+ width: 100%;
311
+ color: #333333;
312
+ z-index: 1;
313
+ position: relative;
314
+ }
315
+
316
+ .summary-bg {
317
+ position: relative;
318
+ left: 0;
319
+ right: 0;
320
+ width: 100%;
321
+ height: 34px;
322
+ border-style: none;
323
+ display: block;
324
+ float: left;
325
+ transform: skewY(-3deg);
326
+ background: #e5f5fc;
327
+ border-bottom-right-radius: 20px;
328
+ border-bottom-left-radius: 20px;
329
+ margin-top: -10px;
330
+ }
331
+
332
+ .other .section-title {
333
+ margin-bottom: 16px;
334
+ }
335
+
336
+ .other .container .side-chart-container table {
337
+ direction: rtl;
338
+ }
339
+
340
+ .other .side-chart.side-chart-with-border table {
341
+ margin-top: 0;
342
+ }
343
+
344
+ .other .container .side-chart-container {
345
+ float: left;
346
+ width: 51%;
347
+ margin-bottom: 0;
348
+ }
349
+
350
+ .other .container .side-chart-container table td.bar-title {
351
+ border-right: 1px solid;
352
+ border-left: 0;
353
+ padding-right: 13px;
354
+ padding-left: 0;
355
+ }
356
+
357
+ .other .container .side-chart-container table .bar-chart {
358
+ float: left;
359
+ border-radius: 0 20px 20px 0;
360
+ }
361
+
362
+ .other .side-chart.side-chart-with-border table tr td:last-child {
363
+ width: 43%;
364
+ }
365
+
366
+ .other .side-chart.side-chart-with-border table tr:first-child td {
367
+ padding-top: 4%;
368
+ }
369
+
370
+ .other .side-chart.side-chart-with-border table tr:last-child td {
371
+ padding-bottom: 2% !important;
372
+ }
373
+
374
+ .other .side-chart-container .chart_title {
375
+ text-align: left;
376
+ font-size: 100%;
377
+ margin-top: 10px;
378
+ }
379
+
380
+ .single-section td.bar-title {
381
+ font-size: 8.5px;
382
+ }
383
+
384
+ .relations-section {
385
+ width: 100%;
386
+ float: left;
387
+ }
388
+
389
+ .relations-section.relations-section-titles {
390
+ margin-top: 10px;
391
+ }
392
+
393
+ .relations-section .single-relation {
394
+ width: 30%;
395
+ float: left;
396
+ padding: 1% 1% 0% 1%;
397
+ box-sizing: border-box;
398
+ color: rgb(0, 0, 153);
399
+ margin-right: 3%;
400
+ }
401
+
402
+ .relations-section .single-relation:nth-child(4n) {
403
+ margin-right: 5%;
404
+ width: 30%;
405
+ }
406
+
407
+ .relation-title {
408
+ font-weight: 600;
409
+ font-size: 83%;
410
+ margin-bottom: 4px;
411
+ min-height: 2.3em;
412
+ }
413
+
414
+ .relation-content {
415
+ letter-spacing: -0.36px;
416
+ font-size: 78%;
417
+ line-height: 1.5;
418
+ padding-top: 6px;
419
+ padding-bottom: 20px;
420
+ background: #f2f2ff;
421
+ padding: 7px 8px 15px 8px;
422
+ box-sizing: border-box;
423
+ border-top: 1.5px solid rgba(0, 0, 153, 0.3);
424
+ border-bottom-right-radius: 20px;
425
+ }
426
+
427
+ .relations-section.relations-section-content .single-relation {
428
+ padding: 0;
429
+ }
430
+
431
+ .relation-content-bottom-bg {
432
+ position: relative;
433
+ left: 0;
434
+ right: 0;
435
+ width: 100%;
436
+ height: 10px;
437
+ background: #f2f2ff;
438
+ transform: skewY(3deg);
439
+ border-bottom-right-radius: 30px;
440
+ margin-top: -6px;
441
+ display: none;
442
+ }
443
+
444
+ table.data-by-gender {
445
+ width: 100%;
446
+ margin-top: 3%;
447
+ float: left;
448
+ text-align: left;
449
+ font-size: 91%;
450
+ border-spacing: 0;
451
+ margin-bottom: 6%;
452
+ page-break-inside: avoid;
453
+ }
454
+
455
+ table.data-by-gender tr th:first-child {
456
+ width: 20%;
457
+ }
458
+
459
+ table.data-by-gender tr td {
460
+ color: rgb(51, 51, 51);
461
+ font-size: 80%;
462
+ }
463
+
464
+ table.data-by-gender th {
465
+ color: rgb(139, 139, 167);
466
+ font-weight: 600;
467
+ border-bottom: 1px solid rgb(0, 0, 153);
468
+ border-spacing: 0;
469
+ }
470
+
471
+ table.data-by-gender tbody tr:first-child td {
472
+ color: rgb(139, 139, 167);
473
+ font-weight: 600;
474
+ font-size: 9px;
475
+ }
476
+
477
+ table.data-by-gender td, table.data-by-gender th {
478
+ padding: 4px;
479
+ }
480
+
481
+ table.data-by-gender tbody tr:nth-child(even) {
482
+ background-color: rgb(237, 237, 248);
483
+ }
484
+
485
+ table.data-by-gender tr td:last-child {
486
+ text-align: center;
487
+ }
488
+
489
+ .recommends-section {
490
+ width: 62%;
491
+ float: left;
492
+ margin-left: -50px;
493
+ padding-left: 50px;
494
+ padding-top: 3%;
495
+ padding-bottom: 5%;
496
+ background: rgba(0, 0, 153, 0.05);
497
+ transform: skewY(3deg);
498
+ border-top-right-radius: 20px;
499
+ border-bottom-right-radius: 20px;
500
+ }
501
+
502
+ .recommends-section-content {
503
+ transform: skewY(-3deg);
504
+ }
505
+
506
+ .recommends-title {
507
+ font-size: 84%;
508
+ color: rgb(0, 0, 153);
509
+ margin-bottom: 6px;
510
+ font-weight: 600;
511
+ }
512
+
513
+ .recommends-section ul {
514
+ padding: 0;
515
+ list-style: none;
516
+ color: rgb(0, 0, 153);
517
+ font-size: 72%;
518
+ letter-spacing: -0.36px;
519
+ margin: 0;
520
+ width: 95%;
521
+ }
522
+
523
+ .recommends-section li {
524
+ margin-bottom: 1%;
525
+ }
526
+
527
+ .recommends-section li img {
528
+ display: inline-block;
529
+ width: 14px;
530
+ margin-right: 7px;
531
+ vertical-align: top;
532
+ }
533
+
534
+ .recommends-section li span {
535
+ display: inline-block;
536
+ width: 86%;
537
+ vertical-align: middle;
538
+ line-height: 1.55;
539
+ }
540
+
541
+ .sources-section {
542
+ width: 36%;
543
+ float: right;
544
+ margin-top: 3.3%;
545
+ page-break-after: always;
546
+ }
547
+
548
+ .sources-title {
549
+ color: rgb(139, 139, 167);
550
+ font-weight: 600;
551
+ font-size: 82%;
552
+ margin-bottom: 3%;
553
+ }
554
+
555
+ .sources-section span {
556
+ font-size: 55%;
557
+ display: block;
558
+ margin-bottom: 1.5%;
559
+ color: rgb(51, 51, 51);
560
+ width: 100%;
561
+ position: relative;
562
+ clear: both;
563
+ float: left;
564
+ }
565
+
566
+ .sources-section a {
567
+ color: rgb(0, 158, 226);
568
+ line-height: 1.5;
569
+ text-decoration: none;
570
+ display: block;
571
+ cursor: pointer;
572
+ position: relative;
573
+ width: 100%;
574
+ }
575
+
576
+ .bar-chart.divide-bar {
577
+ height: 22px !important;
578
+ padding-top: 1px !important;
579
+ }
580
+
581
+ #page1:target + .page-footer {
582
+ display: none;
583
583
  }