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 
4999 
5000 /* ============================================================================== */
5001 /* For content of image preview */
5002 /* ============================================================================== */
5003 
5004 /*
5005 .ui-dialog-content.ui-widget-content > object {
5006  max-height: none;
5007  width: auto; margin-left: auto; margin-right: auto; display: block;
5008 }
5009 */
5010 
5011 
5012 /* ============================================================================== */
5013 /* Formulaire confirmation (When HTML is used) */
5014 /* ============================================================================== */
5015 
5016 table.valid {
5017  /* border-top: solid 1px #E6E6E6; */
5018  border-<?php print $left; ?>: solid 5px #f2cf87;
5019  /* border-<?php print $right; ?>: solid 1px #444444;
5020  border-bottom: solid 1px #555555; */
5021  padding-top: 8px;
5022  padding-left: 10px;
5023  padding-right: 4px;
5024  padding-bottom: 4px;
5025  margin: 0px 0px;
5026  background: var(--tablevalidbgcolor);
5027 }
5028 
5029 .validtitre {
5030  font-weight: bold;
5031 }
5032 
5033 
5034 /* ============================================================================== */
5035 /* Tooltips */
5036 /* ============================================================================== */
5037 
5038 /* For tooltip using dialog */
5039 .ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
5040  z-index: 3000;
5041 }
5042 
5043 div.ui-tooltip {
5044  max-width: <?php print dol_size(600, 'width'); ?>px !important;
5045 }
5046 div.ui-tooltip.mytooltip {
5047  border: none !important;
5048  padding: 10px 15px;
5049  border-radius: 4px;
5050  margin: 2px;
5051  font-stretch: condensed;
5052  -moz-box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5053  -webkit-box-shadow:0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5054  -o-box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5055  box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
5056  filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5);
5057  background: var(--tooltipbgcolor) !important;
5058  color: var(--tooltipfontcolor);
5059  line-height: 1.6em;
5060  min-width: 550px;
5061  pointer-events: none;
5062 }
5063 
5064 <?php
5065 if (!empty($conf->global->THEME_DARKMODEENABLED)) {
5066  print "/* For dark mode */\n";
5067  if ($conf->global->THEME_DARKMODEENABLED != 2) {
5068  print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
5069  } else {
5070  print "@media not print {";
5071  }
5072  ?>
5073  div.ui-tooltip.mytooltip {
5074  border: 1px solid #bbb !important;
5075  }
5076  <?php
5077  print '}';
5078 }
5079 ?>
5080 
5081 @media only screen and (max-width: 768px)
5082 {
5083  div.ui-tooltip.mytooltip {
5084  max-width: 400px;
5085  }
5086 }
5087 @media only screen and (max-width: 480px)
5088 {
5089  div.ui-tooltip.mytooltip {
5090  max-width: 300px;
5091  }
5092 }
5093 @media only screen and (max-width: 320px)
5094 {
5095  div.ui-tooltip.mytooltip {
5096  max-width: 230px;
5097  }
5098 }
5099 
5100 
5101 
5102 
5103 
5104 
5105 /* ============================================================================== */
5106 /* Calendar */
5107 /* ============================================================================== */
5108 
5109 /*div.divfordateinput img.ui-datepicker-trigger {
5110  float: left;
5111  display: inline-block;
5112  vertical-align: middle;
5113  padding-top: 10px;
5114 }
5115 .hasDatepicker {
5116  padding-bottom: 6px;
5117 }*/
5118 
5119 .ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
5120 .ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
5121 html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
5122 {
5123  border: unset;
5124 }
5125 
5126 img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
5127 
5128 .ui-datepicker-trigger {
5129  vertical-align: middle;
5130  cursor: pointer;
5131  padding-left: 2px;
5132  padding-right: 2px;
5133 }
5134 
5135 .bodyline {
5136  -webkit-border-radius: 8px;
5137  border-radius: 8px;
5138  border: 1px #E4ECEC outset;
5139  padding: 0px;
5140  margin-bottom: 5px;
5141 }
5142 table.dp {
5143  width: 180px;
5144  background-color: var(--inputbackgroundcolor);
5145  border-top: solid 2px #DDDDDD;
5146  border-<?php print $left; ?>: solid 2px #DDDDDD;
5147  border-<?php print $right; ?>: solid 1px #222222;
5148  border-bottom: solid 1px #222222;
5149  padding: 0px;
5150  border-spacing: 0px;
5151  border-collapse: collapse;
5152 }
5153 .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
5154 /* Barre titre */
5155 .dpHead,.tpHead,.tpHour td:Hover .tpHead{
5156  font-weight:bold;
5157  background-color:#b3c5cc;
5158  color:white;
5159  font-size:11px;
5160  cursor:auto;
5161 }
5162 /* Barre navigation */
5163 .dpButtons,.tpButtons {
5164  text-align:center;
5165  background-color:#617389;
5166  color:#FFFFFF;
5167  font-weight:bold;
5168  cursor:pointer;
5169 }
5170 .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
5171 .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
5172 .dpExplanation{ font-weight:normal; font-size:11px;}
5173 .dpWeek td{text-align:center}
5174 
5175 .dpToday,.dpReg,.dpSelected{
5176  cursor:pointer;
5177 }
5178 .dpToday{font-weight:bold; color:black; background-color:#DDDDDD;}
5179 .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
5180 
5181 /* Jour courant */
5182 .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
5183 
5184 .tpHour{border-top:1px solid #DDDDDD; border-right:1px solid #DDDDDD;}
5185 .tpHour td {border-left:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; cursor:pointer;}
5186 .tpHour td:Hover {background-color:black;color:white;}
5187 
5188 .tpMinute {margin-top:5px;}
5189 .tpMinute td:Hover {background-color:black; color:white; }
5190 .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
5191 
5192 /* Bouton X fermer */
5193 .dpInvisibleButtons
5194 {
5195  border-style:none;
5196  background-color:transparent;
5197  padding:0px;
5198  font-size: 0.85em;
5199  border-width:0px;
5200  color:#0B63A2;
5201  vertical-align:middle;
5202  cursor: pointer;
5203 }
5204 .datenowlink {
5205  color: var(--colortextlink);
5206  font-size: 0.8em;
5207  opacity: 0.7;
5208 }
5209 
5210 
5211 /* ============================================================================== */
5212 /* Show/Hide */
5213 /* ============================================================================== */
5214 
5215 div.visible {
5216  display: block;
5217 }
5218 
5219 div.hidden, header.hidden, tr.hidden, td.hidden, img.hidden, span.hidden, div.showifmore {
5220  display: none;
5221 }
5222 .unvisible {
5223  visibility: hidden;
5224 }
5225 tr.visible {
5226  display: block;
5227 }
5228 
5229 
5230 /* ============================================================================== */
5231 /* Module website */
5232 /* ============================================================================== */
5233 
5234 .previewnotyetavailable {
5235  opacity: 0.5;
5236 }
5237 
5238 .websiteformtoolbar {
5239  position: sticky;
5240  top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '32px' : '52px') : '0'; ?>;
5241  z-index: 1002; /* Dolibarr menu is 1001, Website menu is 1002 */
5242 }
5243 
5244 .exampleapachesetup {
5245  overflow-y: auto;
5246  height: 100px;
5247  font-size: 0.8em;
5248  border: 1px solid #aaa;
5249 }
5250 
5251 span[phptag] {
5252  background: #ddd; border: 1px solid #ccc; border-radius: 4px;
5253 }
5254 
5255 .nobordertransp {
5256  border: 0px;
5257  background-color: transparent;
5258  background-image: none;
5259 }
5260 .bordertransp {
5261  background-color: transparent;
5262  background-image: none;
5263  border: none;
5264  font-weight: normal;
5265 }
5266 .websitebar .button.bordertransp {
5267  color: unset;
5268  text-decoration: unset !important;
5269  margin: 0px 4px 0px 4px !important
5270 }
5271 
5272 .websitebar {
5273  border-bottom: 1px solid #ccc;
5274  background: #e6e6e6;
5275  display: inline-block;
5276  padding: 5px 5px 5px 5px;
5277  z-index: 1000;
5278 }
5279 .centpercent.websitebar {
5280  width: calc(100% - 10px);
5281  font-size: 0.94em;
5282 }
5283 .websitebar .buttonDelete, .websitebar .button {
5284  text-shadow: none;
5285 }
5286 .websitebar .button, .websitebar .buttonDelete
5287 {
5288  padding: 4px 5px 4px 5px !important;
5289  margin: 2px 4px 2px 4px !important;
5290 /* line-height: normal; */
5291  background: #f5f5f5 !important;
5292  border: 1px solid #ccc !important;
5293 }
5294 .websiteselection {
5295  /* display: inline-block; */
5296  padding-<?php echo $right; ?>: 10px;
5297  vertical-align: middle;
5298  line-height: 28px;
5299 }
5300 .websiteselectionsection {
5301  font-size: 0.85em;
5302 }
5303 .websiteselection span {
5304  vertical-align: middle;
5305 }
5306 .websitetools {
5307  float: right;
5308 }
5309 .websiteselection, .websitetools {
5310  /* margin-top: 3px;
5311  padding-top: 3px;
5312  padding-bottom: 3px; */
5313 }
5314 .websiteinputurl {
5315  display: inline-block;
5316  vertical-align: middle;
5317  line-height: 26px;
5318 }
5319 .websiteiframenoborder {
5320  border: 0px;
5321 }
5322 span.websiteselection span.select2.select2-container.select2-container--default {
5323  margin: 0 0 0 4px;
5324 }
5325 span.websitebuttonsitepreview, a.websitebuttonsitepreview {
5326  vertical-align: middle;
5327 }
5328 span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
5329  width: 26px;
5330  display: inline-block;
5331 }
5332 span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
5333  opacity: 0.2;
5334 }
5335 .websitehelp {
5336  vertical-align: middle;
5337  float: right;
5338  padding-top: 8px;
5339 }
5340 .websiteselectionsection {
5341  border-left: 1px solid #bbb;
5342  border-right: 1px solid #bbb;
5343  margin-left: 0px;
5344  padding-left: 8px;
5345  margin-right: 5px;
5346 }
5347 .websitebar input#previewpageurl {
5348  line-height: 1em;
5349 }
5350 
5351 .websitebar input.bordertransp {
5352  line-height: normal !important;
5353 }
5354 
5355 #divbodywebsite section p {
5356  margin: unset;
5357 }
5358 
5359 
5360 /* ============================================================================== */
5361 /* Module agenda */
5362 /* ============================================================================== */
5363 
5364 .dayevent .tagtr:first-of-type {
5365  height: 24px;
5366 }
5367 
5368 .agendacell { height: 60px; }
5369 table.cal_month { border-spacing: 0px; }
5370 table.cal_month td:first-child { border-left: 0px; }
5371 table.cal_month td:last-child { border-right: 0px; }
5372 table.cal_month td { padding-left: 1px !important; padding-right: 1px !important; }
5373 .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5374 .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5375 .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
5376 .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
5377 .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
5378 .cal_current_month_right { border-right: solid 1px #E0E0E0; }
5379 .cal_other_month_right { border-right: solid 1px #C0C0C0; }
5380 .cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5381 .cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5382 .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; }
5383 .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; }
5384 .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; }
5385 .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; }
5386 .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; }
5387 .cal_past { }
5388 .cal_peruser { padding-top: 0 !important; padding-bottom: 0 !important; padding-<?php print $left; ?>: 1px !important; padding-<?php print $right; ?>: 1px !important; }
5389 .cal_impair {
5390  background: linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5391  background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5392  background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5393  background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
5394 }
5395 .cal_today_peruser_impair { background: #F8F8F0; }
5396 .peruser_busy { }
5397 .peruser_notbusy { opacity: 0.5; }
5398 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); }
5399 table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; min-height: 20px; filter: saturate(0.8); border-radius: 3px; }
5400 table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
5401 table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
5402 table.cal_event td.cal_event_right { padding: 4px 4px !important; }
5403 .cal_event { font-size: 1em; }
5404 .cal_event a:link { color: #111111; font-weight: normal !important; }
5405 .cal_event a:visited { color: #111111; font-weight: normal !important; }
5406 .cal_event a:active { color: #111111; font-weight: normal !important; }
5407 .cal_event_notbusy a.cal_event_title:hover { color: #111111; font-weight: normal !important; }
5408 .cal_event_busy { }
5409 .cal_peruserviewname { max-width: 140px; height: 30px !important; }
5410 .cal_event span.badge.badge-status { border: 1px solid #aaa; }
5411 table.cal_month tr td table.nobordernopadding tr td { padding: 0 2px 0 2px; }
5412 table.cal_month tr.liste_titre td.tdfordaytitle { min-width: 120px; }
5413 a.dayevent-aday {
5414  padding-left: 8px;
5415 }
5416 
5417 .calendarviewcontainertr { height: 100px; }
5418 
5419 td.cal_other_month {
5420  opacity: 0.8;
5421 }
5422 
5423 
5424 
5425 /* ============================================================================== */
5426 /* Ajax - Combo list for autocompletion */
5427 /* ============================================================================== */
5428 
5429 .ui-widget-content {
5430  border: solid 1px rgba(0,0,0,.3);
5431  background: var(--colorbackbody) !important;
5432  color: var(--colortext) !important;
5433 }
5434 /*.ui-widget-header {
5435  background: var(--colorbacktitle);
5436 }*/
5437 
5438 .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat; }
5439 .ui-autocomplete {
5440  position:absolute;
5441  width:auto;
5442  font-size: 1.0em;
5443  background-color: var(--inputbackgroundcolor);
5444  border:1px solid #888;
5445  margin:0px;
5446 /* padding:0px; This make combo crazy */
5447  }
5448 .ui-autocomplete ul {
5449  list-style-type:none;
5450  margin:0px;
5451  padding:0px;
5452  }
5453 .ui-autocomplete ul li.selected { background-color: var(--inputbackgroundcolor);}
5454 .ui-autocomplete ul li {
5455  list-style-type:none;
5456  display:block;
5457  margin:0;
5458  padding:2px;
5459  height:18px;
5460  cursor:pointer;
5461  }
5462 
5463 
5464 /* ============================================================================== */
5465 /* jQuery - jeditable for inline edit */
5466 /* ============================================================================== */
5467 
5468 .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
5469  background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
5470  cursor: pointer;
5471  margin-right: 3px;
5472  margin-top: 3px;
5473 }
5474 
5475 .editkey_datepicker {
5476  background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
5477  margin-right: 3px;
5478  cursor: pointer;
5479  margin-right: 3px;
5480  margin-top: 3px;
5481 }
5482 
5483 .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 {
5484  background: white;
5485  cursor: pointer;
5486 }
5487 
5488 .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 {
5489  background: white;
5490  cursor: pointer;
5491 }
5492 
5493 .viewval_hover {
5494  background: white;
5495 }
5496 
5497 
5498 /* ============================================================================== */
5499 /* Admin Menu */
5500 /* ============================================================================== */
5501 
5502 /* CSS for treeview */
5503 .treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
5504 .treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
5505 .treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
5506 .treeview li table { min-height: 30px; }
5507 .treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
5508 
5509 
5510 /* ============================================================================== */
5511 /* Show Excel tabs */
5512 /* ============================================================================== */
5513 
5514 .table_data
5515 {
5516  border-style:ridge;
5517  border:1px solid;
5518 }
5519 .tab_base
5520 {
5521  background:#C5D0DD;
5522  font-weight:bold;
5523  border-style:ridge;
5524  border: 1px solid;
5525  cursor:pointer;
5526 }
5527 .table_sub_heading
5528 {
5529  background:#CCCCCC;
5530  font-weight:bold;
5531  border-style:ridge;
5532  border: 1px solid;
5533 }
5534 .table_body
5535 {
5536  background:#F0F0F0;
5537  font-weight:normal;
5538  font-family:sans-serif;
5539  border-style:ridge;
5540  border: 1px solid;
5541  border-spacing: 0px;
5542  border-collapse: collapse;
5543 }
5544 .tab_loaded
5545 {
5546  background:#222222;
5547  color:white;
5548  font-weight:bold;
5549  border-style:groove;
5550  border: 1px solid;
5551  cursor:pointer;
5552 }
5553 
5554 
5555 /* ============================================================================== */
5556 /* CSS for color picker */
5557 /* ============================================================================== */
5558 
5559 A.color, A.color:active, A.color:visited {
5560  position : relative;
5561  display : block;
5562  text-decoration : none;
5563  width : 10px;
5564  height : 10px;
5565  line-height : 10px;
5566  margin : 0px;
5567  padding : 0px;
5568  border : 1px inset white;
5569 }
5570 A.color:hover {
5571  border : 1px outset white;
5572 }
5573 A.none, A.none:active, A.none:visited, A.none:hover {
5574  position : relative;
5575  display : block;
5576  text-decoration : none;
5577  width : 10px;
5578  height : 10px;
5579  line-height : 10px;
5580  margin : 0px;
5581  padding : 0px;
5582  cursor : default;
5583  border : 1px solid #b3c5cc;
5584 }
5585 .tblColor {
5586  display : none;
5587 }
5588 .tdColor {
5589  padding : 1px;
5590 }
5591 .tblContainer {
5592  background-color : #b3c5cc;
5593 }
5594 .tblGlobal {
5595  position : absolute;
5596  top : 0px;
5597  left : 0px;
5598  display : none;
5599  background-color : #b3c5cc;
5600  border : 2px outset;
5601 }
5602 .tdContainer {
5603  padding : 5px;
5604 }
5605 .tdDisplay {
5606  width : 50%;
5607  height : 20px;
5608  line-height : 20px;
5609  border : 1px outset white;
5610 }
5611 .tdDisplayTxt {
5612  width : 50%;
5613  height : 24px;
5614  line-height : 12px;
5615  font-family : <?php print $fontlist ?>;
5616  font-size : 8pt;
5617  color : black;
5618  text-align : center;
5619 }
5620 .btnColor {
5621  width : 100%;
5622  font-family : <?php print $fontlist ?>;
5623  font-size : 10pt;
5624  padding : 0px;
5625  margin : 0px;
5626 }
5627 .btnPalette {
5628  width : 100%;
5629  font-family : <?php print $fontlist ?>;
5630  font-size : 8pt;
5631  padding : 0px;
5632  margin : 0px;
5633 }
5634 
5635 
5636 /* Style to overwrites JQuery styles */
5637 .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
5638  border: 1px solid #888;
5639  background: var(--colorbacktitle1);
5640  color: unset;
5641 }
5642 
5643 .ui-menu .ui-menu-item a {
5644  text-decoration:none;
5645  display:block;
5646  padding:.2em .4em;
5647  line-height:1.5;
5648  font-weight: normal;
5649  font-family:<?php echo $fontlist; ?>;
5650  font-size:1em;
5651 }
5652 .ui-widget {
5653  font-family:<?php echo $fontlist; ?>;
5654 }
5655 /* .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> } */
5656 .ui-button { margin-left: -2px; }
5657 .ui-button-icon-only .ui-button-text { height: 8px; }
5658 .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
5659 .ui-button-text
5660 {
5661  line-height: 1em !important;
5662 }
5663 .ui-autocomplete-input { margin: 0; padding: 4px; }
5664 
5665 
5666 /* ============================================================================== */
5667 /* CKEditor */
5668 /* ============================================================================== */
5669 
5670 body.cke_show_borders {
5671  margin: 5px !important;
5672 }
5673 
5674 .cke_dialog {
5675  border: 1px #bbb solid ! important;
5676 }
5677 /*.cke_editor table, .cke_editor tr, .cke_editor td
5678 {
5679  border: 0px solid #FF0000 !important;
5680 }
5681 span.cke_skin_kama { padding: 0 !important; }*/
5682 .cke_wrapper { padding: 4px !important; }
5683 a.cke_dialog_ui_button
5684 {
5685  font-family: <?php print $fontlist ?> !important;
5686  background-image: url(<?php echo $img_button ?>) !important;
5687  background-position: bottom !important;
5688  border: 1px solid #C0C0C0 !important;
5689  -webkit-border-radius:0px 5px 0px 5px !important;
5690  border-radius:0px 5px 0px 5px !important;
5691  -webkit-box-shadow: 3px 3px 4px #DDD !important;
5692  box-shadow: 3px 3px 4px #DDD !important;
5693 }
5694 .cke_dialog_ui_hbox_last
5695 {
5696  vertical-align: bottom !important;
5697 }
5698 .cke_dialog_ui_hbox_first {
5699  vertical-align: middle !important;
5700 }
5701 .cke_combo_text {
5702  width: 40px !important;
5703 }
5704 /*
5705 .cke_editable
5706 {
5707  line-height: 1.4 !important;
5708  margin: 6px !important;
5709 }
5710 */
5711 a.cke_dialog_ui_button_ok span {
5712  text-shadow: none !important;
5713  color: #333 !important;
5714 }
5715 
5716 
5717 /* ============================================================================== */
5718 /* ACE editor */
5719 /* ============================================================================== */
5720 .ace_editor {
5721  border: 1px solid #ddd;
5722  margin: 0;
5723 }
5724 .aceeditorstatusbar {
5725  margin: 0;
5726  padding: 0;
5727  padding-<?php echo $left; ?>: 10px;
5728  left: 0;
5729  right: 0;
5730  bottom: 0;
5731  background-color: #ebebeb;
5732  height: 28px;
5733  line-height: 2.2em;
5734 }
5735 .ace_status-indicator {
5736  color: gray;
5737  position: relative;
5738  right: 0;
5739  border-left: 1px solid;
5740 }
5741 pre#editfilecontentaceeditorid {
5742  margin-top: 5px;
5743 }
5744 
5745 
5746 /* ============================================================================== */
5747 /* File upload */
5748 /* ============================================================================== */
5749 
5750 .template-upload {
5751  height: 72px !important;
5752 }
5753 
5754 
5755 /* ============================================================================== */
5756 /* Custom reports */
5757 /* ============================================================================== */
5758 
5759 .customreportsoutput, .customreportsoutputnotdata {
5760  padding-top: 20px;
5761 }
5762 .customreportsoutputnotdata {
5763  text-align: center;
5764 }
5765 
5766 
5767 /* ============================================================================== */
5768 /* Holiday */
5769 /* ============================================================================== */
5770 
5771 #types .btn {
5772  cursor: pointer;
5773 }
5774 
5775 #types .btn-primary {
5776  font-weight: bold;
5777 }
5778 
5779 #types form {
5780  padding: 20px;
5781 }
5782 
5783 #types label {
5784  display:inline-block;
5785  width:100px;
5786  margin-right: 20px;
5787  padding: 4px;
5788  text-align: right;
5789  vertical-align: top;
5790 }
5791 
5792 #types input.text, #types textarea {
5793  width: 400px;
5794 }
5795 
5796 #types textarea {
5797  height: 100px;
5798 }
5799 
5800 
5801 /* ============================================================================== */
5802 /* Comments */
5803 /* ============================================================================== */
5804 
5805 #comment div {
5806  box-sizing:border-box;
5807 }
5808 #comment .comment {
5809  border-radius:7px;
5810  margin-bottom:10px;
5811  overflow:hidden;
5812 }
5813 #comment .comment-table {
5814  display:table;
5815  height:100%;
5816 }
5817 #comment .comment-cell {
5818  display:table-cell;
5819 }
5820 #comment .comment-info {
5821  font-size:0.8em;
5822  border-right:1px solid #dedede;
5823  margin-right:10px;
5824  width:160px;
5825  text-align:center;
5826  background:rgba(255,255,255,0.5);
5827  vertical-align:middle;
5828  padding:10px 2px;
5829 }
5830 #comment .comment-info a {
5831  color:inherit;
5832 }
5833 #comment .comment-right {
5834  vertical-align:top;
5835 }
5836 #comment .comment-description {
5837  padding:10px;
5838  vertical-align:top;
5839 }
5840 #comment .comment-delete {
5841  width: 100px;
5842  text-align:center;
5843  vertical-align:middle;
5844 }
5845 #comment .comment-delete:hover {
5846  background:rgba(250,20,20,0.8);
5847 }
5848 #comment .comment-edit {
5849  width: 100px;
5850  text-align:center;
5851  vertical-align:middle;
5852 }
5853 #comment .comment-edit:hover {
5854  background:rgba(0,184,148,0.8);
5855 }
5856 #comment textarea {
5857  width: 100%;
5858 }
5859 
5860 
5861 
5862 /* ============================================================================== */
5863 /* JSGantt */
5864 /* ============================================================================== */
5865 
5866 div.scroll2 {
5867  width: <?php print isset($_SESSION['dol_screenwidth']) ?max((int) $_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
5868 }
5869 
5870 div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
5871  line-height: 2;
5872 }
5873 
5874 .gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
5875  font-size: unset !important;
5876 }
5877 
5878 div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
5879  font-size: unset !important;
5880  font-weight: normal !important;
5881  color: #000 !important;
5882 }
5883 div.gTaskInfo {
5884  background: #f0f0f0 !important;
5885 }
5886 .gtaskblue {
5887  background: rgb(108,152,185) !important;
5888 }
5889 .gtaskgreen {
5890  background: rgb(160,173,58) !important;
5891 }
5892 td.gtaskname {
5893  overflow: hidden;
5894  text-overflow: ellipsis;
5895 }
5896 td.gminorheadingwkend {
5897  color: #888 !important;
5898 }
5899 td.gminorheading {
5900  color: #666 !important;
5901 }
5902 .glistlbl, .glistgrid {
5903  width: 582px !important;
5904 }
5905 /*.gtaskname div, .gtaskname {
5906  min-width: 250px !important;
5907  max-width: 250px !important;
5908  width: 250px !important;
5909 }*/
5910 .gtaskname div, .gtaskname {
5911  min-width: 250px !important;
5912  max-width: unset !important;
5913  width: unset !important;
5914 }
5915 .gpccomplete div, .gpccomplete {
5916  min-width: 40px !important;
5917  max-width: 40px !important;
5918  width: 40px !important;
5919 }
5920 td.gtaskheading.gstartdate, td.gtaskheading.genddate {
5921  white-space: break-spaces;
5922 }
5923 .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) {
5924  color: transparent !important;
5925  border-left: none;
5926  border-right: none;
5927  border-top: none;
5928 }
5929 
5930 /* ============================================================================== */
5931 /* jFileTree */
5932 /* ============================================================================== */
5933 
5934 .ecmfiletree {
5935  width: 99%;
5936  height: 99%;
5937  padding-left: 2px;
5938  font-weight: normal;
5939 }
5940 
5941 .fileview {
5942  width: 99%;
5943  height: 99%;
5944  background: #FFF;
5945  padding-left: 2px;
5946  padding-top: 4px;
5947  font-weight: normal;
5948 }
5949 
5950 div.filedirelem {
5951  position: relative;
5952  display: block;
5953  text-decoration: none;
5954 }
5955 
5956 ul.filedirelem {
5957  padding: 2px;
5958  margin: 0 5px 5px 5px;
5959 }
5960 ul.filedirelem li {
5961  list-style: none;
5962  padding: 2px;
5963  margin: 0 10px 20px 10px;
5964  width: 160px;
5965  height: 120px;
5966  text-align: center;
5967  display: block;
5968  float: <?php print $left; ?>;
5969  border: solid 1px #DDDDDD;
5970 }
5971 
5972 ul.ecmjqft {
5973  line-height: 32px;
5974  padding: 0px;
5975  margin: 0px;
5976  font-weight: normal;
5977 }
5978 
5979 ul.ecmjqft li {
5980  list-style: none;
5981  padding: 0px;
5982  padding-left: 20px;
5983  margin: 0px;
5984  white-space: nowrap;
5985  display: block;
5986 }
5987 
5988 ul.ecmjqft a {
5989  line-height: 24px;
5990  vertical-align: middle;
5991  color: unset;
5992  padding: 0px 0px;
5993  font-weight:normal;
5994  display: inline-block !important;
5995 }
5996 ul.ecmjqft > a {
5997  width: calc(100% - 100px);
5998  overflow: hidden;
5999  white-space: break-spaces;
6000  word-break: break-all;
6001 }
6002 ul.ecmjqft a:active {
6003  font-weight: bold !important;
6004 }
6005 ul.ecmjqft a:hover {
6006  text-decoration: underline;
6007 }
6008 div.ecmjqft {
6009  vertical-align: middle;
6010  display: inline-block !important;
6011  text-align: right;
6012  float: right;
6013  right:4px;
6014  clear: both;
6015 }
6016 #ecm-layout-north {
6017  min-height: 40px;
6018 }
6019 #ecm-layout-north div.attachareaformuserfileecm {
6020  padding-bottom: 0px;
6021 }
6022 div#ecm-layout-west {
6023  width: 380px;
6024  vertical-align: top;
6025 }
6026 div#ecm-layout-center {
6027  width: calc(100% - 390px);
6028  vertical-align: top;
6029  float: right;
6030 }
6031 
6032 .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; }
6033 .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; }
6034 .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
6035 
6036 
6037 /* ============================================================================== */
6038 /* jNotify */
6039 /* ============================================================================== */
6040 
6041 .jnotify-container {
6042  position: fixed !important;
6043 <?php if (!empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
6044  top: auto !important;
6045  bottom: 4px !important;
6046 <?php } ?>
6047  text-align: center;
6048  min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
6049  width: auto;
6050  max-width: 1024px;
6051  padding-left: 10px !important;
6052  padding-right: 10px !important;
6053  word-wrap: break-word;
6054 }
6055 .jnotify-container .jnotify-notification .jnotify-message {
6056  font-weight: normal;
6057  text-align: start;
6058  word-break: break-word;
6059 }
6060 .jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
6061  color: #a28918 !important;
6062 }
6063 
6064 /* use or not ? */
6065 div.jnotify-background {
6066  opacity : 0.95 !important;
6067  -webkit-box-shadow: 2px 2px 4px #888 !important;
6068  box-shadow: 2px 2px 4px #888 !important;
6069 }
6070 
6071 /* ============================================================================== */
6072 /* blockUI */
6073 /* ============================================================================== */
6074 
6075 /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
6076 div.dolEventValid h1, div.dolEventValid h2 {
6077  color: #567b1b;
6078  background-color: #e3f0db;
6079  padding: 5px 5px 5px 5px;
6080  text-align: left;
6081 }
6082 div.dolEventError h1, div.dolEventError h2 {
6083  color: #a72947;
6084  background-color: #d79eac;
6085  padding: 5px 5px 5px 5px;
6086  text-align: left;
6087 }
6088 
6089 /* ============================================================================== */
6090 /* Maps */
6091 /* ============================================================================== */
6092 
6093 .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
6094 }
6095 
6096 
6097 /* ============================================================================== */
6098 /* Datatable */
6099 /* ============================================================================== */
6100 
6101 table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
6102  background: none !important;
6103 }
6104 .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
6105 .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
6106 .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
6107 .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
6108 .dataTables_paginate {
6109  margin-top: 8px;
6110 }
6111 .paginate_button_disabled {
6112  opacity: 1 !important;
6113  color: #888 !important;
6114  cursor: default !important;
6115 }
6116 .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
6117 {
6118  font-weight: normal;
6119 }
6120 .paginate_enabled_previous:hover, .paginate_enabled_next:hover
6121 {
6122  text-decoration: underline !important;
6123 }
6124 .paginate_active
6125 {
6126  text-decoration: underline !important;
6127 }
6128 .paginate_button
6129 {
6130  font-weight: normal !important;
6131  text-decoration: none !important;
6132 }
6133 .paging_full_numbers {
6134  height: inherit !important;
6135 }
6136 .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
6137  background-color: var(--colorbackbody) !important;
6138 }
6139 .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
6140  background-color: var(--colorbackbody) !important;
6141  border-radius: inherit !important;
6142 }
6143 .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
6144  background-color: var(--colorbackbody) !important;
6145 }
6146 .paginate_button, .paginate_active {
6147  border: 1px solid #ddd !important;
6148  padding: 6px 12px !important;
6149  margin-left: -1px !important;
6150  line-height: 1.42857143 !important;
6151  margin: 0 0 !important;
6152 }
6153 
6154 /* For jquery plugin combobox */
6155 /* Disable this. It breaks wrapping of boxes
6156 .ui-corner-all { white-space: nowrap; } */
6157 
6158 .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
6159  opacity: .35;
6160  background-image: none;
6161 }
6162 
6163 div.dataTables_length {
6164  float: right !important;
6165  padding-left: 8px;
6166 }
6167 div.dataTables_length select {
6168  background: #fff;
6169 }
6170 .dataTables_wrapper .dataTables_paginate {
6171  padding-top: 0px !important;
6172 }
6173 
6174 /* ============================================================================== */
6175 /* Select2 */
6176 /* ============================================================================== */
6177 
6178 span.select2-selection--single.flat[aria-disabled="true"] span.select2-selection__rendered {
6179  opacity: 0.5;
6180 }
6181 
6182 span#select2-taskid-container[title^='--'] {
6183  opacity: 0.3;
6184 }
6185 
6186 .select2-container--default .select2-results__option--highlighted[aria-selected] {
6187  background-color: var(--colorbackhmenu1);
6188  color: var(--colortextbackhmenu);
6189 }
6190 .select2-container--default .select2-results__option--highlighted[aria-selected] span {
6191  color: #fff !important;
6192 }
6193 
6194 span.select2.select2-container.select2-container--default {
6195  text-align: initial;
6196  <?php if (empty($conf->global->THEME_SHOW_BORDER_ON_INPUT)) { ?>
6197  border-left: none;
6198  border-top: none;
6199  border-right: none;
6200  <?php } ?>
6201 }
6202 span.select2.select2-container.select2-container--default {
6203  <?php if (empty($conf->global->THEME_SHOW_BORDER_ON_INPUT)) { ?>
6204  /*border-bottom: solid 1px var(--inputbordercolor);*/
6205  <?php } ?>
6206 }
6207 
6208 input.select2-input {
6209  border-bottom: none ! important;
6210 }
6211 .select2-choice {
6212  border: none;
6213  border-bottom: solid 1px var(--inputbordercolor) !important; /* required to avoid to lose bottom line when focus is lost on select2. */
6214 }
6215 .select2-results .select2-highlighted.optionblue {
6216  color: #FFF !important;
6217 }
6218 .select2-container .select2-selection--multiple {
6219  min-height: 28px !important;
6220 }
6221 .select2-container--default .select2-selection--multiple .select2-selection__choice {
6222  margin-top: 5px !important;
6223  border: none;
6224 }
6225 .select2-container--focus span.select2-selection.select2-selection--single {
6226  border-bottom: 1px solid var(--inputbordercolor) !important;
6227  border-bottom-left-radius: 0;
6228  border-bottom-right-radius: 0;
6229 }
6230 
6231 .blockvmenusearch .select2-container--default .select2-selection--single,
6232 .blockvmenubookmarks .select2-container--default .select2-selection--single
6233 {
6234  background-color: var(--colorbackvmenu1);
6235 }
6236 .select2-container--default .select2-selection--single {
6237  background-color: var(--inputbackgroundcolor);
6238 }
6239 #blockvmenusearch .select2-container--default .select2-selection--single .select2-selection__placeholder {
6240  color: var(--colortextbackvmenu);
6241 }
6242 .select2-container--default .select2-selection--single .select2-selection__rendered {
6243  color: var(--colortext);
6244  /* background-color: var(--inputbackgroundcolor); */
6245 }
6246 .select2-default {
6247  color: #999 !important;
6248 }
6249 .select2-choice, .select2-container .select2-choice {
6250  border-bottom: solid 1px rgba(0,0,0,.4);
6251 }
6252 .select2-container .select2-choice > .select2-chosen {
6253  margin-right: 23px;
6254 }
6255 .select2-container .select2-choice .select2-arrow {
6256  border-radius: 0;
6257  background: transparent;
6258 }
6259 .select2-container-multi .select2-choices {
6260  background-image: none;
6261 }
6262 .select2-container .select2-choice {
6263  color: var(--colortext);
6264  border-radius: 0;
6265 }
6266 .selectoptiondisabledwhite {
6267  background: #FFFFFF !important;
6268 }
6269 .select2-arrow {
6270  border: none;
6271  border-left: none !important;
6272  background: none !important;
6273 }
6274 .select2-choice
6275 {
6276  border-top: none !important;
6277  border-left: none !important;
6278  border-right: none !important;
6279 }
6280 .select2-drop.select2-drop-above {
6281  box-shadow: none !important;
6282 }
6283 .select2-container--open .select2-dropdown--above {
6284  border-bottom: solid 1px var(--inputbordercolor);
6285 }
6286 .select2-drop.select2-drop-above.select2-drop-active {
6287  border-top: 1px solid #ccc;
6288  border-bottom: solid 1px var(--inputbordercolor);
6289 }
6290 .select2-container--default .select2-selection--single
6291 {
6292  outline: none;
6293  <?php if (empty($conf->global->THEME_SHOW_BORDER_ON_INPUT)) { ?>
6294  border-top: none;
6295  border-left: none;
6296  border-right: none;
6297  <?php } ?>
6298 
6299  border<?php echo empty($conf->global->THEME_SHOW_BORDER_ON_INPUT) ? '-bottom' : ''; ?>: solid 1px var(--inputbordercolor);
6300 
6301  -webkit-box-shadow: none !important;
6302  box-shadow: none !important;
6303  border-radius: 3px;
6304 }
6305 .select2-container--focus .select2-container--default .select2-selection--single {
6306  border-bottom-left-radius: 0;
6307  border-bottom-right-radius: 0;
6308 }
6309 .select2-container--default.select2-container--focus .select2-selection--multiple {
6310  border-top: none;
6311  border-left: none;
6312  border-right: none;
6313  border-bottom-left-radius: 0;
6314  border-bottom-right-radius: 0;
6315 }
6316 .select2-container--default .select2-selection--multiple {
6317  border-bottom: solid 1px var(--inputbordercolor);
6318  border-top: none;
6319  border-left: none;
6320  border-right: none;
6321  border-radius: 3px;
6322  background: var(--inputbackgroundcolor);
6323  line-height: normal;
6324 }
6325 .select2-container--default .select2-selection--multiple .select2-selection__rendered {
6326  line-height: 1.4em;
6327 }
6328 .select2-container--default .select2-selection--multiple .select2-selection__choice {
6329  background-color: #ddd;
6330  margin-top: 4px !important;
6331 }
6332 .select2-selection--multiple input.select2-search__field {
6333  border-bottom: none !important;
6334 }
6335 
6336 .select2-search__field
6337 {
6338  outline: none;
6339  border-top: none !important;
6340  border-left: none !important;
6341  border-right: none !important;
6342  border-bottom: solid 1px var(--inputbordercolor) !important;
6343  -webkit-box-shadow: none !important;
6344  box-shadow: none !important;
6345  border-radius: 0 !important;
6346  /* color: black; */
6347 }
6348 .select2-container-active .select2-choice, .select2-container-active .select2-choices
6349 {
6350  outline: none;
6351  border-top: none;
6352  border-left: none;
6353  border-bottom: none;
6354  -webkit-box-shadow: none !important;
6355  box-shadow: none !important;
6356 }
6357 .select2-dropdown {
6358  /*background-color: var(--colorbackvmenu1);
6359  border: 1px solid var(--colorbackvmenu1); */
6360  box-shadow: 1px 2px 10px var(--colorbackvmenu1);
6361  background-color: var(--colorbackbody);
6362  color: var(--colortext);
6363 }
6364 .select2-dropdown-open {
6365  background-color: var(--colorbackvmenu1);
6366 }
6367 .select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
6368 {
6369  outline: none;
6370  border-top: none;
6371  border-left: none;
6372  border-bottom: none;
6373  -webkit-box-shadow: none !important;
6374  box-shadow: none !important;
6375  background-color: var(--colorbackvmenu1);
6376 }
6377 .select2-disabled
6378 {
6379  color: #888;
6380 }
6381 .select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
6382  border-radius: 0;
6383 }
6384 .select2-drop.select2-drop-above {
6385  border-radius: 0;
6386 }
6387 .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
6388  background-image: none;
6389  border-radius: 0 !important;
6390 }
6391 div.select2-drop-above
6392 {
6393  background: var(--colorbackvmenu1);
6394  -webkit-box-shadow: none !important;
6395  box-shadow: none !important;
6396 }
6397 .select2-drop-active
6398 {
6399  border: 1px solid #ccc;
6400  padding-top: 4px;
6401 }
6402 .select2-search input {
6403  border: none;
6404 }
6405 a span.select2-chosen
6406 {
6407  font-weight: normal !important;
6408 }
6409 .select2-container .select2-choice {
6410  background-image: none;
6411  /* line-height: 24px; */
6412 }
6413 .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
6414 {
6415  background: var(--colorbackvmenu1);
6416 }
6417 .select2-results {
6418  max-height: 400px;
6419 }
6420 .select2-results__option {
6421  word-break: break-word;
6422  text-align: <?php echo $left; ?>;
6423 }
6424 .select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
6425  background-color: var(--colorbackvmenu1);
6426  background-image: none;
6427  border: none;
6428  cursor: default;
6429 }
6430 .select2-container-disabled .select2-choice .select2-arrow b {
6431  opacity: 0.4;
6432 }
6433 .select2-container-multi .select2-choices .select2-search-choice {
6434  margin-bottom: 3px;
6435 }
6436 .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
6437 .select2-container-multi.select2-container-active .select2-choices
6438 {
6439  border-bottom: 1px solid #ccc;
6440  border-right: none;
6441  border-top: none;
6442  border-left: none;
6443 
6444 }
6445 .select2-container--default .select2-results>.select2-results__options{
6446  max-height: 400px;
6447 }
6448 
6449 /* Special case for the select2 add widget */
6450 #addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
6451  text-align: <?php echo $left; ?>;
6452  opacity: 0.4;
6453 }
6454 .select2-container--default .select2-selection--single .select2-selection__placeholder {
6455  color: var(--colortext);
6456  opacity: 0.4;
6457 }
6458 span#select2-boxbookmark-container, span#select2-boxcombo-container {
6459  text-align: <?php echo $left; ?>;
6460 }
6461 span#select2-boxbookmark-container {
6462  opacity: 0.4;
6463 }
6464 .select2-container .select2-selection--single .select2-selection__rendered {
6465  padding-left: 6px;
6466 }
6467 /* Style used before the select2 js is executed on boxcombo */
6468 #boxbookmark.boxcombo, #boxcombo.boxcombo {
6469  text-align: left;
6470  opacity: 0.4;
6471  border-bottom: solid 1px rgba(0,0,0,.4) !important;
6472  height: 26px;
6473  line-height: 24px;
6474  padding: 0 0 2px 0;
6475  vertical-align: top;
6476 }
6477 
6478 /* To emulate select 2 style */
6479 .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
6480  padding: 3px 5px 2px 5px;
6481  margin: 0 0 2px 3px;
6482  position: relative;
6483  line-height: 13px;
6484  color: #333;
6485  cursor: default;
6486  border: 1px solid #aaaaaa;
6487  border-radius: 3px;
6488  -webkit-box-shadow: 0 0 2px var(--inputbackgroundcolor) inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6489  box-shadow: 0 0 2px var(--inputbackgroundcolor) inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6490  background-clip: padding-box;
6491  -webkit-touch-callout: none;
6492  -webkit-user-select: none;
6493  -moz-user-select: none;
6494  -ms-user-select: none;
6495  user-select: none;
6496  background-color: var(--inputbackgroundcolor);
6497  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));
6498  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6499  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6500  background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6501 }
6502 .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
6503  font-weight: normal;
6504 }
6505 .select2-container-multi-dolibarr .select2-choices-dolibarr li {
6506  float: left;
6507  list-style: none;
6508 }
6509 .select2-container-multi-dolibarr .select2-choices-dolibarr {
6510  height: auto !important;
6511  height: 1%;
6512  margin: 0;
6513  padding: 0 5px 0 0;
6514  position: relative;
6515  cursor: text;
6516  overflow: hidden;
6517 }
6518 
6519 ul.select2-results__options li {
6520  font-size: 0.95em;
6521 }
6522 
6523 select.multiselectononeline {
6524  padding: 0;
6525  vertical-align: middle;
6526  min-height: unset;
6527  height: 28px !important;
6528  opacity: 0;
6529  /* width: 1px !important; */
6530 }
6531 
6532 @media only screen and (min-width: 767px)
6533 {
6534  /* CSS to have the dropdown boxes larger that the input search area */
6535  .select2-container.select2-container--open .select2-dropdown.ui-dialog {
6536  min-width: 220px !important;
6537  }
6538  .select2-container.select2-container--open .select2-dropdown--below,
6539  .select2-container.select2-container--open .select2-dropdown--above {
6540  min-width: 220px !important;
6541  }
6542  .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
6543  .onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above{
6544  min-width: 140px !important;
6545  }
6546 
6547  .select2-container--open .select2-dropdown--below {
6548  border-top: 1px solid var(--inputbordercolor);
6549  /* border-top: 1px solid #aaaaaa; */
6550  }
6551 }
6552 
6553 
6554 /* ============================================================================== */
6555 /* For categories */
6556 /* ============================================================================== */
6557 
6558 .noborderoncategories {
6559  border: none !important;
6560  border-radius: 5px !important;
6561  box-shadow: none;
6562  -webkit-box-shadow: none !important;
6563  box-shadow: none !important;
6564  margin-top: 1px !important;
6565  margin-bottom: 0 !important;
6566 }
6567 span.noborderoncategories a, li.noborderoncategories a {
6568  line-height: normal;
6569  /* vertical-align: top; */
6570 }
6571 span.noborderoncategories {
6572  padding: 3px 5px 3px 5px;
6573  display: inline-block;
6574 }
6575 .categtextwhite, .treeview .categtextwhite.hover {
6576  color: #fff !important;
6577 }
6578 .categtextblack {
6579  color: #000 !important;
6580 }
6581 
6582 
6583 /* ============================================================================== */
6584 /* External lib multiselect with checkbox */
6585 /* ============================================================================== */
6586 
6587 .multi-select-menu {
6588  z-index: 10;
6589 }
6590 
6591 .multi-select-container {
6592  display: inline-block;
6593  position: relative;
6594 }
6595 
6596 .multi-select-menu {
6597  position: absolute;
6598  left: 0;
6599  top: 0.8em;
6600  float: left;
6601  min-width: 100%;
6602  background: var(--inputbackgroundcolor);
6603  margin: 1em 0;
6604  padding: 0.4em 0;
6605  border: 1px solid #aaa;
6606  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
6607  display: none;
6608 }
6609 
6610 .multi-select-menu input {
6611  margin-right: 0.3em;
6612  vertical-align: 0.1em;
6613 }
6614 
6615 .multi-select-button {
6616  display: inline-block;
6617  max-width: 20em;
6618  white-space: nowrap;
6619  overflow: hidden;
6620  text-overflow: ellipsis;
6621  vertical-align: middle;
6622  background-color: var(--inputbackgroundcolor);
6623  cursor: default;
6624 
6625  border: none;
6626  border-bottom: solid 1px var(--inputbordercolor);
6627  padding: 5px;
6628  padding-left: 2px;
6629  height: 17px;
6630  border-radius: 3px;
6631 }
6632 .multi-select-button:focus {
6633  outline: none;
6634  border-bottom: 1px solid #666;
6635  border-bottom-left-radius: 0;
6636  border-bottom-right-radius: 0;
6637 }
6638 
6639 .multi-select-button:after {
6640  content: "";
6641  display: inline-block;
6642  width: 0;
6643  height: 0;
6644  border-style: solid;
6645  border-width: 0.5em 0.23em 0em 0.23em;
6646  border-color: #444 transparent transparent transparent;
6647  margin-left: 0.4em;
6648 }
6649 
6650 .multi-select-container--open .multi-select-menu { display: block; }
6651 
6652 .multi-select-container--open .multi-select-button:after {
6653  border-width: 0 0.4em 0.4em 0.4em;
6654  border-color: transparent transparent #999 transparent;
6655 }
6656 
6657 .multi-select-menuitem {
6658  clear: both;
6659  float: left;
6660  padding-left: 5px;
6661 }
6662 label.multi-select-menuitem {
6663  line-height: 24px;
6664 }
6665 
6666 
6667 /* ============================================================================== */
6668 /* Native multiselect with checkbox */
6669 /* ============================================================================== */
6670 
6671 ul.ulselectedfields {
6672  z-index: 95; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
6673 }
6674 dl.dropdown {
6675  margin:0px;
6676  margin-left: 2px;
6677  margin-right: 2px;
6678  padding:0px;
6679  vertical-align: middle;
6680  display: inline-block;
6681 }
6682 .dropdown dd, .dropdown dt {
6683  margin:0px;
6684  padding:0px;
6685 }
6686 .dropdown ul {
6687  margin: -1px 0 0 0;
6688  text-align: <?php echo $left; ?>;
6689 }
6690 .dropdown dd {
6691  position:relative;
6692 }
6693 .dropdown dt a {
6694  display:block;
6695  overflow: hidden;
6696  border:0;
6697 }
6698 .dropdown dt a span, .multiSel span {
6699  cursor:pointer;
6700  display:inline-block;
6701  padding: 0 3px 2px 0;
6702 }
6703 .maxwidthsearch .dropdown dt a span, .multiSel span {
6704  padding: 0 3px 2px 3px;
6705 }
6706 .dropdown span.value {
6707  display:none;
6708 }
6709 .dropdown dd ul {
6710  background-color: var(--inputbackgroundcolor);
6711  box-shadow: 1px 1px 10px #aaa;
6712  display:none;
6713  <?php echo $right; ?>:0px; /* pop is align on right */
6714  padding: 0 0 0 0;
6715  position:absolute;
6716  top:2px;
6717  list-style:none;
6718  max-height: 264px;
6719  overflow: auto;
6720  border-radius: 2px;
6721  z-index: 1;
6722 }
6723 .dropdown dd ul.selectedfieldsleft {
6724  right: auto;
6725 }
6726 .dropdown dd ul li {
6727  white-space: nowrap;
6728  font-weight: normal;
6729  padding: 7px 8px 7px 8px;
6730  /* color: var(--colortext); */
6731  color: var(--colortext);
6732 }
6733 .dropdown dd ul li:hover {
6734  background: #eee;
6735 }
6736 .dropdown dd ul li input[type="checkbox"] {
6737  margin-<?php echo $right; ?>: 3px;
6738 }
6739 .dropdown dd ul li a, .dropdown dd ul li span {
6740  padding: 3px;
6741  display: block;
6742 }
6743 .dropdown dd ul li span {
6744  color: #888;
6745 }
6746 /*.dropdown dd ul li a:hover {
6747  background-color: var(--inputbackgroundcolor);
6748 }*/
6749 dd.dropdowndd ul li {
6750  text-overflow: ellipsis;
6751  overflow: hidden;
6752  white-space: nowrap;
6753 }
6754 
6755 /* ============================================================================== */
6756 /* Kanban */
6757 /* ============================================================================== */
6758 
6759 .info-box-label {
6760  max-width: 180px;
6761  overflow: hidden;
6762  text-overflow: ellipsis;
6763  white-space: nowrap;
6764 }
6765 
6766 
6767 /* ============================================================================== */
6768 /* Markdown rendering */
6769 /* ============================================================================== */
6770 
6771 .imgmd {
6772  width: 90%;
6773 }
6774 .moduledesclong h1 {
6775  padding-top: 10px;
6776  padding-bottom: 20px;
6777 }
6778 
6779 
6780 /* ============================================================================== */
6781 /* JMobile - Android */
6782 /* ============================================================================== */
6783 
6784 .searchpage .tagtr .tagtd {
6785  padding-top: 2px;
6786  padding-bottom: 2px;
6787 }
6788 .searchpage .tagtr .tagtd .button {
6789  background: unset;
6790  border: unset;
6791 }
6792 .searchpage .searchform input {
6793  font-size: 1.15em;
6794 }
6795 
6796 
6797 li.ui-li-divider .ui-link {
6798  color: #FFF !important;
6799 }
6800 .ui-btn {
6801  margin: 0 2px;
6802 }
6803 a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
6804  text-decoration: none !important;
6805 }
6806 .ui-body-c {
6807  background: #fff;
6808 }
6809 
6810 .ui-btn-inner {
6811  min-width: .4em;
6812  padding-left: 6px;
6813  padding-right: 6px;
6814  font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
6815  /* white-space: normal; */ /* Warning, enable this break the truncate feature */
6816 }
6817 .ui-btn-icon-right .ui-btn-inner {
6818  padding-right: 30px;
6819 }
6820 .ui-btn-icon-left .ui-btn-inner {
6821  padding-left: 30px;
6822 }
6823 .ui-select .ui-btn-icon-right .ui-btn-inner {
6824  padding-right: 30px;
6825 }
6826 .ui-select .ui-btn-icon-left .ui-btn-inner {
6827  padding-left: 30px;
6828 }
6829 .ui-select .ui-btn-icon-right .ui-icon {
6830  right: 8px;
6831 }
6832 .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
6833  margin-top: -10px;
6834 }
6835 select {
6836  /* display: inline-block; */ /* We can't set this. This disable ability to make */
6837  overflow:hidden;
6838  white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
6839  text-overflow: ellipsis;
6840 }
6841 .fiche .ui-controlgroup {
6842  margin: 0px;
6843  padding-bottom: 0px;
6844 }
6845 div.ui-controlgroup-controls div.tabsElem
6846 {
6847  margin-top: 2px;
6848 }
6849 div.ui-controlgroup-controls div.tabsElem a
6850 {
6851  -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
6852  box-shadow: 0 -3px 6px rgba(0,0,0,.2);
6853 }
6854 div.ui-controlgroup-controls div.tabsElem a#active {
6855  -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
6856  box-shadow: 0 -3px 6px rgba(0,0,0,.3);
6857 }
6858 
6859 a.tab span.ui-btn-inner
6860 {
6861  border: none;
6862  padding: 0;
6863 }
6864 
6865 .ui-link {
6866  color: var(--colortext);
6867 }
6868 .liste_titre .ui-link {
6869  color: var(--colortexttitle) !important;
6870 }
6871 
6872 a.ui-link {
6873  word-wrap: break-word;
6874 }
6875 
6876 /* force wrap possible onto field overflow does not works */
6877 .formdoc .ui-btn-inner
6878 {
6879  white-space: normal;
6880  overflow: hidden;
6881  text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
6882 }
6883 
6884 /* Warning: setting this may make screen not beeing refreshed after a combo selection */
6885 /*.ui-body-c {
6886  background: #fff;
6887 }*/
6888 
6889 div.ui-radio, div.ui-checkbox
6890 {
6891  display: inline-block;
6892  border-bottom: 0px !important;
6893 }
6894 .ui-checkbox input, .ui-radio input {
6895  height: auto;
6896  width: auto;
6897  margin: 4px;
6898  position: static;
6899 }
6900 div.ui-checkbox label+input, div.ui-radio label+input {
6901  position: absolute;
6902 }
6903 .ui-mobile fieldset
6904 {
6905  padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
6906 }
6907 
6908 ul.ulmenu {
6909  border-radius: 0;
6910  -webkit-border-radius: 0;
6911 }
6912 
6913 .ui-field-contain label.ui-input-text {
6914  vertical-align: middle !important;
6915 }
6916 .ui-mobile fieldset {
6917  border-bottom: none !important;
6918 }
6919 
6920 /* Style for first level menu with jmobile */
6921 .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
6922  padding: 1em 15px;
6923  display: block;
6924 }
6925 .ui-btn-up-c {
6926  font-weight: normal;
6927 }
6928 .ui-focus, .ui-btn:focus {
6929  -webkit-box-shadow: none;
6930  box-shadow: none;
6931 }
6932 .ui-bar-b {
6933  /*border: 1px solid #888;*/
6934  border: none;
6935  background: none;
6936  text-shadow: none;
6937  color: var(--colortexttitlenotab) !important;
6938 }
6939 .ui-bar-b, .lilevel0 {
6940  background-repeat: repeat-x;
6941  border: none;
6942  background: none;
6943  text-shadow: none;
6944  color: var(--colortexttitlenotab) !important;
6945 }
6946 .alilevel0 {
6947  font-weight: normal !important;
6948 }
6949 
6950 .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
6951  border-bottom-width: 0px !important;
6952 }
6953 .alilevel0 {
6954  color: var(--colortexttitle) !important;
6955  background: var(--colorbackmobilemenu);
6956 }
6957 .ulmenu {
6958  box-shadow: none !important;
6959  border-bottom: 1px solid #ccc;
6960 }
6961 .ui-btn-icon-right {
6962  border-right: 1px solid #ccc !important;
6963 }
6964 .ui-body-c {
6965  border: 1px solid #ccc;
6966  text-shadow: none;
6967 }
6968 .ui-btn-up-c, .ui-btn-hover-c {
6969  /* border: 1px solid #ccc; */
6970  text-shadow: none;
6971 }
6972 .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
6973  color: var(--colortextlink);
6974 }
6975 .ui-btn-up-c .vsmenudisabled {
6976  color: #<?php echo $colorshadowtitle; ?> !important;
6977  text-shadow: none !important;
6978 }
6979 div.tabsElem a.tab {
6980  background: transparent;
6981 }
6982 .alilevel1 {
6983  color: var(--colortexttitlenotab) !important;
6984 }
6985 .lilevel1 {
6986  border-top: 2px solid #444;
6987  background: #fff ! important;
6988 }
6989 .lilevel1 div div a {
6990  font-weight: bold !important;
6991 }
6992 .lilevel2
6993 {
6994  padding-left: 22px;
6995  background: #fff ! important;
6996 }
6997 .lilevel3
6998 {
6999  padding-left: 44px;
7000  background: #fff ! important;
7001 }
7002 .lilevel4
7003 {
7004  padding-left: 66px;
7005  background: #fff ! important;
7006 }
7007 .lilevel5
7008 {
7009  padding-left: 88px;
7010  background: #fff ! important;
7011 }
7012 
7013 
7014 
7015 /* ============================================================================== */
7016 /* POS */
7017 /* ============================================================================== */
7018 
7019 .menu_choix1,.menu_choix2 {
7020  font-size: 1.4em;
7021  text-align: left;
7022  border: 1px solid #666;
7023  margin-right: 20px;
7024 }
7025 .menu_choix1 a, .menu_choix2 a {
7026  display: block;
7027  color: #fff;
7028  text-decoration: none;
7029  padding-top: 18px;
7030  padding-left: 10px;
7031  font-size: 14px;
7032  height: 38px;
7033 }
7034 .menu_choix1 a:hover,.menu_choix2 a:hover {
7035  color: #6d3f6d;
7036 }
7037 .menu li.menu_choix1 {
7038  padding-top: 6px;
7039  padding-right: 10px;
7040  padding-bottom: 2px;
7041 }
7042 .menu li.menu_choix2 {
7043  padding-top: 6px;
7044  padding-right: 10px;
7045  padding-bottom: 2px;
7046 }
7047 @media only screen and (max-width: 767px)
7048 {
7049  .menu_choix1 a, .menu_choix2 a {
7050  background-size: 36px 36px;
7051  height: 30px;
7052  padding-left: 40px;
7053  }
7054  .menu li.menu_choix1, .menu li.menu_choix2 {
7055  padding-left: 4px;
7056  padding-right: 0;
7057  }
7058  .liste_articles {
7059  margin-right: 0 !important;
7060  }
7061 }
7062 
7063 
7064 /* ============================================================================== */
7065 /* Public */
7066 /* ============================================================================== */
7067 
7068 /* The theme for public pages */
7069 .public_body {
7070  margin: 20px;
7071 }
7072 .public_border {
7073  border: 1px solid #888;
7074 }
7075 
7076 
7077 
7078 /* ============================================================================== */
7079 /* Ticket module */
7080 /* ============================================================================== */
7081 
7082 .ticketpublictable td {
7083  height: 28px;
7084 }
7085 
7086 .ticketpublicarea {
7087  margin-left: 15%;
7088  margin-right: 15%;
7089 }
7090 .publicnewticketform {
7091  /* margin-top: 25px !important; */
7092 }
7093 .ticketlargemargin {
7094  padding-left: 50px;
7095  padding-right: 50px;
7096  padding-top: 30px;
7097 }
7098 @media only screen and (max-width: 767px)
7099 {
7100  .ticketlargemargin {
7101  padding-left: 5px; padding-right: 5px;
7102  padding-top: 10px;
7103  }
7104  .ticketpublicarea {
7105  margin-left: 10px;
7106  margin-right: 10px;
7107  }
7108 }
7109 
7110 #cd-timeline {
7111  position: relative;
7112  padding: 2em 0;
7113  margin-bottom: 2em;
7114 }
7115 #cd-timeline::before {
7116  /* this is the vertical line */
7117  content: '';
7118  position: absolute;
7119  top: 0;
7120  left: 18px;
7121  height: 100%;
7122  width: 4px;
7123  background: #d7e4ed;
7124 }
7125 @media only screen and (min-width: 1170px) {
7126  #cd-timeline {
7127  margin-bottom: 3em;
7128  }
7129  #cd-timeline::before {
7130  left: 50%;
7131  margin-left: -2px;
7132  }
7133 }
7134 
7135 .cd-timeline-block {
7136  position: relative;
7137  margin: 2em 0;
7138 }
7139 .cd-timeline-block:after {
7140  content: "";
7141  display: table;
7142  clear: both;
7143 }
7144 .cd-timeline-block:first-child {
7145  margin-top: 0;
7146 }
7147 .cd-timeline-block:last-child {
7148  margin-bottom: 0;
7149 }
7150 @media only screen and (min-width: 1170px) {
7151  .cd-timeline-block {
7152  margin: 4em 0;
7153  }
7154  .cd-timeline-block:first-child {
7155  margin-top: 0;
7156  }
7157  .cd-timeline-block:last-child {
7158  margin-bottom: 0;
7159  }
7160 }
7161 
7162 .cd-timeline-img {
7163  position: absolute;
7164  top: 0;
7165  left: 0;
7166  width: 40px;
7167  height: 40px;
7168  border-radius: 50%;
7169  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);
7170  background: #d7e4ed;
7171 }
7172 .cd-timeline-img img {
7173  display: block;
7174  width: 24px;
7175  height: 24px;
7176  position: relative;
7177  left: 50%;
7178  top: 50%;
7179  margin-left: -12px;
7180  margin-top: -12px;
7181 }
7182 .cd-timeline-img.cd-picture {
7183  background: #75ce66;
7184 }
7185 .cd-timeline-img.cd-movie {
7186  background: #c03b44;
7187 }
7188 .cd-timeline-img.cd-location {
7189  background: #f0ca45;
7190 }
7191 @media only screen and (min-width: 1170px) {
7192  .cd-timeline-img {
7193  width: 60px;
7194  height: 60px;
7195  left: 50%;
7196  margin-left: -30px;
7197  /* Force Hardware Acceleration in WebKit */
7198  -webkit-transform: translateZ(0);
7199  -webkit-backface-visibility: hidden;
7200  }
7201  .cssanimations .cd-timeline-img.is-hidden {
7202  visibility: hidden;
7203  }
7204  .cssanimations .cd-timeline-img.bounce-in {
7205  visibility: visible;
7206  -webkit-animation: cd-bounce-1 0.6s;
7207  -moz-animation: cd-bounce-1 0.6s;
7208  animation: cd-bounce-1 0.6s;
7209  }
7210 }
7211 
7212 @-webkit-keyframes cd-bounce-1 {
7213  0% {
7214  opacity: 0;
7215  -webkit-transform: scale(0.5);
7216  }
7217 
7218  60% {
7219  opacity: 1;
7220  -webkit-transform: scale(1.2);
7221  }
7222 
7223  100% {
7224  -webkit-transform: scale(1);
7225  }
7226 }
7227 @-moz-keyframes cd-bounce-1 {
7228  0% {
7229  opacity: 0;
7230  -moz-transform: scale(0.5);
7231  }
7232 
7233  60% {
7234  opacity: 1;
7235  -moz-transform: scale(1.2);
7236  }
7237 
7238  100% {
7239  -moz-transform: scale(1);
7240  }
7241 }
7242 @keyframes cd-bounce-1 {
7243  0% {
7244  opacity: 0;
7245  -webkit-transform: scale(0.5);
7246  -moz-transform: scale(0.5);
7247  -ms-transform: scale(0.5);
7248  -o-transform: scale(0.5);
7249  transform: scale(0.5);
7250  }
7251 
7252  60% {
7253  opacity: 1;
7254  -webkit-transform: scale(1.2);
7255  -moz-transform: scale(1.2);
7256  -ms-transform: scale(1.2);
7257  -o-transform: scale(1.2);
7258  transform: scale(1.2);
7259  }
7260 
7261  100% {
7262  -webkit-transform: scale(1);
7263  -moz-transform: scale(1);
7264  -ms-transform: scale(1);
7265  -o-transform: scale(1);
7266  transform: scale(1);
7267  }
7268 }
7269 .cd-timeline-content {
7270  position: relative;
7271  margin-left: 60px;
7272  background: white;
7273  border-radius: 0.25em;
7274  padding: 1em;
7275  background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7276  background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7277  background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7278  background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
7279 }
7280 .cd-timeline-content:after {
7281  content: "";
7282  display: table;
7283  clear: both;
7284 }
7285 .cd-timeline-content h2 {
7286  color: #303e49;
7287 }
7288 .cd-timeline-content .cd-date {
7289  font-size: 13px;
7290  font-size: 0.8125rem;
7291 }
7292 .cd-timeline-content .cd-date {
7293  display: inline-block;
7294 }
7295 .cd-timeline-content p {
7296  margin: 1em 0;
7297  line-height: 1.6;
7298 }
7299 
7300 .cd-timeline-content .cd-date {
7301  float: left;
7302  padding: .2em 0;
7303  opacity: .7;
7304 }
7305 .cd-timeline-content::before {
7306  content: '';
7307  position: absolute;
7308  top: 16px;
7309  right: 100%;
7310  height: 0;
7311  width: 0;
7312  border: 7px solid transparent;
7313  border-right: 7px solid white;
7314 }
7315 @media only screen and (min-width: 768px) {
7316  .cd-timeline-content h2 {
7317  font-size: 20px;
7318  font-size: 1.25rem;
7319  }
7320  .cd-timeline-content {
7321  font-size: 16px;
7322  font-size: 1rem;
7323  }
7324  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
7325  font-size: 14px;
7326  font-size: 0.875rem;
7327  }
7328 }
7329 @media only screen and (min-width: 1170px) {
7330  .cd-timeline-content {
7331  margin-left: 0;
7332  padding: 1.6em;
7333  width: 43%;
7334  }
7335  .cd-timeline-content::before {
7336  top: 24px;
7337  left: 100%;
7338  border-color: transparent;
7339  border-left-color: white;
7340  }
7341  .cd-timeline-content .cd-read-more {
7342  float: left;
7343  }
7344  .cd-timeline-content .cd-date {
7345  position: absolute;
7346  width: 55%;
7347  left: 115%;
7348  top: 6px;
7349  font-size: 16px;
7350  font-size: 1rem;
7351  }
7352  .cd-timeline-block:nth-child(even) .cd-timeline-content {
7353  float: right;
7354  }
7355  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
7356  top: 24px;
7357  left: auto;
7358  right: 100%;
7359  border-color: transparent;
7360  border-right-color: white;
7361  }
7362  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
7363  float: right;
7364  }
7365  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
7366  left: auto;
7367  right: 115%;
7368  text-align: right;
7369  }
7370 
7371 }
7372 
7373 
7374 /* ============================================================================== */
7375 /* CSS style for debugbar */
7376 /* ============================================================================== */
7377 
7378 div.phpdebugbar * {
7379  font-weight: unset;
7380 }
7381 span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
7382  width: 250px !important;
7383 }
7384 .phpdebugbar-indicator span.phpdebugbar-tooltip {
7385  opacity: .95 !important;
7386 }
7387 a.phpdebugbar-tab.phpdebugbar-active {
7388  background-image: unset !important;
7389 }
7390 .phpdebugbar-fa-tags:before {
7391  content: "\f121";
7392  font-weight: 600 !important;
7393 }
7394 .phpdebugbar-fa-tasks:before {
7395  content: "\f550";
7396  font-weight: 600 !important;
7397 }
7398 .phpdebugbar-fa-tags, .phpdebugbar-fa-tasks, .phpdebugbar-indicator .fa {
7399  font-family: "Font Awesome 5 Free";
7400  font-weight: 600;
7401 }
7402 div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
7403 div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
7404 div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
7405 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
7406 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
7407 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
7408 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
7409 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
7410 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
7411 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
7412 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
7413 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
7414 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
7415 div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
7416 {
7417  font-family: "Font Awesome 5 Free" !important;
7418 }
7419 
7420 /* ============================================================================== */
7421 /* CSS style used for jCrop */
7422 /* ============================================================================== */
7423 
7424 .jcrop-holder { background: unset !important; }
7425 
7426 
7427 /* ============================================================================== */
7428 /* CSS style used for jFlot */
7429 /* ============================================================================== */
7430 
7431 .dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
7432  text-orientation: sideways;
7433  font-weight: 400;
7434  writing-mode: vertical-rl;
7435  white-space: nowrap;
7436 }
7437 
7438 
7439 /* ============================================================================== */
7440 /* For copy-paste feature */
7441 /* ============================================================================== */
7442 
7443 span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
7444  display: inline-block;
7445 }
7446 span.clipboardCPValue.hidewithsize {
7447  width: 0 !important;
7448  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 */
7449  color: transparent;
7450  white-space: nowrap;
7451  overflow-x: hidden;
7452  vertical-align: middle;
7453 }
7454 div.clipboardCPValue.hidewithsize {
7455  width: 0 !important;
7456  display: none;
7457  color: transparent;
7458  white-space: nowrap;
7459 }
7460 
7461 .clipboardCPShowOnHover .clipboardCPButton {
7462  display: none;
7463 }
7464 
7465 /* To make a div popup, we must use a position aboluste inside a position relative */
7466 .clipboardCPText {
7467  position: relative;
7468 }
7469 .clipboardCPTextDivInside {
7470  position: absolute;
7471  background: #f8f8fa;
7472  color: #888;
7473  border: 1px solid #E0E0E0;
7474  opacity: 1;
7475  z-index: 20;
7476  padding: 2px;
7477  padding-left: 5px;
7478  padding-right: 5px;
7479  top: -5px;
7480  left: 0px;
7481  border-radius: 5px;
7482  white-space: nowrap;
7483  font-size: 0.9em;
7484  box-shadow: 1px 1px 6px #ddd;
7485 }
7486 
7487 
7488 /* ============================================================================== */
7489 /* CSS style used for hrm skill/rank (may be we can remove this) */
7490 /* ============================================================================== */
7491 
7492 .radio_js_bloc_number {
7493  display:inline-block;
7494  padding:5px 7px;
7495  min-width:20px;
7496  border-radius:3px;
7497  border:1px solid #ccc;
7498  background:#eee;
7499  color:#555;
7500  cursor:pointer;
7501  margin:2px;
7502  text-align:center;
7503 }
7504 .radio_js_bloc_number.selected {
7505  transition:0.2s ease background;
7506  background:#888;
7507  color:#fff;
7508  border-color:#555;
7509 }
7510 
7511 
7512 
7513 /* ============================================================================== */
7514 /* CSS style used for small screen */
7515 /* ============================================================================== */
7516 
7517 .topmenuimage {
7518  background-size: 22px auto;
7519  top: 2px;
7520 }
7521 .imgopensurveywizard
7522 {
7523  padding: 0 4px 0 4px;
7524 }
7525 @media only screen and (max-width: 767px)
7526 {
7527  .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
7528 
7529  #tooltip {
7530  position: absolute;
7531  width: <?php print dol_size(350, 'width'); ?>px;
7532  }
7533 
7534  div.tabBar {
7535  padding-left: 0px;
7536  padding-right: 0px;
7537  -webkit-border-radius: 0;
7538  border-radius: 0px;
7539  border-right: none;
7540  border-left: none;
7541  }
7542 
7543  td.widthpictotitle { width: 30px; }
7544 
7545  .logopublicpayment #dolpaymentlogo {
7546  max-width: 260px;
7547  }
7548  #tablepublicpayment {
7549  width: auto !important;
7550  border: none !important;
7551  }
7552  .poweredbypublicpayment {
7553  float: unset !important;
7554  top: unset !important;
7555  /* bottom: 8px; */
7556  right: -10px !important;
7557  position: relative !important;
7558  }
7559  .poweredbyimg {
7560  width: 48px;
7561  }
7562 }
7563 
7564 @media only screen and (max-width: 1024px)
7565 {
7566  div#ecm-layout-west {
7567  width: calc(100% - 4px);
7568  clear: both;
7569  }
7570  div#ecm-layout-center {
7571  width: 100%;
7572  }
7573 }
7574 
7575 /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo is_numeric($fontsize) ? $fontsize.'px' : $fontsize ?> */
7576 /* rule to reduce top menu - 1st reduction: Reduce width of top menu icons */
7577 @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 */
7578 {
7579  div.tmenucenter {
7580  width: <?php echo round(52); ?>px; /* size of viewport */
7581  white-space: nowrap;
7582  overflow: hidden;
7583  text-overflow: ellipsis;
7584 
7585  color: var(--colortextbackhmenu);
7586  /* color: var(--colorbackhmenu1); */
7587  }
7588  .tmenuimage {
7589  color: var(--colortextbackhmenu);
7590  }
7591 
7592  .mainmenuaspan {
7593  font-size: 0.9em;
7594  padding-right: 0;
7595  padding-left: 0;
7596  }
7597  .topmenuimage {
7598  background-size: 22px auto;
7599  margin-top: 0px;
7600  }
7601 
7602  li.tmenu, li.tmenusel {
7603  min-width: 36px;
7604  }
7605  div.mainmenu {
7606  min-width: auto;
7607  }
7608  div.tmenuleft {
7609  display: none;
7610  }
7611 
7612  .dropdown dd ul {
7613  max-width: 370px;
7614  }
7615 }
7616 /* rule to reduce top menu - 2nd reduction: Reduce width of top menu icons again */
7617 @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 */
7618 {
7619  li.tmenucompanylogo {
7620  display: none;
7621  }
7622  div.mainmenu {
7623  height: 23px;
7624  }
7625  div.tmenucenter {
7626  max-width: <?php echo round(26); ?>px; /* size of viewport */
7627  text-overflow: clip;
7628  }
7629  span.mainmenuaspan {
7630  margin-left: 1px;
7631  }
7632  .mainmenuaspan {
7633  font-size: 0.9em;
7634  padding-left: 0;
7635  padding-right: 0;
7636  }
7637  .topmenuimage {
7638  background-size: 20px auto;
7639  margin-top: 2px;
7640  left: 4px;
7641  }
7642 
7643  .dropdown dd ul {
7644  max-width: 300px;
7645  }
7646 }
7647 /* rule to reduce top menu - 3rd reduction: The menu for user is on left */
7648 @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 */
7649 {
7650  <?php if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 2) { ?>
7651  .tmenudiv .tmenulabel span.mainmenuaspan {
7652  display: none !important;
7653  }
7654  .tmenudiv:hover .tmenuimage:not(.menuhider), .tmenudiv:hover .tmenuimage:not(.menuhider):before {
7655  margin-top: 8px !important;
7656  }
7657  <?php } ?>
7658 
7659  .side-nav {
7660  z-index: 200;
7661  background: var(--colorbackvmenu1);
7662  padding-top: 70px;
7663  }
7664  #id-left {
7665  z-index: 201;
7666  background: var(--colorbackvmenu1);
7667  }
7668  #id-right { /* This must stay id-right and not be replaced with echo $right */
7669  padding-top: 8px;
7670  }
7671 
7672  .login_vertical_align {
7673  padding-left: 20px;
7674  padding-right: 20px;
7675  }
7676 
7677  /* Reduce login top right info */
7678  .help {
7679  <?php if ($disableimages) { ?>
7680  display: none;
7681  <?php } ?>
7682  }
7683  div#tmenu_tooltip {
7684  <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
7685  display:none;
7686  <?php } else { ?>
7687  padding-<?php echo $right; ?>: 0;
7688  <?php } ?>
7689  }
7690  div.login_block_user {
7691  min-width: 0;
7692  width: 100%;
7693  }
7694  div.login_block a {
7695  color: unset;
7696  }
7697  div.login_block {
7698  /* Style when phone layout or when using the menuhider */
7699  padding-top: 10px;
7700  padding-left: 20px;
7701  padding-right: 20px;
7702  padding-bottom: 16px;
7703  top: auto;
7704  left: 0 !important;
7705  text-align: center;
7706  vertical-align: middle;
7707 
7708  background: var(--colorbackvmenu1);
7709 
7710  height: 50px;
7711 
7712  z-index: 202;
7713  min-width: 200px; /* must be width of menu + padding + padding of sidenav */
7714  max-width: 200px; /* must be width of menu + padding + padding of sidenav */
7715  width: 200px; /* must be width of menu + padding + padding of sidenav */
7716  }
7717  .side-nav-vert .user-menu .dropdown-menu {
7718  width: 234px !important;
7719  }
7720  div.login_block_other {
7721  margin-right: unset;
7722  }
7723  div.login_block_user, div.login_block_other { clear: both; }
7724  .atoplogin, .atoplogin:hover
7725  {
7726  color:unset !important;
7727  padding-left: 4px;
7728  padding-right: 4px;
7729  }
7730  .login_block_elem {
7731  padding: 0 !important;
7732  height: 38px;
7733  }
7734  li.tmenu, li.tmenusel {
7735  min-width: 32px;
7736  }
7737  div.mainmenu {
7738  height: 23px;
7739  }
7740  div.tmenucenter {
7741  text-overflow: clip;
7742  }
7743  .topmenuimage {
7744  background-size: 20px auto;
7745  margin-top: 2px !important;
7746  left: 2px;
7747  }
7748  div.mainmenu {
7749  min-width: 20px;
7750  }
7751 
7752  .titlefield {
7753  width: auto !important; /* We want to ignore the 30%, try to use more if you can */
7754  }
7755  .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
7756  /* max-width: 100px; */ /* but no more than 100px */
7757  }
7758  .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
7759  word-break: break-word;
7760  }
7761  .badge {
7762  min-width: auto;
7763  font-size: 12px;
7764  }
7765 
7766  table.table-fiche-title .col-title div.titre{
7767  line-height: unset;
7768  }
7769 
7770  input#addedfile {
7771  width: 95%;
7772  }
7773 
7774  #divbodywebsite {
7775  word-break: break-word;
7776  }
7777 
7778  .websiteselectionsection {
7779  border-left: unset;
7780  border-right: unset;
7781  padding-left: 5px;
7782  }
7783 
7784  .a-mesure, .a-mesure-disabled {
7785  display: block;
7786  margin-bottom: 6px;
7787  padding-left: 12px;
7788  padding-right: 12px;
7789  }
7790 
7791  .a-mesure, .a-mesure-disabled {
7792  text-align: center;
7793  }
7794 
7795 
7796  div.fichehalfright {
7797  margin-top: 30px;
7798  }
7799 
7800 
7801  .underbanner.underbanner-before-box {
7802  border-bottom: none;
7803  }
7804 
7805  .valuefield.fieldname_type span.badgeneutral {
7806  margin-top: 5px;
7807  display: inline-block;
7808  }
7809 
7810  tr.trextrafieldseparator td, tr.trextrafields_collapse_last td {
7811  /* border-bottom: 2px solid var(--colorbackhmenu1) !important; */
7812  border-bottom: 1px solid var(--colortopbordertitle1) !important;
7813  }
7814 
7815  div#card-errors {
7816  max-width: unset;
7817  }
7818 
7819  #dolpaymenttable {
7820  padding: 5px;
7821  }
7822 
7823  .lilevel1 span.paddingright {
7824  padding-right: 4px;
7825  }
7826 }
7827 
7828 @media only screen and (max-width: 320px)
7829 {
7830  .dropdown dd ul {
7831  max-width: 270px; /* must always be 50 slower than width */
7832  }
7833 }
7834 @media only screen and (max-width: 300px)
7835 {
7836  .dropdown dd ul {
7837  max-width: 250px;
7838  }
7839 }
7840 @media only screen and (max-width: 280px)
7841 {
7842  .dropdown dd ul {
7843  max-width: 230px;
7844  }
7845 }
7846 
7847 
7848 <?php
7849 include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
7850 include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
7851 include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
7852 include dol_buildpath($path.'/theme/'.$theme.'/timeline.inc.php', 0);
7853 
7854 if (!empty($conf->global->THEME_CUSTOM_CSS)) {
7855  print $conf->global->THEME_CUSTOM_CSS;
7856 }
7857 
7858 ?>
7859 
7860  div.extra_inline_chkbxlst,
7861  div.extra_inline_checkbox {
7862  min-width:150px;
7863  }
7864 
7865 /* Must be at end */
7866 div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
7867  color: unset;
7868 }
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,...