table {    
  font-family:inherit;
  font-size: 0.857em;/*after upgrade*/
  border: 1px solid black /*after upgrade*/
}

/*after upgrade*/
.views-table{
  margin-block-start: unset;/*after upgrade*/
  margin-block-end: unset;/*after upgrade*/
  border: 1px solid black /*after upgrade*/
}

tr, td {
  background:none;
}
tr td {
  border-color:rgb(37, 54, 59);
}
/*after upgrade*/
tr td, tr th {
    padding: 4px 9px;
    text-align: left;
    /* border: 1px solid #fff; */
}
/*after upgrade*/
:is(.forum table, .text-content table, .views-table, .draggable-table) td, :is(.forum table, .text-content table, .views-table, .draggable-table) th {
    padding-block: var(--sp1);
    padding-inline-start: 0;
    padding-inline-end: var(--sp1);
    vertical-align: middle;
    padding: 4px 9px;
    text-align: left;
}
/*after upgrade*/
:is(.forum table, .text-content table, .views-table, .draggable-table) th {
  color: #287993;
}

/* ************************************ */
/* MENU TABLES */
.menu_wrapper {
  max-width:1000px;
  margin-left:auto;
  margin-right:auto;
}
.menu_wrapper, 
.menu_wrapper tr,
.menu_wrapper tr td, 
.menu_wrapper tr th {
  background:transparent;
  border:none;
  padding:0px;
}
.menutable {
  text-align:center;
  max-width:1200px;
  padding:0px;
  /* margin-top:30px; */
  margin-left:auto;
  margin-right:auto;
  border:none;
}
.menutable, 
.menutable tr {
  background:transparent;
  border:none;
}
.menutable tr td, 
.menutable tr th {
  /* padding-top:0px; */
  padding:6px 2px;
  /* border-collapse:separate; */
  /* border-spacing:18px; */
  border:none;
}
.menutable tr td {
  text-align:center;
  background:#fff;
  opacity:0.8;
}
.menutable tr td.spacer {
  background:transparent;
  width: 12px;
}
.menutable figure {
  margin:0px;
}
.menutable td a {
  border-bottom:none;
}
.menutable td a img {
  /* filter: none; */
}
.menutable td a:hover img {
  filter: drop-shadow(6px 6px 10px #aaa);
}
.menutable p {
  margin: 0.5em 0;
}
.menutable#category_menu_2 {
  /* background-color:#0ff;  */
  /* DEBUG */
  display:none;
}
.menutable#product_menu tr td {
  background:transparent;
 }
.menutable#product_menu tr td img {
  max-height:64px;
 }
.menutable#product_menu .spacer {
  width:6px;
}



/* some cheating to simulate a conditional product menu - ONLY WORKS FOR FIRST CATEGORY */
/* .page-node-type-category-page .menutable td:not(#cat1) a img, */
/*
.page-node-type-category-page .menutable#category_menu td:not(#cat1) img {
  opacity:0.3;
  filter: grayscale(0.5);
}
.page-node-type-category-page .menutable#category_menu td:not(#cat1) a:hover img {
  opacity:1.0;
  filter: grayscale(0);
}
*/


/*after upgrade*/
.text-content table{
    font-family: unset;
    font-size: unset;
    line-height: unset;
    margin-block-start: var(--sp1);
    margin-block-end: var(--sp1);
    border: 1px solid black;
    width: 97%;

}
