﻿.grid-holder {
  width: auto;
  margin: 0 auto 5px auto;
}

.sheet-ui .middle .grid-holder {
  margin-bottom: 0;
}

.sheet-ui .GridHeader {
  border: none;
}

.sheet-ui .grid_hdiv,
.sheet-ui .grid_bdiv {
  border-left: none;
  border-right: none;
}

.ui-handler .grid-nav {
  margin: 0;
  padding: 2px 0 0 0;
  text-align: right;
}

.ui-handler .grid-nav span {
  vertical-align: middle;
  padding: 0 0 14px 0;
}


/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (in jqModal.js). You
	can change this value by either;
	  a) supplying one via CSS
	  b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
	
.jqmWindow {
    display: none;
    
    position: absolute;
/*
    top: 17%;
    left: 50%;
  
 */  
/*    margin-left: -300px;*/
    width: 600px;
/*    
    background-color: #EEE;
    color: #333;
 
    border: 1px solid black;
    padding: 12px;
*/    
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

.grid_bdiv td  {
	cursor: pointer;
}

/*
================================================================================
* Modal Form
================================================================================
*/

.jqmWindow form ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jqmWindow form .property,
.jqmWindow form .cascade {
  display: none;
}

.jqmWindow form .field {
  vertical-align: middle;
  margin: 5px 0 0 0;
}

.jqmWindow form .action {
  text-align: center;
}

/*
================================================================================
* Grid navigation
================================================================================
*/

.grid-nav .nav-button .tbutton td {
  font-size: .8em;
}


/*
================================================================================
* Confirm dialog
================================================================================
*/

.ui-confirm {
  text-align: center;
  vertical-align: middle;
}

.ui-confirm .modalcontent {
  margin: 25px;
}

.ui-confirm .modalcontent button {
  margin: 10px;
}


/*
================================================================================
* Global
================================================================================
*/

.l-show {
  display: block;
}

.l-hide {
  display: none;
}
