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