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