$enable-rounded: false;
@import '../../../../node_modules/bootstrap/scss/bootstrap';
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/fontawesome';
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/solid';
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/regular';
@import '../../../../node_modules/@fortawesome/fontawesome-free/scss/brands';

.ys-info {
  padding: 10px;
  margin-bottom: 20px;
}

.new-package-template-connection {
  clear: both;
  height: 40px;

  span {
    display: block;
    margin: auto;
    width: 3px;
    height: 40px;
    background: #ddd;
    position: relative;
  }
}

.new-package-template {
  clear: both;
  height: 40px;

  span {
    display: block;
    background-color: #ddd;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin: auto;
    text-align: center;
    line-height: 40px;
    position: relative;
    cursor: pointer;
  }

  span:hover {
    color: #fff;
    background-color: #0e5c7c;
  }
}

.ys-package-template-header {
  border: 1px solid #34495e;
  background-color: #34495e;
  color: #fff;
  padding: 10px;
  font-size: 14px;

  .ys-package-template-delete {
    float: right;
    padding: 10px;
    margin: -10px;
    color: #fff;

    &:focus {
      border: 0;
      outline: none;
      box-shadow: none;
    }
  }

  .ys-package-template-really-delete {
    display: none;
    white-space: nowrap;
    float: right;
    padding: 0 5px;
    color: #fff;
    border: 1px solid;
    margin-right: 10px;
  }
}

.ys-package-template-body {
  border: 1px solid #34495e;
  padding: 15px;

}

.form-control[type='checkbox'] {
  height: auto;
  width: auto;
  display: inline-block;
}

.ys-setting-saveline {
  input[type=submit] {
    border: 1px solid #34495e;
    float: right;
    font-weight: 700;
    cursor: pointer;
    padding: .375rem .75rem;
    color: #34495e;
    background: #fff;

    &:hover {
      color: #fff;
      background: #34495e;

    }
  }

  input[type=submit]:disabled {
    background: #ddd;

    &:hover {
      color: #34495e;
      background: #ddd;
      cursor: not-allowed;
    }
  }
}

.btn-secondary:disabled {
  cursor: not-allowed;
}

.ys-setting-actionline {
  button {
    margin-bottom: 0.5em;
  }
}

form fieldset {
  padding: 0 1em 1em;

  legend {
    margin: 0;
    font-size: 1.3em;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.5em;
  align-items: center;

  label {
    margin: 0;
    padding: 0;
  }

  select.form-control {
    height: auto;
    padding: 0;
  }

  input.form-control, textarea.form-control {
    height: auto;
    padding: 0 0.2em;
  }
}

label {
  margin-bottom: 0;
}

.btn-sm {
  padding: .15rem .5rem;
  font-size: .875rem;
  line-height: 1.1;
  border-radius: 0;
}

.form-control, .box .table--order-articles td.listitem, .box .table--shipcloud-articles td.listitem {
  padding: 0 3px;
}

.form-control:not(.btn) {
  height: auto;
}

.form-group {
  margin-bottom: 0.4em;
}

.ys--shipcloud {
  font-size: 12px;

  .form-control, .btn, input {
    font-size: inherit;
  }
}

.ys--row.row {
  margin: 0 -6px;

  [class^="col-"] {
    padding: 0 6px;
  }
}

.table--buttons {
  margin-top: 1em;
}

.table--order-articles {
  max-height: 50vh;
  overflow: auto;

  td {
    padding: 3px;

    & > table {
      margin: -3px 0;
    }
  }
}

div.box h2 {
  font-size: 17px;
  font-weight: bold;
  margin: 7px 0 10px 0;
  padding-bottom: 7px;
}

div.box tr.active td.listitem {
  background: #ff97413d;
}

.btn-outline-dark {
  background: #fff;
}

.onclick-cp input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.ys-lwh {
  input[type=number]::-webkit-outer-spin-button,
  input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  input[type=number] {
    -moz-appearance: textfield;
  }
}