/* Advance to cart modal - this will probably get reworked with changes to the designer coming up */

/* hide number spinner */
input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-size-modal .modal-dialog {
  height: 100%;
}

.quantity-size-modal .modal-content {
  min-height: 100%;
  border-radius: 0;
}

.quantity-size-modal .modal-header {
  padding-top: 0;
}

.quantity-size-modal .modal-body {
  padding-top: 0;
}

.modal-title-prices {
  font-weight: 400;
}

.modal-preview-card {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

/* Sizes Modal */
.sizes {
  text-align: center;
}

.sizes__title {
  font-weight: 700;
  margin-top: 5%;
  margin-bottom: 4%;
  text-align: center;
}

.sizes__sizes table {
  width: 100%;
}

.sizes th {
  font-weight: 700;
  padding-top: 15px;
  text-align: right;
  padding-right: 5px;
}

.sizes td {
  vertical-align: middle;
  height: 60px;
}

.sizes__checkout {
  border-top: 1px solid #dee2e6;
  margin-top: 5%;
  padding-top: 5%;
}

.sizes__checkout--button {
  border-top: #d4d4d4;
  display: flex;
  justify-content: space-evenly;
}

.sizes__update--return {
  padding-top: 10px;
  display: flex;
  justify-content: space-evenly;
}

.sizes input {
  width: 50px;
}

.sizes-error {
  color: red;
}

.designer-prices {
  display: flex;
  align-items: center;
  justify-content: center;
}

.designer-prices--new {
  font-size: 30px;
  font-weight: 700;
  color: #45bbff;
  margin-right: 10px;
  margin-left: 10px;
}

.designer-prices--old {
  color: #c2c2c2;
  text-decoration: line-through;
  text-transform: uppercase;
}

.modal-update-return {
  text-align: center;
  max-width: 200px;
  font-weight: 700;
  padding-top: 5px;
  padding-bottom: 5px;
}
.designs-error {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: red;
  border-top: 1px solid #dee2e6;
  margin-top: 30px;
  padding-top: 30px;
}
  .designs-error p {
    padding-bottom: 12px;
    text-align: center;
  }

@media only screen and (min-width: 768px) {
  .quantity-size-modal .modal-dialog {
    height: initial;
  }

  .quantity-size-modal .modal-content {
    min-height: initial;
    border-radius: .3rem;
  }

  .quantity-size-modal .modal-header {
    padding-top: 0;
  }

  .quantity-size-modal .modal-body {
    padding-top: 15px;
  }

  .quantity-size-modal .modal-header .modal-title.modal-title-prices {
    font-size: 30px !important;
  }

  .modal-preview-card {
    width: 100%;
  }

  .sizes__title {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: left;
  }

  .sizes th {
    text-align: left;
  }

  .sizes__checkout {
    border-top: 1px solid #dee2e6;
    margin-top: 30px;
    padding-top: 30px;
  }

  .designer-prices {
    justify-content: center;
  }

  .modal-update-return {
    text-align: left;
    margin-left: 1rem;
  }
  .sizes__update--return {
    padding-top: 10px;
    margin-left: 3rem;
  }
  .sizes__checkout--button {
    border-top: #d4d4d4;
    margin-left: 1.5rem;
  }
}
