
/* ==========================================================================
  ToggleSwitch
 ========================================================================= */




  .toggleSwitch {
    height: 23px;
    position: relative;
    overflow: visible;
    padding: 0;
    cursor: pointer;
    width: 50px;
    border-radius: 50px;
  }

  .toggleSwitch label,
  .toggleSwitch > span {
    line-height: 20px;
    height: 20px;
    vertical-align: middle;
  }

  .toggleSwitch input:focus ~ a,
  .toggleSwitch input:focus + label {
    outline: none;
  }

  .toggleSwitch label {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
  }

  .toggleSwitch input {
    position: absolute;
    visibility: hidden;
    z-index: 5;
    top: 50%;
    margin-top: -7px;
  }
 
  .toggleSwitch > span span {
     position: absolute;
     z-index: 5;
     display: block;
     text-align: left;
     font-size: 10px;
     width: 100%;
     left: 8px;
     top: 50%;
     visibility: hidden;
     margin-top: -10px;
}

.toggleSwitch a {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    height: 15px;
    width: 15px;
    background: #fff;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background: #444;
    left: 6px;
    }

  .toggleSwitch > span span:first-of-type {
    visibility: visible;
    text-align: right;
    left: auto;
    right: 6px;
   
  }

  .toggleSwitch > span:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #fff;
    border: 1px solid #444;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }

  .toggleSwitch input[type=checkbox]:checked ~ a,
  .toggleSwitch input[type=radio]:checked ~ a {
    border-color: #62c32d;
    left: 100%;
    margin-left: -20px;
    background: #62c32d;
  }

  .toggleSwitch input[type=checkbox]:checked ~ span:before,
  .toggleSwitch input[type=radio]:checked ~ span:before {
    border-color: #62c32d;
   
  }

  .toggleSwitch input[type=checkbox]:checked ~ span span:first-of-type,
  .toggleSwitch input[type=radio]:checked ~ span span:first-of-type {
    visibility: hidden;
  }

  .toggleSwitch input[type=checkbox]:checked ~ span span:last-of-type,
  .toggleSwitch input[type=radio]:checked ~ span span:last-of-type {
    visibility: visible;
    
  }

  .toggleSwitch-con{
    display: inline-block;
  }

  .toggleSwitch-con .text{
    margin: 0 7px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0px;
    display: inline-block;
    vertical-align: 12px;
    cursor: pointer;
  }

  .toggleSwitch-md .toggleSwitch{
    height: 30px;
    width: 60px;
}

.toggleSwitch-md .toggleSwitch > span span:first-of-type{
    right: 10px;
}

.toggleSwitch-md .toggleSwitch a{
    width: 20px;
    height: 20px;
    margin-top: -10px;
}

.toggleSwitch-md .toggleSwitch input[type=checkbox]:checked ~ a,
.toggleSwitch-md .toggleSwitch input[type=radio]:checked ~ a{
    margin-left: -24px;
}

.toggleSwitch-md .text{
    vertical-align: 16px
}


.toggleSwitch-lg .toggleSwitch{
    height: 40px;
    width: 70px;
}

.toggleSwitch-lg .toggleSwitch > span span:first-of-type{
    right: 10px;
    left: auto;
}

.toggleSwitch-lg .toggleSwitch a{
    width: 25px;
    height: 25px;
    margin-top: -13px;
}

.toggleSwitch-lg .toggleSwitch input[type=checkbox]:checked ~ a,
.toggleSwitch-lg .toggleSwitch input[type=radio]:checked ~ a{
    margin-left: -30px;
}

.toggleSwitch-lg .text{
    vertical-align: 20px
}


.bg-default.toggleSwitch > span:before{
    background:#dedede;
    border:1px solid transparent;
}

.bg-primarys.toggleSwitch > span:before{
    background:#7376f0;
    border:1px solid transparent;
}

.bg-success.toggleSwitch > span:before{
   background: #62da73;
   border:1px solid transparent;
}

.bg-info.toggleSwitch > span:before{
    background: #86c8fd;
    border:1px solid transparent;
}

.bg-danger.toggleSwitch > span:before{
    background: #ff1d17;
    border:1px solid transparent;
}

.bg-warning.toggleSwitch > span:before{
    background: #ffcc42;
    border:1px solid transparent;
}

.bg-default.toggleSwitch input[type=checkbox]:checked ~ a, .bg-default.toggleSwitch input[type=radio]:checked ~ a,
.bg-primarys.toggleSwitch input[type=checkbox]:checked ~ a, .bg-primarys.toggleSwitch input[type=radio]:checked ~ a,
.bg-success.toggleSwitch input[type=checkbox]:checked ~ a, .bg-success.toggleSwitch input[type=radio]:checked ~ a,
.bg-info.toggleSwitch input[type=checkbox]:checked ~ a, .bg-info.toggleSwitch input[type=radio]:checked ~ a,
.bg-danger.toggleSwitch input[type=checkbox]:checked ~ a, .bg-danger.toggleSwitch input[type=radio]:checked ~ a,
.bg-warning.toggleSwitch input[type=checkbox]:checked ~ a, .bg-warning.toggleSwitch input[type=radio]:checked ~ a{
     border-color: #fff;
    background: #fff;
}

.bg-default.toggleSwitch a, 
.bg-primarys.toggleSwitch a,
.bg-success.toggleSwitch a,
.bg-info.toggleSwitch a,
.bg-danger.toggleSwitch a,
.bg-warning.toggleSwitch a{
      background: rgba(0, 0, 0, 0.08);
      border-color: rgba(0, 0, 0, 0.08);
      color: #fff;
}
.bg-default.toggleSwitch span, 
.bg-primarys.toggleSwitch span,
.bg-success.toggleSwitch span,
.bg-info.toggleSwitch span,
.bg-danger.toggleSwitch span,
.bg-warning.toggleSwitch span{
    color: #fff;
}

.bg-default.toggleSwitch input[type=checkbox]:checked ~ span:before,
.bg-primarys.toggleSwitch input[type=checkbox]:checked ~ span:before,
.bg-success.toggleSwitch input[type=checkbox]:checked ~ span:before,
.bg-info.toggleSwitch input[type=checkbox]:checked ~ span:before,
.bg-danger.toggleSwitch input[type=checkbox]:checked ~ span:before,
.bg-warning.toggleSwitch input[type=checkbox]:checked ~ span:before,

.bg-default.toggleSwitch input[type=radio]:checked ~ span:before,
.bg-primarys.toggleSwitch input[type=radio]:checked ~ span:before,
.bg-success.toggleSwitch input[type=radio]:checked ~ span:before,
.bg-info.toggleSwitch input[type=radio]:checked ~ span:before,
.bg-danger.toggleSwitch input[type=radio]:checked ~ span:before,
.bg-warning.toggleSwitch input[type=radio]:checked ~ span:before{
    border:1px solid transparent;
}



.roun-toggle .toggleSwitch > span:before{
    border-radius: 50px;
}

.toggleSwitch a.box{
    transform: rotate(39deg);
    width: 20px;
    height: 20px;
    margin-top: -11px;
    border-radius: 5px;
    left: 10px;
}

.toggleSwitch a.full-cover{
    height: 100%;
    margin-top: auto;
    border-radius: 0px;
    top: 0px;
    width: 25px;
    left: auto;
}

.toggleSwitch-lg .toggleSwitch input[type=checkbox]:checked ~ a.full-cover, .toggleSwitch-lg .toggleSwitch input[type=radio]:checked ~ a.full-cover{
    margin-left: -25px;
}

.toggleSwitch-lg .toggleSwitch > span span{
    left: 10px;
}

.toggleSwitch a.icon-use{
   background: transparent;
   border: 0px;
   margin-top: -11px;

}



a.icon-use:after{
    font-family: "fontawesome";
   content: '\f0f3';

}


.toggleSwitch-lg .toggleSwitch input[type=checkbox]:checked ~ a.icon-use, .toggleSwitch-lg .toggleSwitch input[type=radio]:checked ~ a.icon-use{
    background: transparent;
    border: 0px;
   
}

.toggleSwitch-lg .toggleSwitch input[type=checkbox]:checked ~ a.icon-use:after, .toggleSwitch-lg .toggleSwitch input[type=radio]:checked ~ a.icon-use:after{
     content: '\f0a2'; 

}


.toggleSwitch  a.box-full{
    border-radius: 0px; 
}