div.myTableGrid {
    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 11px;
}

/********************************
 * Title definition
 ********************************/
div.mtgHeaderTitle {
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    background-color: #eee;
    font-weight: bold;
    color: black;
}

/********************************
 * Toolbar definition
 ********************************/
div.mtgToolbar {
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    background-color: #eee;
}

span.addbutton {
    background: url('../../images/mtg/add.png') left center no-repeat;
}

span.delbutton {
    background: url('../../images/mtg/close.png') left center no-repeat;
}

span.savebutton {
    background: url('../../images/mtg/save.png') left center no-repeat;
}

a.toolbarbtn {
    float: left;
    color: black;
    text-decoration: none;
    padding: 2px;
    border: 1px solid transparent;
}
a.toolbarbtn span {
    padding: 3px 3px 3px 20px;
}

a.toolbarbtn:hover {
    background-color: #eef;
    border: 1px solid #ccc;
}

div.toolbarsep  {
    float: left;
    width: 0;
    height: 100%;
    border-left: 1px solid #ccc;
    border-right: 1px solid white;
    margin: 0 5px;
}

/********************************
 * Header definition
 ********************************/
div.mtgHeaderRow  {
    background: #ccc url('../../images/mtg/hrow.gif') repeat-x;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    cursor: default;
}

table.mtgHeaderRowTable {
    padding: 0;
    color: black;
    text-align: left;
}

table.mtgHeaderRowTable tr {
    /*background: #ccc url('../../images/mtg/hrow.gif') repeat-x;*/
}

th.mtgHeaderCell {
    border: 1px solid #fff;
    border-right-color: #ddd;
    border-bottom-color: #ddd;
}

th div.mtgInnerHeaderCell {
    position: relative;
    white-space: nowrap;
    font-size: 11px;
    height: 18px;
}

div.mtgHS {
    cursor: w-resize;
    cursor: col-resize !important;
    overflow: hidden;
    background-color: #ddd;
}

div.mtgHeaderButton {
    position: absolute;
    background: url('../../images/mtg/ddn.png') center no-repeat;
    border-left: solid #eee 1px;
    visibility: hidden;
    z-index: 50;
}

/********************************
 * Body definition
 ********************************/

div.mtgBody {
    border: solid 1px #ccc;
    border-top: solid 1px #eee;
}

table.mtgBodyTable {
    table-layout: fixed;
    position: relative;
    z-index: 0;
}

table.mtgBodyTable td  {
    border-bottom: solid 1px #ddd;
    padding: 0;
}

td.mtgCell {
    border-left: 1px solid white;
    /*border-left: 1px solid transparent;*/
    border-right: 1px solid #ddd;
}

td div.mtgInnerCell {
    position: relative;
    white-space: nowrap;
    font-size: 11px;
}

tr.hightlight {
    background-color: #eef;
}

tr.focus {
    background-color: #e6d7f5;
}

td.focus {
    /*border-left: solid 1px #90c;*/
}

td.focus div.mtgInnerCell {
    background-color: #90c;
    color: white;
}

td div.more {
   background: url('../../images/mtg/more.gif') no-repeat right bottom;
}

div.mtgResizeMarker {
    cursor: col-resize !important;
    cursor: w-resize;
    position: absolute;
    width: 2px;
    background-color: transparent;
    z-index : 300;
}

div.dragColumn {
    position: absolute;
    background: url('../../images/mtg/hrow.gif') repeat-x;
    padding: 3px;
    z-index: 0;
    border: solid 1px #ccc;
    visibility: hidden;
    font-size: 11px;
    font-weight: bold;
}

div.drop-no {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: url('../../images/mtg/no.gif') no-repeat center;
}

div.drop-yes {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: url('../../images/mtg/yes.gif') no-repeat center;
}

/***********************************************
 * Cell Input Definition
 ***********************************************/
input.mtgInputCheckbox {
    height: 12px;
}

input.mtgInputRadio {
    height: 12px;
}

input.mtgInputText {
    margin: 2px;
    border: none;
    font-size: 11px;
    background-color: white;
    outline: none;
    padding: 2px 3px;
    height: 16px;
}

div.mtgComboBoxBtn {
    position: absolute;
    top: 2px;
    right: 0;
    background: url('../../images/mtg/cbb.png') no-repeat;
    border: 0;
    border-left: 2px solid  #609;
    width: 16px;
    height: 20px;
    padding: 0;
    margin: 0;
}

/***********************************************
 * Calendar Definition
 ***********************************************/
div.mtgCalendarBtn {
    position: absolute;
    top: 2px;
    right: 0;
    background: url('../../images/mtg/calb.png') no-repeat;
    border: 0;
    border-left: 2px solid  #609;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
}

div.mtgBrowseBtn {
    position: absolute;
    top: 2px;
    right: 0;
    background: url('../../images/mtg/magb.png') no-repeat;
    border: 0;
    border-left: 2px solid  #609;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
}

div.mtgMenu {
    position: absolute;
    width: 200px;
    overflow: auto;
    background: #ddd url('../../images/mtg/menu.gif') repeat-y;
    z-index: 100;
    visibility : hidden;
    border: 1px solid #609;
}

div.mtgMenu ul {
    margin: 3px;
    padding: 0;
}

div.mtgMenu ul li {
    position: relative;
    list-style-type: none;
    padding: 0;
}

a.mtgMenuItem {
    position: relative;
    display: block;
    color: black;
    text-decoration: none;
    cursor: default;
    font-weight: bold;
    line-height: 20px;

}

a.mtgMenuItem:hover {
    background-color: #609;
    text-decoration: none;
    color: white;
}

.mtgMenuItemIcon {
    position: absolute;
    top:0;
    left:0;
    margin: 2px;
    padding: 0;
}

.mtgMenuItemChk {
    margin: 0;
    padding: 0;
}

div.mtgSettingButton {
    position: absolute;
    top: 3px;
    /*right: 3px;*/
    width: 16px;
    height: 16px;
    background: url('../../images/mtg/settings.gif') center no-repeat;
    z-index: 100;
    padding: 1px;
}

img.mtgSortAscendingIcon {

}

img.mtgSortDescendingIcon {

}

/***********************************************
 * Autocompleter Definition
 ***********************************************/
div.autocomplete {
    position: absolute;

    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: black;

    width: 250px;
    background-color: white;
    border: 1px solid #ccc;
    margin: 0;
    padding: 0;
}
div.autocomplete ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.autocomplete ul li {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 3px;
    height: 18px;
    cursor: pointer;
    vertical-align: middle;
}

div.autocomplete ul li.selected {
    background-color: #e6d7f5;
}

/***********************************************
 * Pager Definition
 ***********************************************/
div.mtgPager {
    background-color: #eee;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    cursor: default;
    padding: 2px;
}

input.mtgPageInput {
    font-size: 11px;
    width: 25px;
    margin: 0;
}

span.mtgPagerMsg {
    float: left;
    padding: 2px;
}

table.mtgPagerTable {
    float: right;
    font-size: 11px;
    margin: 0;
}

table.mtgPagerTable td {
    padding-left: 2px;
    padding-right: 2px;
}

a.mtgPagerCtrl {
    cursor: pointer;
}

img.mtgFirstPage {
    background: url(../../images/mtg/first.gif) no-repeat center;
}

img.mtgPrevPage {
    background: url(../../images/mtg/prev.gif) no-repeat center;
}

img.mtgNextPage {
    background: url(../../images/mtg/next.gif) no-repeat center;
}

img.mtgLastPage {
    background: url(../../images/mtg/last.gif) no-repeat center;
}

img.mtgSep {
    background: url(../../images/mtg/y-sep.png) no-repeat center;
}

/*
.dropshadow {
    background: url(../../images/mtg/shadowAlpha.png) no-repeat bottom right !important;
    background: url(../../images/mtg/shadow.gif) no-repeat bottom right;
    margin: 10px 0 10px 10px !important;
    margin: 10px 0 10px 5px;
}

.dropshadow div {
    position:relative;
    bottom:6px;
    right: 6px;
    border: 1px solid dimgray;
    padding:4px;
    font-size:14px;
    margin: 0px;
    background-color:white;
}
*/