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