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