﻿.skemagi-header {
    background-color: #F0ECE3 !important;
}

.skemagi-purple {
    background-color: #fcffa4 !important;
}

.skemagi-lightyellow {
    background-color: #F6ECE6 !important;
}

.skemagi-purple1 {
    background-color: #522157 !important;
}

.skemagi-purple2 {
    background-color: #8B4C70 !important;
}

.skemagi-purple3 {
    background-color: #C2649A !important;
}

.skemagi-border {
    border-color: #8B4C70 !important;
}

.skemagi-fontred {
    color: red;
}

.skemagi-fontgreen {
    color: darkgreen;
}

.text-dark {
    color: #000;
    font-weight: normal;
}

.skemagi-fontpurple1 {
    color: #522157;
}

.skemagi-fontpurple2 {
    color: #8B4C70;
}

.skemagi-fontpurple3 {
    color: #C2649A;
}

.skemagi-fontpaleyellow {
    color: #E4C7B7;
}

.skemagi-fontwhite {
    color: #FFFFFF;
}

.small-row {
    line-height: 0.8;
    font-size: 0.8em;
}

.small-font {
    font-size: 0.8em;
}

.small-row {
    line-height: 0.8;
    font-size: 0.8em;
}

.text-danger {
    color: #f5365c;
}

.text-success {
    color: #198754;
}


.btn-primary {
    color: #fff;
    background-color: #522157;
    border-color: #522157;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

    .btn-primary:hover {
        color: #fff;
        background-color: #8B4C70;
        border-color: #8B4C70;
    }

    .btn-primary:focus, .btn-primary.focus {
        box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(10, 72, 179, 0.5);
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #8B4C70;
        border-color: #8B4C70;
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #8B4C70;
        border-color: #8B4C70;
    }

.btn-outline-primary {
    color: #522157;
    background-color: transparent;
    background-image: none;
    border-color: #522157;
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: #522157;
        border-color: #522157;
    }

    .btn-outline-primary:focus, .btn-outline-primary.focus {
        box-shadow: 0 0 0 0 rgba(10, 72, 179, 0.5);
    }

    .btn-outline-primary.disabled, .btn-outline-primary:disabled {
        color: #522157;
        background-color: transparent;
    }

    .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: #522157;
        border-color: #522157;
    }

        .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0 rgba(10, 72, 179, 0.5);
        }

.tr-active {
    background-color: #C2649A;
    color: white;
}

.small-letter {
    text-transform: none;
}

.time-block {
    padding: 2px;
    font-size: 1em;
    text-transform: none;
}

.time-button {
    border: none;
    outline: none;
}

    .time-button:focus {
        border: none;
        outline: none;
    }

/************* open / lock *************/
.open-block {
    background-color: lightgreen;
}

.lock-block {
    background-color: lightpink;
}

.bg-light-pink {
    background-color: #fffaff;
}

.bg-pale-yellow {
    background-color: #E4C7B7;
}

.table-sm td {
    padding: 0.2rem;
}

thead.print-header tr th {
    font-size: 1.1em
}

.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    font-size: 8px;
    text-align: center;
}

/* new toggle */

custom-toggle-slider:before {
    background-color: #1a1a1a
}

.custom-toggle {
    position: relative;
    display: inherit;
    width: 52px;
    height: 1.5rem;
    margin: 0;
    display: inline-block
}

    .custom-toggle input {
        display: none
    }

        .custom-toggle input:checked + .custom-toggle-slider {
            border: 1px solid #522157
        }

            .custom-toggle input:checked + .custom-toggle-slider:before {
                background: #522157;
                transform: translateX(28px)
            }

        .custom-toggle input:disabled + .custom-toggle-slider {
            border: 1px solid #e9ecef
        }

        .custom-toggle input:disabled:checked + .custom-toggle-slider {
            border: 1px solid #e9ecef
        }

            .custom-toggle input:disabled:checked + .custom-toggle-slider:before {
                background-color: #522157
            }

.custom-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #ced4da;
    border-radius: 34px !important;
    background-color: transparent
}

    .custom-toggle-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 2px;
        bottom: 2px;
        border-radius: 50% !important;
        background-color: #e9ecef;
        transition: all .15s cubic-bezier(.68,-.55,.265,1.55)
    }

.custom-toggle-wrapper .custom-toggle + .custom-toggle {
    margin-left: 1rem !important
}

.custom-toggle input:checked + .custom-toggle-slider:after {
    content: attr(data-label-on);
    color: #522157;
    right: auto;
    left: 0
}

.custom-toggle-slider:after {
    color: #ced4da;
    content: attr(data-label-off);
    display: block;
    font-family: inherit;
    font-weight: 600;
    font-size: .75rem;
    line-height: 24px;
    position: absolute;
    right: 0;
    margin: 0 .21667rem;
    top: 0;
    text-align: center;
    min-width: 1.66667rem;
    overflow: hidden;
    transition: all .15s ease
}

@media (prefers-reduced-motion:reduce) {
    .custom-toggle-slider:after {
        transition: none
    }
}

.custom-toggle-primary input:checked + .custom-toggle-slider {
    border-color: #522157
}

    .custom-toggle-primary input:checked + .custom-toggle-slider:before {
        background: #522157
    }

    .custom-toggle-primary input:checked + .custom-toggle-slider:after {
        color: #522157
    }

.custom-toggle-primary input:disabled:checked + .custom-toggle-slider {
    border-color: #522157
}

    .custom-toggle-primary input:disabled:checked + .custom-toggle-slider:before {
        background-color: #522157
    }

.custom-toggle-secondary input:checked + .custom-toggle-slider {
    border-color: #522157
}

    .custom-toggle-secondary input:checked + .custom-toggle-slider:before {
        background: #522157
    }

    .custom-toggle-secondary input:checked + .custom-toggle-slider:after {
        color: #522157
    }

.custom-toggle-secondary input:disabled:checked + .custom-toggle-slider {
    border-color: #522157
}

    .custom-toggle-secondary input:disabled:checked + .custom-toggle-slider:before {
        background-color: #fff
    }

.custom-toggle-success input:checked + .custom-toggle-slider {
    border-color: #2dce89
}

    .custom-toggle-success input:checked + .custom-toggle-slider:before {
        background: #2dce89
    }

    .custom-toggle-success input:checked + .custom-toggle-slider:after {
        color: #2dce89
    }

.custom-toggle-success input:disabled:checked + .custom-toggle-slider {
    border-color: #2dce89
}

    .custom-toggle-success input:disabled:checked + .custom-toggle-slider:before {
        background-color: #54daa1
    }

.custom-toggle-info input:checked + .custom-toggle-slider {
    border-color: #11cdef
}

    .custom-toggle-info input:checked + .custom-toggle-slider:before {
        background: #11cdef
    }

    .custom-toggle-info input:checked + .custom-toggle-slider:after {
        color: #11cdef
    }

.custom-toggle-info input:disabled:checked + .custom-toggle-slider {
    border-color: #11cdef
}

    .custom-toggle-info input:disabled:checked + .custom-toggle-slider:before {
        background-color: #41d7f2
    }

.custom-toggle-warning input:checked + .custom-toggle-slider {
    border-color: #fb6340
}

    .custom-toggle-warning input:checked + .custom-toggle-slider:before {
        background: #fb6340
    }

    .custom-toggle-warning input:checked + .custom-toggle-slider:after {
        color: #fb6340
    }

.custom-toggle-warning input:disabled:checked + .custom-toggle-slider {
    border-color: #fb6340
}

    .custom-toggle-warning input:disabled:checked + .custom-toggle-slider:before {
        background-color: #fc8c72
    }

.custom-toggle-danger input:checked + .custom-toggle-slider {
    border-color: #f5365c
}

    .custom-toggle-danger input:checked + .custom-toggle-slider:before {
        background: #f5365c
    }

    .custom-toggle-danger input:checked + .custom-toggle-slider:after {
        color: #f5365c
    }

.custom-toggle-danger input:disabled:checked + .custom-toggle-slider {
    border-color: #f5365c
}

    .custom-toggle-danger input:disabled:checked + .custom-toggle-slider:before {
        background-color: #f76783
    }

.custom-toggle-light input:checked + .custom-toggle-slider {
    border-color: #adb5bd
}

    .custom-toggle-light input:checked + .custom-toggle-slider:before {
        background: #adb5bd
    }

    .custom-toggle-light input:checked + .custom-toggle-slider:after {
        color: #adb5bd
    }

.custom-toggle-light input:disabled:checked + .custom-toggle-slider {
    border-color: #adb5bd
}

    .custom-toggle-light input:disabled:checked + .custom-toggle-slider:before {
        background-color: #c9cfd4
    }

.custom-toggle-dark input:checked + .custom-toggle-slider {
    border-color: #212529
}

    .custom-toggle-dark input:checked + .custom-toggle-slider:before {
        background: #212529
    }

    .custom-toggle-dark input:checked + .custom-toggle-slider:after {
        color: #212529
    }

.custom-toggle-dark input:disabled:checked + .custom-toggle-slider {
    border-color: #212529
}

    .custom-toggle-dark input:disabled:checked + .custom-toggle-slider:before {
        background-color: #383f45
    }

.custom-toggle-default input:checked + .custom-toggle-slider {
    border-color: #172b4d
}

    .custom-toggle-default input:checked + .custom-toggle-slider:before {
        background: #172b4d
    }

    .custom-toggle-default input:checked + .custom-toggle-slider:after {
        color: #172b4d
    }

.custom-toggle-default input:disabled:checked + .custom-toggle-slider {
    border-color: #172b4d
}

    .custom-toggle-default input:disabled:checked + .custom-toggle-slider:before {
        background-color: #234174
    }

.custom-toggle-white input:checked + .custom-toggle-slider {
    border-color: #fff
}

    .custom-toggle-white input:checked + .custom-toggle-slider:before {
        background: #fff
    }

    .custom-toggle-white input:checked + .custom-toggle-slider:after {
        color: #fff
    }

.custom-toggle-white input:disabled:checked + .custom-toggle-slider {
    border-color: #fff
}

    .custom-toggle-white input:disabled:checked + .custom-toggle-slider:before {
        background-color: #fff
    }

.custom-toggle-neutral input:checked + .custom-toggle-slider {
    border-color: #fff
}

    .custom-toggle-neutral input:checked + .custom-toggle-slider:before {
        background: #fff
    }

    .custom-toggle-neutral input:checked + .custom-toggle-slider:after {
        color: #fff
    }

.custom-toggle-neutral input:disabled:checked + .custom-toggle-slider {
    border-color: #fff
}

    .custom-toggle-neutral input:disabled:checked + .custom-toggle-slider:before {
        background-color: #fff
    }

.custom-toggle-darker input:checked + .custom-toggle-slider {
    border-color: #000
}

    .custom-toggle-darker input:checked + .custom-toggle-slider:before {
        background: #000
    }

    .custom-toggle-darker input:checked + .custom-toggle-slider:after {
        color: #000
    }

.custom-toggle-darker input:disabled:checked + .custom-toggle-slider {
    border-color: #000
}

    .custom-toggle-darker input:disabled:checked + .custom-toggle-slider:before {
        background-color: #1a1a1a
    }


.d-flex {
    display: flex !important;
}
.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

.border {
    border: 1px solid #dee2e6 !important;
}

.border-0 {
    border: 0 !important;
}

.border-top {
    border-top: 1px solid #dee2e6 !important;
}

.border-top-0 {
    border-top: 0 !important;
}

.border-end {
    border-right: 1px solid #dee2e6 !important;
}

.border-end-0 {
    border-right: 0 !important;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.border-bottom-0 {
    border-bottom: 0 !important;
}

.border-start {
    border-left: 1px solid #dee2e6 !important;
}

.border-start-0 {
    border-left: 0 !important;
}

.border-primary {
    border-color: #0d6efd !important;
}

.border-secondary {
    border-color: #6c757d !important;
}

.border-success {
    border-color: #198754 !important;
}

.border-info {
    border-color: #0dcaf0 !important;
}

.border-warning {
    border-color: #ffc107 !important;
}

.border-danger {
    border-color: #dc3545 !important;
}

.border-light {
    border-color: #f8f9fa !important;
}

.border-dark {
    border-color: #212529 !important;
}

.border-white {
    border-color: #fff !important;
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}

.form-control[type=file] {
    overflow: hidden;
}

    .form-control[type=file]:not(:disabled):not([readonly]) {
        cursor: pointer;
    }

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control::-webkit-date-and-time-value {
    height: 1.5em;
}

.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.form-control::file-selector-button {
    padding: 0.375rem 0.75rem;
    margin: -0.375rem -0.75rem;
    -webkit-margin-end: 0.75rem;
    margin-inline-end: 0.75rem;
    color: #212529;
    background-color: #e9ecef;
    pointer-events: none;
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    border-inline-end-width: 1px;
    border-radius: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control::file-selector-button {
        transition: none;
    }
}

.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
    background-color: #dde0e3;
}

.form-control::-webkit-file-upload-button {
    padding: 0.375rem 0.75rem;
    margin: -0.375rem -0.75rem;
    -webkit-margin-end: 0.75rem;
    margin-inline-end: 0.75rem;
    color: #212529;
    background-color: #e9ecef;
    pointer-events: none;
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    border-inline-end-width: 1px;
    border-radius: 0;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control::-webkit-file-upload-button {
        -webkit-transition: none;
        transition: none;
    }
}

.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
    background-color: #dde0e3;
}

.form-control-plaintext {
    display: block;
    width: 100%;
    padding: 0.375rem 0;
    margin-bottom: 0;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}

    .form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {
        padding-right: 0;
        padding-left: 0;
    }

.form-control-sm {
    min-height: calc(1.5em + (0.5rem + 2px));
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

    .form-control-sm::file-selector-button {
        padding: 0.25rem 0.5rem;
        margin: -0.25rem -0.5rem;
        -webkit-margin-end: 0.5rem;
        margin-inline-end: 0.5rem;
    }

    .form-control-sm::-webkit-file-upload-button {
        padding: 0.25rem 0.5rem;
        margin: -0.25rem -0.5rem;
        -webkit-margin-end: 0.5rem;
        margin-inline-end: 0.5rem;
    }

.form-control-lg {
    min-height: calc(1.5em + (1rem + 2px));
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

    .form-control-lg::file-selector-button {
        padding: 0.5rem 1rem;
        margin: -0.5rem -1rem;
        -webkit-margin-end: 1rem;
        margin-inline-end: 1rem;
    }

    .form-control-lg::-webkit-file-upload-button {
        padding: 0.5rem 1rem;
        margin: -0.5rem -1rem;
        -webkit-margin-end: 1rem;
        margin-inline-end: 1rem;
    }

textarea.form-control {
    min-height: calc(1.5em + (0.75rem + 2px));
}

textarea.form-control-sm {
    min-height: calc(1.5em + (0.5rem + 2px));
}

textarea.form-control-lg {
    min-height: calc(1.5em + (1rem + 2px));
}

.form-control-color {
    max-width: 3rem;
    height: auto;
    padding: 0.375rem;
}

    .form-control-color:not(:disabled):not([readonly]) {
        cursor: pointer;
    }

    .form-control-color::-moz-color-swatch {
        height: 1.5em;
        border-radius: 0.25rem;
    }

    .form-control-color::-webkit-color-swatch {
        height: 1.5em;
        border-radius: 0.25rem;
    }