/*************************************************************************
**   Дизайн гридов в стиле turboobit. Применяется поверх основной темы
*************************************************************************/
/*
	Base css
*/
.GridHeader {
	display: none;
}

.Header th {
	font-size: 12px;
	font-weight: bold;
	text-align: left;
	padding: 2px;
	color: #333;
	width: 100%;
	white-space: nowrap;
}

.HeaderButton {
	display: none;
}

.HeaderLeft img{
	width: 7px;
}

.HeaderRight img{
	width: 12px;
}

.GridHeader table {margin:0;}
.GridHeader td, tr {padding:0;}

/* Grid */
.grid .ui-widget {
	font-family:"Arial";
	font-size:12px;
	color: #333333;
}
.grid .ui-widget-content {
	color: #333333;
}

.ui-jqgrid-btable tr.jqgrow {
	background-color: #FFFFFF;
}
.ui-jqgrid .ui-jqgrid-pager .ui-separator {
	display: none;
}
/* highlighting */
.ui-jqgrid-btable tr.jqgrow.ui-state-hover {
	background-color: #FFF1B8;
	background-image: none;
}

.ui-jqgrid-btable tr.jqgrow.ui-state-highlight {
	background-color: #F9DF78;
	background-image: none;
}

.ui-jqgrid-btable tr.jqgrow td  {
	padding: 5px 0px;
	text-align: left;
	border-bottom: 1px solid #e1e1e1;
	border-right: none;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	height : auto;
	line-height: none;
	vertical-align: middle;
}

.grid .ui-th-column {
	font-size: 11px;
	vertical-align: middle;

	border-left: 1px solid #fff;
	border-right: 1px solid #fff;

	text-align: left;
	font-weight: normal;
	overflow: visible;
	white-space: normal;
	background-color: #e1e1e1;
	cursor:	pointer;
	text-align:	center;
}
.grid .ui-widget-header {
	border: none;
}
.grid .userdata td {
	text-align: center;
	font-weight: bold;
}

.grid_bdiv {

	border-right: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;

}
.grid_hdiv{

	border-right: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
	margin: 0px;
	padding: 0px;

}
.grid_htable {
	margin-right: 20px;
}

.jqgrow a, .jqgrow a:hover {
	color:#407F94;
	text-decoration: underline;
}
.ui-jqgrid-btable tr.jqgrow .file-icon {
	margin: 0 auto;
	width: 18px;
	padding-left: 0;
}
.ui-jqgrid td input.cbox {
	margin: 0 auto;
}
/* Частные случаи */
#gview_purse-list .ui-jqgrid-labels .ui-grid-ico-sort,
	#gview_today .ui-jqgrid-labels .ui-grid-ico-sort {
	display: none;
}
#gbox_file-list .ui-jqgrid-htable th div,
	#download_grid  .ui-jqgrid-hbox th div {
	height: auto;
}
.ui-jqgrid-btable tr.old-user {
	background: #C0EAF9;
}
.ui-jqgrid-btable tr.cheater {
	background: #FFD6D6;
}
.ui-jqgrid-btable tr.cheater-2,
	.ui-jqgrid-btable tr.cheater-2 td {
	background: #FFD6D6;
	font-weight: bold;
}

.ui-jqgrid-btable tr.cheater-3,
	.ui-jqgrid-btable tr.cheater-3 td {
	background: #BA4818;
	color: #ffffff;
}

.ui-jqgrid-btable tr.febitda-0,
	.ui-jqgrid-btable tr.febitda-0 td,
	div.febitda-0 {
	background: #667CFF;
	color: #ffffff;
}
.ui-jqgrid-btable tr.febitda-1,
	.ui-jqgrid-btable tr.febitda-1 td,
	div.febitda-1 {
	background: #4CB4FF;
	color: #ffffff;
}
.ui-jqgrid-btable tr.febitda-2,
	.ui-jqgrid-btable tr.febitda-2 td,
	div.febitda-2 {
	background: #FF934C;
	color: #ffffff;
}
.ui-jqgrid-btable tr.febitda-3,
	.ui-jqgrid-btable tr.febitda-3 td,
	div.febitda-3 {
	background: #FF6666;
	color: #ffffff;
}
div.febitda-0, div.febitda-1, div.febitda-2, div.febitda-3 {
	width: 50px;
	height: 10px;
	margin: 5px;
}

.ui-jqgrid-btable tr.febitda-0 a,
.ui-jqgrid-btable tr.febitda-1 a,
.ui-jqgrid-btable tr.febitda-2 a,
.ui-jqgrid-btable tr.febitda-3 a {
	color: #ffffff;
}
/* End Grid */

/* Pager */

.ui-pg-button .ui-pg-div div {
	color:#407F94;
	font-size:12px;
	line-height: 12px;
	margin:0px 15px 0px 10px;
	/*padding:0 10px 0 3px;*/
	text-decoration:underline;
}
.ui-pg-button.ui-state-hover {
	background: none;
	border: none;
}
.ui-jqgrid .ui-pg-table td {
	padding: 0;
}

div.ui-jqgrid-pager.ui-corner-bottom {
	vertical-align: middle;
	height: 23px;
	text-align: right;
	white-space: nowrap;
	background-color: #e1e1e1;
	border-bottom: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
	background-image: none;
	/*display : none;*/
}
.grid .ui-state-default,
.grid .ui-widget-content .ui-state-default,
.grid .ui-widget-header .ui-state-default {
	background-image: none;
}
.ui-jqgrid-view .ui-widget-header {
	background-image: none;
	background-color: #ffffff;
}
.grid .ui-corner-all {
	-moz-border-radius: 0;
}
.grid .ui-widget-content {
	border: none;
}
.grid .ui-corner-bottom {
	-moz-border-radius: 0;
	border-bottom: 1px solid #cccccc !important;
}

.selbox {
	font-size: 12px;
}

.ui-jqgrid {
	font-size: 12px;
}

#sp_2 {
	padding: 0px 10px 0px 5px;
}

input.selbox {
	font-size: 12px;
	vertical-align: top;
	border: 1px solid #E1E1E1;
	background-color: #E1E1E1;
}
.pgbuttons {
	position: relative;
	top: 4px;
}
.nav-table-left {
	padding:1px;
	float: left;
	margin-top:2px;
}
.nav-table-right {
	padding:1px;
	float: right;
	margin-top:2px;
}

table.tbutton tr td {
	border : none;
	vertical-align: middle;
	padding: 0px;
}

table.tbutton tr td div {
	display:inline;
	color: #407F94;
	text-decoration: underline;
	padding: 0px 10px 0px 3px;
	line-height: 10px;
}

img.jsHover { /*not used */
	border: 1px solid #99CCFF;
}
/* End Pager */

/*multiselect checkbox */
#cb_jqg {
	display: inline;
}

#jqgh_cb {
	margin-left: 3px;
	* margin-left: 0px;
}

.cbox {
	/*
	height: 10px;
	width: 10px;
	*/
	display: block;
	margin: 0px auto;
}
/* end multiselect */


/* loading div */
div.loading {
	position: absolute;
	padding: 3px 5px;
	font-weight: bold;
	background: #454545;
	color: white;
	display: none;
}

div.loadingui {
	display:none;
	z-index:6000;
	opacity:0.1;
	-moz-opacity: 0.1;
	filter: alpha(opacity=10);
	background-color:#000;
	position:absolute;
}

/* end loading div */
div.userdata {
	margin-top: 0px;
	background-color : #f7f7f7;
	height : 20px;
}
/* end toolbar */
/*Subgrid  text mode*/
.subgrid {
	height: 100%;
	overflow:  auto;
}
.tablediv {
	background-color: White;
	border-spacing: 1px; /*cellspacing:poor IE support for  this*/
	border-collapse: separate;
	width:100%; /* FF hack poor when scroling subgrid */
}
.celldiv {
	float: left;
	display: table-cell;
	border: 1px dotted #CCCCCC;
	overflow: auto;
	white-space: normal;
}
.celldivth {
	float: left; /*fix for  buggy browsers*/
	border: 1px solid #CCCCCC;
	background-color: #99CCFF;
	border-bottom: 1px solid #CBC7B8;
	text-align: left;
	overflow: auto;
}
.rowdiv  {
	display: table-row;
	background: #F9F9F9 none;
	color: #000000;
	width: 100%;
	overflow:auto;
}
/* End Subgrid */

/* InLine editing */
input.editable[type="text"]  {
	font-size: x-small;
	overflow: hidden;
}
input.editable[type="checkbox"]  {
}

textarea.editable {
	overflow: hidden;
}

select.editable {
	font-size: x-small;
}
/* End Inline Editing */

/*Modal Window */
.modaltext{
	text-align : left;
	font-weight: bold;
}

.modalwin {
	border: 1px solid #7f9db9;
	text-align: left;
	/*
	margin: 0 auto;
	overflow: auto;
	*/
	background-color: #dce3f6;
}


.modalhead {
	background-color: #7f9db9;
	padding: 0px 2px 2px 5px;
}

.modalcontent {
	/* overflow: auto; */
	padding: 0px 5px 12px;
}

/* Частный случай */
#editcntfile-list .navButton,
	#editcntfolder-list .navButton {
	display: none;
}

/* end Modal window*/

/* Search window */
.ui-searchFilter .ui-widget-content,
	.grid .ui-searchFilter .ui-corner-all {
	-moz-border-radius:4px 4px 4px 4px;
}
.grid .ui-searchFilter .ui-widget-header {
	padding: 0.3em 0.2em;
}
.ui-searchFilter {
	border: 1px solid #AAAAAA;
	padding: 0.2em;
	background-color: #FFFFFF;
	-moz-border-radius:4px 4px 4px 4px;
}
.ui-searchFilter .ui-widget-header {
	border: 1px solid #AAAAAA;
}
input.search {
	margin: 2px;
	width: 70px;
	font-size: 10px;
	color: #15428B;
}

select.search {
	margin: 2px;
	width: 70px;
	font-size: 10px;
	color: #15428B;
}
.buttonsearch {
	width : 50px;
	font-size: 10px;
	color: #15428B;
}
/*End search */

/* Form edit */

.FormGrid {
	margin: 0px;
}
.FormGrid .ui-widget-content,
	.EditTable .ui-widget-content {
	border: none;
	text-align: left;
}
.EditTable {
	width: 100%;
}

#FormError td {
	font-size: 90%;
	color: #FF0000;
	vertical-align: top;
	background-color: #f7f7f7;
}

.CaptionTD{ /* td */
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	padding: 2px 5px 2px 0px;
	border-bottom: 1px solid #D4D0C8;
	white-space: nowrap;
	color: #000000;
}
.DataTD { /* td */
	padding: 2px 0px;
	border-bottom: 1px solid #D4D0C8;
	vertical-align: top;
	text-align: right;
}

.navButton{
	padding: 2px 0px;
}

.navButton input{
	width:19px;
}

input.EditButton { /* buttons are at footer tr */
	font-size: 11px;
	color: #407F94;
}
td.EditButton {
	text-align: right;
	padding: 2px 0px;
}

.FormElement { /* form element  - input -text,textarea,checkbox - select  */
	font: normal 12px arial,sans-serif;
}

.EditTable select.FormElement,
	.EditTable input.FormElement,
	.EditTable textarea.FormElement {
	color: #407F94;
	font: normal 12px arial,sans-serif;
}

.EditTable select.FormElement,
	.EditTable input.FormElement,
	.EditTable textarea.FormElement {
	width: 280px;
}

.EditTable input.FormElement[type="checkbox"] {
	width: 15px;
}

#FormCopyFile td {
	text-align: left;
}
#FormCopyFile td.EditButton {
	text-align: right;
}
/* End Eorm edit */

/* Delete Dialog */
.DelTable {
	width: 100%;
}

.DelButton > input { /* buttons are at footer tr */
	font-size: 10px;
	color: #15428B;
}
.DelButton {
	text-align: right;
}
/* End Delete Dialog */

img.jqResize {
	position:absolute;
	bottom: 0px;
	right: 0px;
	cursor :se-resize;
	display: none;
}
.dirty-cell {
	background: transparent url(images/dirty.gif) no-repeat 0 0;
}
#DelError td {
	font-size: 90%;
	color: #FF0000;
	vertical-align: top;
	background-color: #f7f7f7;
}
/* Tree Grid */
.tree-wrap
{
	float: left;
	position: relative;
	height: 18px;
	white-space: nowrap;
	overflow: hidden;
}
.tree-minus
{
	position: absolute;
	height: 18px;
	width: 16px;
	overflow: hidden;
	background: url(images/tree_minus.gif) no-repeat;
}
.tree-plus
{
	position: absolute;
	height: 18px;
	width: 16px;
	overflow: hidden;
	background: url(images/tree_plus.gif) no-repeat;
}
.tree-leaf
{
	position: absolute;
	height: 18px;
	width: 16px;
	overflow: hidden;
	background: url(images/tree_leaf.gif) no-repeat;
}
.treeclick {
	cursor: pointer;
}
.edit-cell {
	background-color: #E1DCF4;
}

/*
Other
*/

#purse-request-list .jqgrow td {
	text-align: center;
}

#file-list .file-icon {
	margin: 0px auto;
}

.link-folder,
.edit-folder,
.delete-folder,
.edit-file,
.link-file,
.edit-row,
.copy-file,
.restore-file,
.copy-app-file {
	cursor: pointer;
}

#box-folder-link {
	color: #f1640c;
}
/*
	UserData
*/

#_empty td {
	font-size: 0px;
	line-height: 0px;
	height: 0px;
	padding: 0px;
}

/* для устранения конфликта шрифтов в пфо */
.grid {
	font-family:"Arial";
	font-size:12px;
}

/* Grid Icons */

.grid .navtable .ui-icon {
	height: 16px;
	width: 16px;
	background-image: url(grid-icons.png);
}
.ui-jqgrid-icon-copy {
	background-position: 0 0;
}
.ui-jqgrid-icon-link {
	background-position: -48px 0;
}

.ui-jqgrid-icon-edit,
	.grid .navtable .ui-icon-pencil {
	background-position: -32px 0;
}

.ui-jqgrid-icon-time {
	background-position: -64px 0;
}

.ui-jqgrid-icon-del,
	.grid .navtable .ui-icon-trash {
	background-position: -16px 0;
}

.ui-jqgrid-icon-folder-link {
	background-position: -16px -16px;
}

.ui-jqgrid-icon-folder-add {
	background-position: 0 -16px;
}

.ui-jqgrid-icon-folder-del {
	background-position: 0 -48px;
}
.ui-jqgrid-icon-search,
	.grid .navtable .ui-icon-search {
	background-position: -32px -16px;
}
.ui-jqgrid-icon-mass-search,
.grid .navtable .ui-icon-search {
	background-image: url("/platform/img/jqgrid/mass_search.png") !important;
}

.ui-jqgrid-icon-refresh,
	.grid .navtable .ui-icon-refresh {
	background-position: -48px -16px;
}

.ui-jqgrid-icon-addrow,
	.grid .navtable .ui-icon-plus {
	background-position: -64px -16px;
}
.ui-state-default .ui-icon.ui-icon-seek-next,
	.ui-state-default .ui-icon.ui-icon-seek-end,
	.ui-state-default .ui-icon.ui-icon-seek-prev,
	.ui-state-default .ui-icon.ui-icon-seek-first {
	background-image: url(grid-icons.png);
}
.ui-state-default .ui-icon.ui-icon-seek-next {
	background-position: -32px -32px;
}
.ui-state-default .ui-icon.ui-icon-seek-end {
	background-position: -48px -32px;
}
.ui-state-default .ui-icon.ui-icon-seek-prev {
	background-position: -16px -32px;
}
.ui-state-default .ui-icon.ui-icon-seek-first {
	background-position: 0 -32px;
}
.ui-jqgrid .ui-state-disabled:hover {
	padding: 0;
}

/* Футер-строка */
.ui-jqgrid tr.footrow-ltr td,
.ui-jqgrid tr.footrow td {
    border: none;
    line-height: 20px;
}
/* Частные случаи */
#folder-pager_left .ui-icon,
	#file-pager_left .ui-icon {
	margin-right:7px;
}
#urlfiles-pager_left {
	width: 420px;
}
.grid .navtable .ui-icon.ui-icon-xls {
	background-image: url(/platform/img/icon/xls.png);
	width: 22px;
	background-position: left bottom;
}

/**
 * Стиль строки имени группы
 */
.ui-jqgrid tr.ui-row-ltr td {
    border-right-style: none;
}
.ui-jqgrid tr.jqgroup td {
    border-bottom-style: none;
}
.ui-jqgrid .tree-wrap-ltr {
    display: none;
}
.ui-jqgrid tr.jqgroup td {
    line-height: 22px;
    padding: 0 15px;
}
/*********************************************************************************
	GRID TOOLBAR
*********************************************************************************/
#folder-grid,
#file-grid{
    position:relative;
}
#toolbar {
    background-color: #fafafa;
    border: 1px solid #e7e7e7;
    border-radius: 3px;
    box-shadow: 1px 1px 0 #dcdcdc;
    display: none;
    left: -45px;
    padding: 0;
    position: absolute;
    top: 40px;
    width: 30px;
}
#toolbar table {
    width: 100%;
}
#toolbar table td {
    text-align: center;
    padding: 2px 0;
}
#toolbar table td:hover{
     background-color: #ececec;
}
.toolbar-btn{
    background-image: url("/fd1/img/jqgrid/grid-icons.png");
    height: 16px;
    width: 16px;
    cursor: pointer;
    display: inline-block;
}

.toolbar-btn.ui-jqgrid-icon-restore{
   background-size:cover;
   background-image: image-url("platform/js/lib/grid/icon/restore.png");
}

.toolbar-btn.ui-icon-search{
     background-position: -32px -16px;
}
