.gcontainer.boss-footer:not(.objectWrapper) {
  padding-top: 10px;
  background-color: white;
  width: 100%;
  position: fixed !important;
  bottom: 10px;
}

.gcontainer.boss-footer.inside-popup:not(.objectWrapper) {
  padding-top: 9px;
  background-color: rgb(238, 238, 238);
  width: calc(100% - 45px);
  position: absolute !important;
  bottom: 10px;
}

.gexternallookup {
    height: auto;
}

.lookup_results {
    margin-top: 5px !important;
    width: auto;
}

.lookup_working, .gexternallookup .magnifier {
    margin-top: 7px !important;
}




body.inner-form-always .ggrid {
  overflow: auto;
}

/* Grid styling */
.ggrid table {
    border-collapse: separate;
    border: 0 !important;
}

.ggrid table td {
    outline: 0;
}

.ggrid tbody {
    background-color: transparent;
}

/* .ggrid table thead tr:first-child td:first-of-type { */
/*     border-top-left-radius: 7px; */
/* } */

/* .ggrid table thead tr:first-child td:last-of-type { */
/*     border-top-right-radius: 7px; */
/* } */

/* .ggrid table tbody tr:last-child td:first-of-type { */
/*     border-bottom-left-radius: 7px; */
/* } */

/* .ggrid table tbody tr:last-child td:last-of-type { */
/*     border-bottom-right-radius: 7px; */
/* } */

.ggrid table tbody tr:last-child td {
    border-bottom: 1px solid #D4D4D4 !important;
}

.ggrid table tr td:first-child {
    border-left: 1px solid #D4D4D4 !important;
}

.ggrid table tr td:last-child {
    border-right: 1px solid #D4D4D4;
}

.ggrid table tr:first-child td {
	border-top: 1px solid #D4D4D4;
}
.ggrid table.e_clear tbody tr td {
    border: none !important;
}

.ggrid table.e_clear {
	  border: none !important;
}

.ggrid td {
    padding: 5px !important;
    background-color: white;
    border-collapse: collapse;
    border-left: 0 !important;
    border-bottom: 0 !important;
}



.ggrid thead span {
    font-size: 12px;
    font-family: Roboto Medium;
	color: black;
}

.ggrid table td, .ggrid table td li {
	font-size: 13px;
	font-weight: normal;
	color: #575757;
}
.ggrid thead td {
	border: 1px solid #D4D4D4;
}
.ggrid thead td, .ggrid thead {
    background-color: #eee !important;
}

.ggrid tbody .gridActiveRow {
  background-color: #F1FCFF;
}

.ggrid tbody td li {
	margin-left: 15px;
}

.ggrid .gridPager .gridDirectPageSelector {
	margin-left: 0;
	padding: 8px;
}

.ggrid .gridPager .gridRightPager .gridFullDataSet input, .ggrid .gridPager .gridDirectPageSelector input {
    margin-top: 0;
}

.ggrid .gridPager .gridRightPager .gridFullDataSet .mvrLink a, .ggrid .gridPager .gridDirectPageSelector .dpsLink a {
    background-image: url("icons/refresh-icon.png");
    width: 16px;
    height: 16px;
    padding: 0;
    text-decoration: none;
    display: block;
    padding: 6px 5px;
    background-position: center center;
    margin-left: 4px;
    border-radius: 4px;
}

.ggrid .gridPager .gridRightPager .gridViewAllRows a, .ggrid .gridPager .gridPageSelection a {
	display: inline-block;
	padding: 6px 7px;
	height: 16px;
	text-align: center;
	border-radius: 4px;
	vertical-align: middle;
	line-height: 16px;
    background-color: white;
}
.ggrid .gridPager .gridPageSelection a {
	margin: 0;
	margin-right: 3px;
}

.ggrid .gridPager .gridPageSelection a,
.ggrid .gridPager .gridDirectPageSelector .dpsLink a,
.ggrid .gridPager .gridRightPager .gridRowsPerPage a.rowsPerPageLink,
.ggrid .gridPager .gridRightPager .gridFullDataSet .mvrLink a,
.ggrid .gridPager .gridRightPager .gridViewAllRows a {
    border: 1px solid #C6C6C6 !important;
    background-color: white;
    box-shadow: inset 0 -2px 0 #F0F0F0;
    color: #9B9B9B;
}
.ggrid .gridPager .gridPageSelection a:hover,
.ggrid .gridPager .gridDirectPageSelector .dpsLink a:hover,
.ggrid .gridPager .gridRightPager .gridRowsPerPage a.rowsPerPageLink:hover,
.ggrid .gridPager .gridRightPager .gridFullDataSet .mvrLink a:hover,
.ggrid .gridPager .gridRightPager .gridViewAllRows a:hover {
	box-shadow: inset 0 -2px 0 #F0F0F0, 0 0 2px rgba(0,0,0,0.2);
}

.ggrid .gridPager .gridRightPager .gridFullDataSet input, .ggrid .gridPager .gridDirectPageSelector input {
	padding: 6px;
	height: 16px;
	margin-left: 2px;
	background: #ECECEC;
	border: 1px solid #C7C7C7;
	border-radius: 4px;
	color: #9E9E9E;
	text-align: center;
	box-sizing: content-box;
}

.ggrid .gridPager .gridRightPager .gridRowsPerPage a.rowsPerPageLink {
    background-image: url("icons/caret-down.png");
    width: 16px;
    height: 16px;
    padding: 0;
    text-decoration: none;
    display: block;
    padding: 6px;
    background-position: center center;
    margin-left: 5px;
    border-radius: 4px;
}

.ggrid .gridPager .gridVisibleRows {
	height: 30px;
	line-height: 30px;
	padding: 8px;
}

div.popmenu a.item {
    color: black;
    font-size: 0.8em;
}

div.popmenu a.item:hover {
    color: black;
    background-color: rgb(236, 233, 216);
}

div.popmenu .ico_refresh {
    background-image: url("icons/refresh-icon.png");
}

.ggrid div.popmenu1 {
    border-collapse: separate; /* Box shadow not showing in IE*/
    margin-left: 19px;
}

.ggrid div.popmenu1 div.arrowDiv {
	right: 7px;
}

.ggrid .gridPager .gridPageSelection .firstPageLink {
    background-image: url("icons/caret-left.png");
    background-color: white;
    width: 16px;
    height: 16px;
    padding: 0;
    text-decoration: none;
    display: inline-block;
    padding: 6px;
    background-position: center center;
    margin-left: 5px;
    border-radius: 4px;
}

.ggrid .gridPager .gridPageSelection .currentPage {
    color: #0066B7;
	border: 1px solid #0066B7 !important;
	background-color: white;
}

.ggrid tbody td {
	border: 1px solid #ECECEC;
	border-left: none;
	line-height: 14px;
}


.gflexbordercontainer .ggrid {
  overflow: auto;
}

.ggrid a.colMasterLink, .ggrid a.colMasterLink *, .ggrid a.popupLink, .ggrid a.popupLink *,
.ggrid a.colMasterLink:visited, .ggrid a.colMasterLink:visited * {
	line-height: 16px;
	font-size: 13px;
	font-family: "Roboto Medium";
	font-weight: normal;
	color: #0066B7;
}

.ggrid .gridPager .gridPageSelection {
	padding: 8px;
	margin-left: 0;
	font-weight: normal;
}

.ggrid .gridPager {
	padding: 0px !important;
	font-family: Roboto Regular;
	font-weight: normal;
	background-color: #F4F4F4 !important;
}

.ggrid .gridPager .gridDirectPageSelector .dpsLink {
	padding: 0px;
}

.ggrid .gridPager .gridRightPager .gridRowsPerPage {
	padding: 8px;
	padding-right: 0px;
}

.ggrid .gridPager .gridRightPager .gridFullDataSet {
	padding: 8px;
	padding-right: 0px;
	padding-left: 0px;
}

.ggrid .gridPager .gridRightPager .gridFullDataSet .mvrLink {
	padding: 0;
	margin: 0;
}

.ggrid .gridPager .gridRightPager .gridViewAllRows {
	margin: 0;
	padding: 8px;
	padding-left: 18px;
	font-weight: normal;
}

.ggrid .gridFooter td {
	border: 1px solid #D4D4D4;
	background-color: #eee !important;
}