.minimog-size-guide-tabs--tabs {
  overflow: hidden;
  margin: 7px -12px;
  padding: 0 12px;
}

.minimog-size-guide-tabs--tabs:after {
  content: "";
  display: block;
  border-bottom: 1px solid #ddd;
  clear: both;
  position: relative;
  top: -1px;
}

.minimog-size-guide-table-tabs--tab {
  float: left;
  position: relative;
  padding: 5px 25px 5px 15px;
  margin-right: 5px;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  border: 1px solid #ddd;
}

.minimog-size-guide-table-tabs--tab.active {
  border-bottom-color: #fff;
  z-index: 1;
}

.minimog-size-guide-table-tabs--tab input {
  font-size: 13px;
  position: absolute;
  max-width: calc(100% - 30px);
  top: 5px;
  left: 5px;
  right: 25px;
}

.minimog-size-guide-table-tabs--tab-text {
  font-weight: 600;
  display: block;
  padding: 5px;
}

.minimog-size-guide-table-tabs--tab .edit-button,
.minimog-size-guide-table-tabs--tab .confirm-button {
  position: absolute;
  right: 5px;
  top: 10px;
}

.minimog-size-guide-table-tabs--tab .edit-button {
  opacity: 0.5;
}

.minimog-size-guide-table-tabs--tab:hover .edit-button {
  opacity: 1;
}

.minimog-size-guide-table-tabs--tab .confirm-button {
  display: none;
}

.minimog-size-guide-tabs--tabs .add-new-tab {
  padding-right: 5px;
}

.minimog-size-guide-tabs--tabs .add-new-tab .dashicons {
  padding: 4px;
}

.minimog-size-guide-table-tabs--tab.editting input {
  z-index: 1;
}

.minimog-size-guide-table-tabs--tab.editting .edit-button {
  display: none;
}

.minimog-size-guide-table-tabs--tab.editting .confirm-button {
  display: block;
}

.minimog-size-guide-table-tabs--tab.editting .minimog-size-guide-table-tabs--tab-text {
  visibility: hidden;
}

.minimog-size-guide-table-editor {
  display: none;
}

.minimog-size-guide-table-editor.active {
  display: block;
}

.has-one-tab .minimog-size-guide-table-editor .delete-table-p {
  display: none;
}

table.minimog-table-edit {
  width: 100%;
  margin: 15px 0;
  border: 1px solid #ddd;
  border-collapse: collapse;
  border-spacing: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.075);
}

table.minimog-table-edit a.icon-button {
  background-color: #ccc;
  display: inline-block;
  width: 18px;
  height: 18px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  font-size: 14px;
  border-radius: 1px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

table.minimog-table-edit a.icon-button.addcol,
table.minimog-table-edit a.icon-button.addrow {
  background-color: #81b71a;
}

table.minimog-table-edit a.icon-button.delcol,
table.minimog-table-edit a.icon-button.delrow {
  background-color: #db4a39;
}

table.minimog-table-edit a.icon-button.disabled {
  background-color: #eee;
}

table.minimog-table-edit td:last-child,
table.minimog-table-edit th:last-child {
  background-color: #f8f8f8;
  width: 54px;
  border: none;
}

table.minimog-table-edit td,
table.minimog-table-edit th {
  border: 1px solid #eee;
  text-align: center;
  height: 40px;
  vertical-align: middle;
  font-size: 14px;
}

table.minimog-table-edit th {
  background-color: #f1f1f1;
  border-color: #ddd;
  border-top: none;
  border-bottom: 2px solid #ddd;
}

table.minimog-table-edit td input[type=text] {
  border: 0;
  width: 90%;
  height: 100%;
  padding: 0 5%;
  text-align: center;
  box-shadow: none;
}

table.minimog-table-edit tr td input:focus {
  background-color: #fafafa;
  outline: 0;
}

table.minimog-table-edit.wh tbody tr:first-child,
table.minimog-table-edit.wh tbody tr:first-child input {
  background-color: #fdfdfd;
  font-weight: 700;
}

table.minimog-table-edit th:first-child,
table.minimog-table-edit td:first-child {
  border-left: none;
}

table.minimog-table-edit tr:last-child td {
  border-bottom: none;
}

@media only screen and (max-width: 480px) {
  table.minimog-table-edit td,
  table.minimog-table-edit th {
    min-width: 40px;
    height: 80px;
  }
  table.minimog-table-edit a.icon-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
    min-width: 40px;
    line-height: 40px;
    margin: 3px 0;
  }
  table.minimog-table-edit td input {
    height: 80px;
  }
}