.cpi2018-table table.cpi-table {
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 15px;
}

.cpi2018-table table.cpi-table thead {
  text-align: left;
  text-transform: uppercase;
}

.cpi2018-table table.cpi-table.dataTable.row-border tbody th,
.cpi2018-table table.cpi-table.dataTable.row-border tbody td,
.cpi2018-table table.cpi-table.dataTable.display tbody th,
.cpi2018-table table.cpi-table.dataTable.display tbody td {
  border: 0;
}

.cpi2018-table table.cpi-table.display tbody tr.odd,
.cpi2018-table table.cpi-table.display tbody tr.odd > .sorting_1 {
  background-color: #fff;
}

.cpi2018-table table.cpi-table.display tbody tr.even,
.cpi2018-table table.cpi-table.display tbody tr.even > .sorting_1 {
  background-color: #fafafa;
}

.cpi2018-table table.cpi-table.display tbody td {
  padding: 12px 10px;
}

.cpi2018-table table.cpi-table.no-footer {
  border-bottom: 0;
}

.cpi2018-table table.cpi-table thead th {
  border-bottom: 1px solid #e0e0e0;
}

.cpi2018-table table.cpi-table thead th:nth-child(1n + 4) {
  text-align: right;
}

.cpi2018-table table.cpi-table tbody tr td:nth-child(1n + 4) {
  text-align: right;
}

.cpi2018-table table.cpi-table .sorting_1 {
  font-weight: normal;
  font-family: "Neue Helvetica 75 Bold", sans-serif;
}

.cpi2018-table
  table.cpi-table.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > td:first-child:before,
.cpi2018-table
  table.cpi-table.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > th:first-child:before {
  background-color: #3a86c6;
  box-shadow: none;
}

.cpi2018-table table.cpi-table thead .sorting {
  background-image: url("/assets/images/cpi2018/sort_both.png");
  background-size: 10px;
}

.cpi2018-table table.cpi-table thead .sorting_asc {
  background-image: url("/assets/images/cpi2018/sort_asc.png");
  background-size: 10px;
}

.cpi2018-table table.cpi-table thead .sorting_desc {
  background-image: url("/assets/images/cpi2018/sort_desc.png");
  background-size: 10px;
}

.cpi2018-table .dataTables_wrapper .dataTables_info,
.cpi2018-table .dataTables_wrapper .dataTables_paginate {
  font-size: 14px;
  color: #6e6e6e;
}

.cpi2018-table .dataTables_wrapper .dataTables_paginate .ellipsis {
  padding: 0;
}

.cpi2018-table .dataTables_wrapper .dataTables_paginate .paginate_button,
.cpi2018-table .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.cpi2018-table .dataTables_wrapper .dataTables_paginate .paginate_button:active,
.cpi2018-table
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current,
.cpi2018-table
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:hover,
.cpi2018-table
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:active {
  background-color: transparent;
  background: none;
  border: 0;
  padding: 0;
  color: #6e6e6e !important;
  box-shadow: none;
}

.cpi2018-table
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current,
.cpi2018-table
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:hover,
.cpi2018-table
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:active {
  color: #3a86c6 !important;
  font-weight: normal;
  font-family: "Neue Helvetica 75 Bold", sans-serif;
}

.cpi2018-table .dataTables_wrapper .dataTables_filter input {
  border: 0;
  background: #f2f2f2;
  padding: 12px 15px 12px 30px;
  font-size: 13px;
  width: 250px;
  position: relative;
}

.cpi2018-table .dataTables_wrapper .dataTables_filter {
  margin-bottom: 15px;
  position: relative;
}

.cpi2018-table .dataTables_wrapper .dataTables_filter:before {
  position: absolute;
  content: "";
  background: url("/assets/images/cpi2018/zoom.png");
  background-size: 12px;
  background-repeat: no-repeat;
  z-index: 10;
  width: 12px;
  height: 12px;
  background-size: 12px;
  background-repeat: no-repeat;
  top: 15px;
  left: 18px;
}

@media screen and (max-width: 767px) {
  .cpi2018-table .dataTables_wrapper .dataTables_filter,
  .cpi2018-table .dataTables_wrapper .dataTables_info,
  .cpi2018-table .dataTables_wrapper .dataTables_paginate {
    text-align: left;
    float: none;
  }
}

/* New styles start here */
.cpi2018-table {
  position: relative;
  padding-bottom: 10px;
}

.cpi2018-table textarea {
  opacity: 0;
  position: absolute;
  left: -9999px;
}

.cpi-table__btn {
  padding: 10px 14px 10px 36px;
  border: 0;
  border-radius: 0px;
  cursor: pointer;
  background: #3a86c6;
  background-image: url("/assets/images/cpi2018/code.svg");
  background-repeat: no-repeat;
  background-position: 10px;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  text-transform: none;
  transition: background-color 0.2s ease;
  font-size: 11px;
  font-family: sans-serif;
}

.cpi-table__btn.active {
  background: #cecece;
  background-image: url("/assets/images/cpi2018/check.svg");
  background-repeat: no-repeat;
  background-position: 10px;
}

@media screen and (max-width: 767px) {
  .cpi-table__btn {
    display: none;
  }
}
