div.popup-form-bg {
    top: 0;
    left: 0;
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1010;
}

div.popup-form {
    position: fixed;
    display: table;
    width: 350px;
    max-width: 90%;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    z-index: 1011;
    background: #fff;
}

.callback_form_head {
    padding: 25px;
}

.callback_form_head .delete {
    width: 28px;
    height: 28px;
    text-align: center;
    position: absolute;
    font-size: 1.25em;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #3a3a3a;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.callback_form_head .delete:hover {
    color: #d54438;
}

.callback_form_head h3 {
    text-align: center;
}

form.popup-form-form {
    padding: 0;
    display: block;
    color: #565656;
}

form.popup-form-form table {
    width: 100%;
}

form.popup-form-form table tr {
    height: 40px;
}


/*form.popup-form-form input {
  margin-top:0;
  width: 90%;
outline: none;
border: 1px solid #c6c6c6;
  height: 30px;
}
form.popup-form-form input[type="submit"] {
  height: 30px;
  width: 90%;
  padding: 5px;
  background: #ff5335;
  border: 0;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}
form.popup-form-form input[type="submit"]:hover{
  background:#FF9380;
}
td.popup-form-label {
  text-transform: uppercase;
  font-size: 14px;
  text-align: left;
}

td.popup-form-input{
width:60%;
}
span.popup-form-close {
  font-size: 14px;
  display: block;
  float: right;
  margin-top: -15px;
  color: #ff5335;
  margin-right: -10px;
  cursor: pointer;
}
span.popup-form-title {
  display: block;
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  margin-top: 10px;
  text-transform: uppercase;
}
*/

.popup-form-label label {
    color: #797979;
}

span.err_msg {
    color: rgb(231, 0, 0);
    display: block;
    padding-bottom: 8px;
    font-size: 12px;
}

.err_field {
    background: rgb(255, 240, 240);
}

.popup-form-success {
    padding: 25px;
}

span.success_mess {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: rgb(25, 157, 11);
    text-align: justify;
}

form.popup-form-form input[type="submit"] {
    text-transform: uppercase;
    bottom: 20px;
    border: 1px solid #d75124;
    background: #e35121;
    background: -webkit-gradient(linear, left top, left bottom, from(#ff6633), to(#e35121));
    background: -webkit-linear-gradient(top, #ff6633, #e35121);
    background: -moz-linear-gradient(top, #ff6633, #e35121);
    background: -ms-linear-gradient(top, #ff6633, #e35121);
    background: -o-linear-gradient(top, #ff6633, #e35121);
    padding: 7.5px 20px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.18) 0 1px 0;
    -moz-box-shadow: rgba(0, 0, 0, 0.18) 0 1px 0;
    box-shadow: rgba(0, 0, 0, 0.18) 0 1px 0;
    text-shadow: rgba(0, 0, 0, .4) 0 -1px 0;
    color: #ffffff;
    font-size: 13px;
    font-family: Helvetica, Arial, Sans-Serif;
    text-decoration: none;
    vertical-align: middle;
    font-family: "Open Sans";
    font-weight: 700;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    transition: .3s;
}

.onmain-form-form .popup-form-label {
    margin-top: 15px;
    margin-bottom: 5px;
}