.modal-box {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 500px;
  background: #fff;
  border-bottom: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;
}

.modal-box header, .modal-box .modal-header {
  padding: 12px 20px;
  border-bottom: 1px solid #e1e3e4;
}

.modal-box header h3,
.modal-box header h4,
.modal-box .modal-header h3,
.modal-box .modal-header h4 { margin: 0; }

.modal-box .modal-body { padding: 2em 1.5em; }

.modal-box footer,
.modal-box .modal-footer {
  padding: 1em;
  border-top: 1px solid #ddd;
  background: rgba(0, 0, 0, 0.02);
  text-align: right;
}

.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3) !important;
}
a.close {
  line-height: 1;
  font-size: 1.5em;
  position: absolute;
  top: 10px;
  right: 15px;
  text-decoration: none;
  color: #aab2bd;
  font-weight: 700;
}

a.close:hover {
  color: #222;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  transition: color 1s ease;
}
#popup-stock ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#popup-stock .modal-body li label {
  display: none;
}

#popup-stock .modal-body li input.modal-input-text::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #434a54;
}
#popup-stock .modal-body li input.modal-input-text:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #434a54;
   opacity: 1;
}
#popup-stock .modal-body li input.modal-input-text::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #434a54;
   opacity: 1;
}
#popup-stock .modal-body li input.modal-input-text:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #434a54;
}

.ninja-hide {
    display: none;
}
.ninja-error {
    border: 1px solid red;
}

#ninja-out-of-stock {
  background: url(../img/megaphone-icon.png) no-repeat 10px center;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background-color: rgb(39, 174, 96);
  box-shadow: 0px 2px 0px 0px rgba(32, 158, 85, 0.004);
  -moz-box-shadow: 0px 2px 0px 0px rgba(32, 158, 85, 0.004);
  -webkit-box-shadow: 0px 2px 0px 0px rgba(32, 158, 85, 0.004);
  color: #fff;
  padding: 6px 15px 6px 36px;
  line-height: 20px;
  border-bottom: 2px solid #209e55;
}
#ninja-out-of-stock:hover {
  opacity: 0.8;
}
#ninja-ss {
    color: rgb(39, 174, 96);
    background: url(../img/basic-tick.png) no-repeat left center;
    padding: 0 0 0 25px;
}
#popup-stock,.modal-overlay {
  position: fixed;
}
.modal-overlay{

}
#popup-stock .modal-title {
  color: rgb(67, 74, 84);
  font-size: 20px;
  font-weight: 400;
  font-family: 'Open Sans';
}

#stock-submit {
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background-color: rgb(39, 174, 96);
  box-shadow: 0px 2px 0px 0px rgba(32, 158, 85, 0.004);
  -moz-box-shadow: 0px 2px 0px 0px rgba(32, 158, 85, 0.004);
  -webkit-box-shadow: 0px 2px 0px 0px rgba(32, 158, 85, 0.004);
  border-bottom: 2px solid #209e55;
  /*width: 129px;
  height: 42px;*/
  max-width: 500px;
    height: 50px;
  z-index: 31;
  text-align: center;
  color: #fff;
  display: inline-block;
  line-height: 40px;
  margin: 0 5px 0 0;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  font-size: 15px;
}
#stock-submit:hover {
    text-decoration: none;
    opacity: 0.8;
}
.ninja-class-out{margin-bottom: 10px;}

@media (max-width:768px ) {
  .modal-box {
    width: 80%;
  }
}
