﻿.wrapper {
    
    padding: 5px;
}

.toggle_radio {
    position: relative;
    margin: 4px auto;
    overflow: hidden;
    padding: 0 !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    height: 36px;
    color: #ffffff;
}

    .toggle_radio > * {
        float: left;
    }

    .toggle_radio input[type=radio] {
        display: none;
        /*position: fixed;*/
    }

    .toggle_radio label {
        font: 90%/1.618 "Source Sans Pro";
        color: #ffffff;
      
        display: block;
        width: 100px;
        height: 30px;
        margin: 3px 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        cursor: pointer;
        z-index: 999;
        background: rgb(141 141 141);
        text-align: center;
        /*margin: 0 2px;*/
        /*background: blue;*/ /*make it blue*/
    }

.toggle_option_slider {
    /*display: none;*/
    /*background: red;*/
    color: #ffffff;
    width: 100px;
    height: 30px;
    position: absolute;
    top: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}

#first_toggle:checked ~ .toggle_option_slider {
    background: #ffc107;
    left: 3px;
    z-index: 1;
     
}

#second_toggle:checked ~ .toggle_option_slider {
    background: #ffc107;
    left: 109px;
    z-index: 1;
 
}

 
