

/* ******************************************************* */

.omnigrid{
	font-family: Arial, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	position: relative;
	border: 0px solid #eee;
	overflow:hidden; /* za debug iskljuci */
	color: #534646;
	
}

.omnigrid div.hDivBox
{
	position:relative;
	overflow:hidden;
}


.omnigrid div.hDiv /* header div */
{
	/*background: #fafafa url(images/fhbg.gif) repeat-x bottom;*/
	background: #f2f2f2;
	
	position: relative;
	border: 1px solid #ccc;
	border-bottom: 0px;
	overflow: hidden;
}	

.omnigrid div.bDiv /* body div */
{
	border: 1px solid #ccc;
	border-top: 0px;
	background: #fff;
	overflow: auto;
	position: relative;
}

.omnigrid div.hDiv .th, .omnigrid  div.bDiv .td  /* common cell properties*/
{
	text-align: left;
	border-right: 1px solid #ddd;
	border-left: 1px solid #fff;
	vertical-align: top !important;
	
	display:inline-block;
	float:left;
	
	white-space:nowrap;
	overflow:hidden;
	/*
	padding-top:0;
	padding-bottom:0;*/
	padding-left:5px;
	/*-moz-user-select:none;*/ /* utjece na inline edit, input */
	cursor:pointer;
}

.omnigrid ::selection{
	color:none;
	background-color:transparent;
}

.omnigrid div.hDiv div.th{
	line-height:24px;
	
	border-bottom: 1px solid #CCC;
}

.omnigrid div.bDiv .td{
	line-height:24px;	
	/*background-color:red;*/
}

.omnigrid div.bDiv ul{
	margin:0;
	padding:0;
	border-bottom:1px solid #DDDDDD;
	overflow:hidden;
}

.omnigrid div.bDiv ul li{
	margin:0;
	padding:0;
	list-style:none;
	overflow:hidden;
}

.omnigrid li.erow /* alt rows */
{
	/*background-color: #f7f7f7;*/
	background-color: #f1f5f7;
	
	/*border-bottom: 1px solid #f7f7f7;*/
}

.omnigrid li.msg/* alt rows */
{
	background-color: #f7f7f7;
	/*border-bottom: 1px solid #f7f7f7;*/
	cursor: pointer;
}

.omnigrid li.trtotal /* alt rows */
{
	border-top:1px dashed #dfdfdf;
	background-color: #e1e1e1;
	/*border-bottom: 1px solid #f7f7f7;*/
}

.omnigrid li.selected {
	background-color: #d9e6f4  !important;
	/*color: #fff;*/
}

.omnigrid li.over {
	background-color: #eaeff4;
	/*color: #fff;*/
}

/* ************************************** */
/* ************** Accordian ************** */
/* ************************************** */

.omnigrid div.bDiv .toggleicon{
	background-image: url(images/plusminus.gif);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	float:left;
	margin:4px 3px 0 0;
}

.omnigrid div.bDiv .tick{
	background-image: url(images/review.png);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	float:left;
	margin:4px 3px 0 0;
}

.omnigrid div.bDiv .edit{
	background-image: url(images/gridedit.png);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	float:left;
	margin:4px 3px 0 0;
}

.omnigrid div.bDiv .denied{
	background-image: url(images/denied.png);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	float:left;
	margin:4px 3px 0 0;
}
.omnigrid div.bDiv .locked{
	background-image: url(images/locked.png);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	float:left;
	margin:4px 3px 0 0;
}
.omnigrid div.bDiv .unlocked{
	background-image: url(images/unlocked.png);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	float:left;
	margin:4px 3px 0 0;
}

.omnigrid div.bDiv .check{
	background-image: url(images/check.png);
	background-repeat:no-repeat;
	width:16px;
	height:16px;
	float:left;
	margin:4px 3px 0 0;
}

.omnigrid div.bDiv ul li.section{
	display:none;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #eeeeee;
	border-top: 1px solid #eeeeee;
}

/* ************************************** */
/* ************** Toolbar *************** */
/* ************************************** */
.omnigrid div.tDiv 
{
	/*background: #fafafa url(images/bg.gif) repeat-x top;*/
	background: #f2f2f2;
	position: relative;			
	border: 1px solid #ccc;
	border-bottom: 0px;
	overflow: hidden;
	
	height:25px;
}

.omnigrid div.fbutton
{
	margin-top:1px;
	float: left;
	display: block;
	cursor: pointer;
	padding: 1px;
}


.omnigrid div.fbutton div
{
	float: left;
	padding: 1px 3px;
}		

.omnigrid div.fbutton span
{
	float: left;
	display: block;
	padding: 1px;
}

.omnigrid div.fbutton.fbOver
{
	padding: 0px;
	border: 1px solid #ccc;
}

.omnigrid div.fbutton.fbOver div
{
	padding: 0px 2px;
	border-left: 1px solid #fff;
	border-top: 1px solid #fff;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}		

.omnigrid div.btnseparator
{
	float: left;
	height: 22px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #fff;
	margin: 2px;
}

/* end toolbar*/

/* ************************************** */

/* ************************************** */
/* ************** Filter **************** */
/* ************************************** */

.omnigrid li.hide {
	display: none;
}

.omnigrid li.filter {

}

/* ************************************** */
/* ************** Columns size drag ***** */
/* ************************************** */

.omnigrid div.cDrag
{
	float: left;
	position: absolute;
	z-index: 2;
	overflow: visible;
}

.omnigrid div.cDrag div
{
	float: left;
	background: none;
	display: block;
	position: absolute;
	height: 24px;
	width: 5px;
	cursor: col-resize;

}

.omnigrid div.cDrag div.dragging
{
	background: url(images/line.gif) repeat-y 2px center;
}

/* ************************************** */
/* ************** Sort ****************** */
/* ************************************** */

.omnigrid div.hDiv div.DESC
{
	background: url(images/dn.png) no-repeat center top;
	border-bottom: 1px solid orange !important;
}	

.omnigrid div.hDiv  div.ASC
{
	background: url(images/up.png) no-repeat center top;
	border-bottom: 1px solid orange !important;
}	


/* ************************************** */
/* ************** Pagination ************ */
/* ************************************** */

.omnigrid div.pDiv
{
	background: url(images/wbg.gif) repeat-x 0 -1px;
	border: 1px solid #ccc;
	border-top: 0px;
	overflow: hidden;
	white-space: nowrap;
}

.omnigrid div.pDiv div.pDiv2
{
	margin: 2px;
	margin-left: -2px;
	float: left;
	width: 1024px;
}	
	
div.pGroup
{
	float: left;
	background: none;
	height: 24px;
	margin: 0px 5px;
}
	
.omnigrid div.pDiv .pPageStat, .omnigrid div.pDiv .pcontrol
{
	position: relative;
	//top: 5px;
	top: 1px;
	overflow: visible;
	font-size:10px;
	color:#777777;
}

.omnigrid div.pDiv select
{
	font-size:10px;
	margin-top:2px;
}

.omnigrid div.pDiv input
{
	vertical-align: text-top;
	position: relative;
	top: -2px;
	font-size:10px;
}

.omnigrid div.pDiv .btnseparator{
	height:19px;
}

.omnigrid div.pDiv div.pButton
{
	float: left;
	width:16px;
	height:16px;
	border: 0px;
	cursor: pointer;
	overflow: hidden;
	margin-top:3px;
}

.omnigrid div.pDiv  div.pButton:hover, .omnigrid div.pDiv  div.pButton.pBtnOver
{
	background-position:-16px 0;
}

.omnigrid2 div.pDiv  div.pButton:hover, .omnigrid2 div.pDiv  div.pButton.pBtnOver
{
	width:14px;
	height:14px;
	border: 1px solid #ccc;
	cursor: pointer;
}

.omnigrid .pSearch
{
	background: url(images/magnifier.png) no-repeat center;
}

.omnigrid .pFirst
{
	background: url(images/first.gif) no-repeat ;
}

.omnigrid .pPrev
{
	background: url(images/prev.gif) no-repeat;
}

.omnigrid .pNext
{
	background: url(images/next.gif) no-repeat;
}

.omnigrid .pLast
{
	background: url(images/last.gif) no-repeat;
}

.omnigrid .pReload
{
	background: url(images/refresh.gif) no-repeat;
}

.omnigrid .pReload.loading
{
	background: url(images/load.gif) no-repeat;
	background-position:0 0 !important;
}

.omnigrid .elementloader{
	width:32px;
	height:32px;
	background: url(images/fb_loader.gif) no-repeat;
	position:absolute;
}

/* *************************************** */
/* ************** Inline-Edit ************ */
/* *************************************** */

.omnigrid input.inline{
	/*width:100px;
	height:15px;*/
	padding:1px 2px 1px 2px;
	
	/* pazi na -moz-user-select od div.td */
}

/*
*::-moz-selection {
   background: #FF3C00; 
   color: #FFF; 
}*/

/* ************************************************************************************ */

.omnigrid div.sfield
{
    float: left;
    height: 22px;
    margin: 2px;
}
 
.omnigrid div.sfield input
{
    height: 16px;
    width:100px;
    margin: 1px;
}

.omnigrid div.sfield input:focus
{
		//background:url("images/search_return.png") no-repeat scroll 180px 9px transparent;
    height: 16px;
    width:100px;
    margin: 1px;
    //border: 1px solid #74A9DE;
    box-shadow: 0 0 6px rgba(111, 177, 243, 0.5), 0 1px 6px rgba(0, 0, 0, 0.1) inset;
}

.omnigrid div.selectField
{
    float: left;
    height: 22px;
  /*  width: 125px;*/
    margin: 2px;
}
 
.omnigrid div.selectField input
{
    height: 14px;
    width: 80px;
    margin: 4px;
}

.omnigrid .tacenter
{
	text-align:center;
}


.msgcenter {
    border: 0 solid #EEEEEE;
    color: #000000;

    overflow: hidden;
    position: relative;
}
.msgcenter ul li {
		border-bottom: 1px solid #DDDDDD;
    list-style: none outside none;
    margin: 0px 0 0px 0;
    overflow: hidden;
    padding: 5px;
}
.msgcenter ul {
    
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.msgcenter li.erow {
    background-color: #F7F7F7;
}
.msgcenter li.trtotal {
    background-color: #E1E1E1;
    border-top: 1px dashed #DFDFDF;
}
.msgcenter li.selected {
    background-color: #D9E6F4 !important;
}
.msgcenter li:hover {
    background-color: #EAEFF4;
}
.msgcenter li.msg {
    cursor:pointer;
}
		.omnigrid div.fbutton .add {
			background:transparent url(images/add.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .update {
			background:transparent url(images/edit.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .delete {
			background:transparent url(images/delete.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .submit {
			background:transparent url(images/submit.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .history {
			background:transparent url(images/history.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .print {
			background:transparent url(images/print.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .approve {
			background:transparent url(images/approve.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .reject {
			background:transparent url(images/denied.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .coin {
			background:transparent url(images/coin.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .print {
			background:transparent url(images/print.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .lockunlock {
			background:transparent url(images/lockunlock.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .excel {
			background:transparent url(images/excel.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .reverse {
			background:transparent url(images/reverse.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .upload{
			background:transparent url(images/upload.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .check{
			background:transparent url(images/check.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .detail{
			background:transparent url(images/detail.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .cancel{
			background:transparent url(images/cancel.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .copy{
			background:transparent url(images/copy.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .comment{
			background:transparent url(images/comment.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .extra{
			background:transparent url(images/extra.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .score{
			background:transparent url(images/score.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .score_bulk{
			background:transparent url(images/score_bulk.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .absent{
			background:transparent url(images/absent.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .lockunlock{
			background:transparent url(images/lockunlock.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .kelas{
			background:transparent url(images/people.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .sync{
			background:transparent url(images/synchronize.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .nickname{
			background:transparent url(images/nickname.png) no-repeat scroll left center;
		}
		.omnigrid div.fbutton .record{
			background:transparent url(images/discipline.png) no-repeat scroll left center;
		}