.greyscale {
  color: #fff;
  font-weight: 600;
  font-variant: small-caps;
  font-size: 17px;
}

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

.loaderDiv {
  border-radius: 10px;
}

.color-slide {
  margin: auto;
}

.question {
  padding-left: 5px;
  cursor: pointer;
}

.question:hover {
  color: #00c4cc !important;
  transition: 0.6s;
}

.workspace {
  position: relative;
}

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

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

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

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

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

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%;
}

/* START POPUP */

.popup1,
.popup2,
.popup3,
.popup4,
.popup5,
.popup6,
.popup7 {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.popup1 .popuptext,
.popup2 .popuptext2,
.popup3 .popuptext3,
.popup4 .popuptext4,
.popup5 .popuptext5,
.popup6 .popuptext6,
.popup7 .popuptext7 {
  visibility: hidden;
  width: 300px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -147px;
}

.popup1 .popuptext::after,
.popup2 .popuptext2::after,
.popup3 .popuptext3::after,
.popup4 .popuptext4::after,
.popup5 .popuptext5::after,
.popup6 .popuptext6::after,
.popup7 .popuptext7::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.popup1 .show,
.popup2 .show,
.popup3 .show,
.popup4 .show,
.popup5 .show,
.popup6 .show,
.popup7 .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* END POPUP */

@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%;
  }
}