﻿/** code by webdevtrick ( https://webdevtrick.com ) **/

.flpCheck {
    position: relative;  
}
.flpCheckLabel {
  user-select: none;
  padding: 6px 0px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}
/*.flpCheckLabel:hover {
  background: #fff;
}*/
.flpCheckLabel span {
  float: left;
  vertical-align: middle;
  transform: translate3d(0, 0, 0);
}
.flpCheckLabel span:first-child {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  transform: scale(1);
    border: 2px solid #cacfe7;
  transition: all 0.2s ease;
}
.flpCheckLabel span:first-child svg {
  position: absolute;
  top: 1px;
  left: 1px;
  fill: none;
  stroke: #1e9ff2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16px;
  stroke-dashoffset: 16px;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
  transform: translate3d(0, 0, 0);
}
.flpCheckLabel span:last-child {
  padding-left: 8px;
  line-height: 20px;
}
.flpCheckLabel:hover span:first-child {
  border-color: #38aaf4;
}
.flpCheckbox {
    display: none;
}
.flpCheckbox:checked + .flpCheckLabel span:first-child {
  background: #fff;
  border-color: #1e9ff2;
  animation: myAnimation 0.4s ease;
}
.flpCheckbox:checked + .flpCheckLabel span:first-child svg {
  stroke-dashoffset: 0;
}

.tick-icon {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  user-select: none;
}

@keyframes myAnimation {
  50% {
    transform: scale(0.9);
  }
}
.flpCheckLabel::selection {
    background: #fff;
}