﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
*,
*:after,
*:before {
  box-sizing: border-box;
}


.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: center;*/
  margin-left: auto;
  margin-right: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.checkbox-group > * {
  margin: 0;
}

.checkbox-group-legend {
  font-size: 1.5rem;
  font-weight: 700;
  color: #9c9c9c;
  text-align: center;
  line-height: 1.125;
  margin-bottom: 1.25rem;
}

.checkbox-input {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.checkbox-input:checked + .checkbox-tile {
  border: 2px solid #000;
  background-color:#f7f7f7;
}
.checkbox-input:checked + .checkbox-tile:before {
  transform: scale(0);
  opacity: 0;
  background-color: #ffffff00;
  border-color: #ffffff00;
}
.checkbox-input:checked + .checkbox-tile .checkbox-icon, .checkbox-input:checked + .checkbox-tile .checkbox-label {
  color: #000;
}
.checkbox-input:focus + .checkbox-tile {
  border: 2px solid #000;
  background-color:#f7f7f7;
}
.checkbox-input:focus + .checkbox-tile:before {
   border: 2px solid #000;
  background-color:#f7f7f7;
}

.checkbox-tile {
  margin: 5px 3px 5px 0px;
  width: auto;
  height:  auto;
  background-color:#FFFFFF;
  display: inline-block;
  border-radius: 100px;
  position: relative;
  text-align: left;
  cursor: pointer;
  border:2px #CCCCCC solid;
  padding:10px 15px 5px 15px;
}
.checkbox-tile:before {
  content: "";
  position: absolute;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border: 0px solid #b5bfd9;
  background-color: #fff;
  border-radius: 50%;
  top: 0.25rem;
  left: 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: 0.25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.checkbox-tile:hover {
  border-color: #000;
}
.checkbox-tile:hover:before {
  transform: scale(1);
  opacity: 0;
}

.checkbox-icon {
  transition: 0.375s ease;
  color: #494949;    
  display: inline-block;
}

.checkbox-label {
    text-transform: capitalize;
    color: #555;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    position: relative;
    top: -5px;
}

.checkbox label, .radio label {
    min-height: 0;
    padding-left: 0px;
}
    
    .checkbox+.checkbox, .radio+.radio {
    margin-top: 0px;
}