.ui-dialog {
  margin-left: -500px; }

#sizechart {
  margin-top: 20px;
  margin-left: 20px;
  width: 900px;
  font-size: 12px; }

#sizechart table {
  margin-bottom: 20px;
  float: left;
  margin-left: -1px;
  width: auto;
  font-size: 12px; }

#sizechart th, #sizechart td {
  border: 1px solid #ddd; }

@media screen and (min-width: 769px) {
  #sizechart table:not(.key) tr th:first-child, #sizechart table:not(.key) tr td:first-child {
    border: 0 none;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px; } }

#sizechart table tr td:first-child, #sizechart table tr th:first-child {
  font-weight: bold;
  width: 90px; }

#sizechart table tr:first-child th {
  color: #fff;
  background-color: #000;
  text-align: center; }

#sizechart th, #sizechart td {
  padding: 5px;
  /* width: 95px; */
  width: 58px;
  height: 25px; }

tr:nth-child(odd) {
  background-color: #eee; }

#sizechart img {
  float: right;
  margin-right: 150px; }

#sizechart .how-to-measure {
  /* margin-top: 25px; */
  float: left;
  line-height: 20px; }

#sizechart .how-to-measure .measurements {
  color: #f60;
  font-weight: bold; }

/** Mobile **/
@media screen and (max-width: 768px) {
  .ui-dialog {
    margin-left: -160px; }
  #sizechart {
    margin: 0;
    margin-top: 20px;
    width: 98%; }
  #sizechart h3 {
    text-align: center; }
  #sizechart table {
    float: none;
    margin: 20px auto; }
  #sizechart table:not(.key) tr th:first-child, #sizechart table:not(.key) tr td:first-child {
    display: table-cell; }
  #sizechart img {
    width: 150px;
    height: auto;
    margin: 0 auto;
    display: block;
    float: none; }
  #sizechart .how-to-measure {
    width: 100%;
    padding: 10px; } }
