#sir-sizechart-link {
    display: inline-block;
    border: 1px solid #fff5a1;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
    font-weight: bold;
    background-color: #fffde5;
    font-size: 12pt;
}

#sir-sizechart-link img {
    margin-bottom: 0.5em;
    margin-right: 0.5em;
}

#sir-sizechart-box {
  text-align: center;
  display: none;
}

#sir-sizechart-table {
  margin: 10px auto 10px auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#sir-sizechart-table th {
  color: #000;
  background-color: #CCC;
}

#sir-sizechart-table td,#sir-sizechart-table th {
  padding: 9px 10px;
}

#sir-sizechart-table tr td:first-child {
  background-color: #DDD;
  color: #333;
  font-weight: bold;
}

#sir-sizechart-table tr td {
  border-bottom: 1px solid #EEE;
}

#sir-sizechart-box .sizechart-img {
  margin-left: auto;
  margin-right: auto;
}

#sir-sizechart-description {
  margin: 8px;
}

#sir-sizechart-description .stable-box {
  margin-bottom:30px;
}
#sir-sizechart-description .stable-box table {
  width:100%;
  border-collapse: separate;
      border-spacing: 2px;
}
#sir-sizechart-description .stable-box table th {
  font-weight:bold;
  text-align:center;
  color:#FFF;
  background-color:#0a0c41;
}
#sir-sizechart-description .stable-box table th,.stable-box table td {
  height:auto;
}
#sir-sizechart-description .stable-box tbody tr:nth-child(odd) {
  background: #eee
}
#sir-sizechart-description .stable-box tbody tr td:first-child {
  font-weight:bold;
  color:#0a0c41;
}
#sir-sizechart-description .stable-box h2 {
  font-size:24px;
  text-transform:uppercase;
  font-weight:normal;
  color:#0a0c41;
}
#sir-sizechart-description .stable-box h2 span{
  color:#999;
}
#sir-sizechart-description .stable-box table tr.highlight td { font-weight:bold; color:#FFF; background-color:#949494;}
/* copied from 
https://dbushell.com/demos/tables/rt_05-01-12.html
*/

@media (max-width: 767px) {

  #sir-sizechart-description .stable-box table { display: block; position: relative; width: 100%; }
  #sir-sizechart-description .stable-box table thead { display: block; float: left; }
  #sir-sizechart-description .stable-box table tbody { text-align:left;display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
  #sir-sizechart-description .stable-box table thead tr { display: block; }
  #sir-sizechart-description .stable-box table th { display: block; }
  #sir-sizechart-description .stable-box table tbody tr { display: inline-block; vertical-align: top; }
  #sir-sizechart-description .stable-box table td { display: block; min-height: 1.25em;}
  #sir-sizechart-description .stable-box table td, #sir-sizechart-description .stable-box table th { text-align:center; line-height:20px; padding-left:2px; padding-right:2px;border-bottom:2px solid #FFF;}
}

.stable-box tbody tr:nth-child(2n+1) {
    background: #eee;
}

table td {
  text-align: center;
}