.checkbox-wrapper-31:hover .check {
  stroke-dashoffset: 0;
}

.checkbox-wrapper-31 {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
}
.checkbox-wrapper-31 > svg {
  position: relative;
  top: 2px;
  cursor: pointer;
}
.checkbox-wrapper-31 .background {
  fill: #ccc;
  transition: ease all 0.3s;
  -webkit-transition: ease all 0.3s;
}
.checkbox-wrapper-31 .stroke {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 2px;
  stroke-dashoffset: 100;
  stroke-dasharray: 100;
  transition: ease all 0.3s;
  -webkit-transition: ease all 0.3s;
}
.checkbox-wrapper-31 .check {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  stroke-dashoffset: 22;
  stroke-dasharray: 22;
  transition: ease all 0.3s;
  -webkit-transition: ease all 0.3s;
}
.checkbox-wrapper-31 input[type=checkbox] {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  margin: 0;
  opacity: 0;
  -appearance: none;
  -webkit-appearance: none;
}
.checkbox-wrapper-31 input[type=checkbox] + svg .background {
  fill: #4b687d8a;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .background {
  fill: #6CBE45;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .stroke {
  stroke-dashoffset: 0;
}
.checkbox-wrapper-31 input[type=checkbox]:checked + svg .check {
  stroke-dashoffset: 0;
  stroke-width: 4px;
}

/* ------------------- Close button ------------------- */

.r-btn-close {
  margin: 0;
  border: 0;
  padding: 0;
/*  background: #0066ff;*/
  background: #DC3545;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 150ms;
}
.r-btn-close .icon-cross {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  position: relative;
  width: 50%;
  height: 50%;
}
.r-btn-close .icon-cross:before, .r-btn-close .icon-cross:after {
  content: "";
  position: absolute;
  top: 6.8px;
  left: 0;
  right: 0;
  height: 3px;
  background: #fff;
  border-radius: 6px;
}
.r-btn-close .icon-cross:before {
  transform: rotate(45deg);
}
.r-btn-close .icon-cross:after {
  transform: rotate(-45deg);
}
.r-btn-close .icon-cross span {
  display: block;
}
.r-btn-close:hover, .r-btn-close:hover {
  transform: rotateZ(90deg);
  background: #B82231;
}