/* Global */
.ui-widget
{
	font-family: "Segoe UI",Arial,sans-serif;
	font-size: 1.1em;
}

/* Styles spécifiques sur le grid */
.mgdis-common{
	overflow-x : auto;
	clear : both;
}

.ui-grid
{
	border: solid 1px #848284;
	position:relative;
}

.ui-grid .ui-grid-loader
{
	background:transparent url(./images/loading-image.gif) no-repeat center center;
	position: absolute;
	top: 0;
	bottom: 0%;
	left: 0;
	right: 0%;
	z-index: 99;
}

.ui-grid .ui-grid-head,
.ui-grid .ui-grid-foot
{
	border:none;
}

.ui-grid .ui-grid-head input
{
	width: 100%;
}

.ui-grid .ui-corner-all
{
	cursor:pointer;
}
.ui-grid .ui-grid-head th
{
	text-align:center;
	line-height: 19px;
}
.ui-grid .ui-grid-head caption
{
	margin-bottom:0;
}

/* Alignement des textes dans les cellules */
.ui-grid .ui-grid-body .ui-grid-align-left
{
	text-align:left;
}

.ui-grid .ui-grid-body .ui-grid-align-right
{
	text-align:right;
}

.ui-grid .ui-grid-body .ui-grid-align-center
{
	text-align:center;
}

.mg-grid-action-dbclickline
{
	cursor: pointer;
}

.ui-grid .ui-grid-head-table th, .ui-grid .ui-grid-head-table td, .ui-grid .ui-grid-body-table th,
.ui-grid .ui-grid-body-table td, .ui-grid .ui-grid-foot-table th, .ui-grid .ui-grid-foot-table td
{
	white-space : inherit;
}

/* Alternance de couleurs sur les lignes */
.ui-grid .ui-grid-body .ui-grid-odd td
{
	background-color: #EBEBEB;
}

/* Couleur d'une ligne sélectionnée */
.ui-grid .ui-grid-body .ui-selected td
{
	background: #EFC352;
	cursor: pointer;
}

/* Ruptures */

/* Icone des ruptures */
.ui-grid .ui-grid-body .ui-grid-group .ui-icon
{
	float:left;
	margin:2px 5px 2px 4px;
	vertical-align:middle;
}

.ui-grid .ui-grid-body td
{
	line-height:22px;
}

.ui-grid .ui-grid-body .ui-grid-group td
{
	font-weight:bold;
}

/* Pagination */

.ui-grid .mg-grid-footer .mg-grid-pager
{
	width : 50%;
}

.ui-grid .pager #pager
{
	float : left;
}

.ui-grid .ui-grid-foot-table .ui-buttonset .ui-button
{
	margin-right:-1px;
}

.ui-grid .ui-button .ui-button-text
{
	font-size: 1.1em;
  	line-height: 20px;
}

.ui-grid .pager button
{
	display:inline-block;
}

.mg-button-empty span.ui-button-text
{
	width : 0px;
	padding-left : 15px;
}

.ui-grid .pager .mgpage
{
	display:inline-block;
	width:150px;
	margin: 0px 10px;
	padding:.4em 1em .4em 2.1em;
}

.ui-grid .pager .mgpage input
{
	float: none;
	margin-right: 0;
}

/* Images indicateurs dans la consultation */
.ui-grid .ui-grid-body .ui-grid-body-table img
{
	margin:0 auto;
}

/* Toolbar */
/* Alignement des textes dans les cellules */
.ui-grid .ui-grid-toolbar th
{
	text-align:left;
}

/* Formulaire */
.ui-grid-form label
{
	display:block;
}

.ui-grid-form input
{
	display:block;
	margin-bottom:10px;
}

.ui-dialog-buttonset .ui-button-text
{
	font-size: 1em;
}

.ui-grid-form label.error
{
	margin-top:-10px;
	font-weight:bold;
	color:#FF0000;
	padding:5px 0 10px 0;
	display:block;
}

.ui-grid-form label em
{
	color:#FF0000;
	font-weight:bold;
}

/* Gestion des actions de colonne */
.mg-grid-action-button {
	font-weight: bold;
	text-decoration: underline;
}

.mg-grid-action-button img{
	max-height: 25px;
}

/* gestion des groupes dans la barre des tâches */
.mg-grid-taskbar-header .mg-grid-task-group{
	float : left;
	clear : none;
	vertical-align: top;
}

.mg-grid-taskbar-header{
	padding : 0px;
}

.mg-grid-taskbar-header th{
	padding : 0px;
}

.mg-grid-taskbar-header th span{
	line-height : 16px;
}

.mgdis-common .mg-grid-taskbar-header fieldset{
	margin : 0px 5px 5px 5px;
}

.mg-grid-taskbar-header fieldset legend{
	text-align : left;
	margin-top : 0px;
	margin-bottom : 0px;
	padding-top : 0px;
	padding-bottom : 0px;
}

.mg-grid-taskbar-header .mg-grid-actions{
    width : 35%;
}

.mg-grid-taskbar-header .mg-grid-exports{
	width : 15%;
	text-align : center;
}

.mg-grid-taskbar-header .mg-grid-exports fieldset legend{
	margin-right : 0px;
	margin-left : 0px;
}

.mg-grid-taskbar-header .mg-grid-exports a{
	cursor: pointer;
}

.mg-grid-taskbar-header .mg-grid-exports a img{
	padding : 5px;
	vertical-align: middle;
	height : 30px;
	cursor: pointer;
}

/* Gestion de la barre des totaux dynamiques */
.ui-grid tfoot td.mg-grid-totalsLine
{
	text-align: right;
}

/* Gestion de la barre d'état */
.mg-grid-footer .mg-grid-statebar
{
	width : 50%;
	float : right;
	margin-top : 5px;
}

.mg-grid-footer .mg-grid-statebar span
{
	float : right;
}

.mg-grid-cell, .ui-grid-group td
{
	height : 20px;
}
