/*Grid*/
.ui-jqgrid {
    /*position: relative;*/
    font-size:11px;
    background: none !important;
    margin-bottom: 10px !important;
    /*width: 100% !important;*/
    float: left;
    clear: both;
    position: inherit !important;
    z-index: 0 !important;    
}
#tabs .ui-jqgrid {    
    margin: 10px !important;
}
.inside .ui-jqgrid:nth-child(1) {
    margin-top: 10px !important;
}
.ui-jqgrid .ui-jqgrid-view {
    /*position: relative;*/
    left:0px; top: 0px; padding: .0em;
}
/* caption*/
.ui-jqgrid .ui-jqgrid-titlebar {
    background: none;
    border: none;
    width: 100%;
    border: 0;
    height: 38px;
    border-radius: 4px 4px 0 0;
    background: #f4f4f4;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y0ZjRmNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkZWRlZGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f4f4f4 0%, #dedede 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f4f4), color-stop(100%,#dedede));
    background: -webkit-linear-gradient(top,  #f4f4f4 0%,#dedede 100%);
    background: -o-linear-gradient(top,  #f4f4f4 0%,#dedede 100%);
    background: -ms-linear-gradient(top,  #f4f4f4 0%,#dedede 100%);
    background: linear-gradient(top,  #f4f4f4 0%,#dedede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#dedede',GradientType=0 );
    border-bottom: 1px solid #b5b5b5 !important;
    margin: 0;
    padding: 0;
    border: none;
    color: #555555;
    font: 14px Arial;
    line-height: 38px;
    text-shadow: 1px 1px 1px #f9f9f9; 
    font-weight: normal; 
    position: inherit !important;
    z-index: 0 !important;
}
    
.ui-jqgrid .ui-jqgrid-title { float: left; margin: 0; padding-left: 10px;  }
.ui-jqgrid .ui-jqgrid-titlebar-close { position: absolute;top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height:18px; display: none}.ui-jqgrid .ui-jqgrid-titlebar-close span { display: block; margin: 1px; }
.ui-jqgrid .ui-jqgrid-titlebar-close:hover { padding: 0; }
/* header*/
.ui-jqgrid .ui-jqgrid-hdiv {
    /*position: relative;*/ 
    margin: 0em;
    padding: 0em;
    overflow-x: hidden;
    border: 0px none !important;
    /*float: left;
    clear: both;*/
    position: inherit !important;
    z-index: 0 !important; 
}
.ui-jqgrid .ui-jqgrid-hbox {
    float: left;
    background-color: #fff;
    border-bottom: 1px solid #c8d9e1;
    /*position: relative;*/
    clear: both;
}
.ui-jqgrid .ui-jqgrid-htable {
    margin: 1px 1px 0 1px;
}
.ui-jqgrid .ui-jqgrid-htable th {
    background: none !important;
    background-color: #eaf4f8 !important;
    height: 48px;
    border: 0!important;
    font-weight: bold !important;
    text-align: left;
    font: 11px Arial;
    color: #555555;
    text-transform: none;
    padding: 0 5px !important;
    vertical-align: middle !important;
    margin: 0 !important;
    border-right: 1px solid #fff !important;
    position: relative;
}
.ui-jqgrid .ui-jqgrid-htable th div {
    /*position:relative;
    margin: 2px 0 0 0; */
    padding: 0 !important;
    /*min-height: 48px;
    line-height: 48px;
    text-align: center !important;
    display: table-cell;
    vertical-align: middle;*/
    display: inline !important;
    float: none !important;
}
.ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize {
    float: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 2px !important;
    background: #fff !important;
}
.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {overflow: hidden;/*white-space: nowrap;*/border-top : 0px none;border-bottom : 0px none;}

.ui-jqgrid .ui-th-div-ie {/*white-space: nowrap;*/ zoom :1; height:17px;}
.ui-jqgrid .ui-jqgrid-resize {
    height: 48px !important;
    /*position: relative;*/
    cursor :e-resize;
    display: block;
    float: left;
    overflow: hidden;
}
.ui-jqgrid .ui-grid-ico-sort {overflow:hidden;position:absolute;display:inline; cursor: pointer !important;}
.ui-jqgrid .s-ico {
    display: inline-block;
    width: 16px;
    height: 15px;
    /*position: absolute;
    top: 50%;
    margin-top: -7px;*/
}
.ui-jqgrid .ui-icon-asc {
    margin: 0 0 0 1px !important;
    height: 12px;
}
.ui-jqgrid .ui-icon-desc {
    margin-top: 6px;
    height: 12px;
}
.ui-jqgrid .ui-i-asc {
    margin-top:0px;
    height:16px;
}
.ui-jqgrid .ui-i-desc {margin-top:0px;margin-left:13px;height:16px;}



.ui-jqgrid .ui-jqgrid-sortable {cursor:pointer;}
.ui-jqgrid tr.ui-search-toolbar th { }
tr.ui-search-toolbar input {margin: 1px 0px 0px 0px}
tr.ui-search-toolbar select {margin: 1px 0px 0px 0px}
/* body */

.ui-jqgrid .ui-jqgrid-bdiv {
    /*position: relative;*/
    margin: 0em; padding:0; overflow: auto; text-align:left;
    float: left;
    clear: none;
    position: inherit !important;
    /*z-index: -1 !important;*/    
}/* 
.ui-jqgrid .ui-jqgrid-btable {table-layout:fixed; margin:0em; outline-style: none; }
.ui-jqgrid tr.jqgrow { outline-style: none; }
.ui-jqgrid tr.jqgroup { outline-style: none; }
*/


.ui-jqgrid .ui-jqgrid-bdiv > div {
    position: inherit !important;
}

.ui-jqgrid tr.jqgrow td {
    padding: 0 5px !important;
    height: 28px;
    font: 11px Arial;
    color: #555555;
    background-color: #fff;
    border: 0 !important;
    cursor: pointer !important;
    border-bottom: 1px solid #d9e2e7 !important;
    outline: none !important;
}
.gridcell {
    border-right: 1px solid #f7f9fa !important;
    outline: none !important;
}
.jqgfirstrow td {
    border: 0 !important;
    padding: 0 5px !important;
    border-right: 1px solid #f7f9fa !important;
    outline: none !important;
}
.ui-state-highlight td,
.ui-jqgrid tr.jqgrow:hover td {
    color: #416E87 !important;
    background-color: #cdeef8 !important;
    outline: none !important;

}
.ui-state-highlight {
    outline: none;
}
.ui-jqgrid .ui-icon-plus {
    background: transparent url(../pic/ui-icon-plus.png) no-repeat 0 2px !important;
}
.ui-jqgrid .ui-icon-minus {
    background: transparent url(../pic/ui-icon-minus.png) no-repeat 0 2px !important;
}
.ui-jqgrid tr.jqfoot td {font-weight: bold; overflow: hidden; white-space: pre; height: 22px;padding: 0;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
.ui-jqgrid tr.ui-row-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
.ui-jqgrid tr.ui-row-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
.ui-jqgrid td.jqgrid-rownum { padding: 0; margin: 0px; border: 0px none;}
.ui-jqgrid .ui-jqgrid-resize-mark { width:2px; left:0; background-color:#777; cursor: e-resize; cursor: col-resize; position:absolute; top:0; height:100px; overflow:hidden; display:none;	border:0 none;}
/* footer */

.ui-jqgrid .ui-jqgrid-sdiv {
    /*position: relative;*/
    margin: 0em;padding: 0em; overflow: hidden; border-left: 0px none !important; border-top : 0px none !important; border-right : 0px none !important;
    float: left;
    clear: none;}
.ui-jqgrid .ui-jqgrid-ftable {/*table-layout:fixed;*/ margin-bottom:0em;}
.ui-jqgrid tr.footrow td {font-weight: bold; overflow: hidden; white-space:nowrap !important; height: 21px;padding: 0 5px;border-top-width: 1px; border-top-color: inherit; border-top-style: solid;}
.ui-jqgrid tr.footrow-ltr td {text-align:left;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;}
.ui-jqgrid tr.footrow-rtl td {text-align:right;border-left-width: 1px; border-left-color: inherit; border-left-style: solid;}
/* Pager*/

.ui-jqgrid tr.footrow-ltr td {
    /*width: auto !important;*/
}

.ui-jqgrid .ui-jqgrid-pager { 
    background: none;
    border: none;
    width: 100%;
    border: 0;
    height: 32px;
    background-color: #fff;
    margin: 0;
    padding: 0;
    border: none;
    color: #555555;
    font: 14px Arial;
    line-height: 32px;
    text-shadow: 1px 1px 1px #f9f9f9; 
    font-weight: normal;
    position: inherit !important;
    z-index: 0 !important; 
    float: left;
    clear: both;
    
    }
.ui-jqgrid .ui-pager-control {/*position: relative;*/}
.ui-jqgrid .ui-pg-table {
    /*position: relative;*/ 
    padding-bottom:2px; width:auto; margin: 0em;
    float: right;
}
.ui-jqgrid .ui-pg-table td {font-weight:normal; vertical-align:middle; height: 19px !important; overflow: hidden;}
.ui-jqgrid .ui-pg-button  { height:19px !important;}
.ui-jqgrid .ui-pg-button span { display: block; margin: 0 !important; float:left;}
.ui-jqgrid .ui-pg-button:hover { padding: 0px; }
.ui-jqgrid .ui-state-disabled:hover {padding:0;}
.ui-jqgrid .ui-pg-input[type=text] {
    border: 1px solid #416F87;
    padding: 2px 5px;
    text-align: center;
    color: #416F87;
    font-size: 12px;
    margin: 0 5px;
}
.ui-jqgrid .ui-pg-selbox {font-size:.8em; line-height:18px; display:block; height:18px; margin: 0em;}
.ui-jqgrid .ui-separator {height: 18px; border-left: 1px solid #ccc ; border-right: 1px solid #ccc ; margin: 1px; float: right;}
.ui-jqgrid .ui-paging-info {
    font-weight: normal;
    font-size: 12px;
    margin-right: 10px;
}
td[dir="ltr"] {
    font-size: 12px;
    padding: 0 5px;
    white-space: nowrap !important;
    min-width: 100px;
    height: 18px !important; 
    overflow: hidden;
    vertical-align: top;
    width: 100px; 
}
td[dir="ltr"] span {
    float: none !important;
}
td[dir="ltr"] * {
    float: none !important;
    white-space: nowrap !important;
    clear: none !important;
}
/*
#next_tablelist_pager span,
#last_tablelist_pager span,
#prev_tablelist_pager span,
#first_tablelist_pager span,
#first_tablelist_slave_0_pager span,
#last_tablelist_slave_0_pager span,
#prev_tablelist_slave_0_pager span,
#next_tablelist_slave_0_pager span {
    display: none;    
}
*/
.ui-pg-button.ui-state-disabled {
    width: 0px !important;
}
.ui-pg-button.ui-state-disabled .ui-separator,
.ui-pg-button.ui-state-disabled .ui-separator:hover {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    width: 0 !important;
    visibility: hidden;
}

/** pager **/

.ui-pg-button.ui-state-disabled .ui-icon {
    width: 18px !important;
}

.ui-icon-seek-first,
.ui-icon-seek-prev,
.ui-icon-seek-next,
.ui-icon-seek-end {
    display: block;
    width: 18px !important;
    height: 18px !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background-position: 50% 50% !important;
}
.ui-icon-seek-first,
.ui-state-hover .ui-icon-seek-first     { background: transparent url(../pic/jqgrid_pager/pager_first.png) no-repeat !important }
.ui-icon-seek-prev,
.ui-state-hover .ui-icon-seek-prev      { background: transparent url(../pic/jqgrid_pager/pager_left.png) no-repeat !important }
.ui-icon-seek-next,
.ui-state-hover .ui-icon-seek-next      { background: transparent url(../pic/jqgrid_pager/pager_right.png) no-repeat !important }
.ui-icon-seek-end,
.ui-state-hover .ui-icon-seek-end       { background: transparent url(../pic/jqgrid_pager/pager_last.png) no-repeat !important }


.ui-state-hover .ui-icon-seek-first,
.ui-state-hover .ui-icon-seek-prev,
.ui-state-hover .ui-icon-seek-next,
.ui-state-hover .ui-icon-seek-end { margin: 0 !important; }



.ui-jqgrid .ui-jqgrid-pager .ui-pg-div {
    padding: 0 !important;
    float:left;
    list-style-image:none;
    list-style-position:outside;list-style-type:none;
    /*position:relative;*/
    font-size: 12px;
    line-height: 16px;
    padding-top: 2px !important;
}
.ui-jqgrid .ui-jqgrid-pager .ui-pg-button { cursor:pointer; }
.ui-jqgrid .ui-jqgrid-pager .ui-pg-div  span.ui-icon {
    float:left;
    margin: 0 0 0 10px;
    padding: 0;
}
.ui-jqgrid .ui-jqgrid-pager .ui-pg-div:hover,
.ui-jqgrid .ui-jqgrid-pager .ui-pg-div:hover span {
    background-color: #fff !important;
}
.ui-jqgrid .ui-jqgrid-pager .ui-pg-button.ui-corner-all {
    border: 0 !important;
}
.ui-jqgrid .ui-jqgrid-pager .ui-pg-button.ui-corner-all:hover {
    background-color: #fff !important;
    border: 0 !important;
    background: none !important;
    color: #555555 !important;
}
.ui-jqgrid td input, .ui-jqgrid td select .ui-jqgrid td textarea { margin: 0em;}
.ui-jqgrid td textarea {width:auto;height:auto;}
.ui-jqgrid .ui-jqgrid-toppager {
    border-left: 0px none !important;
    border-right: 0px none !important;
    border-top: 0px none !important;
    margin: 0px !important;
    padding: 0px !important;
    /*position: relative;*/
    height: 25px !important;
    white-space: nowrap;
    overflow: hidden;
}
/*subgrid*/
.ui-jqgrid .ui-jqgrid-btable .ui-sgcollapsed span {display: block; margin: 0 !important; padding: 0 !important}
.ui-jqgrid .ui-subgrid {margin:0em;padding:0em; width:100%;}
.ui-jqgrid .ui-subgrid table {/*table-layout: fixed;*/}
.ui-jqgrid .ui-subgrid tr.ui-subtblcell td {height:18px;border-right-width: 1px; border-right-color: inherit; border-right-style: solid;border-bottom-width: 1px; border-bottom-color: inherit; border-bottom-style: solid;}
.ui-jqgrid .ui-subgrid td.subgrid-data {border-top:  0px none !important;}
.ui-jqgrid .ui-subgrid td.subgrid-cell {border-width: 0px 0px 1px 0px;}
.ui-jqgrid .ui-th-subgrid {height:20px;}
/* loading */
.ui-jqgrid .loading {
    position: absolute;
    top: 45%;
    left: 45%;
    width: auto;
    z-index:101;
    padding: 6px;
    margin: 5px;
    text-align: center;
    font-weight: bold;
    display: none;
    border-width: 2px !important;
}
.ui-jqgrid .jqgrid-overlay {display:none;z-index:100;}
* html .jqgrid-overlay {width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
* .jqgrid-overlay iframe {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
/* end loading div */
/* toolbar */
.ui-jqgrid .ui-userdata {border-left: 0px none;	border-right: 0px none;	height : 21px;overflow: hidden;	}
/*Modal Window */
.ui-jqdialog { display: none; width: 300px; position: absolute; padding: .2em; font-size:11px; overflow:visible;}
.ui-jqdialog .ui-jqdialog-titlebar { padding: .3em .2em; /*position: relative;*/  }
.ui-jqdialog .ui-jqdialog-title { margin: .1em 0 .2em; } 
.ui-jqdialog .ui-jqdialog-titlebar-close { position: absolute;  top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }

.ui-jqdialog .ui-jqdialog-titlebar-close span { display: block; margin: 1px; }
.ui-jqdialog .ui-jqdialog-titlebar-close:hover, .ui-jqdialog .ui-jqdialog-titlebar-close:focus { padding: 0; }
.ui-jqdialog-content, .ui-jqdialog .ui-jqdialog-content { border: 0; padding: .3em .2em; background: none; height:auto;}
.ui-jqdialog .ui-jqconfirm {padding: .4em 1em; border-width:3px;position:absolute;bottom:10px;right:10px;overflow:visible;display:none;height:80px;width:220px;text-align:center;}
/* end Modal window*/
/* Form edit */
.ui-jqdialog-content .FormGrid {margin: 0px;}
.ui-jqdialog-content .EditTable { width: 100%; margin-bottom:0em;}
.ui-jqdialog-content .DelTable { width: 100%; margin-bottom:0em;}
.EditTable td input, .EditTable td select, .EditTable td textarea {margin: 0em;}
.EditTable td textarea { width:auto; height:auto;}
.ui-jqdialog-content td.EditButton {text-align: right;border-top: 0px none;border-left: 0px none;border-right: 0px none; padding-bottom:5px; padding-top:5px;}
.ui-jqdialog-content td.navButton {text-align: center; border-left: 0px none;border-top: 0px none;border-right: 0px none; padding-bottom:5px; padding-top:5px;}
.ui-jqdialog-content input.FormElement {padding:.3em}
.ui-jqdialog-content .data-line {padding-top:.1em;border: 0px none;}

.ui-jqdialog-content .CaptionTD {text-align: left; vertical-align: middle;border: 0px none; padding: 2px;white-space: nowrap;}
.ui-jqdialog-content .DataTD {padding: 2px; border: 0px none; vertical-align: top;}
.ui-jqdialog-content .form-view-data {white-space:pre}
.fm-button { display: inline-block; margin:0 4px 0 0; padding: .4em .5em; text-decoration:none !important; cursor:pointer; /*position: relative;*/ text-align: center; zoom: 1; }
.fm-button-icon-left { padding-left: 1.9em; }
.fm-button-icon-right { padding-right: 1.9em; }
.fm-button-icon-left .ui-icon { right: auto; left: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px; }
.fm-button-icon-right .ui-icon { left: auto; right: .2em; margin-left: 0; position: absolute; top: 50%; margin-top: -8px;}
#nData, #pData { float: left; margin:3px;padding: 0; width: 15px; }
/* End Eorm edit */
/*.ui-jqgrid .edit-cell {}*/
.ui-jqgrid .selected-row, div.ui-jqgrid .selected-row td {font-style : normal;border-left: 0px none;}
/* Tree Grid */
.ui-jqgrid .tree-wrap {float: left; position: relative;height: 18px;white-space: nowrap;overflow: hidden;}
.ui-jqgrid .tree-minus {position: absolute; height: 18px; width: 18px; overflow: hidden;}
.ui-jqgrid .tree-plus {position: absolute;	height: 18px; width: 18px;	overflow: hidden;}
.ui-jqgrid .tree-leaf {position: absolute;	height: 18px; width: 18px;overflow: hidden;}
.ui-jqgrid .treeclick {cursor: pointer;}
/* moda dialog */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;width: expression(this.parentNode.offsetWidth+'px');height: expression(this.parentNode.offsetHeight+'px');}
.ui-jqgrid-dnd tr td {border-right-width: 1px; border-right-color: inherit; border-right-style: solid; height:20px}
/* RTL Support */
.ui-jqgrid .ui-jqgrid-title-rtl {float:right;margin: .1em 0 .2em; }
.ui-jqgrid .ui-jqgrid-hbox-rtl {float: right; padding-left: 20px;}
.ui-jqgrid .ui-jqgrid-resize-ltr {float: right;margin: -2px 0 -2px 0px;}
.ui-jqgrid .ui-jqgrid-resize-rtl {float: left;margin: -2px -5px -1px -3px;}
.ui-jqgrid .ui-sort-rtl {left:0px;}
.ui-jqgrid .tree-wrap-ltr {float: left;}
.ui-jqgrid .tree-wrap-rtl {float: right;}
.ui-jqgrid .ui-ellipsis { text-overflow:ellipsis; -moz-binding:url('ellipsis-xbl.xml#ellipsis');}

.userOwnWorktime-background td {
    background: none !important;
    background-color: #eee !important;
}
.userOwnWorktime-background td:hover {
    background: none !important;
    background-color: #eee !important;
}


html #tabs .ui-jqgrid .ui-pg-table input[type=text] {
    width: 20px !important;
    padding: 2px 4px !important;
    height: auto !important;
    line-height: normal !important;
    margin: 5px 5px 0 0 !important;
    float: none !important;
    
}

html #tabs .ui-jqgrid tr[tabindex="-1"] td {
    
}

.ui-jqgrid-ftable td{
    border: 0 !important;
    font-size: 15px !important;
    padding: 5px 0 !important;
}
.jqfoot td {
    border: 0 !important;
    border-bottom: 1px solid #D9E2E7 !important;
    font-size: 15px !important;
    padding: 5px 0 !important;
}



.normalwrap .ui-th-column,
.normalwrap .ui-jqgrid .ui-jqgrid-htable th.ui-th-column { white-space: normal !important; vertical-align: middle !important; position: relative }

.normalwrap .ui-th-column div,
.normalwrap .ui-jqgrid .ui-jqgrid-htable th.ui-th-column div { line-height: normal !important; text-align: center !important; vertical-align: middle !important; display: table-cell !important }

.normalwrap .ui-th-column div span span.ui-icon-asc,
.normalwrap .ui-jqgrid .ui-jqgrid-htable th.ui-th-column div span span.ui-icon-asc {
    margin-top: -10px;
    right: 0;
}
.normalwrap .ui-th-column div span span.ui-icon-desc,
.normalwrap .ui-jqgrid .ui-jqgrid-htable th.ui-th-column div span span.ui-icon-desc {
    margin-top: -5px;
    right: 1px;
}
