

label {
    cursor: pointer;
}

.filp_chekbox label {
    position: relative;
    height: 50px;
    display: inline-block;
    width: 50px;
    margin: 0;
    cursor: pointer;
    transition: all ease-in-out 0.5s;
}

.filp_chekbox label svg {
    position: absolute;
    left: 0px;
    transition: all ease-in-out 0.5s;
}



.filp_chekbox input:checked ~ label svg polyline {
    opacity: 1!important;
    visibility: visible!important;
    transition: all ease-in-out 0.5s;

}

.filp_chekbox input:checked ~ label .redxsvg line {
    opacity: 0;
    visibility: hidden;
}

.filp_chekbox .text_box {
    position: absolute;
    width: 150px;
    text-align: left;
    top: 50%;
    margin-top: -10px;
    left: 0;
    transform: translateX(60px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all ease-in-out 0.5s;
    margin-left: 5px
}

.filp_chekbox .text_box:after {
    content: attr(data-text);
    pointer-events: none;
    transition: all ease-in-out 0.5s;
}

.filp_chekbox input:checked ~ label .text_box {
    margin-left: 0px;
}
.filp_chekbox input:checked ~ label .text_box:after {
    content: "yes";
}

.filp_chekbox input:checked ~ label circle {
    fill: #73c124;
    stroke:none;
    transform: rotateY(0deg);
}

.filp_chekbox.line-through  .text_box:before {
    content: "";
    height: 2px;
    background: #000;
    display: block;
    top: 50%;
    position: absolute;
    width: 0px;
    margin-top: -0.8px;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 0.4s;
}

.filp_chekbox.line-through input:checked ~ label .text_box:before  {
    opacity: 1;
    visibility: visible;
    width: 35px;
} 









/**normal_chebox**/
.normal_chebox {
  display: inline-flex;
  margin: 30px 40px;
}
.normal_chebox input {
    height: 40px;
    width: 40px;
    margin: 0px;
    border: 6px solid #000;
}

.normal_chebox label {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 19px;
    transform: translateX(10px);
    transition: all ease-in-out 0.4s;
}
.normal_chebox .text_box {
    position: relative;
    font-weight: 500;
}
.normal_chebox .text_box:after {
    content: attr(data-text);
    
}

.normal_chebox.chagle_text input:checked ~ label {
    transform: translateX(15px);
}

.normal_chebox.chagle_text input:checked ~ label .text_box:after {
  content: "checked";
}



.normal_chebox.line-through .text_box:before {
    content: "";
    height: 2px;
    background: #0075ff;
    display: block;
    top: 50%;
    position: absolute;
    width: 0px;
    margin-top: -0.8px;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 0.4s;
}

.normal_chebox.line-through input:checked ~ label .text_box:before  {
    opacity: 1;
    visibility: visible;
    width: 100%;
} 


/* box_chebox */
.box_chebox input {
    display: none;
}

.box_chebox label {
    position: relative;
}

.box_chebox label:before {
    content: "";
    width: 40px;
    height: 40px;
    background: #fff;
    margin-right: 15px;
    border: none;
    border: 1px solid #eaeaea;
    background:#fff;
    border-radius: 3px;
    transition: all ease-in-out 0.4s;
}


.box_chebox label:after {
 content: '';
 position: absolute;
 border: solid #f3f3f3;
 border-width: 0px 0px 3px 3px;
 display: inline-block;
 top: 50%;
 transform: rotate(-48deg);
 -webkit-transform: rotate(-48deg);
 width: 14px;
 height: 8px;
 left: 12px;
 top: 50%;
 margin-top: -5px;

}
.box_chebox input:checked ~ label:before {
    background: #2647ff;
    border-color: #2647ff;
    transform: rotateZ(145deg);
}
.box_chebox input:checked ~ label:after {
    border-color: #fff;
    width: 18px;
    height: 10px;
    margin-top: -8px;
} 

.box_round label:before {
    border-radius: 50px;
    border-color: #eaeaea;

}


.normal_chebox_svg input {
    display: none;
}

.normal_chebox_svg svg {
    fill: none;
    stroke-width: 2.5;
    stroke: #2647ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 30px;
    height: 30px;
    display: block;
    z-index: 1;
    stroke-dashoffset: 162.6;
    stroke-dasharray: 0 162.6 28 134.6;
    -webkit-transition: all .4s ease-in-out .2s;
    transition: all .4s ease-in-out .2s;
    margin-right: 7px;
}

.normal_chebox_svg input:checked ~ label svg {
 stroke-dasharray: 310px 150px
}


.normal_chebox_svg_2.normal_chebox_svg input:checked ~ label svg {
    stroke-dasharray: 100px 0px;
}


.normal_chebox_svg_3.normal_chebox_svg input:checked ~ label svg {
    stroke-dasharray: 200px 0px;
}


.normal_chebox_svg_4 svg {
    opacity: 0;
    visibility: hidden;
    stroke-dashoffset: 170;
    stroke-dasharray: 180px 250px;
    background: #fff;
}


.normal_chebox_svg_4 .close_normal_chebox_svg_4 {
    transition: all ease-in-out 0.5s;
}

.normal_chebox_svg_4 .close_normal_chebox_svg_4:before,
.normal_chebox_svg_4 .close_normal_chebox_svg_4:after {
    content: '';
    position: absolute;
    border: solid red;
    border-width: 0px 0px 3px 0px;
    display: inline-block;
    top: 50%;
    transform: rotate(-48deg);
    -webkit-transform: rotate(-48deg);
    width: 13px;
    height: 8px;
    left: 12px;
    top: 50%;
    margin-top: -5px;
    transition: all ease-in-out 0.4s;
}


.normal_chebox_svg_4 .close_normal_chebox_svg_4:before {
    transform: rotate(42deg);
    -webkit-transform: rotate(42deg);
    left: 16px;
}

.normal_chebox_svg_4.normal_chebox_svg input:checked ~ label .close_normal_chebox_svg_4  {
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
}
.normal_chebox_svg_4.normal_chebox_svg input:checked ~ label svg  {
  opacity: 1;
  visibility: visible;
  transition: all ease-in-out 0.4s;

}

.normal_chebox_svg_4.normal_chebox_svg input:checked ~ .close_normal_chebox_svg_4:after, 
.normal_chebox_svg_4.normal_chebox_svg input:checked ~ .close_normal_chebox_svg_4:before {
    content: none;
    transition: all ease-in-out 0.4s;
}


/* tooltip_chebox_button */

.tooltip_chebox_button.bg-no label {
    background: transparent;
    color: #000;
}

.tooltip_chebox_button {
    margin: 0px 40px;
}
.tooltip_chebox_button input {
    display: none;
}

.tooltip_chebox_button  {
    display: inline-flex;
    position: relative;
}


.tip {
    margin: 0;
    background: #9C27B0;
    padding: 10px;
    color: #fff;
    position: absolute;
    right: 0;
    left: 0;
    top: 20px;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all ease-in-out 0.5s;
}

.tip:after {
    content: "";
    border-left: 9px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #9c27b0;
    position: absolute;
    right: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0 auto;
    bottom: -9px;
}

.tooltip_chebox_button label {
    margin: 0px;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-transform: capitalize;
    letter-spacing: 1px;
}


.tooltip_chebox_button input:checked ~ .tip {
    opacity: 1;
    visibility: visible;
    top: -60px;
}

/** tooltip_bottom **/

.tooltip_chebox_button.tooltip_bottom input:checked ~ .tip {
    opacity: 1;
    visibility: visible;
    top: 60px;
}

.tooltip_chebox_button.tooltip_bottom .tip:after {
    border-bottom: 10px solid #9c27b0;
    top: -19px;
    border-top: 10px solid transparent;
}

.tooltip_chebox_button.tooltip_bottom input:checked ~ .tip:after {
  bottom: 0px;
  top: -19px;
}


/** tooltip_right **/

.tooltip_chebox_button.tooltip_right input:checked ~ .tip {
 opacity: 1;
 visibility: visible;
 right: 0;
 top: auto;
 left: auto;
 transform: translateX(160px);

}

.tooltip_chebox_button.tooltip_right .tip {
    top: auto;
}

.tooltip_chebox_button.tooltip_right .tip:after {
    content: "";
    border-top: 10px solid transparent;
    border-right: 10px solid #9c27b0;
    border-bottom: 10px solid transparent;
    position: absolute;
    right: auto;
    left: -19px;
    width: 0;
    height: 0;
    margin: 0 auto;
    bottom: auto;;
}



/** tooltip_left **/

.tooltip_chebox_button.tooltip_left input:checked ~ .tip {
   opacity: 1;
   visibility: visible;
   left: 0;
   top: auto;
   right: auto;
   transform: translateX(-160px);

}

.tooltip_chebox_button.tooltip_left .tip {
    top: auto;
}

.tooltip_chebox_button.tooltip_left .tip:after {
    content: "";
    border-top: 10px solid transparent;
    border-left: 10px solid #9c27b0;
    border-bottom: 10px solid transparent;
    position: absolute;
    left: auto;
    right: -19px;
    width: 0;
    height: 0;
    margin: 0 auto;
    bottom: auto;;
}



/*checkbox_normal*/
.checkbox_normal {
    display: inline-flex;
}

.checkbox_normal input {
    display: none;
}

.checkbox_normal label {
  width: 80px;
  background: #0a0707;
  color: #fff;
  transition: all ease-in-out 0.4s;
  margin: 0;
  height: 40px;
  line-height: 40px;
}

.checkbox_normal_round label  {
   width: 60px;
   background: #0a0707;
   color: #fff;
   transition: all ease-in-out 0.4s;
   margin: 0;
   height: 60px;
   line-height: 60px;
   border-radius: 50px;
}


.checkbox_normal input:checked ~ label  {
    transform: scale(1.1);
    background: yellowgreen;
    
}

.checkbox_normal input:checked ~ label:after {
  content: attr(data-text);
}

.checkbox_normal input:checked ~ label span {
   opacity: 0;
   visibility: hidden;
   display: none;

}




.checkbox_normal.bg_border label {
  background: transparent;
  color: #000;
  border: 2px solid;
 
}

.checkbox_normal.bg_border input:checked ~ label {
    background: transparent;
}

.checkbox_slider_on_of input {
    display: none;
}


.checkbox_slider_on_of label {
    margin: 0;
    background: #000;
    padding: 10px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;

}

.checkbox_slider_on_of label:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    background: yellowgreen;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 0.5s;
    transform: translateY(-50px);
    
}


.checkbox_slider_on_of label span {
    position: relative;
    z-index: 9;
    transition: all ease-in-out 0.4s;
}

.checkbox_slider_on_of input:checked ~ label:after  {
    opacity: 1;
    visibility: visible;
    transition: all ease-in-out 0.4s;
    transform: translateY(0px);
}

.checkbox_slider_on_of input:checked ~ label:after {
  line-height: 40px;
  background: yellowgreen;
  z-index: 9;
  content: attr(data-text);
}



/* slide_bottom*/
.checkbox_slider_on_of.slide_bottom label:after {
  transform: translateY(50px);
}

/* slide_left*/
.checkbox_slider_on_of.slide_left label:after {
  transform: translateX(-50px);
}

/* slide_right*/
.checkbox_slider_on_of.slide_right label:after {
  transform: translateX(50px);
}


/* checkbox_svg_slider_box */
.checkbox_svg_slider {
    width: 120px;
    height: 65px;
    position: relative;
    margin: 20px auto;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: whitesmoke;
}

.checkbox_svg_slider label {
   position: absolute;
   left: 60px;
   top: 4px;
   width: 56px;
   height: 56px;
   border-radius: 50px;
   background: red;
   cursor: pointer;
   margin: 0;
   transition: ease-in-out 0.5s;
}

.checkbox_svg_slider svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.checkbox_svg_slider svg path {
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 4;
  -webkit-transition: opacity 0.1s;
  transition: opacity 0.1s;
  fill: none;
  -webkit-transition: stroke-dashoffset 0.2s;
  transition: stroke-dashoffset 0.2s;
}

.checkbox_svg_slider .checkmark path {
  opacity: 0;
}

.checkbox_svg_slider .checkmark path:first-child{
  stroke-dashoffset: 27px;
}

.checkbox_svg_slider .checkmark path:last-child{
  stroke-dashoffset: 11px;
}

.checkbox_svg_slider .cross path {
  opacity: 1;
  stroke-dashoffset: 0px;
}

.checkbox_svg_slider input[type=checkbox] {
  display: none;
}

.checkbox_svg_slider input[type=checkbox]:checked + label {
  left: 4px;
  background: yellowgreen;
}

.checkbox_svg_slider input[type=checkbox]:checked + label .checkmark path {
  opacity: 1;
  stroke-dashoffset: 0px;
  stroke: #fff
}

.checkbox_svg_slider input[type=checkbox]:checked + label .cross path {
  opacity: 0;
  stroke-dashoffset: 13px;
  stroke: #fff
}

.checkbox_svg_slider_box label,
.checkbox_svg_slider_box {
    border-radius: 0px;
}