/* ==========================================================================
*  Sinatra Meta Box Styles.
*  ========================================================================== */
#side-sortables .sinatra-meta-box-field {
  margin: 15px 0;
}

#side-sortables .sinatra-meta-box-field select {
  min-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#side-sortables .sinatra-meta-box-field:last-child {
  margin-bottom: 0;
}

#side-sortables .sinatra-checkbox-row {
  margin-top: 0;
}

#side-sortables .sinatra-checkbox-row .si-checkbox-wrapper .si-checked-icon {
  display: none;
  left: -2px;
  top: -2px;
  fill: #FFF;
  cursor: pointer;
  position: absolute;
  width: 24px;
  height: 24px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}

#side-sortables .sinatra-checkbox-row input[type='checkbox'] {
  border: 1px solid #1e1e1e;
  border-radius: 2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

#side-sortables .sinatra-checkbox-row input[type='checkbox']:checked {
  background: #007cba;
  background: var(--wp-admin-theme-color);
  border-color: #007cba;
  border-color: var(--wp-admin-theme-color);
}

#side-sortables .sinatra-checkbox-row input[type='checkbox']:checked + .si-checked-icon {
  display: none;
}

.block-editor-page #side-sortables .sinatra-meta-box-field input[type='checkbox'] + .si-checked-icon {
  display: block;
}

.block-editor-page #side-sortables .sinatra-meta-box-field .sinatra-checkbox-row {
  min-height: 30px;
}

body:not(.block-editor-page) #side-sortables .sinatra-meta-box-field .components-base-control__label {
  display: block;
  font-weight: 600;
}

body:not(.block-editor-page) #side-sortables .sinatra-meta-box-field input[type='checkbox'] {
  margin-right: 10px;
}

body:not(.block-editor-page) #side-sortables .sinatra-meta-box-field .sinatra-checkbox-row {
  min-height: 26px;
}

body:not(.block-editor-page) #side-sortables .sinatra-meta-box-field .sinatra-checkbox-row .components-base-control__field {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
