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