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