﻿/*.uib-day .btn .text-info {
    color: #fff !important;
}

.uib-month .btn .text-info {
    color: #fff !important;
}

.uib-year .btn .text-info {
    color: #fff !important;
}*/

.row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

    .row > [class*='col-'] {
        /*display: flex;*/
        flex-direction: column;
    }

.number {
    text-align: right;
}

.lblForItemCodes {
    width: 100% !important;
    margin-top: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    justify-content: initial;
    /*background-color: rgba(93, 120, 255, 0.1) !important;
    color: #1f3394 !important;*/
    font-weight: 600;
    background-color: #f7f8fa !important;
    color: #282a3c !important;
    font-size: 0.875rem !important;
}

.has-error {
    border: 1px solid red !important;
}

.itemDecription {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 7px;
}

.form-control option {
    font-size: 1em;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #9aabff !important;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(88, 103, 221, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(88, 103, 221, 0.25);
}

.form-control-sm {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 2px solid #e2e5ec !important;
}

.control-label {
    font-weight: bold !important;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none !important;
}

.inpNumber {
    text-align: right !important;
}

.divMessageContainer-on {
    padding: 0;
    position: absolute;
    z-index: 1000;
    left: 15%;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    background-color: #fff;
    height: 700px;
}

.divMessageContainer-off {
    padding: 0;
    position: absolute;
    z-index: 1000;
    left: -165%;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    background-color: #fff;
}

.kt-img-viewer {
    box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;
    -moz-box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;
    -webkit-box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;
    -o-box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;
}

.photo-viewer {
    width: 100%;
    height: 500px;
    background-color: #fff;
}

.photo-viewer-thumbnails-container {
    overflow-y: scroll;
    position: relative;
    float: left;
    height: 500px;
    width: 100%;
    background-color: #fff;
}

.photo-viewer-thumbnails {
    /* height: 600px; */
}

    .photo-viewer-thumbnails img {
        float: left;
        margin-left: 8px;
        margin-top: 4px;
        margin-bottom: 4px;
        width: calc(100% - 20px);
        height: 100%;
        cursor: pointer;
        border-radius: 3px;
        transition: transform .3s;
        -moz-transition: -moz-transform .3s;
        -o-transition: -o-transform .3s;
        -webkit-transition: -webkit-transform .3s;
    }

/*.photo-viewer-thumbnails img:hover {
                transform: scale(1.1) rotate(10deg);
                -o-transform: scale(1.1) rotate(10deg);
                -ms-transform: scale(1.1) rotate(10deg);
                -moz-transform: scale(1.1) rotate(10deg);
                -webkit-transform: scale(1.1) rotate(10deg);
                transition: transform .3s;
                -moz-transition: -moz-transform .3s;
                -o-transition: -o-transform .3s;
                -webkit-transition: -webkit-transform .3s;
            }*/

.photo-viewer-preview {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    color: white;
    overflow: auto;
    background-color: blue;
}

.photo-viewer-preview {
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    /*background-image: url(http://i.imgur.com/FfbgSEd.jpg);*/
}

.photo-viewer-current-status-loading {
    position: absolute;
    top: 0%;
    left: 0%;
    margin-left: -8px;
    margin-top: -8px;
}

.photo-viewer-current-status-error {
    margin-top: 50px;
    margin-left: 10px;
    margin-right: 10px;
    color: white;
    background-color: rgba(0,0,0,0.8);
    padding: 5px;
    font-size: 0.8em;
}

    .photo-viewer-current-status-error p {
        text-align: center !important;
    }

.employeeAddress {
    display: block;
    font-weight: 600;
    border-bottom: 1px solid #e2e5ec !important;
    padding: 0.5rem 0px;
    font-size: 0.875rem;
}

.kt-portlet .kt-portlet__head {
    min-height: 50px;
}

.kt-header--fixed.kt-subheader--fixed.kt-subheader--enabled .kt-wrapper {
    padding-top: 60px !important;
}

.dropzone-items {
    height: 205px;
    overflow-y: auto;
}

.table > thead > tr > th, .table > thead > tr > td, .table > tbody > tr > th, .table > tbody > tr > td, .table > tfoot > tr > th, .table > tfoot > tr > td {
    padding: 5px 10px;
}

.tableChild {
    /*box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;
    -moz-box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;
    -webkit-box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;
    -o-box-shadow: 0 0 10px rgba(88,103,221, 0.8) !important;*/
    margin-bottom: 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.16);
    padding: 10px 0px;
}

    .tableChild table {
        margin: 0px;
    }

/*.dropzone.dropzone-multi .dropzone-item .dropzone-toolbar .dropzone-view{
    height: 25px;
    width: 25px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
}*/

.viewInvoice i {
    font-size: 0.875rem !important;
}

.invoiceSerialNo {
    margin-top: 0.5em;
    font-weight: 700;
}

.uploadedInvoiceItem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 0.75rem;
    border-radius: 4px;
    padding: 0.7rem 1rem;
    background-color: #f4f6fa;
}

.kt-portlet__head {
    padding-left: 15px !important;
}

.kt-infobox {
    padding: 0px;
}

.kt-portlet--height-fluid {
    margin-bottom: 20px;
}

label {
    margin-bottom: 0px;
}


.has-error {
    border: 1px solid red !important;
}

.requiredspn {
    color: red;
    margin-left: 3px;
}

.file-upload-invoice {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 2px 12px;
    cursor: pointer;
    width: fit-content;
    font-size: 16px;
    width: 100%;
    background: #eaf1fb;
    border: 1px solid #C6DBFC;
    border-radius: 6px;
}

    .custom-file-upload i {
        font-size: 24px;
        font-weight: 600;
        vertical-align: middle;
    }

.progressbarContainer {
    width: 100%;
}

.progressbar {
    counter-reset: step;
}

    .progressbar li {
        list-style-type: none;
        width: 15%;
        float: left;
        font-size: 12px;
        position: relative;
        text-align: center;
        text-transform: uppercase;
        color: #7d7d7d;
    }

        .progressbar li:before {
            width: 30px;
            height: 30px;
            content: counter(step);
            counter-increment: step;
            line-height: 30px;
            border: 2px solid #7d7d7d;
            display: block;
            text-align: center;
            margin: 0 auto 10px auto;
            border-radius: 50%;
            background-color: white;
        }

        .progressbar li:after {
            width: 100%;
            height: 2px;
            content: '';
            position: absolute;
            background-color: #7d7d7d;
            top: 15px;
            left: -50%;
            z-index: -1;
        }

        .progressbar li:first-child:after {
            content: none;
        }

        .progressbar li.active {
            color: green;
        }

            .progressbar li.active:before {
                border-color: #55b776;
            }

            .progressbar li.active + li:after {
                background-color: #55b776;
            }

/*Form Wizard*/
.bs-wizard {
    border-bottom: solid 1px #e0e0e0;
    padding: 0 0 10px 0;
}

    .bs-wizard > .bs-wizard-step {
        padding: 0;
        position: relative;
    }

        .bs-wizard > .bs-wizard-step + .bs-wizard-step {
        }

        .bs-wizard > .bs-wizard-step .bs-wizard-stepnum {
            color: #595959;
            font-size: 16px;
            margin-bottom: 5px;
            height: 30px;
        }

            .bs-wizard > .bs-wizard-step .bs-wizard-stepnum img {
                width: 30px;
            }

        .bs-wizard > .bs-wizard-step .bs-wizard-info {
            font-size: 14px;
            text-transform: uppercase;
        }

        .bs-wizard > .bs-wizard-step > .bs-wizard-dot {
            position: absolute;
            width: 25px;
            height: 25px;
            display: block;
            background: #ebedf2;
            top: 50px;
            left: 50%;
            margin-top: -15px;
            margin-left: -15px;
            border-radius: 50%;
            text-align: center;
            font-size: 14px;
            color: #fff;
            line-height: 1.9;
        }

            .bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {
                content: ' ';
                width: 10px;
                height: 10px;
                background: #fff;
                border-radius: 50px;
                position: absolute;
                top: 8px;
                left: 8px;
            }

        .bs-wizard > .bs-wizard-step > .progress {
            position: relative;
            border-radius: 0px;
            height: 5px;
            box-shadow: none;
            margin: 10px 0;
        }

            .bs-wizard > .bs-wizard-step > .progress > .progress-bar {
                width: 0px;
                box-shadow: none;
                background: #212529;
            }

        .bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {
            width: 100%;
        }

        .bs-wizard > .bs-wizard-step.complete > .bs-wizard-dot {
            background-color: #212529;
        }

        .bs-wizard > .bs-wizard-step.complete > .bs-wizard-info {
            font-weight: 600
        }

        .bs-wizard > .bs-wizard-step.complete > .bs-wizard-dot:after {
            background-color: initial;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            font-family: "Font Awesome 5 Free";
            content: "\f00c";
            display: inline-block;
            padding-right: 3px;
            vertical-align: middle;
            font-weight: 900;
        }

        .bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {
            width: 50%;
        }

        .bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {
            width: 0%;
        }

        .bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {
            width: 100%;
        }

        .bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {
            background-color: #f5f5f5;
        }

            .bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {
                opacity: 0;
            }

        .bs-wizard > .bs-wizard-step:first-child > .progress {
            left: 50%;
            width: 50%;
        }

        .bs-wizard > .bs-wizard-step:last-child > .progress {
            width: 50%;
        }

        .bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot {
            pointer-events: none;
        }

.bs-wizard-dot-startEnd {
    width: 20px !important;
    height: 20px !important;
    top: 52.5px !important;
}

    .bs-wizard-dot-startEnd:after {
        width: 0px !important;
        height: 0px !important;
        content: '' !important;
    }

/*END Form Wizard*/

.approwalWorkFlow .step-menu-wrapper {
    margin-top: 10px;
    width: 100%;
}

.approwalWorkFlow .step-menu {
    list-style-type: none;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    display: flex;
}

    .approwalWorkFlow .step-menu:first-child {
        margin-top: 0px;
    }

    .approwalWorkFlow .step-menu li {
        box-sizing: border-box;
        background: #ddd;
        height: 50px;
        text-align: center;
        /*padding: 15px 15px 15px 50px;*/
        position: relative;
        margin-left: 10px;
        color: #212529;
        width: 16.66%;
        display: flex;
        /*flex-grow: 1;
        flex-basis: 0;*/
    }

        .approwalWorkFlow .step-menu li:before {
            content: '';
            position: absolute;
            border: 25px solid transparent;
            border-left-color: #fff;
            top: 0px;
            right: -60px;
        }

        .approwalWorkFlow .step-menu li:after {
            content: '';
            position: absolute;
            border: 25px solid transparent;
            border-left-color: #ddd;
            top: 0px;
            right: -50px;
        }

        /*  .approwalWorkFlow .step-menu li:nth-child(3) {
            z-index: 400;
        }

        .approwalWorkFlow .step-menu li:nth-child(4) {
            z-index: 300;
        }

        .approwalWorkFlow .step-menu li:nth-child(5) {
            z-index: 200;
        }

        .approwalWorkFlow .step-menu li:nth-child(6) {
            z-index: 100;
        }

            .approwalWorkFlow .step-menu li:nth-child(6):after,
            .approwalWorkFlow .step-menu li:nth-child(6):before {
                border: none
            }*/

        .approwalWorkFlow .step-menu li.current {
            background: #212529;
            color: white;
        }

            .approwalWorkFlow .step-menu li.current:after {
                border-left-color: #212529;
            }

        .approwalWorkFlow .step-menu li.complete {
            background: #ebedf2;
            /*color: white;*/
        }

            .approwalWorkFlow .step-menu li.complete:after {
                border-left-color: #ebedf2;
            }

        .approwalWorkFlow .step-menu li .content {
            /*max-width: 100%;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            align-self: center;
            margin: auto;
            margin-left:10px;
            text-align: center;*/
            max-width: 100%;
            align-self: center;
            margin-left: 10px;
            text-align: left;
            overflow: hidden !important;
            height: 25px !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }

        .approwalWorkFlow .step-menu li .profileImage {
            width: 30px;
            height: 30px;
            margin-left: 40px;
            align-self: center;
        }

            .approwalWorkFlow .step-menu li .profileImage img {
                max-width: 100%;
                max-height: 100%;
                border-radius: 50%;
            }

.approwalWorkFlowContainer {
    display: flex;
}

    .approwalWorkFlowContainer .approwalWorkFlowChild {
        flex-grow: 1
    }

        .approwalWorkFlowContainer .approwalWorkFlowChild:first-child {
            width: 30%;
            z-index: 3;
        }

            .approwalWorkFlowContainer .approwalWorkFlowChild:first-child .step-menu li:nth-child(1) {
                z-index: 600;
                margin-left: 0;
                width: 30%
            }

            .approwalWorkFlowContainer .approwalWorkFlowChild:first-child .step-menu li:nth-child(2) {
                z-index: 500;
                flex-grow: 1;
                padding-left: 20px;
            }


        .approwalWorkFlowContainer .approwalWorkFlowChild:nth-child(2) {
            width: 50%;
            z-index: 2;
        }

            .approwalWorkFlowContainer .approwalWorkFlowChild:nth-child(2) .step-menu li {
                flex-grow: 1;
            }

                .approwalWorkFlowContainer .approwalWorkFlowChild:nth-child(2) .step-menu li:first-child {
                    z-index: 600;
                }

                .approwalWorkFlowContainer .approwalWorkFlowChild:nth-child(2) .step-menu li:nth-child(2) {
                    z-index: 500;
                }

                .approwalWorkFlowContainer .approwalWorkFlowChild:nth-child(2) .step-menu li:nth-child(3) {
                    z-index: 400;
                }


        .approwalWorkFlowContainer .approwalWorkFlowChild:last-child {
            width: 15%;
            z-index: 1;
        }

            .approwalWorkFlowContainer .approwalWorkFlowChild:last-child .step-menu li:last-child {
                z-index: 100;
                flex-grow: 1;
            }

                .approwalWorkFlowContainer .approwalWorkFlowChild:last-child .step-menu li:last-child:after,
                .approwalWorkFlowContainer .approwalWorkFlowChild:last-child .step-menu li:last-child:before {
                    border: none
                }

@media (min-width: 1025px) {
    .kt-container {
        padding: 0 15px;
    }
}
@media (max-width: 768px) {
    .kt-header--fixed.kt-subheader--fixed.kt-subheader--enabled .kt-wrapper {
        padding-top: 50px !important;
    }
}