﻿.toggle-container * {
    -webkit-transition: .15s ease-out;
    -moz-transition: .15s ease-out;
    -o-transition: .15s ease-out;
    transition: .15s ease-out
}

.small-switch {
    min-width: 66px;
    height: 30px;
    width: initial;
}

.small-switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    border-radius: 18px;
    cursor: pointer;
    margin: 0px;
}

.switch-input {
    position: absolute;
    transform: translate3d(5px,5px,0)
}

.switch-label {
    border: 1px solid #ccc;
    position: relative;
    display: block;
    height: inherit;
    font-size: 12px;
    /*background: #a0d3c4;*/
    border-radius: inherit;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e2e2e2+0,dbdbdb+50,d1d1d1+51,fefefe+100;Grey+Gloss+%231 */
    background: rgb(226,226,226);
    background: -moz-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
    background: -webkit-linear-gradient(top, rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%);
    background: linear-gradient(to bottom, rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 );
}


.switch-input:checked ~ .switch-label {
    /*background: #0d8c68;*/
    /*background: rgb(191,210,85); 
    background: -moz-linear-gradient(top, rgba(191,210,85,1) 0%, rgba(142,185,42,1) 50%, rgba(114,170,0,1) 51%, rgba(158,203,45,1) 100%); 
    background: -webkit-linear-gradient(top, rgba(191,210,85,1) 0%,rgba(142,185,42,1) 50%,rgba(114,170,0,1) 51%,rgba(158,203,45,1) 100%); 
    background: linear-gradient(to bottom, rgba(191,210,85,1) 0%,rgba(142,185,42,1) 50%,rgba(114,170,0,1) 51%,rgba(158,203,45,1) 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfd255', endColorstr='#9ecb2d',GradientType=0 );*/
    background: rgb(7,161,124);
    background: -moz-linear-gradient(0deg, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 50%, rgba(7,161,124,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 50%, rgba(7,161,124,1) 100%);
    background: linear-gradient(0deg, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 50%, rgba(7,161,124,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#07a17c",endColorstr="#07a17c",GradientType=1);
}

.switch-label:before, .switch-label:after {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    line-height: 1.1
}

.switch-label:before {
    content: attr(data-off);
    right: 11px;
    color: #333;
}

.switch-label:after {
    content: attr(data-on);
    left: 11px;
    color: #fff;
    opacity: 0
}


.switch-input:checked ~ .switch-label:before {
    opacity: 0
}

.switch-input:checked ~ .switch-label:after {
    opacity: 1
}

.switch-handle {
    position: absolute !important;
    top: 4px;
    left: 5px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(0,0,0,.2);
}

    .switch-handle:before {
        content: "";
        top: 50%;
        left: 50%;
        position: absolute !important;
        margin: -6px 0 0 -6px;
        width: 12px;
        height: 12px;
        border-radius: 6px
    }

    .switch-label:active ~ .switch-handle, .switch-handle:active {
        width: 30px
    }

.switch-input:checked ~ .switch-handle {
    left: unset;
    right: 5px
}





.switch-field {
    display: flex;
    overflow: hidden;
}

    .switch-field input {
        position: absolute !important;
        clip: rect(0, 0, 0, 0);
        height: 1px;
        width: 1px;
        border: 0;
        overflow: hidden;
    }

    .switch-field label {
        /*background-color: #e4e4e4;*/
        background: rgb(226,226,226);
        background: -moz-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%);
        background: -webkit-linear-gradient(top, rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%);
        background: linear-gradient(to bottom, rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 );
        color: rgba(0, 0, 0, 0.6);
        font-size: 13px;
        line-height: 1;
        text-align: center;
        padding: 5px 10px;
        margin-right: -1px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
        transition: all 0.1s ease-in-out;
        width: auto;
    }

        .switch-field label:hover {
            cursor: pointer;
        }

    .switch-field input:checked + label {
        /*background-color: #29b296;*/
        background: rgb(7,161,124);
        background: -moz-linear-gradient(0deg, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 50%, rgba(7,161,124,1) 100%);
        background: -webkit-linear-gradient(0deg, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 50%, rgba(7,161,124,1) 100%);
        background: linear-gradient(0deg, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 50%, rgba(7,161,124,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#07a17c",endColorstr="#07a17c",GradientType=1);
        box-shadow: none;
        color: #fff;
       
    }

    .switch-field label:first-of-type {
        border-radius: 4px 0 0 4px;
    }

    .switch-field label:last-of-type {
        border-radius: 0 4px 4px 0;
    }



.btn-alert-default, .btn-alert-default:active, .btn-alert-default:focus, .btn-alert-default:hover {
    background-image: linear-gradient(to right, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 51%, rgba(7,161,124,1) 100%);
    margin: 0px;
    padding: 4px 20px;
    text-align: center;
    text-transform: capitalize;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    outline: unset;
}


.btn-alert-primary, .btn-alert-primary:active, .btn-alert-primary:focus, .btn-alert-primary:hover {
    background-image: linear-gradient(to right, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 51%, rgba(7,161,124,1) 100%);
    margin: 0px;
    padding: 4px 20px;
    text-align: center;
    text-transform: capitalize;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    outline: unset;
}

.btn-alert-danger, .btn-alert-danger:active, .btn-alert-danger:focus, .btn-alert-danger:hover {
    /*background-image: linear-gradient(to right, rgba(7,161,124,1) 0%, rgba(50,182,157,1) 51%, rgba(7,161,124,1) 100%);*/
    background-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%);
    margin: 0px;
    padding: 4px 20px;
    text-align: center;
    text-transform: capitalize;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    outline: unset;
}


    .btn-alert-default:active, .btn-alert-default:focus, .btn-alert-default:hover, .btn-alert-danger:active, .btn-alert-danger:focus, .btn-alert-danger:hover, .btn-alert-primary:active, .btn-alert-primary:focus, .btn-alert-primary:hover {
        opacity: 0.8;
    }

.modal-footer {
    padding: 8px 15px;
}

.modal-title h4{
    margin:0px;
}
