

.carbon_data_table {
  width: 100%;
  margin: 4rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  /*background: radial-gradient(farthest-side at 0% 50%, rgba(0,0,0,.1), rgba(0,0,0,0)), radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.1), rgba(0,0,0,0)) 100% 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 10px 100%;*/
}

.carbon_data_table table {
  empty-cells: show;
  width: 100%;
  background: linear-gradient(to right, #fafbfc 30%, rgba(250,251,252,0)), linear-gradient(to left, #fafbfc 30%, rgba(250,250,250,0)) 100% 0;
  background-size: 30px 100%;
  background-repeat: no-repeat;
  max-width: 100%;
  margin-bottom: 0;
  border-top: 1px solid #ccc;
}

.carbon_data_table table thead {
  display: none;
}

.carbon_data_table table thead td.alphabet {
  background: none;
}

.carbon_data_table table tbody tr {
  display: block;
  border-bottom: 1px solid #ccc;
  padding: 1em 0;
}

.carbon_data_table table tbody td {
  display: block;
  font-size: 0.875em;
  padding: 0.65em 15px;
  font-size: 1.8rem;
}

.carbon_data_table table tbody td.alphabet {
  display: none;
}

.carbon_data_table table tbody td .carbon-data-table-label {
  display: inline-block;
  width: 33%;
  vertical-align: top;
}

.carbon_data_table table tbody td .carbon-data-table-value {
  display: inline-block;
  width: 67%;
  vertical-align: top;
  font-size: 1.6rem;
}

.carbon_data_table table thead th {
  text-align: left;
  vertical-align: middle;
  font-size: 1.6rem;
}

.carbon_data_table table thead th button {
  min-width: 100%;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  text-transform: inherit;
  position: relative;
  outline: none;
}

.carbon_data_table table thead th button:hover {
  box-shadow: none;
}

.carbon_data_table tr.alphabet td {
  display:none;
}

.carbon_data_table tr.alphabet {
  padding: 0.65em 0;
  background: #f4f5f7;
  border-top: 1px solid #ccc;
}

.carbon_data_table td.alphabet,
.carbon_data_table tr.alphabet td:first-child {
  display: block;
  text-align: center;
  color: #4d4d4d;
  font-family: ShermanSerif, Georgia, serif;
  font-size: 3rem;
  padding: 0;
}

#carbon_data_table_form input.search {
  box-sizing: border-box !important;
  width: 100%;
  margin-top: 1em;
  padding: 0.65em 0.5em 0.95em 3em;
  color: #444;
  font-size: 1.8rem;
  line-height: 1.9;
  background: #fff url(../img/search.svg) 20px 45% no-repeat;
  background-size: 16px 16px;
  border: none;
  border-radius: 0;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  outline: none;
  -webkit-appearance: none;
}

.carbon_data_table_filter_dropdown {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0.8rem 4.5rem 1.2rem 15px;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #4d4d4d;
  border: 0;
  width: 100%;
  margin: 1em 0 0 0;
  border: 1px solid #ccc;
  border-radius: 0;
  cursor: pointer;
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #ffffff;
  background-image: url( '../img/triangle-down.svg' );
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 8px 5px;
}


@media screen and (min-width: 45em) {

  #carbon_data_table_form input.search {
    font-size: 1.9rem;
    background-size: 17px 17px;
  }

  .carbon_data_table table thead {
    display: table-header-group;
  }

  .carbon_data_table table tbody td {
    font-size: 1.9rem;
  }

  .carbon_data_table table tbody td .carbon-data-table-label {
    display: none;
    font-size: 1.7rem;
  }

  .carbon_data_table table thead th {
    text-align: left;
    vertical-align: middle;
    font-size: 1.7rem;
  }

  .carbon_data_table tr {
    display: table-row !important;
  }

  .carbon_data_table th,
  .carbon_data_table td {
    display: table-cell !important;
    padding: 15px 30px !important;
    border-bottom: 1px solid #ccc;
  }

  .carbon_data_table table thead th,
  .carbon_data_table table tbody td .carbon-data-table-value {
    font-size: 1.6rem;
  }

  .carbon_data_table table tbody td .carbon-data-table-value {
    width: auto;
  }

  .carbon_data_table tr.alphabet td {
    padding: 0.2em 0.6em !important;
    text-align: center;
    border-top: 2px solid #ccc;
    border-bottom: 1px solid #ccc;
    color: #4d4d4d;
    font-family: ShermanSerif, Georgia, serif;
    background: #f4f5f7;
  }

  .carbon_data_table td.alphabet, .carbon_data_table tr.alphabet td:first-child {
    border-right: 1px solid #ccc;
    font-size: 3.4rem;
  }

}

@media screen and (min-width: 73em) {

  #carbon_data_table_form input.search {
    font-size: 2rem;
    background-size: 18px 18px;
  }

  .carbon_data_table table tbody td {
    font-size: 2rem;
  }

  .carbon_data_table tr.alphabet td {
    padding: 0.2em 0.4em !important;
  }

  .carbon_data_table td.alphabet, .carbon_data_table tr.alphabet td:first-child {
    font-size: 4.1rem;
  }

  .carbon_data_table table thead th,
  .carbon_data_table table tbody td .carbon-data-table-value {
    font-size: 1.8rem;
  }

}
