/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Table head */
.wp-block-table-cert thead {
	background-color: #dadada;
	color: #000;
    margin-top: 50px;
}
.wp-block-table-cert thead tr {
    box-shadow: none;
}
/* Table Body */
.wp-block-table-cert tbody {
	background-color: #ccc;
	color: #000;
}
/* Table Rows - All rows */
.wp-block-table-cert tbody tr {
	background-color: rgb(241, 241, 241);
    box-shadow: none;
}
/* Table Rows - alternating row */
.wp-block-table-cert tbody tr:nth-child(odd) {
	background-color: #fff;
}

/* Table body cells */
.wp-block-table-cert tbody td {
	border: 1px solid #000;
}

.shop_table.shop_table_responsive{
  width: 100%;
  border-collapse: collapse;
}

.shop_table.shop_table_responsive th,
.shop_table.shop_table_responsive td{
  padding: 10px 12px;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.shop_table.shop_table_responsive td:last-child{
  white-space: nowrap;
}

.shop_table.shop_table_responsive td:last-child a{
  display: inline-block;
  margin-right: 8px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
}

.shop_table.shop_table_responsive td:last-child a:last-child{
  margin-right: 0;
}

@media (max-width: 768px){
  .shop_table.shop_table_responsive thead{
    display: none;
  }

  .shop_table.shop_table_responsive,
  .shop_table.shop_table_responsive tbody,
  .shop_table.shop_table_responsive tr,
  .shop_table.shop_table_responsive td{
    display: block;
    width: 100%;
  }

  .shop_table.shop_table_responsive tr{
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 8px 0;
    margin: 12px 0;
    background: #fff;
    overflow: hidden;
  }

  .shop_table.shop_table_responsive td{
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 12px;
  }

  .shop_table.shop_table_responsive td:last-child{
    border-bottom: none;
  }

  .shop_table.shop_table_responsive td[data-label]{
    display: flex;
    gap: 10px;
  }

  .shop_table.shop_table_responsive td[data-label]::before{
    content: attr(data-label);
    flex: 0 0 40%;
    font-weight: 600;
    opacity: .75;
  }

  .shop_table.shop_table_responsive td:last-child{
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .shop_table.shop_table_responsive td:last-child a{
    margin-right: 0;
  }
}

