dolibarr  20.0.0-beta
global.inc.php
Go to the documentation of this file.
1 <?php
2 /*
3 /* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
4  * Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
5  * Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19  */
20 
25 if (!defined('ISLOADEDBYSTEELSHEET')) {
26  die('Must be call by steelsheet');
27 }
28 
29 $leftmenuwidth = 240;
30 
31 '
32 @phan-var-force string $badgeDanger
33 @phan-var-force string $badgeWarning
34 @phan-var-force string $borderwidth
35 @phan-var-force string $colorbackbody
36 @phan-var-force string $colorbackhmenu1
37 @phan-var-force string $colorbacklinebreak
38 @phan-var-force string $colorbacklineimpair1
39 @phan-var-force string $colorbacklineimpair2
40 @phan-var-force string $colorbacklinepair1
41 @phan-var-force string $colorbacklinepair2
42 @phan-var-force string $colorbacklinepairchecked
43 @phan-var-force string $colorbacklinepairhover
44 @phan-var-force string $colorbacktabactive
45 @phan-var-force string $colorbacktabcard1
46 @phan-var-force string $colorbacktitle1
47 @phan-var-force string $colorbackvmenu1
48 @phan-var-force string $colorblind_deuteranopes_textSuccess
49 @phan-var-force string $colorblind_deuteranopes_textWarning
50 @phan-var-force string $colorshadowtitle
51 @phan-var-force string $colortext
52 @phan-var-force string $colortextbackhmenu
53 @phan-var-force string $colortextbacktab
54 @phan-var-force string $colortextbackvmenu
55 @phan-var-force string $colortextlink
56 @phan-var-force string $colortexttitle
57 @phan-var-force string $colortexttitlelink
58 @phan-var-force string $colortexttitlenotab
59 @phan-var-force string $colortexttitlenotab2
60 @phan-var-force string $colortopbordertitle1
61 @phan-var-force int<0,1> $disableimages
62 @phan-var-force int<0,1> $dol_optimize_smallscreen
63 @phan-var-force string $fontlist
64 @phan-var-force string $fontsize
65 @phan-var-force int $heightmenu
66 @phan-var-force string $heightrow
67 @phan-var-force string $img_button
68 @phan-var-force string $left
69 @phan-var-force string $maxwidthloginblock
70 @phan-var-force int $minwidthtmenu
71 @phan-var-force int $nbtopmenuentries
72 @phan-var-force int $nbtopmenuentriesreal
73 @phan-var-force string $path
74 @phan-var-force string $right
75 @phan-var-force string $textDanger
76 @phan-var-force string $textSuccess
77 @phan-var-force string $textWarning
78 @phan-var-force string $toolTipBgColor
79 @phan-var-force string $toolTipFontColor
80 @phan-var-force int<0,1> $useboldtitle
81 @phan-var-force int $userborderontable
82 ';
83 
84 ?>
85 /* <style type="text/css" > */
86 
87 /* ============================================================================== */
88 /* Default styles */
89 /* ============================================================================== */
90 
91 :root {
92  --colorbackhmenu1: rgb(<?php print $colorbackhmenu1; ?>);
93  --colorbackvmenu1: rgb(<?php print $colorbackvmenu1; ?>);
94  --colorbacktitle1: rgb(<?php print $colorbacktitle1; ?>);
95  --colorbacktabcard1: rgb(<?php print $colorbacktabcard1; ?>);
96  --colorbacktabactive: rgb(<?php print $colorbacktabactive; ?>);
97  --colorbacklineimpair1: rgb(<?php print $colorbacklineimpair1; ?>);
98  --colorbacklineimpair2: rgb(<?php print $colorbacklineimpair2; ?>);
99  --colorbacklinepair1: rgb(<?php print $colorbacklinepair1; ?>);
100  --colorbacklinepair2: rgb(<?php print $colorbacklinepair2; ?>);
101  --colorbacklinepairhover: rgb(<?php print $colorbacklinepairhover; ?>);
102  --colorbacklinepairchecked: rgb(<?php print $colorbacklinepairchecked; ?>);
103  --colorbacklinebreak: rgb(<?php print $colorbacklinebreak; ?>);
104  --colorbackbody: rgb(<?php print $colorbackbody; ?>);
105  --colorbackmobilemenu: #f8f8f8;
106  --colorbackgrey: #f0f0f0;
107  --colortexttitlenotab: rgb(<?php print $colortexttitlenotab; ?>);
108  --colortexttitlenotab2: rgb(<?php print $colortexttitlenotab2; ?>);
109  --colortexttitle: rgba(<?php print $colortexttitle; ?>, 0.9);
110  --colortexttitlelink: rgba(<?php print $colortexttitlelink; ?>, 0.9);
111  --colortext: rgb(<?php print $colortext; ?>);
112  --colortextlink: rgb(<?php print $colortextlink; ?>);
113  --colortextbackhmenu: #<?php print $colortextbackhmenu; ?>;
114  --colortextbackvmenu: #<?php print $colortextbackvmenu; ?>;
115  --colortopbordertitle1: rgb(<?php print $colortopbordertitle1; ?>);
116  --listetotal: #888888;
117  --inputbackgroundcolor: #FFF;
118  --inputbackgroundcolordisabled: #eee;
119  --inputcolordisabled: rgb(80, 80, 80);
120  --inputbordercolor: rgba(0,0,0,.15);
121  --tooltipbgcolor: <?php print $toolTipBgColor; ?>;
122  --tooltipfontcolor : <?php print $toolTipFontColor; ?>;
123  --oddevencolor: #202020;
124  --colorboxstatsborder: #e0e0e0;
125  --dolgraphbg: rgba(255,255,255,0);
126  --fieldrequiredcolor: #400030;
127  --colortextbacktab: #<?php print $colortextbacktab; ?>;
128  --colorboxiconbg: #eee;
129  --refidnocolor:#444;
130  --tableforfieldcolor:#888;
131  --amountremaintopaycolor:#880000;
132  --amountpaymentcomplete:#008855;
133  --amountremaintopaybackcolor:none;
134  --productlinestockod: #002200;
135  --productlinestocktoolow: #884400;
136  --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #fff, #fff, #fff, #e4efe8);
137  --tablevalidbgcolor: rgb(252, 248, 227);
138  --colorblack: #000;
139  --colorwhite: #fff;
140  --heightrow: <?php print $heightrow; ?>;
141 }
142 
143 <?php
144 if (getDolGlobalString('THEME_DARKMODEENABLED')) {
145  print "/* For dark mode */\n";
146  if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
147  print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
148  } else {
149  print "@media not print {";
150  }
151  print ":root {
152  --colorbackhmenu1: #3d3e40;
153  --colorbackvmenu1: #2b2c2e;
154  --colorbacktitle1: #2b2d2f;
155  --colorbacktabcard1: #1d1e20; /* Must be same than colorbackbody */
156  --colorbacktabactive: rgb(220,220,220);
157  --colorbacklineimpair1: #38393d;
158  --colorbacklineimpair2: #2b2d2f;
159  --colorbacklinepair1: #38393d;
160  --colorbacklinepair2: #2b2d2f;
161  --colorbacklinepairhover: #2b2d2f;
162  --colorbacklinepairchecked: #0e5ccd;
163  --colorbackbody: #1d1e20;
164  --colorbackmobilemenu: #080808;
165  --colorbackgrey: #0f0f0f;
166  --tooltipbgcolor: #2b2d2f;
167  --colortexttitlenotab: rgb(220,220,220);
168  --colortexttitlenotab2: rgb(220,220,220);
169  --colortexttitle: rgb(220,220,220);
170  --colortext: rgb(220,220,220);
171  --colortextlink: #4390dc;
172  --colortexttitlelink: #4390dc;
173  --colortextbackhmenu: rgb(220,220,220);
174  --colortextbackvmenu: rgb(220,220,220);
175  --tooltipfontcolor : rgb(220,220,220);
176  --listetotal: rgb(245, 83, 158);
177  --inputbackgroundcolor: rgb(70, 70, 70);
178  --inputbackgroundcolordisabled: rgb(60, 60, 60);
179  --inputcolordisabled: rgb(140, 140, 140);
180  --inputbordercolor: rgb(220,220,220);
181  --oddevencolor: rgb(220,220,220);
182  --colorboxstatsborder: rgb(65,100,138);
183  --dolgraphbg: #1d1e20;
184  --fieldrequiredcolor: rgb(250,183,59);
185  --colortextbacktab: rgb(220,220,220);
186  --colorboxiconbg: rgb(36,38,39);
187  --refidnocolor: rgb(220,220,220);
188  --tableforfieldcolor:rgb(220,220,220);
189  --amountremaintopaycolor:rgb(252,84,91);
190  --amountpaymentcomplete:rgb(101,184,77);
191  --amountremaintopaybackcolor:rbg(245,130,46);
192  --infoboxmoduleenabledbgcolor : linear-gradient(0.4turn, #000, #000, #000, #274231);
193  --tablevalidbgcolor: rgb(80, 64, 33);
194  --colorblack: #fff;
195  --colorwhite: #000;
196  }
197 
198  body, button {
199  color: #bbb;
200  }\n
201  }\n";
202 }
203 ?>
204 
205 body {
206 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
207  background-color: #FFFFFF;
208 <?php } ?>
209  font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
210  line-height: 1.4;
211  font-family: <?php print $fontlist ?>;
212  margin-top: 0;
213  margin-bottom: 0;
214  margin-right: 0;
215  margin-left: 0;
216  font-weight: 400;
217  background-color: var(--colorbackbody);
218  <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
219  /*transform: scale(1.2);
220  transform-origin: 0 0;*/
221 }
222 
223 /* Style used to protect html content in output to avoid attack by replacing full page with js content */
224 .sensiblehtmlcontent * {
225  position: static !important;
226 }
227 
228 .thumbstat { font-weight: bold !important; }
229 th a { font-weight: <?php echo($useboldtitle ? 'bold' : 'normal'); ?> !important; }
230 a.tab { font-weight: 500 !important; }
231 
232 a:link, a:visited, a:hover, a:active, .classlink { color: var(--colortextlink); text-decoration: none; }
233 a:hover { text-decoration: underline; color: var(--colortextlink); }
234 a.commonlink { color: var(--colortextlink) !important; text-decoration: none; }
235 
236 th.liste_titre a div div:hover, th.liste_titre_sel a div div:hover { text-decoration: underline; }
237 tr.liste_titre th.liste_titre_sel:not(.maxwidthsearch), tr.liste_titre td.liste_titre_sel:not(.maxwidthsearch),
238 tr.liste_titre th.liste_titre:not(.maxwidthsearch), tr.liste_titre td.liste_titre:not(.maxwidthsearch) { opacity: 0.8; }
239 /* th.liste_titre_sel a, th.liste_titre a, td.liste_titre_sel a, td.liste_titre a { color: #766; } */
240 tr.liste_titre_filter th.liste_titre { text-align: unset; }
241 
242 input {
243  font-size: unset;
244 }
245 select.vmenusearchselectcombo {
246  background-color: unset;
247 }
248 
249 table.liste th.wrapcolumntitle.liste_titre:not(.maxwidthsearch), table.liste td.wrapcolumntitle.liste_titre:not(.maxwidthsearch),
250 table.liste th.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch), table.liste td.wrapcolumntitle.liste_titre_sel:not(.maxwidthsearch) {
251  overflow: hidden;
252  white-space: nowrap;
253  max-width: 100px;
254  text-overflow: ellipsis;
255 }
256 th.wrapcolumntitle dl dt a span.fas.fa-list {
257  vertical-align: middle;
258  padding-bottom: 1px;
259 }
260 
261 /*.liste_titre input[name=month_date_when], .liste_titre input[name=monthvalid], .liste_titre input[name=search_ordermonth], .liste_titre input[name=search_deliverymonth],
262 .liste_titre input[name=search_smonth], .liste_titre input[name=search_month], .liste_titre input[name=search_emonth], .liste_titre input[name=smonth], .liste_titre input[name=month], .liste_titre select[name=month],
263 .liste_titre select[name=year],
264 .liste_titre input[name=month_lim], .liste_titre input[name=month_start], .liste_titre input[name=month_end], .liste_titre input[name=month_create],
265 .liste_titre input[name=search_month_lim], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end], .liste_titre input[name=search_month_create],
266 .liste_titre input[name=search_month_update], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end],
267 .liste_titre input[name=day_date_when], .liste_titre input[name=dayvalid], .liste_titre input[name=search_orderday], .liste_titre input[name=search_deliveryday],
268 .liste_titre input[name=search_sday], .liste_titre input[name=search_day], .liste_titre input[name=search_eday], .liste_titre input[name=sday], .liste_titre input[name=day], .liste_titre select[name=day],
269 .liste_titre input[name=day_lim], .liste_titre input[name=day_start], .liste_titre input[name=day_end], .liste_titre input[name=day_create],
270 .liste_titre input[name=search_day_lim], .liste_titre input[name=search_day_start], .liste_titre input[name=search_day_end], .liste_titre input[name=search_day_create],
271 .liste_titre input[name=search_day_create], .liste_titre input[name=search_day_start], .liste_titre input[name=search_day_end],
272 .liste_titre input[name=search_day_date_when], .liste_titre input[name=search_month_date_when], .liste_titre input[name=search_year_date_when],
273 .liste_titre input[name=search_dtstartday], .liste_titre input[name=search_dtendday], .liste_titre input[name=search_dtstartmonth], .liste_titre input[name=search_dtendmonth],
274 */
275 .liste_titre input[name=search_month], .liste_titre input[name=search_month_start], .liste_titre input[name=search_month_end] {
276  margin-right: 4px;
277 }
278 
279 select#date_startday, select#date_startmonth, select#date_endday, select#date_endmonth, select#reday, select#remonth,
280 input, input.flat, form.flat select, select, select.flat, .dataTables_length label select {
281  border: none;
282 }
283 input, input.flat, textarea, textarea.flat, form.flat select, select, select.flat, .dataTables_length label select {
284  color: var(--colortext);
285  border-radius: 3px;
286  font-family: <?php print $fontlist ?>;
287  outline: none;
288  margin: 0px 0px 0px 0px;
289  background-color: var(--inputbackgroundcolor);
290  <?php if (!getDolGlobalString('THEME_ADD_BACKGROUND_ON_INPUT')) { ?>
291  border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
292  <?php } ?>
293 }
294 
295 .liste_titre input, .liste_titre select {
296  border: none;
297  border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
298  /* padding: 5px; */
299 }
300 .pageplusone, .divadvancedsearchfieldcompinput,
301 div.tabBar input, div.tabBar input.flat, div.tabBar textarea, div.tabBar textarea.flat, div.tabBar form.flat select, div.tabBar select, div.tabBar select.flat, div.tabBar .dataTables_length label select
302 {
303  border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
304  <?php
305  if (getDolGlobalString('THEME_ADD_BACKGROUND_ON_INPUT')) { ?>
306  background-color: #f8f8fa;
307  border-bottom-left-radius: 0;
308  border-bottom-right-radius: 0;
309  <?php
310  }
311  ?>
312 }
313 .divadvancedsearchfieldcompinput {
314  background: #fff;
315  border-bottom: solid 1px var(--inputbordercolor);
316  border-radius: 3px;
317 }
318 input[name=duration_value], input[name=durationhour]
319 {
320  margin-right: 4px !important;
321 }
322 input[type=submit], input[type=submit]:hover {
323  margin-left: 5px;
324 }
325 input[type=checkbox], input[type=radio] {
326  margin: 0 3px 0 3px;
327 }
328 .kanban input.checkforselect {
329  margin-right: 0px;
330  margin-top: 5px;
331 }
332 input {
333  line-height: 1.3em;
334  padding: 4px;
335  padding-left: 5px;
336 }
337 .tableforfield input, .refidno input {
338  padding: 2px;
339 }
340 select {
341  padding-top: 4px;
342  padding-right: 4px;
343  padding-bottom: 5px;
344  padding-left: 2px;
345 }
346 input, select {
347  margin-left: 0px;
348  margin-bottom: 1px;
349  margin-top: 1px;
350 }
351 #mainbody input.button:not(.buttongen):not(.bordertransp), #mainbody a.button:not(.buttongen):not(.bordertransp) {
352  background: var(--butactionbg);
353  color: var(--textbutaction);
354  border-radius: 4px;
355  border-collapse: collapse;
356  border: none;
357 }
358 #mainbody span.websitetools input.button:not(.buttongen):not(.bordertransp) {
359  color: #000 !important;
360 }
361 #mainbody input.buttongen, #mainbody button.buttongen {
362  padding: 3px 4px;
363 }
364 input.button:hover {
365  -webkit-box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
366  box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
367 }
368 input.button:focus {
369  border-bottom: 0;
370 }
371 
372 input.button.massactionconfirmed {
373  margin: 4px;
374 }
375 
376 input:invalid, select:invalid, input.--error , select.--error {
377  border-color: #ea1212;
378 }
379 
380 section.setupsection {
381  padding: 20px;
382  background-color: var(--colorbackgrey);
383  border-radius: 5px;
384 }
385 
386 .field-error-icon { color: #ea1212 !important; }
387 
388 /* Focus definitions must be after standard definition */
389 div.tabBar textarea:focus {
390  border: 1px solid #aaa !important;
391 }
392 input:focus:not(.button):not(.buttonwebsite):not(.buttonreset):not(.select2-search__field):not(#top-bookmark-search-input):not(.search_component_input):not(.input-nobottom),
393  select:focus, .select2-container--open [aria-expanded="false"].select2-selection--single,
394  .select2-container--focus span.selection span.select2-selection {
395  border-bottom: 1px solid #666 !important;
396  border-bottom-left-radius: 0 !important;
397  border-bottom-right-radius: 0 !important;
398 }
399 textarea.cke_source:focus
400 {
401  box-shadow: none;
402 }
403 div#cke_dp_desc {
404  margin-top: 5px;
405 }
406 textarea {
407  border-radius: 0;
408  border-top: solid 1px var(--inputbordercolor);
409  border-left: solid 1px var(--inputbordercolor);
410  border-right: solid 1px var(--inputbordercolor);
411  border-bottom: solid 1px var(--inputbordercolor);
412 
413  padding:4px;
414  margin-left:0px;
415  margin-bottom:1px;
416  margin-top:1px;
417  }
418 input.removedassigned {
419  padding: 2px !important;
420  vertical-align: text-bottom;
421  margin-bottom: -3px;
422 }
423 input.smallpadd { /* Used for timesheet input */
424  padding-left: 0px !important;
425  padding-right: 0px !important;
426 }
427 input.buttongen {
428  vertical-align: middle;
429 }
430 input.buttonpayment, button.buttonpayment, div.buttonpayment {
431  min-width: 290px;
432  margin-bottom: 15px;
433  margin-top: 15px;
434  height: 60px;
435  background-image: none;
436  line-height: 24px;
437  padding: 8px;
438  background: none;
439  text-align: center;
440  border: 0;
441  background-color: #9999bb;
442  white-space: normal;
443  box-shadow: 1px 1px 4px #bbb;
444  color: #fff;
445  border-radius: 4px;
446  cursor: pointer;
447  max-width: 350px;
448 }
449 input.short {
450  width: 40px;
451 }
452 .nofocusvisible:focus-visible {
453  outline: none;
454 }
455 
456 div.buttonpayment input:focus {
457  color: #008;
458 }
459 .buttonpaymentsmall {
460  font-size: 0.65em;
461  padding-left: 5px;
462  padding-right: 5px;
463 }
464 div.buttonpayment input {
465  background-color: unset;
466  color: #fff;
467  border-bottom: unset;
468  font-weight: bold;
469  text-transform: uppercase;
470  cursor: pointer;
471 }
472 input.buttonpaymentcb {
473  background-image: url(<?php echo dol_buildpath($path.'/theme/common/credit_card.png', 1) ?>);
474  background-size: 26px;
475  background-repeat: no-repeat;
476  background-position: 5px 11px;
477 }
478 input.buttonpaymentcheque {
479  background-image: url(<?php echo dol_buildpath($path.'/theme/common/cheque.png', 1) ?>);
480  background-size: 24px;
481  background-repeat: no-repeat;
482  background-position: 5px 8px;
483 }
484 input.buttonpaymentpaypal {
485  background-image: url(<?php echo dol_buildpath($path.'/paypal/img/object_paypal.png', 1) ?>);
486  background-repeat: no-repeat;
487  background-position: 8px 11px;
488 }
489 input.buttonpaymentpaybox {
490  background-image: url(<?php echo dol_buildpath($path.'/paybox/img/object_paybox.png', 1) ?>);
491  background-repeat: no-repeat;
492  background-position: 8px 11px;
493 }
494 input.buttonpaymentstripe {
495  background-image: url(<?php echo dol_buildpath($path.'/stripe/img/object_stripe.png', 1) ?>);
496  background-repeat: no-repeat;
497  background-position: 8px 11px;
498 }
499 .logopublicpayment #dolpaymentlogo {
500  max-height: 80px;
501  max-width: 300px;
502  image-rendering: -webkit-optimize-contrast; /* better rendering on public page header */
503 }
504 
505 a.butStatus {
506  padding-left: 5px;
507  padding-right: 5px;
508  background-color: transparent;
509  color: var(--colortext) !important;
510  border: 2px solid var( --butactionbg) !important;
511  margin: 0 0.45em !important;
512 }
513 
514 span.userimg.notfirst, div.userimg.notfirst {
515  margin-left: -5px;
516 }
517 div.userimg.notfirst {
518  display: block-inline;
519 }
520 
521 /* Used by timesheets */
522 span.timesheetalreadyrecorded input {
523  border: none;
524  border-bottom: solid 1px rgba(0,0,0,0.4);
525  margin-right: 1px !important;
526 }
527 td.onholidaymorning, td.onholidayafternoon {
528  background-color: #fdf6f2;
529 }
530 td.onholidayallday {
531  background-color: #f4eede;
532 }
533 td.onholidayallday:not(.weekend) input {
534  background-color: #f8f7f0;
535 }
536 td.weekend { /* must be after td.onholidayallday */
537  background-color: #eee;
538 }
539 td.weekend input {
540  background-color: #f8f8f8;
541 }
542 /*
543 td.leftborder, td.hide0 {
544  border-left: 1px solid #ccc;
545 }
546 td.leftborder, td.hide6 {
547  border-right: 1px solid #ccc;
548 }
549 */
550 td.rightborder {
551  border-right: 1px solid #ccc;
552 }
553 
554 td.amount, span.amount, div.amount, b.amount {
555  color: #006666;
556  white-space: nowrap;
557 }
558 span.amount {
559  white-space: nowrap;
560 }
561 td.actionbuttons a {
562  padding-left: 6px;
563 }
564 select.flat, form.flat select, .pageplusone {
565  font-weight: normal;
566  font-size: unset;
567 }
568 input.pageplusone {
569  padding-bottom: 4px;
570  padding-top: 4px;
571  margin-right: 4px;
572 }
573 .paginationlastpage a {
574  padding-left: 8px;
575 }
576 
577 .saturatemedium {
578  filter: saturate(0.8);
579 }
580 
581 .optionblue {
582  color: var(--colortextlink);
583 }
584 .optiongrey, .opacitymedium {
585  opacity: 0.4;
586 }
587 .opacitymediumbycolor {
588  color: rgba(0, 0, 0, 0.4);
589 }
590 .opacitylow {
591  opacity: 0.6;
592 }
593 .opacityhigh {
594  opacity: 0.24;
595 }
596 .opacitytransp {
597  opacity: 0;
598 }
599 .colorwhite {
600  color: var(--colorwhite);
601 }
602 .colorgrey {
603  color: #888 !important;
604 }
605 .colorblack {
606  color: var(--colorblack);
607 }
608 .fontsizeunset {
609  font-size: unset !important;
610 }
611 .vmirror {
612  transform: scale(1, -1);
613 }
614 .hmirror {
615  transform: scale(-1, 1);
616 }
617 
618 select:invalid, select.--error {
619  color: gray;
620 }
621 input:disabled, textarea:disabled, select[disabled='disabled']
622 {
623  background: var(--inputbackgroundcolordisabled);
624  color: var(--inputcolordisabled);
625 }
626 
627 input.liste_titre {
628  box-shadow: none !important;
629 }
630 input.removedfile {
631  padding: 0px !important;
632  border: 0px !important;
633  vertical-align: text-bottom;
634 }
635 input[type=file] {
636  background-color: transparent;
637  box-shadow: none;
638  <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
639  border-top: none;
640  border-left: none;
641  border-right: none;
642  <?php } ?>
643  border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
644 }
645 input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
646 input[type=radio] { background-color: transparent; border: none; box-shadow: none; }
647 input[type=image] { background-color: transparent; border: none; box-shadow: none; }
648 input:-webkit-autofill {
649  background-color: #FDFFF0 !important;
650  background-image:none !important;
651  -webkit-box-shadow: 0 0 0 50px #FDFFF0 inset;
652 }
653 
654 /* CSS for placeholder */
655 .placeholder { color: #ccc; }
656 ::-webkit-input-placeholder { color: #ccc; }
657 input:-moz-placeholder { color: #ccc; }
658 
659 input[name=price], input[name=weight], input[name=volume], input[name=surface], input[name=sizeheight], input[name=net_measure], select[name=incoterm_id] { margin-right: 6px; }
660 fieldset {
661  border: 1px solid #aaa !important;
662  padding-inline-start: 2em;
663  padding-inline-end: 2em;
664  min-inline-size: auto;
665 }
666 #div_container_exportoptions fieldset, #div_container_sub_exportoptions fieldset {
667  border: 1px solid #ccc !important;
668 }
669 .legendforfieldsetstep { padding-bottom: 10px; }
670 input#onlinepaymenturl, input#directdownloadlink {
671  opacity: 0.7;
672 }
673 
674 .formconsumeproduce {
675  background: #f3f3f3;
676  padding: 20px 0px 0px 0px;
677  border-radius: 8px;
678 }
679 
680 div#moretabsList, div#moretabsListaction {
681  z-index: 5;
682 }
683 
684 hr { border: 0; border-top: 1px solid #ccc; }
685 .tabBar hr { margin-top: 20px; margin-bottom: 17px; }
686 
687 
688 table.tableforfield .button:not(.bordertransp):not(.buttonpayment),
689 table.tableforfield .buttonDelete:not(.bordertransp):not(.buttonpayment) {
690  margin-bottom: 2px;
691  margin-top: 2px;
692 }
693 
694 .button:not(.bordertransp):not(.buttonpayment),
695 .buttonDelete:not(.bordertransp):not(.buttonpayment) {
696  margin-bottom: 3px;
697  margin-top: 3px;
698  margin-left: 5px;
699  margin-right: 5px;
700  font-family: <?php print $fontlist ?>;
701  display: inline-block;
702  padding: 8px 15px;
703  min-width: 90px;
704  text-align: center;
705  cursor: pointer;
706  text-decoration: none !important;
707  background-color: #f5f5f5;
708  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
709  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
710  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
711  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
712  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
713  background-repeat: repeat-x;
714  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
715  border: 1px solid #aaa;
716  -webkit-border-radius: 2px;
717  border-radius: 1px;
718 
719  font-weight: bold;
720  text-transform: uppercase;
721  color: #444;
722 }
723 .valuefield .button, .valuefieldcreate .button, .refidno .button:not(.smallpaddingimp) {
724  margin-top: 0 !important;
725  margin-bottom: 0 !important;
726  font-size: 0.85em !important;
727  padding: 5px !important;
728 }
729 .button:focus, .buttonDelete:focus {
730  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
731  box-shadow: 0px 0px 5px 1px rgba(0, 0, 60, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
732 }
733 .button:hover:not(.nohover), .buttonDelete:hover:not(.nohover) {
734  /* warning: having a larger shadow has side effect when button is completely on left of a table */
735  -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
736  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
737 }
738 .button:disabled, .buttonDelete:disabled, .button.disabled, .buttonDelete.disabled {
739  opacity: 0.4;
740  box-shadow: none;
741  -webkit-box-shadow: none;
742  cursor: auto;
743  text-decoration: none;
744 }
745 .buttonRefused {
746  pointer-events: none;
747  cursor: default;
748  opacity: 0.4;
749  box-shadow: none;
750  -webkit-box-shadow: none;
751 }
752 .button_search, .button_removefilter {
753  border: unset;
754  background-color: unset;
755 }
756 .button_search:hover, .button_removefilter:hover {
757  cursor: pointer;
758 }
759 form {
760  padding:0px;
761  margin:0px;
762 }
763 form#addproduct {
764  padding-top: 20px;
765 }
766 div.float, span.floatleft
767 {
768  float:<?php print $left; ?>;
769 }
770 div.floatright
771 {
772  float:<?php print $right; ?>;
773 }
774 .block
775 {
776  display:block;
777 }
778 .inline
779 {
780  display:inline;
781 }
782 .inline-block
783 {
784  display:inline-block;
785 }
786 .inline-blockimp
787 {
788  display:inline-block !important;
789 }
790 .largenumber {
791  font-size: 1.4em;
792 }
793 button[name='button_search_x'] span.fa.fa-search {
794  font-size: 1.3em;
795 }
796 button[name='button_removefilter_x'] span.fa.fa-remove {
797  opacity: 0.5;
798  font-size: 1.3em;
799 }
800 button:focus {
801  outline: none;
802 }
803 .fa-info-circle {
804  padding-<?php echo $left; ?>: 3px;
805 }
806 .line-height-large {
807  line-height: 1.8em;
808 }
809 
810 th .button {
811  -webkit-box-shadow: none !important;
812  box-shadow: none !important;
813  -webkit-border-radius:0px !important;
814  border-radius:0px !important;
815 }
816 .maxwidthsearch { /* Max width of column with the search picto */
817  width: 54px;
818  min-width: 54px;
819 }
820 .valigntop {
821  vertical-align: top;
822 }
823 .valignmiddle {
824  vertical-align: middle;
825 }
826 .valignbottom {
827  vertical-align: bottom;
828 }
829 .valigntextbottom {
830  vertical-align: text-bottom;
831 }
832 .centpercent {
833  width: 100%;
834 }
835 .centpercentimp {
836  width: 100% !important;
837 }
838 .centpercentwithout1imp {
839  width: calc(100% - 1px) !important;
840 }
841 .centpercentwithoutmenu {
842  width: calc(100% - 200px);
843 }
844 .quatrevingtpercent, .inputsearch {
845  width: 80%;
846 }
847 .maxquatrevingtpercent {
848  max-width: 80%;
849 }
850 .soixantepercent {
851  width: 60%;
852 }
853 .quatrevingtquinzepercent {
854  width: 95%;
855 }
856 .quatrevingtpercentminusx {
857  width: calc(80% - 52px);
858 }
859 .centpercentminusx {
860  width: calc(100% - 52px);
861 }
862 textarea.centpercent {
863  width: 96%;
864 }
865 .small, small {
866  font-size: 85%;
867 }
868 .large {
869  font-size: 125%;
870 }
871 .double {
872  font-size: 2em;
873 }
874 
875 .h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
876  font-size: 65%;
877 }
878 .h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
879  font-weight: 400;
880  line-height: 1;
881  color: #777;
882 }
883 
884 .flip {
885  transform: scaleX(-1) translate(<?php print($left == 'left' ? '' : '-'); ?>2px, 0);
886 }
887 .rotate90 {
888  transform: rotate(90deg) translate(0, <?php print($left == 'left' ? '' : '-'); ?>2px);
889 }
890 .center {
891  text-align: center;
892  margin: 0px auto;
893 }
894 .centerimp {
895  text-align: center !important;
896 }
897 .alignstart {
898  text-align: start;
899 }
900 .start {
901  text-align: start;
902 }
903 .end {
904  text-align: end;
905 }
906 .left {
907  text-align: <?php print $left; ?>;
908 }
909 .right {
910  text-align: <?php print $right; ?>;
911 }
912 .justify {
913  text-align: justify;
914 }
915 .pull-left {
916  float: left!important;
917 }
918 .pull-right {
919  float: right!important;
920 }
921 .nowrap {
922  white-space: <?php print($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
923 }
924 .nowraponsmartphone {
925  white-space: <?php print($dol_optimize_smallscreen ? 'nowrap' : 'normal'); ?>;
926 }
927 .wraponsmartphone {
928  white-space: <?php print($dol_optimize_smallscreen ? 'normal' : 'nowrap'); ?>;
929 }
930 .liste_titre .nowrap {
931  white-space: nowrap;
932 }
933 .nowraponall { /* no wrap on all devices */
934  white-space: nowrap;
935 }
936 .nowrapfordate { /* no wrap on all devices for dates */
937  white-space: nowrap;
938  display: inline-block;
939 }
940 .wrapimp, .wrapimp pre {
941  white-space: normal !important;
942 }
943 .wordwrap {
944  word-wrap: break-word;
945 }
946 .wordbreakimp {
947  word-break: break-word !important;
948 }
949 .wordbreak {
950  word-break: break-word; /* cut fist between word, inside word if not possible */
951 }
952 .wordbreakall {
953  word-break: break-all;
954 }
955 td.wordbreak img, td.wordbreakimp img {
956  max-width: 100%;
957 }
958 .bold {
959  font-weight: bold !important;
960 }
961 .nobold {
962  font-weight: normal !important;
963 }
964 .uppercase {
965  text-transform: uppercase;
966 }
967 .nounderline {
968  text-decoration: none;
969 }
970 .nounderlineimp {
971  text-decoration: none !important;
972 }
973 .nopadding {
974  padding: 0;
975 }
976 .nopaddingleft {
977  padding-left: 0;
978 }
979 .nopaddingright {
980  padding-right: 0;
981 }
982 .nopaddingleftimp {
983  padding-left: 0 !important;
984 }
985 .nopaddingrightimp {
986  padding-right: 0 !important;
987 }
988 .paddingleft {
989  padding-<?php print $left; ?>: 4px;
990 }
991 .paddingleftimp {
992  padding-<?php print $left; ?>: 4px !important;
993 }
994 .paddingleft2 {
995  padding-<?php print $left; ?>: 2px;
996 }
997 .paddingleft2imp {
998  padding-<?php print $left; ?>: 2px !important;
999 }
1000 .paddingright {
1001  padding-<?php print $right; ?>: 4px;
1002 }
1003 .paddingrightimp {
1004  padding-<?php print $right; ?>: 4px !important;
1005 }
1006 .paddingright2 {
1007  padding-<?php print $right; ?>: 2px;
1008 }
1009 .paddingright2imp {
1010  padding-<?php print $right; ?>: 2px !important;
1011 }
1012 .paddingtop {
1013  padding-top: 4px;
1014 }
1015 .paddingtop2 {
1016  padding-top: 2px;
1017 }
1018 .paddingbottom {
1019  padding-bottom: 4px;
1020 }
1021 .paddingbottom2 {
1022  padding-bottom: 2px;
1023 }
1024 .marginleft2 {
1025  margin-<?php print $left; ?>: 2px;
1026 }
1027 .marginright2 {
1028  margin-<?php print $right; ?>: 2px;
1029 }
1030 .nowidthimp {
1031  width: unset !important;
1032 }
1033 .cursordefault {
1034  cursor: default;
1035 }
1036 .cursorpointer {
1037  cursor: pointer;
1038 }
1039 .classfortooltiponclick .fa-question-circle {
1040  cursor: pointer;
1041 }
1042 .cursormove {
1043  cursor: move;
1044 }
1045 .cursornotallowed {
1046  cursor: not-allowed;
1047 }
1048 .cursorwait {
1049  cursor: wait;
1050 }
1051 .backgroundblank {
1052  background-color: #fff;
1053 }
1054 .nobackground, .nobackground tr {
1055  background: unset !important;
1056 }
1057 .checkboxattachfilelabel {
1058  font-size: 0.85em;
1059  opacity: 0.7;
1060 }
1061 .borderimp {
1062  border: 1px solid #888 !important;
1063 }
1064 .text-warning{
1065  color : <?php print $textWarning; ?>
1066 }
1067 .longmessagecut {
1068  max-height: 250px;
1069  max-width: 100%;
1070  overflow-y: auto;
1071 }
1072 div.urllink {
1073  padding: 5px;
1074  margin-top: 5px;
1075  margin-bottom: 5px;
1076  /* border: 1px solid #ccc; */
1077  border-radius: 5px;
1078  /* width: fit-content; */
1079  background-color: #f0f0f8;
1080  opacity: 0.8;
1081 }
1082 div.urllink, div.urllink a {
1083  color: #339 !important;
1084 }
1085 .divsection {
1086  padding: 10px;
1087  border: 1px solid #DFDFDF;
1088  border-radius: 10px;
1089  margin-top: 5px;
1090  margin-bottom: 20px;
1091  /* background-color: rgba(0, 0, 0, 0.02); */
1092 }
1093 
1094 i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before, i.fa-transgender::before {
1095  color: #888 !important;
1096  opacity: 0.4;
1097  padding-<?php echo $left; ?>: 3px;
1098 }
1099 .stockmovemententry {
1100  color: #080;
1101  transform: rotate(0.25turn);
1102  font-size: 1.2em;
1103 }
1104 .stockmovementexit {
1105  color: #968822;
1106  transform: rotate(0.3turn);
1107  font-size: 1.2em;
1108 }
1109 .stockmovement {
1110  font-size: 1.4em;
1111 }
1112 .publisherlogoinline {
1113  vertical-align: middle;
1114  height: 14px;
1115  width: 14px;
1116  margin-left: 5px;
1117 }
1118 
1119 .linecolht {
1120  white-space: nowrap;
1121 }
1122 
1123 
1124 body[class*="colorblind-"] .text-warning{
1125  color : <?php print $colorblind_deuteranopes_textWarning; ?>
1126 }
1127 .text-success{
1128  color : <?php print $textSuccess; ?>
1129 }
1130 body[class*="colorblind-"] .text-success{
1131  color : <?php print $colorblind_deuteranopes_textSuccess; ?>
1132 }
1133 
1134 .text-danger{
1135  color : <?php print $textDanger; ?>
1136 }
1137 
1138 .editfielda span.fa-pencil-alt, .editfielda span.fa-pencil-ruler, .editfielda span.fa-trash, .editfielda span.fa-crop, .editfielda span.fa-eye,
1139 .editfieldlang {
1140  color: #ccc !important;
1141 }
1142 .editfielda span.fa-pencil-alt:hover, .editfielda span.fa-pencil-ruler:hover, .editfielda span.fa-trash:hover, .editfielda span.fa-crop:hover,
1143 .editfieldlang:hover {
1144  color: var(--colortexttitle) !important;
1145 }
1146 a.editfielda.nohover *:hover:before {
1147  color: #ccc !important;
1148 }
1149 
1150 .fawidth30 {
1151  width: 20px;
1152 }
1153 .floatnone {
1154  float: none !important;
1155 }
1156 
1157 span.fa.fa-plus-circle.paddingleft {
1158  padding-right: 4px;
1159  padding-top: 3px;
1160  padding-bottom: 2px;
1161 }
1162 
1163 .size12x { font-size: 1.2em !important; }
1164 .size15x { font-size: 1.5em !important; }
1165 .fa-toggle-on, .fa-toggle-off, .size2x { font-size: 2em; }
1166 .websiteselectionsection .fa-toggle-on, .websiteselectionsection .fa-toggle-off,
1167 .asetresetmodule .fa-toggle-on, .asetresetmodule .fa-toggle-off,
1168 .tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off
1169 {
1170  font-size: 1.5em;
1171  vertical-align: text-bottom;
1172 }
1173 
1174 .divoverflow {
1175  overflow: hidden;
1176  white-space: nowrap;
1177  vertical-align: middle;
1178  text-overflow: ellipsis;
1179 }
1180 
1181 
1182 /* Themes for badges */
1183 
1184 <?php include dol_buildpath($path.'/theme/'.$theme.'/badges.inc.php', 0); ?>
1185 <?php include dol_buildpath($path.'/theme/'.$theme.'/flags-sprite.inc.php', 0); ?>
1186 
1187 .borderrightlight
1188 {
1189  border-right: 1px solid #DDD;
1190 }
1191 .borderleftlight
1192 {
1193  border-left: 1px solid #DDD;
1194 }
1195 #formuserfile {
1196  margin-top: 4px;
1197 }
1198 #formuserfile input[type='file'] {
1199  font-size: 1em;
1200  /* opacity: 0.5em; */
1201 }
1202 /*#formuserfile input[type='file']:valid {
1203  color: #a00;
1204 }
1205 #formuserfile input[type='file']:empty {
1206  color: #0a0;
1207 }*/
1208 
1209 #formuserfile_link {
1210  margin-left: 1px;
1211 }
1212 #formuserfile_link input[type='text'] {
1213  font-size: 1em;
1214 }
1215 .listofinvoicetype {
1216  height: 28px;
1217  vertical-align: middle;
1218 }
1219 .divsocialnetwork:not(:last-child) {
1220  padding-<?php print $right; ?>: 20px;
1221 }
1222 div.divsearchfield {
1223  /* float: <?php print $left; ?>; */
1224  display: inline-block;
1225  margin-<?php print $right; ?>: 12px;
1226  margin-<?php print $left; ?>: 2px;
1227  margin-top: 4px;
1228  margin-bottom: 4px;
1229  padding-left: 2px;
1230 }
1231 .divfilteralone {
1232  background-color: rgba(0, 0, 0, 0.08);
1233  border-radius: 5px;
1234  padding-left: 5px;
1235 }
1236 .divsearchfieldfilter {
1237  text-overflow: clip;
1238  overflow: auto;
1239  padding-bottom: 5px;
1240  opacity: 0.6;
1241  font-size: small;
1242 }
1243 .divadvancedsearchfield:first-child {
1244  margin-top: 3px;
1245 }
1246 .divadvancedsearchfield {
1247  float: left;
1248  padding-left: 15px;
1249  padding-right: 15px;
1250  padding-bottom: 2px;
1251  padding-top: 2px;
1252 }
1253 .divadvancedsearchfield span.select2.select2-container.select2-container--default {
1254  /* padding-bottom: 4px; */
1255 }
1256 .search_component_params {
1257  /*display: flex; */
1258  -webkit-flex-flow: row wrap;
1259  flex-flow: row wrap;
1260  background: #fff;
1261  padding-top: 3px;
1262  padding-bottom: 3px;
1263  padding-<?php echo $left; ?>: 0;
1264  padding-<?php echo $right; ?>: 0;
1265  border-bottom: solid 1px var(--inputbordercolor);
1266  line-height: 24px;
1267  border-radius: 3px;
1268 }
1269 .search_component_searchtext {
1270  padding-top: 2px;
1271 }
1272 .search_component_params_text, .search_component_params_text:focus {
1273  border-bottom: none;
1274  width: auto;
1275  margin: 0 !important;
1276  padding: 3px;
1277 }
1278 .tagsearch {
1279  padding: 2px;
1280  padding-right: 4px;
1281  padding-bottom: 3px;
1282  background: #ddd;
1283  border-radius: 4px;
1284  display: inline-block;
1285 }
1286 .tagsearchdelete {
1287  color: #999;
1288  cursor: pointer;
1289  display: inline-block;
1290  font-weight: bold;
1291  margin-right: 2px;
1292  padding-left: 4px;
1293 }
1294 
1295 .caretleftaxis {
1296  margin-left: -13px;
1297  margin-top: -1px;
1298  position: absolute;
1299 }
1300 .caretdownaxis {
1301  margin-left: -12px;
1302  margin-top: 0;
1303  position: absolute;
1304 }
1305 
1306 .a-filter, .a-mesure {
1307  border-radius: 50px;
1308  background: var(--colortexttitlenotab);
1309  color: #fff;
1310  padding: 8px 10px 8px 6px;
1311 }
1312 .a-filter:before {
1313  content: "\f0b0";
1314 }
1315 .a-mesure:before {
1316  content: "\f080";
1317 }
1318 .a-filter:before, .a-mesure:before {
1319  font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
1320  font-weight: 600;
1321  padding-right: 5px;
1322  padding-left: 5px;
1323 }
1324 .a-filter-disabled, .a-mesure-disabled {
1325  border-radius: 50px;
1326  background: var(--colorbacktitle1);
1327  padding: 8px;
1328  opacity: 0.6;
1329 }
1330 
1331 
1332 /* ============================================================================== */
1333 /* Styles for scan tool */
1334 /* ============================================================================== */
1335 
1336 div.div-for-modal {
1337  /* display: none; */
1338  position:absolute;
1339  top:calc(50% - 200px);
1340  left:calc(50% - 250px);
1341  width:500px; /* adjust as per your needs */
1342  height:400px; /* adjust as per your needs */
1343  background: #fff;
1344  border: 1px solid #bbb;
1345  box-shadow: 2px 2px 20px #ddd;
1346  z-index: 100;
1347 }
1348 
1349 #scantoolmessage {
1350  height: 3em;
1351  border: none;
1352  overflow-y: auto;
1353 }
1354 
1355 div.div-for-modal-topright {
1356  /* display: none; */
1357  position: fixed;
1358  top: 0;
1359  right: 0;
1360  width:50%; /* adjust as per your needs */
1361  height:320px; /* adjust as per your needs */
1362  background: #fff;
1363  border: 1px solid #bbb;
1364  box-shadow: 2px 2px 20px #ddd;
1365  z-index: 1100;
1366 }
1367 
1368 
1369 <?php
1370 // Add a nowrap on smartphone, so long list of field used for filter are overflowed with clip
1371 if ($conf->browser->layout == 'phone') {
1372  ?>
1373 .divsearchfieldfilter {
1374  white-space: nowrap;
1375 }
1376  <?php
1377 } ?>
1378 div.confirmmessage {
1379  padding-top: 6px;
1380 }
1381 ul.attendees {
1382  padding-top: 0;
1383  padding-bottom: 0;
1384  padding-left: 0;
1385  margin-top: 0;
1386  margin-bottom: 0;
1387 }
1388 ul.attendees li {
1389  list-style-type: none;
1390  padding-top:1px;
1391  padding-bottom:1px;
1392  line-height: 1.6em;
1393 }
1394 .googlerefreshcal {
1395  padding-top: 4px;
1396  padding-bottom: 4px;
1397 }
1398 .paddingtopbottom {
1399  padding-top: 10px;
1400  padding-bottom: 10px;
1401 }
1402 .checkallactions {
1403  margin-left: 2px; /* left must be same than right to keep checkbox centered */
1404  margin-right: 2px; /* left must be same than right to keep checkbox centered */
1405  vertical-align: middle;
1406 }
1407 select.flat.selectlimit {
1408  width: 102px;
1409  text-align: end;
1410  border-bottom: 1px solid var(--inputbordercolor);
1411  border-bottom-left-radius: 0;
1412  border-bottom-right-radius: 0;
1413 }
1414 .marginrightonly {
1415  margin-<?php echo $right; ?>: 10px !important;
1416 }
1417 .marginleftonly {
1418  margin-<?php echo $left; ?>: 10px !important;
1419 }
1420 .marginleftonlyshort {
1421  margin-<?php echo $left; ?>: 4px !important;
1422 }
1423 .nomarginleft {
1424  margin-<?php echo $left; ?>: 0px !important;
1425 }
1426 .nomarginright {
1427  margin-<?php echo $right; ?>: 0px !important;
1428 }
1429 .marginrightonly {
1430  margin-<?php echo $right; ?>: 10px !important;
1431 }
1432 .marginrightonlyshort {
1433  margin-<?php echo $right; ?>: 4px !important;
1434 }
1435 .marginrightonlylarge {
1436  margin-<?php echo $right; ?>: 20px !important;
1437 }
1438 .margintoponly {
1439  margin-top: 10px !important;
1440 }
1441 .margintoponlyshort {
1442  margin-top: 3px !important;
1443 }
1444 .marginbottomonly {
1445  margin-bottom: 10px !important;
1446 }
1447 .marginbottomonlyshort {
1448  margin-bottom: 3px !important;
1449 }
1450 .nomargintop {
1451  margin-top: 0 !important;
1452 }
1453 .nomarginbottom {
1454  margin-bottom: 0 !important;
1455 }
1456 .selectlimit, .selectlimit:focus {
1457  border-left: none !important;
1458  border-top: none !important;
1459  border-right: none !important;
1460  outline: none;
1461 }
1462 .strikefordisabled {
1463  text-decoration: line-through;
1464 }
1465 .widthdate {
1466  width: 130px;
1467 }
1468 /* using a tdoverflowxxx make the min-width not working */
1469 .tdnooverflowimp {
1470  text-overflow: unset;
1471 }
1472 .tdoverflow {
1473  max-width: 0;
1474  overflow: hidden;
1475  text-overflow: ellipsis;
1476  white-space: nowrap;
1477 }
1478 .spanoverflow {
1479  overflow-x: clip;
1480  text-overflow: ellipsis;
1481 }
1482 .tdoverflowmax50 { /* For tdoverflow, the max-midth become a minimum ! */
1483  max-width: 50px;
1484  overflow: hidden;
1485  text-overflow: ellipsis;
1486  white-space: nowrap;
1487 }
1488 .tdoverflowmax60 { /* For tdoverflow, the max-midth become a minimum ! */
1489  max-width: 60px;
1490  overflow: hidden;
1491  text-overflow: ellipsis;
1492  white-space: nowrap;
1493 }
1494 .tdoverflowmax80 { /* For tdoverflow, the max-midth become a minimum ! */
1495  max-width: 80px;
1496  overflow: hidden;
1497  text-overflow: ellipsis;
1498  white-space: nowrap;
1499 }
1500 .tdoverflowmax80imp { /* For tdoverflow, the max-midth become a minimum ! */
1501  max-width: 80px !important;
1502  overflow: hidden;
1503  text-overflow: ellipsis;
1504  white-space: nowrap;
1505 }
1506 .tdoverflowmax100 { /* For tdoverflow, the max-midth become a minimum ! */
1507  max-width: 100px;
1508  overflow: hidden;
1509  text-overflow: ellipsis;
1510  white-space: nowrap;
1511 }
1512 .tdoverflowmax100imp { /* For tdoverflow, the max-midth become a minimum ! */
1513  max-width: 100px !important;
1514  overflow: hidden;
1515  text-overflow: ellipsis;
1516  white-space: nowrap;
1517 }
1518 .tdoverflowmax125 { /* For tdoverflow, the max-midth become a minimum ! */
1519  max-width: 125px;
1520  overflow: hidden;
1521  text-overflow: ellipsis;
1522  white-space: nowrap;
1523 }
1524 .tdoverflowmax150 { /* For tdoverflow, the max-midth become a minimum ! */
1525  max-width: 150px;
1526  overflow: hidden;
1527  text-overflow: ellipsis;
1528  white-space: nowrap;
1529 }
1530 .tdoverflowmax200 { /* For tdoverflow, the max-midth become a minimum ! */
1531  max-width: 200px;
1532  overflow: hidden;
1533  text-overflow: ellipsis;
1534  white-space: nowrap;
1535 }
1536 .tdoverflowmax250 { /* For tdoverflow, the max-midth become a minimum ! */
1537  max-width: 250px;
1538  overflow: hidden;
1539  text-overflow: ellipsis;
1540  white-space: nowrap;
1541 }
1542 .tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
1543  max-width: 300px;
1544  overflow: hidden;
1545  text-overflow: ellipsis;
1546  white-space: nowrap;
1547 }
1548 .tdoverflowmax350 { /* For tdoverflow, the max-midth become a minimum ! */
1549  max-width: 350px;
1550  overflow: hidden;
1551  text-overflow: ellipsis;
1552  white-space: nowrap;
1553 }
1554 .tdoverflowmax400 { /* For tdoverflow, the max-midth become a minimum ! */
1555  max-width: 400px;
1556  overflow: hidden;
1557  text-overflow: ellipsis;
1558  white-space: nowrap;
1559 }
1560 .tdoverflowmax500 { /* For tdoverflow, the max-midth become a minimum ! */
1561  max-width: 500px;
1562  overflow: hidden;
1563  text-overflow: ellipsis;
1564  white-space: nowrap;
1565 }
1566 .tdoverflowauto {
1567  max-width: 0;
1568  overflow: auto;
1569 }
1570 .divintowithtwolinesmax {
1571  width: 75px;
1572  display: -webkit-box;
1573  -webkit-box-orient: vertical;
1574  -webkit-line-clamp: 2;
1575  overflow: hidden;
1576 }
1577 .twolinesmax {
1578  display: -webkit-box;
1579  -webkit-box-orient: vertical;
1580  -webkit-line-clamp: 2;
1581  overflow: hidden;
1582  height: auto !important;
1583  word-break: break-word;
1584 }
1585 .tenlinesmax {
1586  display: -webkit-box;
1587  -webkit-box-orient: vertical;
1588  -webkit-line-clamp: 10;
1589  overflow: hidden;
1590 }
1591 
1592 .tablelistofcalendars {
1593  margin-top: 25px !important;
1594 }
1595 .navselectiondate {
1596  width: 250px;
1597 }
1598 
1599 /* Styles for amount on card */
1600 table.paymenttable td.amountpaymentcomplete, table.paymenttable td.amountremaintopay, table.paymenttable td.amountremaintopayback {
1601  padding-top: 0px;
1602  padding-bottom: 0px;
1603 }
1604 .amountalreadypaid {
1605  white-space: nowrap;
1606 }
1607 .amountpaymentcomplete {
1608  color: var(--amountpaymentcomplete);
1609  font-weight: bold;
1610  font-size: 1.7em;
1611  white-space: nowrap;
1612 }
1613 .amountremaintopay {
1614  color: var(--amountremaintopaycolor);
1615  font-weight: bold;
1616  font-size: 1.7em;
1617  white-space: nowrap;
1618 }
1619 .amountremaintopayback {
1620  color: var(--amountremaintopaybackcolor);
1621  font-weight: bold;
1622  font-size: 1.7em;
1623  white-space: nowrap;
1624 }
1625 .amountpaymentneutral {
1626  font-weight: bold;
1627  font-size: 1.7em;
1628  white-space: nowrap;
1629 }
1630 
1631 .onlinepaymentbody .amountpaymentcomplete {
1632  background-color: var(--amountpaymentcomplete);
1633  color: #fff;
1634  padding: 10px;
1635  border-radius: 5px;
1636 }
1637 
1638 .savingdocmask {
1639  margin-top: 6px;
1640  margin-bottom: 12px;
1641 }
1642 #builddoc_form ~ .showlinkedobjectblock {
1643  margin-top: 20px;
1644 }
1645 
1646 /* For the long description of module */
1647 .moduledesclong p img, .moduledesclong p a img {
1648  max-width: 90% !important;
1649  height: auto !important;
1650 }
1651 .imgdoc {
1652  margin: 18px;
1653  border: 1px solid #ccc;
1654  box-shadow: 1px 1px 25px #aaa;
1655  max-width: calc(100% - 56px);
1656 }
1657 .fa-file-text-o, .fa-file-code-o, .fa-file-powerpoint-o, .fa-file-excel-o, .fa-file-word-o, .fa-file-o, .fa-file-image-o, .fa-file-video-o, .fa-file-audio-o, .fa-file-archive-o, .fa-file-pdf-o {
1658  color: #055;
1659 }
1660 
1661 .fa-15 {
1662  font-size: 1.5em;
1663 }
1664 
1665 /* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */
1666 /*.table-responsive {
1667  width: calc(100% - 330px);
1668  margin-bottom: 15px;
1669  overflow-y: hidden;
1670  -ms-overflow-style: -ms-autohiding-scrollbar;
1671 }*/
1672 /* Style used for most tables */
1673 .div-table-responsive, .div-table-responsive-no-min {
1674  overflow-x: auto;
1675  min-height: 0.01%;
1676 }
1677 .div-table-responsive {
1678  line-height: var(--heightrow);
1679 }
1680 /* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */
1681 div.fiche>form>div.div-table-responsive, div.fiche>form>div.div-table-responsive-no-min {
1682  overflow-x: auto;
1683 }
1684 div.fiche>form>div.div-table-responsive {
1685  min-height: 392px;
1686 }
1687 div.fiche>div.tabBar>form>div.div-table-responsive {
1688  min-height: 392px;
1689 }
1690 div.fiche {
1691  /* text-align: justify; */
1692 }
1693 
1694 .display-flex {
1695  display: flex;
1696  flex-wrap: wrap;
1697  justify-content: space-between;
1698 }
1699 .flex-item {
1700  flex:1;
1701 }
1702 
1703 .flexcontainer {
1704  <?php if (in_array($conf->browser->name, array('chrome', 'firefox'))) {
1705  echo 'display: inline-flex;'."\n";
1706  } ?>
1707  flex-flow: row wrap;
1708  justify-content: flex-start;
1709 }
1710 .thumbstat {
1711  min-width: 148px;
1712 }
1713 .thumbstat150 {
1714  min-width: 168px;
1715  max-width: 169px;
1716  /* width: 168px; If I use with, there is trouble on size of flex boxes solved with min+max that is a little bit higher than min */
1717 }
1718 .thumbstat, .thumbstat150 {
1719 <?php if ($conf->browser->name == 'ie') { ?>
1720  min-width: 150px;
1721  width: 100%;
1722  display: inline;
1723 <?php } else { ?>
1724  flex-grow: 1;
1725  flex-shrink: 0;
1726 <?php } ?>
1727 }
1728 
1729 select.selectarrowonleft {
1730  direction: rtl;
1731 }
1732 select.selectarrowonleft option {
1733  direction: ltr;
1734 }
1735 
1736 table[summary="list_of_modules"] .fa-cog {
1737  font-size: 1.5em;
1738 }
1739 
1740 .linkedcol-element {
1741  min-width: 100px;
1742 }
1743 .linkedcol-amount {
1744  white-space: nowrap;
1745 }
1746 
1747 .img-skinthumb {
1748  width: 160px;
1749  height: 100px;
1750 }
1751 
1752 maxscreenheightless200 {
1753  max-height: <?php echo isset($_SESSION['dol_screenheight']) ? max(500, (int) $_SESSION['dol_screenheight'] - 200) : 700; ?>px; /* we guarantee height of 500 */
1754 }
1755 .maxscreenheightless300 {
1756  max-height: <?php echo isset($_SESSION['dol_screenheight']) ? max(400, (int) $_SESSION['dol_screenheight'] - 300) : 700; ?>px; /* we guarantee height of 500 */
1757 }
1758 
1759 
1760 
1761 
1762 /* ============================================================================== */
1763 /* Styles to hide objects */
1764 /* ============================================================================== */
1765 
1766 .clearboth { clear:both; }
1767 
1768 .hideobject { display: none; }
1769 .minwidth25 { min-width: 25px; }
1770 .minwidth50 { min-width: 50px; }
1771 .minwidth75 { min-width: 75px; }
1772 .nominwidth { min-width: fit-content !important; }
1773 /* rule for not too small screen only */
1774 @media only screen and (min-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
1775 {
1776  .width20 { width: 20px; }
1777  .width25 { width: 25px; }
1778  .width50 { width: 50px; }
1779  .width75 { width: 75px; }
1780  .width100 { width: 100px; }
1781  .width200 { width: 200px; }
1782  .minwidth100 { min-width: 100px; }
1783  .minwidth150 { min-width: 150px; }
1784  .minwidth200 { min-width: 200px; }
1785  .minwidth250 { min-width: 250px; }
1786  .minwidth300 { min-width: 300px; }
1787  .minwidth400 { min-width: 400px; }
1788  .minwidth500 { min-width: 500px; }
1789  .minwidth50imp { min-width: 50px !important; }
1790  .minwidth75imp { min-width: 75px !important; }
1791  .minwidth100imp { min-width: 100px !important; }
1792  .minwidth150imp { min-width: 150px !important; }
1793  .minwidth200imp { min-width: 200px !important; }
1794  .minwidth250imp { min-width: 250px !important; }
1795  .minwidth300imp { min-width: 300px !important; }
1796  .minwidth400imp { min-width: 400px !important; }
1797  .minwidth500imp { min-width: 500px !important; }
1798 }
1799 .widthauto { width: auto; }
1800 .width20 { width: 20px; }
1801 .width25 { width: 25px; }
1802 .width40 { width: 40px; }
1803 .width50 { width: 50px; }
1804 .width75 { width: 75px; }
1805 .width100 { width: 100px; }
1806 .width125 { width: 125px; }
1807 .width150 { width: 150px; }
1808 .width200 { width: 200px; }
1809 .width250 { width: 250px; }
1810 .width300 { width: 300px; }
1811 .width400 { width: 400px; }
1812 .width500 { width: 500px; }
1813 .maxwidth25 { max-width: 25px; }
1814 .maxwidth40 { max-width: 40px; }
1815 .maxwidth50 { max-width: 50px; }
1816 .maxwidth75 { max-width: 75px; }
1817 .maxwidthdate { max-width: 85px; }
1818 .maxwidth100 { max-width: 100px; }
1819 .maxwidth125 { max-width: 125px; }
1820 .maxwidth150 { max-width: 150px; }
1821 .maxwidth200 { max-width: 200px; }
1822 .maxwidth250 { max-width: 250px; }
1823 .maxwidth300 { max-width: 300px; }
1824 .maxwidth400 { max-width: 400px; }
1825 .maxwidth500 { max-width: 500px; }
1826 .maxwidth750 { max-width: 750px; }
1827 .maxwidth1000 { max-width: 1000px; }
1828 .maxwidth50imp { max-width: 50px !important; }
1829 .maxwidth75imp { max-width: 75px !important; }
1830 
1831 .minwidth100onall { min-width: 100px !important; }
1832 .minwidth200onall { min-width: 200px !important; }
1833 .minwidth250onall { min-width: 250px !important; }
1834 
1835 .minheight20 { min-height: 20px; }
1836 .minheight30 { min-height: 30px; }
1837 .minheight40 { min-height: 40px; }
1838 .titlefieldcreate { width: 20%; }
1839 .titlefield { /* width: 25%; */ min-width: 150px; width: 25%; }
1840 .titlefieldmiddle { width: 45%; }
1841 .titlefieldmax45 { max-width: 45%; }
1842 .imgmaxwidth180 { max-width: 180px; }
1843 .imgmaxheight50 { max-height: 50px; }
1844 
1845 .width20p { width:20%; }
1846 .width25p { width:25%; }
1847 .width40p { width:40%; }
1848 .width50p { width:50%; }
1849 .width60p { width:60%; }
1850 .width75p { width:75%; }
1851 .width80p { width:80%; }
1852 .width100p { width:100%; }
1853 
1854 
1855 /* Force values for small screen 1440 */
1856 @media only screen and (max-width: 1440px)
1857 {
1858  .titlefield { /* width: 30% !important; */ }
1859  .titlefieldcreate { width: 30% !important; }
1860  .minwidth50imp { min-width: 50px !important; }
1861  .minwidth75imp { min-width: 75px !important; }
1862  .minwidth100imp { min-width: 100px !important; }
1863  .minwidth125imp { min-width: 125px !important; }
1864  .minwidth150imp { min-width: 150px !important; }
1865  .minwidth200imp { min-width: 200px !important; }
1866  .minwidth250imp { min-width: 250px !important; }
1867  .minwidth300imp { min-width: 300px !important; }
1868  .minwidth400imp { min-width: 300px !important; }
1869  .minwidth500imp { min-width: 300px !important; }
1870 
1871  .linkedcol-element {
1872  min-width: unset;
1873  }
1874 }
1875 
1876 /* Force values for small screen 1000 */
1877 @media only screen and (max-width: 1000px)
1878 {
1879  .maxwidthonsmartphone { max-width: 100px; }
1880  .minwidth50imp { min-width: 50px !important; }
1881  .minwidth75imp { min-width: 75px !important; }
1882  .minwidth100imp { min-width: 100px !important; }
1883  .minwidth125imp { min-width: 125px !important; }
1884  .minwidth150imp { min-width: 110px !important; }
1885  .minwidth200imp { min-width: 110px !important; }
1886  .minwidth250imp { min-width: 115px !important; }
1887  .minwidth300imp { min-width: 120px !important; }
1888  .minwidth400imp { min-width: 150px !important; }
1889  .minwidth500imp { min-width: 250px !important; }
1890 }
1891 
1892 select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection):not(.select2-dropdown), input.widthcentpercentminusx {
1893  width: calc(100% - 52px) !important;
1894  display: inline-block;
1895  min-width: 100px;
1896 }
1897 select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection):not(.select2-dropdown), input.widthcentpercentminusxx {
1898  width: calc(100% - 70px) !important;
1899  display: inline-block;
1900  min-width: 100px;
1901 }
1902 
1903 
1904 /* Force values for small screen 768 */
1905 @media only screen and (max-width: 768px)
1906 {
1907  div.refidno {
1908  font-size: <?php print is_numeric($fontsize) ? ((int) $fontsize + 3).'px' : $fontsize; ?> !important;
1909  }
1910  .divadvancedsearchfield {
1911  padding-left: 5px;
1912  padding-right: 5px;
1913  }
1914 
1915  div.divphotoref {
1916  padding-right: 10px !important;
1917  }
1918 
1919  .hideonsmartphone { display: none; }
1920  .hideonsmartphoneimp { display: none !important; }
1921  .showonsmartphone { display: block !important; }
1922 
1923  .margintoponsmartphone { margin-top: 6px; }
1924 
1925  span.pictotitle {
1926  margin-<?php echo $left; ?>: 0 !important;
1927  }
1928  div.fiche>table.table-fiche-title {
1929  margin-top: 7px !important;
1930  margin-bottom: 15px !important;
1931  }
1932 
1933  select.minwidth100imp, select.minwidth100, select.minwidth200, select.minwidth200imp, select.minwidth300 {
1934  width: calc(100% - 40px) !important;
1935  min-width: 100px;
1936  display: inline-block;
1937  }
1938 
1939  select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection), input.widthcentpercentminusx {
1940  width: calc(100% - 52px) !important;
1941  display: inline-block;
1942  min-width: 100px;
1943  }
1944  select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
1945  width: calc(100% - 70px) !important;
1946  display: inline-block;
1947  min-width: 100px;
1948  }
1949 
1950  input.maxwidthinputfileonsmartphone {
1951  width: 175px;
1952  }
1953 
1954  input.buttonpayment, button.buttonpayment, div.buttonpayment {
1955  min-width: 270px;
1956  }
1957 
1958  .smallonsmartphone {
1959  font-size: 0.8em;
1960  }
1961 
1962  .nopaddingtoponsmartphone {
1963  padding-top: 0 !important;
1964  }
1965  .nopaddingbottomonsmartphone {
1966  padding-bottom: 0 !important;
1967  }
1968 }
1969 
1970 /* Force values for small screen 570 */
1971 @media only screen and (max-width: 570px)
1972 {
1973  .box-flex-item {
1974  margin: 3px 2px 3px 2px !important;
1975  }
1976  div.refidno {
1977  font-size: <?php print is_numeric($fontsize) ? ((int) $fontsize + 3).'px' : $fontsize; ?> !important;
1978  }
1979 
1980  div#login_left, div#login_right {
1981  min-width: 150px !important;
1982  max-width: 200px !important;
1983  padding-left: 5px !important;
1984  padding-right: 5px !important;
1985  }
1986 
1987  div.login_block {
1988  height: 64px !important;
1989  }
1990 
1991  .divmainbodylarge { margin-left: 10px !important; margin-right: 10px !important; }
1992 
1993  .tdoverflowmax100onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
1994  max-width: 100px;
1995  overflow: hidden;
1996  text-overflow: ellipsis;
1997  white-space: nowrap;
1998  }
1999  .tdoverflowmax150onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
2000  max-width: 100px;
2001  overflow: hidden;
2002  text-overflow: ellipsis;
2003  white-space: nowrap;
2004  }
2005  .border tbody tr, .border tbody tr td, div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col {
2006  height: 40px !important;
2007  }
2008 
2009  div.tabs div.tab a.tab {
2010  max-width: 200px;
2011  overflow: hidden;
2012  text-overflow: ellipsis;
2013  white-space: nowrap;
2014  }
2015 
2016  .quatrevingtpercent, .inputsearch {
2017  width: 95%;
2018  }
2019 
2020  select {
2021  padding-top: 4px;
2022  padding-bottom: 5px;
2023  }
2024 
2025  .login_table .tdinputlogin {
2026  min-width: unset !important;
2027  }
2028  input, input[type=text], input[type=password], select, textarea {
2029  min-width: 20px;
2030  }
2031  .trinputlogin input[type=text], input[type=password] {
2032  max-width: 140px;
2033  }
2034  .vmenu .searchform input {
2035  max-width: 138px; /* length of input text in the quick search box when using a smartphone and without dolidroid */
2036  }
2037 
2038  .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
2039  .maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
2040  .maxwidth50onsmartphone { max-width: 40px; }
2041  .maxwidth75onsmartphone { max-width: 50px; }
2042  .maxwidth100onsmartphone { max-width: 70px; }
2043  .maxwidth125onsmartphone { max-width: 100px; }
2044  .maxwidth150onsmartphone { max-width: 120px; }
2045  .maxwidth150onsmartphoneimp { max-width: 120px !important; }
2046  .maxwidth200onsmartphone { max-width: 200px; }
2047  .maxwidth250onsmartphone { max-width: 250px; }
2048  .maxwidth300onsmartphone { max-width: 300px; }
2049  .maxwidth400onsmartphone { max-width: 400px; }
2050  .minwidth50imp { min-width: 50px !important; }
2051  .minwidth75imp { min-width: 75px !important; }
2052  .minwidth100imp { min-width: 100px !important; }
2053  .minwidth125imp { min-width: 125px !important; }
2054  .minwidth150imp { min-width: 110px !important; }
2055  .minwidth200imp { min-width: 110px !important; }
2056  .minwidth250imp { min-width: 115px !important; }
2057  .minwidth300imp { min-width: 120px !important; }
2058  .minwidth400imp { min-width: 200px !important; }
2059  .minwidth500imp { min-width: 250px !important; }
2060  .titlefield { width: auto; min-width: unset; }
2061  .titlefieldcreate { width: auto !important; }
2062 
2063  #tooltip {
2064  position: absolute;
2065  width: <?php print dol_size(300, 'width'); ?>px;
2066  }
2067 
2068  /* input, input[type=text], */
2069  select {
2070  width: 98%;
2071  min-width: 40px;
2072  }
2073 
2074  div.divphotoref {
2075  padding-<?php echo $right; ?>: 5px;
2076  padding-bottom: 5px;
2077  }
2078  img.photoref, div.photoref {
2079  border: 1px solid rgba(0, 0, 0, 0.2);
2080  box-shadow: none;
2081  -webkit-box-shadow: none;
2082  padding: 4px;
2083  height: 20px;
2084  width: 20px;
2085  object-fit: contain;
2086  }
2087 
2088  div.statusref {
2089  padding-right: 10px;
2090  max-width: 55%;
2091  }
2092  div.statusref img {
2093  padding-right: 3px !important;
2094  }
2095  div.statusrefbis {
2096  padding-right: 3px !important;
2097  }
2098  /* TODO
2099  div.statusref {
2100  padding-top: 0px !important;
2101  padding-left: 0px !important;
2102  border: none !important;
2103  }
2104  */
2105 
2106  input.buttonpayment {
2107  min-width: 300px;
2108  }
2109 }
2110 
2111 /* Force values for small screen 320 */
2112 @media only screen and (max-width: 320px)
2113 {
2114  .maxwidth300 { max-width: 260px; }
2115 }
2116 
2117 
2118 .linkobject { cursor: pointer; }
2119 
2120 table.tableforfield tr:not(.liste_titre)>td:first-of-type, tr.trforfield:not(.liste_titre)>td:first-of-type, div.tableforfield div.tagtr:not(.liste_titre)>div.tagtd:first-of-type {
2121  color: var(--tableforfieldcolor);
2122 }
2123 
2124 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2125 .hideonprint { display: none !important; }
2126 <?php } ?>
2127 
2128 
2129 /* ============================================================================== */
2130 /* Styles for dragging lines */
2131 /* ============================================================================== */
2132 
2133 .dragClass {
2134  color: #002255;
2135 }
2136 td.showDragHandle {
2137  cursor: move;
2138 }
2139 .tdlineupdown {
2140  white-space: nowrap;
2141  min-width: 10px;
2142 }
2143 
2144 
2145 /* ============================================================================== */
2146 /* Styles de positionnement des zones */
2147 /* ============================================================================== */
2148 
2149 #id-container {
2150  display: table; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
2151  table-layout: fixed;
2152 }
2153 #id-right, #id-left {
2154  display: table-cell; /* DOL_XXX Empeche fonctionnement correct du scroll horizontal sur tableau, avec datatable ou CSS */
2155  float: none;
2156  vertical-align: top;
2157 }
2158 #id-left {
2159  padding-top: 20px;
2160  padding-bottom: 5px;
2161  <?php if (getDolGlobalString('MAIN_USE_TOP_MENU_SEARCH_DROPDOWN')) { ?>
2162  padding-top: 18px;
2163  <?php } ?>
2164 }
2165 #id-right { /* This must stay id-right and not be replaced with echo $right */
2166  padding-top: 14px;
2167  width: 100%;
2168  background: var(--colorbackbody);
2169  padding-bottom: 20px;
2170 }
2171 .bodyforlist #id-right {
2172  padding-bottom: 4px;
2173 }
2174 
2175 /* DOL_XXX For having horizontal scroll into array (like with smartphone) */
2176 
2177 .classforhorizontalscrolloftabs #id-container {
2178  width: 100%;
2179 }
2180 .classforhorizontalscrolloftabs .side-nav {
2181  display: block;
2182  float: left;
2183 }
2184 .classforhorizontalscrolloftabs #id-right {
2185  width: calc(100% - <?php echo $leftmenuwidth + 20 ?>px);
2186  display: inline-block;
2187 }
2188 
2189 /*
2190 .classforhorizontalscrolloftabs .fiche .div-table-responsive
2191 {
2192  transform:rotateX(180deg);
2193  -ms-transform:rotateX(180deg);
2194  -webkit-transform:rotateX(180deg);
2195 }
2196 .classforhorizontalscrolloftabs .fiche .div-table-responsive-inside
2197 {
2198  transform:rotateX(180deg);
2199  -ms-transform:rotateX(180deg);
2200  -webkit-transform:rotateX(180deg);
2201 }
2202 */
2203 
2204 
2205 <?php if (!getDolGlobalString('THEME_DISABLE_STICKY_TOPMENU')) { ?>
2206 .side-nav-vert {
2207  position: sticky;
2208  top: 0px;
2209  z-index: 1005;
2210 }
2211 <?php } ?>
2212 
2213 @media screen and (prefers-color-scheme: dark) {
2214  .side-nav-vert {
2215  border-bottom: 1px solid #888;
2216  }
2217 }
2218 
2219 .side-nav {
2220  display: table-cell;
2221  border-<?php echo $right; ?>: 1px solid #ECECEC;
2222  box-shadow: 3px 0 6px -2px #eee;
2223  background: var(--colorbackvmenu1);
2224  transition: left 0.5s ease;
2225 }
2226 
2227 .side-nav, .login_block {
2228  transition: left 0.5s ease;
2229 }
2230 
2231 div.blockvmenulogo
2232 {
2233  border-bottom: 0 !important;
2234 }
2235 .menulogocontainer {
2236  margin: <?php echo $disableimages ? '0' : '6'; ?>px;
2237  margin-left: 11px;
2238  margin-right: 9px;
2239  padding: 0;
2240  height: <?php echo $disableimages ? '18' : '35'; ?>px;
2241  /* width: 100px; */
2242  max-width: 100px;
2243  vertical-align: middle;
2244 }
2245 .backgroundforcompanylogo {
2246  background-color: rgba(255,255,255,0.2);
2247  border-radius: 4px;
2248 }
2249 .menulogocontainer img.mycompany {
2250  object-fit: contain;
2251  width: inherit;
2252  height: inherit;
2253  image-rendering: -webkit-optimize-contrast;
2254 }
2255 #mainmenutd_companylogo::after, #mainmenutd_menu::after {
2256  content: unset !important;
2257 }
2258 li#mainmenutd_companylogo .tmenucenter {
2259  width: unset;
2260 }
2261 li#mainmenutd_companylogo {
2262  min-width: unset !important;
2263 }
2264 <?php if ($disableimages) { ?>
2265  li#mainmenutd_home {
2266  min-width: unset !important;
2267  }
2268  li#mainmenutd_home .tmenucenter {
2269  width: unset;
2270  }
2271 <?php } ?>
2272 
2273 div.blockvmenupair, div.blockvmenuimpair {
2274  border-top: none !important;
2275  border-left: none !important;
2276  border-right: none !important;
2277  border-bottom: 1px solid #eaeaea;
2278  padding-left: 0 !important;
2279 }
2280 div.blockvmenuend, div.blockvmenubookmarks {
2281  border: none !important;
2282  padding-left: 0 !important;
2283 }
2284 div.vmenu, td.vmenu {
2285  padding-right: 10px !important;
2286 }
2287 .blockvmenu .menu_titre {
2288  margin-top: 4px;
2289  margin-bottom: 1px;
2290 }
2291 
2292 /* Try responsive even not on smartphone
2293 #id-container {
2294  width: 100%;
2295 }
2296 #id-right {
2297  width: calc(100% - 200px) !important;
2298 }
2299 */
2300 
2301 
2302 .menuhider { display: none !important; }
2303 
2304 
2305 /* rule to reduce top menu - 3rd reduction: The menu for user is on left */
2306 @media only screen and (max-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
2307 {
2308  /* no side-nav */
2309  body.sidebar-collapse .side-nav {
2310  display: none;
2311  }
2312 
2313  /* if no side-nav, we don't need to have width forced to calc(100% - 210px); */
2314  .classforhorizontalscrolloftabs #id-right {
2315  width: 100%;
2316  /* width: unset; */
2317  /* display: unset; */
2318  }
2319 
2320  body.sidebar-collapse .login_block {
2321  display: none;
2322  }
2323 
2324  .menuhider { display: block !important; }
2325  .dropdown-user-image { display: none; }
2326  .user-header { height: auto !important; color: var(--colortextbackhmenu); }
2327 
2328  #id-container {
2329  width: 100%;
2330  }
2331  .side-nav {
2332  border-bottom: 1px solid #BBB;
2333  background: #FFF;
2334  padding-left: 20px;
2335  padding-right: 20px;
2336  position: absolute;
2337  z-index: 90;
2338  }
2339  div.blockvmenulogo
2340  {
2341  border-bottom: 0 !important;
2342  }
2343  div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend {
2344  border-top: none !important;
2345  border-left: none !important;
2346  border-right: none !important;
2347  border-bottom: 1px solid #eaeaea;
2348  padding-left: 0 !important;
2349  }
2350  div.vmenu, td.vmenu {
2351  padding-right: 6px !important;
2352  }
2353  div.fiche {
2354  margin-<?php print $left; ?>: 9px !important;
2355  margin-<?php print $right; ?>: 10px !important;
2356  }
2357 
2358  .pagination .fa-chevron-left, .pagination .fa-chevron-right {
2359  font-size: 1.2em;
2360  }
2361 }
2362 
2363 @media only screen and (min-width: 768px) and (max-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
2364 {
2365  div.fiche {
2366  margin-<?php print $left; ?>: 13px !important;
2367  margin-<?php print $right; ?>: 14px !important;
2368  }
2369 }
2370 
2371 
2372 div.fiche {
2373  margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '40' : '6')); ?>px;
2374  margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '36' : '6')); ?>px;
2375  <?php if (!empty($dol_hide_leftmenu)) {
2376  print 'margin-bottom: 12px;'."\n";
2377  } ?>
2378  <?php if (!empty($dol_hide_leftmenu)) {
2379  print 'margin-top: 12px;'."\n";
2380  } ?>
2381 }
2382 body.onlinepaymentbody div.fiche { /* For online payment page */
2383  margin: 20px !important;
2384 }
2385 div.fiche>table:first-child {
2386  margin-bottom: 15px;
2387 }
2388 div.fiche>table.table-fiche-title {
2389  margin-bottom: 12px;
2390 }
2391 div.fichecenter {
2392  width: 100%;
2393  clear: both; /* This is to have div fichecenter that are true rectangles */
2394 }
2395 div.fichecenterbis {
2396  margin-top: 8px;
2397 }
2398 div.fichethirdleft {
2399  <?php if ($conf->browser->layout != 'phone') {
2400  print "float: ".$left.";\n";
2401  } ?>
2402  <?php if ($conf->browser->layout != 'phone') {
2403  print "width: calc(50% - 14px);\n";
2404  } ?>
2405  <?php if ($conf->browser->layout == 'phone') {
2406  print "padding-bottom: 6px;\n";
2407  } ?>
2408 }
2409 div.fichetwothirdright {
2410  <?php if ($conf->browser->layout != 'phone') {
2411  print "float: ".$right.";\n";
2412  } ?>
2413  <?php if ($conf->browser->layout != 'phone') {
2414  print "width: calc(50% - 14px);\n";
2415  } ?>
2416  <?php if ($conf->browser->layout == 'phone') {
2417  print "padding-bottom: 6px\n";
2418  } ?>
2419 }
2420 div.fichehalfleft {
2421  <?php if ($conf->browser->layout != 'phone') {
2422  print "float: ".$left.";\n";
2423  } ?>
2424  <?php if ($conf->browser->layout != 'phone') {
2425  print "width: calc(50% - 14px);\n";
2426  } ?>
2427 }
2428 div.fichehalfright {
2429  <?php if ($conf->browser->layout != 'phone') {
2430  print "float: ".$right.";\n";
2431  } ?>
2432  <?php if ($conf->browser->layout != 'phone') {
2433  print "width: calc(50% - 14px);\n";
2434  } ?>
2435 }
2436 div.fichehalfright {
2437  <?php if ($conf->browser->layout == 'phone') {
2438  print "margin-top: 10px;\n";
2439  } ?>
2440 }
2441 
2442 /*div.firstcolumn div.box {
2443  padding-right: 10px;
2444 }
2445 div.secondcolumn div.box {
2446  padding-left: 10px;
2447 }*/
2448 
2449 
2450 /* Force values on one column for small screen */
2451 @media only screen and (max-width: 1024px)
2452 {
2453  div.fiche {
2454  margin-<?php print $left; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '6' : '20')); ?>px;
2455  margin-<?php print $right; ?>: <?php print(GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 6); ?>px;
2456  }
2457  div.fichecenter {
2458  width: 100%;
2459  clear: both; /* This is to have div fichecenter that are true rectangles */
2460  }
2461  div.fichecenterbis {
2462  margin-top: 8px;
2463  }
2464  div.fichethirdleft {
2465  float: none;
2466  width: auto;
2467  padding-bottom: 6px;
2468  }
2469  div.fichetwothirdright {
2470  float: none;
2471  width: auto;
2472  padding-bottom: 6px;
2473  }
2474  div.fichehalfleft {
2475  float: none;
2476  width: auto;
2477  }
2478  div.fichehalfright {
2479  float: none;
2480  width: auto;
2481  }
2482  div.fichehalfright {
2483  margin-top: 10px;
2484  }
2485  div.firstcolumn div.box {
2486  padding-right: 0px;
2487  }
2488  div.secondcolumn div.box {
2489  padding-left: 0px;
2490  }
2491 }
2492 
2493 /* Force values on one column for small screen */
2494 @media only screen and (max-width: 1440px)
2495 {
2496  div.fichehalfleft-lg {
2497  float: none;
2498  width: auto;
2499  }
2500  div.fichehalfright-lg {
2501  float: none;
2502  width: auto;
2503  }
2504 
2505  .fichehalfright-lg .fichehalfright {
2506  padding-left:0;
2507  }
2508 }
2509 
2510 /* For table into table into card */
2511 div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
2512  padding: 0 0 0 0;
2513 }
2514 div.nopadding {
2515  padding: 0 !important;
2516 }
2517 
2518 .containercenter {
2519  display : table;
2520  margin : 0px auto;
2521 }
2522 
2523 td.nobordernopadding.widthpictotitle.col-picto {
2524  color: #bbb;
2525  opacity: 0.85;
2526 }
2527 .table-list-of-attached-files .col-picto, .table-list-of-links .col-picto {
2528  opacity: 0.7 !important;
2529  font-size: 0.7em;
2530  width: 20px;
2531 }
2532 .table-list-of-attached-files .col-picto .widthpictotitle, .table-list-of-links .col-picto .widthpictotitle {
2533  width: unset;
2534  color: #999;
2535 }
2536 
2537 /*
2538 span.widthpictotitle.pictotitle {
2539  background: var(--colortexttitlenotab);
2540  opacity: 0.8;
2541  color: #fff !important;
2542  padding: 7px;
2543  border-radius: 2px;
2544  min-width: 30px;
2545  text-align: center;
2546 }
2547 */
2548 .pictotitle {
2549  margin-<?php echo $right; ?>: 8px;
2550  /* margin-bottom: 4px; */
2551 }
2552 
2553 .pictoobjectwidth {
2554  width: 14px;
2555 }
2556 .pictosubstatus {
2557  padding-left: 2px;
2558  padding-right: 2px;
2559 }
2560 .pictostatus {
2561  width: 15px;
2562  vertical-align: middle;
2563  margin-top: -3px
2564 }
2565 .pictowarning, .pictoerror, .pictopreview, .pictonopreview, .picto.error {
2566  padding-<?php echo $left; ?>: 3px;
2567 }
2568 .pictowarning {
2569  /* vertical-align: text-bottom; */
2570  color: <?php echo $badgeWarning ?>;
2571 }
2572 .pictoerror {
2573  color: <?php echo $badgeDanger ?>;
2574 }
2575 .pictomodule {
2576  width: 14px;
2577 }
2578 .pictomodule {
2579  width: 14px;
2580 }
2581 .fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
2582 .fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
2583 .tagtdnote span.pictoedit {
2584  opacity: 0.4;
2585 }
2586 .pictofixedwidth {
2587  text-align: start;
2588  width: 20px;
2589  /* padding-right: 0; */
2590 }
2591 
2592 
2593 .colorthumb {
2594  padding-left: 1px !important;
2595  padding-right: 1px;
2596  padding-top: 1px;
2597  padding-bottom: 1px;
2598  width: 50px;
2599  text-align:center;
2600 }
2601 div.attacharea {
2602  padding-top: 18px;
2603  padding-bottom: 10px;
2604 }
2605 div.attachareaformuserfileecm {
2606  padding-top: 0;
2607  padding-bottom: 6px;
2608 }
2609 
2610 div.arearef {
2611  padding-top: 2px;
2612  margin-bottom: 10px;
2613  padding-bottom: 10px;
2614 }
2615 div.arearefnobottom {
2616  padding-top: 2px;
2617  padding-bottom: 4px;
2618 }
2619 div.heightref {
2620  min-height: 80px;
2621 }
2622 div.divphotoref:last-child {
2623  padding-<?php echo $right; ?>: 30px;
2624 }
2625 div.paginationref {
2626  padding-bottom: 10px;
2627 }
2628 /* TODO
2629 div.statusref {
2630  padding: 10px;
2631  border: 1px solid #bbb;
2632  border-radius: 6px;
2633 } */
2634 div.statusref {
2635  float: right;
2636  padding-left: 12px;
2637  margin-top: 8px;
2638  margin-bottom: 10px;
2639  clear: both;
2640  text-align: right;
2641 }
2642 div.statusref img {
2643  padding-left: 8px;
2644  padding-right: 9px;
2645  vertical-align: text-bottom;
2646  width: 18px;
2647 }
2648 div.statusrefbis {
2649  padding-left: 8px;
2650  padding-right: 9px;
2651  vertical-align: text-bottom;
2652 }
2653 img.photoref, div.photoref {
2654  /* border: 1px solid #DDD; */
2655  -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
2656  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
2657  padding: 4px;
2658  height: 80px;
2659  width: 80px;
2660  object-fit: contain;
2661 }
2662 img.photokanban, div.photokanban {
2663  padding: 0;
2664  border: none;
2665  box-shadow: none;
2666  vertical-align: middle;
2667 }
2668 div.photoref .fa, div.photoref .fas, div.photoref .far {
2669  font-size: 2.5em;
2670 }
2671 img.fitcontain {
2672  object-fit: contain;
2673 }
2674 div.photoref {
2675  display:table-cell;
2676  vertical-align:middle;
2677  text-align:center;
2678 }
2679 .difforspanimgright {
2680  display: table-cell;
2681  padding-right: 10px;
2682 }
2683 img.photorefnoborder {
2684  padding: 2px;
2685  height: 48px;
2686  width: 48px;
2687  object-fit: contain;
2688  border: 1px solid #AAA;
2689  border-radius: 100px;
2690 }
2691 .underrefbanner {
2692 }
2693 .underbanner {
2694  border-bottom: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
2695  /* border-bottom: 2px solid var(--colorbackhmenu1); */
2696 }
2697 .trextrafieldseparator td, .trextrafields_collapse_last td {
2698  /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
2699  /* border-bottom: 2px solid var(--colortopbordertitle1) !important; */
2700 }
2701 
2702 .tdhrthin {
2703  margin: 0 !important;
2704  padding-bottom: 0 !important;
2705 }
2706 
2707 /* ============================================================================== */
2708 /* Menu top et 1ere ligne tableau */
2709 /* ============================================================================== */
2710 
2711 #id-top {
2712 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2713  display:none;
2714 <?php } else { ?>
2715  background: var(--colorbackhmenu1);
2716  /* background-image: linear-gradient(-45deg, <?php echo colorAdjustBrightness(colorArrayToHex(colorStringToArray($colorbackhmenu1)), '5'); ?>, var(--colorbackhmenu1)); */
2717  /* box-shadow: 0px 0px 5px #eee; */
2718 <?php } ?>
2719 }
2720 
2721 div#tmenu_tooltip {
2722 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2723  display:none;
2724 <?php } else { ?>
2725  padding-<?php echo $right; ?>: <?php echo($maxwidthloginblock - 10); ?>px;
2726 <?php } ?>
2727 
2728  -webkit-touch-callout: none; /* iOS Safari */
2729  -webkit-user-select: none; /* Safari */
2730  -khtml-user-select: none; /* Konqueror HTML */
2731  -moz-user-select: none; /* Firefox */
2732  -ms-user-select: none; /* Internet Explorer/Edge */
2733  user-select: none; /* Non-prefixed version, currently
2734  supported by Chrome and Opera */
2735 
2736 
2737 }
2738 
2739 div.topmenuimage {
2740 <?php if ($disableimages) { ?>
2741  display: none;
2742 <?php } ?>
2743 }
2744 
2745 div.tmenudiv {
2746 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2747  display:none;
2748 <?php } else { ?>
2749  position: relative;
2750  display: block;
2751  white-space: nowrap;
2752  border-top: 0px;
2753  border-<?php print $left; ?>: 0px;
2754  border-<?php print $right; ?>: 0px;
2755  padding: 0px 0px 0px 0px; /* t r b l */
2756  margin: 0px 0px 0px 0px; /* t r b l */
2757  font-size: 13px;
2758  font-weight: normal;
2759  color: #000000;
2760  text-decoration: none;
2761 <?php } ?>
2762 }
2763 div.tmenudisabled, a.tmenudisabled {
2764  opacity: 0.6;
2765 }
2766 a.tmenu, a.tmenusel, a.tmenudisabled {
2767  /* font-weight: 300; */
2768 }
2769 a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
2770  padding: 0px 5px 0px 5px;
2771  white-space: nowrap;
2772  color: var(--colortextbackhmenu);
2773  text-decoration: none;
2774  cursor: not-allowed;
2775 }
2776 span.mainmenuaspan.tmenudisabled {
2777  color: var(--colortextbackhmenu);
2778  opacity: 0.5;
2779  cursor: not-allowed;
2780 }
2781 
2782 a.disabled, span.tmenu {
2783  color: #aaa;
2784  text-decoration: none !important;
2785  cursor: default;
2786 }
2787 
2788 a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
2789  padding: 0px 2px 0px 2px;
2790  margin: 0px 0px 0px 0px;
2791  white-space: nowrap;
2792  color: var(--colortextbackhmenu);
2793  text-decoration: none;
2794 }
2795 a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
2796  padding: 0px 2px 0px 2px;
2797  margin: 0px 0px 0px 0px;
2798  white-space: nowrap;
2799  color: var(--colortextbackhmenu);
2800  text-decoration: none !important;
2801 }
2802 
2803 
2804 ul.tmenu { /* t r b l */
2805  padding: 0px 0px 0px 0px;
2806  margin: 0px 0px 0px 0px;
2807  list-style: none;
2808  display: table;
2809 }
2810 ul.tmenu li { /* We need this to have background color when menu entry wraps on new lines */
2811 }
2812 li.tmenu, li.tmenusel {
2813  <?php print $minwidthtmenu ? 'min-width: '.$minwidthtmenu.'px;' : ''; ?>
2814  text-align: center;
2815  vertical-align: bottom;
2816  <?php if (!getDolGlobalString('MAIN_MENU_INVERT')) { ?>
2817  float: <?php print $left; ?>;
2818  <?php } ?>
2819  position:relative;
2820  display: block;
2821  padding: 0 0 0 0;
2822  margin: 0 0 0 0;
2823  font-weight: normal;
2824 }
2825 li.menuhider:hover {
2826  background-image: none !important;
2827 }
2828 
2829 li.tmenusel::after, li.tmenu:hover::after{
2830  content: "";
2831  position:absolute;
2832  bottom:0px;
2833  left: 50%;
2834  left: calc(50% - 6px);
2835  width: 0;
2836  height: 0;
2837  border-style: solid;
2838  border-width: 0px 6px 5px 6px;
2839  border-color: transparent transparent #ffffff transparent;
2840 }
2841 
2842 .tmenuend .tmenuleft { width: 0px; }
2843 .tmenuend { display: none; }
2844 div.tmenuleft
2845 {
2846  float: <?php print $left; ?>;
2847  margin-top: 0px;
2848  <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
2849  width: 5px;
2850  <?php } ?>
2851  <?php if ($disableimages) { ?>
2852  height: 26px;
2853  <?php } else { ?>
2854  height: <?php print $heightmenu; ?>px;
2855  <?php } ?>
2856 }
2857 div.tmenucenter
2858 {
2859  padding-left: 2px;
2860  padding-right: 2px;
2861  <?php if ($disableimages) { ?>
2862  padding-top: 8px;
2863  height: 26px;
2864  <?php } else { ?>
2865  padding-top: 2px;
2866  height: <?php print $heightmenu; ?>px;
2867  <?php } ?>
2868  /* width: 100%; */
2869 }
2870 #menu_titre_logo {
2871  padding-top: 0;
2872  padding-bottom: 0;
2873 }
2874 div.menu_titre {
2875  padding-top: 4px;
2876  padding-bottom: 4px;
2877  overflow: hidden;
2878  text-overflow: ellipsis;
2879  width: <?php echo $leftmenuwidth - 2; ?>px; /* required to have overflow working. must be same than menu_contenu */
2880 }
2881 .mainmenuaspan
2882 {
2883  padding-<?php print $left; ?>: 2px;
2884  padding-<?php print $right; ?>: 2px;
2885  font-family: Roboto,<?php echo $fontlist; ?>;
2886  font-weight: 400;
2887 }
2888 
2889 div.mainmenu {
2890  position : relative;
2891  background-repeat:no-repeat;
2892  background-position:center top;
2893  height: <?php echo($heightmenu - 22); ?>px;
2894  margin-left: 0px;
2895  min-width: 40px;
2896 }
2897 
2898 a.tmenuimage:focus, .mainmenu.topmenuimage:focus {
2899  outline: none;
2900 }
2901 button.ui-button.ui-corner-all.ui-widget:focus {
2902  outline: none;
2903 }
2904 .tmenuimage {
2905  color: var(--colortextbackhmenu);
2906 }
2907 
2908 /* For mainmenu, we always load the img */
2909 
2910 div.mainmenu.menu {
2911  <?php print $disableimages ? '' : 'top: 10px'; ?>
2912 }
2913 #mainmenutd_menu a.tmenuimage {
2914  display: unset;
2915 }
2916 a.tmenuimage {
2917  display: block;
2918 }
2919 
2920 a.tmenuimage:hover{
2921  text-decoration: none;
2922 }
2923 
2924 
2925 /* To show text of top menu on hover only (THEME_TOPMENU_DISABLE_IMAGE == 2) */
2926 
2927 <?php if (in_array(getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE'), array(2, 3, 4))) { ?>
2928 .tmenulabel:not(.menuhider), .tmenulabel:not(.menuhider)::before {
2929  display: none;
2930  /* opacity: 0; To show text after transition */
2931 }
2932 a.tmenuimage:not(.menuhider), a.tmenuimage:not(.menuhider)::before,
2933 div.tmenuimage:not(.menuhider), div.tmenuimage:not(.menuhider)::before,
2934 span.tmenuimage:not(.menuhider), span.tmenuimage:not(.menuhider)::before {
2935  font-size: 1.3em;
2936  margin-top: 8px !important;
2937 }
2938 
2939 <?php } ?>
2940 <?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
2941 .tmenudiv:hover .tmenulabel:not(.menuhider), .tmenudiv:hover .tmenulabel:not(.menuhider)::before {
2942  display: block;
2943  position: relative;
2944  overflow: hidden;
2945  text-overflow: ellipsis;
2946  /* For transition transition-delay: 1000ms;
2947  transition-property: all; */
2948  opacity: 1;
2949  display: initial !important;
2950  line-height: 0.6em !important;
2951  height: 1em !important;
2952  overflow: hidden;
2953  text-overflow: ellipsis;
2954  color: var(--colortextbackhmenu);
2955  top: 0px;
2956 }
2957 
2958 .tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider)::before {
2959  /* For transition transition-delay: 1000ms;
2960  transition-property: all; */
2961  margin-top: 0px !important;
2962 }
2963 
2964 <?php } ?>
2965 <?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 3) { ?>
2966 li.tmenu:hover .tmenulabel:not(.menuhider), li.tmenu:hover .tmenulabel:not(.menuhider)::before {
2967  display: initial !important;
2968 }
2969 li.tmenu:hover .tmenuimage:not(.menuhider), li.tmenu:hover .tmenuimage:not(.menuhider):before {
2970  font-size: 1.1em !important;
2971  margin-top: 0px !important;
2972 }
2973 <?php } ?>
2974 
2975 
2976 
2977 /* Do not load menu img for other if hidden to save bandwidth */
2978 
2979 <?php if (empty($dol_hide_topmenu)) { ?>
2980  <?php include dol_buildpath($path.'/theme/'.$theme.'/main_menu_fa_icons.inc.php', 0); ?>
2981 
2982  <?php
2983  // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
2984 
2985  $moduletomainmenu = array(
2986  'user' => '', 'syslog' => '', 'societe' => 'companies', 'projet' => 'project', 'propale' => 'commercial', 'commande' => 'commercial',
2987  'produit' => 'products', 'service' => 'products', 'stock' => 'products',
2988  'don' => 'accountancy', 'tax' => 'accountancy', 'banque' => 'accountancy', 'facture' => 'accountancy', 'compta' => 'accountancy', 'accounting' => 'accountancy', 'adherent' => 'members', 'import' => 'tools', 'export' => 'tools', 'mailing' => 'tools',
2989  'contrat' => 'commercial', 'ficheinter' => 'commercial', 'ticket' => 'ticket', 'deplacement' => 'commercial',
2990  'fournisseur' => 'companies',
2991  'barcode' => '', 'fckeditor' => '', 'categorie' => '',
2992  );
2993  $mainmenuused = 'home';
2994  foreach ($conf->modules as $val) {
2995  $mainmenuused .= ','.(isset($moduletomainmenu[$val]) ? $moduletomainmenu[$val] : $val);
2996  }
2997  $mainmenuusedarray = array_unique(explode(',', $mainmenuused));
2998 
2999  $generic = 1;
3000  // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
3001  $divalreadydefined = array('home', 'companies', 'products', 'mrp', 'commercial', 'externalsite', 'accountancy', 'project', 'tools', 'members', 'agenda', 'ftp', 'holiday', 'hrm', 'bookmark', 'cashdesk', 'takepos', 'ecm', 'geoipmaxmind', 'gravatar', 'clicktodial', 'paypal', 'stripe', 'webservices', 'website');
3002  // Put here list of menu entries we are sure we don't want
3003  $divnotrequired = array('multicurrency', 'salaries', 'ticket', 'margin', 'opensurvey', 'paybox', 'expensereport', 'incoterm', 'prelevement', 'propal', 'workflow', 'notification', 'supplier_proposal', 'cron', 'product', 'productbatch', 'expedition');
3004 
3005  foreach ($mainmenuusedarray as $val) {
3006  if (empty($val) || in_array($val, $divalreadydefined)) {
3007  continue;
3008  }
3009  if (in_array($val, $divnotrequired)) {
3010  continue;
3011  }
3012 
3013  $found = 0;
3014  $url = '';
3015  $constformoduleicon = 'MAIN_MODULE_'.strtoupper($val).'_ICON';
3016  $iconformodule = getDolGlobalString($constformoduleicon);
3017  if ($iconformodule) {
3018  if (preg_match('/^fa\-/', $iconformodule)) {
3019  // This is a fa icon
3020  } else {
3021  $url = dol_buildpath('/'.$val.'/img/'.$iconformodule.'.png', 1);
3022  }
3023  $found = 1;
3024  } else {
3025  // Search img file in module dir
3026  foreach ($conf->file->dol_document_root as $dirroot) {
3027  if (file_exists($dirroot."/".$val."/img/".$val.".png")) {
3028  $url = dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
3029  $found = 1;
3030  break;
3031  }
3032  }
3033  }
3034  //print "XXX".$val."->".$found."\n";
3035 
3036  // Output entry for menu icon in CSS
3037  if (!$found) {
3038  print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
3039  print 'div.mainmenu.'.$val.' span::before {'."\n";
3040  print 'content: "\f249";'."\n";
3041  print '}'."\n";
3042  $generic++;
3043  } else {
3044  if ($url) {
3045  print "div.mainmenu.".$val." {\n";
3046  print " background-image: url(".$url.");\n";
3047  print " background-position-y: 3px;\n";
3048  print " filter: saturate(0);\n";
3049  print "}\n";
3050  } else {
3051  print '/* icon for module '.$val.' is a fa icon */'."\n";
3052  }
3053  }
3054  }
3055  // End of part to add more div class css
3056  ?>
3057 <?php } // End test if $dol_hide_topmenu?>
3058 
3059 .tmenuimage {
3060  padding:0 0 0 0 !important;
3061  margin:0 0 0 0 !important;
3062  <?php if ($disableimages) { ?>
3063  display: none;
3064  <?php } ?>
3065 }
3066 
3067 
3068 
3069 /* Login */
3070 
3071 .bodylogin
3072 {
3073  background: #f0f0f0;
3074  display: table;
3075  position: absolute;
3076  height: 100%;
3077  width: 100%;
3078  font-size: 1em;
3079 }
3080 .login_center {
3081  display: table-cell;
3082  vertical-align: middle;
3083 }
3084 .login_vertical_align {
3085  padding: 10px;
3086  padding-bottom: 80px;
3087 }
3088 form#login {
3089  padding-bottom: 30px;
3090  font-size: 14px;
3091  vertical-align: middle;
3092 }
3093 .login_table_title {
3094  max-width: 530px;
3095  color: #eee !important;
3096  padding-bottom: 20px;
3097  text-shadow: 1px 1px #444;
3098 }
3099 .login_table label {
3100  text-shadow: 1px 1px 1px #FFF;
3101 }
3102 .login_table {
3103  margin: 0px auto; /* Center */
3104  padding-left:6px;
3105  padding-right:6px;
3106  padding-top:16px;
3107  padding-bottom:12px;
3108  max-width: 560px;
3109 <?php
3110 if (getDolGlobalString('MAIN_LOGIN_BACKGROUND')) {
3111  print ' background-color: rgba(255, 255, 255, 0.9);';
3112 } else {
3113  print ' background-color: #FFFFFF;';
3114 }
3115 ?>
3116  -webkit-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
3117  box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
3118 
3119  border-radius: 5px;
3120  /*border-top:solid 1px rgba(180,180,180,.4);
3121  border-left:solid 1px rgba(180,180,180,.4);
3122  border-right:solid 1px rgba(180,180,180,.4);
3123  border-bottom:solid 1px rgba(180,180,180,.4);*/
3124 }
3125 .login_table input#username, .login_table input#password, .login_table input#securitycode {
3126  border: none;
3127  border-bottom: solid 1px rgba(180,180,180,.4);
3128  padding: 5px;
3129  margin-left: 5px;
3130  margin-top: 5px;
3131  margin-bottom: 5px;
3132 }
3133 .login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
3134  outline: none !important;
3135 }
3136 .login_table .trinputlogin {
3137  font-size: 1.2em;
3138  margin: 8px;
3139 }
3140 .login_table .tdinputlogin {
3141  background-color: transparent;
3142  /* border: 2px solid #ccc; */
3143  min-width: 220px;
3144  border-radius: 2px;
3145 }
3146 .login_table .tdinputlogin .fa {
3147  padding-left: 10px;
3148  width: 14px;
3149 }
3150 .login_table .tdinputlogin input#username, .login_table .tdinputlogin input#password, .login_table .tdinputlogin input#securitycode {
3151  font-size: 1.1em;
3152 }
3153 /* For the static info message */
3154 .login_main_home {
3155  word-break: break-word;
3156  width: fit-content;
3157 }
3158 /* For the result or error message */
3159 .login_main_message {
3160  text-align: center;
3161  max-width: 570px;
3162  margin-bottom: 22px;
3163 }
3164 .login_main_message .error {
3165  /* border: 1px solid #caa; */
3166  padding: 10px;
3167 }
3168 div#login_left, div#login_right {
3169  display: inline-block;
3170  min-width: 245px;
3171  padding-top: 10px;
3172  padding-left: 16px;
3173  padding-right: 16px;
3174  text-align: center;
3175  vertical-align: middle;
3176 }
3177 div#login_right select#entity {
3178  margin-top: 10px;
3179 }
3180 table.login_table tr td table.none tr td {
3181  padding: 2px;
3182 }
3183 table.login_table_securitycode {
3184  border-spacing: 0px;
3185 }
3186 table.login_table_securitycode tr td {
3187  padding-left: 0px;
3188  padding-right: 4px;
3189 }
3190 #securitycode {
3191  min-width: 60px;
3192 }
3193 #img_securitycode {
3194  border: 1px solid #DDDDDD;
3195 }
3196 #img_logo, .img_logo {
3197  max-width: 170px;
3198  max-height: 90px;
3199 }
3200 
3201 div.backgroundsemitransparent {
3202  background:rgba(255, 255, 255, 0.7);
3203  padding-left: 10px;
3204  padding-right: 10px;
3205 }
3206 div.login_block {
3207  position: absolute;
3208  text-align: <?php print $right; ?>;
3209  <?php print $right; ?>: 0;
3210  top: <?php print $disableimages ? '4px' : '0'; ?>;
3211  line-height: 10px;
3212  <?php // echo (empty($disableimages) && $maxwidthloginblock)?'max-width: '.$maxwidthloginblock.'px;':'';?>
3213  <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3214  display: none;
3215  <?php } ?>
3216 }
3217 div.login_block a {
3218  color: var(--colortextbackhmenu);
3219  display: inline-block;
3220 }
3221 div.login_block a .atoploginusername {
3222  display: inline-block;
3223  overflow: hidden;
3224  max-width: 60px;
3225  text-overflow: ellipsis;
3226 }
3227 div.login_block span.aversion {
3228  color: var(--colortextbackhmenu);
3229  filter: contrast(0.7);
3230 }
3231 div.login_block table {
3232  display: inline;
3233 }
3234 div.login {
3235  white-space:nowrap;
3236  font-weight: bold;
3237  float: right;
3238 }
3239 div.login a {
3240  color: var(--colortextbackvmenu);
3241 }
3242 div.login a:hover {
3243  color: var(--colortextbackvmenu);
3244  text-decoration:underline;
3245 }
3246 .login_block_elem a span.atoplogin, .login_block_elem span.atoplogin {
3247  vertical-align: middle;
3248 }
3249 div.login_block_user {
3250  display: inline-block;
3251  vertical-align: middle;
3252  line-height: <?php echo $disableimages ? '25' : '51'; ?>px;
3253  height: <?php echo $disableimages ? '25' : '51'; ?>px;
3254 }
3255 div.login_block_other {
3256  display: inline-block;
3257  vertical-align: middle;
3258  clear: <?php echo $disableimages ? 'none' : 'both'; ?>;
3259  padding-top: 0;
3260  text-align: right;
3261  margin-right: 8px;
3262  max-width: 200px;
3263 }
3264 
3265 .login_block_elem {
3266  float: right;
3267  vertical-align: top;
3268  padding: 0px 3px 0px 4px !important;
3269 }
3270 .login_block_other .login_block_elem {
3271  line-height: 25px;
3272  height: 25px;
3273 }
3274 .atoplogin, .atoplogin:hover {
3275  color: var(--colortextbackhmenu) !important;
3276 }
3277 .login_block_getinfo {
3278  text-align: center;
3279 }
3280 .login_block_getinfo div.login_block_user {
3281  display: block;
3282 }
3283 .login_block_getinfo .atoplogin, .login_block_getinfo .atoplogin:hover {
3284  color: #333 !important;
3285  font-weight: normal !important;
3286 }
3287 .alogin, .alogin:hover {
3288  font-weight: normal !important;
3289  padding-top: 2px;
3290 }
3291 .alogin:hover, .atoplogin:hover {
3292  text-decoration:underline !important;
3293 }
3294 span.fa.atoplogin, span.fa.atoplogin:hover {
3295  font-size: 16px;
3296  text-decoration: none !important;
3297 }
3298 .atoplogin #dropdown-icon-down, .atoplogin #dropdown-icon-up {
3299  font-size: 0.7em;
3300 }
3301 img.login, img.printer, img.entity {
3302  /* padding: 0px 0px 0px 4px; */
3303  /* margin: 0px 0px 0px 8px; */
3304  text-decoration: none;
3305  color: white;
3306  font-weight: bold;
3307 }
3308 .loginbuttonexternal {
3309  width: 300px;
3310  margin: auto;
3311  border: 1px solid #ccc;
3312  padding: 10px;
3313  border-radius: 5px;
3314 }
3315 
3316 
3317 .userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
3318  width: <?php echo $disableimages ? '26' : '30'; ?>px;
3319  height: <?php echo $disableimages ? '26' : '30'; ?>px;
3320  border-radius: 50%;
3321  background-size: contain;
3322  border: 1px solid;
3323  border-color: rgba(255, 255, 255, 0.2);
3324 }
3325 img.userphoto { /* size for user photo in lists */
3326  border-radius: 0.72em;
3327  width: 1.4em;
3328  height: 1.4em;
3329  background-size: contain;
3330  vertical-align: middle;
3331 }
3332 span.userimg div.userphoto {
3333  background-color: #eee;
3334  border-radius: 0.72em;
3335  width: 1.4em;
3336  height: 1.4em;
3337  padding-top: 1px;
3338  display: inline-block;
3339 }
3340 img.userphotosmall { /* size for user photo in lists */
3341  border-radius: 0.6em;
3342  width: 1.2em;
3343  height: 1.2em;
3344  background-size: contain;
3345  vertical-align: middle;
3346  background-color: #FFF;
3347 }
3348 img.userphotopublicvcard {
3349  width: 60px;
3350  height: 60px;
3351  border-radius: 50%;
3352  background-size: contain;
3353  border: 1px solid;
3354  border-color: rgba(128, 128, 128, 0.5);
3355  position: relative;
3356  top: 25px;
3357  left: -110px;
3358 }
3359 img.userphoto[alt="Gravatar avatar"], img.photouserphoto.dropdown-user-image[alt="Gravatar avatar"] {
3360  background: #fff;
3361 }
3362 form[name="addtime"] img.userphoto {
3363  border: 1px solid #444;
3364 }
3365 .span-icon-user {
3366  background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png', 1); ?>);
3367  background-repeat: no-repeat;
3368 }
3369 .span-icon-password {
3370  background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png', 1); ?>);
3371  background-repeat: no-repeat;
3372 }
3373 
3374 /* ============================================================================== */
3375 /* Menu gauche */
3376 /* ============================================================================== */
3377 
3378 div.vmenu, td.vmenu {
3379  margin-<?php print $right; ?>: 2px;
3380  position: relative;
3381  float: left;
3382  padding: 0px;
3383  padding-bottom: 0px;
3384  padding-top: 1px;
3385  width: <?php echo $leftmenuwidth; ?>px;
3386 }
3387 
3388 .vmenu {
3389  width: <?php echo $leftmenuwidth; ?>px;
3390  margin-left: 6px;
3391  <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3392  display: none;
3393  <?php } ?>
3394 }
3395 
3396 /* Force vmenusearchselectcombo with type=text differently than without because beautify with select2 affect vmenusearchselectcombo differently */
3397 input.vmenusearchselectcombo[type=text] {
3398  width: <?php echo $leftmenuwidth - 10; ?>px !important;
3399 }
3400 .vmenusearchselectcombo {
3401  width: <?php echo $leftmenuwidth - 2; ?>px;
3402 }
3403 
3404 .menu_contenu {
3405  padding-top: 3px;
3406  padding-bottom: 3px;
3407  overflow: hidden;
3408  text-overflow: ellipsis;
3409  width: <?php echo $leftmenuwidth - 2; ?>px; /* required to have overflow working. must be same than .menu_titre */
3410 }
3411 #menu_contenu_logo { /* padding-top: 0; */ }
3412 .companylogo { }
3413 .searchform { padding-top: 10px; }
3414 .searchform input { font-size: 16px; }
3415 
3416 
3417 a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu, span.vsmenu {
3418  white-space: nowrap; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>;
3419 }
3420 a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active,
3421 span.vmenu, span.vmenu:link, span.vmenu:visited, span.vmenu:hover, span.vmenu:active { font-weight: bold; } /* bold = 600, 500 is ko with Edge on 1200x960 */
3422 span.vmenudisabled, font.vmenudisabled {
3423  /* bold = 600, 500 is ko with Edge on 1200x960 */
3424  font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold; color: #aaa; margin-left: 4px; white-space: nowrap;
3425 }
3426 a.vmenu:link, a.vmenu:visited {
3427  color: var(--colortextbackvmenu);
3428 }
3429 
3430 a.vsmenu:link, a.vsmenu:visited, a.vsmenu:hover, a.vsmenu:active, span.vsmenu {
3431  font-family: <?php print $fontlist ?>;
3432  text-align: <?php print $left; ?>;
3433  color: var(--colortextbackvmenu);
3434  margin: 1px 1px 1px 6px;
3435 }
3436 span.vsmenudisabled, font.vsmenudisabled {
3437  font-family: <?php print $fontlist ?>;
3438  text-align: <?php print $left; ?>;
3439  color: #aaa;
3440  white-space: nowrap;
3441 }
3442 a.vsmenu:link, a.vsmenu:visited {
3443  color: var(--colortextbackvmenu);
3444  white-space: nowrap;
3445 }
3446 span.vsmenudisabledmargin, font.vsmenudisabledmargin { margin: 1px 1px 1px 6px; }
3447 li a.vsmenudisabled, li.vsmenudisabled { color: #aaa !important; }
3448 
3449 a.help:link, a.help:visited, a.help:hover, a.help:active, span.help {
3450  text-align: <?php print $left; ?>; color: #aaa; text-decoration: none;
3451 }
3452 .helppresent, .helppresent:hover {
3453  /* color: #f3e4ac !important; */
3454 }
3455 .helppresentcircle {
3456  /*
3457  color: var(--colorbackhmenu1);
3458  filter: invert(0.5);
3459  */
3460  color: var(--colortextbackhmenu);
3461  margin-<?php echo $left ?>: -4px;
3462  display: inline-block;
3463  font-size: x-small;
3464  vertical-align: super;
3465  opacity: 0.95;
3466  transform: rotate(<?php echo($left == 'left' ? '55deg' : '305deg'); ?>);
3467 }
3468 
3469 .vmenu div.blockvmenufirst, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone, .vmenu div.blockvmenubookmarks
3470 {
3471  border-top: 1px solid #BBB;
3472 }
3473 a.vsmenu.addbookmarkpicto {
3474  padding-right: 10px;
3475 }
3476 div.blockvmenusearchphone
3477 {
3478  border-bottom: none !important;
3479 }
3480 .vmenu div.blockvmenuend, .vmenu div.blockvmenulogo
3481 {
3482  margin: 0 0 8px 2px;
3483 }
3484 .vmenu div.blockvmenusearch
3485 {
3486  padding-bottom: 13px;
3487 }
3488 .vmenu div.blockvmenuend
3489 {
3490  padding-bottom: 5px;
3491 }
3492 .vmenu div.blockvmenulogo
3493 {
3494  padding-bottom: 10px;
3495  padding-top: 0;
3496 }
3497 div.blockvmenubookmarks
3498 {
3499  padding-top: 10px !important;
3500  padding-bottom: 16px !important;
3501 }
3502 div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend
3503 {
3504  font-family: <?php print $fontlist ?>;
3505  text-align: <?php print $left; ?>;
3506  text-decoration: none;
3507  padding-left: 5px;
3508  padding-right: 1px;
3509  padding-top: 4px;
3510  padding-bottom: 7px;
3511  margin: 0 0 0 2px;
3512 
3513  color: var(--colortext);
3514  background: var(--colorbackvmenu1);
3515 
3516  border-left: 1px solid #AAA;
3517  border-right: 1px solid #BBB;
3518 }
3519 
3520 div.blockvmenusearch
3521 {
3522  font-family: <?php print $fontlist ?>;
3523  color: #000000;
3524  text-align: <?php print $left; ?>;
3525  text-decoration: none;
3526  margin: 1px 0px 0px 2px;
3527  background: var(--colorbackvmenu1);
3528 }
3529 
3530 div.blockvmenusearch > form > div {
3531  padding-top: 3px;
3532 }
3533 div.blockvmenusearch > form > div > label {
3534  padding-right: 2px;
3535 }
3536 
3537 div.blockvmenuhelp
3538 {
3539 <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
3540  font-family: <?php print $fontlist ?>;
3541  color: #000000;
3542  text-align: center;
3543  text-decoration: none;
3544  padding-left: 0px;
3545  padding-right: 6px;
3546  padding-top: 3px;
3547  padding-bottom: 3px;
3548  margin: 4px 0px 0px 0px;
3549 <?php } else { ?>
3550  display: none;
3551 <?php } ?>
3552 }
3553 
3554 
3555 td.barre {
3556  border-right: 1px solid #000000;
3557  border-bottom: 1px solid #000000;
3558  background: #b3c5cc;
3559  font-family: <?php print $fontlist ?>;
3560  color: #000000;
3561  text-align: <?php print $left; ?>;
3562  text-decoration: none;
3563 }
3564 
3565 td.barre_select {
3566  background: #b3c5cc;
3567  color: #000000;
3568 }
3569 
3570 td.photo {
3571  background: #F4F4F4;
3572  color: #000000;
3573  border: 1px solid #bbb;
3574 }
3575 
3576 /* ============================================================================== */
3577 /* Panes for Main */
3578 /* ============================================================================== */
3579 
3580 /*
3581  * PANES and CONTENT-DIVs
3582  */
3583 
3584 #mainContent, #leftContent .ui-layout-pane {
3585  padding: 0px;
3586  overflow: auto;
3587 }
3588 
3589 #mainContent, #leftContent .ui-layout-center {
3590  padding: 0px;
3591  position: relative; /* contain floated or positioned elements */
3592  overflow: auto; /* add scrolling to content-div */
3593 }
3594 
3595 
3596 /* ============================================================================== */
3597 /* Toolbar for ECM or Filemanager */
3598 /* ============================================================================== */
3599 
3600 td.ecmroot {
3601  padding-bottom: 0 !important;
3602 }
3603 
3604 .largebutton {
3605  /* border-top: 1px solid #CCC !important; */
3606  padding: 0px 4px 14px 4px !important;
3607  min-height: 32px;
3608 }
3609 
3610 
3611 a.toolbarbutton {
3612  margin-top: 0px;
3613  margin-left: 4px;
3614  margin-right: 4px;
3615  height: 30px;
3616 }
3617 img.toolbarbutton {
3618  margin-top: 1px;
3619  height: 30px;
3620 }
3621 
3622 li.expanded > a.fmdirlia.jqft.ecmjqft {
3623  font-weight: bold !important;
3624 }
3625 
3626 .divfmdirlia {
3627  width: calc(100% - 100px);
3628 }
3629 
3630 a.fmdirlia {
3631  white-space: break-spaces;
3632  word-break: break-all;
3633 }
3634 
3635 
3636 /* ============================================================================== */
3637 /* Onglets */
3638 /* ============================================================================== */
3639 div.tabs {
3640  text-align: <?php print $left; ?>;
3641  margin-top: 10px;
3642  padding-left: 6px;
3643  padding-right: 6px;
3644  clear:both;
3645  height:100%;
3646 }
3647 div.tabsElem {
3648  margin-top: 1px;
3649 } /* To avoid overlap of tabs when not browser */
3650 /*
3651 div.tabsElem a.tabactive::before, div.tabsElem a.tabunactive::before {
3652  content: "\f0da";
3653  font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
3654  padding-right: 2px;
3655  font-weight: 900;
3656 }
3657 */
3658 div.tabBar {
3659  color: var(--colortextbacktab);
3660  padding-top: 16px;
3661  padding-left: 0px; padding-right: 0px;
3662  padding-bottom: 2px;
3663  margin: 0px 0px 30px 0px;
3664  border-top: 1px solid #BBB;
3665  /* border-bottom: 1px solid #AAA; */
3666  width: auto;
3667  background: var(--colorbacktabcard1);
3668 }
3669 div.tabBar tr.titre td {
3670  padding-top: 20px;
3671 }
3672 div.fiche table:not(.table-fiche-title) tr.titre td {
3673  padding-top: 10px;
3674 }
3675 
3676 div.tabBar.tabBarNoTop {
3677  padding-top: 0;
3678  border-top: 0;
3679 }
3680 
3681 /* tabBar used for creation/update/send forms */
3682 div.tabBarWithBottom {
3683  padding-bottom: 18px;
3684  border-bottom: 1px solid #bbb;
3685 }
3686 div.tabBarWithBottom tr {
3687  background: unset !important;
3688 }
3689 div.tabBarWithBottom table.border>tbody>tr:last-of-type>td {
3690  border-bottom: none !important;
3691 }
3692 
3693 div.tabBar table.tableforservicepart2:last-child {
3694  border-bottom: 1px solid #aaa;
3695 }
3696 .tableforservicepart1 .tdhrthin {
3697  height: unset;
3698  padding-top: 0 !important;
3699 }
3700 /* Payment Screen : Pointer cursor in the autofill image */
3701 .AutoFillAmount {
3702  cursor:pointer;
3703 }
3704 
3705 div.popuptabset {
3706  padding: 6px;
3707  background: #fff;
3708  border: 1px solid #888;
3709 }
3710 div.popuptab {
3711  padding-top: 8px;
3712  padding-bottom: 8px;
3713  padding-left: 5px;
3714  padding-right: 5px;
3715 }
3716 
3717 /* ============================================================================== */
3718 /* Buttons for actions */
3719 /* ============================================================================== */
3720 
3721 div.tabsAction {
3722  margin: 20px 0em 30px 0em;
3723  padding: 0em 0em;
3724  text-align: right;
3725 }
3726 div.tabsActionNoBottom {
3727  margin-bottom: 0px;
3728 }
3729 div.tabsAction > a {
3730  margin-bottom: 16px !important;
3731 }
3732 
3733 a.tabTitle {
3734  color: rgba(0,0,0,0.4) !important;
3735  text-shadow:1px 1px 1px #ffffff;
3736  font-family: <?php print $fontlist ?>;
3737  font-weight: normal !important;
3738  padding: 4px 6px 2px 0px;
3739  margin-<?php print $right; ?>: 10px;
3740  text-decoration: none;
3741  white-space: nowrap;
3742 }
3743 .tabTitleText {
3744  display: none;
3745 }
3746 .imgTabTitle {
3747  max-height: 14px;
3748 }
3749 div.tabs div.tabsElem:first-of-type a.tab {
3750  margin-left: 0px !important;
3751 }
3752 
3753 a.tabunactive {
3754  color: var(--colortextlink) !important;
3755 }
3756 a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
3757  font-family: <?php print $fontlist ?>;
3758  padding: 12px 14px 13px;
3759  margin: 0em 0.2em;
3760  text-decoration: none;
3761  white-space: nowrap;
3762 
3763  background-image: none !important;
3764 }
3765 
3766 .tabactive, a.tab#active {
3767  color: var(--colortextbacktab) !important;
3768  /* background: var(--colorbacktabcard1) !important; */
3769  margin: 0 0.2em 0 0.2em !important;
3770 
3771  border-right: 1px solid transparent;
3772  border-left: 1px solid transparent;
3773  border-top: 1px solid transparent;
3774  /*border-right: 1px solid #CCC !important;
3775  border-left: 1px solid #CCC !important; */
3776  border-bottom: 3px solid var(--colorbackhmenu1) !important;
3777 }
3778 .tabunactive, a.tab#unactive {
3779  border-right: 1px solid transparent;
3780  border-left: 1px solid transparent;
3781  border-top: 1px solid transparent;
3782  border-bottom: 0px !important;
3783 }
3784 a.tab:hover
3785 {
3786  /*
3787  background: var(--colorbacktabcard1), 0.5) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
3788  color: var(--colortextbacktab);
3789  */
3790  text-decoration: underline;
3791 }
3792 a.tabimage {
3793  color: #434956;
3794  font-family: <?php print $fontlist ?>;
3795  text-decoration: none;
3796  white-space: nowrap;
3797 }
3798 
3799 td.tab {
3800  background: #dee7ec;
3801 }
3802 
3803 span.tabspan {
3804  background: #dee7ec;
3805  color: #434956;
3806  font-family: <?php print $fontlist ?>;
3807  padding: 0px 6px;
3808  margin: 0em 0.2em;
3809  text-decoration: none;
3810  white-space: nowrap;
3811  -webkit-border-radius:4px 4px 0px 0px;
3812  border-radius:4px 4px 0px 0px;
3813 
3814  border-<?php print $right; ?>: 1px solid #555555;
3815  border-<?php print $left; ?>: 1px solid #D8D8D8;
3816  border-top: 1px solid #D8D8D8;
3817 }
3818 
3819 /* ============================================================================== */
3820 /* Buttons for actions */
3821 /* ============================================================================== */
3822 <?php include dol_buildpath($path.'/theme/'.$theme.'/btn.inc.php', 0); ?>
3823 
3824 
3825 /* ============================================================================== */
3826 /* Tables */
3827 /* ============================================================================== */
3828 
3829 .allwidth {
3830  width: 100%;
3831 }
3832 
3833 #undertopmenu {
3834  background-repeat: repeat-x;
3835  margin-top: <?php echo($dol_hide_topmenu ? '6' : '0'); ?>px;
3836 }
3837 
3838 
3839 .paddingrightonly {
3840  border-collapse: collapse;
3841  border: 0px;
3842  margin-left: 0px;
3843  padding-<?php print $left; ?>: 0px !important;
3844  padding-<?php print $right; ?>: 4px !important;
3845 }
3846 .nocellnopadd {
3847  list-style-type:none;
3848  margin: 0px !important;
3849  padding: 0px !important;
3850 }
3851 .noborderspacing {
3852  border-spacing: 0;
3853 }
3854 tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
3855 {
3856  border: 0px;
3857 }
3858 
3859 .unsetcolor {
3860  color: unset !important;
3861 }
3862 
3863 .smallpaddingimp {
3864  padding: 4px !important;
3865  padding-left: 7px !important;
3866  padding-right: 7px !important;
3867 }
3868 input.button[name="upload"] {
3869  padding: 5px !important;
3870  font-size: 0.9em;
3871 }
3872 input.button.smallpaddingimp, input.buttonreset.smallpaddingimp {
3873  font-size: 0.8em;
3874 }
3875 input.buttonlink {
3876  color: var(--colortextlink);
3877  background-color: transparent;
3878  cursor: pointer;
3879 }
3880 input.buttonlink:hover {
3881  text-decoration: underline;
3882 }
3883 input.buttonreset {
3884  margin-top: 3px;
3885  margin-bottom: 3px;
3886  padding: 8px 15px;
3887  text-decoration: underline;
3888  color: var(--colortextlink);
3889  background-color: transparent;
3890  cursor: pointer;
3891 }
3892 .nopaddingleft {
3893  padding-<?php print $left; ?>: 0px;
3894 }
3895 div.tabs.nopaddingleft {
3896  padding-<?php print $left; ?>: 0px;
3897 }
3898 .nopaddingright {
3899  padding-<?php print $right; ?>: 0px;
3900 }
3901 .nopaddingtopimp {
3902  padding-top: 0px !important;
3903 }
3904 .nopaddingbottomimp {
3905  padding-bottom: 0px !important;
3906 }
3907 .notopnoleft {
3908  border-collapse: collapse;
3909  border: 0px;
3910  padding-top: 0px;
3911  padding-<?php print $left; ?>: 0px;
3912  padding-<?php print $right; ?>: 16px;
3913  padding-bottom: 4px;
3914  margin-right: 0px;
3915 }
3916 .notopnoleftnoright {
3917  border-collapse: collapse;
3918  border: 0px;
3919  padding-top: 0px;
3920  padding-left: 0px;
3921  padding-right: 0px;
3922  padding-bottom: 4px;
3923  margin: 0px 0px 0px 0px;
3924 }
3925 
3926 table.tableforemailform tr td {
3927  padding-top: 3px;
3928  padding-bottom: 3px;
3929 }
3930 
3931 table.border, table.bordernooddeven, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
3932  border-collapse: collapse !important;
3933  padding: 1px 2px 1px 3px; /* t r b l */
3934 }
3935 table.borderplus {
3936  border: 1px solid #BBB;
3937 }
3938 .border tbody tr, .bordernooddeven tbody tr, .border tbody tr td, .bordernooddeven tbody tr td,
3939 div.tabBar table.border tr, div.tabBar table.border tr td, div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar div.border .table-val-border-col,
3940 tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
3941  height: 28px;
3942 }
3943 
3944 div.tabBar div.border .table-border-row, div.tabBar div.border .table-key-border-col, div.tabBar .table-val-border-col {
3945  vertical-align: middle;
3946 }
3947 div .tdtop:not(.tagtdnote) {
3948  vertical-align: top !important;
3949  /*padding-top: 10px !important;
3950  padding-bottom: 2px !important; */
3951  padding-top: 7px !important;
3952  padding-bottom: 0px !important;
3953 }
3954 
3955 table.border td, table.bordernooddeven td, div.border div div.tagtd {
3956  padding: 2px 2px 2px 2px;
3957  border-collapse: collapse;
3958 }
3959 div.tabBar .fichecenter table.border>tbody>tr>td, div.tabBar .fichecenter div.border div div.tagtd, div.tabBar div.border div div.tagtd
3960 {
3961  padding-top: 2px;
3962  border-bottom: 1px solid #E0E0E0;
3963 }
3964 
3965 td.border, div.tagtable div div.border {
3966  border-top: 1px solid #000000;
3967  border-right: 1px solid #000000;
3968  border-bottom: 1px solid #000000;
3969  border-left: 1px solid #000000;
3970 }
3971 .table-key-border-col {
3972  /* width: 25%; */
3973  vertical-align:top;
3974 }
3975 .table-val-border-col {
3976  width:auto;
3977 }
3978 
3979 
3980 .thsticky, .tdsticky {
3981  position: sticky;
3982  left: 0px;
3983 }
3984 .thstickyright, .tdstickyright {
3985  position: sticky;
3986  right: 0px;
3987 }
3988 .thstickygray, .tdstickygray {
3989  background-color: lightgray;
3990 }
3991 .thstickyghostwhite, .tdstickyghostwhite {
3992  background-color: ghostwhite;
3993 }
3994 .thstickyinherit, .tdstickyinherit {
3995  background-color: inherit;
3996 }
3997 
3998 /* To have left column sticky */
3999 /*.tagtable td[data-key="ref"], .tagtable th[data-key="ref"] {
4000  position: sticky;
4001  left: 0;
4002  top: 0;
4003  max-width: 150px !important;
4004  //background-color: inherit;
4005  background-color: gainsboro;
4006  z-index: 2;
4007 }
4008 */
4009 
4010 /* To have right column sticky */
4011 /*.tagtable td.actioncolumn, .tagtable th.actioncolumn {
4012  position: sticky-right;
4013  right: 0;
4014  top: 0;
4015  max-width: 150px !important;
4016  //background-color: inherit;
4017  background-color: gainsboro;
4018  z-index: 2;
4019 }
4020 */
4021 
4022 
4023 /* Main boxes */
4024 .nobordertop, .nobordertop tr:first-of-type td {
4025  border-top: none !important;
4026 }
4027 .noborderbottom, .noborderbottom tr:last-of-type td {
4028  border-bottom: none !important;
4029 }
4030 .bordertop {
4031  border-top: 1px solid var(--colortopbordertitle1);
4032 }
4033 .borderbottom {
4034  border-bottom: 1px solid var(--colortopbordertitle1);
4035 }
4036 
4037 
4038 .fichehalfright table.noborder , .fichehalfleft table.noborder{
4039  margin: 0px 0px 0px 0px;
4040 }
4041 table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
4042  <?php
4043  if ($userborderontable) { ?>
4044  border-left: 1px solid var(--colortopbordertitle1);
4045  border-right: 1px solid var(--colortopbordertitle1);
4046  <?php } ?>
4047 }
4048 table.liste, table.noborder, table.formdoc, div.noborder {
4049  width: 100%;
4050  border-collapse: separate !important;
4051  border-spacing: 0px;
4052  border-top-width: <?php echo $borderwidth ?>px;
4053  border-top-color: var(--colortopbordertitle1);
4054  border-top-style: solid;
4055  margin: 0px 0px 20px 0px;
4056 
4057  /*width: calc(100% - 7px);
4058  border-collapse: separate !important;
4059  border-spacing: 0px;
4060  border-top-width: 0px;
4061  border-top-color: rgb(215,215,215);
4062  border-top-style: solid;
4063  margin: 0px 0px 5px 2px;
4064  box-shadow: 1px 1px 5px #ddd;
4065  */
4066 }
4067 #tablelines, #tablelinesservice {
4068  border-bottom-width: 1px;
4069  border-bottom-color: var(--colortopbordertitle1);
4070  border-bottom-style: solid;
4071 }
4072 table.liste tr:last-of-type td, table.noborder:not(#tablelines):not(#tablelinesservice) tr:last-of-type td, table.formdoc tr:last-of-type td, div.noborder tr:last-of-type td {
4073  border-bottom-width: 1px;
4074  border-bottom-color: var(--colortopbordertitle1);
4075  border-bottom-style: solid;
4076 }
4077 /* CSS to remove the interline border */
4078 table.nointerlines tr:not(:last-child) td {
4079  border-bottom: unset !important;
4080  border-top: unset !important;
4081 }
4082 
4083 
4084 /*
4085 div.tabBar div.fichehalfright table.noborder:not(.margintable):not(.paymenttable):not(.lastrecordtable):last-of-type {
4086  border-bottom: 1px solid var(--colortopbordertitle1);
4087 }
4088 */
4089 div.tabBar table.border>tbody>tr:last-of-type>td {
4090  border-bottom-width: 1px;
4091  border-bottom-color: var(--colortopbordertitle1);
4092  border-bottom-style: solid;
4093 }
4094 div.tabBar div.fichehalfright table.noborder {
4095  border-bottom: none;
4096 }
4097 
4098 table.paddingtopbottomonly tr td {
4099  padding-top: 1px;
4100  padding-bottom: 2px;
4101 }
4102 .liste_titre_filter {
4103  background: var(--colorbacktitle1) !important;
4104 }
4105 .liste_titre2 {
4106  background: var(--colorbackhmenu1) !important;
4107  color: #fff;
4108 }
4109 table:not(.listwithfilterbefore) tr.liste_titre_filter:first-of-type td.liste_titre {
4110  padding-top: 5px;
4111 }
4112 
4113 tr.liste_titre_filter td.liste_titre {
4114  /* border-bottom: 1px solid #ddd; */
4115  padding-top: 1px;
4116  padding-bottom: 0px;
4117 }
4118 tr.liste_titre_filter td.liste_titre:first-of-type {
4119 /* height: 36px; */
4120 }
4121 .liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
4122 {
4123  border-bottom-width: 0 !important;
4124  border-top-width: 1px;
4125  border-top-color: var(--colortopbordertitle1);
4126  border-top-style: solid;
4127 }
4128 tr#trlinefordates td {
4129  border-bottom: 0px !important;
4130 }
4131 .liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
4132 {
4133  border-top-width: 1px;
4134  border-top-color: var(--colortopbordertitle1);
4135  border-top-style: solid;
4136 }
4137 table.liste tr, table.noborder tr, div.noborder form {
4138  border-top-color: #FEFEFE;
4139  min-height: 20px;
4140 }
4141 table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td {
4142  padding: 6px 10px 6px 12px; /* t r b l */
4143 }
4144 table.liste td, table.noborder td, div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
4145  padding: 6px 10px 6px 12px; /* t r b l */
4146  /* line-height: 22px; This create trouble on cell login on list of last events of a contract*/
4147  height: 28px;
4148 }
4149 table.liste tr.trkanban td {
4150  padding: 10px 12px 10px 12px; /* t r b l */
4151 }
4152 div.liste_titre_bydiv .divsearchfield {
4153  padding: 2px 1px 2px 7px; /* t r b l */
4154 }
4155 
4156 tr.box_titre .nobordernopadding td {
4157  padding: 0 ! important;
4158 }
4159 table.nobordernopadding {
4160  border-collapse: collapse !important;
4161  border: 0;
4162 }
4163 table.nobordernopadding tr {
4164  border: 0 !important;
4165  padding: 0 0 !important;
4166 }
4167 table.nobordernopadding tr td {
4168  border: 0 !important;
4169  padding: 0 3px 0 0;
4170 }
4171 table.border tr td table.nobordernopadding tr td {
4172  padding-top: 0;
4173  padding-bottom: 0;
4174 }
4175 td.borderright {
4176  border: none; /* to erase value for table.nobordernopadding td */
4177  border-right-width: 1px !important;
4178  border-right-color: #BBB !important;
4179  border-right-style: solid !important;
4180 }
4181 td.borderleft {
4182  border: none; /* to erase value for table.nobordernopadding td */
4183  border-left-width: 1px !important;
4184  border-left-color: #BBB !important;
4185  border-left-style: solid !important;
4186 }
4187 
4188 
4189 /* For table with no filter before */
4190 table.listwithfilterbefore {
4191  border-top: none !important;
4192 }
4193 
4194 
4195 .tagtable, .table-border { display: table; }
4196 .tagtr, .table-border-row { display: table-row; }
4197 .tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
4198 .confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
4199 .confirmquestions { margin-top: 5px; }
4200 
4201 /* Pagination */
4202 div.refidpadding {
4203  /* padding-top: 3px; */
4204 }
4205 div.refid {
4206  font-weight: bold;
4207  color: var(--colortexttitlenotab);
4208  font-size: 1.2em;
4209  word-break: break-word;
4210 }
4211 a.refid {
4212  color: var(--colortexttitlenotab) !important;
4213 }
4214 div.refidno {
4215  padding-top: 3px;
4216  font-weight: normal;
4217  color: var(--refidnocolor);
4218  font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?>;
4219  line-height: 1.4em;
4220 }
4221 div.refaddress div.address {
4222  line-height: 1.2em;
4223  font-size: 0.95em;
4224 }
4225 div.refidno form {
4226  display: inline-block;
4227 }
4228 
4229 div.pagination {
4230  float: <?php echo $right; ?>;
4231 }
4232 div.pagination a {
4233  font-weight: normal;
4234 }
4235 div.pagination ul
4236 {
4237  list-style: none;
4238  display: inline-block;
4239  padding-left: 0px;
4240  padding-right: 0px;
4241  margin: 0;
4242 }
4243 div.pagination li {
4244  display: inline-block;
4245  padding-left: 0px;
4246  padding-right: 0px;
4247  /* padding-top: 10px; */
4248  /* padding-bottom: 5px; */
4249  font-size: 1.1em;
4250 }
4251 .pagination {
4252  display: inline-block;
4253  padding-left: 0;
4254  border-radius: 4px;
4255 }
4256 div.pagination li.pagination a,
4257 div.pagination li.pagination span {
4258  padding: 6px 12px;
4259  line-height: 1.42857143;
4260  text-decoration: none;
4261  background-repeat: repeat-x;
4262  color: var(--color-black);
4263 }
4264 div.pagination li.pagination span.inactive {
4265  cursor: default;
4266  color: #ccc;
4267 }
4268 li.noborder.litext, li.noborder.litext a,
4269 div.pagination li a.inactive:hover,
4270 div.pagination li span.inactive:hover {
4271  -webkit-box-shadow: none !important;
4272  box-shadow: none !important;
4273 }
4274 /*div.pagination li.litext {
4275  padding-top: 8px;
4276 }*/
4277 div.pagination li.litext a {
4278  border: none;
4279  padding-right: 10px;
4280  padding-left: 4px;
4281  font-weight: bold;
4282 }
4283 div.pagination li.litext a:hover {
4284  background-color: transparent;
4285  background-image: none;
4286 }
4287 div.pagination li.noborder a:hover {
4288  border: none;
4289  background-color: transparent;
4290 }
4291 div.pagination li a,
4292 div.pagination li span {
4293  /* background-color: #fff; */
4294  /* border: 1px solid #ddd; */
4295 }
4296 div.pagination li:first-child a,
4297 div.pagination li:first-child span {
4298  margin-left: 0;
4299  /*border-top-left-radius: 4px;
4300  border-bottom-left-radius: 4px;*/
4301 }
4302 
4303 /*div.pagination li a:hover,
4304 div.pagination li:not(.paginationbeforearrows,.paginationafterarrows,.title-button) span:hover,
4305 div.pagination li a:focus,
4306 div.pagination li:not(.paginationbeforearrows,.paginationafterarrows,.title-button) span:focus {
4307  -webkit-box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
4308  box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
4309 }*/
4310 div.pagination li .active a,
4311 div.pagination li .active span,
4312 div.pagination li .active a:hover,
4313 div.pagination li .active span:hover,
4314 div.pagination li .active a:focus,
4315 div.pagination li .active span:focus {
4316  z-index: 2;
4317  color: #fff;
4318  cursor: default;
4319  background-color: var(--colorbackhmenu1);
4320  border-color: #337ab7;
4321 }
4322 div.pagination .disabled span,
4323 div.pagination .disabled span:hover,
4324 div.pagination .disabled span:focus,
4325 div.pagination .disabled a,
4326 div.pagination .disabled a:hover,
4327 div.pagination .disabled a:focus {
4328  color: #777;
4329  cursor: not-allowed;
4330  background-color: #fff;
4331  border-color: #ddd;
4332 }
4333 div.pagination li.pagination .active {
4334  text-decoration: underline;
4335  box-shadow: none;
4336 }
4337 .paginationafterarrows .nohover {
4338  box-shadow: none !important;
4339 }
4340 
4341 div.pagination li.paginationafterarrows {
4342  margin-left: 10px;
4343  padding-top: 0;
4344  /*padding-bottom: 10px;*/
4345 }
4346 .paginationatbottom {
4347  margin-top: 9px;
4348 }
4349 table.hidepaginationprevious .paginationprevious {
4350  display: none;
4351 }
4352 table.hidepaginationnext .paginationnext {
4353  display: none;
4354 }
4355 .tabBar .arearef .pagination.paginationref {
4356  max-width: calc(30%);
4357 }
4358 .paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
4359  border: 1px solid var(--btncolorborder);
4360 }
4361 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
4362  /* text-shadow: 0px 0px 5px #ccc; */
4363  /* filter: invert(0.3); */
4364  font-size: 1.07em;
4365 }
4366 
4367 
4368 
4369 /* Set the color for hover lines */
4370 .oddeven:hover, .evenodd:hover, .oddevenimport:hover, .evenoddimport:hover, .impair:hover, .pair:hover
4371 {
4372  background: var(--colorbacklinepairhover) !important; /* Must be background to be stronger than background of odd or even */
4373 }
4374 .tredited, .tredited td {
4375  background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
4376  border-bottom: 0 !important;
4377 }
4378 .treditedlinefordate {
4379  background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
4380  border-bottom: 0px;
4381 }
4382 <?php if ($colorbacklinepairchecked) { ?>
4383 .highlight {
4384  background: var(--colorbacklinepairchecked) !important; /* Must be background to be stronger than background of odd or even */
4385 }
4386 <?php } ?>
4387 
4388 .nohoverborder:hover {
4389  border: unset;
4390  box-shadow: unset;
4391  -webkit-box-shadow: unset;
4392 }
4393 .oddeven, .evenodd, .impair, .pair, .nohover .impair:hover, tr.impair td.nohover, tr.pair td.nohover, .tagtr.oddeven
4394 {
4395  font-family: <?php print $fontlist ?>;
4396  margin-bottom: 1px;
4397  color: var(--oddevencolor);
4398 }
4399 .impair, .nohover .impair:hover, tr.impair td.nohover {
4400  background-color: var(--colorbacklineimpair2);
4401 }
4402 .pair, .nohover .pair:hover, tr.pair td.nohover {
4403  background-color: var(--colorbacklinepair2);
4404 }
4405 tr.oddeven.oddevendouble {
4406  height: 60px !important;
4407 }
4408 
4409 #GanttChartDIV {
4410  background-color: var(--colorbacklineimpair2);
4411 }
4412 table.dataTable tr.oddeven {
4413  background-color: var(--colorbacklinepair2) !important;
4414 }
4415 
4416 /* For no hover style */
4417 td.oddeven, table.nohover tr.impair, table.nohover tr.pair, table.nohover tr.impair td, table.nohover tr.pair td, tr.nohover td, form.nohover, form.nohover:hover {
4418  background-color: var(--colorbacklineimpair2) !important;
4419  background: var(--colorbacklineimpair2) !important;
4420 }
4421 td.evenodd, tr.nohoverpair td, #trlinefordates td {
4422  background-color: var(--colorbacklinepair2) !important;
4423  background: var(--colorbacklinepair2) !important;
4424 }
4425 .trforbreak td {
4426  font-weight: 500;
4427  border-bottom: 1pt solid black !important;
4428  background-color: var(--colorbacklinebreak) !important;
4429 }
4430 .trforbreak.nobold td a, .trforbreak.nobold span.secondary {
4431  font-weight: normal !important;
4432 }
4433 
4434 table.dataTable td {
4435  padding: 5px 8px 5px 8px !important;
4436 }
4437 tr.pair td, tr.impair td, form.impair div.tagtd, form.pair div.tagtd, div.impair div.tagtd, div.pair div.tagtd, div.liste_titre div.tagtd {
4438  padding: 7px 8px 7px 8px;
4439  border-bottom: 1px solid #ddd;
4440 }
4441 form.pair, form.impair {
4442  font-weight: normal;
4443 }
4444 form.tagtr:last-of-type div.tagtd, tr.pair:last-of-type td, tr.impair:last-of-type td {
4445  border-bottom: 0px !important;
4446 }
4447 tr.nobottom td {
4448  border-bottom: 0px !important;
4449 }
4450 div.tableforcontact form.tagtr:last-of-type div.tagtd {
4451  border-bottom: 1px solid #ddd !important;
4452 }
4453 tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
4454  border-bottom: 0px !important;
4455 }
4456 table.nobottomiftotal tr.liste_total td {
4457  background-color: var(--inputbackgroundcolor);
4458  <?php if (!$userborderontable) { ?>
4459  border-bottom: 0px !important;
4460  <?php } ?>
4461 }
4462 table.nobottom, td.nobottom {
4463  border-bottom: 0px !important;
4464 }
4465 div.liste_titre .tagtd {
4466  vertical-align: middle;
4467 }
4468 div.liste_titre {
4469  min-height: 26px !important; /* We can't use height because it's a div and it should be higher if content is more. but min-height does not work either for div */
4470 
4471  padding-top: 2px;
4472  padding-bottom: 2px;
4473 }
4474 div.liste_titre_bydiv {
4475  border-top-width: <?php echo $borderwidth ?>px;
4476  border-top-color: var(--colortopbordertitle1);
4477  border-top-style: solid;
4478  <?php if ($userborderontable) { ?>
4479  border-left: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
4480  border-right: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
4481  <?php } ?>
4482 
4483  border-collapse: collapse;
4484  padding: 2px 0px 2px 0;
4485  box-shadow: none;
4486  /*width: calc(100% - 1px); 1px less because display is table and with 100%, it generated a right border 1px left compared to the div-table-responsive under */
4487  width: unset;
4488 }
4489 div.liste_titre_bydiv_inlineblock {
4490  display: inline-block;
4491  width: 100%;
4492 }
4493 
4494 tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
4495 {
4496  height: 26px !important;
4497 }
4498 div.colorback /* for the form "assign user" on time spent view */
4499 {
4500  background: #f8f8f8;
4501  padding: 10px;
4502  margin-top: 5px;
4503  border: 1px solid #ddd;
4504 }
4505 div.liste_titre_bydiv, .liste_titre div.tagtr, tr.liste_titre, tr.liste_titre_sel, .tagtr.liste_titre, .tagtr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable thead tr
4506 {
4507  background: var(--colorbacktitle1);
4508  font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4509 
4510  color: var(--colortexttitle);
4511  font-family: <?php print $fontlist ?>;
4512  text-align: <?php echo $left; ?>;
4513 }
4514 tr.liste_titre th, tr.liste_titre td, th.liste_titre
4515 {
4516  border-bottom: 1px solid var(--colortopbordertitle1);
4517 }
4518 tr.liste_titre:first-child th, tr:first-child th.liste_titre {
4519 /* border-bottom: 1px solid #ddd ! important; */
4520  border-bottom: unset;
4521 }
4522 tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div
4523 {
4524  font-family: <?php print $fontlist ?>;
4525  font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4526  vertical-align: middle;
4527  height: 28px;
4528 }
4529 tr.liste_titre th a, th.liste_titre a, tr.liste_titre td a, td.liste_titre a, form.liste_titre div a, div.liste_titre a {
4530  text-shadow: none !important;
4531  color: var(--colortexttitlelink);
4532 }
4533 tr.liste_titre_topborder td {
4534  border-top-width: <?php echo $borderwidth; ?>px;
4535  border-top-color: var(--colortopbordertitle1);
4536  border-top-style: solid;
4537 }
4538 .liste_titre td a {
4539  text-shadow: none !important;
4540  color: var(--colortexttitle);
4541 }
4542 .liste_titre td a.notasortlink {
4543  color: var(--colortextlink);
4544 }
4545 .liste_titre td a.notasortlink:hover {
4546  background: transparent;
4547 }
4548 tr.liste_titre:last-child th.liste_titre, tr.liste_titre:last-child th.liste_titre_sel, tr.liste_titre td.liste_titre, tr.liste_titre td.liste_titre_sel, form.liste_titre div.tagtd { /* For last line of table headers only */
4549  /* border-bottom: 1px solid #ddd; */
4550  border-bottom: unset;
4551 }
4552 
4553 div.liste_titre {
4554  padding-left: 3px;
4555 }
4556 tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
4557 {
4558  font-family: <?php print $fontlist ?>;
4559  font-weight: normal;
4560  border-bottom: 1px solid #FDFFFF;
4561  /* text-decoration: underline; */
4562 }
4563 input.liste_titre {
4564  background: transparent;
4565  border: 0px;
4566 }
4567 .listactionlargetitle .liste_titre {
4568  line-height: 24px;
4569 }
4570 .noborder tr.liste_total td, tr.liste_total td, form.liste_total div, .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
4571  color: var(--listetotal);
4572  font-weight: normal;
4573 }
4574 .noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
4575  white-space: nowrap;
4576 }
4577 .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
4578  white-space: normal;
4579 }
4580 form.liste_total div {
4581  border-top: 1px solid #DDDDDD;
4582 }
4583 tr.liste_sub_total, tr.liste_sub_total td {
4584  border-bottom: 1px solid #aaa;
4585 }
4586 /* to avoid too much border on contract card */
4587 .tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
4588  background: #FFF;
4589 }
4590 .tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
4591  border-bottom: none;
4592 }
4593 table.tableforservicepart1:first-of-type tr:first-of-type td {
4594  border-top: 1px solid #888;
4595 }
4596 table.tableforservicepart1 tr td {
4597  border-top: 0px;
4598 }
4599 
4600 .paymenttable, .margintable {
4601  border-top: none !important;
4602  margin: 0px 0px 0px 0px !important;
4603 }
4604 table.noborder.paymenttable {
4605  border-bottom: none !important;
4606 }
4607 .paymenttable tr td:first-child, .margintable tr td:first-child
4608 {
4609  /*padding-left: 2px;*/
4610 }
4611 .paymenttable, .margintable tr td {
4612  height: 22px;
4613 }
4614 
4615 /* Disable-Enable shadows */
4616 .noshadow {
4617  -webkit-box-shadow: 0px 0px 0px #DDD !important;
4618  box-shadow: 0px 0px 0px #DDD !important;
4619 }
4620 .shadow {
4621  -webkit-box-shadow: 1px 1px 7px #CCC !important;
4622  box-shadow: 1px 1px 7px #CCC !important;
4623 }
4624 
4625 .boxshadow {
4626  -webkit-box-shadow: 0px 0px 5px #888;
4627  box-shadow: 0px 0px 5px #888;
4628 }
4629 
4630 div.tabBar .noborder {
4631  -webkit-box-shadow: 0px 0px 0px #DDD !important;
4632  box-shadow: 0px 0px 0px #DDD !important;
4633 }
4634 
4635 #tablelines tr.liste_titre td, #tablelinesservice tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
4636  border-bottom: 1px solid var(--colortopbordertitle1) !important;
4637 }
4638 #tablelines tr td, #tablelinesservice tr td {
4639  height: unset;
4640 }
4641 
4642 /* Prepare to remove class pair - impair */
4643 
4644 .noborder:not(.editmode) > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven), .liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
4645 div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven), .liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
4646 div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven)
4647 {
4648  background: linear-gradient(bottom, var(----colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4649  background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4650  background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4651  background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4652 }
4653 .noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre), .liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
4654 .noborder .oddeven.tagtr:nth-child(even):not(:last-of-type) .tagtd:not(.liste_titre)
4655 {
4656  border-bottom: 1px solid #f0f0f0;
4657 }
4658 
4659 .noborder:not(.editmode) > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven), .liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
4660 div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
4661 div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven)
4662 {
4663  background: linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
4664  background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
4665  background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
4666  background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 0%, var(--colorbacklinepair2) 100%);
4667 }
4668 .noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
4669 .noborder .oddeven.tagtr:nth-child(odd):not(:last-child) .tagtd:not(.liste_titre)
4670 {
4671  border-bottom: 1px solid #f0f0f0;
4672 }
4673 
4674 ul.noborder li:nth-child(even):not(.liste_titre) {
4675  background-color: var(--colorbacklinepair2) !important;
4676 }
4677 
4678 
4679 /*
4680  * Boxes
4681  */
4682 
4683 .box {
4684  overflow-x: auto;
4685  min-height: 40px;
4686  padding-right: 0px;
4687  padding-left: 0px;
4688  padding-bottom: 10px;
4689 }
4690 .boxstatsborder {
4691  /* border: 1px solid #CCC !important; */
4692 }
4693 .boxstats, .boxstats130 {
4694  display: inline-block;
4695  margin-left: 8px;
4696  margin-right: 8px;
4697  margin-top: 5px;
4698  margin-bottom: 5px;
4699  text-align: center;
4700 
4701  background: var(--colorbackbody);
4702  border: 1px solid var(--colorboxstatsborder);
4703  border-left: 6px solid var(--colorboxstatsborder);
4704  /* box-shadow: 1px 1px 8px var(--colorboxstatsborder); */
4705  border-radius: 4px;
4706 }
4707 .boxstats, .boxstats130, .boxstatscontent {
4708  white-space: nowrap;
4709  overflow: hidden;
4710  text-overflow: ellipsis;
4711 }
4712 .boxstats130 {
4713  width: 100%;
4714  height: 59px;
4715  /* padding: 3px; */
4716 }
4717 .boxstats {
4718  padding-left: 6px;
4719  padding-right: 6px;
4720  padding-top: 2px;
4721  padding-bottom: 2px;
4722  width: 118px;
4723 }
4724 
4725 .boxtable:not(.widgetstats) td.tdboxstats .boxstats {
4726  box-shadow: 1px 1px 8px var(--colorboxstatsborder);
4727 }
4728 
4729 .tabBar .fichehalfright .boxstats {
4730  padding-top: 8px;
4731  padding-bottom: 4px;
4732 }
4733 .boxstatscontent {
4734  padding: 3px;
4735 }
4736 .boxstatsempty {
4737  width: 121px;
4738  padding-left: 3px;
4739  padding-right: 3px;
4740  margin-left: 8px;
4741  margin-right: 8px;
4742 }
4743 .boxstats150empty {
4744  width: 158px;
4745  padding-left: 3px;
4746  padding-right: 3px;
4747  margin-left: 8px;
4748  margin-right: 8px;
4749 }
4750 
4751 
4752 @media only screen and (max-width: 768px)
4753 {
4754  .tabBar .arearef .pagination.paginationref {
4755  max-width: calc(50%);
4756  }
4757 
4758  .clearbothonsmartphone {
4759  clear: both;
4760  display: block !important;
4761  }
4762 
4763  div.tabs {
4764  padding-left: 0 !important;
4765  padding-right: 0!important;
4766  margin-left: 0 !important;
4767  margin-right: 0 !important;
4768  }
4769 
4770  a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
4771  padding: 12px 12px 13px;
4772  }
4773  a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
4774  padding: 0px 0px 0px 0px;
4775  }
4776  a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
4777  padding: 0px 0px 0px 0px;
4778  }
4779 
4780  td.tdwidgetstate {
4781  text-align: center;
4782  }
4783 
4784  .boxstats, .boxstats130 {
4785  margin: 3px;
4786  }
4787  .boxstats130 {
4788  text-align: <?php echo $left; ?>
4789  }
4790  .thumbstat {
4791  flex: 1 1 110px;
4792  margin-bottom: 8px;
4793  min-width: <?php echo isset($_SESSION['dol_screenwidth']) ? min(160, round((int) $_SESSION['dol_screenwidth'] / 2 - 20)) : 150; ?>px; /* on screen < 320, we guaranty to have 2 columns */
4794  }
4795  .thumbstat150 {
4796  flex: 1 1 110px;
4797  margin-bottom: 8px;
4798  min-width: <?php echo isset($_SESSION['dol_screenwidth']) ? min(160, round((int) $_SESSION['dol_screenwidth'] / 2 - 20)) : 160; ?>px; /* on screen < 320, we guaranty to have 2 columns */
4799  max-width: <?php echo isset($_SESSION['dol_screenwidth']) ? min(161, round((int) $_SESSION['dol_screenwidth'] / 2 - 20)) : 161; ?>px; /* on screen < 320, we guaranty to have 2 columns */
4800  /* width: ...px; If I use with, there is trouble on size of flex boxes solved with min + (max that is a little bit higher than min) */
4801  }
4802  .dashboardlineindicator {
4803  float: left;
4804  padding-left: 5px;
4805  }
4806  .boxstats {
4807  width: 111px;
4808  }
4809  .boxstatsempty {
4810  width: 111px;
4811  }
4812 
4813 }
4814 
4815 .boxstats:hover {
4816  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
4817 }
4818 span.boxstatstext span:not(.fas) {
4819  opacity: 0.5;
4820 }
4821 span.boxstatstext {
4822  line-height: 18px;
4823  color: var(--colortext);
4824 }
4825 span.boxstatstext img, a.dashboardlineindicatorlate img {
4826  border: 0;
4827 }
4828 a img {
4829  border: 0;
4830 }
4831 .boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
4832  display: inline-flex;
4833 }
4834 span.boxstatsindicator {
4835  font-size: 130%;
4836  font-weight: normal;
4837  line-height: 29px;
4838  flex-grow: 1;
4839 
4840 }
4841 span.dashboardlineindicator, span.dashboardlineindicatorlate {
4842  font-size: 130%;
4843  font-weight: normal;
4844 }
4845 a.dashboardlineindicatorlate:hover {
4846  text-decoration: none;
4847 }
4848 .dashboardlineindicatorlate img {
4849  width: 16px;
4850 }
4851 span.dashboardlineok {
4852  color: #008800;
4853 }
4854 span.dashboardlineko {
4855  color: #FFF;
4856  font-size: 80%;
4857 }
4858 .dashboardlinelatecoin {
4859  float: right;
4860  position: relative;
4861  text-align: right;
4862  top: -27px;
4863  right: 2px;
4864  padding: 0px 5px 0px 5px;
4865  border-radius: .25em;
4866 
4867  background-color: #9f4705;
4868 }
4869 .imglatecoin {
4870  padding: 1px 3px 1px 1px;
4871  margin-left: 4px;
4872  margin-right: 2px;
4873  background-color: #8c4446;
4874  color: #FFFFFF ! important;
4875  border-radius: .25em;
4876  display: inline-block;
4877  vertical-align: middle;
4878 }
4879 .divboxtable {
4880  margin-bottom: 25px !important;
4881 }
4882 .boxtable {
4883  border-bottom-width: 1px;
4884  background: var(--colorbackbody);
4885  border-top: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
4886  /* border-top: 2px solid var(--colorbackhmenu1) !important; */
4887 }
4888 
4889 table.noborder.boxtable tr td {
4890  height: unset;
4891 }
4892 .boxtablenotop {
4893  border-top-width: 0 !important;
4894 }
4895 .boxtablenobottom {
4896  border-bottom-width: 0 !important;
4897 }
4898 .boxtablenomarginbottom {
4899  margin-bottom: 0 !important;
4900 }
4901 .boxtable .fichehalfright, .boxtable .fichehalfleft {
4902  min-width: 275px; /* increasing this, make chart on box not side by side on laptops */
4903 }
4904 .tdboxstats {
4905  text-align: center;
4906 }
4907 .boxworkingboard .tdboxstats {
4908  padding-left: 0px !important;
4909  padding-right: 0px !important;
4910 }
4911 a.valignmiddle.dashboardlineindicator {
4912  line-height: 30px;
4913 }
4914 .height30 {
4915  height: 30px !important;
4916 }
4917 
4918 tr.box_titre {
4919  height: 26px;
4920 
4921  /* TO MATCH BOOTSTRAP */
4922  /*background: #ddd;
4923  color: #000 !important;*/
4924 
4925  /* TO MATCH ELDY */
4926  background: var(--colorbacktitle1);
4927  color: var(--colortexttitle);
4928  font-family: <?php print $fontlist ?>, sans-serif;
4929  font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4930  border-bottom: 1px solid #FDFFFF;
4931  white-space: nowrap;
4932 }
4933 
4934 tr.box_titre td.boxclose {
4935  width: 30px;
4936 }
4937 img.boxhandle, img.boxclose {
4938  padding-left: 5px;
4939 }
4940 
4941 .formboxfilter {
4942  vertical-align: middle;
4943  margin-bottom: 6px;
4944 }
4945 .formboxfilter input[type=image]
4946 {
4947  top: 5px;
4948  position: relative;
4949 }
4950 .boxfilter {
4951  margin-bottom: 2px;
4952  margin-right: 1px;
4953 }
4954 .prod_entry_mode_free, .prod_entry_mode_predef {
4955  height: 26px !important;
4956  vertical-align: middle;
4957 }
4958 
4959 .modulebuilderbox {
4960  border: 1px solid #888;
4961  padding: 16px;
4962 }
4963 
4964 
4965 /*
4966  * Ok, Warning, Error
4967  */
4968 
4969 .ok { color: #114466; }
4970 .warning { color: #887711 !important; }
4971 .error { color: #660000 !important; font-weight: bold; }
4972 .green { color: #118822 !important; }
4973 
4974 div.ok {
4975  color: #114466;
4976 }
4977 
4978 /* Info admin */
4979 div.info {
4980  border-<?php print $left; ?>: solid 5px #87cfd2;
4981  padding-top: 8px;
4982  padding-left: 10px;
4983  padding-right: 4px;
4984  padding-bottom: 8px;
4985  margin: 1em 0em 1em 0em;
4986  background: #eff8fc;
4987  color: #558;
4988 }
4989 
4990 /* Warning message */
4991 div.warning {
4992  border-<?php print $left; ?>: solid 5px #f2cf87;
4993  padding-top: 8px;
4994  padding-left: 10px;
4995  padding-right: 4px;
4996  padding-bottom: 8px;
4997  margin: 1em 0em 1em 0em;
4998  background: #fcf8e3;
4999 }
5000 div.warning a, div.info a, div.error a {
5001  color: var(--colortextlink);
5002 }
5003 
5004 /* Error message */
5005 div.error {
5006  border-<?php print $left; ?>: solid 5px #f28787;
5007  padding-top: 8px;
5008  padding-left: 10px;
5009  padding-right: 4px;
5010  padding-bottom: 8px;
5011  margin: 1em 0em 1em 0em;
5012  background: #EFCFCF;
5013 }
5014 
5015 
5016 /*
5017  * Liens Payes/Non payes
5018  */
5019 
5020 a.normal:link { font-weight: normal }
5021 a.normal:visited { font-weight: normal }
5022 a.normal:active { font-weight: normal }
5023 a.normal:hover { font-weight: normal }
5024 
5025 a.impayee:link { font-weight: bold; color: #550000; }
5026 a.impayee:visited { font-weight: bold; color: #550000; }
5027 a.impayee:active { font-weight: bold; color: #550000; }
5028 a.impayee:hover { font-weight: bold; color: #550000; }
5029 
5030 
5031 /*
5032  * External web site
5033  */
5034 
5035 .framecontent {
5036  width: 100%;
5037  height: 100%;
5038 }
5039 
5040 .framecontent iframe {
5041  width: 100%;
5042  height: 100%;
5043 }
5044 
5045 
5046 /*
5047  * Other
5048  */
5049 
5050 .opened-dash-board-wrap {
5051  margin-bottom: 25px;
5052 }
5053 
5054 div.boximport {
5055  min-height: unset;
5056 }
5057 
5058 .product_line_stock_ok { color: var(--productlinestockok); }
5059 .product_line_stock_too_low { color: var(--productlinestocktoolow); }
5060 
5061 .fieldrequired { font-weight: bold; color: var(--fieldrequiredcolor) !important; }
5062 
5063 td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 38px; text-align: <?php echo $left; ?>; }
5064 span.widthpictotitle { font-size: 1.7em; }
5065 table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
5066 
5067 .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
5068 .dolgraphtitlecssboxes { /* margin: 0px; */ }
5069 .dolgraphchart canvas {
5070  /* width: calc(100% - 20px) !important; */
5071 }
5072 .legendColorBox, .legendLabel { border: none !important; }
5073 div.dolgraph div.legend, div.dolgraph div.legend div { background-color: var(--dolgraphbg) !important; }
5074 div.dolgraph div.legend table tbody tr { height: auto; }
5075 td.legendColorBox { padding: 2px 2px 2px 0 !important; }
5076 td.legendLabel { padding: 2px 2px 2px 0 !important; }
5077 td.legendLabel {
5078  text-align: <?php echo $left; ?>;
5079 }
5080 
5081 label.radioprivate {
5082  white-space: nowrap;
5083 }
5084 
5085 .photo {
5086  border: 0px;
5087 }
5088 .photowithmargin {
5089 /* margin-bottom: 2px;
5090  margin-top: 2px; */
5091 }
5092 div.divphotoref > div > .photowithmargin, div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
5093  margin-right: 15px;
5094 }
5095 
5096 .photowithborder {
5097  border: 1px solid #f0f0f0;
5098 }
5099 .photointooltip {
5100  margin-top: 6px;
5101  margin-bottom: 6px;
5102  text-align: center;
5103 }
5104 .photodelete {
5105  margin-top: 6px !important;
5106 }
5107 
5108 .logo_setup
5109 {
5110  content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
5111  display: inline-block;
5112  opacity: 0.2;
5113 }
5114 .nographyet
5115 {
5116  content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
5117  display: inline-block;
5118  opacity: 0.1;
5119  background-repeat: no-repeat;
5120 }
5121 .nographyettext
5122 {
5123  opacity: 0.5;
5124 }
5125 
5126 div.titre {
5127  font-size: 1.1em;
5128  text-decoration: none;
5129  padding-top: 5px;
5130  padding-bottom: 5px;
5131  font-weight: 400;
5132 }
5133 div.titre.small {
5134  font-size: 1em;
5135 }
5136 div.fiche > table.table-fiche-title:first-of-type div {
5137  color: var(--colortexttitlenotab);
5138  font-size: 1.1em;
5139  /* text-transform: uppercase; */
5140  /* font-weight: 600; */
5141 }
5142 
5143 div.titre {
5144  color: var(--colortexttitlenotab);
5145 }
5146 .secondary {
5147  color: var(--colortexttitlenotab);
5148 }
5149 .tertiary {
5150  color: var(--colortexttitlenotab2);
5151 }
5152 
5153 table.table-fiche-title .col-title div.titre, .col-right .btnTitle-icon {
5154  line-height: 40px;
5155 }
5156 table.table-fiche-title {
5157  margin-bottom: 12px;
5158 }
5159 
5160 
5161 div.backgreypublicpayment {
5162  background-color: var(--colorbackgrey);
5163  padding: 20px;
5164  border-bottom: 1px solid #ddd;
5165  text-align: center;
5166  position: sticky;
5167  top: 0;
5168  z-index: 1005;
5169 }
5170 .backgreypublicpayment a {
5171  color: var(--colorblack) !important;
5172  opacity: 0.9;
5173 }
5174 .poweredbypublicpayment {
5175  float: right;
5176  top: 8px;
5177  right: 8px;
5178  position: absolute;
5179  font-size: 0.8em;
5180  color: #222;
5181  opacity: 0.3;
5182 }
5183 
5184 #dolpublictable {
5185  min-width: 300px; font-size: 16px;
5186  padding: 6px;
5187 }
5188 #dolpaymenttable {
5189  min-width: 320px; font-size: 16px;
5190  max-width: 600px;
5191 } /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
5192 
5193 #tablepublicpayment {
5194  border: 1px solid #CCCCCC !important;
5195  width: 100%;
5196  padding: 20px;
5197  margin-bottom: 25px;
5198 }
5199 #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
5200 #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
5201 #tablepublicpayment tr.liste_total td { border-top: none; }
5202 input#cardholder-name {
5203  font-size: 1em;
5204 }
5205 
5206 .divmainbodylarge { margin-left: 40px; margin-right: 40px; }
5207 .publicnewmemberform div.titre { font-size: 2em; }
5208 #divsubscribe { max-width: 900px; }
5209 #divsubscribe .eventlabel { font-size: 1.5em; }
5210 #tablesubscribe { width: 100%; }
5211 #tablesubscribe tr td { font-size: 1.15em; }
5212 #tablesubscribe .price-registration { font-size: 1.5em; }
5213 
5214 
5215 div#card-element {
5216  border: 1px solid #ccc;
5217 }
5218 div#card-errors {
5219  color: #fa755a;
5220  text-align: center;
5221  padding-top: 3px;
5222  /* max-width: 320px; */
5223 }
5224 
5225 
5226 /*
5227  * Effect Postit
5228  */
5229 .effectpostit
5230 {
5231  position: relative;
5232 }
5233 .effectpostit:before, .effectpostit:after
5234 {
5235  z-index: -1;
5236  position: absolute;
5237  content: "";
5238  bottom: 15px;
5239  left: 10px;
5240  width: 50%;
5241  top: 80%;
5242  max-width:300px;
5243  background: #777;
5244  -webkit-box-shadow: 0 15px 10px #777;
5245  box-shadow: 0 15px 10px #777;
5246  -webkit-transform: rotate(-3deg);
5247  -moz-transform: rotate(-3deg);
5248  -o-transform: rotate(-3deg);
5249  -ms-transform: rotate(-3deg);
5250  transform: rotate(-3deg);
5251 }
5252 .effectpostit:after
5253 {
5254  -webkit-transform: rotate(3deg);
5255  -moz-transform: rotate(3deg);
5256  -o-transform: rotate(3deg);
5257  -ms-transform: rotate(3deg);
5258  transform: rotate(3deg);
5259  right: 10px;
5260  left: auto;
5261 }
5262 
5263 
5264 
5265 /* ============================================================================== */
5266 /* Form confirmation (When Ajax JQuery is used) and Dialog popups */
5267 /* ============================================================================== */
5268 
5269 .ui-dialog-titlebar {
5270 }
5271 .ui-dialog-content {
5272 }
5273 .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
5274  z-index: 1005 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
5275 }
5276 .ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
5277  z-index:1006 !important; /* To always be over the dialog box */
5278 }
5279 .ui-dialog.ui-widget.ui-widget-content {
5280  border: 1px solid #e0e0e0;
5281  border-radius: 6px;
5282 }
5283 
5284 
5285 /* ============================================================================== */
5286 /* For content of image preview */
5287 /* ============================================================================== */
5288 
5289 /*
5290 .ui-dialog-content.ui-widget-content > object {
5291  max-height: none;
5292  width: auto; margin-left: auto; margin-right: auto; display: block;
5293 }
5294 */
5295 
5296 
5297 /* ============================================================================== */
5298 /* Formulaire confirmation (When HTML is used) */
5299 /* ============================================================================== */
5300 
5301 table.valid {
5302  /* border-top: solid 1px #E6E6E6; */
5303  border-<?php print $left; ?>: solid 5px #f2cf87;
5304  /* border-<?php print $right; ?>: solid 1px #444444;
5305  border-bottom: solid 1px #555555; */
5306  padding-top: 8px;
5307  padding-left: 10px;
5308  padding-right: 4px;
5309  padding-bottom: 4px;
5310  margin: 0px 0px;
5311  background: var(--tablevalidbgcolor);
5312 }
5313 
5314 .validtitre {
5315  font-weight: bold;
5316 }
5317 
5318 
5319 /* ============================================================================== */
5320 /* Tooltips */
5321 /* ============================================================================== */
5322 
5323 /* For tooltip using dialog */
5324 .ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
5325  z-index: 3000;
5326 }
5327 
5328 div.ui-tooltip {
5329  max-width: <?php print dol_size(700, 'width'); ?>px !important;
5330 }
5331 div.ui-tooltip.mytooltip {
5332  border: none !important;
5333  padding: 10px 15px;
5334  border-radius: 4px;
5335  margin: 2px;
5336  font-stretch: condensed;
5337  -moz-box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5338  -webkit-box-shadow:0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5339  -o-box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5340  box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5341  filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5);
5342  background: var(--tooltipbgcolor) !important;
5343  color: var(--tooltipfontcolor);
5344  line-height: 1.6em;
5345  min-width: 550px;
5346  pointer-events: none;
5347 }
5348 
5349 <?php
5350 if (getDolGlobalString('THEME_DARKMODEENABLED')) {
5351  print "/* For dark mode */\n";
5352  if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
5353  print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
5354  } else {
5355  print "@media not print {";
5356  } ?>
5357  div.ui-tooltip.mytooltip {
5358  border: 1px solid #bbb !important;
5359  }
5360  <?php
5361  print '}';
5362 }
5363 ?>
5364 
5365 @media only screen and (max-width: 768px)
5366 {
5367  div.ui-tooltip.mytooltip {
5368  max-width: 400px;
5369  }
5370 }
5371 @media only screen and (max-width: 480px)
5372 {
5373  div.ui-tooltip.mytooltip {
5374  max-width: 300px;
5375  }
5376 }
5377 @media only screen and (max-width: 320px)
5378 {
5379  div.ui-tooltip.mytooltip {
5380  max-width: 230px;
5381  }
5382 }
5383 
5384 
5385 
5386 
5387 
5388 
5389 /* ============================================================================== */
5390 /* Calendar */
5391 /* ============================================================================== */
5392 
5393 .ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
5394 .ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
5395 html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
5396 {
5397  border: unset;
5398 }
5399 
5400 img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
5401 
5402 .ui-datepicker-trigger {
5403  vertical-align: middle;
5404  cursor: pointer;
5405  padding-left: 2px;
5406  padding-right: 2px;
5407 }
5408 
5409 .bodyline {
5410  -webkit-border-radius: 8px;
5411  border-radius: 8px;
5412  border: 1px #E4ECEC outset;
5413  padding: 0px;
5414  margin-bottom: 5px;
5415 }
5416 table.dp {
5417  width: 180px;
5418  background-color: var(--inputbackgroundcolor);
5419  border-top: solid 2px #DDDDDD;
5420  border-<?php print $left; ?>: solid 2px #DDDDDD;
5421  border-<?php print $right; ?>: solid 1px #222222;
5422  border-bottom: solid 1px #222222;
5423  padding: 0px;
5424  border-spacing: 0px;
5425  border-collapse: collapse;
5426 }
5427 .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
5428 /* Barre titre */
5429 .dpHead,.tpHead,.tpHour td:Hover .tpHead{
5430  font-weight:bold;
5431  background-color:#b3c5cc;
5432  color:white;
5433  font-size:11px;
5434  cursor:auto;
5435 }
5436 /* Barre navigation */
5437 .dpButtons,.tpButtons {
5438  text-align:center;
5439  background-color:#617389;
5440  color:#FFFFFF;
5441  font-weight:bold;
5442  cursor:pointer;
5443 }
5444 .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
5445 .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
5446 .dpExplanation{ font-weight:normal; font-size:11px;}
5447 .dpWeek td{text-align:center}
5448 
5449 .dpToday,.dpReg,.dpSelected{
5450  cursor:pointer;
5451 }
5452 .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
5453 .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
5454 
5455 /* Jour courant */
5456 .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
5457 
5458 .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
5459 .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
5460 .tpHour td:Hover {background-color:black;color:white;}
5461 
5462 .tpMinute {margin-top:5px;}
5463 .tpMinute td:Hover {background-color:black; color:white; }
5464 .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
5465 
5466 /* Bouton X fermer */
5467 .dpInvisibleButtons
5468 {
5469  border-style:none;
5470  background-color:transparent;
5471  padding:0px;
5472  font-size: 0.85em;
5473  border-width:0px;
5474  color:#0B63A2;
5475  vertical-align:middle;
5476  cursor: pointer;
5477 }
5478 .datenowlink {
5479  color: var(--colortextlink);
5480  font-size: 0.8em;
5481  opacity: 0.7;
5482 }
5483 
5484 
5485 /* ============================================================================== */
5486 /* Show/Hide */
5487 /* ============================================================================== */
5488 
5489 div.visible {
5490  display: block;
5491 }
5492 
5493 div.hidden, div.hiddenforpopup, header.hidden, tr.hidden, td.hidden,
5494 img.hidden, span.hidden, br.hidden, div.showifmore {
5495  display: none;
5496 }
5497 .unvisible {
5498  visibility: hidden;
5499 }
5500 tr.visible {
5501  display: block;
5502 }
5503 
5504 
5505 /* ============================================================================== */
5506 /* Module website */
5507 /* ============================================================================== */
5508 
5509 .previewnotyetavailable {
5510  opacity: 0.5;
5511 }
5512 
5513 .websiteformtoolbar {
5514  position: sticky;
5515  top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '32px' : '52px') : '0'; ?>;
5516  z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
5517 }
5518 
5519 .exampleapachesetup {
5520  overflow-y: auto;
5521  height: 100px;
5522  font-size: 0.8em;
5523  border: 1px solid #aaa;
5524 }
5525 
5526 span[phptag] {
5527  background: #ddd; border: 1px solid #ccc; border-radius: 4px;
5528 }
5529 
5530 .nobordertransp {
5531  border: 0px;
5532  background-color: transparent;
5533  background-image: none;
5534 }
5535 .bordertransp {
5536  background-color: transparent;
5537  background-image: none;
5538  border: none;
5539  font-weight: normal;
5540 }
5541 .websitebar .button.bordertransp {
5542  color: unset;
5543  text-decoration: unset !important;
5544  margin: 0px 4px 0px 4px !important
5545 }
5546 
5547 .websitebar {
5548  border-bottom: 1px solid #ccc;
5549  background: #e6e6e6;
5550  display: inline-block;
5551  z-index: 1000;
5552 }
5553 .centpercent.websitebar {
5554  width: calc(100% - 10px);
5555  padding: 5px 5px 5px 5px;
5556  font-size: 0.94em;
5557 }
5558 .websitebar .buttonDelete, .websitebar .button {
5559  text-shadow: none;
5560 }
5561 .websitebar .button, .websitebar .buttonDelete
5562 {
5563  padding: 4px 5px 4px 5px !important;
5564  margin: 2px 4px 2px 4px !important;
5565 /* line-height: normal; */
5566  background: #f5f5f5 !important;
5567  border: 1px solid #ccc !important;
5568 }
5569 .websiteselection {
5570  /* display: inline-block; */
5571  padding-<?php echo $right; ?>: 10px;
5572  vertical-align: middle;
5573  line-height: 28px;
5574 }
5575 .websiteselectionsection {
5576  font-size: 0.85em;
5577 }
5578 .websiteselection span {
5579  vertical-align: middle;
5580 }
5581 .websitetools {
5582  float: right;
5583 }
5584 .websiteselection, .websitetools {
5585  /* margin-top: 3px;
5586  padding-top: 3px;
5587  padding-bottom: 3px; */
5588 }
5589 .websiteinputurl {
5590  display: inline-block;
5591  vertical-align: middle;
5592  line-height: 26px;
5593 }
5594 .websiteiframenoborder {
5595  border: 0px;
5596 }
5597 span.websiteselection span.select2.select2-container.select2-container--default {
5598  margin: 0 0 0 4px;
5599 }
5600 span.websitebuttonsitepreview, a.websitebuttonsitepreview {
5601  vertical-align: middle;
5602 }
5603 span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
5604  width: 26px;
5605  display: inline-block;
5606 }
5607 span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
5608  opacity: 0.2;
5609 }
5610 .websitehelp {
5611  vertical-align: middle;
5612  float: right;
5613  padding-top: 8px;
5614 }
5615 .websiteselectionsection {
5616  border-left: 1px solid #bbb;
5617  border-right: 1px solid #bbb;
5618  margin-left: 0px;
5619  padding-left: 8px;
5620  margin-right: 5px;
5621 }
5622 .websitebar input#previewpageurl {
5623  line-height: 1em;
5624 }
5625 
5626 .websitebar input.bordertransp {
5627  line-height: normal !important;
5628 }
5629 
5630 #divbodywebsite section p {
5631  margin: unset;
5632 }
5633 
5634 
5635 /* ============================================================================== */
5636 /* Module agenda */
5637 /* ============================================================================== */
5638 
5639 .dayevent .tagtr:first-of-type {
5640  height: 24px;
5641 }
5642 
5643 .agendacell { height: 60px; }
5644 table.cal_month { border-spacing: 0px; }
5645 table.cal_month td:first-child { border-left: 0px; }
5646 table.cal_month td:last-child { border-right: 0px; }
5647 table.cal_month td { padding-left: 1px !important; padding-right: 1px !important; }
5648 .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5649 .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5650 .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
5651 .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
5652 .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
5653 .cal_current_month_right { border-right: solid 1px #E0E0E0; }
5654 .cal_other_month_right { border-right: solid 1px #C0C0C0; }
5655 .cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5656 .cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5657 .cal_current_month { background: #FFFFFF; border-left: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px !important; }
5658 .cal_current_month_peruserleft { background: #FFFFFF; border-left: solid 2px #6C7C7B; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5659 .cal_today { background: #FDFDF0; border-left: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5660 .cal_today_peruser { background: #FDFDF0; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5661 .cal_today_peruser_peruserleft { background: #FDFDF0; border-left: solid 2px #6C7C7B; border-right: solid 1px #E0E0E0; border-bottom: solid 1px #E0E0E0; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5662 .cal_past { }
5663 .cal_peruser { padding-top: 0 !important; padding-bottom: 0 !important; padding-<?php print $left; ?>: 1px !important; padding-<?php print $right; ?>: 1px !important; }
5664 .cal_impair {
5665  background: linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5666  background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5667  background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5668  background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5669 }
5670 .cal_today_peruser_impair { background: #F8F8F0; }
5671 .peruser_busy { }
5672 .peruser_notbusy { opacity: 0.5; }
5673 div.event { margin-left: 8px; margin-right: 8px; margin-bottom: 8px; margin-top: 4px; border-radius: 4px; box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.2); }
5674 table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; filter: saturate(0.8); border-radius: 3px; }
5675 table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
5676 table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
5677 table.cal_event td.cal_event_right { padding: 4px 4px !important; }
5678 .cal_event { font-size: 1em; }
5679 .cal_event a:link { color: #111111; font-weight: normal !important; }
5680 .cal_event a:visited { color: #111111; font-weight: normal !important; }
5681 .cal_event a:active { color: #111111; font-weight: normal !important; }
5682 .cal_event_notbusy a.cal_event_title:hover { color: #111111; font-weight: normal !important; }
5683 .cal_event_busy { }
5684 .cal_peruserviewname { max-width: 140px; height: 30px !important; }
5685 .cal_event span.badge.badge-status { border: 1px solid #aaa; }
5686 table.cal_month tr td table.nobordernopadding tr td { padding: 0 2px 0 2px; }
5687 table.cal_month tr.liste_titre td.tdfordaytitle { min-width: 120px; }
5688 a.dayevent-aday {
5689  padding-left: 8px;
5690 }
5691 
5692 .calendarviewcontainertr { height: 100px; }
5693 
5694 td.cal_other_month {
5695  opacity: 0.8;
5696 }
5697 
5698 td.event-past span {
5699  opacity: 0.5;
5700 }
5701 
5702 .cal_available { background: #0060d450; }
5703 .cal_chosen { background: #0060d4; }
5704 
5705 /* ============================================================================== */
5706 /* Ajax - Combo list for autocompletion */
5707 /* ============================================================================== */
5708 
5709 .ui-widget-content {
5710  border: solid 1px rgba(0,0,0,.3);
5711  background: var(--colorbackbody) !important;
5712  color: var(--colortext) !important;
5713 }
5714 /*.ui-widget-header {
5715  background: var(--colorbacktitle);
5716 }*/
5717 
5718 .ui-autocomplete-loading {
5719  background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat;
5720 }
5721 .ui-autocomplete {
5722  position:absolute;
5723  width:auto;
5724  font-size: 1.0em;
5725  background-color: var(--inputbackgroundcolor);
5726  border:1px solid #888;
5727  margin:0px;
5728 /* padding:0px; This make combo crazy */
5729  }
5730 .ui-autocomplete ul {
5731  list-style-type:none;
5732  margin:0px;
5733  padding:0px;
5734  }
5735 .ui-autocomplete ul li.selected {
5736  background-color: var(--inputbackgroundcolor);
5737 }
5738 .ui-autocomplete ul li {
5739  list-style-type:none;
5740  display:block;
5741  margin:0;
5742  padding:2px;
5743  height:18px;
5744  cursor:pointer;
5745  }
5746 
5747 
5748 /* ============================================================================== */
5749 /* jQuery - jeditable for inline edit */
5750 /* ============================================================================== */
5751 
5752 .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
5753  background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
5754  cursor: pointer;
5755  margin-right: 3px;
5756  margin-top: 3px;
5757 }
5758 
5759 .editkey_datepicker {
5760  background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
5761  margin-right: 3px;
5762  cursor: pointer;
5763  margin-right: 3px;
5764  margin-top: 3px;
5765 }
5766 
5767 .editval_textarea.active:hover, .editval_ckeditor.active:hover, .editval_string.active:hover, .editval_email.active:hover, .editval_numeric.active:hover, .editval_select.active:hover, .editval_autocomplete.active:hover, .editval_datepicker.active:hover {
5768  background: white;
5769  cursor: pointer;
5770 }
5771 
5772 .viewval_textarea.active:hover, .viewval_ckeditor.active:hover, .viewval_string.active:hover, .viewval_email.active:hover, .viewval_numeric.active:hover, .viewval_select.active:hover, .viewval_autocomplete.active:hover, .viewval_datepicker.active:hover {
5773  background: white;
5774  cursor: pointer;
5775 }
5776 
5777 .viewval_hover {
5778  background: white;
5779 }
5780 
5781 
5782 /* ============================================================================== */
5783 /* Admin Menu */
5784 /* ============================================================================== */
5785 
5786 /* CSS for treeview */
5787 .treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
5788 .treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
5789 .treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
5790 .treeview li table { min-height: 30px; }
5791 .treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
5792 
5793 
5794 /* ============================================================================== */
5795 /* Show Excel tabs */
5796 /* ============================================================================== */
5797 
5798 .table_data
5799 {
5800  border-style:ridge;
5801  border:1px solid;
5802 }
5803 .tab_base
5804 {
5805  background:#C5D0DD;
5806  font-weight:bold;
5807  border-style:ridge;
5808  border: 1px solid;
5809  cursor:pointer;
5810 }
5811 .table_sub_heading
5812 {
5813  background:#CCCCCC;
5814  font-weight:bold;
5815  border-style:ridge;
5816  border: 1px solid;
5817 }
5818 .table_body
5819 {
5820  background:#F0F0F0;
5821  font-weight:normal;
5822  font-family:sans-serif;
5823  border-style:ridge;
5824  border: 1px solid;
5825  border-spacing: 0px;
5826  border-collapse: collapse;
5827 }
5828 .tab_loaded
5829 {
5830  background:#222222;
5831  color:white;
5832  font-weight:bold;
5833  border-style:groove;
5834  border: 1px solid;
5835  cursor:pointer;
5836 }
5837 
5838 
5839 /* ============================================================================== */
5840 /* CSS for color picker */
5841 /* ============================================================================== */
5842 
5843 table.jPicker {
5844  border-radius: 5px;
5845  border: 1px solid #bbb !important;
5846 }
5847 A.color, A.color:active, A.color:visited {
5848  position : relative;
5849  display : block;
5850  text-decoration : none;
5851  width : 10px;
5852  height : 10px;
5853  line-height : 10px;
5854  margin : 0px;
5855  padding : 0px;
5856  border : 1px inset white;
5857 }
5858 A.color:hover {
5859  border : 1px outset white;
5860 }
5861 A.none, A.none:active, A.none:visited, A.none:hover {
5862  position : relative;
5863  display : block;
5864  text-decoration : none;
5865  width : 10px;
5866  height : 10px;
5867  line-height : 10px;
5868  margin : 0px;
5869  padding : 0px;
5870  cursor : default;
5871  border : 1px solid #b3c5cc;
5872 }
5873 .tblColor {
5874  display : none;
5875 }
5876 .tdColor {
5877  padding : 1px;
5878 }
5879 .tblContainer {
5880  background-color : #b3c5cc;
5881 }
5882 .tblGlobal {
5883  position : absolute;
5884  top : 0px;
5885  left : 0px;
5886  display : none;
5887  background-color : #b3c5cc;
5888  border : 2px outset;
5889 }
5890 .tdContainer {
5891  padding : 5px;
5892 }
5893 .tdDisplay {
5894  width : 50%;
5895  height : 20px;
5896  line-height : 20px;
5897  border : 1px outset white;
5898 }
5899 .tdDisplayTxt {
5900  width : 50%;
5901  height : 24px;
5902  line-height : 12px;
5903  font-family : <?php print $fontlist ?>;
5904  font-size : 8pt;
5905  color : black;
5906  text-align : center;
5907 }
5908 .btnColor {
5909  width : 100%;
5910  font-family : <?php print $fontlist ?>;
5911  font-size : 10pt;
5912  padding : 0px;
5913  margin : 0px;
5914 }
5915 .btnPalette {
5916  width : 100%;
5917  font-family : <?php print $fontlist ?>;
5918  font-size : 8pt;
5919  padding : 0px;
5920  margin : 0px;
5921 }
5922 .colorselector {
5923  border: solid 1px #ddd !important;
5924 }
5925 
5926 /* Style to overwrites JQuery styles */
5927 .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
5928  border: 1px solid #888;
5929  background: var(--colorbacktitle1);
5930  color: unset;
5931 }
5932 
5933 .ui-menu .ui-menu-item a {
5934  text-decoration:none;
5935  display:block;
5936  padding:.2em .4em;
5937  line-height:1.5;
5938  font-weight: normal;
5939  font-family:<?php echo $fontlist; ?>;
5940  font-size:1em;
5941 }
5942 .ui-widget {
5943  font-family:<?php echo $fontlist; ?>;
5944 }
5945 /* .ui-button { margin-left: -2px; <?php print(preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> } */
5946 .ui-button { margin-left: -2px; }
5947 .ui-button-icon-only .ui-button-text { height: 8px; }
5948 .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
5949 .ui-button-text
5950 {
5951  line-height: 1em !important;
5952 }
5953 .ui-autocomplete-input { margin: 0; padding: 4px; }
5954 
5955 
5956 /* ============================================================================== */
5957 /* CKEditor */
5958 /* ============================================================================== */
5959 
5960 body.cke_show_borders {
5961  margin: 5px !important;
5962 }
5963 
5964 .cke_dialog {
5965  border: 1px #bbb solid ! important;
5966 }
5967 /*.cke_editor table, .cke_editor tr, .cke_editor td
5968 {
5969  border: 0px solid #FF0000 !important;
5970 }
5971 span.cke_skin_kama { padding: 0 !important; }*/
5972 .cke_wrapper { padding: 4px !important; }
5973 a.cke_dialog_ui_button
5974 {
5975  font-family: <?php print $fontlist ?> !important;
5976  background-image: url(<?php echo $img_button ?>) !important;
5977  background-position: bottom !important;
5978  border: 1px solid #C0C0C0 !important;
5979  -webkit-border-radius:0px 5px 0px 5px !important;
5980  border-radius:0px 5px 0px 5px !important;
5981  -webkit-box-shadow: 3px 3px 4px #DDD !important;
5982  box-shadow: 3px 3px 4px #DDD !important;
5983 }
5984 .cke_dialog_ui_hbox_last
5985 {
5986  vertical-align: bottom !important;
5987 }
5988 .cke_dialog_ui_hbox_first {
5989  vertical-align: middle !important;
5990 }
5991 .cke_combo_text {
5992  width: 40px !important;
5993 }
5994 /*
5995 .cke_editable
5996 {
5997  line-height: 1.4 !important;
5998  margin: 6px !important;
5999 }
6000 */
6001 a.cke_dialog_ui_button_ok span {
6002  text-shadow: none !important;
6003  color: #333 !important;
6004 }
6005 a.cke_button, a.cke_combo_button {
6006  height: 18px !important;
6007 }
6008 
6009 /* ============================================================================== */
6010 /* ACE editor */
6011 /* ============================================================================== */
6012 .ace_editor {
6013  border: 1px solid #ddd;
6014  margin: 0;
6015 }
6016 .aceeditorstatusbar {
6017  margin: 0;
6018  padding: 0;
6019  padding-<?php echo $left; ?>: 10px;
6020  left: 0;
6021  right: 0;
6022  bottom: 0;
6023  background-color: #ebebeb;
6024  height: 28px;
6025  line-height: 2.2em;
6026 }
6027 .ace_status-indicator {
6028  color: gray;
6029  position: relative;
6030  right: 0;
6031  border-left: 1px solid;
6032 }
6033 pre#editfilecontentaceeditorid {
6034  margin-top: 5px;
6035 }
6036 
6037 
6038 /* ============================================================================== */
6039 /* File upload */
6040 /* ============================================================================== */
6041 
6042 .template-upload {
6043  height: 72px !important;
6044 }
6045 
6046 
6047 /* ============================================================================== */
6048 /* Custom reports */
6049 /* ============================================================================== */
6050 
6051 .customreportsoutput, .customreportsoutputnotdata {
6052  padding-top: 20px;
6053 }
6054 .customreportsoutputnotdata {
6055  text-align: center;
6056 }
6057 
6058 
6059 /* ============================================================================== */
6060 /* Holiday */
6061 /* ============================================================================== */
6062 
6063 #types .btn {
6064  cursor: pointer;
6065 }
6066 
6067 #types .btn-primary {
6068  font-weight: bold;
6069 }
6070 
6071 #types form {
6072  padding: 20px;
6073 }
6074 
6075 #types label {
6076  display:inline-block;
6077  width:100px;
6078  margin-right: 20px;
6079  padding: 4px;
6080  text-align: right;
6081  vertical-align: top;
6082 }
6083 
6084 #types input.text, #types textarea {
6085  width: 400px;
6086 }
6087 
6088 #types textarea {
6089  height: 100px;
6090 }
6091 
6092 
6093 /* ============================================================================== */
6094 /* Comments */
6095 /* ============================================================================== */
6096 
6097 #comment div {
6098  box-sizing:border-box;
6099 }
6100 #comment .comment {
6101  border-radius:7px;
6102  margin-bottom:10px;
6103  overflow:hidden;
6104 }
6105 #comment .comment-table {
6106  display:table;
6107  height:100%;
6108 }
6109 #comment .comment-cell {
6110  display:table-cell;
6111 }
6112 #comment .comment-info {
6113  font-size:0.8em;
6114  border-right:1px solid #dedede;
6115  margin-right:10px;
6116  width:160px;
6117  text-align:center;
6118  background:rgba(255,255,255,0.5);
6119  vertical-align:middle;
6120  padding:10px 2px;
6121 }
6122 #comment .comment-info a {
6123  color:inherit;
6124 }
6125 #comment .comment-right {
6126  vertical-align:top;
6127 }
6128 #comment .comment-description {
6129  padding:10px;
6130  vertical-align:top;
6131 }
6132 #comment .comment-delete {
6133  width: 100px;
6134  text-align:center;
6135  vertical-align:middle;
6136 }
6137 #comment .comment-delete:hover {
6138  background:rgba(250,20,20,0.8);
6139 }
6140 #comment .comment-edit {
6141  width: 100px;
6142  text-align:center;
6143  vertical-align:middle;
6144 }
6145 #comment .comment-edit:hover {
6146  background:rgba(0,184,148,0.8);
6147 }
6148 #comment textarea {
6149  width: 100%;
6150 }
6151 
6152 
6153 
6154 /* ============================================================================== */
6155 /* JSGantt */
6156 /* ============================================================================== */
6157 
6158 div.scroll2 {
6159  width: <?php print isset($_SESSION['dol_screenwidth']) ? max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
6160 }
6161 
6162 div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
6163  line-height: 2;
6164 }
6165 
6166 .gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
6167  font-size: unset !important;
6168 }
6169 
6170 div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
6171  font-size: unset !important;
6172  font-weight: normal !important;
6173  color: #000 !important;
6174 }
6175 div.gTaskInfo {
6176  background: #f0f0f0 !important;
6177 }
6178 .gtaskblue {
6179  background: rgb(108,152,185) !important;
6180 }
6181 .gtaskgreen {
6182  background: rgb(160,173,58) !important;
6183 }
6184 td.gtaskname {
6185  overflow: hidden;
6186  text-overflow: ellipsis;
6187 }
6188 td.gminorheadingwkend {
6189  color: #888 !important;
6190 }
6191 td.gminorheading {
6192  color: #666 !important;
6193 }
6194 .glistlbl, .glistgrid {
6195  width: 582px !important;
6196 }
6197 /*.gtaskname div, .gtaskname {
6198  min-width: 250px !important;
6199  max-width: 250px !important;
6200  width: 250px !important;
6201 }*/
6202 .gtaskname div, .gtaskname {
6203  min-width: 250px !important;
6204  max-width: 500px !important;
6205  width: unset !important;
6206 }
6207 .gpccomplete div, .gpccomplete {
6208  min-width: 40px !important;
6209  max-width: 40px !important;
6210  width: 40px !important;
6211 }
6212 td.gtaskheading.gstartdate, td.gtaskheading.genddate {
6213  white-space: break-spaces;
6214 }
6215 .gtasktableh tr:nth-child(2) td:nth-child(2), .gtasktableh tr:nth-child(2) td:nth-child(3), .gtasktableh tr:nth-child(2) td:nth-child(4), .gtasktableh tr:nth-child(2) td:nth-child(5), .gtasktableh tr:nth-child(2) td:nth-child(6), .gtasktableh tr:nth-child(2) td:nth-child(7) {
6216  color: transparent !important;
6217  border-left: none;
6218  border-right: none;
6219  border-top: none;
6220 }
6221 
6222 /* ============================================================================== */
6223 /* jFileTree */
6224 /* ============================================================================== */
6225 
6226 .ecmfiletree {
6227  width: 99%;
6228  height: 99%;
6229  padding-left: 2px;
6230  font-weight: normal;
6231 }
6232 
6233 .fileview {
6234  width: 99%;
6235  height: 99%;
6236  background: #FFF;
6237  padding-left: 2px;
6238  padding-top: 4px;
6239  font-weight: normal;
6240 }
6241 
6242 div.filedirelem {
6243  position: relative;
6244  display: block;
6245  text-decoration: none;
6246 }
6247 
6248 ul.filedirelem {
6249  padding: 2px;
6250  margin: 0 5px 5px 5px;
6251 }
6252 ul.filedirelem li {
6253  list-style: none;
6254  padding: 2px;
6255  margin: 0 10px 20px 10px;
6256  width: 160px;
6257  height: 120px;
6258  text-align: center;
6259  display: block;
6260  float: <?php print $left; ?>;
6261  border: solid 1px #DDDDDD;
6262 }
6263 
6264 ul.ecmjqft {
6265  line-height: 32px;
6266  padding: 0px;
6267  margin: 0px;
6268  font-weight: normal;
6269 }
6270 
6271 ul.ecmjqft li {
6272  list-style: none;
6273  padding: 0px;
6274  padding-left: 20px;
6275  margin: 0px;
6276  white-space: nowrap;
6277  display: block;
6278 }
6279 
6280 ul.ecmjqft a {
6281  line-height: 24px;
6282  vertical-align: middle;
6283  color: unset;
6284  padding: 0px 0px;
6285  font-weight:normal;
6286  display: inline-block !important;
6287 }
6288 ul.ecmjqft > a {
6289  width: calc(100% - 100px);
6290  overflow: hidden;
6291  white-space: break-spaces;
6292  word-break: break-all;
6293 }
6294 ul.ecmjqft a:active {
6295  font-weight: bold !important;
6296 }
6297 ul.ecmjqft a:hover {
6298  text-decoration: underline;
6299 }
6300 div.ecmjqft {
6301  vertical-align: middle;
6302  display: inline-block !important;
6303  text-align: right;
6304  float: right;
6305  right:4px;
6306  clear: both;
6307 }
6308 #ecm-layout-north {
6309  min-height: 40px;
6310 }
6311 #ecm-layout-north div.attachareaformuserfileecm {
6312  padding-bottom: 0px;
6313 }
6314 div#ecm-layout-west {
6315  width: 380px;
6316  vertical-align: top;
6317 }
6318 div#ecm-layout-center {
6319  width: calc(100% - 390px);
6320  vertical-align: top;
6321  float: right;
6322 }
6323 
6324 .ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png', 1); ?>) left top no-repeat; background-position-y: 8px; }
6325 .ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png', 1); ?>) left top no-repeat; background-position-y: 8px; }
6326 .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
6327 
6328 
6329 /* ============================================================================== */
6330 /* jNotify */
6331 /* ============================================================================== */
6332 
6333 .jnotify-container {
6334  position: fixed !important;
6335 <?php if (getDolGlobalString('MAIN_JQUERY_JNOTIFY_BOTTOM')) { ?>
6336  top: auto !important;
6337  bottom: 4px !important;
6338 <?php } ?>
6339  text-align: center;
6340  min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
6341  width: auto;
6342  max-width: 1024px;
6343  padding-left: 10px !important;
6344  padding-right: 10px !important;
6345  word-wrap: break-word;
6346 }
6347 .jnotify-container .jnotify-notification .jnotify-message {
6348  font-weight: normal;
6349  text-align: start;
6350  word-break: break-word;
6351 }
6352 .jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
6353  color: #a28918 !important;
6354 }
6355 
6356 /* use or not ? */
6357 div.jnotify-background {
6358  opacity : 0.95 !important;
6359  -webkit-box-shadow: 2px 2px 4px #888 !important;
6360  box-shadow: 2px 2px 4px #888 !important;
6361 }
6362 
6363 /* ============================================================================== */
6364 /* blockUI */
6365 /* ============================================================================== */
6366 
6367 /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
6368 div.dolEventValid h1, div.dolEventValid h2 {
6369  color: #567b1b;
6370  background-color: #e3f0db;
6371  padding: 5px 5px 5px 5px;
6372  text-align: left;
6373 }
6374 div.dolEventError h1, div.dolEventError h2 {
6375  color: #a72947;
6376  background-color: #d79eac;
6377  padding: 5px 5px 5px 5px;
6378  text-align: left;
6379 }
6380 
6381 /* ============================================================================== */
6382 /* Maps */
6383 /* ============================================================================== */
6384 
6385 .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
6386 }
6387 
6388 
6389 /* ============================================================================== */
6390 /* Datatable */
6391 /* ============================================================================== */
6392 
6393 table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
6394  background: none !important;
6395 }
6396 .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
6397 .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
6398 .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
6399 .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
6400 .dataTables_paginate {
6401  margin-top: 8px;
6402 }
6403 .paginate_button_disabled {
6404  opacity: 1 !important;
6405  color: #888 !important;
6406  cursor: default !important;
6407 }
6408 .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
6409 {
6410  font-weight: normal;
6411 }
6412 .paginate_enabled_previous:hover, .paginate_enabled_next:hover
6413 {
6414  text-decoration: underline !important;
6415 }
6416 .paginate_active
6417 {
6418  text-decoration: underline !important;
6419 }
6420 .paginate_button
6421 {
6422  font-weight: normal !important;
6423  text-decoration: none !important;
6424 }
6425 .paging_full_numbers {
6426  height: inherit !important;
6427 }
6428 .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
6429  background-color: var(--colorbackbody) !important;
6430 }
6431 .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
6432  background-color: var(--colorbackbody) !important;
6433  border-radius: inherit !important;
6434 }
6435 .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
6436  background-color: var(--colorbackbody) !important;
6437 }
6438 .paginate_button, .paginate_active {
6439  border: 1px solid #ddd !important;
6440  padding: 6px 12px !important;
6441  margin-left: -1px !important;
6442  line-height: 1.42857143 !important;
6443  margin: 0 0 !important;
6444 }
6445 
6446 /* For jquery plugin combobox */
6447 /* Disable this. It breaks wrapping of boxes
6448 .ui-corner-all { white-space: nowrap; } */
6449 
6450 .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
6451  opacity: .35;
6452  background-image: none;
6453 }
6454 
6455 div.dataTables_length {
6456  float: right !important;
6457  padding-left: 8px;
6458 }
6459 div.dataTables_length select {
6460  background: #fff;
6461 }
6462 .dataTables_wrapper .dataTables_paginate {
6463  padding-top: 0px !important;
6464 }
6465 
6466 /* ============================================================================== */
6467 /* Select2 */
6468 /* ============================================================================== */
6469 
6470 span.select2-selection--single.flat[aria-disabled="true"] span.select2-selection__rendered {
6471  opacity: 0.5;
6472 }
6473 
6474 span#select2-taskid-container[title^='--'] {
6475  opacity: 0.3;
6476 }
6477 
6478 .select2-container--default .select2-results__option--highlighted[aria-selected] {
6479  background-color: var(--colorbackhmenu1);
6480  color: var(--colortextbackhmenu);
6481 }
6482 .select2-container--default .select2-results__option--highlighted[aria-selected] span {
6483  color: #fff !important;
6484 }
6485 
6486 span.select2.select2-container.select2-container--default {
6487  text-align: initial;
6488  <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
6489  border-left: none;
6490  border-top: none;
6491  border-right: none;
6492  <?php } ?>
6493 }
6494 span.select2.select2-container.select2-container--default {
6495  <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
6496  /*border-bottom: solid 1px var(--inputbordercolor);*/
6497  <?php } ?>
6498 }
6499 
6500 input.select2-input {
6501  border-bottom: none ! important;
6502 }
6503 .select2-choice {
6504  border: none;
6505  border-bottom: solid 1px var(--inputbordercolor) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
6506 }
6507 .select2-results .select2-highlighted.optionblue {
6508  color: #FFF !important;
6509 }
6510 .select2-container .select2-selection--multiple {
6511  min-height: 28px !important;
6512 }
6513 .tableforfield .select2-container .select2-selection--single {
6514  height: 25px;
6515 }
6516 
6517 .select2-container--default .select2-selection--multiple .select2-selection__choice {
6518  margin-top: 5px !important;
6519  border: none;
6520 }
6521 .select2-container--focus span.select2-selection.select2-selection--single {
6522  border-bottom: 1px solid var(--inputbordercolor) !important;
6523  border-bottom-left-radius: 0;
6524  border-bottom-right-radius: 0;
6525 }
6526 
6527 .blockvmenusearch .select2-container--default .select2-selection--single,
6528 .blockvmenubookmarks .select2-container--default .select2-selection--single
6529 {
6530  background-color: var(--colorbackvmenu1);
6531 }
6532 .select2-container--default .select2-selection--single {
6533  background-color: var(--inputbackgroundcolor);
6534 }
6535 #blockvmenusearch .select2-container--default .select2-selection--single .select2-selection__placeholder {
6536  color: var(--colortextbackvmenu);
6537 }
6538 .select2-container--default .select2-selection--single .select2-selection__rendered {
6539  color: var(--colortext);
6540  /* background-color: var(--inputbackgroundcolor); */
6541 }
6542 .select2-default {
6543  color: #999 !important;
6544 }
6545 .select2-choice, .select2-container .select2-choice {
6546  border-bottom: solid 1px rgba(0,0,0,.4);
6547 }
6548 .select2-container .select2-choice > .select2-chosen {
6549  margin-right: 23px;
6550 }
6551 .select2-container .select2-choice .select2-arrow {
6552  border-radius: 0;
6553  background: transparent;
6554 }
6555 .select2-container-multi .select2-choices {
6556  background-image: none;
6557 }
6558 .select2-container .select2-choice {
6559  color: var(--colortext);
6560  border-radius: 0;
6561 }
6562 .selectoptiondisabledwhite {
6563  background: #FFFFFF !important;
6564 }
6565 .select2-arrow {
6566  border: none;
6567  border-left: none !important;
6568  background: none !important;
6569 }
6570 .select2-choice
6571 {
6572  border-top: none !important;
6573  border-left: none !important;
6574  border-right: none !important;
6575 }
6576 .select2-drop.select2-drop-above {
6577  box-shadow: none !important;
6578 }
6579 .select2-container--open .select2-dropdown--above {
6580  border-bottom: solid 1px var(--inputbordercolor);
6581 }
6582 .select2-drop.select2-drop-above.select2-drop-active {
6583  border-top: 1px solid #ccc;
6584  border-bottom: solid 1px var(--inputbordercolor);
6585 }
6586 .select2-container--default .select2-selection--single
6587 {
6588  outline: none;
6589  <?php if (!getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT')) { ?>
6590  border-top: none;
6591  border-left: none;
6592  border-right: none;
6593  <?php } ?>
6594 
6595  border<?php echo !getDolGlobalString('THEME_SHOW_BORDER_ON_INPUT') ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
6596 
6597  -webkit-box-shadow: none !important;
6598  box-shadow: none !important;
6599  border-radius: 3px;
6600 }
6601 .select2-container--focus .select2-container--default .select2-selection--single {
6602  border-bottom-left-radius: 0;
6603  border-bottom-right-radius: 0;
6604 }
6605 .select2-container--default.select2-container--focus .select2-selection--multiple {
6606  border-top: none;
6607  border-left: none;
6608  border-right: none;
6609  border-bottom-left-radius: 0;
6610  border-bottom-right-radius: 0;
6611 }
6612 .select2-container--default .select2-selection--multiple {
6613  border-bottom: solid 1px var(--inputbordercolor);
6614  border-top: none;
6615  border-left: none;
6616  border-right: none;
6617  border-radius: 3px;
6618  background: var(--inputbackgroundcolor);
6619  line-height: normal;
6620 }
6621 .select2-container--default .select2-selection--multiple .select2-selection__rendered {
6622  line-height: 1.4em;
6623 }
6624 .select2-container--default .select2-selection--multiple .select2-selection__choice {
6625  background-color: #ddd;
6626  margin-top: 4px !important;
6627 }
6628 .select2-selection--multiple input.select2-search__field {
6629  border-bottom: none !important;
6630 }
6631 
6632 .select2-search__field
6633 {
6634  outline: none;
6635  border-top: none !important;
6636  border-left: none !important;
6637  border-right: none !important;
6638  border-bottom: solid 1px var(--inputbordercolor) !important;
6639  -webkit-box-shadow: none !important;
6640  box-shadow: none !important;
6641  border-radius: 0 !important;
6642  /* color: black; */
6643 }
6644 .select2-container-active .select2-choice, .select2-container-active .select2-choices
6645 {
6646  outline: none;
6647  border-top: none;
6648  border-left: none;
6649  border-bottom: none;
6650  -webkit-box-shadow: none !important;
6651  box-shadow: none !important;
6652 }
6653 .select2-dropdown {
6654  /*background-color: var(--colorbackvmenu1);
6655  border: 1px solid var(--colorbackvmenu1); */
6656  box-shadow: 1px 2px 10px var(--colorbackvmenu1);
6657  background-color: var(--colorbackbody);
6658  color: var(--colortext);
6659 }
6660 .select2-dropdown-open {
6661  background-color: var(--colorbackvmenu1);
6662 }
6663 .select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
6664 {
6665  outline: none;
6666  border-top: none;
6667  border-left: none;
6668  border-bottom: none;
6669  -webkit-box-shadow: none !important;
6670  box-shadow: none !important;
6671  background-color: var(--colorbackvmenu1);
6672 }
6673 .select2-disabled
6674 {
6675  color: #888;
6676 }
6677 .select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
6678  border-radius: 0;
6679 }
6680 .select2-drop.select2-drop-above {
6681  border-radius: 0;
6682 }
6683 .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
6684  background-image: none;
6685  border-radius: 0 !important;
6686 }
6687 div.select2-drop-above
6688 {
6689  background: var(--colorbackvmenu1);
6690  -webkit-box-shadow: none !important;
6691  box-shadow: none !important;
6692 }
6693 .select2-drop-active
6694 {
6695  border: 1px solid #ccc;
6696  padding-top: 4px;
6697 }
6698 .select2-search input {
6699  border: none;
6700 }
6701 a span.select2-chosen
6702 {
6703  font-weight: normal !important;
6704 }
6705 .select2-container .select2-choice {
6706  background-image: none;
6707  /* line-height: 24px; */
6708 }
6709 .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
6710 {
6711  background: var(--colorbackvmenu1);
6712 }
6713 .select2-results {
6714  max-height: 400px;
6715 }
6716 .select2-results__option {
6717  word-break: break-word;
6718  text-align: <?php echo $left; ?>;
6719 }
6720 .select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
6721  background-color: var(--colorbackvmenu1);
6722  background-image: none;
6723  border: none;
6724  cursor: default;
6725 }
6726 .select2-container-disabled .select2-choice .select2-arrow b {
6727  opacity: 0.4;
6728 }
6729 .select2-container-multi .select2-choices .select2-search-choice {
6730  margin-bottom: 3px;
6731 }
6732 .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
6733 .select2-container-multi.select2-container-active .select2-choices
6734 {
6735  border-bottom: 1px solid #ccc;
6736  border-right: none;
6737  border-top: none;
6738  border-left: none;
6739 
6740 }
6741 .select2-container--default .select2-results>.select2-results__options{
6742  max-height: 400px;
6743 }
6744 
6745 /* Special case for the select2 add widget */
6746 #addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
6747  text-align: <?php echo $left; ?>;
6748  opacity: 0.4;
6749 }
6750 .select2-container--default .select2-selection--single .select2-selection__placeholder {
6751  color: var(--colortext);
6752  opacity: 0.4;
6753 }
6754 span#select2-boxbookmark-container, span#select2-boxcombo-container {
6755  text-align: <?php echo $left; ?>;
6756 }
6757 span#select2-boxbookmark-container {
6758  opacity: 0.4;
6759 }
6760 .select2-container .select2-selection--single .select2-selection__rendered {
6761  padding-left: 6px;
6762 }
6763 /* Style used before the select2 js is executed on boxcombo */
6764 #boxbookmark.boxcombo, #boxcombo.boxcombo {
6765  text-align: left;
6766  opacity: 0.4;
6767  border-bottom: solid 1px rgba(0,0,0,.4) !important;
6768  height: 26px;
6769  line-height: 24px;
6770  padding: 0 0 2px 0;
6771  vertical-align: top;
6772 }
6773 
6774 /* To emulate select 2 style */
6775 .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
6776  padding: 3px 5px 2px 5px;
6777  margin: 0 0 2px 3px;
6778  position: relative;
6779  line-height: 13px;
6780  color: #333;
6781  cursor: default;
6782  border: 1px solid #aaaaaa;
6783  border-radius: 3px;
6784  -webkit-box-shadow: 0 0 2px var(--inputbackgroundcolor) inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6785  box-shadow: 0 0 2px var(--inputbackgroundcolor) inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6786  background-clip: padding-box;
6787  -webkit-touch-callout: none;
6788  -webkit-user-select: none;
6789  -moz-user-select: none;
6790  -ms-user-select: none;
6791  user-select: none;
6792  background-color: var(--inputbackgroundcolor);
6793  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
6794  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6795  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6796  background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6797 }
6798 .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
6799  font-weight: normal;
6800 }
6801 .select2-container-multi-dolibarr .select2-choices-dolibarr li {
6802  float: <?php echo $left; ?>;
6803  list-style: none;
6804 }
6805 .select2-container-multi-dolibarr .select2-choices-dolibarr {
6806  height: auto !important;
6807  height: 1%;
6808  margin: 0;
6809  padding: 0 5px 0 0;
6810  position: relative;
6811  cursor: text;
6812  overflow: hidden;
6813 }
6814 
6815 ul.select2-results__options li {
6816  font-size: 0.95em;
6817 }
6818 
6819 .parentonrightofpage {
6820  direction: rtl;
6821 }
6822 
6823 select.multiselectononeline {
6824  padding: 0;
6825  vertical-align: middle;
6826  min-height: unset;
6827  height: 28px !important;
6828  opacity: 0;
6829  /* width: 1px !important; */
6830 }
6831 
6832 @media only screen and (min-width: 768px)
6833 {
6834  /* CSS to have the dropdown boxes larger that the input search area */
6835  .select2-container.select2-container--open:not(.graphtype) .select2-dropdown.ui-dialog {
6836  min-width: 230px !important;
6837  }
6838  .select2-container.select2-container--open:not(.graphtype) .select2-dropdown--below:not(.onrightofpage),
6839  .select2-container.select2-container--open:not(.graphtype) .select2-dropdown--above:not(.onrightofpage) {
6840  min-width: 230px !important;
6841  }
6842  .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
6843  .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above{
6844  min-width: 140px !important;
6845  }
6846  .combolargeelem.select2-container.select2-container--open .select2-dropdown.ui-dialog {
6847  min-width: 300px !important;
6848  }
6849 
6850  .select2-container--open .select2-dropdown--below {
6851  border-top: 1px solid var(--inputbordercolor);
6852  /* border-top: 1px solid #aaaaaa; */
6853  }
6854 }
6855 
6856 /* must be after the other .select2-container.select2-container--open .select2-dropdown.ui-dialog */
6857 .limit.select2-container.select2-container--open .select2-dropdown.ui-dialog {
6858  min-width: 100px !important;
6859 }
6860 
6861 
6862 /* ============================================================================== */
6863 /* For categories */
6864 /* ============================================================================== */
6865 
6866 .noborderoncategories {
6867  border: none !important;
6868  border-radius: 5px !important;
6869  box-shadow: none;
6870  -webkit-box-shadow: none !important;
6871  box-shadow: none !important;
6872  margin-top: 1px !important;
6873  margin-bottom: 0 !important;
6874 }
6875 span.noborderoncategories a, li.noborderoncategories a {
6876  line-height: normal;
6877  /* vertical-align: top; */
6878 }
6879 span.noborderoncategories {
6880  padding: 3px 5px 3px 5px;
6881  display: inline-block;
6882 }
6883 .categtextwhite, .treeview .categtextwhite.hover {
6884  color: #fff !important;
6885 }
6886 .categtextblack {
6887  color: #000 !important;
6888 }
6889 
6890 
6891 /* ============================================================================== */
6892 /* External lib multiselect with checkbox */
6893 /* ============================================================================== */
6894 
6895 .multi-select-menu {
6896  z-index: 10;
6897 }
6898 
6899 .multi-select-container {
6900  display: inline-block;
6901  position: relative;
6902 }
6903 
6904 .multi-select-menu {
6905  position: absolute;
6906  left: 0;
6907  top: 0.8em;
6908  float: left;
6909  min-width: 100%;
6910  background: var(--inputbackgroundcolor);
6911  margin: 1em 0;
6912  padding: 0.4em 0;
6913  border: 1px solid #aaa;
6914  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
6915  display: none;
6916 }
6917 
6918 div.multi-select-menu[role="menu"] {
6919  min-width: 220px !important;
6920 }
6921 
6922 .multi-select-menu input {
6923  margin-right: 0.3em;
6924  vertical-align: 0.1em;
6925 }
6926 
6927 .multi-select-button {
6928  display: inline-block;
6929  max-width: 20em;
6930  white-space: nowrap;
6931  overflow: hidden;
6932  text-overflow: ellipsis;
6933  vertical-align: middle;
6934  background-color: var(--inputbackgroundcolor);
6935  cursor: default;
6936 
6937  border: none;
6938  border-bottom: solid 1px var(--inputbordercolor);
6939  padding: 5px;
6940  padding-left: 2px;
6941  height: 17px;
6942  border-radius: 3px;
6943 }
6944 .multi-select-button:focus {
6945  outline: none;
6946  border-bottom: 1px solid #666;
6947  border-bottom-left-radius: 0;
6948  border-bottom-right-radius: 0;
6949 }
6950 
6951 .multi-select-button:after {
6952  content: "";
6953  display: inline-block;
6954  width: 0;
6955  height: 0;
6956  border-style: solid;
6957  border-width: 0.5em 0.23em 0em 0.23em;
6958  border-color: #888 transparent transparent transparent;
6959  margin-left: 0.4em;
6960 }
6961 
6962 .multi-select-container--open .multi-select-menu { display: block; }
6963 
6964 .multi-select-container--open .multi-select-button:after {
6965  border-width: 0 0.4em 0.4em 0.4em;
6966  border-color: transparent transparent #888 transparent;
6967 }
6968 
6969 .multi-select-menuitem {
6970  clear: both;
6971  float: left;
6972  padding-left: 5px;
6973 }
6974 label.multi-select-menuitem {
6975  line-height: 24px;
6976  text-align: start;
6977 }
6978 
6979 
6980 /* ============================================================================== */
6981 /* Native multiselect with checkbox */
6982 /* ============================================================================== */
6983 
6984 ul.ulselectedfields {
6985  z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
6986 }
6987 dl.dropdown {
6988  margin:0px;
6989  margin-left: 2px;
6990  margin-right: 2px;
6991  padding:0px;
6992  vertical-align: middle;
6993  display: inline-block;
6994 }
6995 .dropdown dd, .dropdown dt {
6996  margin:0px;
6997  padding:0px;
6998 }
6999 .dropdown ul {
7000  margin: -1px 0 0 0;
7001  text-align: <?php echo $left; ?>;
7002 }
7003 .dropdown dd {
7004  position:relative;
7005 }
7006 .dropdown dt a {
7007  display:block;
7008  overflow: hidden;
7009  border:0;
7010 }
7011 .dropdown dt a span, .multiSel span {
7012  cursor:pointer;
7013  display:inline-block;
7014  padding: 0 3px 2px 0;
7015 }
7016 .maxwidthsearch .dropdown dt a span, .multiSel span {
7017  padding: 3px 3px 2px 3px;
7018 }
7019 .dropdown span.value {
7020  display:none;
7021 }
7022 .dropdown dd ul {
7023  background-color: var(--inputbackgroundcolor);
7024  box-shadow: 1px 1px 10px #aaa;
7025  display:none;
7026  <?php echo $right; ?>:0px; /* pop is align on right */
7027  padding: 0 0 0 0;
7028  position:absolute;
7029  top:2px;
7030  list-style:none;
7031  max-height: 264px;
7032  overflow: auto;
7033  border-radius: 4px;
7034  z-index: 1;
7035 }
7036 .dropdown dd ul.selectedfieldsleft {
7037  <?php echo $right; ?>: auto;
7038 }
7039 .dropdown dd ul li {
7040  white-space: nowrap;
7041  font-weight: normal;
7042  padding: 7px 8px 7px 8px;
7043  /* color: var(--colortext); */
7044  color: var(--colortext);
7045 }
7046 .dropdown dd ul li:hover {
7047  background: #eee;
7048 }
7049 .dropdown dd ul li input[type="checkbox"] {
7050  margin-<?php echo $right; ?>: 3px;
7051 }
7052 .dropdown dd ul li a, .dropdown dd ul li span {
7053  padding: 3px;
7054  display: block;
7055 }
7056 .dropdown dd ul li span {
7057  color: #888;
7058 }
7059 /*.dropdown dd ul li a:hover {
7060  background-color: var(--inputbackgroundcolor);
7061 }*/
7062 dd.dropdowndd ul li {
7063  text-overflow: ellipsis;
7064  overflow: hidden;
7065  white-space: nowrap;
7066 }
7067 
7068 /* ============================================================================== */
7069 /* Kanban */
7070 /* ============================================================================== */
7071 
7072 .info-box-label {
7073  max-width: 180px;
7074  overflow: hidden;
7075  text-overflow: ellipsis;
7076  white-space: nowrap;
7077 }
7078 
7079 
7080 /* ============================================================================== */
7081 /* Markdown rendering */
7082 /* ============================================================================== */
7083 
7084 .imgmd {
7085  width: 90%;
7086 }
7087 .moduledesclong h1 {
7088  padding-top: 10px;
7089  padding-bottom: 20px;
7090 }
7091 
7092 
7093 /* ============================================================================== */
7094 /* JMobile - Android */
7095 /* ============================================================================== */
7096 
7097 .searchpage .tagtr .tagtd {
7098  padding-top: 2px;
7099  padding-bottom: 2px;
7100 }
7101 .searchpage .tagtr .tagtd .button {
7102  background: unset;
7103  border: unset;
7104 }
7105 .searchpage .searchform input {
7106  font-size: 1.15em;
7107 }
7108 
7109 
7110 li.ui-li-divider .ui-link {
7111  color: #FFF !important;
7112 }
7113 .ui-btn {
7114  margin: 0 2px;
7115 }
7116 a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
7117  text-decoration: none !important;
7118 }
7119 .ui-body-c {
7120  background: #fff;
7121 }
7122 
7123 .ui-btn-inner {
7124  min-width: .4em;
7125  padding-left: 6px;
7126  padding-right: 6px;
7127  font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
7128  /* white-space: normal; */ /* Warning, enable this break the truncate feature */
7129 }
7130 .ui-btn-icon-right .ui-btn-inner {
7131  padding-right: 30px;
7132 }
7133 .ui-btn-icon-left .ui-btn-inner {
7134  padding-left: 30px;
7135 }
7136 .ui-select .ui-btn-icon-right .ui-btn-inner {
7137  padding-right: 30px;
7138 }
7139 .ui-select .ui-btn-icon-left .ui-btn-inner {
7140  padding-left: 30px;
7141 }
7142 .ui-select .ui-btn-icon-right .ui-icon {
7143  right: 8px;
7144 }
7145 .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
7146  margin-top: -10px;
7147 }
7148 select {
7149  /* display: inline-block; */ /* We can't set this. This disable ability to make */
7150  overflow:hidden;
7151  white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
7152  text-overflow: ellipsis;
7153 }
7154 .fiche .ui-controlgroup {
7155  margin: 0px;
7156  padding-bottom: 0px;
7157 }
7158 div.ui-controlgroup-controls div.tabsElem
7159 {
7160  margin-top: 2px;
7161 }
7162 div.ui-controlgroup-controls div.tabsElem a
7163 {
7164  -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
7165  box-shadow: 0 -3px 6px rgba(0,0,0,.2);
7166 }
7167 div.ui-controlgroup-controls div.tabsElem a#active {
7168  -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
7169  box-shadow: 0 -3px 6px rgba(0,0,0,.3);
7170 }
7171 
7172 a.tab span.ui-btn-inner
7173 {
7174  border: none;
7175  padding: 0;
7176 }
7177 
7178 .ui-link {
7179  color: var(--colortext);
7180 }
7181 .liste_titre .ui-link {
7182  color: var(--colortexttitle) !important;
7183 }
7184 
7185 a.ui-link {
7186  word-wrap: break-word;
7187 }
7188 
7189 /* force wrap possible onto field overflow does not works */
7190 .formdoc .ui-btn-inner
7191 {
7192  white-space: normal;
7193  overflow: hidden;
7194  text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
7195 }
7196 
7197 /* Warning: setting this may make screen not being refreshed after a combo selection */
7198 /*.ui-body-c {
7199  background: #fff;
7200 }*/
7201 
7202 div.ui-radio, div.ui-checkbox
7203 {
7204  display: inline-block;
7205  border-bottom: 0px !important;
7206 }
7207 .ui-checkbox input, .ui-radio input {
7208  height: auto;
7209  width: auto;
7210  margin: 4px;
7211  position: static;
7212 }
7213 div.ui-checkbox label+input, div.ui-radio label+input {
7214  position: absolute;
7215 }
7216 .ui-mobile fieldset
7217 {
7218  padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
7219 }
7220 
7221 ul.ulmenu {
7222  border-radius: 0;
7223  -webkit-border-radius: 0;
7224 }
7225 
7226 .ui-field-contain label.ui-input-text {
7227  vertical-align: middle !important;
7228 }
7229 .ui-mobile fieldset {
7230  border-bottom: none !important;
7231 }
7232 
7233 /* Style for first level menu with jmobile */
7234 .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
7235  padding: 1em 15px;
7236  display: block;
7237 }
7238 .ui-btn-up-c {
7239  font-weight: normal;
7240 }
7241 .ui-focus, .ui-btn:focus {
7242  -webkit-box-shadow: none;
7243  box-shadow: none;
7244 }
7245 .ui-bar-b {
7246  /*border: 1px solid #888;*/
7247  border: none;
7248  background: none;
7249  text-shadow: none;
7250  color: var(--colortexttitlenotab) !important;
7251 }
7252 .ui-bar-b, .lilevel0 {
7253  background-repeat: repeat-x;
7254  border: none;
7255  background: none;
7256  text-shadow: none;
7257  color: var(--colortexttitlenotab) !important;
7258 }
7259 .alilevel0 {
7260  font-weight: normal !important;
7261 }
7262 
7263 .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
7264  border-bottom-width: 0px !important;
7265 }
7266 .alilevel0 {
7267  color: var(--colortexttitle) !important;
7268  background: var(--colorbackmobilemenu);
7269 }
7270 .ulmenu {
7271  box-shadow: none !important;
7272  border-bottom: 1px solid #ccc;
7273 }
7274 .ui-btn-icon-right {
7275  border-right: 1px solid #ccc !important;
7276 }
7277 .ui-body-c {
7278  border: 1px solid #ccc;
7279  text-shadow: none;
7280 }
7281 .ui-btn-up-c, .ui-btn-hover-c {
7282  /* border: 1px solid #ccc; */
7283  text-shadow: none;
7284 }
7285 .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
7286  color: var(--colortextlink);
7287 }
7288 .ui-btn-up-c .vsmenudisabled {
7289  color: #<?php echo $colorshadowtitle; ?> !important;
7290  text-shadow: none !important;
7291 }
7292 div.tabsElem a.tab {
7293  background: transparent;
7294 }
7295 .alilevel1 {
7296  color: var(--colortexttitlenotab) !important;
7297 }
7298 .lilevel1 {
7299  border-top: 2px solid #444;
7300  background: #fff ! important;
7301 }
7302 .lilevel1 div div a {
7303  font-weight: bold !important;
7304 }
7305 .lilevel2
7306 {
7307  padding-left: 22px;
7308  background: #fff ! important;
7309 }
7310 .lilevel3
7311 {
7312  padding-left: 44px;
7313  background: #fff ! important;
7314 }
7315 .lilevel4
7316 {
7317  padding-left: 66px;
7318  background: #fff ! important;
7319 }
7320 .lilevel5
7321 {
7322  padding-left: 88px;
7323  background: #fff ! important;
7324 }
7325 
7326 
7327 
7328 /* ============================================================================== */
7329 /* POS */
7330 /* ============================================================================== */
7331 
7332 .menu_choix1,.menu_choix2 {
7333  font-size: 1.4em;
7334  text-align: left;
7335  border: 1px solid #666;
7336  margin-right: 20px;
7337 }
7338 .menu_choix1 a, .menu_choix2 a {
7339  display: block;
7340  color: #fff;
7341  text-decoration: none;
7342  padding-top: 18px;
7343  padding-left: 10px;
7344  font-size: 14px;
7345  height: 38px;
7346 }
7347 .menu_choix1 a:hover,.menu_choix2 a:hover {
7348  color: #6d3f6d;
7349 }
7350 .menu li.menu_choix1 {
7351  padding-top: 6px;
7352  padding-right: 10px;
7353  padding-bottom: 2px;
7354 }
7355 .menu li.menu_choix2 {
7356  padding-top: 6px;
7357  padding-right: 10px;
7358  padding-bottom: 2px;
7359 }
7360 @media only screen and (max-width: 768px)
7361 {
7362  .menu_choix1 a, .menu_choix2 a {
7363  background-size: 36px 36px;
7364  height: 30px;
7365  padding-left: 40px;
7366  }
7367  .menu li.menu_choix1, .menu li.menu_choix2 {
7368  padding-left: 4px;
7369  padding-right: 0;
7370  }
7371  .liste_articles {
7372  margin-right: 0 !important;
7373  }
7374 }
7375 
7376 
7377 /* ============================================================================== */
7378 /* Public */
7379 /* ============================================================================== */
7380 
7381 /* The theme for public pages */
7382 .public_body {
7383  margin: 20px;
7384 }
7385 .public_border {
7386  border: 1px solid #888;
7387 }
7388 .publicnewmemberform div.tabBarWithBottom {
7389  border: 1px solid #e8e8e8;
7390  padding: 30px;
7391  border-radius: 8px;
7392  background-color: var(--colorbackgrey);
7393  /*box-shadow: 2px 2px 10px #ddd;*/
7394 }
7395 
7396 .publicnewmemberform #tablesubscribe {
7397  color: var(--colortextbackvmenu);
7398 }
7399 
7400 @media only screen and (max-width: 768px)
7401 {
7402  .publicnewmemberform div.tabBarWithBottom {
7403  padding: 10px;
7404  }
7405 }
7406 
7407 
7408 /* ============================================================================== */
7409 /* Ticket module */
7410 /* ============================================================================== */
7411 
7412 .ticketpublictable td {
7413  height: 28px;
7414 }
7415 
7416 .ticketpublicarea {
7417  margin-left: 15%;
7418  margin-right: 15%;
7419 }
7420 .publicnewticketform {
7421  /* margin-top: 25px !important; */
7422 }
7423 .ticketlargemargin {
7424  padding-left: 50px;
7425  padding-right: 50px;
7426  padding-top: 30px;
7427 }
7428 @media only screen and (max-width: 768px)
7429 {
7430  .ticketlargemargin {
7431  padding-left: 5px; padding-right: 5px;
7432  padding-top: 10px;
7433  }
7434  .ticketpublicarea {
7435  margin-left: 10px;
7436  margin-right: 10px;
7437  }
7438 }
7439 
7440 #cd-timeline {
7441  position: relative;
7442  padding: 2em 0;
7443  margin-bottom: 2em;
7444 }
7445 #cd-timeline::before {
7446  /* this is the vertical line */
7447  content: '';
7448  position: absolute;
7449  top: 0;
7450  left: 18px;
7451  height: 100%;
7452  width: 4px;
7453  background: #d7e4ed;
7454 }
7455 @media only screen and (min-width: 1170px) {
7456  #cd-timeline {
7457  margin-bottom: 3em;
7458  }
7459  #cd-timeline::before {
7460  left: 50%;
7461  margin-left: -2px;
7462  }
7463 }
7464 
7465 .cd-timeline-block {
7466  position: relative;
7467  margin: 2em 0;
7468 }
7469 .cd-timeline-block:after {
7470  content: "";
7471  display: table;
7472  clear: both;
7473 }
7474 .cd-timeline-block:first-child {
7475  margin-top: 0;
7476 }
7477 .cd-timeline-block:last-child {
7478  margin-bottom: 0;
7479 }
7480 @media only screen and (min-width: 1170px) {
7481  .cd-timeline-block {
7482  margin: 4em 0;
7483  }
7484  .cd-timeline-block:first-child {
7485  margin-top: 0;
7486  }
7487  .cd-timeline-block:last-child {
7488  margin-bottom: 0;
7489  }
7490 }
7491 
7492 .cd-timeline-img {
7493  position: absolute;
7494  top: 0;
7495  left: 0;
7496  width: 40px;
7497  height: 40px;
7498  border-radius: 50%;
7499  box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
7500  background: #d7e4ed;
7501 }
7502 .cd-timeline-img img {
7503  display: block;
7504  width: 24px;
7505  height: 24px;
7506  position: relative;
7507  left: 50%;
7508  top: 50%;
7509  margin-left: -12px;
7510  margin-top: -12px;
7511 }
7512 .cd-timeline-img.cd-picture {
7513  background: #75ce66;
7514 }
7515 .cd-timeline-img.cd-movie {
7516  background: #c03b44;
7517 }
7518 .cd-timeline-img.cd-location {
7519  background: #f0ca45;
7520 }
7521 @media only screen and (min-width: 1170px) {
7522  .cd-timeline-img {
7523  width: 60px;
7524  height: 60px;
7525  left: 50%;
7526  margin-left: -30px;
7527  /* Force Hardware Acceleration in WebKit */
7528  -webkit-transform: translateZ(0);
7529  -webkit-backface-visibility: hidden;
7530  }
7531  .cssanimations .cd-timeline-img.is-hidden {
7532  visibility: hidden;
7533  }
7534  .cssanimations .cd-timeline-img.bounce-in {
7535  visibility: visible;
7536  -webkit-animation: cd-bounce-1 0.6s;
7537  -moz-animation: cd-bounce-1 0.6s;
7538  animation: cd-bounce-1 0.6s;
7539  }
7540 }
7541 
7542 @-webkit-keyframes cd-bounce-1 {
7543  0% {
7544  opacity: 0;
7545  -webkit-transform: scale(0.5);
7546  }
7547 
7548  60% {
7549  opacity: 1;
7550  -webkit-transform: scale(1.2);
7551  }
7552 
7553  100% {
7554  -webkit-transform: scale(1);
7555  }
7556 }
7557 @-moz-keyframes cd-bounce-1 {
7558  0% {
7559  opacity: 0;
7560  -moz-transform: scale(0.5);
7561  }
7562 
7563  60% {
7564  opacity: 1;
7565  -moz-transform: scale(1.2);
7566  }
7567 
7568  100% {
7569  -moz-transform: scale(1);
7570  }
7571 }
7572 @keyframes cd-bounce-1 {
7573  0% {
7574  opacity: 0;
7575  -webkit-transform: scale(0.5);
7576  -moz-transform: scale(0.5);
7577  -ms-transform: scale(0.5);
7578  -o-transform: scale(0.5);
7579  transform: scale(0.5);
7580  }
7581 
7582  60% {
7583  opacity: 1;
7584  -webkit-transform: scale(1.2);
7585  -moz-transform: scale(1.2);
7586  -ms-transform: scale(1.2);
7587  -o-transform: scale(1.2);
7588  transform: scale(1.2);
7589  }
7590 
7591  100% {
7592  -webkit-transform: scale(1);
7593  -moz-transform: scale(1);
7594  -ms-transform: scale(1);
7595  -o-transform: scale(1);
7596  transform: scale(1);
7597  }
7598 }
7599 .cd-timeline-content {
7600  position: relative;
7601  margin-left: 60px;
7602  background: white;
7603  border-radius: 0.25em;
7604  padding: 1em;
7605  background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7606  background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7607  background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7608  background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7609 }
7610 .cd-timeline-content:after {
7611  content: "";
7612  display: table;
7613  clear: both;
7614 }
7615 .cd-timeline-content h2 {
7616  color: #303e49;
7617 }
7618 .cd-timeline-content .cd-date {
7619  font-size: 13px;
7620  font-size: 0.8125rem;
7621 }
7622 .cd-timeline-content .cd-date {
7623  display: inline-block;
7624 }
7625 .cd-timeline-content p {
7626  margin: 1em 0;
7627  line-height: 1.6;
7628 }
7629 
7630 .cd-timeline-content .cd-date {
7631  float: left;
7632  padding: .2em 0;
7633  opacity: .7;
7634 }
7635 .cd-timeline-content::before {
7636  content: '';
7637  position: absolute;
7638  top: 16px;
7639  right: 100%;
7640  height: 0;
7641  width: 0;
7642  border: 7px solid transparent;
7643  border-right: 7px solid white;
7644 }
7645 @media only screen and (min-width: 768px) {
7646  .cd-timeline-content h2 {
7647  font-size: 20px;
7648  font-size: 1.25rem;
7649  }
7650  .cd-timeline-content {
7651  font-size: 16px;
7652  font-size: 1rem;
7653  }
7654  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
7655  font-size: 14px;
7656  font-size: 0.875rem;
7657  }
7658 }
7659 @media only screen and (min-width: 1170px) {
7660  .cd-timeline-content {
7661  margin-left: 0;
7662  padding: 1.6em;
7663  width: 43%;
7664  }
7665  .cd-timeline-content::before {
7666  top: 24px;
7667  left: 100%;
7668  border-color: transparent;
7669  border-left-color: white;
7670  }
7671  .cd-timeline-content .cd-read-more {
7672  float: left;
7673  }
7674  .cd-timeline-content .cd-date {
7675  position: absolute;
7676  width: 55%;
7677  left: 115%;
7678  top: 6px;
7679  font-size: 16px;
7680  font-size: 1rem;
7681  }
7682  .cd-timeline-block:nth-child(even) .cd-timeline-content {
7683  float: right;
7684  }
7685  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
7686  top: 24px;
7687  left: auto;
7688  right: 100%;
7689  border-color: transparent;
7690  border-right-color: white;
7691  }
7692  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
7693  float: right;
7694  }
7695  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
7696  left: auto;
7697  right: 115%;
7698  text-align: right;
7699  }
7700 
7701 }
7702 
7703 
7704 /* ============================================================================== */
7705 /* CSS style for debugbar */
7706 /* ============================================================================== */
7707 
7708 div.phpdebugbar * {
7709  font-weight: unset;
7710 }
7711 span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
7712  width: 250px !important;
7713 }
7714 .phpdebugbar-indicator span.phpdebugbar-tooltip {
7715  opacity: .95 !important;
7716 }
7717 a.phpdebugbar-tab.phpdebugbar-active {
7718  background-image: unset !important;
7719 }
7720 .phpdebugbar-fa-tags:before {
7721  content: "\f121";
7722  font-weight: 600 !important;
7723 }
7724 .phpdebugbar-fa-tasks:before {
7725  content: "\f550";
7726  font-weight: 600 !important;
7727 }
7728 .phpdebugbar-fa-tags, .phpdebugbar-fa-tasks, .phpdebugbar-indicator .fa {
7729  font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
7730  font-weight: 600;
7731 }
7732 div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
7733 div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
7734 div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
7735 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
7736 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
7737 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
7738 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
7739 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
7740 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
7741 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
7742 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
7743 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
7744 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
7745 div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
7746 {
7747  font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>" !important;
7748 }
7749 
7750 /* ============================================================================== */
7751 /* CSS style used for jCrop */
7752 /* ============================================================================== */
7753 
7754 .jcrop-holder { background: unset !important; }
7755 
7756 
7757 /* ============================================================================== */
7758 /* CSS style used for jFlot */
7759 /* ============================================================================== */
7760 
7761 .dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
7762  text-orientation: sideways;
7763  font-weight: 400;
7764  writing-mode: vertical-rl;
7765  white-space: nowrap;
7766 }
7767 
7768 
7769 /* ============================================================================== */
7770 /* For copy-paste feature */
7771 /* ============================================================================== */
7772 
7773 span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
7774  display: inline-block;
7775 }
7776 span.clipboardCPValue.hidewithsize {
7777  width: 0 !important;
7778  display: inline-block; /* this will be modify on the fly by the copy-paste js code in lib_foot.js.php to have copy feature working */
7779  color: transparent;
7780  white-space: nowrap;
7781  overflow-x: hidden;
7782  vertical-align: middle;
7783 }
7784 div.clipboardCPValue.hidewithsize {
7785  width: 0 !important;
7786  display: none;
7787  color: transparent;
7788  white-space: nowrap;
7789 }
7790 
7791 .clipboardCPShowOnHover .clipboardCPButton {
7792  display: none;
7793 }
7794 
7795 /* To make a div popup, we must use a position absolute inside a position relative */
7796 .clipboardCPText {
7797  position: relative;
7798 }
7799 .clipboardCPTextDivInside {
7800  position: absolute;
7801  background: #f8f8fa;
7802  color: #888;
7803  border: 1px solid #E0E0E0;
7804  opacity: 1;
7805  z-index: 20;
7806  padding: 2px;
7807  padding-left: 5px;
7808  padding-right: 5px;
7809  top: -5px;
7810  left: 0px;
7811  border-radius: 5px;
7812  white-space: nowrap;
7813  font-size: 0.9em;
7814  box-shadow: 1px 1px 6px #ddd;
7815 }
7816 
7817 
7818 /* ============================================================================== */
7819 /* CSS style used for hrm skill/rank (may be we can remove this) */
7820 /* ============================================================================== */
7821 
7822 .radio_js_bloc_number {
7823  display:inline-block;
7824  padding:5px 7px;
7825  min-width:20px;
7826  border-radius:3px;
7827  border:1px solid #ccc;
7828  background:#eee;
7829  color:#555;
7830  cursor:pointer;
7831  margin:2px;
7832  text-align:center;
7833 }
7834 .radio_js_bloc_number.selected {
7835  transition:0.2s ease background;
7836  background:#888;
7837  color:#fff;
7838  border-color:#555;
7839 }
7840 
7841 
7842 /* ============================================================================== */
7843 /* Virtual business card */
7844 /* ============================================================================== */
7845 
7846 .virtualcard-div {
7847  overflow: hidden;
7848  vertical-align: top;
7849  /* background: #aaa; */
7850 }
7851 
7852 #virtualcard-iframe {
7853  border: 40px solid #aaa;
7854  vertical-align: top;
7855  width: 10%;
7856  min-width: 100px;
7857  border-radius: 10px;
7858  aspect-ratio: 0.6;
7859 }
7860 .nopointervent {
7861  pointer-events: none;
7862 }
7863 .scalepreview {
7864  /* transform: scale(0.5); */
7865  zoom: 0.20;
7866  /* filter: blur(4px); */
7867 }
7868 
7869 /* ============================================================================== */
7870 /* For drag and drop file feature */
7871 /* ============================================================================== */
7872 
7873 .cssDragDropArea{
7874  position: relative;
7875 }
7876 .highlightDragDropArea{
7877  border: 2px #000 dashed !important;
7878  background-color: #eee !important;
7879 }
7880 .highlightDragDropArea * :not(.dragDropAreaMessage *){
7881  opacity:0.8;
7882  filter: blur(1px) grayscale(90%);
7883 }
7884 .dragDropAreaMessage {
7885  position: absolute;
7886  left:50%;
7887  top:50%;
7888  transform: translate(-50%, -50%);
7889  text-align:center;
7890  font-size: 2em;
7891 }
7892 
7893 /* ============================================================================== */
7894 /* CSS style used for color jPicker */
7895 /* ============================================================================== */
7896 
7897 table.jPicker {
7898  border: 1px solid #bbb !important;
7899 }
7900 
7901 /* ============================================================================== */
7902 /* CSS style used for survey */
7903 /* ============================================================================== */
7904 
7905 .opensurveydescription * {
7906  width: 100%;
7907 }
7908 .imgopensurveywizard
7909 {
7910  padding: 0 4px 0 4px;
7911 }
7912 .survey_borders {
7913  margin-left: 100px;
7914  margin-right: 100px;
7915  text-align: start;
7916 }
7917 .survey_intro {
7918  background-color: #f0f0f0;
7919  padding: 15px;
7920  border-radius: 8px;
7921 }
7922 .survey_borders .resultats .nom {
7923  text-align: <?php echo $left; ?>
7924 }
7925 .survey_borders .resultats .sujet, .survey_borders .resultats .jour {
7926  min-width: 100px;
7927 }
7928 
7929 /* ============================================================================== */
7930 /* CSS style used for BookCal */
7931 /* ============================================================================== */
7932 
7933 .center.bookingtab {
7934  margin-left: 20px;
7935 }
7936 #bookinghoursection {
7937  width: 145px;
7938  height: 320px;
7939  overflow-y: auto;
7940  overflow-x: hidden;
7941  text-align: left;
7942 }
7943 .bookcalform {
7944  border: 1px solid #000;
7945  padding: 15px;
7946  border-radius: 5px;
7947  margin-bottom: 15px;
7948 }
7949 
7950 
7951 /* ============================================================================== */
7952 /* CSS style used for small screen */
7953 /* ============================================================================== */
7954 
7955 .topmenuimage {
7956  background-size: 22px auto;
7957  top: 2px;
7958 }
7959 @media only screen and (max-width: 768px)
7960 {
7961  .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
7962 
7963  .fiche > .listactionsfilter .table-fiche-title .col-title .titre {
7964  display: none;
7965  }
7966 
7967  .navselectiondate {
7968  width: 220px;
7969  }
7970 
7971  #tooltip {
7972  position: absolute;
7973  width: <?php print dol_size(350, 'width'); ?>px;
7974  }
7975 
7976  div.tabBar {
7977  padding-left: 0px;
7978  padding-right: 0px;
7979  -webkit-border-radius: 0;
7980  border-radius: 0px;
7981  border-right: none;
7982  border-left: none;
7983  }
7984 
7985  td.widthpictotitle { width: 30px; }
7986 
7987  .logopublicpayment #dolpaymentlogo {
7988  max-width: 260px;
7989  }
7990  #tablepublicpayment {
7991  width: auto !important;
7992  border: none !important;
7993  }
7994  .poweredbypublicpayment {
7995  float: unset !important;
7996  top: unset !important;
7997  /* bottom: 8px; */
7998  right: -10px !important;
7999  position: relative !important;
8000  }
8001  .poweredbyimg {
8002  width: 48px;
8003  }
8004 
8005  .survey_borders {
8006  margin-left: 10px;
8007  margin-right: 10px;
8008  text-align: start;
8009  }
8010 
8011  .bookcalform.boxtable .minwidth75 {
8012  min-width: auto;
8013  }
8014  .center.bookingtab {
8015  margin-left: 6px;
8016  }
8017  #bookinghoursection {
8018  font-size: small;
8019  width: 122px;
8020  }
8021 }
8022 
8023 @media only screen and (max-width: 1024px)
8024 {
8025  div#ecm-layout-west {
8026  width: calc(100% - 4px);
8027  clear: both;
8028  }
8029  div#ecm-layout-center {
8030  width: 100%;
8031  }
8032 }
8033 
8034 /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
8035 /* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
8036 @media only screen and (max-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC1') ? round($nbtopmenuentries * 90, 0) + 340 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC1; ?>px) /* reduction 1 */
8037 {
8038  div.tmenucenter {
8039  width: <?php echo round(52); ?>px; /* size of viewport */
8040  white-space: nowrap;
8041  overflow: hidden;
8042  text-overflow: ellipsis;
8043 
8044  color: var(--colortextbackhmenu);
8045  /* color: var(--colorbackhmenu1); */
8046  }
8047  .tmenuimage {
8048  color: var(--colortextbackhmenu);
8049  }
8050 
8051  .mainmenuaspan {
8052  font-size: 0.9em;
8053  padding-right: 0;
8054  padding-left: 0;
8055  }
8056  .topmenuimage {
8057  background-size: 22px auto;
8058  margin-top: 0px;
8059  }
8060 
8061  li.tmenu, li.tmenusel {
8062  min-width: 36px;
8063  }
8064  div.mainmenu {
8065  min-width: auto;
8066  }
8067  div.tmenuleft {
8068  display: none;
8069  }
8070 
8071  .dropdown dd ul {
8072  max-width: 370px;
8073  }
8074 }
8075 /* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again (<?php echo $nbtopmenuentries ?> menu entries) */
8076 @media only screen and (max-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC2') ? round($nbtopmenuentries * 69, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px) /* reduction 2 */
8077 {
8078  li.tmenucompanylogo {
8079  display: none;
8080  }
8081  div.mainmenu {
8082  height: 23px;
8083  }
8084  div.tmenucenter {
8085  max-width: <?php echo max(26, ceil(300 / ($nbtopmenuentriesreal + 2))); ?>px; /* size of viewport */
8086  text-overflow: clip;
8087  }
8088  span.mainmenuaspan {
8089  margin-left: 1px;
8090  }
8091  .mainmenuaspan {
8092  font-size: 0.9em;
8093  padding-left: 0;
8094  padding-right: 0;
8095  }
8096  .topmenuimage {
8097  background-size: 20px auto;
8098  margin-top: 2px;
8099  left: 4px;
8100  }
8101 
8102  .dropdown dd ul {
8103  max-width: 300px;
8104  }
8105 }
8106 /* rule to reduce top menu - 3rd reduction: The menu for user is on left */
8107 @media only screen and (max-width: <?php echo !getDolGlobalString('THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 : $conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px) /* reduction 3 */
8108 {
8109  <?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
8110  .tmenudiv .tmenulabel span.mainmenuaspan {
8111  display: none !important;
8112  }
8113  .tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider):before {
8114  margin-top: 8px !important;
8115  }
8116  <?php } ?>
8117 
8118  .side-nav {
8119  z-index: 200;
8120  background: var(--colorbackvmenu1);
8121  padding-top: 70px;
8122  }
8123  #id-left {
8124  z-index: 201;
8125  background: var(--colorbackvmenu1);
8126  }
8127  #id-right { /* This must stay id-right and not be replaced with echo $right */
8128  padding-top: 8px;
8129  }
8130 
8131  .login_vertical_align {
8132  padding-left: 20px;
8133  padding-right: 20px;
8134  }
8135 
8136  /* Reduce login top right info */
8137  .help {
8138  <?php if ($disableimages) { ?>
8139  display: none;
8140  <?php } ?>
8141  }
8142  div#tmenu_tooltip {
8143  <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
8144  display:none;
8145  <?php } else { ?>
8146  padding-<?php echo $right; ?>: 0;
8147  <?php } ?>
8148  }
8149  div.login_block_user {
8150  min-width: 0;
8151  width: 100%;
8152  }
8153  div.login_block a {
8154  color: unset;
8155  }
8156  div.login_block {
8157  /* Style when phone layout or when using the menuhider */
8158  padding-top: 10px;
8159  padding-left: 20px;
8160  padding-right: 20px;
8161  padding-bottom: 16px;
8162  top: auto;
8163  left: 0 !important;
8164  text-align: center;
8165  vertical-align: middle;
8166 
8167  background: var(--colorbackvmenu1);
8168 
8169  height: 50px;
8170 
8171  z-index: 202;
8172  min-width: 200px; /* must be width of menu + padding + padding of sidenav */
8173  max-width: 200px; /* must be width of menu + padding + padding of sidenav */
8174  width: 200px; /* must be width of menu + padding + padding of sidenav */
8175  }
8176  .loginbuttonexternal {
8177  width: 260px;
8178  }
8179  .side-nav-vert .user-menu .dropdown-menu {
8180  width: 234px !important;
8181  }
8182  div.login_block_other {
8183  margin-right: unset;
8184  }
8185  div.login_block_user, div.login_block_other { clear: both; }
8186  .atoplogin, .atoplogin:hover
8187  {
8188  color:unset !important;
8189  padding-left: 4px;
8190  padding-right: 4px;
8191  }
8192  .login_block_elem {
8193  padding: 0 !important;
8194  height: 38px;
8195  }
8196  li.tmenu, li.tmenusel {
8197  min-width: 32px;
8198  }
8199  div.mainmenu {
8200  height: 23px;
8201  }
8202  div.tmenucenter {
8203  text-overflow: clip;
8204  }
8205  .topmenuimage {
8206  background-size: 20px auto;
8207  margin-top: 2px !important;
8208  left: 2px;
8209  }
8210  div.mainmenu {
8211  min-width: 20px;
8212  }
8213 
8214  .titlefield {
8215  width: auto !important; /* We want to ignore the 30%, try to use more if you can */
8216  }
8217  .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
8218  /* max-width: 100px; */ /* but no more than 100px */
8219  }
8220  .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
8221  word-break: break-word;
8222  }
8223  .badge {
8224  min-width: auto;
8225  font-size: 0.94em;
8226  }
8227 
8228  table.table-fiche-title .col-title div.titre{
8229  line-height: unset;
8230  }
8231 
8232  input#addedfile {
8233  width: 95%;
8234  }
8235 
8236  #divbodywebsite {
8237  word-break: break-word;
8238  }
8239 
8240  .websiteselectionsection {
8241  border-left: unset;
8242  border-right: unset;
8243  padding-left: 5px;
8244  }
8245 
8246  .a-mesure, .a-mesure-disabled {
8247  display: block;
8248  margin-bottom: 6px;
8249  padding-left: 12px;
8250  padding-right: 12px;
8251  }
8252 
8253  .a-mesure, .a-mesure-disabled {
8254  text-align: center;
8255  }
8256 
8257 
8258  div.fichehalfright {
8259  margin-top: 30px;
8260  }
8261 
8262 
8263  .underbanner.underbanner-before-box {
8264  border-bottom: none;
8265  }
8266 
8267  .valuefield.fieldname_type span.badgeneutral {
8268  margin-top: 5px;
8269  display: inline-block;
8270  }
8271 
8272  tr.trextrafieldseparator td, tr.trextrafields_collapse_last td {
8273  /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
8274  border-bottom: 1px solid var(--colortopbordertitle1) !important;
8275  }
8276 
8277  div#card-errors {
8278  max-width: unset;
8279  }
8280 
8281  #dolpaymenttable {
8282  padding: 5px;
8283  }
8284 
8285  .lilevel1 span.paddingright {
8286  padding-right: 4px;
8287  }
8288 
8289  img.userphotopublicvcard {
8290  left: unset;
8291  top: unset;
8292  margin-top: 30px;
8293  }
8294 }
8295 
8296 @media only screen and (max-width: 320px)
8297 {
8298  .dropdown dd ul {
8299  max-width: 270px; /* must always be 50 slower than width */
8300  }
8301 }
8302 @media only screen and (max-width: 300px)
8303 {
8304  .dropdown dd ul {
8305  max-width: 250px;
8306  }
8307 }
8308 @media only screen and (max-width: 280px)
8309 {
8310  .dropdown dd ul {
8311  max-width: 230px;
8312  }
8313 }
8314 
8315 <?php
8316 if (getDolUserString('MAIN_OPTIMIZEFORTEXTBROWSER')) {
8317  // Set a max height on multiselect when using multiselect
8318  ?>
8319  select[multiple] {
8320  height: 42px;
8321  }
8322  <?php
8323 }
8324 
8325 
8326 include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
8327 include dol_buildpath($path.'/theme/'.$theme.'/emaillayout.inc.php', 0);
8328 include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
8329 include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
8330 include dol_buildpath($path.'/theme/'.$theme.'/timeline.inc.php', 0);
8331 
8332 
8333 // Add custom CSS if defined
8334 print getDolGlobalString('THEME_CUSTOM_CSS');
8335 
8336 ?>
8337 
8338 div.extra_inline_chkbxlst, div.extra_inline_checkbox {
8339  min-width:150px;
8340 }
8341 
8342 /* Must be at end */
8343 div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
8344  color: unset;
8345 
8346 }
print $langs trans("AuditedSecurityEvents").'</strong >< span class="opacitymedium"></span >< br > status
Or an array listing all the potential status of the object: array: int of the status => translated la...
Definition: security.php:607
print $object position
Definition: edit.php:195
pt($db, $sql, $date)
print function
Definition: index.php:108
price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerounding=-1, $currency_code='')
Function to format a value into an amount for visual output Function used into PDF and HTML pages.
getDolUserString($key, $default='', $tmpuser=null)
Return Dolibarr user constant string value.
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
dol_size($size, $type='')
Optimize a size for some browsers (phone, smarphone, ...)
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.
a disabled
td amount
Definition: global.inc.php:554
table table fiche title col title div col right btnTitle icon
Automatically calls the icon named with the corresponding "object_" prefix.
treeview li table
No Email.
table tableforfield button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
Definition: style.css.php:887
div float
Buy price without taxes.
Definition: style.css.php:960
padding inline start
Definition: style.css.php:864
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
Definition: repair.php:123
$conf db name
Only used if Module[ID]Name translation string is not found.
Definition: repair.php:126
$conf db user
Active Directory does not allow anonymous connections.
Definition: repair.php:127
print *****$script_file(".$version.") pid code
1: frais de port 2: ecotaxe 3: option line (when qty = 0)