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