dolibarr  16.0.5
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 .linkedcol-amount {
1598  white-space: nowrap;
1599 }
1600 .linkedcol-date {
1601  text-align: center;
1602 }
1603 
1604 .img-skinthumb {
1605  width: 160px;
1606  height: 100px;
1607 }
1608 
1609 tr.nobottom td {
1610  border-bottom: 0px !important;
1611 }
1612 
1613 
1614 /* ============================================================================== */
1615 /* Styles to hide objects */
1616 /* ============================================================================== */
1617 
1618 .clearboth { clear:both; }
1619 .hideobject { display: none; }
1620 .minwidth50 { min-width: 50px; }
1621 .minwidth75 { min-width: 75px; }
1622 /* rule for not too small screen only */
1623 @media only screen and (min-width: <?php echo round($nbtopmenuentries * $fontsize * 3.4, 0) + 7; ?>px)
1624 {
1625  .width20 { width: 20px; }
1626  .width25 { width: 25px; }
1627  .width50 { width: 50px; }
1628  .width75 { width: 75px; }
1629  .width100 { width: 100px; }
1630  .width200 { width: 200px; }
1631  .minwidth100 { min-width: 100px; }
1632  .minwidth150 { min-width: 150px; }
1633  .minwidth200 { min-width: 200px; }
1634  .minwidth300 { min-width: 300px; }
1635  .minwidth400 { min-width: 400px; }
1636  .minwidth500 { min-width: 500px; }
1637  .minwidth50imp { min-width: 50px !important; }
1638  .minwidth75imp { min-width: 75px !important; }
1639  .minwidth100imp { min-width: 100px !important; }
1640  .minwidth125imp { min-width: 125px !important; }
1641  .minwidth200imp { min-width: 200px !important; }
1642  .minwidth250imp { min-width: 250px !important; }
1643  .minwidth300imp { min-width: 300px !important; }
1644  .minwidth400imp { min-width: 400px !important; }
1645  .minwidth500imp { min-width: 500px !important; }
1646 }
1647 .widthauto { width: auto; }
1648 .width20 { width: 20px; }
1649 .width25 { width: 25px; }
1650 .width50 { width: 50px; }
1651 .width75 { width: 75px; }
1652 .width100 { width: 100px; }
1653 .width125 { width: 125px; }
1654 .width150 { width: 150px; }
1655 .width200 { width: 200px; }
1656 .width300 { width: 300px; }
1657 .width400 { width: 400px; }
1658 .width500 { width: 500px; }
1659 .maxwidth25 { max-width: 25px; }
1660 .maxwidth40 { max-width: 40px; }
1661 .maxwidth50 { max-width: 50px; }
1662 .maxwidth75 { max-width: 75px; }
1663 .maxwidth100 { max-width: 100px; }
1664 .maxwidth125 { max-width: 125px; }
1665 .maxwidth150 { max-width: 150px; }
1666 .maxwidth200 { max-width: 200px; }
1667 .maxwidth250 { max-width: 250px; }
1668 .maxwidth300 { max-width: 300px; }
1669 .maxwidth400 { max-width: 400px; }
1670 .maxwidth500 { max-width: 500px; }
1671 .maxwidth50imp { max-width: 50px !important; }
1672 .maxwidth75imp { max-width: 75px !important; }
1673 
1674 .minwidth100onall { min-width: 100px !important; }
1675 .minwidth200onall { min-width: 200px !important; }
1676 .minwidth250onall { min-width: 250px !important; }
1677 
1678 .minheight20 { min-height: 20px; }
1679 .minheight30 { min-height: 30px; }
1680 .minheight40 { min-height: 40px; }
1681 .titlefieldcreate { width: 20%; }
1682 .titlefield { /* width: 25%; */ min-width: 250px; width: 25%; }
1683 .titlefieldmiddle { width: 50%; }
1684 .imgmaxwidth180 { max-width: 180px; }
1685 .imgmaxheight50 { max-height: 50px; }
1686 
1687 .width20p { width:20%; }
1688 .width25p { width:25%; }
1689 .width40p { width:40%; }
1690 .width50p { width:50%; }
1691 .width60p { width:60%; }
1692 .width75p { width:75%; }
1693 .width80p { width:80%; }
1694 .width100p { width:100%; }
1695 
1696 
1697 /* Force values for small screen 1400 */
1698 @media only screen and (max-width: 1400px)
1699 {
1700  .titlefield { /* width: 30% !important; */ }
1701  .titlefieldcreate { width: 30% !important; }
1702  .minwidth50imp { min-width: 50px !important; }
1703  .minwidth75imp { min-width: 75px !important; }
1704  .minwidth100imp { min-width: 100px !important; }
1705  .minwidth125imp { min-width: 125px !important; }
1706  .minwidth150imp { min-width: 150px !important; }
1707  .minwidth200imp { min-width: 200px !important; }
1708  .minwidth250imp { min-width: 250px !important; }
1709  .minwidth300imp { min-width: 300px !important; }
1710  .minwidth400imp { min-width: 300px !important; }
1711  .minwidth500imp { min-width: 300px !important; }
1712 
1713  .linkedcol-element {
1714  min-width: unset;
1715  }
1716 }
1717 
1718 /* Force values for small screen 1000 */
1719 @media only screen and (max-width: 1000px)
1720 {
1721  .maxwidthonsmartphone { max-width: 100px; }
1722  .minwidth50imp { min-width: 50px !important; }
1723  .minwidth75imp { min-width: 70px !important; }
1724  .minwidth100imp { min-width: 100px !important; }
1725  .minwidth125imp { min-width: 125px !important; }
1726  .minwidth150imp { min-width: 110px !important; }
1727  .minwidth200imp { min-width: 110px !important; }
1728  .minwidth250imp { min-width: 115px !important; }
1729  .minwidth300imp { min-width: 120px !important; }
1730  .minwidth400imp { min-width: 150px !important; }
1731  .minwidth500imp { min-width: 250px !important; }
1732 }
1733 
1734 /* Set a width. Note: add also a max-width, for example maxwidth500, that will be used in priority */
1735 select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection), input.widthcentpercentminusx {
1736  width: calc(100% - 50px) !important;
1737  display: inline-block;
1738 }
1739 select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
1740  width: calc(100% - 70px) !important;
1741  display: inline-block;
1742 }
1743 
1744 /* Force values for small screen 767 */
1745 @media only screen and (max-width: 767px)
1746 {
1747  body {
1748  font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
1749  }
1750  div.refidno {
1751  font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
1752  }
1753 
1754  div.divphotoref {
1755  padding-right: 10px !important;
1756  }
1757 
1758  .hideonsmartphone { display: none; }
1759  .hideonsmartphoneimp { display: none !important; }
1760 
1761  select.minwidth100imp, select.minwidth100, select.minwidth200, select.minwidth200imp, select.minwidth300 {
1762  width: calc(100% - 40px) !important;
1763  display: inline-block;
1764  }
1765  select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx {
1766  width: calc(100% - 70px) !important;
1767  display: inline-block;
1768  }
1769 
1770  input.maxwidthinputfileonsmartphone {
1771  width: 175px;
1772  }
1773 
1774  input.buttonpayment, button.buttonpayment, div.buttonpayment {
1775  min-width: 270px;
1776  }
1777 
1778  .smallonsmartphone {
1779  font-size: 0.8em;
1780  }
1781 }
1782 
1783 /* Force values for small screen 570 */
1784 @media only screen and (max-width: 570px)
1785 {
1786  body {
1787  font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?>;
1788  }
1789 
1790  div.refidno {
1791  font-size: <?php print is_numeric($fontsize) ? ($fontsize).'px' : $fontsize; ?> !important;
1792  }
1793 
1794  .login_vertical_align {
1795  padding-left: 0;
1796  }
1797  .login_table input#username, .login_table input#password, .login_table input#securitycode {
1798  margin-left: 5px !important;
1799  }
1800  div#login_left, div#login_right {
1801  min-width: 150px !important;
1802  padding-left: 5px !important;
1803  padding-right: 5px !important;
1804  }
1805  .login_table div#login_right .tdinputlogin, .login_table div#login_right .tdinputlogin input {
1806  min-width: 150px !important;
1807  }
1808 
1809  .divmainbodylarge { margin-left: 10px; margin-right: 10px; }
1810 
1811  .tdoverflowonsmartphone {
1812  max-width: 0;
1813  overflow: hidden;
1814  text-overflow: ellipsis;
1815  white-space: nowrap;
1816  }
1817  .tdoverflowmax100onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
1818  max-width: 100px;
1819  overflow: hidden;
1820  text-overflow: ellipsis;
1821  white-space: nowrap;
1822  }
1823  .tdoverflowmax150onsmartphone { /* For tdoverflow, the max-midth become a minimum ! */
1824  max-width: 100px;
1825  overflow: hidden;
1826  text-overflow: ellipsis;
1827  white-space: nowrap;
1828  }
1829 
1830  div.fiche {
1831  margin-top: <?php print ($dol_hide_topmenu ? '12' : '6'); ?>px !important;
1832  }
1833  .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 {
1834  height: 40px !important;
1835  }
1836 
1837  .quatrevingtpercent, .inputsearch {
1838  width: 95%;
1839  }
1840 
1841  div.tabs div.tab a.tab {
1842  max-width: 200px;
1843  overflow: hidden;
1844  text-overflow: ellipsis;
1845  white-space: nowrap;
1846  }
1847 
1848  select {
1849  padding-top: 4px;
1850  padding-bottom: 5px;
1851  }
1852 
1853  .login_table .tdinputlogin {
1854  min-width: unset !important;
1855  }
1856  input, input[type=text], input[type=password], select, textarea {
1857  min-width: 20px;
1858  min-height: 1.4em;
1859  line-height: 1.4em;
1860  }
1861 
1862  .noenlargeonsmartphone { width : 50px !important; display: inline !important; }
1863  .maxwidthonsmartphone, #search_newcompany.ui-autocomplete-input { max-width: 100px; }
1864  .maxwidth50onsmartphone { max-width: 40px; }
1865  .maxwidth75onsmartphone { max-width: 50px; }
1866  .maxwidth100onsmartphone { max-width: 70px; }
1867  .maxwidth125onsmartphone { max-width: 100px; }
1868  .maxwidth150onsmartphone { max-width: 120px; }
1869  .maxwidth150onsmartphoneimp { max-width: 120px !important; }
1870  .maxwidth200onsmartphone { max-width: 200px; }
1871  .maxwidth250onsmartphone { max-width: 250px; }
1872  .maxwidth300onsmartphone { max-width: 300px; }
1873  .maxwidth400onsmartphone { max-width: 400px; }
1874  .minwidth50imp { min-width: 50px !important; }
1875  .minwidth75imp { min-width: 75px !important; }
1876  .minwidth100imp { min-width: 100px !important; }
1877  .minwidth125imp { min-width: 125px !important; }
1878  .minwidth150imp { min-width: 110px !important; }
1879  .minwidth200imp { min-width: 110px !important; }
1880  .minwidth250imp { min-width: 115px !important; }
1881  .minwidth300imp { min-width: 120px !important; }
1882  .minwidth400imp { min-width: 150px !important; }
1883  .minwidth500imp { min-width: 250px !important; }
1884  .titlefield { width: auto; min-width: unset; }
1885  .titlefieldcreate { width: auto; }
1886 
1887  #tooltip {
1888  position: absolute;
1889  width: <?php print dol_size(300, 'width'); ?>px;
1890  }
1891 
1892  /* intput, input[type=text], */
1893  select {
1894  width: 98%;
1895  min-width: 40px;
1896  }
1897 
1898  div.divphotoref {
1899  padding-<?php echo $right; ?>: 5px;
1900  padding-bottom: 5px;
1901  }
1902  img.photoref, div.photoref {
1903  border: none;
1904  -webkit-box-shadow: none;
1905  box-shadow: none;
1906  padding: 4px;
1907  height: 20px;
1908  width: 20px;
1909  object-fit: contain;
1910  }
1911 
1912  div.statusref {
1913  padding-right: 10px;
1914  max-width: 55%;
1915  }
1916  div.statusref img {
1917  padding-right: 3px !important;
1918  }
1919  div.statusrefbis {
1920  padding-right: 3px !important;
1921  }
1922 
1923  input.buttonpayment {
1924  min-width: 300px;
1925  }
1926 }
1927 .linkobject { cursor: pointer; }
1928 
1929 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 {
1930  color: #666;
1931 }
1932 
1933 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
1934 .hideonprint { display: none !important; }
1935 <?php } ?>
1936 
1937 
1938 
1939 /* ============================================================================== */
1940 /* Styles for dragging lines */
1941 /* ============================================================================== */
1942 
1943 .dragClass {
1944  color: #002255;
1945 }
1946 td.showDragHandle {
1947  cursor: move;
1948 }
1949 .tdlineupdown {
1950  white-space: nowrap;
1951  min-width: 10px;
1952 }
1953 
1954 
1955 /* ============================================================================== */
1956 /* Styles de positionnement des zones */
1957 /* ============================================================================== */
1958 
1959 #id-container {
1960  margin-top: 0px;
1961  margin-bottom: 0px;
1962  display: table;
1963  table-layout: fixed;
1964  width: 100%;
1965 }
1966 #id-right, #id-left {
1967  display: table-cell;
1968  float: none;
1969  vertical-align: top;
1970 }
1971 #id-top {
1972 }
1973 #id-left {
1974  min-height: 100%;
1975  position: relative;
1976  width: 213px;
1977  padding-top: 20px;
1978 }
1979 #id-right { /* This must stay id-right and not be replaced with echo $right */
1980  width: 100%;
1981  padding-bottom: 20px;
1982 <?php if (GETPOST('optioncss', 'aZ09') != 'print') { ?>
1983  padding-<?php print $left; ?>: 229px;
1984  padding-top: 16px;
1985 <?php } ?>
1986 }
1987 .bodyforlist #id-right {
1988  padding-bottom: 4px;
1989 }
1990 
1991 /* DOL_XXX For having horizontal scroll into array (like with smartphone) */
1992 
1993 .classforhorizontalscrolloftabs #id-container {
1994  width: 100%;
1995 }
1996 .classforhorizontalscrolloftabs .side-nav {
1997  display: block;
1998  float: left;
1999 }
2000 .classforhorizontalscrolloftabs #id-right {
2001  width:calc(100% - 210px);
2002  display: inline-block;
2003 }
2004 
2005 
2006 
2007 .side-nav {
2008 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2009  display: none;
2010 <?php } else { ?>
2011  background: var(--colorbackvmenu1);
2012  border-<?php echo $right; ?>: 1px solid rgba(0,0,0,0.2);
2013  box-shadow: 3px 0 6px -2px #eee;
2014  bottom: 0;
2015  color: #333;
2016  display: block;
2017  font-family: "RobotoDraft","Roboto",sans-serif;
2018  <?php echo $left; ?>: 0;
2019  <?php
2020  if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
2021  } else { ?>
2022  position: fixed;
2023  top: 50px;
2024  <?php } ?>
2025  z-index: 90;
2026  -webkit-transform: translateZ(0);
2027  -moz-transform: translateZ(0);
2028  -ms-transform: translateZ(0);
2029  -o-transform: translateZ(0);
2030  transform: translateZ(0);
2031  -webkit-transform-style: preserve-3d;
2032  -moz-transform-style: preserve-3d;
2033  -ms-transform-style: preserve-3d;
2034  -o-transform-style: preserve-3d;
2035  transform-style: preserve-3d;
2036  -webkit-transition-delay: 0.1s;
2037  -moz-transition-delay: 0.1s;
2038  transition-delay: 0.1s;
2039  -webkit-transition-duration: 0.2s;
2040  -moz-transition-duration: 0.2s;
2041  transition-duration: 0.2s;
2042  -webkit-transition-property: -webkit-transform;
2043  -moz-transition-property: -moz-transform;
2044  transition-property: transform;
2045  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2046  -moz-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2047  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2048  -webkit-overflow-scrolling: touch;
2049  <?php
2050  if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
2051  } else { ?>
2052  overflow-x: hidden;
2053  overflow-y: auto;
2054  <?php }
2055 }
2056 ?>
2057 }
2058 
2059 
2063 .side-nav-vert, #id-right {
2064  transition: padding-left 0.5s ease, margin-left 0.5s ease;
2065 }
2066 
2067 .side-nav, .login_block {
2068  transition: left 0.5s ease;
2069 }
2070 
2071 body.sidebar-collapse .side-nav-vert, body.sidebar-collapse #id-right {
2072  margin-left: 0;
2073  padding-left:0
2074 }
2075 
2076 
2077 .side-nav-vert {
2078  margin-<?php echo $left; ?>: 228px;
2079 }
2080 
2081 /* body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block_other, body.sidebar-collapse #topmenu-login-dropdown */
2082 body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block
2083 {
2084  display: none;
2085 }
2086 <?php if (empty($conf->global->THEME_DISABLE_STICKY_TOPMENU)) { ?>
2087 .side-nav-vert {
2088  position: sticky;
2089  top: 0px;
2090  z-index: 1001;
2091 }
2092 <?php } ?>
2093 
2094 
2095 /* For smartphone (testmenuhider is on) */
2096 <?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
2097 #id-container {
2098  width: 100%;
2099 }
2100 .side-nav-vert {
2101  margin-left: 0;
2102 }
2103 
2104 .side-nav {
2105  <?php
2106  if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
2107  } else { ?>
2108  overflow-x: initial !important;
2109  overflow-y: scroll;
2110  <?php } ?>
2111  display: block;
2112 
2113  position: relative;
2114 }
2115 
2116 
2117 
2118 div.backgroundsemitransparent {
2119  background:rgba(255, 255, 255, 0.7);
2120  padding-left: 10px;
2121  padding-right: 10px;
2122 }
2123 
2124 
2125 
2126 /* Login */
2127 
2128 .login_block_getinfo {
2129  text-align: center;
2130 }
2131 .login_block_getinfo div.login_block_user {
2132  display: block;
2133 }
2134 .login_block_getinfo .atoplogin, .login_block_getinfo .atoplogin:hover {
2135  color: #333 !important;
2136 }
2137 .login_block_elem a span.atoplogin, .login_block_elem span.atoplogin {
2138  vertical-align: middle;
2139 }
2140 
2141 
2142 
2143 #id-right {
2144  padding-<?php print $left; ?>: 0 ! important;
2145 }
2146 #id-left {
2147  z-index: 91;
2148  background: var(--colorbackvmenu1);
2149  border-right: 1px solid rgba(0,0,0,0.3);
2150  padding-top: 20px;
2151  <?php
2152  if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
2153  top: 66px ! important;
2154  <?php } else { ?>
2155  top: 60px ! important;
2156  <?php } ?>
2157 }
2158 div.fiche {
2159  margin-<?php print $left; ?>: 6px !important;
2160  margin-<?php print $right; ?>: 6px !important;
2161 }
2162 <?php } ?>
2163 
2164 div.fiche {
2165  margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '30' : '6')); ?>px;
2166  margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : (empty($conf->dol_optimize_smallscreen) ? '28' : '6')); ?>px;
2167  <?php if (!empty($dol_hide_leftmenu) && !empty($dol_hide_topmenu)) {
2168  print 'margin-top: 12px;';
2169  } ?>
2170  margin-bottom: 15px;
2171 }
2172 body.onlinepaymentbody div.fiche { /* For online payment page */
2173  margin: 20px !important;
2174 }
2175 div.fiche>table:first-child {
2176  margin-bottom: 15px !important;
2177 }
2178 div.fichecenter {
2179  width: 100%;
2180  clear: both; /* This is to have div fichecenter that are true rectangles */
2181 }
2182 div.fichecenterbis {
2183  margin-top: 8px;
2184 }
2185 div.fichethirdleft {
2186  <?php if ($conf->browser->layout != 'phone') {
2187  print "float: ".$left.";\n";
2188  } ?>
2189  <?php if ($conf->browser->layout != 'phone') {
2190  print "width: calc(50% - 14px);\n";
2191  } ?>
2192  <?php if ($conf->browser->layout == 'phone') {
2193  print "padding-bottom: 6px;\n";
2194  } ?>
2195 }
2196 div.fichetwothirdright {
2197  <?php if ($conf->browser->layout != 'phone') {
2198  print "float: ".$right.";\n";
2199  } ?>
2200  <?php if ($conf->browser->layout != 'phone') {
2201  print "width: calc(50% - 14px);\n";
2202  } ?>
2203  <?php if ($conf->browser->layout == 'phone') {
2204  print "padding-bottom: 6px\n";
2205  } ?>
2206 }
2207 div.fichehalfleft {
2208  <?php if ($conf->browser->layout != 'phone') {
2209  print "float: ".$left.";\n";
2210  } ?>
2211  <?php if ($conf->browser->layout != 'phone') {
2212  print "width: calc(50% - 14px);\n";
2213  } ?>
2214 }
2215 div.fichehalfright {
2216  <?php if ($conf->browser->layout != 'phone') {
2217  print "float: ".$right.";\n";
2218  } ?>
2219  <?php if ($conf->browser->layout != 'phone') {
2220  print "width: calc(50% - 14px);\n";
2221  } ?>
2222 }
2223 div.fichehalfright {
2224  <?php if ($conf->browser->layout == 'phone') {
2225  print "margin-top: 10px;\n";
2226  } ?>
2227 }
2228 
2229 /*div.firstcolumn div.box {
2230  padding-right: 10px;
2231 }
2232 div.secondcolumn div.box {
2233  padding-left: 10px;
2234 }*/
2235 
2236 /* Force values on one colum for small screen */
2237 @media only screen and (max-width: 900px)
2238 {
2239  div.fiche {
2240  margin-<?php print $left; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 6 : ($dol_hide_leftmenu ? '4' : '20')); ?>px;
2241  margin-<?php print $right; ?>: <?php print (GETPOST('optioncss', 'aZ09') == 'print' ? 8 : 16); ?>px;
2242  <?php if (!empty($conf->dol_hide_leftmenu) && !empty($conf->dol_hide_topmenu)) {
2243  print 'margin-top: 4px;';
2244  } ?>
2245  margin-bottom: 15px;
2246  }
2247  div.fichecenter {
2248  width: 100%;
2249  clear: both; /* This is to have div fichecenter that are true rectangles */
2250  }
2251  div.fichecenterbis {
2252  margin-top: 8px;
2253  }
2254  div.fichethirdleft {
2255  float: none;
2256  width: auto;
2257  padding-bottom: 6px;
2258  }
2259  div.fichetwothirdright {
2260  float: none;
2261  width: auto;
2262  padding-bottom: 6px;
2263  }
2264  div.fichehalfleft {
2265  float: none;
2266  width: auto;
2267  }
2268  div.fichehalfright {
2269  float: none;
2270  width: auto;
2271  }
2272  div.fichehalfright {
2273  margin-top: 10px;
2274  }
2275  div.firstcolumn div.box {
2276  padding-right: 0px;
2277  }
2278  div.secondcolumn div.box {
2279  padding-left: 0px;
2280  }
2281 }
2282 
2283 /* For table into table into card */
2284 div.fichehalfright tr.liste_titre:first-child td table.nobordernopadding td {
2285  padding: 0 0 0 0;
2286 }
2287 div.nopadding {
2288  padding: 0 !important;
2289 }
2290 
2291 .containercenter {
2292  display : table;
2293  margin : 0px auto;
2294 }
2295 
2296 td.nobordernopadding.widthpictotitle.col-picto {
2297  color: #bbb;
2298  opacity: 0.9;
2299 }
2300 .pictotitle {
2301  margin-<?php echo $right; ?>: 8px;
2302  margin-bottom: 4px;
2303 }
2304 .pictoobjectwidth {
2305  width: 14px;
2306 }
2307 span.widthpictotitle {
2308  font-size: 1.3em;
2309 }
2310 .table-list-of-attached-files .col-picto, .table-list-of-links .col-picto {
2311  opacity: 0.7 !important;
2312  font-size: 1em;
2313  width: 20px;
2314 }
2315 .table-list-of-attached-files .col-picto .widthpictotitle, .table-list-of-links .col-picto .widthpictotitle {
2316  width: unset;
2317  color: #999;
2318 }
2319 .pictosubstatus {
2320  padding-left: 2px;
2321  padding-right: 2px;
2322 }
2323 .pictostatus {
2324  width: 15px;
2325  vertical-align: middle;
2326  margin-top: -3px
2327 }
2328 .pictowarning, .pictoerror, .pictopreview, .pictonopreview {
2329  padding-<?php echo $left; ?>: 3px;
2330 }
2331 .pictowarning {
2332  /* vertical-align: text-bottom; */
2333  color: <?php echo $badgeWarning; ?>;
2334 }
2335 .pictoerror {
2336  color: <?php echo $badgeDanger ?>;
2337 }
2338 .pictomodule {
2339  width: 14px;
2340 }
2341 .fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
2342 .fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
2343 .tagtdnote span.pictoedit {
2344  opacity: 0.6;
2345 }
2346 img.hideonsmartphone.pictoactionview {
2347  vertical-align: bottom;
2348 }
2349 
2350 .pictofixedwidth {
2351  text-align: <?php echo $left; ?>;
2352  width: 20px;
2353  /* padding-right: 0; */
2354 }
2355 
2356 .colorthumb {
2357  padding-left: 1px !important;
2358  padding-right: 1px;
2359  padding-top: 1px;
2360  padding-bottom: 1px;
2361  width: 50px;
2362  text-align:center;
2363 }
2364 div.attacharea {
2365  padding-top: 18px;
2366  padding-bottom: 10px;
2367 }
2368 div.attachareaformuserfileecm {
2369  padding-top: 0;
2370  padding-bottom: 0;
2371 }
2372 div.arearef {
2373  padding-top: 2px;
2374  padding-bottom: 5px;
2375  margin-bottom: 10px;
2376 }
2377 div.arearefnobottom {
2378  padding-top: 2px;
2379  padding-bottom: 4px;
2380 }
2381 div.heightref {
2382  min-height: 80px;
2383 }
2384 div.divphotoref:last-child {
2385  padding-<?php echo $right; ?>: 20px;
2386 }
2387 div.paginationref {
2388  padding-bottom: 10px;
2389 }
2390 div.statusref {
2391  float: right;
2392  padding-left: 12px;
2393  margin-top: 8px;
2394  margin-bottom: 10px;
2395  clear: both;
2396 }
2397 div.statusref img {
2398  padding-left: 8px;
2399  padding-right: 9px;
2400  vertical-align: text-bottom;
2401  width: 18px;
2402 }
2403 div.statusrefbis {
2404  padding-left: 8px;
2405  padding-right: 9px;
2406  vertical-align: text-bottom;
2407 }
2408 img.photoref, div.photoref {
2409  border: 1px solid #CCC;
2410  -webkit-box-shadow: 3px 3px 4px #DDD;
2411  box-shadow: 3px 3px 4px #DDD;
2412  padding: 4px;
2413  height: 80px;
2414  width: 80px;
2415  object-fit: contain;
2416 }
2417 .difforspanimgright {
2418  display: table-cell;
2419  padding-right: 10px;
2420 }
2421 
2422 img.photokanban, div.photokanban {
2423  padding: 0;
2424  border: none;
2425 }
2426 
2427 div.photoref .fa, div.photoref .fas, div.photoref .far {
2428  font-size: 2.5em;
2429 }
2430 
2431 img.fitcontain {
2432  object-fit: contain;
2433 }
2434 div.photoref {
2435  display:table-cell;
2436  vertical-align:middle;
2437  text-align:center;
2438 }
2439 img.photorefnoborder {
2440  padding: 2px;
2441  height: 48px;
2442  width: 48px;
2443  object-fit: contain;
2444  border: 1px solid #AAA;
2445  border-radius: 100px;
2446 }
2447 .underrefbanner {
2448 }
2449 .underbanner {
2450  border-bottom: <?php echo $borderwidth ?>px solid var(--colortopbordertitle1);
2451 }
2452 
2453 .trextrafieldseparator td, .trextrafields_collapse_last td {
2454  border-bottom: 1px solid var(--colortopbordertitle1) !important;
2455 }
2456 .tdhrthin {
2457  margin: 0;
2458  padding-bottom: 0 !important;
2459 }
2460 /* Payment Screen : Pointer cursor in the autofill image */
2461 .AutoFillAmount {
2462  cursor:pointer;
2463 }
2464 
2465 
2466 /* ============================================================================== */
2467 /* Menu top et 1ere ligne tableau */
2468 /* ============================================================================== */
2469 
2470 <?php
2471 $minwidthtmenu = 66; /* minimum width for one top menu entry */
2472 $heightmenu = 48; /* height of top menu, part with image */
2473 $heightmenu2 = 48; /* height of top menu, ârt with login */
2474 $disableimages = 0;
2475 $maxwidthloginblock = 110;
2476 if (getDolGlobalInt('THEME_TOPMENU_DISABLE_IMAGE') == 1) {
2477  $heightmenu = 30; $disableimages = 1; $maxwidthloginblock = 180; $minwidthtmenu = 0;
2478 }
2479 ?>
2480 
2481 div#tmenu_tooltip {
2482 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2483  display:none;
2484 <?php } else { ?>
2485  background: var(--colorbackhmenu1);
2486  /*
2487  background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2488  background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2489  background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2490  background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
2491  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)) );
2492  */
2493 <?php } ?>
2494 }
2495 
2496 div#tmenu_tooltip {
2497 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2498  display:none;
2499 <?php } else { ?>
2500  /* padding-<?php echo $right; ?>: <?php echo ($maxwidthloginblock - 10); ?>px; */
2501 <?php } ?>
2502 }
2503 
2504 li.tmenusel::after, li.tmenu:hover::after {
2505  content: "";
2506  position: absolute;
2507  bottom: 0px;
2508  left: 50%;
2509  left: calc(50% - 6px);
2510  width: 0;
2511  height: 0;
2512  border-style: solid;
2513  border-width: 0px 6px 5px 6px;
2514  border-color: transparent transparent #ffffff transparent;
2515 }
2516 
2517 div.tmenusep {
2518 <?php if ($disableimages) { ?>
2519  display: none;
2520 <?php } ?>
2521 }
2522 
2523 div.tmenudiv {
2524 <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2525  display:none;
2526 <?php } else { ?>
2527  position: relative;
2528  display: block;
2529  white-space: nowrap;
2530  border-top: 0px;
2531  border-<?php print $left; ?>: 0px;
2532  border-<?php print $right; ?>: 0px;
2533  padding: 0px 0px 0px 0px; /* t r b l */
2534  margin: 0px 0px 0px 0px; /* t r b l */
2535  font-size: 13px;
2536  font-weight: normal;
2537  color: #000000;
2538  text-decoration: none;
2539 <?php } ?>
2540 }
2541 div.tmenudisabled, a.tmenudisabled {
2542  opacity: 0.6;
2543 }
2544 a.tmenudisabled:link, a.tmenudisabled:visited, a.tmenudisabled:hover, a.tmenudisabled:active {
2545  font-weight: normal;
2546  padding: 0px 5px 0px 5px;
2547  white-space: nowrap;
2548  color: #<?php echo $colortextbackhmenu; ?>;
2549  text-decoration: none;
2550  cursor: not-allowed;
2551 }
2552 span.mainmenuaspan.tmenudisabled {
2553  color: var(--colortextbackhmenu);
2554  opacity: 0.5;
2555  cursor: not-allowed;
2556 }
2557 
2558 a.tmenu:link, a.tmenu:visited, a.tmenu:hover, a.tmenu:active {
2559  font-weight: normal;
2560  padding: 0px 5px 0px 5px;
2561  white-space: nowrap;
2562  /* text-shadow: 1px 1px 1px #000000; */
2563  color: #<?php echo $colortextbackhmenu; ?>;
2564  text-decoration: none;
2565 }
2566 a.tmenusel:link, a.tmenusel:visited, a.tmenusel:hover, a.tmenusel:active {
2567  font-weight: normal;
2568  padding: 0px 5px 0px 5px;
2569  margin: 0px 0px 0px 0px;
2570  white-space: nowrap;
2571  color: #<?php echo $colortextbackhmenu; ?>;
2572  text-decoration: none !important;
2573 }
2574 
2575 
2576 ul.tmenu { /* t r b l */
2577  padding: 0px 0px 0px 0px;
2578  margin: 0px 0px 0px 0px;
2579  list-style: none;
2580  display: table;
2581  margin-right: 65px; /* to keep space for bookmark */
2582  padding-left: 5px;
2583 }
2584 ul.tmenu li {
2585  background: var(--colorbackhmenu1);
2586  /*
2587  background-image: linear-gradient(to top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2588  background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2589  background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2590  background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
2591  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)) );
2592  */
2593 }
2594 li.tmenu, li.tmenusel {
2595  <?php print $minwidthtmenu ? 'min-width: '.$minwidthtmenu.'px;' : ''; ?>
2596  text-align: center;
2597  vertical-align: bottom;
2598  <?php if (empty($conf->global->MAIN_MENU_INVERT)) { ?>
2599  float: <?php print $left; ?>;
2600  <?php if (!$disableimages) { ?>
2601  height: <?php print $heightmenu; ?>px;
2602  padding: 0px 0px 2px 0px;
2603  <?php } else { ?>
2604  padding: 0px 0px 0px 0px;
2605  <?php }
2606  } ?>
2607  position:relative;
2608  display: block;
2609  margin: 0px 0px 0px 0px;
2610  font-weight: normal;
2611 }
2612 li.tmenu:hover {
2613  opacity: .50; /* show only a slight shadow */
2614 }
2615 
2616 .tmenuend .tmenuleft { width: 0px; }
2617 .tmenuend { display: none; }
2618 
2619 div.tmenuleft
2620 {
2621  float: <?php print $left; ?>;
2622  margin-top: 0px;
2623  <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
2624  width: 5px;
2625  <?php if (!$disableimages) { ?>
2626  height: <?php print $heightmenu + 4; ?>px;
2627  <?php } ?>
2628  <?php } ?>
2629 }
2630 div.tmenucenter
2631 {
2632  padding-left: 0px;
2633  padding-right: 0px;
2634  <?php if ($disableimages) { ?>
2635  padding-top: 10px;
2636  height: 26px;
2637  <?php } else { ?>
2638  padding-top: 2px;
2639  height: <?php print $heightmenu; ?>px;
2640  <?php } ?>
2641  width: 100%;
2642 }
2643 div.menu_titre {
2644  padding-bottom: 5px;
2645  overflow: hidden;
2646  text-overflow: ellipsis;
2647 }
2648 .mainmenuaspan
2649 {
2650  padding-<?php print $left; ?>: 2px;
2651  padding-<?php print $right; ?>: 2px;
2652 }
2653 
2654 div.mainmenu {
2655  position : relative;
2656  background-repeat:no-repeat;
2657  background-position:center top;
2658  height: <?php echo ($heightmenu - 22); ?>px;
2659  margin-left: 0px;
2660  min-width: 40px;
2661 }
2662 a.tmenuimage:focus, .mainmenu.topmenuimage:focus {
2663  outline: none;
2664 }
2665 
2666 
2667 div.mainmenu.home{
2668  background-position-x: center;
2669 }
2670 
2671 div.mainmenu.menu {
2672  top: 10px;
2673  left: 1px;
2674 }
2675 
2676 
2677 
2678 /* Do not load menu img if hidden to save bandwidth */
2679 <?php if (empty($dol_hide_topmenu)) { ?>
2680  <?php include dol_buildpath($path.'/theme/'.$theme.'/main_menu_fa_icons.inc.php', 0); ?>
2681 
2682  <?php
2683  // Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
2684 
2685  $moduletomainmenu = array(
2686  'user'=>'', 'syslog'=>'', 'societe'=>'companies', 'projet'=>'project', 'propale'=>'commercial', 'commande'=>'commercial',
2687  'produit'=>'products', 'service'=>'products', 'stock'=>'products',
2688  'don'=>'accountancy', 'tax'=>'accountancy', 'banque'=>'accountancy', 'facture'=>'accountancy', 'compta'=>'accountancy', 'accounting'=>'accountancy', 'adherent'=>'members', 'import'=>'tools', 'export'=>'tools', 'mailing'=>'tools',
2689  'contrat'=>'commercial', 'ficheinter'=>'commercial', 'ticket'=>'ticket', 'deplacement'=>'commercial',
2690  'fournisseur'=>'companies',
2691  'barcode'=>'', 'fckeditor'=>'', 'categorie'=>'',
2692  );
2693  $mainmenuused = 'home';
2694  foreach ($conf->modules as $val) {
2695  $mainmenuused .= ','.(isset($moduletomainmenu[$val]) ? $moduletomainmenu[$val] : $val);
2696  }
2697  $mainmenuusedarray = array_unique(explode(',', $mainmenuused));
2698 
2699  $generic = 1;
2700  // Put here list of menu entries when the div.mainmenu.menuentry was previously defined
2701  $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');
2702  // Put here list of menu entries we are sure we don't want
2703  $divnotrequired = array('multicurrency', 'salaries', 'ticket', 'margin', 'opensurvey', 'paybox', 'expensereport', 'incoterm', 'prelevement', 'propal', 'workflow', 'notification', 'supplier_proposal', 'cron', 'product', 'productbatch', 'expedition');
2704  foreach ($mainmenuusedarray as $val) {
2705  if (empty($val) || in_array($val, $divalreadydefined)) {
2706  continue;
2707  }
2708  if (in_array($val, $divnotrequired)) {
2709  continue;
2710  }
2711  //print "XXX".$val;
2712 
2713  // Search img file in module dir
2714  $found = 0; $url = '';
2715  foreach ($conf->file->dol_document_root as $dirroot) {
2716  if (file_exists($dirroot."/".$val."/img/".$val.".png")) {
2717  $url = dol_buildpath('/'.$val.'/img/'.$val.'.png', 1);
2718  $found = 1;
2719  break;
2720  }
2721  }
2722  // Img file not found
2723  if (!$found) {
2724  if (!defined('DISABLE_FONT_AWSOME')) {
2725  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";
2726  print 'div.mainmenu.'.$val.'::before {
2727  content: "\f249";
2728  }'."\n";
2729  } else {
2730  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";
2731  print "/* Overwrite this definition in your own css with a different content to use your own font awesome icon. */\n";
2732  $url = dol_buildpath($path.'/theme/'.$theme.'/img/menus/generic'.(min($generic, 4))."_over.png", 1);
2733  print "div.mainmenu.".$val." {\n";
2734  print " background-image: url(".$url.");\n";
2735  print "}\n";
2736  }
2737  $generic++;
2738  } else {
2739  print "div.mainmenu.".$val." {\n";
2740  print " background-image: url(".$url.");\n";
2741  print " filter: saturate(0);\n";
2742  print "}\n";
2743  }
2744  }
2745  // End of part to add more div class css
2746 } // End test if $dol_hide_topmenu ?>
2747 
2748 
2749 .tmenuimage {
2750  padding:0 0 0 0 !important;
2751  margin:0 0px 0 0 !important;
2752  <?php if ($disableimages) { ?>
2753  display: none;
2754  <?php } ?>
2755 }
2756 .topmenuimage {
2757  <?php if ($disableimages) { ?>
2758  display: none;
2759  <?php } ?>
2760 }
2761 a.tmenuimage:hover {
2762  text-decoration: none;
2763 }
2764 a.tmenuimage {
2765  display: block;
2766 }
2767 a.tmenuimage:focus {
2768  outline: none;
2769 }
2770 
2771 
2772 /* Login */
2773 
2774 .bodylogin
2775 {
2776  background: #f0f0f0;
2777  display: table;
2778  position: absolute;
2779  height: 100%;
2780  width: 100%;
2781 }
2782 .login_center {
2783  display: table-cell;
2784  vertical-align: middle;
2785 }
2786 .login_vertical_align {
2787  padding: 10px;
2788  padding-bottom: 80px;
2789 }
2790 form#login {
2791  padding-bottom: 30px;
2792  font-size: 1.2em;
2793  vertical-align: middle;
2794 }
2795 .login_table_title {
2796  max-width: 530px;
2797  color: #aaa !important;
2798  padding-bottom: 20px;
2799  /* text-shadow: 1px 1px 1px #FFF; */
2800 }
2801 .login_table label {
2802  text-shadow: 1px 1px 1px #FFF;
2803 }
2804 .login_table {
2805  margin: 0px auto; /* Center */
2806  padding-left:6px;
2807  padding-right:6px;
2808  padding-top:16px;
2809  padding-bottom:12px;
2810  max-width: 560px;
2811 
2812  background-color: #FFFFFF;
2813 
2814  -webkit-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
2815  box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
2816 
2817  border-radius: 4px;
2818  border:solid 1px rgba(80,80,80,.4);
2819 
2820  border-top:solid 1px #f8f8f8;
2821 }
2822 .login_table input#username, .login_table input#password, .login_table input#securitycode{
2823  border: none;
2824  /* border-bottom: solid 1px rgba(180,180,180,.4); */
2825  padding: 5px;
2826  margin-left: 5px;
2827  margin-top: 5px;
2828  margin-bottom: 5px;
2829 }
2830 .login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
2831  outline: none !important;
2832 }
2833 .login_table .trinputlogin {
2834  margin: 8px;
2835 }
2836 .login_table .tdinputlogin {
2837  background-color: #fff;
2838  min-width: 220px;
2839  border-radius: 2px;
2840 }
2841 .login_table .tdinputlogin {
2842  border-bottom: 1px solid #ccc;
2843 }
2844 .login_table .tdinputlogin .fa {
2845  padding-left: 10px;
2846  width: 14px;
2847 }
2848 
2849 .login_main_home {
2850  word-break: break-word;
2851 }
2852 .login_main_message {
2853  text-align: center;
2854  max-width: 570px;
2855  margin-bottom: 10px;
2856 }
2857 .login_main_message .error {
2858  border: 1px solid #caa;
2859  padding: 10px;
2860 }
2861 div#login_left, div#login_right {
2862  display: inline-block;
2863  min-width: 245px;
2864  padding-top: 10px;
2865  padding-left: 16px;
2866  padding-right: 16px;
2867  text-align: center;
2868  vertical-align: middle;
2869 }
2870 div#login_right select#entity {
2871  margin-top: 10px;
2872 }
2873 table.login_table tr td table.none tr td {
2874  padding: 2px;
2875 }
2876 table.login_table_securitycode {
2877  border-spacing: 0px;
2878 }
2879 table.login_table_securitycode tr td {
2880  padding-left: 0px;
2881  padding-right: 4px;
2882 }
2883 #securitycode {
2884  min-width: 60px;
2885 }
2886 #img_securitycode {
2887  border: 1px solid #f4f4f4;
2888 }
2889 #img_logo, .img_logo {
2890  max-width: 170px;
2891  max-height: 90px;
2892 }
2893 
2894 
2895 .atoplogin.dropdown .dropdown-menu {
2896  display: none;
2897 }
2898 
2899 div.login_block {
2900  top: 0;
2901  padding-top: 3px;
2902  padding-bottom: 3px;
2903  <?php print $left; ?>: 0;
2904 <?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
2905  position: absolute;
2906 <?php } else { ?>
2907  position: fixed;
2908 <?php } ?>
2909  z-index: 10;
2910  text-align: center;
2911  vertical-align: middle;
2912  background: var(--colorbackvmenu1);
2913  width: 228px;
2914  height: 70px;
2915  <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
2916  display: none;
2917  <?php } ?>
2918 }
2919 div.login_block table {
2920  display: inline;
2921 }
2922 div.login {
2923  white-space:nowrap;
2924  font-weight: bold;
2925  float: right;
2926 }
2927 div.login a {
2928  color: #<?php echo $colortextbackvmenu; ?>;
2929 }
2930 div.login a:hover {
2931  color: #<?php echo $colortextbackvmenu; ?>;
2932  text-decoration:underline;
2933 }
2934 div.login_block_user, div.login_block_other { clear: both; }
2935 div.login_block_other { padding-top: 15px; }
2936 
2937 .topnav div.login_block_user {
2938  display: inline-block;
2939  vertical-align: middle;
2940  line-height: <?php echo $disableimages ? '25' : '70'; ?>px;
2941  height: <?php echo $disableimages ? '25' : '70'; ?>px;
2942 }
2943 .topnav div.login_block_other {
2944  display: inline-block;
2945  vertical-align: middle;
2946  clear: <?php echo $disableimages ? 'none' : 'both'; ?>;
2947  padding-top: 0;
2948  text-align: right;
2949  margin-right: 8px;
2950  max-width: 200px;
2951 }
2952 
2953 .login_block_elem {
2954  float: right;
2955  vertical-align: top;
2956  padding: 0px 0px 0px 2px !important;
2957  height: 18px;
2958 }
2959 .login_block_elem_name {
2960  margin-top: 1px;
2961 }
2962 a.aversion {
2963  white-space: nowrap;
2964  width: 48px;
2965  overflow: hidden;
2966  text-overflow: ellipsis;
2967  display: block;
2968 }
2969 
2970 .atoplogin, .atoplogin:hover {
2971  color: #<?php echo $colortextbackvmenu; ?> !important;
2972 }
2973 .alogin, .alogin:hover {
2974  color: #888 !important;
2975  font-weight: normal !important;
2976  font-size: <?php echo $fontsizesmaller; ?>px !important;
2977 }
2978 .alogin:hover, .atoplogin:hover {
2979  text-decoration:underline !important;
2980 }
2981 span.fa.atoplogin, span.fa.atoplogin:hover {
2982  font-size: 16px;
2983  text-decoration: none !important;
2984 }
2985 img.login, img.printer, img.entity {
2986  /* padding: 0px 0px 0px 4px; */
2987  /* margin: 0px 0px 0px 8px; */
2988  text-decoration: none;
2989  color: white;
2990  font-weight: bold;
2991 }
2992 .userimg.atoplogin img.userphoto, .userimgatoplogin img.userphoto { /* size for user photo in login bar */
2993  /* border-radius: 8px; */
2994  width: 20px;
2995  height: 20px;
2996  background-size: contain;
2997  vertical-align: text-bottom;
2998  background-color: #FFF;
2999 }
3000 img.userphoto { /* size for user photo in lists */
3001  border-radius: 0.75em;
3002  width: 1.5em;
3003  height: 1.5em;
3004  background-size: contain;
3005  vertical-align: middle;
3006 }
3007 img.userphotosmall { /* size for user photo in lists */
3008  border-radius: 0.6em;
3009  width: 1.2em;
3010  height: 1.2em;
3011  background-size: contain;
3012  vertical-align: middle;
3013 }
3014 img.userphoto[alt="Gravatar avatar"] {
3015  background: #fff;
3016 }
3017 form[name="addtime"] img.userphoto {
3018  border: 1px solid #444;
3019 }
3020 .span-icon-user {
3021  background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/object_user.png', 1); ?>);
3022  background-repeat: no-repeat;
3023 }
3024 .span-icon-password {
3025  background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/lock.png', 1); ?>);
3026  background-repeat: no-repeat;
3027 }
3028 
3029 /* ============================================================================== */
3030 /* Menu gauche */
3031 /* ============================================================================== */
3032 
3033 div.vmenu, td.vmenu {
3034  margin-<?php print $right; ?>: 2px;
3035  position: relative;
3036  float: <?php print $left; ?>;
3037  padding: 0px;
3038  padding-bottom: 0px;
3039  padding-top: 0px;
3040  width: 222px;
3041 }
3042 
3043 .vmenu {
3044  margin-<?php print $left; ?>: 4px;
3045  <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
3046  display: none;
3047  <?php } ?>
3048 }
3049 
3050 .vmenusearchselectcombo {
3051  width: 202px;
3052 }
3053 
3054 .menu_contenu {
3055  padding-top: 4px;
3056  padding-bottom: 3px;
3057  overflow: hidden;
3058  text-overflow: ellipsis;
3059 }
3060 #menu_contenu_logo { padding-right: 4px; }
3061 .companylogo { padding-top: 4px; }
3062 .searchform { padding-top: 10px; }
3063 .searchform .bordertransp { border: 0; }
3064 
3065 a.vmenu:link, a.vmenu:visited, a.vmenu:hover, a.vmenu:active, span.vmenu, span.vsmenu {
3066  white-space: nowrap; font-size:<?php print $fontsize ?>px; font-family: <?php print $fontlist ?>; text-align: <?php print $left; ?>; font-weight: bold;
3067 }
3068 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; }
3069 a.vmenu:link, a.vmenu:visited {
3070  color: var(--colortextbackvmenu);
3071 }
3072 
3073 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; }
3074 span.vsmenudisabled:not(.spanlilevel0), font.vsmenudisabled:not(.spanlilevel0) {
3075  font-size:<?php print $fontsize ?>px;
3076 }
3077 span.vsmenudisabled, font.vsmenudisabled {
3078  font-family: <?php print $fontlist ?>;
3079  text-align: <?php print $left; ?>;
3080  font-weight: normal;
3081  color: #aaa;
3082  white-space: nowrap;
3083 }
3084 a.vsmenu:link, a.vsmenu:visited {
3085  color: var(--colortextbackvmenu);
3086  white-space: nowrap;
3087 }
3088 span.vsmenudisabledmargin, font.vsmenudisabledmargin { margin: 1px 1px 1px 8px; }
3089 
3090 a.help:link, a.help:visited, a.help:hover, a.help:active, span.help {
3091  text-align: <?php print $left; ?>; font-weight: normal; color: #999; text-decoration: none;
3092 }
3093 
3094 .helppresentcircle {
3095  /*
3096  color: var(--colorbackhmenu1);
3097  filter: invert(0.5);
3098  */
3099  color: var(--colortextbackhmenu);
3100  margin-left: -4px;
3101  display: inline-block;
3102  font-size: x-small;
3103  vertical-align: super;
3104  opacity: 0.95;
3105  transform: rotate(<?php echo ($left == 'left' ? '55deg' : '305deg'); ?>);
3106 }
3107 
3108 div.blockvmenulogo
3109 {
3110  border-bottom: 0 !important;
3111 }
3112 .menulogocontainer {
3113  margin: <?php echo $disableimages ? '-1' : '6'; ?>px;
3114  margin-left: 12px;
3115  margin-right: 6px;
3116  padding: 0;
3117  height: <?php echo $disableimages ? '18' : '32'; ?>px;
3118  /* width: 100px; */
3119  max-width: 100px;
3120  vertical-align: middle;
3121 }
3122 .backgroundforcompanylogo {
3123  background-color: rgba(255,255,255,0.7);
3124  border-radius: 5px;
3125 }
3126 .menulogocontainer img.mycompany {
3127  object-fit: contain;
3128  width: inherit;
3129  height: inherit;
3130  image-rendering: -webkit-optimize-contrast;
3131 }
3132 #mainmenutd_companylogo::after {
3133  content: unset;
3134 }
3135 li#mainmenutd_companylogo .tmenucenter {
3136  width: unset;
3137 }
3138 li#mainmenutd_companylogo {
3139  min-width: unset !important;
3140 }
3141 <?php if ($disableimages) { ?>
3142  li#mainmenutd_home {
3143  min-width: unset !important;
3144  }
3145  li#mainmenutd_home .tmenucenter {
3146  width: unset;
3147  }
3148 <?php } ?>
3149 
3150 div.blockvmenupair, div.blockvmenuimpair
3151 {
3152  font-family: <?php print $fontlist ?>;
3153  color: #000000;
3154  text-align: <?php print $left; ?>;
3155  text-decoration: none;
3156  padding-left: 5px;
3157  padding-right: 1px;
3158  padding-top: 3px;
3159  padding-bottom: 3px;
3160  margin: 1px 0px 8px 0px;
3161 
3162  padding-bottom: 10px;
3163  border-bottom: 1px solid #e0e0e0;
3164 }
3165 div.blockvmenubookmarks
3166 {
3167  padding-bottom: 16px !important;
3168 }
3169 div.blockvmenuend {
3170  border: none !important;
3171  padding-left: 0 !important;
3172 }
3173 a.vsmenu.addbookmarkpicto {
3174  padding-right: 10px;
3175 }
3176 div.blockvmenufirst {
3177  padding-top: 10px;
3178 /* border-top: 1px solid #e0e0e0; */
3179 }
3180 div.blockvmenusearch, div.blockvmenubookmarks
3181 {
3182  font-family: <?php print $fontlist ?>;
3183  color: #000000;
3184  text-align: <?php print $left; ?>;
3185  text-decoration: none;
3186  padding-left: 5px;
3187  padding-right: 1px;
3188  padding-top: 3px;
3189  padding-bottom: 3px;
3190  margin: 1px 0px 2px 0px;
3191 
3192  padding-bottom: 10px;
3193  /* border-bottom: 1px solid #f4f4f4; */
3194 }
3195 div.blockvmenusearchphone
3196 {
3197  border-bottom: none;
3198  margin-bottom: 0px;
3199 }
3200 
3201 div.blockvmenuhelp
3202 {
3203 <?php if (empty($conf->dol_optimize_smallscreen)) { ?>
3204  font-family: <?php print $fontlist ?>;
3205  color: #000000;
3206  text-align: center;
3207  text-decoration: none;
3208  padding-left: 0px;
3209  padding-right: 8px;
3210  padding-top: 3px;
3211  padding-bottom: 3px;
3212  margin: 4px 0px 0px 0px;
3213 <?php } else { ?>
3214  display: none;
3215 <?php } ?>
3216 }
3217 
3218 
3219 td.barre {
3220  border-right: 1px solid #000000;
3221  border-bottom: 1px solid #000000;
3222  background: #b3c5cc;
3223  font-family: <?php print $fontlist ?>;
3224  color: #000000;
3225  text-align: <?php print $left; ?>;
3226  text-decoration: none;
3227 }
3228 
3229 td.barre_select {
3230  background: #b3c5cc;
3231  color: #000000;
3232 }
3233 
3234 td.photo {
3235  background: #F4F4F4;
3236  color: #000000;
3237  border: 1px solid #bbb;
3238 }
3239 
3240 /* ============================================================================== */
3241 /* Panes for Main */
3242 /* ============================================================================== */
3243 
3244 /*
3245  * PANES and CONTENT-DIVs
3246  */
3247 
3248 #mainContent, #leftContent .ui-layout-pane {
3249  padding: 0px;
3250  overflow: auto;
3251 }
3252 
3253 #mainContent, #leftContent .ui-layout-center {
3254  padding: 0px;
3255  position: relative; /* contain floated or positioned elements */
3256  overflow: auto; /* add scrolling to content-div */
3257 }
3258 
3259 
3260 /* ============================================================================== */
3261 /* Toolbar for ECM or Filemanager */
3262 /* ============================================================================== */
3263 
3264 td.ecmroot {
3265  padding-bottom: 0 !important;
3266 }
3267 
3268 .largebutton {
3269  /* border-top: 1px solid #CCC !important; */
3270  padding: 0px 4px 14px 4px !important;
3271  min-height: 32px;
3272 }
3273 
3274 
3275 a.toolbarbutton {
3276  margin-top: 0px;
3277  margin-left: 4px;
3278  margin-right: 4px;
3279  height: 30px;
3280 }
3281 img.toolbarbutton {
3282  margin-top: 1px;
3283  height: 30px;
3284 }
3285 
3286 li.expanded > a.fmdirlia.jqft.ecmjqft {
3287  font-weight: bold !important;
3288 }
3289 
3290 
3291 /* ============================================================================== */
3292 /* Onglets */
3293 /* ============================================================================== */
3294 div.tabs {
3295  text-align: <?php print $left; ?>;
3296  margin-left: 6px !important;
3297  margin-right: 6px !important;
3298  clear:both;
3299  height:100%;
3300 }
3301 div.tabsElem {
3302  margin-top: 6px;
3303 } /* To avoid overlap of tabs when not browser */
3304 div.tabsElem a {
3305  font-weight: normal !important;
3306 }
3307 div.tabBar {
3308  color: #<?php echo $colortextbacktab; ?>;
3309  padding-top: 23px;
3310  padding-left: 24px;
3311  padding-right: 24px;
3312  padding-bottom: 23px;
3313  margin: 0px 0px 18px 0px;
3314  -webkit-border-radius: 3px;
3315  border-radius: 3px;
3316  border-right: 1px solid #CCC;
3317  border-left: 1px solid #CCC;
3318  border-top: 1px solid #CCC;
3319  border-bottom: 1px solid #CCC;
3320  width: auto;
3321  background: var(--colorbacktabcard1);
3322 }
3323 
3324 div.tabBar tr.titre td {
3325  padding-top: 10px;
3326 }
3327 
3328 /*
3329 div.tabBar.tabBarNoTop {
3330  padding-top: 0;
3331  border-top: 0;
3332 }
3333 */
3334 
3335 /* tabBar used for creation/update/send forms */
3336 div.tabBarWithBottom {
3337  padding-bottom: 18px;
3338  border-bottom: 1px solid #aaa;
3339 }
3340 div.tabBar table.tableforservicepart2:last-child {
3341  border-bottom: 1px solid #aaa;
3342 }
3343 .tableforservicepart1 .tdhrthin {
3344  height: unset;
3345 }
3346 /* Payment Screen : Pointer cursor in the autofill image */
3347 .AutoFillAmount {
3348  cursor:pointer;
3349 }
3350 
3351 /* ============================================================================== */
3352 /* Buttons for actions */
3353 /* ============================================================================== */
3354 
3355 div.divButAction {
3356  margin-bottom: 1.4em;
3357 }
3358 div.tabsAction {
3359  margin: 20px 0em 20px 0em;
3360  padding: 0em 0em;
3361  text-align: right;
3362 }
3363 div.tabsActionNoBottom {
3364  margin-bottom: 0px;
3365 }
3366 div.tabsAction > a {
3367  margin-bottom: 16px !important;
3368 }
3369 
3370 div.popuptabset {
3371  padding: 6px;
3372  background: #fff;
3373  border: 1px solid #888;
3374 }
3375 div.popuptab {
3376  padding-top: 5px;
3377  padding-bottom: 5px;
3378  padding-left: 5px;
3379  padding-right: 5px;
3380 }
3381 
3382 a.tabTitle {
3383  color:rgba(0,0,0,.5);
3384  margin-<?php print $right; ?>: 10px;
3385  text-shadow:1px 1px 1px #ffffff;
3386  font-family: <?php print $fontlist ?>;
3387  font-weight: normal;
3388  padding: 4px 6px 2px 6px;
3389  margin: 0px 6px;
3390  text-decoration: none;
3391  white-space: nowrap;
3392 }
3393 .tabTitleText {
3394  display: none;
3395 }
3396 .imgTabTitle {
3397  max-height: 14px;
3398 }
3399 div.tabs div.tabsElem:first-of-type a.tab {
3400  margin-left: 0px !important;
3401 }
3402 
3403 a.tab:link, a.tab:visited, a.tab:hover, a.tab#active {
3404  font-family: <?php print $fontlist ?>;
3405  padding: 12px 13px 12px;
3406  margin: 0em 0.2em;
3407  text-decoration: none;
3408  white-space: nowrap;
3409  background-image: none !important;
3410 }
3411 
3412 .tabactive, a.tab#active {
3413  color: var(--colortextbacktab) !important;
3414  background: var(--colorbacktabcard1) !important;
3415 
3416  border-right: 1px solid #AAA !important;
3417  border-left: 1px solid #AAA !important;
3418  border-top: 2px solid #111 !important;
3419 }
3420 .tabunactive, a.tab#unactive {
3421  border-right: 1px solid transparent;
3422  border-left: 1px solid transparent;
3423  border-top: 1px solid transparent;
3424  border-bottom: 0px !important;
3425 }
3426 
3427 a.tab:hover
3428 {
3429  /*
3430  background: var(--colorbacktabcard1) url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nav-overlay3.png', 1); ?>) 50% 0 repeat-x;
3431  color: var(--colortextbacktab);
3432  */
3433  text-decoration: underline;
3434 }
3435 a.tabimage {
3436  color: #434956;
3437  font-family: <?php print $fontlist ?>;
3438  text-decoration: none;
3439  white-space: nowrap;
3440 }
3441 
3442 td.tab {
3443  background: #dee7ec;
3444 }
3445 
3446 span.tabspan {
3447  background: #dee7ec;
3448  color: #434956;
3449  font-family: <?php print $fontlist ?>;
3450  padding: 0px 6px;
3451  margin: 0em 0.2em;
3452  text-decoration: none;
3453  white-space: nowrap;
3454  -webkit-border-radius:3px 3px 0px 0px;
3455  border-radius:3px 3px 0px 0px;
3456 
3457  border-<?php print $right; ?>: 1px solid #555555;
3458  border-<?php print $left; ?>: 1px solid #D8D8D8;
3459  border-top: 1px solid #D8D8D8;
3460 }
3461 
3462 /* ============================================================================== */
3463 /* Buttons for actions */
3464 /* ============================================================================== */
3465 <?php include dol_buildpath($path.'/theme/'.$theme.'/btn.inc.php', 0); ?>
3466 
3467 
3468 
3469 /* ============================================================================== */
3470 /* Tables */
3471 /* ============================================================================== */
3472 
3473 .allwidth {
3474  width: 100%;
3475 }
3476 
3477 #undertopmenu {
3478  background-repeat: repeat-x;
3479  margin-top: <?php echo ($dol_hide_topmenu ? '6' : '0'); ?>px;
3480 }
3481 
3482 .paddingrightonly {
3483  border-collapse: collapse;
3484  border: 0px;
3485  margin-left: 0px;
3486  padding-<?php print $left; ?>: 0px !important;
3487  padding-<?php print $right; ?>: 4px !important;
3488 }
3489 .nocellnopadd {
3490  list-style-type:none;
3491  margin: 0px !important;
3492  padding: 0px !important;
3493 }
3494 .noborderspacing {
3495  border-spacing: 0;
3496 }
3497 tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
3498 {
3499  border: 0px;
3500 }
3501 
3502 .unsetcolor {
3503  color: unset !important;
3504 }
3505 
3506 .smallpaddingimp {
3507  padding: 4px !important;
3508 }
3509 input.buttonreset {
3510  margin-top: 3px;
3511  margin-bottom: 3px;
3512  padding: 8px 15px;
3513  text-decoration: underline;
3514  color: var(--colortextlink);
3515  background-color: transparent;
3516  cursor: pointer;
3517 }
3518 
3519 .notopnoleft {
3520  border-collapse: collapse;
3521  border: 0px;
3522  padding-top: 0px;
3523  padding-<?php print $left; ?>: 0px;
3524  padding-<?php print $right; ?>: 16px;
3525  padding-bottom: 4px;
3526  margin-right: 0px;
3527 }
3528 .notopnoleftnoright {
3529  border-collapse: collapse;
3530  border: 0px;
3531  padding-top: 0px;
3532  padding-left: 0px;
3533  padding-right: 0px;
3534  padding-bottom: 4px;
3535  margin: 0px 0px 0px 0px;
3536 }
3537 
3538 table.tableforemailform tr td {
3539  padding-top: 3px;
3540  padding-bottom: 3px;
3541 }
3542 
3543 table.border, table.bordernooddeven, table.dataTable, .table-border, .table-border-col, .table-key-border-col, .table-val-border-col, div.border {
3544  border: 1px solid #f4f4f4;
3545  border-collapse: collapse !important;
3546  padding: 1px 2px 1px 3px; /* t r b l */
3547 }
3548 table.borderplus {
3549  border: 1px solid #BBB;
3550 }
3551 
3552 .border tbody tr, .bordernooddeven tbody tr, .border tbody tr td, .bordernooddeven tbody tr td,
3553 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,
3554 tr.liste_titre.box_titre td table td, .bordernooddeven tr td {
3555  height: 28px;
3556 }
3557 
3558 table.border td, table.bordernooddeven td, div.border div div.tagtd {
3559  padding: 3px 4px 3px 4px;
3560  border: 1px solid #f0f0f0;
3561  border-collapse: collapse;
3562 }
3563 
3564 td.border, div.tagtable div div.border {
3565  border-top: 1px solid #000000;
3566  border-right: 1px solid #000000;
3567  border-bottom: 1px solid #000000;
3568  border-left: 1px solid #000000;
3569 }
3570 
3571 .table-key-border-col {
3572  /* width: 25%; */
3573  vertical-align:top;
3574 }
3575 .table-val-border-col {
3576  width:auto;
3577 }
3578 
3579 
3580 .thsticky, .tdsticky {
3581  position: sticky;
3582  left: 0px;
3583 }
3584 .thstickyright, .tdstickyright {
3585  position: sticky;
3586  right: 0px;
3587 }
3588 .thstickygray, .tdstickygray {
3589  background-color: lightgray;
3590 }
3591 .thstickyghostwhite, .tdstickyghostwhite {
3592  background-color: ghostwhite;
3593 }
3594 .thstickyinherit, .tdstickyinherit {
3595  background-color: inherit;
3596 }
3597 
3598 <?php if (!empty($conf->global->THEME_ENABLE_STICKY_COLUMN_REF)) { ?>
3599 /* To have left column sticky */
3600 .tagtable td[data-key="ref"], .tagtable th[data-key="ref"] {
3601  position: sticky;
3602  left: 0;
3603  top: 0;
3604  max-width: 150px !important;
3605  /*background-color: inherit;*/
3606  background-color: gainsboro;
3607  z-index: 2;
3608 }
3609 <?php } ?>
3610 
3611 <?php if (!empty($conf->global->THEME_ENABLE_STICKY_COLUMN_ACTION)) { ?>
3612 /* To have right column sticky */
3613 .tagtable td.actioncolumn, .tagtable th.actioncolumn {
3614  position: sticky;
3615  right: 0;
3616  top: 0;
3617  max-width: 150px !important;
3618  /*background-color: inherit;*/
3619  background-color: gainsboro;
3620  z-index: 2;
3621 }
3622 <?php } ?>
3623 
3624 
3625 
3626 /* Main boxes */
3627 .nobordertop, .nobordertop tr:first-of-type td {
3628  border-top: none !important;
3629 }
3630 .noborderbottom, .noborderbottom tr:last-of-type td {
3631  border-bottom: none !important;
3632 }
3633 .bordertop {
3634  border-top: 1px solid var(--colortopbordertitle1);
3635 }
3636 .borderbottom {
3637  border-bottom: 1px solid var(--colortopbordertitle1);
3638 }
3639 
3640 .fichehalfright table.noborder {
3641  margin: 0px 0px 0px 0px;
3642 }
3643 div.colorback
3644 {
3645  background: var(--colorbacktitle1);
3646  padding: 10px;
3647  margin-top: 5px;
3648 }
3649 .liste_titre_bydiv {
3650  <?php if ($userborderontable) { ?>
3651  border-right: 1px solid #ccc;
3652  border-left: 1px solid #ccc;
3653  <?php } ?>
3654 }
3655 table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
3656  <?php
3657  if ($userborderontable) { ?>
3658  border-left: 1px solid #BBB;
3659  border-right: 1px solid #BBB;
3660  <?php } ?>
3661 }
3662 table.liste, table.noborder.paymenttable, table.noborder.margintable, table.noborder.tableforcontact, table.formdoc, div.noborder.paymenttable, div.noborder.margintable, div.noborder.tableforcontact {
3663  border-left: 1px solid #f0f0f0;
3664  border-right: 1px solid #f0f0f0;
3665 }
3666 table.liste, table.noborder, table.formdoc, div.noborder {
3667  width: calc(100% - 2px); /* -2 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */
3668 
3669  border-collapse: separate !important;
3670  border-spacing: 0px;
3671 
3672  border-top-width: <?php echo $borderwidth ?>px;
3673  border-top-color: var(--colortopbordertitle1);
3674  border-top-style: solid;
3675 
3676  border-bottom-width: 1px;
3677  border-bottom-color: #BBB;
3678  border-bottom-style: solid;
3679 
3680  margin: 0px 0px 20px 0px;
3681 
3682  -webkit-border-radius: 0.1em;
3683  border-radius: 0.1em;
3684 }
3685 table.noborder tr, div.noborder form {
3686  border-top-color: #FEFEFE;
3687 
3688  border-right-width: 1px;
3689  border-right-color: #BBBBBB;
3690  border-right-style: solid;
3691 
3692  border-left-width: 1px;
3693  border-left-color: #BBBBBB;
3694  border-left-style: solid;
3695  min-height: 26px;
3696 }
3697 table.paddingtopbottomonly tr td {
3698  padding-top: 1px;
3699  padding-bottom: 2px;
3700 }
3701 
3702 .liste_titre_filter {
3703  background: var(--colorbacktitle1) !important;
3704 }
3705 tr.liste_titre_filter td.liste_titre {
3706  padding-top: 4px;
3707  padding-bottom: 3px;
3708 }
3709 .liste_titre_create td, .liste_titre_create th, .liste_titre_create .tagtd
3710 {
3711  border-top-width: 1px;
3712  border-top-color: var(--colortopbordertitle1);
3713  border-top-style: solid;
3714 }
3715 .liste_titre_add td, .liste_titre_add th, .liste_titre_add .tagtd
3716 {
3717  border-top-width: 2px;
3718  border-top-color: var(--colortopbordertitle1);
3719  border-top-style: solid;
3720 }
3721 .liste_titre_add td, .liste_titre_add .tagtd
3722 {
3723  border-top-width: 1px;
3724  border-top-color: var(--colortopbordertitle1);
3725  border-top-style: solid;
3726 }
3727 
3728 table.liste th, table.noborder th, table.noborder tr.liste_titre td {
3729  padding: 8px 6px 8px 6px; /* t r b l */
3730 }
3731 
3732 table.liste td, table.noborder td, div.noborder form div, table.tableforservicepart1 td, table.tableforservicepart2 td {
3733  padding: 4px 6px 4px 6px; /* t r b l */
3734  height: 22px;
3735 }
3736 form.tagtable {
3737  padding: unset !important;
3738  border: unset !important;
3739 }
3740 
3741 table.liste td, table.noborder td, div.noborder form div {
3742  padding: 8px 6px 8px 6px; /* t r b l */
3743 }
3744 div.liste_titre_bydiv .divsearchfield {
3745  padding: 2px 1px 2px 6px; /* t r b l */
3746 }
3747 
3748 table.nobordernopadding {
3749  border-collapse: collapse !important;
3750  border: 0;
3751 }
3752 table.nobordernopadding tr {
3753  border: 0 !important;
3754  padding: 0 0 !important;
3755 }
3756 table.nobordernopadding tr td {
3757  border: 0 !important;
3758  padding: 0 3px 0 0;
3759 }
3760 table.border tr td table.nobordernopadding tr td {
3761  padding-top: 0;
3762  padding-bottom: 0;
3763 }
3764 td.borderright {
3765  border: none; /* to erase value for table.nobordernopadding td */
3766  border-right-width: 1px !important;
3767  border-right-color: #BBB !important;
3768  border-right-style: solid !important;
3769 }
3770 td.borderleft {
3771  border: none; /* to erase value for table.nobordernopadding td */
3772  border-left-width: 1px !important;
3773  border-left-color: #BBB !important;
3774  border-left-style: solid !important;
3775 }
3776 
3777 /* For table with no filter before */
3778 table.listwithfilterbefore {
3779  border-top: none !important;
3780 }
3781 
3782 .tagtable, .table-border { display: table; }
3783 .tagtr, .table-border-row { display: table-row; }
3784 .tagtd, .table-border-col, .table-key-border-col, .table-val-border-col { display: table-cell; }
3785 .confirmquestions .tagtr .tagtd:not(:first-child) { padding-left: 10px; }
3786 
3787 
3788 /* Pagination */
3789 div.refidpadding {
3790  padding-top: 3px;
3791 }
3792 div.refid {
3793  font-weight: bold;
3794  color: var(--colortexttitlenotab);
3795  font-size: 160%;
3796 }
3797 a.refid {
3798  color: var(--colortexttitlenotab) !important;
3799 }
3800 div.refidno {
3801  padding-top: 8px;
3802  font-weight: normal;
3803  color: #444;
3804  font-size: <?php print $fontsize ?>px;
3805  line-height: 21px;
3806 }
3807 div.refidno form {
3808  display: inline-block;
3809 }
3810 
3811 div.pagination {
3812  float: right;
3813 }
3814 div.pagination a {
3815  font-weight: normal;
3816 }
3817 div.pagination ul
3818 {
3819  list-style: none;
3820  display: inline-block;
3821  padding-left: 0px;
3822  padding-right: 0px;
3823  margin: 0;
3824 }
3825 div.pagination li {
3826  display: inline-block;
3827  padding-left: 0px;
3828  padding-right: 0px;
3829  padding-top: 6px;
3830  padding-bottom: 5px;
3831 }
3832 .pagination {
3833  display: inline-block;
3834  padding-left: 0;
3835  border-radius: 4px;
3836 }
3837 
3838 div.pagination li.pagination a,
3839 div.pagination li.pagination span {
3840  padding: 6px 12px;
3841  padding-top: 8px;
3842  line-height: 1.42857143;
3843  color: #000;
3844  text-decoration: none;
3845 }
3846 div.pagination li.pagination span.inactive {
3847  cursor: default;
3848  color: #ccc;
3849 }
3850 
3851 div.pagination li.litext a {
3852 border: none;
3853  padding-right: 10px;
3854  padding-left: 4px;
3855  font-weight: bold;
3856 }
3857 div.pagination li.noborder a:hover {
3858  border: none;
3859  background-color: transparent;
3860 }
3861 div.pagination li:first-child a,
3862 div.pagination li:first-child span {
3863  margin-left: 0;
3864  border-top-left-radius: 4px;
3865  border-bottom-left-radius: 4px;
3866 }
3867 div.pagination li:last-child a,
3868 div.pagination li:last-child span {
3869  border-top-right-radius: 4px;
3870  border-bottom-right-radius: 4px;
3871 }
3872 div.pagination li a:hover,
3873 div.pagination li span:hover,
3874 div.pagination li a:focus,
3875 div.pagination li span:focus {
3876  color: #000;
3877  background-color: #eee;
3878  border-color: #ddd;
3879  /* padding-top: 8px; */
3880 }
3881 div.pagination li .active a,
3882 div.pagination li .active span,
3883 div.pagination li .active a:hover,
3884 div.pagination li .active span:hover,
3885 div.pagination li .active a:focus,
3886 div.pagination li .active span:focus {
3887  z-index: 2;
3888  color: #fff;
3889  cursor: default;
3890  background-color: var(--colorbackhmenu1);
3891  border-color: #337ab7;
3892 }
3893 div.pagination .disabled span,
3894 div.pagination .disabled span:hover,
3895 div.pagination .disabled span:focus,
3896 div.pagination .disabled a,
3897 div.pagination .disabled a:hover,
3898 div.pagination .disabled a:focus {
3899  color: #777;
3900  cursor: not-allowed;
3901  background-color: #fff;
3902  border-color: #ddd;
3903 }
3904 div.pagination li.pagination .active {
3905  text-decoration: underline;
3906  box-shadow: none;
3907 }
3908 .paginationafterarrows .nohover {
3909  box-shadow: none !important;
3910 }
3911 div.pagination li.paginationafterarrows {
3912  margin-left: 10px;
3913 }
3914 .paginationatbottom {
3915  margin-top: 9px;
3916 }
3917 table.hidepaginationprevious .paginationprevious {
3918  display: none;
3919 }
3920 table.hidepaginationnext .paginationnext {
3921  display: none;
3922 }
3923 .paginationafterarrows a.btnTitlePlus {
3924  border: 1px solid var(--btncolorborder);
3925 }
3926 .paginationafterarrows a.btnTitlePlus:hover span:before {
3927  /* text-shadow: 0px 0px 5px #ccc; */
3928  /* filter: invert(0.3); */
3929  font-size: 1.03em;
3930 }
3931 
3932 
3933 /* Prepare to remove class pair - impair
3934 .noborder > tbody > tr:nth-child(even) td {
3935  background: linear-gradient(to bottom, var(--colorbacklineimpai2) 85%, var(--colorbacklineimpair2) 100%);
3936  background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
3937  background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
3938  background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 85%, var(--colorbacklineimpair2) 100%);
3939  font-family: <?php print $fontlist ?>;
3940  border: 0px;
3941  margin-bottom: 1px;
3942  color: #202020;
3943  min-height: 18px;
3944 }
3945 
3946 .noborder > tbody > tr:nth-child(odd) td {
3947  background: linear-gradient(to bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
3948  background: -o-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
3949  background: -moz-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
3950  background: -webkit-linear-gradient(bottom, var(--colorbacklinepair2) 85%, var(--colorbacklinepair2) 100%);
3951  font-family: <?php print $fontlist ?>;
3952  border: 0px;
3953  margin-bottom: 1px;
3954  color: #202020;
3955 }
3956 */
3957 
3958 ul.noborder li:nth-child(odd):not(.liste_titre) {
3959  background-color: var(--colorbacklinepair2) !important;
3960 }
3961 
3962 
3963 /* Set the color for hover lines */
3964 
3965 .tmenucompanylogo.nohover, .tmenucompanylogo.nohover:hover {
3966  opacity: unset !important;
3967 }
3968 .nohoverborder:hover {
3969  border: unset;
3970  box-shadow: unset;
3971  -webkit-box-shadow: unset;
3972 }
3973 
3974 .oddeven:hover, .evenodd:hover, .oddevenimport:hover, .evenoddimport:hover, .impair:hover, .pair:hover
3975 {
3976  background: rgb(<?php echo $colorbacklinepairhover; ?>) !important;
3977 }
3978 .tredited {
3979  background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
3980 }
3981 <?php if ($colorbacklinepairchecked) { ?>
3982 .highlight {
3983  background: rgb(<?php echo $colorbacklinepairchecked; ?>) !important; /* Must be background to be stronger than background of odd or even */
3984 }
3985 <?php } ?>
3986 
3987 .nohover:hover {
3988  background: unset !important;
3989 }
3990 .nohoverborder:hover {
3991  border: unset;
3992  box-shadow: unset;
3993  -webkit-box-shadow: unset;
3994 }
3995 
3996 .oddeven, .evenodd, .impair, .nohover .impair:hover, tr.impair td.nohover, .tagtr.oddeven
3997 {
3998  font-family: <?php print $fontlist ?>;
3999  border: 0px;
4000  margin-bottom: 1px;
4001  color: #202020;
4002 }
4003 .impair, .nohover .impair:hover, tr.impair td.nohover
4004 {
4005  background: var(--colorbacklineimpair2);
4006 }
4007 #GanttChartDIV {
4008  background-color: var(--colorbacklineimpair2);
4009 }
4010 
4011 .oddeven, .evenodd, .pair, .nohover .pair:hover, tr.pair td.nohover, .tagtr.oddeven {
4012  font-family: <?php print $fontlist ?>;
4013  margin-bottom: 1px;
4014  color: #202020;
4015 }
4016 .pair, .nohover .pair:hover, tr.pair td.nohover {
4017  background-color: var(--colorbacklinepair1);
4018 }
4019 
4020 table.dataTable tr.oddeven {
4021  background-color: var(--colorbacklinepair1) !important;
4022 }
4023 
4024 /* For no hover style */
4025 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 {
4026  background-color: var(--colorbacklineimpair2) !important;
4027  background: var(--colorbacklineimpair2) !important;
4028 }
4029 td.evenodd, tr.nohoverpair td, #trlinefordates td {
4030  background-color: var(--colorbacklinepair2) !important;
4031  background: var(--colorbacklinepair2) !important;
4032 }
4033 .trforbreak td {
4034  font-weight: bold;
4035  border-bottom: 1pt solid black !important;
4036  background-color: var(--colorbacklinebreak) !important;
4037 }
4038 
4039 table.dataTable td {
4040  padding: 5px 2px 5px 3px !important;
4041 }
4042 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 {
4043  padding: 5px 2px 5px 3px;
4044  border-bottom: 1px solid #eee;
4045 }
4046 form.pair, form.impair {
4047  font-weight: normal;
4048 }
4049 tr.pair:last-of-type td, tr.impair:last-of-type td {
4050  border-bottom: 0px !important;
4051 }
4052 tr.pair td .nobordernopadding tr td, tr.impair td .nobordernopadding tr td {
4053  border-bottom: 0px !important;
4054 }
4055 /*
4056 table.nobottomiftotal tr.liste_total td {
4057  background-color: #fff;
4058  <?php if (!$userborderontable) { ?>
4059  border-bottom: 0px !important;
4060  <?php } ?>
4061 }
4062 */
4063 div.liste_titre .tagtd {
4064  vertical-align: middle;
4065 }
4066 div.liste_titre {
4067  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 */
4068 
4069  padding-top: 2px;
4070  padding-bottom: 2px;
4071 
4072  /*border-right-width: 1px;
4073  border-right-color: #BBB;
4074  border-right-style: solid;
4075 
4076  border-left-width: 1px;
4077  border-left-color: #BBB;
4078  border-left-style: solid;*/
4079 
4080  border-top-width: 1px;
4081  border-top-color: #BBB;
4082  border-top-style: solid;
4083 }
4084 div.liste_titre_bydiv {
4085  <?php if ($userborderontable) { ?>
4086  border-top-width: <?php echo $borderwidth ?>px;
4087  border-top-color: var(--colortopbordertitle1);
4088  border-top-style: solid;
4089  <?php } ?>
4090  border-collapse: collapse;
4091  display: table;
4092  padding: 2px 0px 2px 0;
4093  box-shadow: none;
4094  width: calc(100% - 2px); /* -3px because the width for table class="tagtable" under this is cal(100% - 2px) so it is aligned. */
4095 }
4096 tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel, table.dataTable.tr, tagtr.liste_titre
4097 {
4098  height: 26px !important;
4099 }
4100 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
4101 {
4102  background: var(--colorbacktitle1);
4103  font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4104  /* border-bottom: 1px solid #FDFFFF; */
4105 
4106  color: var(--colortexttitle);
4107  font-family: <?php print $fontlist ?>;
4108  text-align: <?php echo $left; ?>;
4109 }
4110 tr.liste_titre th, tr.liste_titre td, th.liste_titre
4111 {
4112  border-bottom: 1px solid #aaa;
4113 }
4114 /* 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 */
4115 tr:first-child th.liste_titre, tr:first-child th.liste_titre_sel {
4116  border-bottom: 1px solid #FFF ! important;
4117 }
4118 tr.liste_titre th, th.liste_titre, tr.liste_titre td, td.liste_titre, form.liste_titre div, div.liste_titre
4119 {
4120  font-family: <?php print $fontlist ?>;
4121  font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4122  vertical-align: middle;
4123  height: 28px;
4124 }
4125 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 {
4126  text-shadow: none !important;
4127  color: var(--colortexttitlelink);
4128 }
4129 tr.liste_titre_topborder td {
4130  border-top-width: <?php echo $borderwidth; ?>px;
4131  border-top-color: var(--colortopbordertitle1);
4132  border-top-style: solid;
4133 }
4134 .liste_titre td a {
4135  text-shadow: none !important;
4136  color: var(--colortexttitle);
4137 }
4138 .liste_titre td a.notasortlink {
4139  color: var(--colortextlink);
4140 }
4141 .liste_titre td a.notasortlink:hover {
4142  background: transparent;
4143 }
4144 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 */
4145  /* border-bottom: 1px solid var(--colortopbordertitle1); */
4146  border-bottom: none;
4147 }
4148 
4149 div.liste_titre {
4150  padding-left: 3px;
4151 }
4152 tr.liste_titre_sel th, th.liste_titre_sel, tr.liste_titre_sel td, td.liste_titre_sel, form.liste_titre_sel div
4153 {
4154  font-family: <?php print $fontlist ?>;
4155  font-weight: normal;
4156  border-bottom: 1px solid #FDFFFF;
4157  /* text-decoration: underline; */
4158 }
4159 input.liste_titre {
4160  background: transparent;
4161  border: 0px;
4162 }
4163 
4164 .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 {
4165  color: #332266;
4166  /* padding: 4px; */
4167 }
4168 .noborder tr.liste_total td, tr.liste_total td, form.liste_total div {
4169  white-space: nowrap;
4170  line-height: 1.5em;
4171 }
4172 .noborder tr.liste_total_wrap td, tr.liste_total_wrap td, form.liste_total_wrap div {
4173  white-space: normal;
4174 }
4175 
4176 tr.liste_sub_total, tr.liste_sub_total td {
4177  border-bottom: 2px solid #aaa;
4178 }
4179 
4180 .tableforservicepart1 .impair, .tableforservicepart1 .pair, .tableforservicepart2 .impair, .tableforservicepart2 .pair {
4181  background: #FFF;
4182 }
4183 .tableforservicepart1 tbody tr td, .tableforservicepart2 tbody tr td {
4184  border-bottom: none;
4185 }
4186 
4187 .paymenttable, .margintable {
4188  margin: 0px 0px 0px 0px !important;
4189 }
4190 .paymenttable, .margintable:not(.margintablenotop) {
4191  border-top-width: <?php echo $borderwidth ?>px !important;
4192  border-top-color: var(--colortopbordertitle1) !important;
4193  border-top-style: solid !important;
4194 }
4195 .margintable.margintablenotop {
4196  border-top-width: 0;
4197 }
4198 .paymenttable tr td:first-child, .margintable tr td:first-child
4199 {
4200  /*padding-left: 2px;*/
4201 }
4202 .paymenttable, .margintable tr td {
4203  height: 22px;
4204 }
4205 
4206 /* Disable shadows */
4207 .noshadow {
4208  -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
4209  box-shadow: 0px 0px 0px #f4f4f4 !important;
4210 }
4211 .shadow {
4212  -webkit-box-shadow: 2px 2px 5px #CCC !important;
4213  box-shadow: 2px 2px 5px #CCC !important;
4214 }
4215 
4216 .boxshadow {
4217  -webkit-box-shadow: 0px 0px 5px #888;
4218  box-shadow: 0px 0px 5px #888;
4219 }
4220 
4221 div.tabBar .noborder {
4222  -webkit-box-shadow: 0px 0px 0px #f4f4f4 !important;
4223  box-shadow: 0px 0px 0px #f4f4f4 !important;
4224 }
4225 div .tdtop:not(.tagtdnote) {
4226  vertical-align: top !important;
4227  padding-top: 8px !important;
4228  padding-bottom: 0px !important;
4229 }
4230 
4231 #tablelines tr.liste_titre td, .paymenttable tr.liste_titre td, .margintable tr.liste_titre td, .tableforservicepart1 tr.liste_titre td {
4232  border-bottom: 1px solid #AAA !important;
4233 }
4234 #tablelines tr td {
4235  height: unset;
4236 }
4237 
4238 
4239 /* Prepare to remove class pair - impair */
4240 
4241 .noborder > tbody > tr:nth-child(even):not(.liste_titre), .liste > tbody > tr:nth-child(even):not(.liste_titre),
4242 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),
4243 div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre)
4244 {
4245  background: linear-gradient(to bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4246  background: -o-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4247  background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4248  background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
4249 }
4250 .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),
4251 .noborder .tagtr:nth-child(even):not(:last-of-type) .oddeven.tagtd:not(.liste_titre)
4252 {
4253  border-bottom: 1px solid #ddd;
4254 }
4255 
4256 .noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre),
4257 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),
4258 div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre)
4259 {
4260  background: linear-gradient(to bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4261  background: -o-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4262  background: -moz-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4263  background: -webkit-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
4264 }
4265 .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),
4266 .noborder .tagtr:nth-child(odd):not(:last-child) .oddeven.tagtd:not(.liste_titre)
4267 {
4268  border-bottom: 1px solid #ddd;
4269 }
4270 
4271 ul.noborder li:nth-child(even):not(.liste_titre) {
4272  background-color: var(--colorbacklinepair2) !important;
4273 }
4274 
4275 
4276 /*
4277  * Boxes
4278  */
4279 
4280 .box {
4281  overflow-x: auto;
4282  min-height: 40px;
4283  padding-right: 0px;
4284  padding-left: 0px;
4285  padding-bottom: 12px;
4286 }
4287 .boxstatsborder {
4288  /* border: 1px solid #CCC !important; */
4289 }
4290 .boxstats, .boxstats130 {
4291  display: inline-block;
4292  margin: 8px;
4293  /* border: 1px solid #CCC; */
4294  text-align: center;
4295  border-radius: 2px;
4296  background: #eee;
4297 }
4298 .boxstats, .boxstats130, .boxstatscontent {
4299  white-space: nowrap;
4300  overflow: hidden;
4301  text-overflow: ellipsis;
4302 }
4303 .boxstats {
4304  padding: 3px;
4305  width: 100px;
4306  min-height: 40px;
4307 }
4308 .boxstats130 {
4309  width: 135px;
4310  height: 54px;
4311  padding: 3px;
4312 }
4313 @media only screen and (max-width: 767px)
4314 {
4315  .tabBar .arearef .pagination.paginationref {
4316  max-width: calc(50%);
4317  }
4318 
4319  .clearbothonsmartphone {
4320  clear: both;
4321  display: block !important;
4322  }
4323 
4324  div.tabs {
4325  padding-left: 0 !important;
4326  margin-left: 0 !important;
4327  margin-right: 0 !important;
4328  }
4329 
4330  .boxstats, .boxstats130 {
4331  margin: 3px;
4332  border: 1px solid #ddd;
4333  box-shadow: none;
4334  background: #eee;
4335  }
4336  .thumbstat {
4337  flex: 1 1 110px;
4338  }
4339  .thumbstat150 {
4340  flex: 1 1 110px;
4341  }
4342  .dashboardlineindicator {
4343  float: left;
4344  padding-left: 5px;
4345  }
4346  .boxstats130 {
4347  width: 148px;
4348  }
4349  .boxstats {
4350  width: 100px;
4351  }
4352 }
4353 .boxstats:hover {
4354  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.20);
4355 }
4356 span.boxstatstext {
4357  /* opacity: 0.7; */ /* a bug if browser make z-index infintie when opacity is set so we disable it */
4358  line-height: 18px;
4359  color: #000;
4360 }
4361 .boxstatsindicator.thumbstat150 { /* If we remove this, box position is ko on ipad */
4362  display: inline-flex;
4363 }
4364 span.boxstatsindicator {
4365  font-size: 110%;
4366  font-weight: normal;
4367  color: rgb(<?php print $colortextlink; ?>);
4368 }
4369 span.dashboardlineindicator, span.dashboardlineindicatorlate {
4370  font-size: 120%;
4371  font-weight: normal;
4372 }
4373 a.dashboardlineindicatorlate:hover {
4374  text-decoration: none;
4375 }
4376 .dashboardlineindicatorlate img {
4377  width: 16px;
4378 }
4379 span.dashboardlineok {
4380  color: #008800;
4381 }
4382 span.dashboardlineko {
4383  color: #FFF;
4384  font-size: 80%;
4385 }
4386 .dashboardlinelatecoin {
4387  float: right;
4388  position: relative;
4389  text-align: right;
4390  top: -24px;
4391  padding: 1px 6px 1px 6px;
4392  background-color: #8c4446;
4393  color: #FFFFFF ! important;
4394  border-radius: .25em;
4395 }
4396 .boxtable {
4397  margin-bottom: 20px !important;
4398  border-bottom-width: 1px;
4399 }
4400 .boxtablenotop {
4401  /* border-top-width: 0 !important; */
4402 }
4403 .boxtablenobottom {
4404  /* border-bottom-width: 0 !important; */
4405 }
4406 .boxtable .fichehalfright, .boxtable .fichehalfleft {
4407  min-width: 275px;
4408 }
4409 .tdboxstats {
4410  text-align: center;
4411 }
4412 .boxworkingboard .tdboxstats {
4413  padding-left: 1px !important;
4414  padding-right: 1px !important;
4415 }
4416 a.valignmiddle.dashboardlineindicator {
4417  line-height: 30px;
4418 }
4419 .height30 {
4420  height: 30px !important;
4421 }
4422 
4423 tr.box_titre {
4424  height: 26px !important;
4425 
4426  /* TO MATCH BOOTSTRAP */
4427  /*background: #ddd;
4428  color: #000 !important; */
4429 
4430  /* TO MATCH ELDY */
4431  background: rgb(<?php echo $colorbacktitle1; ?>);
4432 
4433  background-repeat: repeat-x;
4434  color: rgb(<?php echo $colortexttitle; ?>);
4435  font-family: <?php print $fontlist ?>, sans-serif;
4436  font-weight: <?php echo $useboldtitle ? 'bold' : 'normal'; ?>;
4437  border-bottom: 1px solid #FDFFFF;
4438  white-space: nowrap;
4439 }
4440 
4441 tr.box_titre td.boxclose {
4442  width: 30px;
4443 }
4444 img.boxhandle, img.boxclose {
4445  padding-left: 5px;
4446 }
4447 
4448 .formboxfilter {
4449  vertical-align: middle;
4450  margin-bottom: 6px;
4451 }
4452 .formboxfilter input[type=image]
4453 {
4454  top: 5px;
4455  position: relative;
4456 }
4457 .boxfilter {
4458  margin-bottom: 2px;
4459  margin-right: 1px;
4460 }
4461 
4462 .prod_entry_mode_free, .prod_entry_mode_predef {
4463  height: 26px !important;
4464  vertical-align: middle;
4465 }
4466 
4467 .modulebuilderbox {
4468  border: 1px solid #888;
4469  padding: 16px;
4470 }
4471 
4472 
4473 
4474 /*
4475  * Ok, Warning, Error
4476  */
4477 .ok { color: #114466; }
4478 .warning { color: #887711 !important; }
4479 .error { color: #550000 !important; font-weight: bold; }
4480 .green { color: #118822 !important; }
4481 
4482 div.ok {
4483  color: #114466;
4484 }
4485 
4486 /* Info admin */
4487 div.info {
4488  border-<?php print $left; ?>: solid 5px #87cfd2;
4489  padding-top: 8px;
4490  padding-left: 10px;
4491  padding-right: 4px;
4492  padding-bottom: 8px;
4493  margin: 0.5em 0em 0.5em 0em;
4494  background: #eff8fc;
4495 }
4496 
4497 /* Warning message */
4498 div.warning {
4499  border-<?php print $left; ?>: solid 5px #f2cf87;
4500  padding-top: 8px;
4501  padding-left: 10px;
4502  padding-right: 4px;
4503  padding-bottom: 8px;
4504  margin: 0.5em 0em 0.5em 0em;
4505  background: #fcf8e3;
4506 }
4507 div.warning a, div.info a, div.error a {
4508  color: rgb(<?php echo $colortextlink; ?>);
4509 }
4510 
4511 /* Error message */
4512 div.error {
4513  border-<?php print $left; ?>: solid 5px #f28787;
4514  padding-top: 8px;
4515  padding-left: 10px;
4516  padding-right: 4px;
4517  padding-bottom: 8px;
4518  margin: 0.5em 0em 0.5em 0em;
4519  background: #EFCFCF;
4520 }
4521 
4522 
4523 /*
4524  * Liens Payes/Non payes
4525  */
4526 
4527 a.normal:link { font-weight: normal }
4528 a.normal:visited { font-weight: normal }
4529 a.normal:active { font-weight: normal }
4530 a.normal:hover { font-weight: normal }
4531 
4532 a.impayee:link { font-weight: bold; color: #550000; }
4533 a.impayee:visited { font-weight: bold; color: #550000; }
4534 a.impayee:active { font-weight: bold; color: #550000; }
4535 a.impayee:hover { font-weight: bold; color: #550000; }
4536 
4537 
4538 
4539 /*
4540  * External web site
4541  */
4542 
4543 .framecontent {
4544  width: 100%;
4545  height: 100%;
4546 }
4547 
4548 .framecontent iframe {
4549  width: 100%;
4550  height: 100%;
4551 }
4552 
4553 
4554 
4555 /*
4556  * Other
4557  */
4558 
4559 .opened-dash-board-wrap {
4560  margin-bottom: 25px;
4561 }
4562 
4563 div.boximport {
4564  min-height: unset;
4565 }
4566 
4567 .product_line_stock_ok { color: #002200; }
4568 .product_line_stock_too_low { color: #884400; }
4569 
4570 .fieldrequired { font-weight: bold; color: #000055; }
4571 
4572 td.widthpictotitle, .table-fiche-title img.widthpictotitle { width: 32px; font-size: 1.4em; text-align: <?php echo $left; ?>; }
4573 table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
4574 
4575 .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
4576 .dolgraphtitlecssboxes { /* margin: 0px; */ }
4577 .dolgraphchart canvas {
4578  /* width: calc(100% - 20px) !important; */
4579 }
4580 .legendColorBox, .legendLabel { border: none !important; }
4581 div.dolgraph div.legend, div.dolgraph div.legend div { background-color: rgba(255,255,255,0) !important; }
4582 div.dolgraph div.legend table tbody tr { height: auto; }
4583 td.legendColorBox { padding: 2px 2px 2px 0 !important; }
4584 td.legendLabel { padding: 2px 2px 2px 0 !important; }
4585 td.legendLabel {
4586  text-align: <?php echo $left; ?>;
4587 }
4588 
4589 label.radioprivate {
4590  white-space: nowrap;
4591 }
4592 
4593 .photo {
4594  border: 0px;
4595 }
4596 .photowithmargin {
4597 /* margin-bottom: 2px;
4598  margin-top: 2px; */
4599 }
4600 div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
4601  margin-right: 15px;
4602 }
4603 .photowithborder {
4604  border: 1px solid #f0f0f0;
4605 }
4606 .photointooltip {
4607  margin-top: 8px;
4608  margin-bottom: 6px;
4609  text-align: center !important;
4610 }
4611 .photodelete {
4612  margin-top: 6px !important;
4613 }
4614 
4615 .logo_setup
4616 {
4617  content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/logo_setup.svg', 1) ?>); /* content is used to best fit the container */
4618  display: inline-block;
4619 }
4620 .nographyet
4621 {
4622  content:url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/nographyet.svg', 1) ?>);
4623  display: inline-block;
4624  opacity: 0.1;
4625  background-repeat: no-repeat;
4626 }
4627 .nographyettext
4628 {
4629  opacity: 0.5;
4630 }
4631 
4632 div.titre {
4633  font-size: 14px;
4634  text-decoration: none;
4635  padding-top: 5px;
4636  padding-bottom: 5px;
4637  text-transform: uppercase;
4638  /* text-shadow: 1px 1px 2px #FFFFFF; */
4639 }
4640 div.titre.small {
4641  font-size: 1em;
4642 }
4643 div.titre {
4644  color: var(--colortexttitlenotab);
4645 }
4646 .secondary {
4647  color: var(--colortexttitlenotab);
4648 }
4649 .tertiary {
4650  color: var(--colortexttitlenotab);
4651 }
4652 
4653 table.centpercent.notopnoleftnoright.table-fiche-title {
4654  margin-bottom: 10px !important;
4655 }
4656 table.table-fiche-title .col-title div.titre{
4657  line-height: 40px;
4658 }
4659 
4660 div.backgreypublicpayment { background-color: #f0f0f0; padding: 20px; border-bottom: 1px solid #ddd; }
4661 .backgreypublicpayment a { color: #222 !important; }
4662 .poweredbypublicpayment {
4663  float: right;
4664  top: 8px;
4665  right: 8px;
4666  position: absolute;
4667  font-size: 0.8em;
4668  color: #222;
4669  opacity: 0.3;
4670 }
4671 span.buttonpaymentsmall {
4672  text-shadow: none;
4673 }
4674 
4675 #dolpublictable {
4676  min-width: 300px; font-size: 16px;
4677  padding: 6px;
4678 }
4679 #dolpaymenttable {
4680  min-width: 320px; font-size: 16px;
4681 } /* Width must have min to make stripe input area visible. Lower than 320 makes input area crazy for credit card that need zip code */
4682 
4683 #tablepublicpayment { border: 1px solid #CCCCCC !important; width: 100%; padding: 20px; }
4684 #tablepublicpayment .CTableRow1 { background-color: #F0F0F0 !important; }
4685 #tablepublicpayment tr.liste_total { border-bottom: 1px solid #CCCCCC !important; }
4686 #tablepublicpayment tr.liste_total td { border-top: none; }
4687 
4688 .divmainbodylarge { margin-left: 40px; margin-right: 40px; }
4689 .publicnewmemberform div.titre { font-size: 2em; }
4690 #divsubscribe { max-width: 900px; }
4691 #divsubscribe .eventlabel { font-size: 1.5em; }
4692 #tablesubscribe { width: 100%; }
4693 #tablesubscribe tr td { font-size: 1.15em; }
4694 #tablesubscribe .price-registration { font-size: 1.5em; }
4695 
4696 
4697 div#card-element {
4698  border: 1px solid #ccc;
4699 }
4700 div#card-errors {
4701  color: #fa755a;
4702  text-align: center;
4703  padding-top: 3px;
4704  /* max-width: 320px; */
4705 }
4706 
4707 
4708 /*
4709  * Effect Postit
4710  */
4711 
4712 .effectpostit
4713 {
4714  position: relative;
4715 }
4716 .effectpostit:before, .effectpostit:after
4717 {
4718  z-index: -1;
4719  position: absolute;
4720  content: "";
4721  bottom: 15px;
4722  left: 10px;
4723  width: 50%;
4724  top: 80%;
4725  max-width:300px;
4726  background: #777;
4727  -webkit-box-shadow: 0 15px 10px #777;
4728  box-shadow: 0 15px 10px #777;
4729  -webkit-transform: rotate(-3deg);
4730  -moz-transform: rotate(-3deg);
4731  -o-transform: rotate(-3deg);
4732  -ms-transform: rotate(-3deg);
4733  transform: rotate(-3deg);
4734 }
4735 .effectpostit:after
4736 {
4737  -webkit-transform: rotate(3deg);
4738  -moz-transform: rotate(3deg);
4739  -o-transform: rotate(3deg);
4740  -ms-transform: rotate(3deg);
4741  transform: rotate(3deg);
4742  right: 10px;
4743  left: auto;
4744 }
4745 
4746 
4747 
4748 /* ============================================================================== */
4749 /* Formulaire confirmation (When Ajax JQuery is used) */
4750 /* ============================================================================== */
4751 
4752 .ui-dialog-titlebar {
4753 }
4754 .ui-dialog-content {
4755  font-size: <?php print $fontsize; ?>px !important;
4756 }
4757 .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable {
4758  z-index: 1002 !important; /* Default 101 with ui-jquery, top menu have a z-index of 1000 */
4759 }
4760 
4761 div#dialogforpopup {
4762  background-color: #f8f8f8 !important;
4763 }
4764 
4765 
4766 /* ============================================================================== */
4767 /* For content of image preview */
4768 /* ============================================================================== */
4769 
4770 /*
4771 .ui-dialog-content.ui-widget-content > object {
4772  max-height: none;
4773  width: auto; margin-left: auto; margin-right: auto; display: block;
4774 }
4775 */
4776 
4777 
4778 /* ============================================================================== */
4779 /* Formulaire confirmation (When HTML is used) */
4780 /* ============================================================================== */
4781 
4782 table.valid {
4783  /* border-top: solid 1px #E6E6E6; */
4784  border-<?php print $left; ?>: solid 5px #f2cf87;
4785  /* border-<?php print $right; ?>: solid 1px #444444;
4786  border-bottom: solid 1px #555555; */
4787  padding-top: 8px;
4788  padding-left: 10px;
4789  padding-right: 4px;
4790  padding-bottom: 4px;
4791  margin: 0px 0px;
4792  background: #fcf8e3;
4793 }
4794 
4795 .validtitre {
4796  font-weight: bold;
4797 }
4798 
4799 
4800 /* ============================================================================== */
4801 /* Tooltips */
4802 /* ============================================================================== */
4803 
4804 /* For tooltip using dialog */
4805 .ui-dialog.highlight.ui-widget.ui-widget-content.ui-front {
4806  z-index: 3000;
4807 }
4808 
4809 div.ui-tooltip {
4810  max-width: <?php print dol_size(600, 'width'); ?>px !important;
4811 }
4812 
4813 div.ui-tooltip.mytooltip {
4814  width: <?php print dol_size(450, 'width'); ?>px;
4815  border-top: solid 1px #BBBBBB;
4816  border-<?php print $left; ?>: solid 1px #BBBBBB;
4817  border-<?php print $right; ?>: solid 1px #444444;
4818  border-bottom: solid 1px #444444;
4819  padding: 10px 20px;
4820  border-radius: 0;
4821  box-shadow: 0 0 4px grey;
4822  margin: 2px;
4823  font-stretch: condensed;
4824  /*background: var(--tooltipbgcolor) !important;
4825  color : var(--tooltipfontcolor);*/
4826  line-height: 1.6em;
4827  min-width: 550px;
4828 }
4829 @media only screen and (max-width: 768px)
4830 {
4831  div.ui-tooltip.mytooltip {
4832  max-width: 400px;
4833  }
4834 }
4835 @media only screen and (max-width: 480px)
4836 {
4837  div.ui-tooltip.mytooltip {
4838  max-width: 300px;
4839  }
4840 }
4841 @media only screen and (max-width: 320px)
4842 {
4843  div.ui-tooltip.mytooltip {
4844  max-width: 230px;
4845  }
4846 }
4847 
4848 
4849 /* ============================================================================== */
4850 /* Calendar */
4851 /* ============================================================================== */
4852 
4853 .ui-datepicker-calendar .ui-state-default, .ui-datepicker-calendar .ui-widget-content .ui-state-default,
4854 .ui-datepicker-calendar .ui-widget-header .ui-state-default, .ui-datepicker-calendar .ui-button,
4855 html .ui-datepicker-calendar .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active
4856 {
4857  border: unset;
4858 }
4859 
4860 img.datecallink { padding-left: 2px !important; padding-right: 2px !important; }
4861 
4862 .ui-datepicker-trigger {
4863  vertical-align: middle;
4864  cursor: pointer;
4865  padding-left: 2px;
4866  padding-right: 2px;
4867 }
4868 
4869 .bodyline {
4870  -webkit-border-radius: 4px;
4871  border-radius: 4px;
4872  border: 1px #E4ECEC outset;
4873  padding: 0px;
4874  margin-bottom: 5px;
4875 }
4876 table.dp {
4877  width: 180px;
4878  background-color: #FFFFFF;
4879  /*border-top: solid 2px #f4f4f4;
4880  border-<?php print $left; ?>: solid 2px #f4f4f4;
4881  border-<?php print $right; ?>: solid 1px #222222;
4882  border-bottom: solid 1px #222222; */
4883  padding: 0px;
4884  border-spacing: 0px;
4885  border-collapse: collapse;
4886 }
4887 .dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
4888 /* Barre titre */
4889 .dpHead,.tpHead,.tpHour td:Hover .tpHead{
4890  font-weight:bold;
4891  background-color: #888;
4892  color:white;
4893  font-size:11px;
4894  cursor:auto;
4895 }
4896 /* Barre navigation */
4897 .dpButtons,.tpButtons {
4898  text-align:center;
4899  background-color: #888;
4900  color:#FFFFFF;
4901  font-weight:bold;
4902  cursor:pointer;
4903 }
4904 .dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
4905 .dpDayNames td,.dpExplanation {background-color:#D9DBE1; font-weight:bold; text-align:center; font-size:11px;}
4906 .dpExplanation{ font-weight:normal; font-size:11px;}
4907 .dpWeek td{text-align:center}
4908 
4909 .dpToday,.dpReg,.dpSelected{
4910  cursor:pointer;
4911 }
4912 .dpToday{font-weight:bold; color:black; background-color:#f4f4f4;}
4913 .dpReg:Hover,.dpToday:Hover{background-color:black;color:white}
4914 
4915 /* Jour courant */
4916 .dpSelected{background-color:#0B63A2;color:white;font-weight:bold; }
4917 
4918 .tpHour{border-top:1px solid #f4f4f4; border-right:1px solid #f4f4f4;}
4919 .tpHour td {border-left:1px solid #f4f4f4; border-bottom:1px solid #f4f4f4; cursor:pointer;}
4920 .tpHour td:Hover {background-color:black;color:white;}
4921 
4922 .tpMinute {margin-top:5px;}
4923 .tpMinute td:Hover {background-color:black; color:white; }
4924 .tpMinute td {background-color:#D9DBE1; text-align:center; cursor:pointer;}
4925 
4926 /* Bouton X fermer */
4927 .dpInvisibleButtons
4928 {
4929  border-style:none;
4930  background-color:transparent;
4931  padding:0px;
4932  font-size: 0.85em;
4933  border-width:0px;
4934  color: #eee;
4935  vertical-align:middle;
4936  cursor: pointer;
4937 }
4938 .datenowlink {
4939  color: rgb(<?php print $colortextlink; ?>);
4940  font-size: 0.8em;
4941  opacity: 0.7;
4942 }
4943 
4944 .categtextwhite, .treeview .categtextwhite.hover {
4945  color: #fff !important;
4946 }
4947 .categtextblack {
4948  color: #000 !important;
4949 }
4950 
4951 
4952 /* ============================================================================== */
4953 /* Show/Hide */
4954 /* ============================================================================== */
4955 
4956 div.visible {
4957  display: block;
4958 }
4959 
4960 div.hidden, header.hidden, td.hidden, img.hidden, span.hidden, div.showifmore {
4961  display: none;
4962 }
4963 
4964 .unvisible {
4965  visibility: hidden;
4966 }
4967 
4968 tr.visible {
4969  display: block;
4970 }
4971 
4972 
4973 /* ============================================================================== */
4974 /* Module website */
4975 /* ============================================================================== */
4976 
4977 .websiteformtoolbar {
4978  position: sticky;
4979  top: <?php echo empty($dol_hide_topmenu) ? ($disableimages ? '36px' : '50px') : '0'; ?>;
4980  z-index: 1000;
4981 }
4982 
4983 .exampleapachesetup {
4984  overflow-y: auto;
4985  max-height: 100px;
4986  font-size: 0.8em;
4987  border: 1px solid #aaa;
4988 }
4989 
4990 span[phptag] {
4991  background: #ddd; border: 1px solid #ccc; border-radius: 4px;
4992 }
4993 
4994 .nobordertransp {
4995  border: 0px;
4996  background-color: transparent;
4997  background-image: none;
4998  color: #000 !important;
4999  text-shadow: none;
5000 }
5001 .bordertransp:not(.nobordertransp) {
5002  background-color: transparent;
5003  background-image: none;
5004  border: 1px solid #aaa;
5005  font-weight: normal;
5006  color: #444 !important;
5007 }
5008 .websitebar {
5009  border-bottom: 1px solid #ccc;
5010  background: #eee;
5011  display: inline-block;
5012  padding: 5px 5px 5px 5px;
5013 }
5014 .centpercent.websitebar {
5015  width: calc(100% - 10px);
5016 }
5017 .websitebar .buttonDelete, .websitebar .button {
5018  text-shadow: none;
5019 }
5020 .websitebar .button, .websitebar .buttonDelete
5021 {
5022  padding: 2px 4px 2px 4px !important;
5023  margin: 2px 4px 2px 4px !important;
5024  line-height: normal;
5025 }
5026 .websitebar input.button.bordertransp, .websitebar input.buttonDelete.bordertransp {
5027  color: #444 !important;
5028  text-shadow: none;
5029 }
5030 .websiteselection {
5031  /* display: inline-block; */
5032  padding-<?php echo $right; ?>: 10px;
5033  vertical-align: middle;
5034 }
5035 .websitetools {
5036  float: right;
5037 }
5038 .websiteselection, .websitetools {
5039  /* margin-top: 3px;
5040  padding-top: 3px;
5041  padding-bottom: 3px; */
5042 }
5043 .websiteinputurl {
5044  display: inline-block;
5045  vertical-align: top;
5046  line-height: 28px;
5047 }
5048 .websiteiframenoborder {
5049  border: 0px;
5050 }
5051 span.websitebuttonsitepreview, a.websitebuttonsitepreview {
5052  vertical-align: middle;
5053 }
5054 span.websitebuttonsitepreview img, a.websitebuttonsitepreview img {
5055  width: 26px;
5056  display: inline-block;
5057 }
5058 span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled img {
5059  opacity: 0.2;
5060 }
5061 .websiteiframenoborder {
5062  border: 0px;
5063 }
5064 .websitehelp {
5065  vertical-align: middle;
5066  float: right;
5067  padding-top: 8px;
5068 }
5069 .websiteselectionsection {
5070  border-left: 1px solid #bbb;
5071  border-right: 1px solid #bbb;
5072  margin-left: 0px;
5073  padding-left: 8px;
5074  margin-right: 5px;
5075 }
5076 .websitebar input#previewpageurl {
5077  line-height: 1em;
5078 }
5079 
5080 #divbodywebsite section p {
5081  margin: unset;
5082 }
5083 
5084 
5085 /* ============================================================================== */
5086 /* Module agenda */
5087 /* ============================================================================== */
5088 
5089 .dayevent .tagtr:first-of-type {
5090  height: 24px;
5091 }
5092 .agendacell { height: 60px; }
5093 table.cal_month { border-spacing: 0px; }
5094 table.cal_month td:first-child { border-left: 0px; }
5095 table.cal_month td:last-child { border-right: 0px; }
5096 .cal_current_month { border-top: 0; border-left: solid 1px #E0E0E0; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5097 .cal_current_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B; border-right: 0; border-bottom: solid 1px #E0E0E0; }
5098 .cal_current_month_oneday { border-right: solid 1px #E0E0E0; }
5099 .cal_other_month { border-top: 0; border-left: solid 1px #C0C0C0; border-right: 0; border-bottom: solid 1px #C0C0C0; }
5100 .cal_other_month_peruserleft { border-top: 0; border-left: solid 2px #6C7C7B !important; border-right: 0; }
5101 .cal_current_month_right { border-right: solid 1px #E0E0E0; }
5102 .cal_other_month_right { border-right: solid 1px #C0C0C0; }
5103 .cal_other_month { /* opacity: 0.6; */ background: #EAEAEA; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5104 .cal_past_month { /* opacity: 0.6; */ background: #EEEEEE; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 1px; padding-top: 0px; padding-bottom: 0px; }
5105 .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; }
5106 .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; }
5107 .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; }
5108 .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; }
5109 .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; }
5110 .cal_past { }
5111 .cal_peruser { padding: 0px; }
5112 .cal_impair { background: #F8F8F8; }
5113 .cal_today_peruser_impair { background: #F8F8F0; }
5114 .peruser_busy { background: #CC8888; }
5115 .peruser_notbusy { background: #EEDDDD; opacity: 0.5; }
5116 div.event { margin: 8px; border-radius: 4px; box-shadow: 2px 2px 5px rgba(100, 100, 100, 0.2); }
5117 table.cal_event { border: none; border-collapse: collapse; margin-bottom: 1px; -webkit-border-radius: 3px; border-radius: 3px; min-height: 20px; }
5118 table.cal_event td { border: none; padding-<?php print $left; ?>: 2px; padding-<?php print $right; ?>: 2px; padding-top: 0px; padding-bottom: 0px; }
5119 table.cal_event td.cal_event { padding: 4px 4px !important; padding-bottom: 2px !important; padding-top: 2px !important; }
5120 table.cal_event td.cal_event_right { padding: 4px 4px !important; }
5121 .cal_event { font-size: 1em; }
5122 .cal_event a:link { color: #111111; font-weight: normal !important; }
5123 .cal_event a:visited { color: #111111; font-weight: normal !important; }
5124 .cal_event a:active { color: #111111; font-weight: normal !important; }
5125 .cal_event_busy a:hover { color: #111111; font-weight: normal !important; color:rgba(255,255,255,.75); }
5126 .cal_event_busy { }
5127 .cal_peruserviewname { max-width: 140px; height: 22px; }
5128 
5129 .calendarviewcontainertr { height: 100px; }
5130 
5131 .topmenuimage {
5132  background-size: 24px auto;
5133 }
5134 
5135 td.cal_other_month {
5136  opacity: 0.8;
5137 }
5138 
5139 
5140 /* ============================================================================== */
5141 /* Ajax - Liste deroulante de l'autocompletion */
5142 /* ============================================================================== */
5143 
5144 .ui-widget-content { border: solid 1px rgba(0,0,0,.3); background: #fff !important; }
5145 
5146 .ui-autocomplete-loading { background: white url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/working.gif', 1) ?>) right center no-repeat; }
5147 .ui-autocomplete {
5148  position:absolute;
5149  width:auto;
5150  font-size: 1.0em;
5151  background-color:white;
5152  border:1px solid #888;
5153  margin:0px;
5154 /* padding:0px; This make combo crazy */
5155  }
5156 .ui-autocomplete ul {
5157  list-style-type:none;
5158  margin:0px;
5159  padding:0px;
5160  }
5161 .ui-autocomplete ul li.selected { background-color: #D3E5EC;}
5162 .ui-autocomplete ul li {
5163  list-style-type:none;
5164  display:block;
5165  margin:0;
5166  padding:2px;
5167  height:18px;
5168  cursor:pointer;
5169  }
5170 
5171 
5172 /* ============================================================================== */
5173 /* Gantt
5174 /* ============================================================================== */
5175 
5176 td.gtaskname {
5177  overflow: hidden;
5178  text-overflow: ellipsis;
5179 }
5180 
5181 
5182 /* ============================================================================== */
5183 /* jQuery - jeditable for inline edit */
5184 /* ============================================================================== */
5185 
5186 .editkey_textarea, .editkey_ckeditor, .editkey_string, .editkey_email, .editkey_numeric, .editkey_select, .editkey_autocomplete {
5187  background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/edit.png', 1) ?>) right top no-repeat;
5188  cursor: pointer;
5189  margin-right: 3px;
5190  margin-top: 3px;
5191 }
5192 
5193 .editkey_datepicker {
5194  background: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/calendar.png', 1) ?>) right center no-repeat;
5195  cursor: pointer;
5196  margin-right: 3px;
5197  margin-top: 3px;
5198 }
5199 
5200 .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 {
5201  background: white;
5202  cursor: pointer;
5203 }
5204 
5205 .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 {
5206  background: white;
5207  cursor: pointer;
5208 }
5209 
5210 .viewval_hover {
5211  background: white;
5212 }
5213 
5214 
5215 /* ============================================================================== */
5216 /* Admin Menu */
5217 /* ============================================================================== */
5218 
5219 /* CSS for treeview */
5220 .treeview ul { background-color: transparent !important; margin-top: 0 !important; /* margin-bottom: 4px !important; padding-top: 2px !important; */ }
5221 .treeview li { background-color: transparent !important; padding: 0 0 0 20px !important; min-height: 30px; }
5222 .treeview .hitarea { width: 20px !important; margin-left: -20px !important; margin-top: 3px; }
5223 .treeview li table { min-height: 30px; }
5224 .treeview .hover { color: var(--colortextlink) !important; text-decoration: underline !important; }
5225 
5226 
5227 
5228 /* ============================================================================== */
5229 /* Show Excel tabs */
5230 /* ============================================================================== */
5231 
5232 .table_data
5233 {
5234  border-style:ridge;
5235  border:1px solid;
5236 }
5237 .tab_base
5238 {
5239  background:#C5D0DD;
5240  font-weight:bold;
5241  border-style:ridge;
5242  border: 1px solid;
5243  cursor:pointer;
5244 }
5245 .table_sub_heading
5246 {
5247  background:#CCCCCC;
5248  font-weight:bold;
5249  border-style:ridge;
5250  border: 1px solid;
5251 }
5252 .table_body
5253 {
5254  background:#F0F0F0;
5255  font-weight:normal;
5256  font-family:sans-serif;
5257  border-style:ridge;
5258  border: 1px solid;
5259  border-spacing: 0px;
5260  border-collapse: collapse;
5261 }
5262 .tab_loaded
5263 {
5264  background:#222222;
5265  color:white;
5266  font-weight:bold;
5267  border-style:groove;
5268  border: 1px solid;
5269  cursor:pointer;
5270 }
5271 
5272 
5273 /* ============================================================================== */
5274 /* CSS for color picker */
5275 /* ============================================================================== */
5276 
5277 A.color, A.color:active, A.color:visited {
5278  position : relative;
5279  display : block;
5280  text-decoration : none;
5281  width : 10px;
5282  height : 10px;
5283  line-height : 10px;
5284  margin : 0px;
5285  padding : 0px;
5286  border : 1px inset white;
5287 }
5288 A.color:hover {
5289  border : 1px outset white;
5290 }
5291 A.none, A.none:active, A.none:visited, A.none:hover {
5292  position : relative;
5293  display : block;
5294  text-decoration : none;
5295  width : 10px;
5296  height : 10px;
5297  line-height : 10px;
5298  margin : 0px;
5299  padding : 0px;
5300  cursor : default;
5301  border : 1px solid #b3c5cc;
5302 }
5303 .tblColor {
5304  display : none;
5305 }
5306 .tdColor {
5307  padding : 1px;
5308 }
5309 .tblContainer {
5310  background-color : #b3c5cc;
5311 }
5312 .tblGlobal {
5313  position : absolute;
5314  top : 0px;
5315  left : 0px;
5316  display : none;
5317  background-color : #b3c5cc;
5318  border : 2px outset;
5319 }
5320 .tdContainer {
5321  padding : 5px;
5322 }
5323 .tdDisplay {
5324  width : 50%;
5325  height : 20px;
5326  line-height : 20px;
5327  border : 1px outset white;
5328 }
5329 .tdDisplayTxt {
5330  width : 50%;
5331  height : 24px;
5332  line-height : 12px;
5333  font-family : <?php print $fontlist ?>;
5334  font-size : 8pt;
5335  color : black;
5336  text-align : center;
5337 }
5338 .btnColor {
5339  width : 100%;
5340  font-family : <?php print $fontlist ?>;
5341  font-size : 10pt;
5342  padding : 0px;
5343  margin : 0px;
5344 }
5345 .btnPalette {
5346  width : 100%;
5347  font-family : <?php print $fontlist ?>;
5348  font-size : 8pt;
5349  padding : 0px;
5350  margin : 0px;
5351 }
5352 
5353 
5354 /* Style to overwrites JQuery styles */
5355 .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
5356  border: 1px solid #888;
5357  background: rgb(<?php echo $colorbacktitle1; ?>);
5358  color: unset;
5359 }
5360 
5361 .ui-menu .ui-menu-item a {
5362  text-decoration:none;
5363  display:block;
5364  padding:.2em .4em;
5365  line-height:1.5;
5366  font-weight: normal;
5367  font-family:<?php echo $fontlist; ?>;
5368  font-size:1em;
5369 }
5370 .ui-widget {
5371  font-family:<?php echo $fontlist; ?>;
5372 }
5373 .ui-button { margin-left: -2px; <?php print (preg_match('/chrome/', $conf->browser->name) ? 'padding-top: 1px;' : ''); ?> }
5374 .ui-button-icon-only .ui-button-text { height: 8px; }
5375 .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: 2px 0px 6px 0px; }
5376 .ui-button-text
5377 {
5378  line-height: 1em !important;
5379 }
5380 .ui-autocomplete-input { margin: 0; padding: 4px; }
5381 
5382 
5383 /* ============================================================================== */
5384 /* CKEditor */
5385 /* ============================================================================== */
5386 
5387 body.cke_show_borders {
5388  margin: 5px !important;
5389 }
5390 
5391 .cke_dialog {
5392  border: 1px #bbb solid ! important;
5393 }
5394 /*.cke_editor table, .cke_editor tr, .cke_editor td
5395 {
5396  border: 0px solid #FF0000 !important;
5397 }
5398 span.cke_skin_kama { padding: 0 !important; }*/
5399 .cke_wrapper { padding: 4px !important; }
5400 a.cke_dialog_ui_button
5401 {
5402  font-family: <?php print $fontlist ?> !important;
5403  background-image: url(<?php echo $img_button ?>) !important;
5404  background-position: bottom !important;
5405  border: 1px solid #C0C0C0 !important;
5406  -webkit-border-radius:0px 2px 0px 2px !important;
5407  border-radius:0px 2px 0px 2px !important;
5408  -webkit-box-shadow: 3px 3px 4px #f4f4f4 !important;
5409  box-shadow: 3px 3px 4px #f4f4f4 !important;
5410 }
5411 .cke_dialog_ui_hbox_last
5412 {
5413  vertical-align: bottom ! important;
5414 }
5415 /*
5416 .cke_editable
5417 {
5418  line-height: 1.4 !important;
5419  margin: 6px !important;
5420 }
5421 */
5422 a.cke_dialog_ui_button_ok span {
5423  text-shadow: none !important;
5424  color: #333 !important;
5425 }
5426 
5427 
5428 /* ============================================================================== */
5429 /* ACE editor */
5430 /* ============================================================================== */
5431 .ace_editor {
5432  border: 1px solid #ddd;
5433  margin: 0;
5434 }
5435 .aceeditorstatusbar {
5436  margin: 0;
5437  padding: 0;
5438  padding-<?php echo $left; ?>: 10px;
5439  left: 0;
5440  right: 0;
5441  bottom: 0;
5442  color: #666;
5443  height: 28px;
5444  line-height: 2.2em;
5445 }
5446 .ace_status-indicator {
5447  color: gray;
5448  position: relative;
5449  right: 0;
5450  border-left: 1px solid;
5451 }
5452 pre#editfilecontentaceeditorid {
5453  margin-top: 5px;
5454 }
5455 
5456 
5457 /* ============================================================================== */
5458 /* File upload */
5459 /* ============================================================================== */
5460 
5461 .template-upload {
5462  height: 72px !important;
5463 }
5464 
5465 
5466 /* ============================================================================== */
5467 /* Custom reports */
5468 /* ============================================================================== */
5469 
5470 .customreportsoutput, .customreportsoutputnotdata {
5471  padding-top: 20px;
5472 }
5473 .customreportsoutputnotdata {
5474  text-align: center;
5475 }
5476 
5477 
5478 /* ============================================================================== */
5479 /* Holiday */
5480 /* ============================================================================== */
5481 
5482 #types .btn {
5483  cursor: pointer;
5484 }
5485 
5486 #types .btn-primary {
5487  font-weight: bold;
5488 }
5489 
5490 #types form {
5491  padding: 20px;
5492 }
5493 
5494 #types label {
5495  display:inline-block;
5496  width:100px;
5497  margin-right: 20px;
5498  padding: 4px;
5499  text-align: right;
5500  vertical-align: top;
5501 }
5502 
5503 #types input.text, #types textarea {
5504  width: 400px;
5505 }
5506 
5507 #types textarea {
5508  height: 100px;
5509 }
5510 
5511 
5512 /* ============================================================================== */
5513 /* Comments */
5514 /* ============================================================================== */
5515 
5516 #comment div {
5517  box-sizing:border-box;
5518 }
5519 #comment .comment {
5520  border-radius:7px;
5521  margin-bottom:10px;
5522  overflow:hidden;
5523 }
5524 #comment .comment-table {
5525  display:table;
5526  height:100%;
5527 }
5528 #comment .comment-cell {
5529  display:table-cell;
5530 }
5531 #comment .comment-info {
5532  font-size:0.8em;
5533  border-right:1px solid #dedede;
5534  margin-right:10px;
5535  width:160px;
5536  text-align:center;
5537  background:rgba(255,255,255,0.5);
5538  vertical-align:middle;
5539  padding:10px 2px;
5540 }
5541 #comment .comment-info a {
5542  color:inherit;
5543 }
5544 #comment .comment-right {
5545  vertical-align:top;
5546 }
5547 #comment .comment-description {
5548  padding:10px;
5549  vertical-align:top;
5550 }
5551 #comment .comment-delete {
5552  width: 100px;
5553  text-align:center;
5554  vertical-align:middle;
5555 }
5556 #comment .comment-delete:hover {
5557  background:rgba(250,20,20,0.8);
5558 }
5559 #comment .comment-edit {
5560  width: 100px;
5561  text-align:center;
5562  vertical-align:middle;
5563 }
5564 #comment .comment-edit:hover {
5565  background:rgba(0,184,148,0.8);
5566 }
5567 #comment textarea {
5568  width: 100%;
5569 }
5570 
5571 
5572 /* ============================================================================== */
5573 /* JSGantt */
5574 /* ============================================================================== */
5575 
5576 div.scroll2 {
5577  width: <?php print isset($_SESSION['dol_screenwidth']) ?max($_SESSION['dol_screenwidth'] - 830, 450) : '450'; ?>px !important;
5578 }
5579 
5580 div#GanttChartDIVglisthead, div#GanttChartDIVgcharthead {
5581  line-height: 2;
5582 }
5583 
5584 .gtaskname div, .gtaskname, .gstartdate div, .gstartdate, .genddate div, .genddate {
5585  font-size: unset !important;
5586 }
5587 
5588 div.gantt, .gtaskheading, .gmajorheading, .gminorheading, .gminorheadingwkend {
5589  font-size: unset !important;
5590  font-weight: normal !important;
5591  color: #000 !important;
5592 }
5593 div.gTaskInfo {
5594  background: #f0f0f0 !important;
5595 }
5596 .gtaskblue {
5597  background: rgb(108,152,185) !important;
5598 }
5599 .gtaskgreen {
5600  background: rgb(160,173,58) !important;
5601 }
5602 td.gtaskname {
5603  overflow: hidden;
5604  text-overflow: ellipsis;
5605 }
5606 td.gminorheadingwkend {
5607  color: #888 !important;
5608 }
5609 td.gminorheading {
5610  color: #666 !important;
5611 }
5612 .glistlbl, .glistgrid {
5613  width: 582px !important;
5614 }
5615 .gtaskname div, .gtaskname {
5616  min-width: 250px !important;
5617  max-width: 250px !important;
5618  width: 250px !important;
5619 }
5620 .gpccomplete div, .gpccomplete {
5621  min-width: 40px !important;
5622  max-width: 40px !important;
5623  width: 40px !important;
5624 }
5625 td.gtaskheading.gstartdate, td.gtaskheading.genddate {
5626  white-space: break-spaces;
5627 }
5628 .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) {
5629  color: transparent !important;
5630  border-left: none;
5631  border-right: none;
5632  border-top: none;
5633 }
5634 
5635 
5636 /* ============================================================================== */
5637 /* jFileTree */
5638 /* ============================================================================== */
5639 
5640 .ecmfiletree {
5641  width: 99%;
5642  height: 99%;
5643  padding-left: 2px;
5644  font-weight: normal;
5645 }
5646 
5647 .fileview {
5648  width: 99%;
5649  height: 99%;
5650  background: #FFF;
5651  padding-left: 2px;
5652  padding-top: 4px;
5653  font-weight: normal;
5654 }
5655 
5656 div.filedirelem {
5657  position: relative;
5658  display: block;
5659  text-decoration: none;
5660 }
5661 
5662 ul.filedirelem {
5663  padding: 2px;
5664  margin: 0 5px 5px 5px;
5665 }
5666 ul.filedirelem li {
5667  list-style: none;
5668  padding: 2px;
5669  margin: 0 10px 20px 10px;
5670  width: 160px;
5671  height: 120px;
5672  text-align: center;
5673  display: block;
5674  float: <?php print $left; ?>;
5675  border: solid 1px #f4f4f4;
5676 }
5677 
5678 ul.ecmjqft {
5679  line-height: 16px;
5680  padding: 0px;
5681  margin: 0px;
5682  font-weight: normal;
5683 }
5684 
5685 ul.ecmjqft li {
5686  list-style: none;
5687  padding: 0px;
5688  padding-left: 20px;
5689  margin: 0px;
5690  display: block;
5691 }
5692 
5693 ul.ecmjqft a {
5694  line-height: 24px;
5695  vertical-align: middle;
5696  color: #333;
5697  padding: 0px 0px;
5698  font-weight:normal;
5699  display: inline-block !important;
5700 }
5701 ul.ecmjqft a:active {
5702  font-weight: bold !important;
5703 }
5704 ul.ecmjqft a:hover {
5705  text-decoration: underline;
5706 }
5707 
5708 div.ecmjqft {
5709  vertical-align: middle;
5710  display: inline-block !important;
5711  text-align: right;
5712  float: right;
5713  right:4px;
5714  clear: both;
5715 }
5716 div#ecm-layout-west {
5717  width: 380px;
5718  vertical-align: top;
5719 }
5720 div#ecm-layout-center {
5721  width: calc(100% - 390px);
5722  vertical-align: top;
5723  float: right;
5724 }
5725 
5726 .ecmjqft LI.directory { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2.png', 1); ?>) left top no-repeat; }
5727 .ecmjqft LI.expanded { font-weight:normal; background: url(<?php echo dol_buildpath($path.'/theme/common/treemenu/folder2-expanded.png', 1); ?>) left top no-repeat; }
5728 .ecmjqft LI.wait { font-weight:normal; background: url(<?php echo dol_buildpath('/theme/'.$theme.'/img/working.gif', 1); ?>) left top no-repeat; }
5729 
5730 
5731 /* ============================================================================== */
5732 /* jNotify */
5733 /* ============================================================================== */
5734 
5735 .jnotify-container {
5736  position: fixed !important;
5737 <?php if (!empty($conf->global->MAIN_JQUERY_JNOTIFY_BOTTOM)) { ?>
5738  top: auto !important;
5739  bottom: 4px !important;
5740 <?php } ?>
5741  text-align: center;
5742  min-width: <?php echo $dol_optimize_smallscreen ? '200' : '480'; ?>px;
5743  width: auto;
5744  max-width: 1024px;
5745  padding-left: 10px !important;
5746  padding-right: 10px !important;
5747  word-wrap: break-word;
5748 }
5749 .jnotify-container .jnotify-notification .jnotify-message {
5750  font-weight: normal;
5751  text-align: start;
5752  word-break: break-word;
5753 }
5754 .jnotify-container .jnotify-notification-warning .jnotify-close, .jnotify-container .jnotify-notification-warning .jnotify-message {
5755  color: #a28918 !important;
5756 }
5757 
5758 /* use or not ? */
5759 div.jnotify-background {
5760  opacity : 0.95 !important;
5761  -webkit-box-shadow: 2px 2px 4px #888 !important;
5762  box-shadow: 2px 2px 4px #888 !important;
5763 }
5764 
5765 /* ============================================================================== */
5766 /* blockUI */
5767 /* ============================================================================== */
5768 
5769 /*div.growlUI { background: url(check48.png) no-repeat 10px 10px }*/
5770 div.dolEventValid h1, div.dolEventValid h2 {
5771  color: #567b1b;
5772  background-color: #e3f0db;
5773  padding: 5px 5px 5px 5px;
5774  text-align: left;
5775 }
5776 div.dolEventError h1, div.dolEventError h2 {
5777  color: #a72947;
5778  background-color: #d79eac;
5779  padding: 5px 5px 5px 5px;
5780  text-align: left;
5781 }
5782 
5783 /* ============================================================================== */
5784 /* Maps */
5785 /* ============================================================================== */
5786 
5787 .divmap, #google-visualization-geomap-embed-0, #google-visualization-geomap-embed-1, #google-visualization-geomap-embed-2 {
5788 }
5789 
5790 
5791 /* ============================================================================== */
5792 /* Datatable */
5793 /* ============================================================================== */
5794 
5795 table.dataTable tr.odd td.sorting_1, table.dataTable tr.even td.sorting_1 {
5796  background: none !important;
5797 }
5798 .sorting_asc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc.png', 1); ?>') no-repeat center right !important; }
5799 .sorting_desc { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc.png', 1); ?>') no-repeat center right !important; }
5800 .sorting_asc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_asc_disabled.png', 1); ?>') no-repeat center right !important; }
5801 .sorting_desc_disabled { background: url('<?php echo dol_buildpath('/theme/'.$theme.'/img/sort_desc_disabled.png', 1); ?>') no-repeat center right !important; }
5802 .dataTables_paginate {
5803  margin-top: 8px;
5804 }
5805 .paginate_button_disabled {
5806  opacity: 1 !important;
5807  color: #888 !important;
5808  cursor: default !important;
5809 }
5810 .paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover
5811 {
5812  font-weight: normal;
5813 }
5814 .paginate_enabled_previous:hover, .paginate_enabled_next:hover
5815 {
5816  text-decoration: underline !important;
5817 }
5818 .paginate_active
5819 {
5820  text-decoration: underline !important;
5821 }
5822 .paginate_button
5823 {
5824  font-weight: normal !important;
5825  text-decoration: none !important;
5826 }
5827 .paging_full_numbers {
5828  height: inherit !important;
5829 }
5830 .paging_full_numbers a.paginate_active:hover, .paging_full_numbers a.paginate_button:hover {
5831  background-color: #DDD !important;
5832 }
5833 .paging_full_numbers, .paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button {
5834  background-color: #FFF !important;
5835  border-radius: inherit !important;
5836 }
5837 .paging_full_numbers a.paginate_button_disabled:hover, .paging_full_numbers a.disabled:hover {
5838  background-color: #FFF !important;
5839 }
5840 .paginate_button, .paginate_active {
5841  border: 1px solid #ddd !important;
5842  padding: 6px 12px !important;
5843  margin-left: -1px !important;
5844  line-height: 1.42857143 !important;
5845  margin: 0 0 !important;
5846 }
5847 
5848 /* For jquery plugin combobox */
5849 /* Disable this. It breaks wrapping of boxes
5850 .ui-corner-all { white-space: nowrap; } */
5851 
5852 .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled, .paginate_button_disabled {
5853  opacity: .35;
5854  background-image: none;
5855 }
5856 
5857 div.dataTables_length {
5858  float: right !important;
5859  padding-left: 8px;
5860 }
5861 div.dataTables_length select {
5862  background: #fff;
5863 }
5864 .dataTables_wrapper .dataTables_paginate {
5865  padding-top: 0px !important;
5866 }
5867 
5868 
5869 /* ============================================================================== */
5870 /* Select2 */
5871 /* ============================================================================== */
5872 
5873 span#select2-taskid-container[title^='--'] {
5874  opacity: 0.3;
5875 }
5876 
5877 input.select2-input {
5878  border-bottom: none ! important;
5879 }
5880 .select2-choice {
5881  border: none;
5882  border-bottom: 1px solid #ccc !important;
5883 }
5884 .select2-results .select2-highlighted.optionblue {
5885  color: #FFF !important;
5886 }
5887 
5888 .select2-container .select2-selection--multiple {
5889  min-height: 28px !important;
5890 }
5891 
5892 .select2-container--default .select2-selection--multiple .select2-selection__choice {
5893  border: 1px solid #e4e4e4;
5894 }
5895 
5896 .blockvmenusearch .select2-container--default .select2-selection--single,
5897 .blockvmenubookmarks .select2-container--default .select2-selection--single
5898 {
5899  background-color: unset;
5900 }
5901 .select2-container--default .select2-selection--single .select2-selection__rendered {
5902  color: unset;
5903 }
5904 .select2-container .select2-choice {
5905  border-bottom: 1px solid #ccc;
5906 }
5907 .select2-container .select2-choice > .select2-chosen {
5908  margin-right: 23px;
5909 }
5910 .select2-container .select2-choice .select2-arrow {
5911  border-radius: 0;
5912 }
5913 .select2-container-multi .select2-choices {
5914  background-image: none;
5915 }
5916 .select2-container .select2-choice {
5917  color: #000;
5918  border-radius: 0;
5919 }
5920 .selectoptiondisabledwhite {
5921  background: #FFFFFF !important;
5922 }
5923 
5924 .select2-arrow {
5925  border: none;
5926  border-left: none !important;
5927  background: none !important;
5928 }
5929 .select2-choice
5930 {
5931  border-top: none !important;
5932  border-left: none !important;
5933  border-right: none !important;
5934  border-bottom: 1px solid #ccc;
5935 }
5936 .select2-drop.select2-drop-above {
5937  box-shadow: none !important;
5938 }
5939 .select2-container--open .select2-dropdown--above {
5940  border-bottom: solid 1px rgba(0,0,0,.2);
5941 }
5942 .select2-drop.select2-drop-above.select2-drop-active {
5943  border-top: 1px solid #ccc;
5944  border-bottom: 1px solid #ccc;
5945 }
5946 .select2-container--default .select2-selection--single
5947 {
5948  outline: none;
5949  border-top: none;
5950  border-left: none;
5951  border-right: none;
5952  border-bottom: solid 1px rgba(0,0,0,.2);
5953  -webkit-box-shadow: none !important;
5954  box-shadow: none !important;
5955  border-radius: 0 !important;
5956 }
5957 .select2-container--default.select2-container--focus .select2-selection--multiple {
5958  border-top: none;
5959  border-left: none;
5960  border-right: none;
5961 }
5962 .select2-container--default .select2-selection--multiple {
5963  border-bottom: solid 1px rgba(0,0,0,.2);
5964  border-top: none;
5965  border-left: none;
5966  border-right: none;
5967  border-radius: 0 !important;
5968 }
5969 .select2-selection--multiple input.select2-search__field {
5970  border-bottom: none !important;
5971 }
5972 .select2-search__field
5973 {
5974  outline: none;
5975  border-top: none !important;
5976  border-left: none !important;
5977  border-right: none !important;
5978  border-bottom: solid 1px rgba(0,0,0,.2) !important;
5979  -webkit-box-shadow: none !important;
5980  box-shadow: none !important;
5981  border-radius: 0 !important;
5982 }
5983 .select2-container-active .select2-choice, .select2-container-active .select2-choices
5984 {
5985  outline: none;
5986  border-top: none;
5987  border-left: none;
5988  border-bottom: none;
5989  -webkit-box-shadow: none !important;
5990  box-shadow: none !important;
5991 }
5992 .select2-dropdown-open {
5993  background-color: #fff;
5994 }
5995 .select2-dropdown-open .select2-choice, .select2-dropdown-open .select2-choices
5996 {
5997  outline: none;
5998  border-top: none;
5999  border-left: none;
6000  border-bottom: none;
6001  -webkit-box-shadow: none !important;
6002  box-shadow: none !important;
6003  background-color: #fff;
6004 }
6005 .select2-disabled
6006 {
6007  color: #888;
6008 }
6009 .select2-drop.select2-drop-above.select2-drop-active, .select2-drop {
6010  border-radius: 0;
6011 }
6012 .select2-drop.select2-drop-above {
6013  border-radius: 0;
6014 }
6015 .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
6016  background-image: none;
6017  border-radius: 0 !important;
6018 }
6019 div.select2-drop-above
6020 {
6021  background: #fff;
6022  -webkit-box-shadow: none !important;
6023  box-shadow: none !important;
6024 }
6025 .select2-drop-active
6026 {
6027  border: 1px solid #ccc;
6028  padding-top: 4px;
6029 }
6030 .select2-search input {
6031  border: none;
6032 }
6033 a span.select2-chosen
6034 {
6035  font-weight: normal !important;
6036 }
6037 .select2-container .select2-choice {
6038  background-image: none;
6039  line-height: 24px;
6040 }
6041 .select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit
6042 {
6043  background: #FFFFFF;
6044 }
6045 .select2-results {
6046  max-height: 400px;
6047 }
6048 .select2-results__option {
6049  word-break: break-word;
6050  text-align: <?php echo $left; ?>;
6051 }
6052 .select2-container.select2-container-disabled .select2-choice, .select2-container-multi.select2-container-disabled .select2-choices {
6053  background-color: #FFFFFF;
6054  background-image: none;
6055  border: none;
6056  cursor: default;
6057 }
6058 .select2-container-disabled .select2-choice .select2-arrow b {
6059  opacity: 0.5;
6060 }
6061 .select2-container-multi .select2-choices .select2-search-choice {
6062  margin-bottom: 3px;
6063 }
6064 .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices, .select2-container-multi .select2-choices,
6065 .select2-container-multi.select2-container-active .select2-choices
6066 {
6067  border-bottom: 1px solid #ccc;
6068  border-right: none;
6069  border-top: none;
6070  border-left: 1px solid #ddd;
6071 }
6072 .select2-container--default .select2-results>.select2-results__options{
6073  max-height: 400px;
6074 }
6075 
6076 /* Special case for the select2 add widget */
6077 #addbox .select2-container .select2-choice > .select2-chosen, #actionbookmark .select2-container .select2-choice > .select2-chosen {
6078  text-align: <?php echo $left; ?>;
6079  opacity: 0.3;
6080 }
6081 .select2-container--default .select2-selection--single .select2-selection__placeholder {
6082  color: unset;
6083  opacity: 0.5;
6084 }
6085 span#select2-boxbookmark-container, span#select2-boxcombo-container {
6086  text-align: <?php echo $left; ?>;
6087  opacity: 0.5;
6088 }
6089 .select2-container .select2-selection--single .select2-selection__rendered {
6090  padding-left: 6px;
6091 }
6092 /* Style used before the select2 js is executed on boxcombo */
6093 #boxbookmark.boxcombo, #boxcombo.boxcombo {
6094  text-align: left;
6095  opacity: 0.3;
6096  border-bottom: solid 1px rgba(0,0,0,.4) !important;
6097  height: 26px;
6098  line-height: 24px;
6099  padding: 0 0 5px 5px;
6100  vertical-align: top;
6101 }
6102 
6103 /* To emulate select 2 style */
6104 .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr {
6105  padding: 3px 5px 2px 5px;
6106  margin: 0 0 2px 3px;
6107  position: relative;
6108  line-height: 13px;
6109  color: #444;
6110  cursor: default;
6111  border: 1px solid #ddd;
6112  border-radius: 3px;
6113  -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6114  box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
6115  background-clip: padding-box;
6116  -webkit-touch-callout: none;
6117  -webkit-user-select: none;
6118  -moz-user-select: none;
6119  -ms-user-select: none;
6120  user-select: none;
6121  background-color: #e4e4e4;
6122  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));
6123  background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6124  background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6125  background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
6126 }
6127 .select2-container-multi-dolibarr .select2-choices-dolibarr .select2-search-choice-dolibarr a {
6128  font-weight: normal;
6129 }
6130 .select2-container-multi-dolibarr .select2-choices-dolibarr li {
6131  float: left;
6132  list-style: none;
6133 }
6134 .select2-container-multi-dolibarr .select2-choices-dolibarr {
6135  height: auto !important;
6136  height: 1%;
6137  margin: 0;
6138  padding: 0 5px 0 0;
6139  position: relative;
6140  cursor: text;
6141  overflow: hidden;
6142 }
6143 
6144 span.select2.select2-container.select2-container--default {
6145  text-align: initial;
6146 }
6147 
6148 ul.select2-results__options li {
6149  font-size: 0.95em;
6150 }
6151 
6152 @media only screen and (min-width: 767px)
6153 {
6154  .select2-container.select2-container--open .select2-dropdown.ui-dialog {
6155  min-width: 200px !important;
6156  }
6157  .select2-container--open .select2-dropdown--below {
6158  border-top: 1px solid var(--inputbordercolor);
6159  /* border-top: 1px solid #aaaaaa; */
6160  }
6161 }
6162 
6163 
6164 /* ============================================================================== */
6165 /* For categories */
6166 /* ============================================================================== */
6167 
6168 .noborderoncategories {
6169  border: none !important;
6170  border-radius: 5px !important;
6171  box-shadow: none;
6172  -webkit-box-shadow: none !important;
6173  box-shadow: none !important;
6174  margin-bottom: 0 !important;
6175 }
6176 span.noborderoncategories a, li.noborderoncategories a {
6177  line-height: normal;
6178 }
6179 span.noborderoncategories {
6180  padding: 3px 5px 3px 5px;
6181 }
6182 .categtextwhite, .treeview .categtextwhite.hover {
6183  color: #fff !important;
6184 }
6185 .categtextblack {
6186  color: #000 !important;
6187 }
6188 
6189 
6190 /* ============================================================================== */
6191 /* External lib multiselect with checkbox */
6192 /* ============================================================================== */
6193 
6194 .multi-select-menu {
6195  z-index: 10;
6196 }
6197 
6198 .multi-select-container {
6199  display: inline-block;
6200  position: relative;
6201 }
6202 
6203 .multi-select-menu {
6204  position: absolute;
6205  left: 0;
6206  top: 0.8em;
6207  float: left;
6208  min-width: 100%;
6209  background: #fff;
6210  margin: 1em 0;
6211  padding: 0.4em 0;
6212  border: 1px solid #aaa;
6213  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
6214  display: none;
6215 }
6216 
6217 .multi-select-menu input {
6218  margin-right: 0.3em;
6219  vertical-align: 0.1em;
6220 }
6221 
6222 .multi-select-button {
6223  display: inline-block;
6224  max-width: 20em;
6225  white-space: nowrap;
6226  overflow: hidden;
6227  text-overflow: ellipsis;
6228  vertical-align: middle;
6229  background-color: #fff;
6230  cursor: default;
6231 
6232  border: none;
6233  border-bottom: solid 1px rgba(0,0,0,.2);
6234  padding: 5px;
6235  padding-left: 2px;
6236  height: 17px;
6237 }
6238 .multi-select-button:focus {
6239  outline: none;
6240  border-bottom: 1px solid #666;
6241 }
6242 
6243 .multi-select-button:after {
6244  content: "";
6245  display: inline-block;
6246  width: 0;
6247  height: 0;
6248  border-style: solid;
6249  border-width: 0.5em 0.23em 0em 0.23em;
6250  border-color: #444 transparent transparent transparent;
6251  margin-left: 0.4em;
6252 }
6253 
6254 .multi-select-container--open .multi-select-menu { display: block; }
6255 
6256 .multi-select-container--open .multi-select-button:after {
6257  border-width: 0 0.4em 0.4em 0.4em;
6258  border-color: transparent transparent #999 transparent;
6259 }
6260 
6261 .multi-select-menuitem {
6262  clear: both;
6263  float: left;
6264  padding-left: 5px
6265 }
6266 label.multi-select-menuitem {
6267  line-height: 24px;
6268 }
6269 
6270 
6271 /* ============================================================================== */
6272 /* Native multiselect with checkbox */
6273 /* ============================================================================== */
6274 
6275 ul.ulselectedfields {
6276  z-index: 90; /* To have the select box appears on first plan even when near buttons are decorated by jmobile */
6277 }
6278 dl.dropdown {
6279  margin:0px;
6280  padding:0px;
6281  margin-left: 2px;
6282  margin-right: 2px;
6283  vertical-align: middle;
6284  display: inline-block;
6285 }
6286 .dropdown dd, .dropdown dt {
6287  margin:0px;
6288  padding:0px;
6289 }
6290 .dropdown ul {
6291  margin: -1px 0 0 0;
6292  text-align: <?php echo $left; ?>;
6293 }
6294 .dropdown dd {
6295  position:relative;
6296 }
6297 .dropdown dt a {
6298  display:block;
6299  overflow: hidden;
6300  border:0;
6301 }
6302 .dropdown dt a span, .multiSel span {
6303  cursor:pointer;
6304  display:inline-block;
6305  padding: 0 3px 2px 0;
6306 }
6307 .maxwidthsearch .dropdown dt a span, .multiSel span {
6308  padding: 0 3px 2px 3px;
6309 }
6310 .dropdown span.value {
6311  display:none;
6312 }
6313 .dropdown dd ul {
6314  background-color: #FFF;
6315  box-shadow: 1px 1px 10px #aaa;
6316  display:none;
6317  <?php echo $right; ?>:0px; /* pop is align on right */
6318  padding: 0 0 0 0;
6319  position:absolute;
6320  top:2px;
6321  list-style:none;
6322  max-height: 264px;
6323  overflow: auto;
6324 }
6325 .dropdown dd ul.selectedfieldsleft {
6326  right: auto;
6327 }
6328 .dropdown dd ul li {
6329  white-space: nowrap;
6330  font-weight: normal;
6331  padding: 7px 8px 7px 8px;
6332  /* color: rgb(<?php print $colortext; ?>); */
6333  color: #000;
6334 }
6335 .dropdown dd ul li:hover {
6336  background: #eee;
6337 }
6338 .dropdown dd ul li input[type="checkbox"] {
6339  margin-<?php echo $right; ?>: 3px;
6340 }
6341 .dropdown dd ul li a, .dropdown dd ul li span {
6342  padding: 3px;
6343  display: block;
6344 }
6345 .dropdown dd ul li span {
6346  color: #888;
6347 }
6348 .dropdown dd ul li a:hover {
6349  background-color: #eee;
6350 }
6351 
6352 dd.dropdowndd ul li {
6353  text-overflow: ellipsis;
6354  overflow: hidden;
6355  white-space: nowrap;
6356 }
6357 
6358 
6359 /* ============================================================================== */
6360 /* Kanban */
6361 /* ============================================================================== */
6362 
6363 .info-box-label {
6364  max-width: 180px;
6365  overflow: hidden;
6366  text-overflow: ellipsis;
6367  white-space: nowrap;
6368 }
6369 
6370 
6371 /* ============================================================================== */
6372 /* Markdown rendering */
6373 /* ============================================================================== */
6374 
6375 .imgmd {
6376  width: 90%;
6377 }
6378 .moduledesclong h1 {
6379  padding-top: 10px;
6380  padding-bottom: 20px;
6381 }
6382 
6383 
6384 /* ============================================================================== */
6385 /* JMobile - Android */
6386 /* ============================================================================== */
6387 
6388 .searchpage .tagtr .tagtd {
6389  padding-bottom: 3px;
6390 }
6391 .searchpage .tagtr .tagtd .button {
6392  background: unset;
6393  border: unset;
6394 }
6395 
6396 li.ui-li-divider .ui-link {
6397  color: #FFF !important;
6398 }
6399 .ui-btn {
6400  margin: 0.1em 2px
6401 }
6402 a.ui-link, a.ui-link:hover, .ui-btn:hover, span.ui-btn-text:hover, span.ui-btn-inner:hover {
6403  text-decoration: none !important;
6404 }
6405 .ui-body-c {
6406  background: #fff;
6407 }
6408 
6409 .ui-btn-inner {
6410  min-width: .4em;
6411  padding-left: 6px;
6412  padding-right: 6px;
6413  font-size: <?php print is_numeric($fontsize) ? $fontsize.'px' : $fontsize; ?>;
6414  /* white-space: normal; */ /* Warning, enable this break the truncate feature */
6415 }
6416 .ui-btn-icon-right .ui-btn-inner {
6417  padding-right: 30px;
6418 }
6419 .ui-btn-icon-left .ui-btn-inner {
6420  padding-left: 30px;
6421 }
6422 .ui-select .ui-btn-icon-right .ui-btn-inner {
6423  padding-right: 30px;
6424 }
6425 .ui-select .ui-btn-icon-left .ui-btn-inner {
6426  padding-left: 30px;
6427 }
6428 .ui-select .ui-btn-icon-right .ui-icon {
6429  right: 8px;
6430 }
6431 .ui-btn-icon-left > .ui-btn-inner > .ui-icon, .ui-btn-icon-right > .ui-btn-inner > .ui-icon {
6432  margin-top: -10px;
6433 }
6434 select {
6435  /* display: inline-block; */ /* We can't set this. This disable ability to make */
6436  overflow:hidden;
6437  white-space: nowrap; /* Enabling this make behaviour strange when selecting the empty value if this empty value is '' instead of '&nbsp;' */
6438  text-overflow: ellipsis;
6439 }
6440 .fiche .ui-controlgroup {
6441  margin: 0px;
6442  padding-bottom: 0px;
6443 }
6444 div.ui-controlgroup-controls div.tabsElem
6445 {
6446  margin-top: 2px;
6447 }
6448 div.ui-controlgroup-controls div.tabsElem a
6449 {
6450  -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.2);
6451  box-shadow: 0 -3px 6px rgba(0,0,0,.2);
6452 }
6453 div.ui-controlgroup-controls div.tabsElem a#active {
6454  -webkit-box-shadow: 0 -3px 6px rgba(0,0,0,.3);
6455  box-shadow: 0 -3px 6px rgba(0,0,0,.3);
6456 }
6457 
6458 a.tab span.ui-btn-inner
6459 {
6460  border: none;
6461  padding: 0;
6462 }
6463 
6464 .ui-link {
6465  color: rgb(<?php print $colortext; ?>);
6466 }
6467 .liste_titre .ui-link {
6468  color: rgb(<?php print $colortexttitle; ?>) !important;
6469 }
6470 
6471 a.ui-link {
6472  word-wrap: break-word;
6473 }
6474 
6475 /* force wrap possible onto field overflow does not works */
6476 .formdoc .ui-btn-inner
6477 {
6478  white-space: normal;
6479  overflow: hidden;
6480  text-overflow: clip; /* "hidden" : do not exists as a text-overflow value (https://developer.mozilla.org/fr/docs/Web/CSS/text-overflow) */
6481 }
6482 
6483 /* Warning: setting this may make screen not beeing refreshed after a combo selection */
6484 /*.ui-body-c {
6485  background: #fff;
6486 }*/
6487 
6488 div.ui-radio, div.ui-checkbox
6489 {
6490  display: inline-block;
6491  border-bottom: 0px !important;
6492 }
6493 .ui-checkbox input, .ui-radio input {
6494  height: auto;
6495  width: auto;
6496  margin: 4px;
6497  position: static;
6498 }
6499 div.ui-checkbox label+input, div.ui-radio label+input {
6500  position: absolute;
6501 }
6502 .ui-mobile fieldset
6503 {
6504  padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
6505 }
6506 
6507 ul.ulmenu {
6508  border-radius: 0;
6509  -webkit-border-radius: 0;
6510 }
6511 
6512 .ui-field-contain label.ui-input-text {
6513  vertical-align: middle !important;
6514 }
6515 .ui-mobile fieldset {
6516  border-bottom: none !important;
6517 }
6518 
6519 /* Style for first level menu with jmobile */
6520 .ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
6521  padding: 1em 15px;
6522  display: block;
6523 }
6524 .ui-btn-up-c {
6525  font-weight: normal;
6526 }
6527 .ui-focus, .ui-btn:focus {
6528  -webkit-box-shadow: none;
6529  box-shadow: none;
6530 }
6531 .ui-bar-b {
6532  /*border: 1px solid #888;*/
6533  border: none;
6534  background: none;
6535  text-shadow: none;
6536  color: rgb(<?php print $colortexttitlenotab; ?>) !important;
6537 }
6538 .ui-bar-b, .lilevel0 {
6539  background-repeat: repeat-x;
6540  border: none;
6541  background: none;
6542  text-shadow: none;
6543  color: rgb(<?php print $colortexttitlenotab; ?>) !important;
6544 }
6545 .alilevel0 {
6546  font-weight: normal !important;
6547 }
6548 
6549 .ui-li.ui-last-child, .ui-li.ui-field-contain.ui-last-child {
6550  border-bottom-width: 0px !important;
6551 }
6552 .alilevel0 {
6553  color: rgb(<?php echo $colortexttitle; ?>) !important;
6554 }
6555 .ulmenu {
6556  box-shadow: none !important;
6557  border-bottom: 1px solid #ccc;
6558 }
6559 .ui-btn-icon-right {
6560  border-right: 1px solid #ccc !important;
6561 }
6562 .ui-body-c {
6563  border: 1px solid #ccc;
6564  text-shadow: none;
6565 }
6566 .ui-btn-up-c, .ui-btn-hover-c {
6567  /* border: 1px solid #ccc; */
6568  text-shadow: none;
6569 }
6570 .ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
6571  color: rgb(<?php print $colortextlink; ?>);
6572 }
6573 .ui-btn-up-c .vsmenudisabled {
6574  color: #<?php echo $colorshadowtitle; ?> !important;
6575  text-shadow: none !important;
6576 }
6577 /*
6578 .ui-btn-up-c {
6579  background: transparent;
6580 }
6581 */
6582 div.tabsElem a.tab {
6583  background: transparent;
6584 }
6585 
6586 /*.ui-controlgroup-horizontal .ui-btn.ui-first-child {
6587 -webkit-border-top-left-radius: 6px;
6588 border-top-left-radius: 6px;
6589 }
6590 .ui-controlgroup-horizontal .ui-btn.ui-last-child {
6591 -webkit-border-top-right-radius: 6px;
6592 border-top-right-radius: 6px;
6593 }*/
6594 
6595 .alilevel1 {
6596  color: rgb(<?php print $colortexttitlenotab; ?>) !important;
6597 }
6598 .lilevel1 {
6599  border-top: 2px solid #444;
6600  background: #fff ! important;
6601 }
6602 .lilevel1 div div a {
6603  font-weight: bold !important;
6604 }
6605 .lilevel2
6606 {
6607  padding-left: 22px;
6608  background: #fff ! important;
6609 }
6610 .lilevel3
6611 {
6612  padding-left: 44px;
6613  background: #fff ! important;
6614 }
6615 .lilevel4
6616 {
6617  padding-left: 66px;
6618  background: #fff ! important;
6619 }
6620 .lilevel5
6621 {
6622  padding-left: 88px;
6623  background: #fff ! important;
6624 }
6625 
6626 
6627 
6628 /* ============================================================================== */
6629 /* POS */
6630 /* ============================================================================== */
6631 
6632 .menu_choix1 a {
6633  background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/money.png', 1) ?>') top left no-repeat;
6634  background-position-y: 15px;
6635 }
6636 
6637 .menu_choix2 a {
6638  background: url('<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/home.png', 1) ?>') top left no-repeat;
6639  background-position-y: 15px;
6640 }
6641 .menu_choix1,.menu_choix2 {
6642  font-size: 1.4em;
6643  text-align: left;
6644  border: 1px solid #666;
6645  margin-right: 20px;
6646 }
6647 .menu_choix1 a, .menu_choix2 a {
6648  display: block;
6649  color: #fff;
6650  text-decoration: none;
6651  padding-top: 18px;
6652  padding-left: 54px;
6653  font-size: 14px;
6654  height: 40px;
6655 }
6656 .menu_choix1 a:hover,.menu_choix2 a:hover {
6657  color: #6d3f6d;
6658 }
6659 .menu li.menu_choix1 {
6660  padding-top: 6px;
6661  padding-right: 10px;
6662  padding-bottom: 2px;
6663 }
6664 .menu li.menu_choix2 {
6665  padding-top: 6px;
6666  padding-right: 10px;
6667  padding-bottom: 2px;
6668 }
6669 @media only screen and (max-width: 767px)
6670 {
6671  .menu_choix1 a, .menu_choix2 a {
6672  background-size: 36px 36px;
6673  background-position-y: 6px;
6674  padding-left: 40px;
6675  }
6676  .menu li.menu_choix1, .menu li.menu_choix2 {
6677  padding-left: 4px;
6678  padding-right: 0;
6679  }
6680  .liste_articles {
6681  margin-right: 0 !important;
6682  }
6683 }
6684 
6685 
6686 /* ============================================================================== */
6687 /* Public */
6688 /* ============================================================================== */
6689 
6690 /* The theme for public pages */
6691 .public_body {
6692  margin: 20px;
6693 }
6694 .public_border {
6695  border: 1px solid #888;
6696 }
6697 
6698 
6699 /* ============================================================================== */
6700 /* Ticket module */
6701 /* ============================================================================== */
6702 
6703 .ticketpublicarea {
6704  margin-left: 15%;
6705  margin-right: 15%;
6706 }
6707 .publicnewticketform {
6708  /* margin-top: 25px !important; */
6709 }
6710 .ticketlargemargin {
6711  padding-left: 50px;
6712  padding-right: 50px;
6713  padding-top: 10px;
6714 }
6715 @media only screen and (max-width: 767px)
6716 {
6717  .ticketlargemargin {
6718  padding-left: 5px; padding-right: 5px;
6719  }
6720  .ticketpublicarea {
6721  margin-left: 10px;
6722  margin-right: 10px;
6723  }
6724 }
6725 
6726 #cd-timeline {
6727  position: relative;
6728  padding: 2em 0;
6729  margin-bottom: 2em;
6730 }
6731 #cd-timeline::before {
6732  /* this is the vertical line */
6733  content: '';
6734  position: absolute;
6735  top: 0;
6736  left: 18px;
6737  height: 100%;
6738  width: 4px;
6739  background: #d7e4ed;
6740 }
6741 @media only screen and (min-width: 1170px) {
6742  #cd-timeline {
6743  margin-bottom: 3em;
6744  }
6745  #cd-timeline::before {
6746  left: 50%;
6747  margin-left: -2px;
6748  }
6749 }
6750 
6751 .cd-timeline-block {
6752  position: relative;
6753  margin: 2em 0;
6754 }
6755 .cd-timeline-block:after {
6756  content: "";
6757  display: table;
6758  clear: both;
6759 }
6760 .cd-timeline-block:first-child {
6761  margin-top: 0;
6762 }
6763 .cd-timeline-block:last-child {
6764  margin-bottom: 0;
6765 }
6766 @media only screen and (min-width: 1170px) {
6767  .cd-timeline-block {
6768  margin: 4em 0;
6769  }
6770  .cd-timeline-block:first-child {
6771  margin-top: 0;
6772  }
6773  .cd-timeline-block:last-child {
6774  margin-bottom: 0;
6775  }
6776 }
6777 
6778 .cd-timeline-img {
6779  position: absolute;
6780  top: 0;
6781  left: 0;
6782  width: 40px;
6783  height: 40px;
6784  border-radius: 50%;
6785  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);
6786  background: #d7e4ed;
6787 }
6788 .cd-timeline-img img {
6789  display: block;
6790  width: 24px;
6791  height: 24px;
6792  position: relative;
6793  left: 50%;
6794  top: 50%;
6795  margin-left: -12px;
6796  margin-top: -12px;
6797 }
6798 .cd-timeline-img.cd-picture {
6799  background: #75ce66;
6800 }
6801 .cd-timeline-img.cd-movie {
6802  background: #c03b44;
6803 }
6804 .cd-timeline-img.cd-location {
6805  background: #f0ca45;
6806 }
6807 @media only screen and (min-width: 1170px) {
6808  .cd-timeline-img {
6809  width: 60px;
6810  height: 60px;
6811  left: 50%;
6812  margin-left: -30px;
6813  /* Force Hardware Acceleration in WebKit */
6814  -webkit-transform: translateZ(0);
6815  -webkit-backface-visibility: hidden;
6816  }
6817  .cssanimations .cd-timeline-img.is-hidden {
6818  visibility: hidden;
6819  }
6820  .cssanimations .cd-timeline-img.bounce-in {
6821  visibility: visible;
6822  -webkit-animation: cd-bounce-1 0.6s;
6823  -moz-animation: cd-bounce-1 0.6s;
6824  animation: cd-bounce-1 0.6s;
6825  }
6826 }
6827 
6828 @-webkit-keyframes cd-bounce-1 {
6829  0% {
6830  opacity: 0;
6831  -webkit-transform: scale(0.5);
6832  }
6833 
6834  60% {
6835  opacity: 1;
6836  -webkit-transform: scale(1.2);
6837  }
6838 
6839  100% {
6840  -webkit-transform: scale(1);
6841  }
6842 }
6843 @-moz-keyframes cd-bounce-1 {
6844  0% {
6845  opacity: 0;
6846  -moz-transform: scale(0.5);
6847  }
6848 
6849  60% {
6850  opacity: 1;
6851  -moz-transform: scale(1.2);
6852  }
6853 
6854  100% {
6855  -moz-transform: scale(1);
6856  }
6857 }
6858 @keyframes cd-bounce-1 {
6859  0% {
6860  opacity: 0;
6861  -webkit-transform: scale(0.5);
6862  -moz-transform: scale(0.5);
6863  -ms-transform: scale(0.5);
6864  -o-transform: scale(0.5);
6865  transform: scale(0.5);
6866  }
6867 
6868  60% {
6869  opacity: 1;
6870  -webkit-transform: scale(1.2);
6871  -moz-transform: scale(1.2);
6872  -ms-transform: scale(1.2);
6873  -o-transform: scale(1.2);
6874  transform: scale(1.2);
6875  }
6876 
6877  100% {
6878  -webkit-transform: scale(1);
6879  -moz-transform: scale(1);
6880  -ms-transform: scale(1);
6881  -o-transform: scale(1);
6882  transform: scale(1);
6883  }
6884 }
6885 .cd-timeline-content {
6886  position: relative;
6887  margin-left: 60px;
6888  background: white;
6889  border-radius: 0.25em;
6890  padding: 1em;
6891  background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
6892  background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
6893  background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
6894  background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(230,230,230,0.4) 100%);
6895 }
6896 .cd-timeline-content:after {
6897  content: "";
6898  display: table;
6899  clear: both;
6900 }
6901 .cd-timeline-content h2 {
6902  color: #303e49;
6903 }
6904 .cd-timeline-content .cd-date {
6905  font-size: 13px;
6906  font-size: 0.8125rem;
6907 }
6908 .cd-timeline-content .cd-date {
6909  display: inline-block;
6910 }
6911 .cd-timeline-content p {
6912  margin: 1em 0;
6913  line-height: 1.6;
6914 }
6915 
6916 .cd-timeline-content .cd-date {
6917  float: left;
6918  padding: .2em 0;
6919  opacity: .7;
6920 }
6921 .cd-timeline-content::before {
6922  content: '';
6923  position: absolute;
6924  top: 16px;
6925  right: 100%;
6926  height: 0;
6927  width: 0;
6928  border: 7px solid transparent;
6929  border-right: 7px solid white;
6930 }
6931 @media only screen and (min-width: 768px) {
6932  .cd-timeline-content h2 {
6933  font-size: 20px;
6934  font-size: 1.25rem;
6935  }
6936  .cd-timeline-content {
6937  font-size: 16px;
6938  font-size: 1rem;
6939  }
6940  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
6941  font-size: 14px;
6942  font-size: 0.875rem;
6943  }
6944 }
6945 @media only screen and (min-width: 1170px) {
6946  .cd-timeline-content {
6947  margin-left: 0;
6948  padding: 1.6em;
6949  width: 43%;
6950  }
6951  .cd-timeline-content::before {
6952  top: 24px;
6953  left: 100%;
6954  border-color: transparent;
6955  border-left-color: white;
6956  }
6957  .cd-timeline-content .cd-read-more {
6958  float: left;
6959  }
6960  .cd-timeline-content .cd-date {
6961  position: absolute;
6962  width: 55%;
6963  left: 115%;
6964  top: 6px;
6965  font-size: 16px;
6966  font-size: 1rem;
6967  }
6968  .cd-timeline-block:nth-child(even) .cd-timeline-content {
6969  float: right;
6970  }
6971  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
6972  top: 24px;
6973  left: auto;
6974  right: 100%;
6975  border-color: transparent;
6976  border-right-color: white;
6977  }
6978  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
6979  float: right;
6980  }
6981  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
6982  left: auto;
6983  right: 115%;
6984  text-align: right;
6985  }
6986 
6987 }
6988 
6989 
6990 /* ============================================================================== */
6991 /* CSS style for debugbar */
6992 /* ============================================================================== */
6993 
6994 span.phpdebugbar-tooltip.phpdebugbar-tooltip-extra-wide, span.phpdebugbar-tooltip.phpdebugbar-tooltip-wide {
6995  width: 250px !important;
6996 }
6997 .phpdebugbar-indicator span.phpdebugbar-tooltip {
6998  opacity: .95 !important;
6999 }
7000 a.phpdebugbar-tab.phpdebugbar-active {
7001  background-image: unset !important;
7002 }
7003 .phpdebugbar-indicator .fa {
7004  font-family: "Font Awesome 5 Free";
7005  font-weight: 600;
7006 }
7007 div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-warning:before,
7008 div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-error:before,
7009 div.phpdebugbar-widgets-exceptions a.phpdebugbar-widgets-editor-link:before,
7010 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before,
7011 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before,
7012 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before,
7013 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before,
7014 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before,
7015 div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before,
7016 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-render-time:before,
7017 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-memory:before,
7018 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-param-count:before,
7019 div.phpdebugbar-widgets-templates span.phpdebugbar-widgets-type:before,
7020 div.phpdebugbar-widgets-templates a.phpdebugbar-widgets-editor-link:before
7021 {
7022  font-family: "Font Awesome 5 Free" !important;
7023 }
7024 
7025 
7026 /* ============================================================================== */
7027 /* CSS style used for jCrop */
7028 /* ============================================================================== */
7029 
7030 .jcrop-holder { background: unset !important; }
7031 
7032 
7033 /* ============================================================================== */
7034 /* CSS style used for jFlot */
7035 /* ============================================================================== */
7036 
7037 .dol-xaxis-vertical .flot-x-axis .flot-tick-label.tickLabel {
7038  text-orientation: sideways;
7039  font-weight: 400;
7040  writing-mode: vertical-rl;
7041  white-space: nowrap;
7042 }
7043 
7044 
7045 /* ============================================================================== */
7046 /* For copy-paste feature */
7047 /* ============================================================================== */
7048 
7049 span.clipboardCPValueToPrint, div.clipboardCPValueToPrint {
7050  display: inline-block;
7051 }
7052 span.clipboardCPValue.hidewithsize {
7053  width: 0 !important;
7054  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 */
7055  color: transparent;
7056  white-space: nowrap;
7057  overflow-x: hidden;
7058  vertical-align: middle;
7059 }
7060 div.clipboardCPValue.hidewithsize {
7061  width: 0 !important;
7062  display: none;
7063  color: transparent;
7064  white-space: nowrap;
7065 }
7066 
7067 .clipboardCPShowOnHover .clipboardCPButton {
7068  display: none;
7069 }
7070 
7071 /* To make a div popup, we must use a position aboluste inside a position relative */
7072 
7073 .clipboardCPText {
7074  position: relative;
7075 }
7076 .clipboardCPTextDivInside {
7077  position: absolute;
7078  background: #EEE;
7079  color: #888;
7080  border: 1px solid #DDD;
7081  opacity: 1;
7082  z-index: 20;
7083  padding: 2px;
7084  padding-left: 4px;
7085  padding-right: 4px;
7086  top: -5px;
7087  left: 0px;
7088  border-radius: 5px;
7089  white-space: nowrap;
7090  font-size: 0.95em;
7091  box-shadow: 1px 1px 6px #ddd;
7092 }
7093 
7094 
7095 /* ============================================================================== */
7096 /* CSS style used for hrm skill/rank (may be we can remove this) */
7097 /* ============================================================================== */
7098 
7099 .radio_js_bloc_number {
7100  display:inline-block;
7101  padding:5px 7px;
7102  min-width:20px;
7103  border-radius:3px;
7104  border:1px solid #ccc;
7105  background:#eee;
7106  color:#555;
7107  cursor:pointer;
7108  margin:2px;
7109  text-align:center;
7110 }
7111 .radio_js_bloc_number.selected {
7112  transition:0.2s ease background;
7113  background:#888;
7114  color:#fff;
7115  border-color:#555;
7116 }
7117 
7118 
7119 /* ============================================================================== */
7120 /* CSS style used for small screen */
7121 /* ============================================================================== */
7122 
7123 .imgopensurveywizard
7124 {
7125  padding: 0 4px 0 4px;
7126 }
7127 @media only screen and (max-width: 767px)
7128 {
7129  .imgopensurveywizard, .imgautosize { width:95%; height: auto; }
7130 
7131  #tooltip {
7132  position: absolute;
7133  width: <?php print dol_size(350, 'width'); ?>px;
7134  }
7135 
7136  div.tabBar {
7137  padding-left: 8px;
7138  padding-right: 8px;
7139  -webkit-border-radius: 0;
7140  border-radius: 0px;
7141  border-right: none;
7142  border-left: none;
7143  }
7144 
7145  .box-flex-container {
7146  margin: 0 0 0 -8px !important;
7147  }
7148 
7149  .logopublicpayment #dolpaymentlogo {
7150  max-width: 260px;
7151  }
7152  #tablepublicpayment {
7153  width: auto !important;
7154  border: none !important;
7155  }
7156  .poweredbypublicpayment {
7157  float: unset !important;
7158  top: unset !important;
7159  /* bottom: 8px; */
7160  right: -10px !important;
7161  position: relative !important;
7162  }
7163  .poweredbyimg {
7164  width: 48px;
7165  }
7166 }
7167 
7168 @media only screen and (max-width: 1024px)
7169 {
7170  div#ecm-layout-west {
7171  width: 100%;
7172  clear: both;
7173  }
7174  div#ecm-layout-center {
7175  width: 100%;
7176  }
7177 }
7178 
7179 .menuhider {
7180  width: <?php echo $disableimages ? 'auto' : '44'; ?>px;
7181 }
7182 
7183 /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */
7184 /* disableimages = <?php echo $disableimages; ?> */
7185 /* rule to reduce top menu - 1st reduction */
7186 @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 7, 0) + 300; ?>px)
7187 {
7188  div.tmenucenter {
7189  max-width: <?php echo round($fontsize * 4); ?>px; /* size of viewport */
7190  white-space: nowrap;
7191  overflow: hidden;
7192  text-overflow: ellipsis;
7193  color: #<?php echo $colortextbackhmenu; ?>;
7194  }
7195  .mainmenuaspan {
7196  font-size: 0.9em;
7197  /* font-weight: 300; */
7198  }
7199  .topmenuimage {
7200  background-size: 24px auto;
7201  margin-top: 0px;
7202  }
7203  li.tmenu, li.tmenusel {
7204  min-width: 34px;
7205  }
7206  div.mainmenu {
7207  min-width: auto;
7208  }
7209  div.tmenuleft {
7210  display: none;
7211  }
7212 }
7213 /* rule to reduce top menu - 2nd reduction */
7214 @media only screen and (max-width: <?php echo round($nbtopmenuentries * $fontsize * 4.5, 0) + 300; ?>px)
7215 {
7216  li.tmenucompanylogo {
7217  display: none;
7218  }
7219 
7220  div.tmenucenter {
7221  max-width: <?php echo round($fontsize * 2); ?>px; /* size of viewport */
7222  text-overflow: clip;
7223  }
7224  .mainmenuaspan {
7225  font-size: 10px;
7226  padding-left: 0;
7227  padding-right: 0;
7228  }
7229  .topmenuimage {
7230  background-size: 20px auto;
7231  margin-top: 2px;
7232  }
7233 }
7234 /* rule to reduce top menu - 3rd reduction */
7235 @media only screen and (max-width: 570px)
7236 {
7237  div.login_block {
7238  border-right: 1px solid rgba(0,0,0,0.3);
7239  top: auto;
7240  }
7241 
7242  div#tmenu_tooltip {
7243  <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
7244  display:none;
7245  <?php } else { ?>
7246  /* padding-<?php echo $right; ?>: 78px; */
7247  <?php } ?>
7248  }
7249  li.tmenu, li.tmenusel {
7250  min-width: 30px;
7251  }
7252 
7253  div.login_block {
7254  border-right: 1px solid rgba(0,0,0,0.3);
7255  }
7256 
7257  div.tmenucenter {
7258  text-overflow: clip;
7259  }
7260  .topmenuimage {
7261  background-size: 20px auto;
7262  margin-top: 2px !important;
7263  }
7264  div.mainmenu {
7265  min-width: 20px;
7266  }
7267 
7268  #tooltip {
7269  position: absolute;
7270  width: <?php print dol_size(300, 'width'); ?>px;
7271  }
7272  select {
7273  width: 98%;
7274  min-width: 0 !important;
7275  }
7276  div.divphotoref {
7277  padding-right: 5px;
7278  }
7279  img.photoref, div.photoref {
7280  border: 1px solid rgba(0, 0, 0, 0.2);
7281  -webkit-box-shadow: none;
7282  box-shadow: none;
7283  padding: 4px;
7284  object-fit: contain;
7285  }
7286 
7287  .titlefield {
7288  width: auto !important; /* We want to ignore the 30%, try to use more if you can */
7289  min-width: unset;
7290  }
7291  .tableforfield>tr>td:first-child, .tableforfield>tbody>tr>td:first-child, div.tableforfield div.tagtr>div.tagtd:first-of-type {
7292  /* max-width: 100px; */ /* but no more than 100px */
7293  }
7294  .tableforfield>tr>td:nth-child(2), .tableforfield>tbody>tr>td:nth-child(2), div.tableforfield div.tagtr>div.tagtd:nth-child(2) {
7295  word-break: break-word;
7296  }
7297 
7298  table.table-fiche-title .col-title div.titre{
7299  line-height: unset;
7300  }
7301 
7302  input#addedfile {
7303  width: 95%;
7304  }
7305 
7306  #divbodywebsite {
7307  word-break: break-word;
7308  }
7309 
7310  .websiteselectionsection {
7311  border-left: unset;
7312  border-right: unset;
7313  padding-left: 5px;
7314  }
7315 
7316  .a-mesure, .a-mesure-disabled {
7317  display: block;
7318  margin-bottom: 6px;
7319  padding-left: 12px;
7320  padding-right: 12px;
7321  }
7322 
7323  .a-mesure, .a-mesure-disabled {
7324  text-align: center;
7325  }
7326 
7327 
7328  .underbanner.underbanner-before-box {
7329  border-bottom: none;
7330  }
7331 
7332  div.divButAction {
7333  margin-bottom: 0.5em;
7334  }
7335 
7336  div#card-errors {
7337  max-width: unset;
7338  }
7339 
7340  #dolpaymenttable {
7341  padding: 5px;
7342  }
7343 
7344  .lilevel1 span.paddingright {
7345  padding-right: 3px;
7346  }
7347 }
7348 
7349 
7350 <?php
7351 include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
7352 include dol_buildpath($path.'/theme/'.$theme.'/info-box.inc.php', 0);
7353 include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
7354 include dol_buildpath($path.'/theme/eldy/timeline.inc.php', 0); // actually md use same style as eldy theme
7355 
7356 if (!empty($conf->global->THEME_CUSTOM_CSS)) {
7357  print $conf->global->THEME_CUSTOM_CSS;
7358 }
7359 
7360 if (is_object($db)) {
7361  $db->close();
7362 }
7363 ?>
7364 
7365 /* This must be at end */
7366 ::-webkit-scrollbar {
7367  width: 12px;
7368 }
7369 /*::-webkit-scrollbar-button {
7370  background: #bbb;
7371 }*/
7372 ::-webkit-scrollbar-track-piece {
7373  background: #f4f4f4;
7374 }
7375 ::-webkit-scrollbar-thumb {
7376  background: #ddd;
7377 }​
7378 
7379 
7380 
7381 /* Must be at end */
7382 div.flot-text .flot-tick-label .tickLabel, .fa-color-unset {
7383  color: unset;
7384 }
7385 
MenuManager
Class to manage menu Auguria.
Definition: auguria_menu.php:29
colorStringToArray
colorStringToArray($stringcolor, $colorifnotfound=array(88, 88, 88))
Convert a string RGB value ('FFFFFF', '255,255,255') into an array RGB array(255,255,...
Definition: functions2.lib.php:2402
GETPOST
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
Definition: functions.lib.php:484
dol_buildpath
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
Definition: functions.lib.php:1062
dol_size
dol_size($size, $type='')
Optimize a size for some browsers (phone, smarphone, ...)
Definition: functions.lib.php:1201
top_httphead
if(!defined('NOREQUIREMENU')) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.
Definition: main.inc.php:1407
name
$conf db name
Definition: repair.php:122
code
print *****$script_file(".$version.") pid code
! Closing after partial payment: discount_vat, badcustomer or badsupplier, bankcharge,...
Definition: sync_members_ldap2dolibarr.php:60
pt
pt($db, $sql, $date)
print function
Definition: index.php:105
price
price($amount, $form=0, $outlangs='', $trunc=1, $rounding=-1, $forcerounding=-1, $currency_code='')
Function to format a value into an amount for visual output Function used into PDF and HTML pages.
Definition: functions.lib.php:5541
user
$conf db user
Definition: repair.php:123
getDolGlobalInt
getDolGlobalInt($key, $default=0)
Return dolibarr global constant int value.
Definition: functions.lib.php:93
start
padding inline start
Definition: style.css.php:726
type
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
Definition: repair.php:119
float
div float
Buy price without taxes.
Definition: style.css.php:809