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