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