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