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