.cmp-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 10%;
  background: #fff;
  width: 550px;
  box-shadow: 0 0 20px 0 rgba(97, 97, 97, 0.5);
  padding: 0;
  z-index: 500;
  margin: 0 auto;
  display: none;
  /*@include transition();*/
  padding-top: 10px;
  padding-bottom: 10px;
}

.cmp-modal-large {
  width: 730px;
}

.cmp-modal-small {
  width: 420px;
}

.cmp-modal-set {
  overflow: auto;
  max-height: 480px;
}

.cmp-modal-background {
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0;
  display: none;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
}

.cmp-modal-header {
  padding: 0px 20px 0px 20px;
}

.cmp-modal-header h3 {
  margin: 0 0 5px 0;
}

.cmp-modal-header p {
  margin: 0;
  font-size: 13px;
}

.cmp-modal-content {
  padding: 10px 20px;
}

.cmp-modal-content h4 {
  margin: 0 0 10px 0;
}

.cmp-modal-content .form-field-checkbox {
  margin: 0;
}

.cmp-modal-content .form-field-checkbox span {
  color: #333;
}

.cmp-modal-footer {
  padding: 0px 20px;
}

.cmp-modal-footer .btn {
  width: auto;
  padding: 0.8em 2em;
}

.cmp-modal-footer .btn-fullwidth {
  width: 100%;
  padding: 0.8em 2em;
}

.cmp-modal-footnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.cmp-modal-footnav ul li {
  display: inline-block;
  font-size: 12px;
  border-right: 1px solid #333;
  padding: 0 5px 0 3px;
  line-height: 10px;
}

.cmp-modal-footnav ul li:last-child {
  border: 0;
}

.form-field-readonly {
  color: #999;
}

.form-field-readonly .checkmark:after {
  border: solid #999;
  border-width: 0 3px 3px 0;
}

/* The switch - the box around the slider */
.input-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Hide default HTML checkbox */
.input-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.input-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 24px;
}

.input-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .input-slider {
  background-color: #5cb200;
}

input:checked + .input-slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

@media (max-width: 767px) {
  .cmp-modal {
    top: 12%;
    bottom: 10px;
  }
  .cmp-modal-large {
    width: 98%;
  }
  .cmp-modal-small {
    width: 98%;
  }
  .cmp-modal-set {
    overflow: auto;
    max-height: 480px;
    height: 100%;
  }
}