﻿.custom-select.input-validation-error,
.form-control.input-validation-error,
.was-validated .custom-select:invalid,
.was-validated .form-control:invalid {
    border-color: #da542e;
}

.field-validation-error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #da542e;
}

.main-empty .field-validation-error, .main-empty .lblMessage {
    color: yellow;
    font-size: 100%;
}

.chosen-disabled {
    opacity: 1 !important;
}

    .form-control:disabled, .form-control[readonly], .chosen-disabled .chosen-single {
        cursor: not-allowed;
        background-color: #e9ecef;
    }

.form-control, .input-group-text, .chosen-container-single .chosen-single span {
    color: #000;
}

body {
    color: #000;
}

.table td, .table th {
    padding: 8px;
}

td.action .btn {
    margin: 2px 0;
}

.image-selector, .Video-selector {
    background: url(img/no_image.gif) no-repeat;
    border: 5px solid #eff3f3;
    float: left;
    overflow: hidden;
    position: relative;
    width: 108px;
    height: 80px;
}

    .image-selector .image-del, .image-selector .image-del2, .arr-image-del {
        background: url(img/icon_delete_16x14.png) no-repeat right top;
        cursor: pointer;
        display: block;
        position: absolute;
        right: 0px;
        top: 0px;
        width: 16px;
        height: 16px;
    }

    .image-selector img {
        width: 100%;
        height: 100%;
        cursor: pointer;
        background: #fff;
    }

.wr-img-list {
    background: #ddd;
    height: 80px;
    overflow: auto;
    overflow-y: hidden;
    position: relative;
    padding: 5px 0;
}

#sortable-img {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    width: 5000px;
}

    #sortable-img li {
        list-style: none;
        float: left;
        /*display: inline-block;*/
        margin-left: 5px;
        position: relative;
        /*width: 108px;*/
        /*height: 80px;*/
    }

        #sortable-img li img {
            /*width: 100%;*/
            height: 70px;
        }

.chosen-container {
    width: 100% !important;
}

.chosen-select {
    border: 1px solid #e9ecef;
    border-radius: 2px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chosen-container .chosen-results li.sub {
    padding-left: 30px !important;
}

.chosen-container .chosen-results li.sub2 {
    padding-left: 50px !important;
}

.chosen-container-single .chosen-single div {
    background: url(/assets/images/custom-select.png) no-repeat 2px 12px;
}



/* ------------------------ paging ------------------------ */
.page {
    /*float: right;*/
    text-align: center;
    margin-top: 20px;
}

.paging {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .paging li {
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
    }

}

.paging li:last-child {
    margin-right: 0;
}

.paging li a {
    display: inline-block;
    height: 36px;
    min-width: 38px;
    padding: 0 8px;
    text-align: center;
    line-height: 34px;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

    .paging li a:hover, .paging li a.active {
        /*background: #2070d2;
                border-color: #2070d2;*/
        background: #1a7d3e;
        border-color: #1a7d3e;
        color: #fff;
    }

.paging [class*="-page"]:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1em;
}

.paging .next-page:before {
    content: "\f105";
}

.paging .prev-page:before {
    content: '\f104';
}

.paging .last-page:before {
    content: "\f101";
}

.paging .first-page:before {
    content: "\f100";
}

/* ------------------------ paging ------------------------ */

#tbCate td, #tbCate th {
    padding-top: 10px;
    padding-bottom: 10px;
}

#tbCate td {
    vertical-align: middle;
}

.p-l-60 {
    padding-left: 60px !important;
}

.boxRating {
    margin: 0;
    padding: 0;
}

    .boxRating li {
        list-style: none;
        float: left;
    }

        .boxRating li i {
            color: #ffc11a;
            font-size: 21px;
            /* padding: 0 2px; */
            position: relative;
            margin-top: 3px;
            display: block;
        }

            .boxRating li i .rating {
                height: 20px;
                width: 50%;
                cursor: pointer;
                position: absolute;
            }

            .boxRating li i .rate-left {
                left: 0;
                top: 0;
            }

            .boxRating li i .rate-right {
                right: 0;
                top: 0;
            }

.wr_ratePoint {
    margin-top: 5px;
    margin-left: 10px;
}

.wr_input_other {
    padding-top: 5px;
    padding-bottom: 6px;
}

.input-search {
    padding: 7px 8px 8px;
    /*height:35px;*/
}

textarea {
    resize: vertical;
}


ul.ui-autocomplete.common-search-drop {
    /*    top: 3px;
    margin-left: 10px;
    margin-top: 6px !important*/
}

ul.ui-autocomplete {
    /*display: block !important;*/
    /*width: 100% !important;
    position: absolute;
    background: #fff;
    z-index: 9999999999;
    list-style: none;
    left: -40px !important*/
}

.ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
}

.ui-menu-item-wrapper {
    /*  border-top: none !important;
    border-bottom: none !important;*/
    display: block;
    font-size: 14px;
}

    .ui-menu-item-wrapper:hover {
        background: #ddd !important;
    }

.hidden {
    display: none;
}

.table-bordered td, .table-bordered th {
    vertical-align: middle;
}

sup {
    vertical-align: super;
    font-size: smaller;
}


#tbCart td.note {
    max-width: 450px;
}

#tbCart td input {
    border: 1px solid red;
}

#tbCart .input-group-text {
    padding-left: 2px;
}

#tbCart .wr-info {
    min-width: 180px
}

#tbCart .input-number {
    max-width: 150px;
    margin: 0 auto;
}

#tbCart .maching-type {
    min-width: 105px;
    display: block;
}

#page_sale textarea {
    width: 100%;
    /*min-height:75px;*/
}

#prints_file {
    padding: 20px;
    background: #fff;
    color: #000;
}

    #prints_file .wr_btn_print {
        position: fixed;
        bottom: 30px;
        right: 30px;
    }

.page-wrapper > .container-fluid {
    min-height: calc(100vh - 64px);
}

.bank-qr {
    position: absolute;
    top: 40px !important;
    right: 40px !important;
    width: 100px !important;
}
