﻿

/*@@@ JF TWO LIBS IN THIS FILE (TESTING) BOOTSTRAP TOGGLE(REQUIRESJS) AND BOOTSTRAP SWITCH*/

/*\
|*| ========================================================================
|*| Bootstrap Toggle: bootstrap4-toggle.css v3.6.1
|*| https://gitbrent.github.io/bootstrap4-toggle/
|*| ========================================================================
|*| Copyright 2018-2019 Brent Ely
|*| Licensed under MIT
|*| ========================================================================
\*/
:root {
    --primary: #7460ee;
    --secondary: #6c757d;
    --danger: #fc4b6c;
    --success: #21c1d6;
    --warning: #ffb22b;
    --info: #1e88e5;
    --light: #f2f4f8;
    --dark: #343a40;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .35rem .4rem .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem
}

.checkbox label .toggle, .checkbox-inline .toggle {
    margin-left: -1.25rem;
    margin-right: .35rem
}

.toggle {
    position: relative;
    overflow: hidden
}

    .toggle.btn.btn-light, .toggle.btn.btn-outline-light {
        border-color: rgba(0,0,0,.15)
    }

    .toggle input[type=checkbox] {
        display: none
    }

.toggle-group {
    position: absolute;
    width: 200%;
    top: 0;
    bottom: 0;
    left: 0;
    transition: left .35s;
    -webkit-transition: left .35s;
    -moz-user-select: none;
    -webkit-user-select: none
}

    .toggle-group label, .toggle-group span {
        cursor: pointer
    }

.toggle.off .toggle-group {
    left: -100%
}

.toggle-on {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 50%;
    margin: 0;
    border: 0;
    border-radius: 0
}

.toggle-off {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 46%;
    right: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.toggle-handle {
    position: relative;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
    width: 0;
    border-width: 0 1px;
    background-color: #fff
}

.toggle.btn-outline-primary .toggle-handle {
    background-color: var(--primary);
    border-color: var(--primary)
}

.toggle.btn-outline-secondary .toggle-handle {
    background-color: var(--secondary);
    border-color: var(--secondary)
}

.toggle.btn-outline-success .toggle-handle {
    background-color: var(--success);
    border-color: var(--success)
}

.toggle.btn-outline-danger .toggle-handle {
    background-color: var(--danger);
    border-color: var(--danger)
}

.toggle.btn-outline-warning .toggle-handle {
    background-color: var(--warning);
    border-color: var(--warning)
}

.toggle.btn-outline-info .toggle-handle {
    background-color: var(--info);
    border-color: var(--info)
}

.toggle.btn-outline-light .toggle-handle {
    background-color: var(--light);
    border-color: var(--light)
}

.toggle.btn-outline-dark .toggle-handle {
    background-color: var(--dark);
    border-color: var(--dark)
}

.toggle[class*=btn-outline]:hover .toggle-handle {
    background-color: var(--light);
    opacity: .5
}

.toggle.btn {
    min-width: 3.7rem;
    min-height: 2.15rem
}

.toggle-on.btn {
    padding-right: 1.3rem
}

.toggle-off.btn {
    padding-left: 1.5rem
}

.toggle.btn-lg {
    min-width: 5rem;
    min-height: 2.815rem
}

.toggle-on.btn-lg {
    padding-right: 2rem
}

.toggle-off.btn-lg {
    padding-left: 2rem
}

.toggle-handle.btn-lg {
    width: 2.5rem
}

.toggle.btn-sm {
    min-width: 3.125rem;
    min-height: 1.938rem
}

.toggle-on.btn-sm {
    padding-right: 1rem
}

.toggle-off.btn-sm {
    padding-left: 1rem
}

.toggle.btn-xs {
    min-width: 2.19rem;
    min-height: 1.375rem
}

.toggle-on.btn-xs {
    padding-right: .7rem
}

.toggle-off.btn-xs {
    padding-left: .8rem
}

.toggle.ios, .toggle-on.ios, .toggle-off.ios {
    border-radius: 20rem;
}

    .toggle.ios .toggle-handle {
        border-radius: 20rem;
    }

.toggle.android {
    border-radius: 0px;
}

    .toggle.android .toggle-handle {
        border-radius: 0px;
    }

.slow .toggle-group {
    transition: left 0.7s;
    -webkit-transition: left 0.7s;
}

.fast .toggle-group {
    transition: left 0.1s;
    -webkit-transition: left 0.1s;
}

.quick .toggle-group {
    transition: none;
    -webkit-transition: none;
}


/**
  * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
  *
  * @version v3.3.4
  * @homepage https://bttstrp.github.io/bootstrap-switch
  * @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
  * @license Apache-2.0
  */
.bootstrap-switch {
    display: inline-block;
    direction: ltr;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ccc;
    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
}

    .bootstrap-switch .bootstrap-switch-container {
        display: inline-block;
        top: 0;
        border-radius: 4px;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }

    .bootstrap-switch .bootstrap-switch-handle-off, .bootstrap-switch .bootstrap-switch-handle-on, .bootstrap-switch .bootstrap-switch-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
    }

    .bootstrap-switch .bootstrap-switch-handle-off, .bootstrap-switch .bootstrap-switch-handle-on {
        text-align: center;
        z-index: 1
    }

        .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
            color: #fff;
            background: #337ab7
        }

        .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-info, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-info {
            color: #fff;
            background: #5bc0de
        }

        .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-success, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success {
            color: #fff;
            background: #5cb85c
        }

        .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-warning, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-warning {
            background: #f0ad4e;
            color: #fff
        }

        .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-danger {
            color: #fff;
            background: #d9534f
        }

        .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default {
            color: #000;
            background: #eee
        }

    .bootstrap-switch .bootstrap-switch-label {
        text-align: center;
        margin-top: -1px;
        margin-bottom: -1px;
        z-index: 100;
        color: #333;
        background: #fff
    }

    .bootstrap-switch span::before {
        content: "\200b"
    }

    .bootstrap-switch .bootstrap-switch-handle-on {
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px
    }

    .bootstrap-switch .bootstrap-switch-handle-off {
        border-bottom-right-radius: 3px;
        border-top-right-radius: 3px
    }

    .bootstrap-switch input[type=radio], .bootstrap-switch input[type=checkbox] {
        position: absolute !important;
        top: 0;
        left: 0;
        margin: 0;
        z-index: -1;
        opacity: 0;
        filter: alpha(opacity=0);
        visibility: hidden
    }

    .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
        padding: 1px 5px;
        font-size: 12px;
        line-height: 1.5
    }

    .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-small .bootstrap-switch-label {
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5
    }

    .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-large .bootstrap-switch-label {
        padding: 6px 16px;
        font-size: 18px;
        line-height: 1.3333333
    }

    .bootstrap-switch.bootstrap-switch-disabled, .bootstrap-switch.bootstrap-switch-indeterminate, .bootstrap-switch.bootstrap-switch-readonly {
        cursor: default !important
    }

        .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-disabled .bootstrap-switch-label, .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-indeterminate .bootstrap-switch-label, .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-readonly .bootstrap-switch-label {
            opacity: .5;
            filter: alpha(opacity=50);
            cursor: default !important
        }

    .bootstrap-switch.bootstrap-switch-animate .bootstrap-switch-container {
        -webkit-transition: margin-left .5s;
        -o-transition: margin-left .5s;
        transition: margin-left .5s
    }

    .bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-on {
        border-radius: 0 3px 3px 0
    }

    .bootstrap-switch.bootstrap-switch-inverse .bootstrap-switch-handle-off {
        border-radius: 3px 0 0 3px
    }

    .bootstrap-switch.bootstrap-switch-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,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
    }

    .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-off .bootstrap-switch-label, .bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label {
        border-bottom-right-radius: 3px;
        border-top-right-radius: 3px
    }

    .bootstrap-switch.bootstrap-switch-inverse.bootstrap-switch-on .bootstrap-switch-label, .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label {
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px
    }
