.dark-mode .btn-outline-primary {
  border-color: #2a6dff;
}

label.required:after {
  content: "*";
  color: red;
}

/*upload image*/

.image-upload {
  border: 2px dashed #d4d8dd;
  border-radius: 5px;
  width: 100%;
  position: relative;
  padding: 1.5rem;
  cursor: pointer;
  border-radius: 0.3125rem;
}

.input-upload {
  display: none;
}

.label-upload {
  width: 100%;
}

.dz-message {
  width: 100%;
  text-align: center;
  margin: 0 !important;
}

.dz-message i {
  font-size: 50px;
}

.img-upload {
  max-height: 200px;
  max-width: 100%;
  position: relative;
}

.btn-upload {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 100;
  background: #fff;
}

.display-none {
  display: none !important;
}

.display-block {
  display: block !important;
}

.d-upload-image .bx {
  font-size: 50px;
}

.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.button {
  position: relative;
  width: 54px;
  height: 28px;
  overflow: hidden;
}

.button.button-r,
.button.button-r .layer {
  border-radius: 100px;
}

.button.b2 {
  border-radius: 2px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ec2d374d;
  transition: 0.3s ease all;
  z-index: 1;
}

/* Button 1 */

.btn-switch .knobs:before {
  content: "OFF";
  position: absolute;
  display: flex;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  color: #fff;
  font-size: 8px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #ec2d38;
  transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

.btn-switch .checkbox:checked + .knobs:before {
  content: "ON";
  left: 28px;
  background-color: green;
}

.btn-switch .checkbox:checked ~ .layer {
  background-color: #0080004d;
}

.btn-switch .knobs,
.btn-switch .knobs:before,
.btn-switch .layer {
  transition: 0.3s ease all;
}

