
/**
*
* parsley form validate
*
*
*/
input.parsley-success,
select.parsley-success,
textarea.parsley-success {
    color: #468847;
    background-color: #DFF0D8;
    border: 1px solid #D6E9C6;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
}

.parsley-errors-list {
    margin: 2px 0 3px;
    padding: 0;
    list-style-type: none;
    font-size: 0.9em;
    line-height: 0.9em;
    opacity: 0;
    color: red;
    transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
}

    .parsley-errors-list.filled {
        opacity: 1;
    }


/*
        Custom Field design
    */


.custom-field {
    position: relative;
    font-size: 14px;
    border-top: 20px solid transparent;
    margin-bottom: 5px;
    display: inline-block;
    --field-padding: 12px;
}

    .custom-field input {
        border: none;
        -webkit-appearance: none;
        -ms-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: #f2f2f2;
        padding: var(--field-padding);
        border-radius: 3px;
        width: 250px;
        outline: none;
        font-size: 14px;
    }

    .custom-field .placeholder {
        position: absolute;
        left: var(--field-padding);
        width: calc(100% - (var(--field-padding) * 2));
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        top: 22px;
        line-height: 100%;
        transform: translateY(-50%);
        color: #aaa;
        transition: top 0.3s ease, color 0.3s ease, font-size 0.3s ease;
    }

    .custom-field input.dirty + .placeholder,
    .custom-field input:focus + .placeholder,
    .custom-field input:not(:placeholder-shown) + .placeholder {
        top: -10px;
        font-size: 10px;
        color: #222;
    }

    .custom-field .error-message {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0 8px;
        font-size: 12px;
        background: #d30909;
        color: #fff;
        height: 24px;
    }

        .custom-field .error-message:empty {
            opacity: 0;
        }

    /* ONE */
    .custom-field.one input {
        background: none;
        border: 2px solid #ddd;
        transition: border-color 0.3s ease;
    }

        .custom-field.one input + .placeholder {
            left: 8px;
            padding: 0 5px;
        }

        .custom-field.one input.dirty,
        .custom-field.one input:not(:placeholder-shown),
        .custom-field.one input:focus {
            border-color: #222;
            transition-delay: 0.1s
        }

            .custom-field.one input.dirty + .placeholder,
            .custom-field.one input:not(:placeholder-shown) + .placeholder,
            .custom-field.one input:focus + .placeholder {
                top: 0;
                font-size: 10px;
                color: #222;
                background: #fff;
                width: auto
            }

    /* TWO */
    .custom-field.two input {
        border-radius: 0;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        background: linear-gradient(90deg, #222, #222) center bottom/0 0.15em no-repeat, linear-gradient(90deg, #ccc, #ccc) left bottom/100% 0.15em no-repeat, linear-gradient(90deg, #fafafa, #fafafa) left bottom/100% no-repeat;
        transition: background-size 0.3s ease;
    }

        .custom-field.two input.dirty,
        .custom-field.two input:not(:placeholder-shown),
        .custom-field.two input:focus {
            background-size: 100% 0.15em, 100% 0.1em, 100%;
        }

    /* THREE */
    .custom-field.three {
        --draw-duration: 0.1s;
        --draw-color: #222;
        --draw-line-width: 2px;
        --draw-easing: linear;
    }

        .custom-field.three .border {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            transform: none;
            display: flex;
            align-items: center;
            padding-left: 12px;
            borde-radius: 3px;
        }

            .custom-field.three .border::after,
            .custom-field.three .border::before {
                content: "";
                width: 0;
                height: 0;
                display: inline-block;
                position: absolute;
                border-radius: 3px;
            }

            .custom-field.three .border::before {
                left: 0;
                bottom: 0;
                border-right: 0px solid var(--draw-color);
                border-bottom: 0px solid var(--draw-color);
                transition: border 0s linear calc(var(--draw-duration) * 4), height var(--draw-duration) var(--draw-easing) calc(var(--draw-duration) * 2), width var(--draw-duration) var(--draw-easing) calc(var(--draw-duration) * 3);
            }

            .custom-field.three .border::after {
                right: 0;
                top: 0;
                border-left: 0px solid var(--draw-color);
                border-top: 0px solid var(--draw-color);
                transition: border 0s linear calc(var(--draw-duration) * 2), height var(--draw-duration) var(--draw-easing), width var(--draw-duration) var(--draw-easing) var(--draw-duration);
            }

        .custom-field.three input:focus ~ .border::before,
        .custom-field.three input:not(:placeholder-shown) ~ .border::before,
        .custom-field.three input.dirty ~ .border::before,
        .custom-field.three input:focus ~ .border::after,
        .custom-field.three input:not(:placeholder-shown) ~ .border::after,
        .custom-field.three input.dirty ~ .border::after {
            width: 100%;
            height: 100%;
            border-width: var(--draw-line-width);
        }

        .custom-field.three input:not(:placeholder-shown) ~ .border::before,
        .custom-field.three input.dirty ~ .border::before,
        .custom-field.three input:focus ~ .border::before {
            transition-delay: 0s, var(--draw-duration), 0s;
        }

        .custom-field.three input:not(:placeholder-shown) ~ .border::after,
        .custom-field.three input.dirty ~ .border::after,
        .custom-field.three input:focus ~ .border::after {
            transition-delay: calc(var(--draw-duration) * 2), calc(var(--draw-duration) * 3), calc(var(--draw-duration) * 2);
        }



.span-link {
    padding: 20px 9px;
    position: relative;
    color: #f9f9fb;
    word-spacing: 2px;
    display: block;
}

.c-pointer {
    cursor: pointer;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.modal-backdrop.fade.in {
    z-index: 99999;
}

.modal.fade.in, .modal.in .modal-dialog {
    z-index: 999999;
}

.bg-primary {
    background-color: #337ab7 !important;
}

.form-group label {
    width: 100%;
    display: block;
    font-weight: normal;
    text-transform: uppercase;
}

.k-widget.form-control .k-input {
    height: 32px;
}

.label-danger {
    background-color: #E5343D !important;
    border: 2px solid #E5343D !important;
    cursor: pointer;
}

.k-switch-on.k-state-hover .k-switch-container,
.k-switch-on .k-switch-container,
.k-switch-on:hover .k-switch-container {
    color: #fff;
    background-color: #009688;
}

.k-switch-off.k-state-hover .k-switch-container,
.k-switch-off .k-switch-container,
.k-switch-off:hover .k-switch-container {
    color: #fff;
    background-color: #ff6358;
}

.k-large-switch .k-switch-container {
    width: 100px;
    height: 41px;
}

.k-large-switch .k-switch-handle {
    top: 5px;
}

span.k-dropdown-wrap.k-state-default {
    width: 100%;
}

span.k-widget.k-combobox.form-control.k-large.k-combobox-clearable {
    width: 100%;
    display: block;
}

input[readonly] {
    background: #f2f2f2 !important;
}

.h-15 {
    height: 15px;
}

label sup {
    color: red;
    font-weight: bold;
    font-size: 100%;
    top: -0.3em;
}

.frm-group-height .form-group {
    margin-bottom: 15px;
    min-height: 80px;
    margin-bottom: 0;
}

.d-none {
    display: none !important;
}

.previwer {
    cursor: pointer;
    max-width: 150px !important;
    max-height: 150px !important;
    overflow: hidden;
}

    .previwer img {
        max-width: 100%;
        display: block;
        max-height: 150px;
    }

span.k-widget.k-numerictextbox .parsley-errors-list.filled,
span.k-widget.k-datepicker .parsley-errors-list.filled {
    bottom: -17px;
    position: absolute;
}

.sidebar-menu > li > a, .sidebar-menu > li > a,
.sidebar-menu .treeview-menu > li > a {
    color: #ccc8c8;
}

.sidebar-menu > li.active,
.sidebar-menu > li.active > a,
.sidebar-menu > li.active > ul {
    background: #153242;
}

.lg-mdl {
    min-width: 90%;
}

.min-h65px {
    min-height: 65px !important;
}

.pr-0 {
    padding-right: 0;
}

.pl-0 {
    padding-left: 0;
}

.label-success {
    cursor: pointer;
}

.static-table {
    display: block;
    height: 220px;
    overflow: auto;
    background: #fbfbfb;
}

    .static-table thead, .static-table tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }


.static-table-body {
    height: 187px;
    border: 1px solid #ddd !important;
    overflow: scroll;
}

.static-table th {
    padding: 5px !important;
}

.w-100 {
    width: 100%;
}

.w-90 {
    width: 88%;
}

.w-85 {
    width: 85%;
}

.mb-2 {
    margin-bottom: 2em !important;
}

.mb-1 {
    margin-bottom: 1em !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.ap-search {
    max-width: 300px;
    margin-bottom: 10px;
}

.gray-row {
    background: #fbfbfb;
    padding-top: 5px;
    margin-bottom: 5px;
}

.input-group-addon {
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation,
body.swal2-no-backdrop .swal2-container.swal2-center.swal2-backdrop-show {
    background: rgba(0,0,0,.4) !important;
}

.min-h50 {
    min-height: 50px !important;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.pt-8 {
    padding-top: 8px;
}

.pr-15 {
    padding-right: 15px;
}

.d-block {
    display: block;
}

.panel-bd > .panel-heading.bg-purple {
    background: purple;
    color: #fff !important;
}

.lobipanel > .panel-heading.bg-purple > .panel-title h4,
.lobipanel > .panel-heading.bg-blue > .panel-title h4,
.lobipanel > .panel-heading.bg-red > .panel-title h4 {
    color: #f9f4f4 !important;
}

.panel-bd > .panel-heading.bg-blue {
    background: #0e4aca;
    color: #fff !important;
}

.panel-bd > .panel-heading.bg-red {
    background: #9d0a0a;
    color: #fff !important;
}

.lobipanel .panel-heading.bg-purple .dropdown .dropdown-menu li a,
.lobipanel .panel-heading.bg-blue .dropdown .dropdown-menu li a,
.lobipanel .panel-heading.bg-red .dropdown .dropdown-menu li a {
    color: #f9f4f4 !important;
}

.lobipanel .panel-heading.bg-purple .dropdown .dropdown-menu > li > a:hover,
.lobipanel .panel-heading.bg-blue .dropdown .dropdown-menu > li > a:hover,
.lobipanel .panel-heading.bg-red .dropdown .dropdown-menu > li > a:hover {
    color: #fff !important;
}

.purple-gray-row {
    background: #d407d408;
    padding-top: 5px;
    margin-bottom: 5px;
}

.blue-gray-row {
    background: #0e4aca0f;
    padding-top: 5px;
    margin-bottom: 5px;
}

.red-gray-row {
    background: #f90c0c0a;
    padding-top: 5px;
    margin-bottom: 5px;
}

.purple-gray-bg {
    background: #d407d417 !important;
}

.blue-gray-bg {
    background: #0e4aca29 !important;
}

.red-gray-bg {
    background: #ca0e0e45 !important;
}

.bg-purple {
    background: purple;
    color: #f9f4f4;
}

.bg-blue {
    background: #0e4aca;
    color: #f9f4f4;
}

.wh-purple {
    background: #d407d403 !important;
}

span.btn-spn {
    padding: 6px 7px;
    background: darkgreen;
    color: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin-top: 27px;
    text-align: center;
    display: block;
    margin-left: 5px;
    float: right;
    -webkit-transition: background-color .3s ease-out;
    -moz-transition: background-color .3s ease-out;
    -o-transition: background-color .3s ease-out;
    transition: background-color .3s ease-out;
}

    span.btn-spn:hover {
        background: #a217d9;
    }

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

div:has(input:focus) > label {
    animation: pulse-animation 2s infinite;
}

#ddlPurchaseSerialList_listbox li {
    display: block;
    width: 100%;
}

#ddlPurchaseSerialList_listbox strong {
    display: block;
    width: 100%;
}

#ddlPurchaseSerialList_listbox p {
    margin-bottom: 0px;
}

.sidebar-menu > li > a.active,
.sidebar-menu > li > a.active,
.sidebar-menu .treeview-menu > li > a.active {
    color: #fff;
    font-weight: bold;
}

.bg-6F031B {
    background: #6F031B !important;
}

.bg-013241 {
    background: #013241 !important;
}

.bg-008C00 {
    background: #008C00 !important;
}

.bg-FF00A8 {
    background: #FF00A8 !important;
}

.bg-5A5A04 {
    background: #5A5A04 !important;
}

.bg-233283 {
    background: #233283 !important;
}

.bg-643DBE {
    background: #643DBE !important;
}

.bg-2c008f {
    background: #2c008f !important;
}

.bg-be3d3d {
    background: #be3d3d !important;
}

.bg-8fa502 {
    background: #8fa502 !important;
}

.bg-146230 {
    background: #146230 !important;
}

.bg-bd04c0 {
    background: #bd04c0 !important;
}

.bg-160ad8 {
    background: #160ad8 !important;
}

.bg-60b503 {
    background: #60b503 !important;
}

.dc-box .fa {
    color: #ffffffbd;
    margin-top: 15px;
}

.dc-counter .count-number {
    font-size: 30px;
}

.dc-counter .dc-title {
    margin-top: 75px;
    font-size: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.temp-img {
    -moz-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
    -webkit-box-shadow: inset 0 0 30px rgba(0,0,0,.3);
    box-shadow: inset 0 0 30px rgba(0,0,0,.3);
    margin: 3px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    float: left;
}

.loading-wrapper {
    background-image: url(../assets/images/loading.gif);
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    background-color: #000000bd;
    z-index: 999999;
    background-position: center;
    background-size: 20%;
    min-height: 1000px;
    background-repeat: no-repeat;
    display: none;
}

.k-grid.k-grid-display-block .k-grid-content.k-auto-scrollable::-webkit-scrollbar {
    height: 8px;
    width: 6px;
    background: gray;
}

/* Track */
.k-grid.k-grid-display-block .k-grid-content.k-auto-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.k-grid.k-grid-display-block .k-grid-content.k-auto-scrollable::-webkit-scrollbar-thumb {
    background: #009688;
}

    /* Handle on hover */
    .k-grid.k-grid-display-block .k-grid-content.k-auto-scrollable::-webkit-scrollbar-thumb:hover {
        background: #009688;
    }

    .k-grid.k-grid-display-block .k-grid-content.k-auto-scrollable::-webkit-scrollbar-thumb:horizontal {
        background: #009688;
        border-radius: 10px;
        cursor: pointer;
    }

.toggle-top-navbar {
    background: #000;
    color: #fff;
    text-align: right;
    padding-right: 15px;
}

span.toggle-button {
    cursor: pointer;
}

.small-window .content {
    padding-top: 10px;
}


.form-check {
    display: flex;
    padding-left: 15px;
}

    .form-check label {
        padding: 9px 0px 0px 10px;
    }

.dashboard-label-btn .btn-label {
    padding: 6px 8px;
}

.dashboard-label-btn .btn-labeled {
    padding-right: 5px;
    font-size: 12px;
}
    .dashboard-label-btn .btn-labeled:hover {
        color: #fff !important;
    }

.ccard {
    display: block;
    overflow: hidden;
    background: #fff;
}

    .ccard .card-body {
        padding-top: 15px;
        padding-bottom: 15px;
    }

.company-name {
    float: left;
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
    padding-top: 9px;
    padding-bottom: 8px;
    letter-spacing: 4px;
    word-spacing: 5px;
}

.sidebar-menu {
    margin-top: 20px;
}

.logo .logo-lg {
    background: -webkit-gradient(linear, left top, right top, color-stop(10%, #ff6c2f), color-stop(50%, #f9b931), color-stop(60%, #22c55e));
    background: linear-gradient(to right, #ff6c2f 10%, #f9b931 50%, #22c55e 60%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: textclip 2.5s linear infinite;
    animation: textclip 2.5s linear infinite;
    display: inline-block;
    text-transform: uppercase;
}

@-webkit-keyframes textclip {
    to {
        background-position: 200% center;
    }
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1368px) {
    .dc-counter .dc-title {
        margin-top: 2px;
        font-size: 14px;
    }
}

@media only screen and (min-width: 1368px) and (max-width: 1900px) {
    .dc-counter .dc-title {
        margin-top: 2px;
        font-size: 16px;
    }
}

@media only screen and (min-width: 1900px) {

    .dc-counter .dc-title {
        margin-top: 0px;
        font-size: 30px;
    }
}
