.md-modal {
  min-width: 500px;
  max-width: 90%;
  border-radius: 0px;
  font-size: 16px;
}
.md-modal button.md-close {
  float: right;
  margin: 8px 8px 3px 3px;
  background: none;
}
.md-modal .md-content {
  background: white;
  color: black;
  padding: 25px 25px 35px 25px;
  border-radius: 0;
}
.md-modal .md-content .md-button {
  border-radius: 8px;
  padding: 9px 12px;
  padding-top: 11px;
  border: 2px solid #aaa;
  color: black;
  font-weight: 300;
}
.md-modal .md-content .md-button:hover {
  background: black;
  color: white;
}
.md-modal .md-content h3 {
  margin-bottom: 10px;
  background: none;
  color: black;
  font-weight: 400;
  font-size: 18px;
}
.md-modal .md-content .fa {
  font-size: 1.2em;
  transform: none;
  color: black;
  display: inline-block;
}
.md-modal .md-content .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
.md-modal .md-content .row .col-xs-3 {
  width: 15%;
}
.md-modal .md-content .row .col-xs-9 {
  width: 85%;
}
.md-modal .md-content button.nofloat {
  float: none !important;
}
.md-modal .md-content .input, .md-modal .md-content .btn, .md-modal .md-content .textarea {
  width: 250px;
  height: 36px;
}
.md-modal button.md-top-close {
  border: none;
  outline: none;
  margin: 0;
  display: block;
  cursor: pointer;
}
.md-modal button.md-top-close .fa {
  font-size: 2em;
  margin: 0;
  padding: 0;
}
@media (max-width: 960px) {
  .md-modal {
    width: 100%;
    height: 100%;
    overflow: scroll;
    min-width: 100%;
    min-height: 100%;
    background-color: white;
    border-radius: 0;
  }
  .md-modal .md-content {
    height: 100%;
    width: 100%;
    padding: 20px;
    border-radius: 0px;
  }
  .md-modal .md-content > div {
    padding: 40px 15px 0px 15px;
  }
  .md-modal .md-content .form-control {
    width: 70%;
    display: inline-block;
    margin-bottom: 10px;
  }
  .md-modal .md-content .md-message {
    padding: 0;
  }
  .md-modal .md-content .input, .md-modal .md-content .btn, .md-modal .md-content .textarea {
    width: 100%;
    height: 36px;
  }
  .md-modal .md-show.md-effect-3 .md-content {
    height: 100%;
    width: 100%;
    overflow: scroll;
  }
}
#nifty_order_modal {
  min-width: 1024px;
  max-height: 99vh;
  overflow: scroll;
}
#nifty_order_modal .md-message .fa {
  font-size: inherit;
}
#nifty_order_modal .md-message .btn {
  width: 135px;
  height: inherit;
}
@media (max-width: 960px) {
  #nifty_order_modal {
    min-width: 100%;
  }
  #nifty_order_modal .md-content {
    padding: 20px 8px;
    padding-bottom: 50px;
  }
  #nifty_order_modal .md-message .btn {
    width: 100%;
  }
}
#nifty_choose_size {
  max-height: 99vh;
  overflow: scroll;
}
