.merchant-metabox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px;
}

.merchant-metabox-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 225px;
  margin-left: -20px;
}
.merchant-metabox-tabs a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 9px 16px;
  text-decoration: none;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
.merchant-metabox-tabs a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 0 4px 4px 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: ease opacity 200ms;
  transition: ease opacity 200ms;
}
.merchant-metabox-tabs a:focus, .merchant-metabox-tabs a:active, .merchant-metabox-tabs a:hover {
  color: #757575;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.merchant-metabox-tabs a:focus:before, .merchant-metabox-tabs a:active:before, .merchant-metabox-tabs a:hover:before {
  background-color: #e1e1e1;
  opacity: 1;
  visibility: visible;
}
.merchant-metabox-tabs a.active {
  color: #3858E9;
}
.merchant-metabox-tabs a.active:before {
  background-color: #3858E9;
  opacity: 1;
  visibility: visible;
}

.merchant-metabox-contents {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border: 1px solid #F0F0F1;
  border-radius: 4px;
}

.merchant-metabox-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.merchant-metabox-content:not(.active) {
  display: none;
}

.merchant-metabox-content-title {
  display: none;
  margin: 0;
  padding: 10px 15px;
  color: #1e1e1e;
  background-color: #eee;
}

.merchant-metabox-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  grid-gap: 20px;
  padding: 20px;
}
.merchant-metabox-field:first-child {
  border-top: none;
}
.merchant-metabox-field:last-child {
  border-bottom: none;
}

.merchant-metabox-field-hidden {
  display: none;
}

.merchant-metabox-field-separator-before {
  border-top: 1px solid #eee;
}

.merchant-metabox-field-separator-after {
  border-bottom: 1px solid #eee;
}

.merchant-metabox-field-inline {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.merchant-metabox-field-title {
  width: 30%;
  max-width: 275px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  grid-gap: 5px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.merchant-metabox-field-title h4 {
  margin: 0;
  color: #1e1e1e;
}
.merchant-metabox-field-title small {
  opacity: 0.75;
}
.merchant-metabox-field-title small code {
  font-size: 1em;
}

.merchant-metabox-field-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.merchant-metabox-field-description {
  font-size: 80%;
  opacity: 0.75;
  margin-top: 10px;
}
.merchant-metabox-field-description code {
  font-size: 1em;
}
.merchant-metabox-field-description a {
  color: #3858E9;
}
.merchant-metabox-field-description a:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.merchant-metabox-field-text input {
  width: 50%;
  max-width: 100%;
}

.merchant-metabox-field-number input {
  width: 100px;
  max-width: 100%;
}

.merchant-metabox-field-textarea textarea {
  width: 100%;
  max-width: 100%;
  min-height: 100px;
  vertical-align: top;
}

.merchant-metabox-field-checkbox label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 6px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.merchant-metabox-field-checkbox label input {
  margin: 0;
}

.merchant-metabox-field-switcher label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  grid-gap: 6px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.merchant-metabox-field-switcher i {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 45px;
  height: 22px;
  background-color: #c8c8c8;
  border-radius: 20px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.merchant-metabox-field-switcher i:before {
  content: "";
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  top: 4px;
  left: 6px;
  background-color: #fff;
  border-radius: 20px;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
.merchant-metabox-field-switcher input {
  display: none;
}
.merchant-metabox-field-switcher input:checked + i {
  background-color: #3858E9;
}
.merchant-metabox-field-switcher input:checked + i:before {
  left: 26px;
}

.merchant-metabox-field-choices-images {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  grid-gap: 2px;
}
.merchant-metabox-field-choices-images label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.merchant-metabox-field-choices-images figure {
  padding: 4px;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  max-width: 80px;
  max-height: 80px;
}
.merchant-metabox-field-choices-images figure img {
  width: 100%;
  vertical-align: top;
}
.merchant-metabox-field-choices-images input {
  display: none;
}
.merchant-metabox-field-choices-images input:checked + figure {
  border-color: #1e1e1e;
}
.merchant-metabox-field-choices-images input:checked + figure:before {
  left: 26px;
}

.merchant-metabox-field-uploads-thumbnail {
  border-right: 1px solid #e5e5e5;
  margin-right: 10px;
  padding-right: 10px;
  position: relative;
}

.merchant-metabox-field-uploads-thumbnail-remove {
  position: absolute;
  left: -8px;
  top: -7px;
  background: white;
  border-radius: 50%;
  color: #d58f90;
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.merchant-metabox-field-uploads-thumbnail-remove:hover {
  color: #a00;
}

.merchant-metabox-field-uploads-thumbnail-upload {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
      justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #d4d4d4;
  font-size: 25px;
  font-weight: 200;
  text-decoration: none;
}
.merchant-metabox-field-uploads-thumbnail-upload img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

.merchant-metabox-field-repeater-move,
.merchant-metabox-field-repeater-remove,
.merchant-metabox-field-flexible-content-move,
.merchant-metabox-field-flexible-content-remove {
  cursor: pointer;
  padding: 5px;
  width: auto;
  height: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  color: #1e1e1e;
  opacity: 0.5;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.merchant-metabox-field-repeater-move:hover,
.merchant-metabox-field-repeater-remove:hover,
.merchant-metabox-field-flexible-content-move:hover,
.merchant-metabox-field-flexible-content-remove:hover {
  opacity: 1;
}

.merchant-metabox-field-repeater-remove,
.merchant-metabox-field-flexible-content-remove {
  color: #a00;
  font-size: 18px;
}

.merchant-metabox-field-uploads-content,
.merchant-metabox-field-repeater-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.merchant-metabox-field-uploads-content ul,
.merchant-metabox-field-repeater-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.merchant-metabox-field-uploads-content ul li,
.merchant-metabox-field-repeater-content ul li {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-bottom: 10px;
}
.merchant-metabox-field-uploads-content ul li.hidden,
.merchant-metabox-field-repeater-content ul li.hidden {
  display: none;
}
.merchant-metabox-field-uploads-content ul li span,
.merchant-metabox-field-repeater-content ul li span {
  font-size: 20px;
  padding: 5px;
  width: auto;
  height: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.merchant-metabox-field-uploads-content input,
.merchant-metabox-field-repeater-content input {
  width: 50%;
  max-width: 100%;
  max-width: 100%;
  margin-right: 5px;
}
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-field,
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 5px;
}
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-field input,
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-field input {
  width: 100%;
}
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-field span,
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-field span {
  font-size: 14px;
}
.merchant-metabox-field-uploads-content .merchant-metabox-field-repeater-list-item-fields,
.merchant-metabox-field-repeater-content .merchant-metabox-field-repeater-list-item-fields {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.merchant-metabox-field-size-chart ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.merchant-metabox-field-size-chart ul li {
  margin-bottom: 20px;
}
.merchant-metabox-field-size-chart ul li.hidden {
  display: none;
}
.merchant-metabox-field-size-chart table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background-color: #fff;
}
.merchant-metabox-field-size-chart table th,
.merchant-metabox-field-size-chart table td {
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.merchant-metabox-field-size-chart table th:last-child,
.merchant-metabox-field-size-chart table td:last-child {
  width: 1%;
  min-width: 75px;
}
.merchant-metabox-field-size-chart table thead {
  text-align: center;
}
.merchant-metabox-field-size-chart table thead label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  grid-gap: 5px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.merchant-metabox-field-size-chart table tbody input {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.merchant-metabox-field-size-chart table tbody tr:nth-child(2) td:not(:last-child) {
  background-color: #eee;
}
.merchant-metabox-field-size-chart table tfoot {
  text-align: right;
}
.merchant-metabox-field-size-chart .merchant-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.merchant-metabox-field-size-chart .merchant-buttons a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1em;
  font-weight: bold;
  padding: 2px;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  text-decoration: none;
}
.merchant-metabox-field-size-chart .merchant-buttons a:active {
  opacity: 0.5;
}
.merchant-metabox-field-size-chart .merchant-add-col,
.merchant-metabox-field-size-chart .merchant-add-row {
  color: #27ae60;
  background-color: #d5f5e3;
}
.merchant-metabox-field-size-chart .merchant-del-col,
.merchant-metabox-field-size-chart .merchant-del-row {
  color: #e74c3c;
  background-color: #f2d7d5;
}
.merchant-metabox-field-size-chart .merchant-remove {
  color: #fff;
  border-color: #d50204;
  background: #d50204;
}
.merchant-metabox-field-size-chart .merchant-remove:hover, .merchant-metabox-field-size-chart .merchant-remove:focus {
  border-color: #b32d2e;
  background: #b32d2e;
}
.merchant-metabox-field-size-chart .merchant-remove:focus {
  -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e;
          box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e;
}
.merchant-metabox-field-size-chart .merchant-remove:active {
  border-color: #b32d2e;
  background: #b32d2e;
}
.merchant-metabox-field-size-chart .merchant-duplicate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  text-decoration: none;
  color: #000;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.merchant-metabox-field-size-chart .merchant-duplicate:hover, .merchant-metabox-field-size-chart .merchant-duplicate:active {
  opacity: 0.5;
}
.merchant-metabox-field-size-chart .merchant-duplicate i {
  width: auto;
  height: auto;
  font-size: 20px;
}

.merchant-metabox-field-media figure {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding: 5px;
  width: 75px;
  height: 75px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.merchant-metabox-field-media figure img {
  max-width: 100%;
  height: auto;
}
.merchant-metabox-field-media input {
  display: none;
}
.merchant-metabox-field-media .merchant-button-remove {
  color: #b32d2e;
  border-color: #b32d2e;
  background: #fff8f8;
}
.merchant-metabox-field-media .merchant-button-remove:hover, .merchant-metabox-field-media .merchant-button-remove:focus, .merchant-metabox-field-media .merchant-button-remove:active {
  color: #b32d2e;
  border-color: #b32d2e;
  background: #fff0f0;
}
.merchant-metabox-field-media .merchant-button-remove:focus {
  -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e;
          box-shadow: 0 0 0 1px #fff, 0 0 0 3px #b32d2e;
}

.merchant-metabox-field-select-ajax select {
  display: none;
  width: 100%;
}
.merchant-metabox-field-select-ajax ul {
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: top;
}
.merchant-metabox-field-select-ajax ul li {
  margin: 0;
  padding: 0;
}
.merchant-metabox-field-select-ajax .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  width: auto;
  display: inline;
  padding: 0;
}
.merchant-metabox-field-select-ajax .select2-container .select2-search--inline .select2-search__field {
  margin: 0;
  padding: 0;
}
.merchant-metabox-field-select-ajax .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #aaa;
}
.merchant-metabox-field-select-ajax .select2-container--default .select2-selection--multiple {
  padding: 0 5px;
}
.merchant-metabox-field-select-ajax .select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-left: 0;
}
.merchant-metabox-field-select-ajax .merchant-select2-clear {
  display: block;
  width: 100%;
  clear: both;
}
.merchant-metabox-field-select-ajax .merchant-metabox-field-content {
  min-height: 32px;
}

.merchant-metabox-field-wc-attributes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 5px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.merchant-metabox-field-wc-attributes ul li {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 300px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #e5e5e5;
  background-color: #fdfdfd;
  border-radius: 3px;
}
.merchant-metabox-field-wc-attributes ul li:hover {
  border-color: #ccc;
}
.merchant-metabox-field-wc-attributes ul li label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 5px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 8px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.merchant-metabox-field-wc-attributes ul li label input {
  margin: 0;
}
.merchant-metabox-field-wc-attributes ul li .merchant-sortable-move {
  cursor: pointer;
  padding: 8px;
}

.merchant-metabox-field-code-editor .CodeMirror-wrap {
  border: 1px solid #eee;
}

.merchant-metabox-field-media-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.merchant-metabox-field-media-button {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 5px;
}

.merchant-metabox-field-no-padding {
  padding-top: 0;
  padding-bottom: 0;
}

body:not(.block-editor-page) #merchant_metabox .inside {
  margin: 0;
  padding: 0;
}

#side-sortables .merchant-metabox-tabs {
  display: none;
}
#side-sortables .merchant-metabox-content-title,
#side-sortables .merchant-metabox-content:not(.active) {
  display: block;
}
#side-sortables .merchant-metabox-field {
  grid-gap: 8px;
  padding: 10px 15px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
#side-sortables .merchant-metabox-field-title {
  width: auto;
  font-size: 12px;
}
#side-sortables .merchant-metabox-field-title:empty {
  display: none;
}
#side-sortables .merchant-metabox-contents {
  border-left: none;
  border-right: none;
}
#side-sortables #merchant_metabox .postbox-header {
  border-top: none;
}
#side-sortables #merchant_metabox .postbox-header h2 {
  color: #1e1e1e;
  padding: 0 0 0 15px;
  font-size: 13px;
  font-weight: 500;
}
#side-sortables #merchant_metabox .inside {
  padding: 0;
}
#side-sortables .merchant-metabox-field-text input,
#side-sortables .merchant-metabox-field-uploads-content input,
#side-sortables .merchant-metabox-field-repeater-content input {
  width: 100%;
}

.merchant-metabox-field-flexible-content-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  grid-gap: 10px;
}
.merchant-metabox-field-flexible-content-list.empty {
  border: 2px dashed #dcdcde;
  min-height: 100px;
}

.merchant-metabox-field-flexible-content-item {
  border: 1px solid #c3c4c7;
  border-left: 3px solid #3858e9;
}
.merchant-metabox-field-flexible-content-item:first-child {
  display: none;
}

.merchant-metabox-field-flexible-content-item-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  grid-gap: 10px;
  padding: 15px;
}
.merchant-metabox-field-flexible-content-item-content > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 10px;
}
.merchant-metabox-field-flexible-content-item-content > div:not(:last-child) > div {
  border-bottom: 1px solid #f3f3f3;
  padding-bottom: 15px;
}
.merchant-metabox-field-flexible-content-item-content > div label {
  width: 200px;
}
.merchant-metabox-field-flexible-content-item-content > div > div {
  width: calc(100% - 200px);
}

.merchant-metabox-field-flexible-content-item-title {
  margin-left: 10px;
  font-weight: bold;
}

.merchant-metabox-field-flexible-content-item-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.merchant-metabox-field-flexible-content-item-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #f3f3f3;
}

.merchant-metabox-field-flexible-content-item-count {
  border-radius: 50%;
  width: 24px;
  height: 23px;
  border: 1px solid #949494;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  font-size: 12px;
  font-weight: bold;
}

.merchant-metabox-field-flexible-content-add-wrapper {
  position: relative;
  display: inline-block;
}

.merchant-metabox-field-flexible-content-add-list {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #c3c4c7;
  border-left: 3px solid #3858e9;
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1019607843);
          box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1019607843);
  width: 180px;
  bottom: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  left: 50%;
  -webkit-transform: translate(-50%, 10px);
          transform: translate(-50%, 10px);
  padding: 3px 3px 3px 5px;
}
.merchant-metabox-field-flexible-content-add-list.active {
  z-index: 10;
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate(-50%, -15px);
          transform: translate(-50%, -15px);
  -webkit-transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
  transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}
.merchant-metabox-field-flexible-content-add-list:before, .merchant-metabox-field-flexible-content-add-list:after {
  position: absolute;
  z-index: -1;
  content: "";
  border-style: solid;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}
.merchant-metabox-field-flexible-content-add-list:before {
  right: calc(50% - 12px);
  bottom: -14px;
  border-width: 14px 14px 0 15px;
  border-color: #c3c4c7 transparent transparent transparent;
}
.merchant-metabox-field-flexible-content-add-list:after {
  content: "";
  right: calc(50% - 10px);
  bottom: -12px;
  border-width: 12px 12px 0 13px;
  border-color: #ffffff transparent transparent transparent;
}

.merchant-metabox-field-flexible-content-add {
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 10px;
  text-decoration: none;
}
.merchant-metabox-field-flexible-content-add:hover {
  background: #f0f0f1;
}

.merchant-metabox-field-input-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.merchant-metabox-field-append, .merchant-metabox-field-prepend {
  background: #f0f0f1;
  border: 1px solid #8c8f94;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  padding: 0 8px;
}

.merchant-metabox-field-append {
  font-size: 12px;
  margin-left: -7px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.merchant-metabox-field-prepend {
  font-size: 14px;
  margin-right: -3px;
  padding: 0 10px;
  margin-left: 4px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

@media only screen and (max-width: 991px) {
  .merchant-metabox-tabs {
    display: none;
  }
  .merchant-metabox-content-title,
  .merchant-metabox-content:not(.active) {
    display: block;
  }
  .merchant-metabox-field {
    grid-gap: 8px;
    padding: 15px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .merchant-metabox-field-title {
    width: auto;
  }
  .merchant-metabox-field-title:empty {
    display: none;
  }
  .merchant-metabox-contents {
    border-left: none;
    border-right: none;
  }
  #merchant_metabox .inside {
    padding: 0;
  }
  .merchant-metabox-field-text input,
  .merchant-metabox-field-uploads-content input,
  .merchant-metabox-field-repeater-content input {
    width: 100%;
  }
}
.rtl .merchant-metabox-tabs a:before {
  right: 0;
  left: unset;
}
.rtl .merchant-metabox-tabs {
  margin-left: unset;
  margin-right: -20px;
}
.rtl .merchant-metabox-field-append {
  border-radius: 5px;
}
.rtl .merchant-metabox-contents .merchant-metabox-field-flexible-content-item {
  border-left: 1px solid #c3c4c7;
  border-right: 3px solid #3858e9;
}
.rtl .merchant-metabox-contents .merchant-metabox-field-flexible-content-item-title {
  margin-left: unset;
  margin-right: 10px;
}