/**
 * EGroupware - CSS Styles used by preferences app
 *
 * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
 * @package preferences
 * @link http://www.egroupware.org
 * @author Ralf Becker <RalfBecker@outdoor-training.de>
 * @version $Id$
 */

table.prefTable {
	width: 100%;
}
table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn {
	background-image:url(../../../api/templates/default/images/hint.png);
	background-repeat: no-repeat;
	background-position: center;
    height: 99%;
}
tr.prefRow:hover {background-color:#f0f0ff}
td.prefName {
	width: 50%;
}
tr.prefRow > td {
	vertical-align: bottom;	/* otherwise help will cover bigger prefValue */
}
/*.prefValueColumn {border-right:none !important;}*/
.prefHelpColumn {
	border: none !important;
	padding: 0 !important;
}
.prefHelp {
	position: absolute;
    display: none;
    width: 255px;
    max-height: 99%;
    height: calc(99% - 150px);
    background-color: #f0f0ff;
    padding: 5px;
    top: 80px;
	overflow-y: auto;
    z-index: 1;
}
tr.prefRow:hover .prefHelp {
	display: block;
	z-index: 10;	/* FF: displays it under next prefName without */
}
.prefDefault, .prefValue {
	float: left;
	display: inline-block;
}
.prefValue {
	margin-right: 5px;
	width:49%;
}
.prefDefault {
	float: right;
	width:48%;
}
.prefValue textarea, textarea.prefValue {
	width: 99%;
	height: 5em;
}
.prefType, .prefApp {
	font-size: 150%;
	margin-top: 10px;
	margin-right: 5px;
}
.prefType{
	width:49%;
}
.prefApp {
	width:49.50%;
}
#preferences-password .dialogHeader td {
	text-align: center;
}
.et2_selectbox.readonly.prefType {padding: 5px;}

.prefValueColumn select.prefValue {
	white-space: pre-line;
}