﻿.grid { width: 100%; border-collapse:collapse; }

.grid .grid-btn,.btn-table { padding:2px 4px !important; line-height:15px; }
.grid th.imageColumn { text-align: center; }
    .grid td { line-height: 20px; }
    .grid .actionCol { min-width:50px; max-width:135px; }
    .grid .colSpan { width:95px; }
.grid .menuAction .actionLink { display:block;}
.grid .grid-single-action { display:block; overflow:hidden; text-overflow:ellipsis; }
.grid td .requiredBlock { height: 100%; position: relative; text-align: left; }
.grid td .requiredBlock .required { display:none;}
.grid th a { color: #000000; }
.grid th.selected { }
.grid th.lastCol { border-right-width:1px; }
.grid tr.selected { background-color: #FDF5CE; }
.grid tr.normal { background-color: #FFFFFF; }
.selectable tr { cursor: pointer; }

.grid td.numCol,.grid th.numCol { text-align: right; padding-right:5px; }
.grid .clear td { border-style: none; border-width: 0px; padding: 0px 2px 0px 2px; }
.grid .actionLink:hover { text-decoration: underline; }

.grid .pager, .grid .pager td { background-color: transparent; }
.grid .pager td { border: 0px; padding:4px 2px; border: 1px solid #D4DADC; }
.grid .pager span { font-weight: bold; }

.gridPager { position:relative; text-align:center; }
.gridPager, .gridPager td { background-color: transparent; }
.gridLoader { border-left: 1px solid #D4DADC; border-right:1px solid #D4DADC; }

.gridPager .pager-left { position:absolute;left:0; top:3px; }
.gridPager .pager-count { margin-left:5px; }
.gridPager .pager-pageSize { margin-left:50px; }
.gridPager .pager-btn { margin-left:4px; cursor:pointer; }
.gridPager .pager-btn:hover { background-color:#E3F3FF; }
.gridPager .inactive { cursor:auto;color:#888888; }
.gridPager .pager-btn a { text-decoration:none; line-height:20px; white-space: nowrap; }

.relatedList .grid td { font-size: 0.9em; }
.relatedListBody .left { text-align:left; }

.gridStatusCol .validation-summary-errors { background-color:Transparent; border:0; }
.grid-view-wrapper { width: 100%;overflow-x:auto; overflow-y:hidden; padding-bottom:100px; border-bottom:1px solid #dcdcdc; border-left:1px solid #dcdcdc; border-right:1px solid #dcdcdc;border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; }

/** Grid customization */
.grid { border: 1px solid #D4DADC; }
.grid tr { background-color: #FFFFFF; border-bottom:1px solid #D4DADC; }
.grid td, .grid th { border-width:0; }
.grid th { background-image: -ms-linear-gradient(top, #f8f8f8 60%, #e0e0e0 100%); background-image: -moz-linear-gradient(top, #f8f8f8 60%, #e0e0e0 100%); background-image: -o-linear-gradient(top, #f8f8f8 60%, #e0e0e0 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.6, #f8f8f8), color-stop(1, #e0e0e0)); background-image: -webkit-linear-gradient(top, #f8f8f8 60%, #e0e0e0 100%); background-image: linear-gradient(to bottom, #f8f8f8 60%, #e0e0e0 100%);color: #000000; font-size: 11px; font-weight: bold; padding: 5px 2px 4px 5px; text-align: left; }
.grid th.selected { border: 1px solid #ccc; background-color: #ececec; background-image: none; background-repeat: no-repeat; background-attachment: inherit; }

.grid td { color: #000000; padding: 4px 2px 4px 5px; }
.grid a, .grid a:visited { text-decoration:underline; color:#444; }
.grid .actionLink { color: #015BA7; font-weight: normal; text-decoration: none; font-size: 12px;  margin-left: 0; white-space:nowrap; } 
.grid .pager {  }
.grid-empty { line-height: 24px; border: 1px solid #D4DADC; padding-left: 5px; padding-bottom: 8px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; }
.gridPager {  padding:4px 10px; line-height:26px; vertical-align:middle; border: 1px solid #D4DADC; border-top:0; }
.gridPager a { color: #0066CC; }

.grid td { padding-top: 4px; padding-bottom: 4px; }
.gridStatusCol { width: 50px; max-width: 50px; min-width: 50px; display: table-cell; }
td.gridStatusCol { text-align: center; }
.grid-status-col { width: 16px; height: 16px; }
.grid-status-ok { background-image: url(/_assets/images/ok16.png); }
.grid-status-error { background-image: url(/_assets/images/error16.gif); }
/* role prms */
.gridEdit select, .gridEdit select option { font-size: 8pt; }
.gridEdit select { background-color: transparent; border: 0; color: #444; }
    .gridEdit select:disabled { color: #999; }
.gridEdit select:focus { background-color: #C2E3F3; color: #000000; }
.grid .ingrid-doc { padding:0; border:0; }
.grid .ingrid-doc img { vertical-align:bottom; }
.grid .ingrid-doc .file-name { font-size:1em; margin:0; margin-bottom:4px; }
.grid tr.highlight{background-color:#f5f5f5;}