
#makeswitchwork{
    font-size: 8px;
    heigh:auto;
}


input {
    font-family: inherit;
    font-size: 100%;
    line-height: normal;
    margin: 0;
}

input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/* ---------- SWITCH ---------- */

.switch {
    background: transparent;
    border-radius: 2em;
    border: gray solid 0.125em;
    display:INLINE-block;
    float:right;
    height: 3em;
    position: relative;
    width: 6em;
}

.switch label {
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    line-height: 3em;
    text-transform: uppercase;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    width: 4em;
}

.switch label:nth-of-type(1) {
    left: -75%;
    position: absolute;
    text-align: right;
}

.switch label:nth-of-type(2) {
    position: absolute;
    right: -75%;
    text-align: left;
}

.switch input {
    height: 2em;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 6em;
    z-index: 2;
}

.switch input:checked~label:nth-of-type(1) { color: #0099E0; }
.switch input:checked~label:nth-of-type(2) { color: #808080; }

.switch input~:checked~label:nth-of-type(1) { color: #808080; }
.switch input~:checked~label:nth-of-type(2) { color: #0099E0; }

.switch input:checked~.toggle {
    left: 0.125em;
}

.switch input~:checked~.toggle {
    left: 3.125em;
}

.switch input:checked {
    z-index: 0;
}

.toggle {
    background: #0099E0;
    border-radius: 50%;
    height: 2.5em;
    left: 0;
    position: absolute;
    top: 0.125em;
    -webkit-transition: left .2s ease;
    -moz-transition: left .2s ease;
    -ms-transition: left .2s ease;
    -o-transition: left .2s ease;
    transition: left .2s ease;
    width: 2.5em;
    z-index: 1;
}