.vector-mode label {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
}

.loaderDiv {
  border-radius: 10px;
}



.workspace {
  position: relative;
}

.prev-img {
  display: inline-block;
  margin: 1%;
  width: 47%;
}

.maskingCanvas,
#mod-img {
  padding: 10px;
}

#maskingCanvas,
#mod-img {
  border: 2px solid #777;
  background: #fff;
}

#maskingCanvas2 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.prev-img label {
  font-variant: small-caps;
  font-weight: 600;
}

.vector-mode,
.brightness-cutoff {
  text-align: center;
}

#brightness_val,
#offset_val {
  width: 50%;
}

.whatsimagr2 p {
  margin-bottom: 0px;
}

output {
  display: block;
  color: #fff;
  font-weight: 600;
  border: 2px solid #fff;
  padding: 2px 0px 5px 0px;
  width: 50px;
  border-radius: 5px;
  margin: 10px auto 0px auto;
}

.invert label {
  display: inline-block;
}

.mode-select {
  background: #222;
  width: 60%;
  margin: auto;
  border: 1px solid #777;
  border-radius: 10px;
}

/* CROP TOGGLE */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 10px auto 0px auto;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switchslider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  height: 34px;
}

.switchslider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.switchslider {
  background-color: #00c4cc;
}

input:focus+.switchslider {
  box-shadow: 0 0 1px #2196F3;
}

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

/* Rounded sliders */
.switchslider.round {
  border-radius: 34px;
}

.switchslider.round:before {
  border-radius: 50%;
}

@media (max-width: 1200px) {
  .mode-select {
    width: 70%;
  }
}

@media (max-width: 1200px) {
  .mode-select {
    width: 90%;
  }
}

@media (max-width: 800px) {
  .prev-img {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .mode-select {
    width: 95%;
  }
}