/**
 * pretty-checkbox.css
 *
 * A pure CSS library to beautify checkbox and radio buttons
 *
 * Source: https://github.com/lokesh-coder/pretty-checkbox
 * Demo: https://lokesh-coder.github.io/pretty-checkbox
 *
 * Copyright (c) 2017 Lokesh rajendran
 */

 .pretty * {
    box-sizing: border-box
}

.pretty input:not([type=checkbox]):not([type=radio]) {
    display: none
}

.pretty {
    position: relative;
    display: inline-block;
    margin-right: 1em;
    white-space: nowrap;
    line-height: 1;
}

.pretty input {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 1em;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    margin: 0;
    /* padding: 0; */
    cursor: pointer
}

.pretty .state label {
    position: initial;
    display: inline-block;
    font-weight: 400;
    margin: 0;
    text-indent: 1.5em;
    min-width: calc(1em + 2px)
}

.pretty .state label:after,
.pretty .state label:before {
    content: '';
    width: calc(1em + 2px);
    height: calc(1em + 2px);
    display: block;
    box-sizing: border-box;
    border-radius: 0;
    border: 1px solid transparent;
    z-index: 0;
    position: absolute;
    left: 0;
    top: calc((0% - (100% - 1em)) - 8%);
    background-color: transparent
}

.pretty .state label:before {
    border-color: #bdc3c7
}

@-webkit-keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #bdc3c7
    }

    100% {
        box-shadow: 0 0 0 1em rgba(189, 195, 199, 0)
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #bdc3c7
    }

    100% {
        box-shadow: 0 0 0 1em rgba(189, 195, 199, 0)
    }
}

.pretty.p-default .state label:after {
    -webkit-transform: scale(.6);
    -ms-transform: scale(.6);
    transform: scale(.6)
}

.pretty.p-default input:checked ~ .state label:after {
    background-color: #bdc3c7 !important
}

/*------------------------ p-thick -------------------------*/
.pretty.p-default.p-thick .state label:after,
.pretty.p-default.p-thick .state label:before {
    border-width: calc(1em / 7)
}

.pretty.p-default.p-thick .state label:after {
    -webkit-transform: scale(.4) !important;
    -ms-transform: scale(.4) !important;
    transform: scale(.4) !important
}
/*------------------------ p-thick -------------------------*/

/*---------------------------- input[type=checkbox] ---------------------------*/
.pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state:not(.p-is-indeterminate),
.pretty.p-has-indeterminate input[type=radio]:indeterminate ~ .state:not(.p-is-indeterminate) {
    display: none
}

.pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state.p-is-indeterminate,
.pretty.p-has-indeterminate input[type=radio]:indeterminate ~ .state.p-is-indeterminate {
    display: block
}

.pretty.p-has-indeterminate input[type=checkbox]:indeterminate ~ .state.p-is-indeterminate .icon,
.pretty.p-has-indeterminate input[type=radio]:indeterminate ~ .state.p-is-indeterminate .icon {
    display: block;
    opacity: 1
}
/*---------------------------- input[type=checkbox] ---------------------------*/

/*-------------------------- p-pulse --------------------------*/
.pretty.p-pulse:not(.p-switch) input:checked ~ .state label:before {
    -webkit-animation: pulse 0.6s;
    animation: pulse 0.6s;
}
/*-------------------------- p-pulse --------------------------*/

/*------------------------- p-warning-o ------------------------*/
.pretty input:checked ~ .state.p-warning-o label:before,
.pretty.p-toggle .state.p-warning-o label:before {
    border-color: #f6831f
}

.pretty input:checked ~ .state.p-warning-o label:after,
.pretty.p-toggle .state.p-warning-o label:after {
    background-color: transparent
}

.pretty input:checked ~ .state.p-warning-o .icon,
.pretty input:checked ~ .state.p-warning-o .svg,
.pretty input:checked ~ .state.p-warning-o svg,
.pretty.p-toggle .state.p-warning-o .icon,
.pretty.p-toggle .state.p-warning-o .svg,
.pretty.p-toggle .state.p-warning-o svg {
    color: #f6831f;
    stroke: #f6831f
}

.pretty.p-default:not(.p-fill) input:checked ~ .state.p-warning-o label:after {
    background-color: #f6831f !important
}

.pretty.p-switch input:checked ~ .state.p-warning:before {
    border-color: #f6831f
}

.pretty.p-switch.p-fill input:checked ~ .state.p-warning:before {
    background-color: #f6831f !important
}

.pretty.p-switch.p-slim input:checked ~ .state.p-warning:before {
    border-color: #f6831f;
    background-color: #f6831f !important
}
/*------------------------- p-warning-o ------------------------*/