.switch-button {
    display: inline-block;
    border: 1px solid #eeeeee;
    direction: ltr;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    text-align: left;
    overflow: hidden;
    line-height: 8px;
    z-index: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.switch-button .switch-button-container {
    display: inline-block;
    top: 0;
    border-radius: 4px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.switch-button .switch-button-on,
.switch-button .switch-button-off,
.switch-button .switch-button-label {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 20px;
}

.switch-button .switch-button-on,
.switch-button .switch-button-off {
    text-align: center;
    z-index: 1;
}

.switch-button .switch-button-on.switch-button-success,
.switch-button .switch-button-off.switch-button-success {
    color: #fff;
    background: #35aa47;
}

.switch-button .switch-button-on.switch-button-default,
.switch-button .switch-button-off.switch-button-default {
    color: #000;
    background: #eeeeee;
}

.switch-button .switch-button-label {
    text-align: center;
    margin-top: -1px;
    margin-bottom: -1px;
    z-index: 100;
    color: #333;
    background: #fff;
}

.switch-button span::before {
    content: "\200b";
}

.switch-button .switch-button-on {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.switch-button .switch-button-off {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.switch-button input[type='radio'],
.switch-button input[type='checkbox'] {
    position: absolute !important;
    top: 0;
    left: 0;
    margin: 0;
    z-index: -1;
    opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
}

.switch-button.switch-button-mini .switch-button-on,
.switch-button.switch-button-mini .switch-button-off,
.switch-button.switch-button-mini .switch-button-label {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

.switch-button.switch-button-small .switch-button-on,
.switch-button.switch-button-small .switch-button-off,
.switch-button.switch-button-small .switch-button-label {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.switch-button.switch-button-large .switch-button-on,
.switch-button.switch-button-large .switch-button-off,
.switch-button.switch-button-large .switch-button-label {
    padding: 6px 16px;
    font-size: 18px;
    line-height: 1.3333333;
}

.switch-button.switch-button-disabled,
.switch-button.switch-button-readonly,
.switch-button.switch-button-indeterminate {
    cursor: default !important;
}

.switch-button.switch-button-disabled .switch-button-on,
.switch-button.switch-button-readonly .switch-button-on,
.switch-button.switch-button-indeterminate .switch-button-on,
.switch-button.switch-button-disabled .switch-button-off,
.switch-button.switch-button-readonly .switch-button-off,
.switch-button.switch-button-indeterminate .switch-button-off,
.switch-button.switch-button-disabled .switch-button-label,
.switch-button.switch-button-readonly .switch-button-label,
.switch-button.switch-button-indeterminate .switch-button-label {
    opacity: 0.5;
    filter: aplha(opacity=50);
    cursor: default !important;
}

.switch-button.switch-button-animate .switch-button-container {
    -webkit-transition: margin-left 0.5s;
    -o-transition: margin-left 0.5s;
    transition: margin-left 0.5s;
}

.switch-button.switch-button-inverse .switch-button-on {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

.switch-button.switch-button-inverse .switch-button-off {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.switch-button.switch-button-focused {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 1px rgba(102, 175, 233, 0.6);
}