/*@import("https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.0/css/bootstrap.min.css") */

.funkyradio div {
    clear: both;
    overflow: hidden;
    display: inline-flex !important;
    font-size: 11px;
    background-color: #fff;
    /*padding-right: 5px;*/
  }
  .tooltip-inner{
     background-color: black !important;
  }
  
  .funkyradio label {
    width: 100%;
    /*border-radius: 3px;*/
    border: 1px solid #D1D3D4;
    font-weight: normal;
  }
  
  .funkyradio input[type="radio"]:empty,
  .funkyradio input[type="checkbox"]:empty {
    display: none;
  }
  
  .funkyradio input[type="radio"]:empty ~ label{
    position: relative;
    line-height: 1.95em;
    text-indent: 2.5em;
    /*text-indent: 2.5em;*/
	  padding-left:0px;
    /*margin-top: 0.1em;*/
    padding-right: 7px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }



  .funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 1.95em;
    /*text-indent: 0.6em;*/
    text-indent: 2.5em;
	  padding-left:0px;
    /*margin-top: 0.1em;*/
    padding-right: 7px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  
  .funkyradio input[type="radio"]:empty ~ label:before {
    font-family: fontAwesome;
    content: '\f192' !important;
    color: #888;
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.0em;
    background:#f5f5f5;
    padding-top: 1px;
    text-indent: 0.5em;
  }



  .funkyradio input[type="checkbox"]:empty ~ label:before {
    font-family: fontAwesome;
    content: '\f00c' !important;
    color: #888;
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.0em;
    background:#f5f5f5;
    padding-top: 1px;
    text-indent: 0.5em;
  }
  .label_switch {
    font-family: fontAwesome;
    content: '\f00c' !important;
    color: #888;
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.0em;
    background:#f5f5f5;
    padding-top: 1px;
    text-indent: 0.5em;
  }
  
  .funkyradio input[type="radio"]:hover:not(:checked) ~ label,
  .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
  }
  
  .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    font-family: fontAwesome;
    content: '\f00c';
    text-indent: 0.6em;
    color: #C2C2C2;
    padding-top: 1px;
  }
  .funkyradio input[type="checkbox"]:checked ~ label:before {
    font-family: fontAwesome;
    content: '\f00c';
    text-indent: 0.6em;
    color: #333;
    background-color: #ccc;
    padding-top: 1px;
  }


  .funkyradio input[type="radio"]:hover:not(:checked) ~ label:before{
    font-family: fontAwesome;
    content: '\f192';
    text-indent: 0.6em;
    color: #C2C2C2;
    padding-top: 1px;
  }
  .funkyradio input[type="radio"]:checked ~ label:before {
    font-family: fontAwesome;
    content: '\f192';
    text-indent: 0.6em;
    color: #333;
    background-color: #ccc;
    padding-top: 1px;
  }

  
  .funkyradio input[type="radio"]:checked ~ label,
  .funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
  }

  .funkyradio input[type="checkbox"]:disabled ~ label {
    cursor: not-allowed;
    background-color: #f5f5f5 !important;
  }
    
  
  .funkyradio input[type="radio"]:focus ~ label:before,
  .funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
  }
  
  .funkyradio-default input[type="radio"]:checked ~ label:before,
  .funkyradio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
  }
  
  .funkyradio-primary input[type="radio"]:checked ~ label:before,
  .funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
  }
  
  .funkyradio-success input[type="radio"]:checked ~ label:before,
  .funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
  }
  
  .funkyradio-danger input[type="radio"]:checked ~ label:before,
  .funkyradio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
  }
  
  .funkyradio-warning input[type="radio"]:checked ~ label:before,
  .funkyradio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
  }
  
  .funkyradio-orange input[type="radio"]:checked ~ label:before,
  .funkyradio-orange input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f36d12;
  }

  .funkyradio-alert-black input[type="radio"]:checked ~ label:before,
  .funkyradio-alert-black input[type="checkbox"]:checked ~ label:before {
    color: #666;
    background-color: #f9e300;
  }

  .funkyradio-info input[type="radio"]:checked ~ label:before,
  .funkyradio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: var(--main-color) !important;
	text-align:left;/*R*/
  }
  .funkyradio-center label{
	  text-align:center;
  }
  .width-auto {
   width:auto !important;/*R*/;
  }
  .width-50px {
   width:50px !important;/*R*/;
  }


  .switch_box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    
    /*max-width: 200px;*/
    /*min-width: 200px;*/
    /*height: 200px;*/
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  
  /* Switch 1 Specific Styles Start */
  /*
  .box_1{
    background: #eee;
  }
  */
  
  input[type="radio"].switch_1{
    font-size: 11px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 3.5em;
    height: 1.35em;
    background: #ddd;
    border-radius: 3em;
    position: relative;
    cursor: pointer;
    outline: none;
    margin:0px !important;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    }
    
    input[type="radio"].switch_1:checked{
    /*background: #0ebeff;*/
    background-color: var(--main-color)
    }
    
    input[type="radio"].switch_1:after{
    position: absolute;
    content: "";
    width: 1.5em;
    height: 1.35em;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
            box-shadow: 0 0 .25em rgba(0,0,0,.3);
    -webkit-transform: scale(.7);
            transform: scale(.7);
    left: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    }
    
    input[type="radio"].switch_1:checked:after{
    left: calc(100% - 1.5em);
    }
    

    input[type="checkbox"].switch_1{
      font-size: 11px;
      -webkit-appearance: none;
         -moz-appearance: none;
              appearance: none;
      width: 3.5em;
      height: 1.35em;
      background: #ddd;
      border-radius: 3em;
      position: relative;
      cursor: pointer;
      outline: none;
      margin:0px !important;
      -webkit-transition: all .2s ease-in-out;
      transition: all .2s ease-in-out;
      }
      
      input[type="checkbox"].switch_1:checked{
      /*background: #0ebeff;*/
      background-color:#3C8DBC ;
      }
      
      input[type="checkbox"].switch_1:after{
      position: absolute;
      content: "";
      width: 1.5em;
      height: 1.35em;
      border-radius: 50%;
      background: #fff;
      -webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
              box-shadow: 0 0 .25em rgba(0,0,0,.3);
      -webkit-transform: scale(.7);
              transform: scale(.7);
      left: 0;
      -webkit-transition: all .2s ease-in-out;
      transition: all .2s ease-in-out;
      }
      
      input[type="checkbox"].switch_1:checked:after{
      left: calc(100% - 1.5em);
      }


  @media (max-width: 767px){
    
    .funkyradio input[type="radio"]:checked ~ label:before {
      text-indent: 0.6em;
    }
    .funkyradio input[type="radio"]:hover:not(:checked) ~ label:before{
      text-indent: 0.6em;
    }
    .funkyradio input[type="checkbox"]:checked ~ label:before {
      text-indent: 0.6em;
    }
    .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
      text-indent: 0.6em;
    }
  }
