/* Toggle */
input[type='checkbox'].switch,
input[type='radio'].switch
{
    opacity: 0;
}

/* Switchery */
.switchery
{
    bottom: 4px;

    margin-top: 5px;
}

.float-right .switchery,
.switchery-large.switchery
{
    margin-bottom: .35rem;
}

.switchery-xsmall.switchery
{
    width: 28px; 
    height: 16px;
}

.switchery-xsmall.switchery > small
{
    width: 16px; 
    height: 16px;
}

.switch ~ .btn-group a.btn
{
    -webkit-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .5);
            box-shadow: 0 0 2px 0 rgba(0, 0, 0, .5);
}
.switch ~ .btn-group a.btn.active
{
    color: #fff; 
    -webkit-box-shadow: inset 0 1px 5px -1px rgba(0, 0, 0, .5);
            box-shadow: inset 0 1px 5px -1px rgba(0, 0, 0, .5);
}
.switch ~ .btn-group a.btn.active:not(.dropdown-toggle)
{
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.switch ~ .btn-group a.btn:hover
{
    z-index: 1;
}

.switch ~ .btn-group:focus
{
    outline: none;
}

.switch ~ .btn-group.btn-group-vertical .btn:first-child:not(:last-child):not(.dropdown-toggle)
{
    border-top-left-radius: .25rem; 
    border-top-right-radius: .25rem;
}

.switch ~ .btn-group.btn-group-vertical .btn:last-child:not(:first-child):not(.dropdown-toggle)
{
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.bootstrap-switch.bootstrap-switch-animate.bootstrap-switch-on .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-animate.bootstrap-switch-on .bootstrap-switch-handle-off,
.bootstrap-switch.bootstrap-switch-animate.bootstrap-switch-on .bootstrap-switch-handle-on,
.bootstrap-switch.bootstrap-switch-animate.bootstrap-switch-off .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-animate.bootstrap-switch-off .bootstrap-switch-handle-off,
.bootstrap-switch.bootstrap-switch-animate.bootstrap-switch-off .bootstrap-switch-handle-on,
.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-handle-off,
.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-handle-on,
.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-handle-off,
.bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-handle-on
{
    padding: 5px 10px;
}
