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

.loaderDiv {
	border-radius: 10px;
}

.checkbox-methods {
  color: #fff;
  font-variant: small-caps;
  display: flex;
  justify-content: center;
  width: 350px;
  margin: 20px auto;
  border: 2px solid #777;
  background: #222;
  border-radius: 5px;
}

#method2, #method1 {
  padding: 20px;
  display: grid;
}

.checkbox-methods h3 {
  font-size: 18px;
  margin: 0px;
  font-weight: 600;
}

.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, .sharpen-cutoff {
	text-align: center;
}

#sigma, #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%;
}

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