/*Telerik RadGrid CustomOffice2007 Skin*/

/*global*/

.RadGrid_CustomOffice2007
{
    border:1px solid #688caf;
    background:#fff;
    color:#333;
    margin-left:auto !important;
    margin-right:auto !important;
}

.RadGrid_CustomOffice2007,
.RadGrid_CustomOffice2007 .rgMasterTable,
.RadGrid_CustomOffice2007 .rgDetailTable,
.RadGrid_CustomOffice2007 .rgGroupPanel table,
.RadGrid_CustomOffice2007 .rgCommandRow table,
.RadGrid_CustomOffice2007 .rgEditForm table,
.RadGrid_CustomOffice2007 .rgPager table,
.GridToolTip_CustomOffice2007
{
    font:12px/16px "segoe ui",arial,sans-serif;
}

.RadGrid_CustomOffice2007 .rgMasterTable,
.RadGrid_CustomOffice2007 .rgDetailTable
{
    border-collapse:separate;
    

}

.RadGrid_CustomOffice2007 .rgRow,
.RadGrid_CustomOffice2007 .rgAltRow,
.RadGrid_CustomOffice2007 .rgHeader,
.RadGrid_CustomOffice2007 .rgResizeCol,
.RadGrid_CustomOffice2007 .rgPager,
.RadGrid_CustomOffice2007 .rgGroupPanel,
.RadGrid_CustomOffice2007 .rgGroupHeader
{
	cursor:default;
}

.RadGrid_CustomOffice2007 input[type="image"]
{
	cursor:pointer;
}

.RadGrid_CustomOffice2007 .rgRow td,
.RadGrid_CustomOffice2007 .rgAltRow td,
.RadGrid_CustomOffice2007 .rgEditRow td,
.RadGrid_CustomOffice2007 .rgFooter td,
.RadGrid_CustomOffice2007 .rgFilterRow td,
.RadGrid_CustomOffice2007 .rgHeader,
.RadGrid_CustomOffice2007 .rgResizeCol,
.RadGrid_CustomOffice2007 .rgGroupHeader td
{
	padding-left:4px; /* mw: the original was 7px */
	padding-right:4px;/* mw: the original was 7px */
}

/*
.RadGrid_CustomOffice2007 .rgClipCells .rgHeader,
.RadGrid_CustomOffice2007 .rgClipCells .rgRow>td,
.RadGrid_CustomOffice2007 .rgClipCells .rgAltRow>td
{
	 overflow:hidden; 
}
*/
.RadGrid_CustomOffice2007 .rgHeader:first-child,
.RadGrid_CustomOffice2007 th.rgResizeCol:first-child,
.RadGrid_CustomOffice2007 .rgFilterRow>td:first-child,
.RadGrid_CustomOffice2007 .rgRow>td:first-child,
.RadGrid_CustomOffice2007 .rgAltRow>td:first-child
{
	border-left:0;
	padding-left:5px; /* mw: changed from 8px */
}

.RadGrid_CustomOffice2007 .rgAdd,
.RadGrid_CustomOffice2007 .rgRefresh,
.RadGrid_CustomOffice2007 .rgEdit,
.RadGrid_CustomOffice2007 .rgDel,
.RadGrid_CustomOffice2007 .rgFilter,
.RadGrid_CustomOffice2007 .rgPagePrev,
.RadGrid_CustomOffice2007 .rgPageNext,
.RadGrid_CustomOffice2007 .rgPageFirst,
.RadGrid_CustomOffice2007 .rgPageLast,
.RadGrid_CustomOffice2007 .rgExpand,
.RadGrid_CustomOffice2007 .rgCollapse,
.RadGrid_CustomOffice2007 .rgSortAsc,
.RadGrid_CustomOffice2007 .rgSortDesc,
.RadGrid_CustomOffice2007 .rgUpdate,
.RadGrid_CustomOffice2007 .rgCancel,
.RadGrid_CustomOffice2007 .rgUngroup
{
	width:16px;
	height:16px;
	border:0;
	margin:0;
	padding:0;
	background-color:  transparent; 
	background-image:url('img/Grid/sprite.gif');
	background-repeat:no-repeat;
	vertical-align:middle;
 	font-size:1px; 
	cursor:pointer;
}

.RadGrid_CustomOffice2007 .rgGroupItem input,
.RadGrid_CustomOffice2007 .rgCommandRow img,
.RadGrid_CustomOffice2007 .rgHeader input,
.RadGrid_CustomOffice2007 .rgFilterRow img,
.RadGrid_CustomOffice2007 .rgFilterRow input,
.RadGrid_CustomOffice2007 .rgPager img
{
	vertical-align:middle;
}

/*header*/

.RadGrid_CustomOffice2007 .rgHeaderDiv
{
	/* background:#d6e5f3 0 -5900px repeat-x url('Images/Images/Grid/sprite.gif'); */
	 background:#d6e5f3 0 -5900px repeat-x url('img/Grid/sprite.gif'); 
	 
}
.rgTwoLines .rgHeaderDiv
{
	background-position:0 -6200px;
}

.rgNoScrollImage .rgHeaderDiv
{
	background-image:none;
}

.RadGrid_CustomOffice2007 .rgHeader,
.RadGrid_CustomOffice2007 th.rgResizeCol
{
	border:solid #5d8cc9;
	border-width:0 0 1px 1px;
	padding-top:5px;
	padding-bottom:4px;
	background:0 -2300px repeat-x #c3d8f1 url('img/Grid/sprite.gif');
	text-align:left;
	font-weight:normal;
}

.RadGrid_CustomOffice2007 th.rgSorted
{
	border-bottom-color:Transparent; /*#ff9b35; */
	background-color: #c3d8f1; /* the original color is #ffca5e, yellow, in css file. I changed it to be the same as header color from above. ; */
	/* background-position:0 -2600px; /* mw: comment out this line removes top part of the yellow background for the header when sorting*/
}

.RadGrid_CustomOffice2007 .rgHeader,
.RadGrid_CustomOffice2007 .rgHeader a
{
   color:#00156e; /* change color of header text */
  
  /*  background-color:white; */  /* mw added this line */
    text-decoration:none;
}

.RadGrid_CustomOffice2007 th.rgSorted,
.RadGrid_CustomOffice2007 th.rgSorted a
{
    color: #000; /*mw: control fore-color of the text when header is sorted */
  /*  background-color: White;*/
}

.RadGrid_CustomOffice2007 .rgCheck
{
	height:15px;
	margin:0;
	padding:0;
}

/*rows*/

.RadGrid_CustomOffice2007 .rgRow td,
.RadGrid_CustomOffice2007 .rgAltRow td,
.RadGrid_CustomOffice2007 .rgEditRow td,
.RadGrid_CustomOffice2007 .rgFooter td
{
	border:1px solid;
	border-top:0;
	border-right:0;
	padding-top:4px;
	padding-bottom:3px;
}

.RadGrid_CustomOffice2007 .rgRow td,
.RadGrid_CustomOffice2007 .rgAltRow td
{
	border-color:#d0d7e5;
}

.RadGrid_CustomOffice2007 .rgRow .rgSorted,
.RadGrid_CustomOffice2007 .rgAltRow .rgSorted
{
	background-color:  #f2f2f2; /* no effect on header color*/
}

.RadGrid_CustomOffice2007 .rgSelectedRow .rgSorted,
.RadGrid_CustomOffice2007 .rgActiveRow .rgSorted,
.RadGrid_CustomOffice2007 .rgHoveredRow .rgSorted,
.RadGrid_CustomOffice2007 .rgEditRow .rgSorted
{
	background-color:transparent; /* no effect on header color*/
}

.RadGrid_CustomOffice2007 .rgRow a,
.RadGrid_CustomOffice2007 .rgAltRow a,
.RadGrid_CustomOffice2007 .rgEditRow a,
.RadGrid_CustomOffice2007 .rgFooter a,
.RadGrid_CustomOffice2007 .rgEditForm a
{
	color:  #00156e ; /* mwu7/18/2011-original color #00156e;*/
}

.RadGrid_CustomOffice2007 .rgSelectedRow
{
    background:#ffcb60 0 -3900px repeat-x url('img/Grid/sprite.gif');
}
*+html .RadGrid_CustomOffice2007 .rgSelectedRow .rgSorted{background-color:#ffcb60}
* html .RadGrid_CustomOffice2007 .rgSelectedRow .rgSorted{background-color:#ffcb60}

.RadGrid_CustomOffice2007 .rgActiveRow,
.RadGrid_CustomOffice2007 .rgHoveredRow
{
    background:#ecf4ff;
}
*+html .RadGrid_CustomOffice2007 .rgActiveRow .rgSorted,
*+html .RadGrid_CustomOffice2007 .rgHoveredRow .rgSorted{background-color:#ecf4ff}
* html .RadGrid_CustomOffice2007 .rgActiveRow .rgSorted,
* html .RadGrid_CustomOffice2007 .rgHoveredRow .rgSorted{background-color:#ecf4ff}

.RadGrid_CustomOffice2007 .rgEditRow
{
	background:  white ; /*mw: 7/18/2011 updated the color from #ffe5ad (orange) to white */
}
*+html .RadGrid_CustomOffice2007 .rgEditRow .rgSorted{background-color:#ffe5ad}
* html .RadGrid_CustomOffice2007 .rgEditRow .rgSorted{background-color:#ffe5ad}

.RadGrid_CustomOffice2007 .rgSelectedRow td,
.RadGrid_CustomOffice2007 .rgActiveRow td,
.RadGrid_CustomOffice2007 .rgHoveredRow td,
.RadGrid_CustomOffice2007 .rgEditRow td
{
	border-left:0;
	padding-left:4px; /*mw:changed from 8px*/
}

.RadGrid_CustomOffice2007 .rgSelectedRow td
{
	border-bottom-color:#ff9b35;
}

.RadGrid_CustomOffice2007 .rgActiveRow td,
.RadGrid_CustomOffice2007 .rgHoveredRow td,
.RadGrid_CustomOffice2007 .rgEditRow td
{
	border-bottom-color:#d0d7e5;
}

/*footer*/

.RadGrid_CustomOffice2007 .rgFooterDiv,
.RadGrid_CustomOffice2007 .rgFooter
{
	/*background:#9ab5db 0 -6500px repeat-x url('img/Grid/sprite.gif'); */
	/*background: #d7e6f7   0 -6500px repeat-x url('img/Grid/sprite.gif'); */
	background:#d7e6f7 ; /* mw: don't use image, only control color by change color code*/
}

.RadGrid_CustomOffice2007 .rgFooter td
{
	border-width:1px 0;
	border-color:#567db0 #fff #fff;
	padding-left:8px;
}

/*status*/

.RadGrid_CustomOffice2007 .rgPager .rgStatus
{
	width:35px;
	border:0;
	border-top:1px solid #5d8cc9;
	border-right:1px solid #9cb9dc;
	border-color:#5d8cc9 #9cb9dc;
	padding:3px;
}

.RadGrid_CustomOffice2007 .rgStatus div
{
	width:24px;
	height:24px;
	overflow:hidden;
	border:0;
	margin:0 auto;
	padding:0;
	background:transparent center center no-repeat url('Common/loading_small.gif');
	text-indent:-2222px;
}

/*pager*/

.RadGrid_CustomOffice2007 .rgPager
{
	background:#ecf3fc 0 -7000px repeat-x url('img/Grid/sprite.gif');
}

.RadGrid_CustomOffice2007 .rgPager td
{
	padding:0;
}

.RadGrid_CustomOffice2007 .rgPager .rgPagerCell
{
	border:0;
	border-top:1px solid #5d8cc9;
	border-left:1px solid #fff;
	padding:5px 0;
}

.RadGrid_CustomOffice2007 .rgWrap
{
	float:left;
	padding:0 10px;
	line-height:22px;
	white-space:nowrap;
}

.RadGrid_CustomOffice2007 .rgArrPart1
{
	padding-right:0;
}

.RadGrid_CustomOffice2007 .rgArrPart2
{
	padding-left:0;
}

.RadGrid_CustomOffice2007 .rgInfoPart
{
	float:right;
	color:#333;
}

.RadGrid_CustomOffice2007 .rgInfoPart strong
{
	font-weight:normal;
	color:#000;
}

.RadGrid_CustomOffice2007 .rgArrPart1 img,
.RadGrid_CustomOffice2007 .rgArrPart2 img
{
	margin:0 8px;
}

.RadGrid_CustomOffice2007 .rgPageFirst,
.RadGrid_CustomOffice2007 .rgPagePrev,
.RadGrid_CustomOffice2007 .rgPageNext,
.RadGrid_CustomOffice2007 .rgPageLast
{
	width:17px;
	height:22px;
	vertical-align:top;
}

.RadGrid_CustomOffice2007 .NextPrev .rgPageFirst,
.RadGrid_CustomOffice2007 .NextPrev .rgPagePrev,
.RadGrid_CustomOffice2007 .NextPrev .rgPageNext,
.RadGrid_CustomOffice2007 .NextPrev .rgPageLast
{
	vertical-align:middle;
}

.RadGrid_CustomOffice2007 .rgPageFirst
{
	margin:0 3px 0 0;
	background-position:0 -548px;
}
.RadGrid_CustomOffice2007 .rgPageFirst:hover
{
	background-position:0 -598px;
}
.RadGrid_CustomOffice2007 .rgPagePrev
{
	margin:0 3px 0 0;
	background-position:0 -698px;
}
.RadGrid_CustomOffice2007 .rgPagePrev:hover
{
	background-position:0 -748px;
}
.RadGrid_CustomOffice2007 .rgPageNext
{
	margin:0 0 0 3px;
	background-position:0 -848px;
}
.RadGrid_CustomOffice2007 .rgPageNext:hover
{
	background-position:0 -898px;
}
.RadGrid_CustomOffice2007 .rgPageLast
{
	margin:0 0 0 3px;
	background-position:0 -998px;
}
.RadGrid_CustomOffice2007 .rgPageLast:hover
{
	background-position:0 -1048px;
}

.RadGrid_CustomOffice2007 .rgPagerButton
{
	height:22px;
	border:1px solid #7793b9;
	margin:0 14px 0 0;
	padding:0 4px 2px;
	background:#e8f1fc repeat-x 0 -1550px url('img/Grid/sprite.gif');
	color:#00156e;
	font:12px/12px "segoe ui",arial,sans-serif;
	vertical-align:middle;
	cursor:pointer;
}

.RadGrid_CustomOffice2007 .rgNumPart
{
	padding:0;
}

.RadGrid_CustomOffice2007 .NumericPages .rgNumPart
{
	padding:0 10px;
}

.RadGrid_CustomOffice2007 .rgNumPart a:hover,
.RadGrid_CustomOffice2007 .rgNumPart a:hover span,
.RadGrid_CustomOffice2007 .rgNumPart a.rgCurrentPage,
.RadGrid_CustomOffice2007 .rgNumPart a.rgCurrentPage span
{
	background:no-repeat url('img/Grid/sprite.gif');
}

.RadGrid_CustomOffice2007 .rgNumPart a
{
	float:left;
	line-height:22px;
	margin:0;
	padding:0 5px 0 0;
	color:#00156e;
	text-decoration:none;
}

.RadGrid_CustomOffice2007 .rgNumPart span
{
	float:left;
	padding:0 0 0 5px;
}

.RadGrid_CustomOffice2007 .rgNumPart a:hover
{
	background-position:100% -1250px;
}

.RadGrid_CustomOffice2007 .rgNumPart a:hover span
{
	background-position:0 -1150px;
	cursor:pointer;
}

.RadGrid_CustomOffice2007 .rgNumPart a.rgCurrentPage,
.RadGrid_CustomOffice2007 .rgNumPart a.rgCurrentPage:hover
{
	background-position:100% -1450px;
	cursor:default;
}

.RadGrid_CustomOffice2007 .rgNumPart a.rgCurrentPage span,
.RadGrid_CustomOffice2007 .rgNumPart a.rgCurrentPage:hover span
{
	background-position:0 -1350px;
	cursor:default;
}

.RadGrid_CustomOffice2007 .NextPrevNumericAndAdvanced .rgAdvPart
{
	float:none;
	text-align:center;
}

.RadGrid_CustomOffice2007 .rgPager .RadSlider
{
	float:left;
	margin:0 10px 0 0;
}

.RadGrid_CustomOffice2007 .rgPager .rgPagerLabel,
.RadGrid_CustomOffice2007 .rgPager .RadComboBox,
.RadGrid_CustomOffice2007 .rgPager .RadInput_CustomOffice2007
{
	margin:0 4px 0 0;
	vertical-align:middle;
}

*+html .RadGrid_CustomOffice2007 .rgPager .RadComboBox{margin-top:-1px;}
* html .RadGrid_CustomOffice2007 .rgPager .RadComboBox{margin-top:-1px;padding:1px 0;}

.RadGrid_CustomOffice2007 .rgPagerTextBox
{
	text-align:center;
}

/*sorting, reordering*/

.RadGrid_CustomOffice2007 .rgHeader .rgSortAsc
{
	background-position:3px -147px;
	height:10px;
}

.RadGrid_CustomOffice2007 .rgHeader .rgSortDesc
{
	background-position:3px -96px;
	height:10px;
}

.GridReorderTop_CustomOffice2007,
.GridReorderBottom_CustomOffice2007
{
	width:9px !important;
	height:9px !important;
	margin-left:-5px;
	background:0 0 no-repeat url('img/Grid/sprite.gif');
}

.GridReorderBottom_CustomOffice2007
{
	background-position:0 -50px;
}

/*filtering*/

.RadGrid_CustomOffice2007 .rgFilterRow
{
	background:#d6e5f3;
}

.RadGrid_CustomOffice2007 .rgFilterRow td
{
    padding-top:5px;
    padding-bottom:6px;
    border:solid #9eb6ce;
    border-width:0 0 1px 1px;
}

.RadGrid_CustomOffice2007 .rgFilter
{
	width:22px;
	height:22px;
	margin:0 0 0 2px;
	background-position:0 -300px;
}

.RadGrid_CustomOffice2007 .rgFilter:hover
{
	background-position:0 -350px;
}

.RadGrid_CustomOffice2007 .rgFilterActive,
.RadGrid_CustomOffice2007 .rgFilterActive:hover
{
	background-position:0 -400px;
}

.RadGrid_CustomOffice2007 .rgFilterBox
{
	border:1px solid #abc1de;
	padding:2px 1px 3px;
	font:4px "segoe ui",arial,sans-serif;
	color:#000;
	vertical-align:middle;
}

/*grouping*/

.RadGrid_CustomOffice2007 .rgGroupPanel
{
	height:24px;
	border:0;
	border-bottom:1px solid #688caf;
	background:#ecf3fc;
}

.RadGrid_CustomOffice2007 .rgGroupPanel td
{
	border:0;
	padding:3px 4px;
	vertical-align:middle;
}

.RadGrid_CustomOffice2007 .rgGroupPanel td td
{
	padding:0;
}

.RadGrid_CustomOffice2007 .rgGroupPanel .rgSortAsc
{
	background-position:4px -144px;
}

.RadGrid_CustomOffice2007 .rgGroupPanel .rgSortDesc
{
	background-position:4px -94px;
}

.RadGrid_CustomOffice2007 .rgUngroup
{
	background-position:0 -7500px;
}

.RadGrid_CustomOffice2007 .rgGroupItem
{
	border:1px solid #4b78ca;
	padding:0 2px 1px 3px;
	background:#e6ebf5 0 -1900px repeat-x url('img/Grid/sprite.gif');
	color:#00156e;
	line-height:20px;
	font-weight:normal;
	vertical-align:middle;
}

.RadGrid_CustomOffice2007 .rgGroupHeader
{
    background:#d7e6f7;
    font-size:.9em; /*mw: it's 1.1*/
    line-height:21px;
	color:#567db0;
}

.RadGrid_CustomOffice2007 .rgGroupHeader td
{
	border-top:1px solid #fcfcfd;
	border-bottom:1px solid #6f92b3;
    padding:0 7px 0 8px;
}

.RadGrid_CustomOffice2007 td.rgGroupCol,
.RadGrid_CustomOffice2007 td.rgExpandCol
{
	background: #d7e6f7 none;
	border-color:#d7e6f7;
}

.RadGrid_CustomOffice2007 .rgGroupHeader .rgExpand
{
	 background-position:5px -495px;  
	 
}

.RadGrid_CustomOffice2007 .rgGroupHeader .rgCollapse
{
	background-position:3px -93px;
}

.RadGrid_CustomOffice2007 .rgGroupHeader td p
{
    display:inline;
    margin:0;
    padding:0 10px;
}

.RadGrid_CustomOffice2007 .rgGroupHeader td div div
{
	top:-0.8em;
	padding:0 10px;
}

.RadGrid_CustomOffice2007 .rgGroupHeader td div div div
{
	top:0;
	padding:0;
	border:0;
}

/*editing*/

.RadGrid_CustomOffice2007 .rgEditForm
{
	border-bottom:1px solid #d0d7e5;
}

.RadGrid_CustomOffice2007 .rgUpdate
{
	background-position:0 -1800px;
}

.RadGrid_CustomOffice2007 .rgCancel
{
	background-position:2px -1848px;
}

/*hierarchy*/

.RadGrid_CustomOffice2007 .rgDetailTable
{
	border:1px solid #688caf;
	border-right:0;
}

.RadGrid_CustomOffice2007 .rgExpand
{
	background-position:5px -496px;
}

.RadGrid_CustomOffice2007 .rgCollapse
{
	background-position:3px -94px;
}

/*command row*/

.RadGrid_CustomOffice2007 .rgCommandRow
{
	background:#d6e6f4 0 -2099px repeat-x url('img/Grid/sprite.gif');
	color:#333;
}

.RadGrid_CustomOffice2007 .rgCommandCell
{
	border:0;
	padding:0;
}

.RadGrid_CustomOffice2007 thead .rgCommandCell
{
	border-bottom:1px solid #688caf;
}

.RadGrid_CustomOffice2007 tfoot .rgCommandCell
{
	border-top:1px solid #688caf;
}

.RadGrid_CustomOffice2007 .rgCommandTable td
{
	border:0;
	padding:3px 7px 4px;
}

.RadGrid_CustomOffice2007 .rgCommandTable
{
	border:1px solid #f6f7f9;
}

.RadGrid_CustomOffice2007 .rgCommandRow a
{
	color:#00156e;
	text-decoration:none;
}

.RadGrid_CustomOffice2007 .rgAdd
{
	margin-right:3px;
	background-position:0 -1650px;
}

.RadGrid_CustomOffice2007 .rgRefresh
{
	margin-right:3px;
	background-position:0 -1600px;
}

.RadGrid_CustomOffice2007 .rgEdit
{
	background-position:0 -1700px;
}

.RadGrid_CustomOffice2007 .rgDel
{
	background-position:0 -1750px;
}

/*multirow select*/

.GridRowSelector_CustomOffice2007
{
	background:#00156e;
}

/*row drag n drop*/

.GridItemDropIndicator_CustomOffice2007
{
    border-top:1px dashed #00156e;
}

/*tooltip*/

.GridToolTip_CustomOffice2007
{
	border:1px solid #6187b8;
	padding:3px;
	background:#d7e3f2;
	color:#333;
}

/*rtl*/

.RadGridRTL_CustomOffice2007 .rgHeader,
.RadGridRTL_CustomOffice2007 .rgResizeCol
{
	text-align:right;
}

.RadGridRTL_CustomOffice2007 .rgHeader:first-child,
.RadGridRTL_CustomOffice2007 th.rgResizeCol:first-child,
.RadGridRTL_CustomOffice2007 .rgFilterRow>td:first-child,
.RadGridRTL_CustomOffice2007 .rgRow>td:first-child,
.RadGridRTL_CustomOffice2007 .rgAltRow>td:first-child
{
	border-left:1px solid;
	padding-left:7px;
}

.RadGridRTL_CustomOffice2007 .rgPager .rgStatus
{
	border-right:0;
	border-left-width:1px;
}

.RadGridRTL_CustomOffice2007 .rgWrap
{
	float:right;
}

.RadGridRTL_CustomOffice2007 .rgInfoPart
{
	float:left;
}

.RadGridRTL_CustomOffice2007 .rgNumPart
{
	width:220px;
}

.RadGridRTL_CustomOffice2007 .rgNumPart a
{
	float:right;
}

.RadGridRTL_CustomOffice2007 .rgDetailTable
{
	border-right:1px solid;
	border-left:0;
}
