.esmkt-grid{
}

.esmkt-grid .grid-canvas{
  color: #4e565b;
  font-size: 16px;
  text-align: center;
  vertical-align: middle;
  width: 100%;
}

.esmkt-grid .grid-canvas .grid-row{
  border-bottom: 1px solid #DDE1E4;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  height: 70px;
}

.esmkt-grid .grid-canvas .loader-container{
  min-height: 230px;
  border-bottom: 1px solid #DDE1E4;
  margin-top: 100px;
}

.esmkt-grid .grid-header{
  background: white;
  color: #293037;
}
.esmkt-grid .grid-header .grid-row{
  height: 65px;
}

.esmkt-grid .grid-header .grid-cell:not(:first-child){
  font-size: 14px;
  font-weight: 400;
  opacity: 0.75;
}

.esmkt-grid .grid-header .grid-cell.sortable:hover{
  cursor: pointer;
}
.esmkt-grid .grid-header .grid-cell.sortable span{
  top: 2px;
  width: 14px;
  height: 14px;
}
.esmkt-grid .grid-header .grid-cell.sortable.active-order{
  opacity: 1;
  font-weight: bold;
}

.esmkt-grid .grid-cell{
  text-overflow: ellipsis;
  overflow: hidden;
}
.esmkt-grid .grid-cell.align-left{
  text-align: left;
}
.esmkt-grid .grid-cell.align-center{
  text-align: center;
}
.esmkt-grid .grid-cell.align-right{
  text-align: right;
}

.esmkt-grid .grid-cell.grid-cell-ellipsis{
  overflow: hidden;
  white-space: nowrap;
}
.esmkt-grid .grid-cell.grid-cell-ellipsis *{
  overflow: hidden;
  text-overflow: ellipsis;
}


.esmkt-grid .grid-cell.item-checkbox{
  width: 54px;
  overflow: visible;
}
.esmkt-grid .grid-cell.item-checkbox .ui-checkbox{
  height:25px;
}

.esmkt-grid .grid-header.fixed{
  padding: 0 !important;
  box-shadow: 0 2px 2px 1px rgba(0,0,0,.1);
  animation-name: hang_from_top;
  animation-duration: 600ms;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-play-state: running;
  animation-fill-mode: forwards;
}
.esmkt-grid .grid-header.fixed + .grid-body{
  margin-top: 65px;
}
.esmkt-grid .grid-header.fixed .grid-row{
  max-width: 1366px;
  margin: 0 auto;
  padding: 10px 4% 0px;
  border-bottom: 0;
}

@keyframes hang_from_top {
  0% {top: -70px;}
  40% {top: -4px;}
  60% {top: -16px;}
  80% {top: -7px;}
  100% {top: -10px;}
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.esmkt-grid .toolbar{
  margin-bottom: 20px;
}
.esmkt-grid .pagination{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-top: 20px;
}
.esmkt-grid .pagination button{
  background-color: #FFF;
  border: 1px solid #DDE1E4;
  border-radius: 4px;
  padding: 8px;
  outline: none;
}
.esmkt-grid .pagination button:disabled{
  opacity: 0.5;
}
.esmkt-grid .pagination button:hover{
  border: 1px solid #BCC4CA;
}
.esmkt-grid .pagination button i{
  font-size: 23px;
  float: right;
  color: #4A4848;
}
.esmkt-grid .pagination button:hover i{
  color: #BABFC3;
}

.esmkt-grid .pagination .page-size-selector{
  position: relative;
}
.esmkt-grid .pagination .page-size-selector button{
  width: 70px;
  padding-right: 1px;
}
.esmkt-grid .pagination .pages .page-count{
  float: left;
  margin-top: 11px;
  margin-right: 20px;
}

/*
Table grid
*/
.grid {
  font-size: 16px;
  width: 100%;
}

.grid th {
  font-size: 14px;
  font-weight: normal;
  text-align: left;
  padding: 15px 0;
  border-top: 1px solid #dde1e4;
  border-bottom: 1px solid #dde1e4;
}

.grid th:last-child {
  text-align: right;
}

.grid td {
  padding: 20px 0;
  border-bottom: 1px solid #dde1e4;
}

.grid .toolbar-multicheck-count {
  position: absolute;
  top: 6px;
  right: 10px;
}

.grid td:last-child {
  text-align: right;
}

.grid thead.fixed {
  padding: 0 4%;
  max-width: 1366px;
  margin: 109px auto 0 auto;
  border-top: 10px white solid;
  box-shadow: none;
  -webkit-animation-name: hang_from_top;
  -webkit-animation-duration: 600ms;
  -webkit-animation-timing-function: ease-out;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: normal;
  -webkit-animation-play-state: running;
  -webkit-animation-fill-mode: forwards;
}

.grid thead.fixed:after {
  content: '';
  background: white;
  position: fixed;
  border-top: 10px solid white;
  margin-top: 109px;
  top: 0px;
  height: 70px;
  box-shadow: 0 2px 2px -1px rgba(0,0,0,.1);
  display: block;
  width: 100vw;
  z-index: -1;
  left: 0;
  -webkit-animation-name: hang_from_top;
  -webkit-animation-duration: 600ms;
  -webkit-animation-timing-function: ease-out;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: normal;
  -webkit-animation-play-state: running;
  -webkit-animation-fill-mode: forwards;
}

.grid thead.fixed tr {
  display: table;
  width: 100%;
  min-width: 760px;
}

.grid thead.fixed + tbody tr:first-child td {
  padding-top: 81px;
}

.grid thead.fixed th {
  border: none;
}

.grid .loader-row {
  border-bottom: none;
  padding: 80px;
}

@-webkit-keyframes hang_from_top {
  0% {
    top: -70px;
  }
  40% {
    top: -4px;
  }
  60% {
    top: -16px;
  }
  80% {
    top: -7px;
  }
  100% {
    top: -10px;
  }
}