.form-checkbox {
  position: relative;
  z-index: 1;
}


.form-checkbox>input {
  height: 20px;
  opacity: 0;
  position: absolute;
  top: 3px;
  width: 20px;
  z-index: 2;
  cursor: pointer;
}

.form-checkbox>input+.check {
  border: 1px solid #c3c2c2;
  border-radius: 2px;
  color: #3f51b5;
  cursor: pointer;
  display: inline-block;
  height: 20px;
  position: relative;
  top: 3px;
  width: 20px;
  z-index: -1;
}

.form-checkbox>input+.check i {
  display: none;
  left: 2px;
  opacity: 0;
  position: absolute;
  top: 2px;
}

.form-checkbox>input:checked+span i {
  display: block;
  opacity: 1;
}


/*Radio and Checkbox styles*/

.checkbox-replace {
  padding-left: 20px;
}

.checkbox-replace input[type="checkbox"],
.radio-replace input[type="radio"] {
  margin-left: -20px;
  position: absolute;
}

.form-inline .checkbox-replace label {
  padding-left: 5px;
}

.form-inline .checkbox-replace,
.form-inline .radio-replace {
  margin-right: 20px;
}

.form-inline .checkbox-replace:last-child {
  margin-right: 0;
}

.checkbox-replace label {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  padding-left: 5px;
}

.checkbox-replace label::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  margin-left: -20px;
  margin-top: 2px;
  border: 1px solid #ced4da;
  border-radius: 3px;
  background-color: #fff;
  -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox-replace label::after {
  display: inline-block;
  position: absolute;
  width: 12px;
  height: 12px;
  left: 3px;
  top: 5px;
  margin-left: -20px;
  font-size: 11px;
  color: #555555;
}

.checkbox-replace input[type="checkbox"] {
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.checkbox-replace input[type="checkbox"]:focus+label::before {
  outline: 0 none;
}

.checkbox-replace input[type="checkbox"]:checked+label::after {
  background-color: #ced4da;
  content: "";
}

.checkbox-replace input[type="checkbox"]:disabled+label {
  opacity: 0.65;
}

.checkbox-replace input[type="checkbox"]:disabled+label::before {
  background-color: #f7f7f7;
  cursor: not-allowed;
}

.checkbox-replace.checkbox-inline {
  margin-top: 0;
}

.checkbox-primary label::before {
  border-color: #3f51b5;
}

.checkbox-primary input[type="checkbox"]:checked+label::after {
  background-color: #3f51b5;
}

.checkbox-danger label::before {
  border-color: #ff4081;
}

.checkbox-danger input[type="checkbox"]:checked+label::after {
  background-color: #ff4081;
}

.checkbox-info label::before {
  border-color: #5bc0de;
}

.checkbox-info input[type="checkbox"]:checked+label::after {
  background-color: #5bc0de;
}

.checkbox-warning label::before {
  border-color: #f6ce13;
}

.checkbox-warning input[type="checkbox"]:checked+label::after {
  background-color: #f6ce13;
}

.checkbox-success label::before {
  border-color: #409444;
}

.checkbox-success input[type="checkbox"]:checked+label::after {
  background-color: #409444;
}

.radio-replace {
  padding-left: 20px;
}

.radio-replace label {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  padding-left: 5px;
}

.radio-replace label::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  margin-left: -20px;
  margin-top: 2px;
  border: 1px solid #ced4da;
  border-radius: 50%;
  background-color: #fff;
  -webkit-transition: border 0.15s ease-in-out;
  -o-transition: border 0.15s ease-in-out;
  transition: border 0.15s ease-in-out;
}

.radio-replace label::after {
  display: inline-block;
  position: absolute;
  content: " ";
  width: 12px;
  height: 12px;
  left: 3px;
  top: 5px;
  margin-left: -20px;
  border-radius: 50%;
  background-color: #ced4da;
  -webkit-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  -o-transform: scale(0, 0);
  transform: scale(0, 0);
  -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
  -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
  -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
  transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
}

.radio-replace input[type="radio"] {
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.radio-replace input[type="radio"]:focus+label::before {
  outline: 0 none;
}

.radio-replace input[type="radio"]:checked+label::after {
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  transform: scale(1, 1);
}

.radio-replace input[type="radio"]:disabled+label {
  opacity: 0.65;
}

.radio-replace input[type="radio"]:disabled+label::before {
  cursor: not-allowed;
}

.radio-replace.radio-inline {
  margin-top: 0;
}

.radio-primary input[type="radio"]+label::after {
  background-color: #3f51b5;
}

.radio-primary input[type="radio"]:checked+label::before {
  border-color: #3f51b5;
}

.radio-primary input[type="radio"]:checked+label::after {
  background-color: #3f51b5;
}

.radio-danger input[type="radio"]+label::after {
  background-color: #ff4081;
}

.radio-danger input[type="radio"]:checked+label::before {
  border-color: #ff4081;
}

.radio-danger input[type="radio"]:checked+label::after {
  background-color: #ff4081;
}

.radio-info input[type="radio"]+label::after {
  background-color: #5bc0de;
}

.radio-info input[type="radio"]:checked+label::before {
  border-color: #5bc0de;
}

.radio-info input[type="radio"]:checked+label::after {
  background-color: #5bc0de;
}


.radio-warning input[type="radio"]+label::after {
  background-color: #f6ce13;
}

.radio-warning input[type="radio"]:checked+label::before {
  border-color: #f6ce13;
}

.radio-warning input[type="radio"]:checked+label::after {
  background-color: #f6ce13;
}

.radio-success input[type="radio"]+label::after {
  background-color: #409444;
}

.radio-success input[type="radio"]:checked+label::before {
  border-color: #409444;
}

.radio-success input[type="radio"]:checked+label::after {
  background-color: #409444;
}

.form-horizontal .checkbox,
.form-horizontal .checkbox-inline,
.form-horizontal .radio,
.form-horizontal .radio-inline {
  padding-top: 7px;
  margin-top: 0;
  margin-bottom: 0;
}

.form-horizontal .form-inline .checkbox,
.form-horizontal .form-inline .checkbox-inline,
.form-horizontal .form-inline .radio,
.form-horizontal .form-inline .radio-inline {
  padding-top: 0;
}

.form-horizontal .checkbox,
.form-horizontal .radio {
  min-height: 27px;
}

/*Form wizard*/

.form-wizard .tab-content .pager.wizard .first a {
  margin-right: 8px;
}

.form-wizard .tab-content .pager.wizard .last a {
  margin-left: 8px;
}

.wizard-navbar {
  margin: 60px auto 20px;
}

.wizard-navbar>ul {
  display: table;
  width: 100%;
  text-align: center;
  margin: 0;
  font-weight: 600;
  padding: 0;
  list-style: none outside none;
  table-layout: fixed;
}

.wizard-navbar>ul li {
  display: table-cell;
  width: 1%;
  position: relative;
}

.wizard-navbar>ul li a {
  color: #a2a2a2;
  position: relative;
  padding: 0 10px;
  display: block;
  text-decoration: none;
}

.wizard-navbar>ul li a span.wz-number {
  background-color: #eeeeee;
  border-radius: 50%;
  color: #898b8f;
  display: block;
  height: 40px;
  left: 50%;
  line-height: 40px;
  margin-left: -20px;
  margin-top: -50px;
  position: absolute;
  text-align: center;
  transition: all 300ms ease-in-out 0s;
  -webkit-transition: all 300ms ease-in-out 0s;
  -o-transition: all 300ms ease-in-out 0s;
  -moz-transition: all 300ms ease-in-out 0s;
  width: 40px;
  z-index: 5;
}

.wizard-navbar>ul li.completed a span.wz-number {
  background-color: #3f51b5;
  color: #FFF;
}

.wizard-navbar>ul li a.active span.wz-number {
  background-color: #ff4081;
  color: #FFF;
}

.wizard-navbar>ul li a.active,
.wizard-navbar>ul li.completed a {
  color: #505050;
}

.wizard-navbar>ul li a:before,
.wizard-navbar>ul li a:after {
  content: '';
  position: absolute;
  height: 4px;
  width: 50%;
  background-color: #eeeeee;
  top: -32px;
  left: 0;
}

.wizard-navbar>ul li a:after {
  left: auto;
  right: 0;
}

.wizard-navbar>ul li a.active:before,
.wizard-navbar>ul li a.active:after {
  background-color: #ff4081;
}

.wizard-navbar>ul li.completed a:before,
.wizard-navbar>ul li.completed a:after {
  background-color: #3f51b5;
}

label.error {
  display: block;
  color: #FF0000;
  font-weight: 400;
  margin: 5px 0;
}

@media screen and (max-width: 479px) {
  .wizard-navbar>ul li a span.wz-label {
    visibility: hidden;
  }

  .wizard-navbar>ul li a.active span.wz-label {
    visibility: visible;
  }
}