/**
 * Copyright (C) 2009 eXo Platform SAS.
 * 
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

.UIGrid {
	margin: auto;
	border: 1px solid #EAEAEA;
	border-top:1px solid #EDEDED;
	border-collapse:separate;	
	-moz-border-radius:3px; 
	-webkit-border-radius:3px; 
	border-radius:3px ; 
}

.UIGrid .center {
	text-align:center;
}

.UIGrid th {
	line-height: 20px;
	background: #e1e1e1 url('background/ThGridRepeatBg1x19.png') repeat-x;
	padding: 10px 17px;
	text-align:left;/* orientation=lt */
	text-align:right;/* orientation=rt */
}

.UIGrid th:first-child {
	-moz-border-radius-topleft:2px;/* orientation=lt */
	-webkit-border-top-left-radius:2px;/* orientation=lt */
	border-top-left-radius:2px;/* orientation=lt */
	-moz-border-radius-topright:2px; /* orientation=rt */	
	-webkit-border-top-right-radius:2px;/* orientation=rt */
	border-top-right-radius:2px;/* orientation=rt */
}

.UIGrid th:last-child {
	-moz-border-radius-topright:2px;/* orientation=lt */ 		
	-webkit-border-top-right-radius:2px;/* orientation=lt */
	border-top-right-radius:2px;/* orientation=lt */
	-moz-border-radius-topleft:2px; /* orientation=rt */
	-webkit-border-top-left-radius:2px; /* orientation=rt */
	border-top-left-radius:2px; /* orientation=rt */
}

.UIGrid td {
	padding: 10px 17px;
	border: 1px solid #fff;
	border-right: 0; /* orientation=lt */
	border-left: 0; /* orientation=rt */	
	vertical-align: middle;
}

.UIGrid .OddRow {
	background-color:#fff;
}

.UIGrid .EvenRow {
	background-color:#f4f4f4;
}

.UIGrid .OddRow td {
	border-bottom:0;
	border-top:0;
}

.UIGrid .EvenRow:last-child td {
	border-bottom:2px solid #fff;
}

.UIGrid tr:last-child td:last-child {
	-moz-border-radius-bottomright:2px; /* orientation=lt */
	-webkit-border-bottom-right-radius:2px;/* orientation=lt */
	border-bottom-right-radius:2px;/* orientation=lt */
	-moz-border-radius-bottomleft:2px;/* orientation=rt */ 		
	-webkit-border-bottom-left-radius:2px;/* orientation=rt */
	border-bottom-left-radius:2px;/* orientation=rt */
}

.UIGrid tr:last-child td:first-child {
	-moz-border-radius-bottomleft:2px;/* orientation=lt */ 		
	-webkit-border-bottom-left-radius:2px;/* orientation=lt */
	border-bottom-left-radius:2px;/* orientation=lt */
	-moz-border-radius-bottomright:2px; /* orientation=rt */
	-webkit-border-bottom-right-radius:2px;/* orientation=rt */
	border-bottom-right-radius:2px;/* orientation=rt */
}

.UIGrid .ActionContainer {
	white-space: nowrap;
	text-align: center;
}

.UIGrid .ActionContainer a {
	margin: 0px 4px;
	color: #024369;
}

.UIGrid .ActionContainer img {
	margin: 0px 4px;
	width: 20px;
	height: 20px;
	background-position: center;
	background-repeat: no-repeat;
	float: none; 
	cursor: pointer;
}

.UIGrid .Text {
	overflow: hidden;
}

.UIGrid .Number {
	text-align: center;
}

.UIGrid .ValueWithIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	text-align: right;
}

.UIGrid .ViewIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/LightBulbOn.gif') no-repeat;
}

.UIGrid .DeleteIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/DustBin.gif') no-repeat;
}

.UIGrid .EditInfoIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/EditIcon.gif') no-repeat;
}

.UIGrid .ExcuteIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/PageYellowLight.gif') no-repeat;
}

.UIGrid .AddNewIcon {	
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/BlueCirclePlus.gif') no-repeat;
}

/*###################### UIListUsers Icon ######################*/

.UIGrid .DeleteUserIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/DustBin.gif') no-repeat;
	margin: auto;
}

.UIGrid .ViewUserInfoIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/EditIcon.gif') no-repeat;
	margin: auto;
}

/*###################### UIListMembershipType Icon ######################*/

.UIGrid .DeleteMembershipIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/DustBin.gif') no-repeat;
	margin: auto;	
}

.UIGrid .EditMembershipIcon {
	width: 16px; height: 16px;
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/EditIcon.gif') no-repeat;
	margin: auto;
}

.UIGrid input.checkbox {
	width: 15px; height: 15px;
}