


/* CSS Toogle switch */

 .agi_toggleswitch {
    /*width: 10em;*/
    width: 100%;
    /*position: relative;*/
    /*display: block;*/
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 0 !important;
  /*  float: left;
    /*background: #2d3035;*/
    background: #dbdddf;
    border-radius: 3px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3),
                0 1px 0 rgba(255, 255, 255, 0.2);
 }

 
 .agi_toggleswitch input {
   position: absolute;
   opacity: 0;
 }
 div.agi_toggleswitch_option_off,
 div.agi_toggleswitch_option_na,
 div.agi_toggleswitch_option_on {
  width: 100%;
 }

 .agi_toggleswitch input + label {
   /*padding: 7px;*/
   /*padding: 1px;*/
 /*  float:left;
*/   font-weight: bold;
    text-align: center;
   color: #fff;
   cursor: pointer;
   display: block;
   width: 100%; /*33.33%;*/
 }

 .agi_toggleswitch input:checked + label {
    /*border-radius: 20px;*/
    color: #333;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    /*border-radius: 3px;*/
    border-radius: 10px;
    /*box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2);*/

  }
  .agi_toggleswitch_logo_no + label:before {
    font-family: "dashicons";
    content: "\f158";
    color: #f15123;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 20px/1;    
    vertical-align: top;
    margin-right: 5px;    
    margin-right: 0.5rem;
    }

    .agi_toggleswitch_logo_yes + label:before {
        font-family: "dashicons";
        content: "\f147";
        color: #197e05;
        display: inline-block;
        -webkit-font-smoothing: antialiased;
        font: normal 20px/1;    
        vertical-align: top;
        margin-right: 5px;    
        margin-right: 0.5rem;
        }
    
.agi_toggleswitch input:checked.agi_toggleswitch_yes + label {
    background: green;
  }
 
.agi_toggleswitch input:checked.agi_toggleswitch_no + label {
    background-color:  red;
 }

 .agi_toggleswitch  input:checked.agi_toggleswitch_unset +label {
    background-color:  grey;
 }
