.sizechart{
  width: 100%;
}
.sizechart th{
  position: sticky;
  top: -1px;
  z-index: 1;
}
.sizechart th, .sizechart td{
  text-align: center;
}
.chart-header-bg{
  background: #fafafa;
  border: 1px solid #ccc;
  padding:10px;
  position: relative;;
  text-align: center;
}
.chart-header{
  width: 80px;
}
.chart-data{
  text-align: center;
  vertical-align: middle;
  border: 1px solid #ccc;
}
.chart-data td, .chart-header-bg th{
  padding: 10px;
}
#sizeChartModal .modal-body {
  padding: 0px 15px 15px;
}
#sizeChartModal .modal-header {
  padding: 0;
  border: 0;
}
#sizeChartModal .modal-header .close {
  margin-top: 10px;
  margin-right: 10px;
}
#sizeChartModal .size-desc {
  font-size: 14px;
}
#sizeChartModal.image {
  overflow-x: hidden;
  overflow-y: hidden;
}
#sizeChartModal.image .modal-dialog {
  width: auto!important;
  height: auto!important;
  margin: 5px auto!important;
}
#sizeChartModal.image .modal-header .close {
  position: absolute;
  top: 13px;
  right: 40px;
  color: black;
  z-index: 9;
  font-size: 40px;
  margin: 0;
}
#sizeChartModal.image .modal-body {
  overflow-y: initial!important;
}
#sizeChartModal.image .size-desc,
#sizeChartModal.image .size-desc p {
  height: 100%;
  width: 100%;
}
#sizeChartModal.image .size-desc img {
  max-width: 100%;
  max-height: 100%;
  width: 100%!important;
  height: 100%!important;
}
@media (min-width: 1000px) {
  #sizeChartModal.image .modal-body {
    height: 97vh!important;
    width: auto!important;
  }
  #sizeChartModal.image .modal-content {
    height: max-content;
    width: max-content;
    margin: 0 auto;
  }
}
@media (max-width: 999px) {
  #sizeChartModal .modal-body {
    height: auto!important;
  }
  .chart-header-bg {
    padding: 0;
  }
  #sizeChartModal .chart-header {
    font-size: 12px;
    padding: 0;
  }
  #sizeChartModal table td {
    padding: 0;
    font-size: 10px;
  }
}