/* Using checkbox
	<div class="checkbox_container">
		<input name="network" id="foobar" type="checkbox" />
		<span class="checkbox"></span>
		<div class="filter-label">
			<label for=foobar>gitcoin</label>
		</div>
	</div>
*/

.filter-label {
  display: inline-block;
  margin-left: 10px;
}

.checkbox_container .checkbox:after {
  left: 4px;
  top: 0px;
  width: 5px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkbox_container input {
  position: absolute;
  opacity: 0;
  height: 20px;
  width: 100%;
  z-index: 1;
}

.checkbox {
  position: relative;
  display: inline-block !important;
  left: 0px;
  top: 3px;
  height: 15px;
  width: 15px;
  background-color: #F2F6F9;
  border: 1px solid black;
  border-radius: 2px;
}

.checkbox::after {
  content: '';
  position: absolute;
  display: none;
}

.checkbox_container input:checked ~ .checkbox {
  background-color: black;
}

.checkbox_container input:checked ~ .checkbox:after {
  display: block;
}

/* Below needs refactoring */

.checkbox .checkbox-label {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  margin-bottom: 0;
  width: 100%;
}

.checkbox .checkbox-label::before {
  background-color: #fff;
  border: 1px solid #0d023b;
  content: '';
  display: inline-block;
  height: 18px;
  margin-right: 10px;
  transition: all 0.04s linear;
  vertical-align: text-top;
  width: 18px;
}

.checkbox .checkbox-input {
  position: absolute;
  opacity: 0;
}

.checkbox .checkbox-input:checked + .checkbox-label::before {
  background-color: #26cd7f;
  border: 3px solid #36E69B;
}
