﻿
/*ERP Sales person Customers List pages Responsive*/

.salescustomers-list-page .page-title {
    border-bottom: none;
}

    .salescustomers-list-page .page-title h1 {
        margin: 0 0 0px;
        border-bottom: 1px solid #ddd;
        padding: 0 0 10px;
    }
.searchcblock {
    width: 100%;
    display: inline-block;
    text-align: center;
}

    .searchcblock .form-group {
        display: inline-block;
        margin: 0px 0px 0px 20px;
    }

        .searchcblock .form-group label {
            /*display: block;*/
            text-align: left;
            width: 100%;
        }

.salescustable tbody tr:nth-child(odd) {
    background: #ffffff;
}

.salescustable tbody tr:nth-child(even) {
    background-color: #f4f7fd;
}

.actions input[type="submit"] {
    height: 45px;
    padding: 0px 30px;
    font-size: 14px;
}

    .salescustomers-list-page .page-title a {
        display: inline-block;
        min-width: 180px;
        margin: 5px 0;
        border: none;
        background-color: #aaa;
        background-image: none;
        padding: 10px 20px;
        font-size: 15px;
        color: #fff;
    }

        .salescustomers-list-page .page-title a:hover {
            background-color: #999;
        }

/* Vendor PO & PQ Negotiations */
.po-accepted, .pq-accepted {
    background-color: #90ee9085 !important;
}

.po-rejected, .pq-rejected {
    background-color: #ff000061 !important;
}

.po-v-accepted, .pq-v-accepted {
    background-color: #8fe8f1e0 !important;
}

.po-n-review, .pq-n-review {
    background-color: #f1f18fe0 !important;
}

.po-blank, .pq-blank {
    border: 1px solid #c9c9c9 !important;
    background: #fff !important;
}


.accept_block span.green {
    width: 20px;
    height: 20px;
    background: green;
    display: inline-block;
    float: left;
    border-radius: 4px;
}

.po_accept_block span.green, .pq_accept_block span.green {
    width: 20px;
    height: 20px;
    background: green;
    display: inline-block;
    float: left;
    border-radius: 4px;
}

.rejected_block span.green {
    width: 20px;
    height: 20px;
    background: #ff9e9e;
    display: inline-block;
    float: left;
    border-radius: 4px;
}

.underreview_block span.green {
    width: 20px;
    height: 20px;
    background: #f3f39d;
    display: inline-block;
    float: left;
    border-radius: 4px;
}


span.accept_text {
    color: #000;
    display: inline-block;
    float: left;
    font-size: 14px;
    padding: 3px 10px;
    font-weight: 400;
}

label.po-invoiceno, label.pq-invoiceno {
    color: #000;
    font-size: 14px;
    padding: 3px 10px;
    font-weight: 400;
}

.table_box_colors {
    min-width: 100%;
    display: inline-block;
    margin: 10px 0px;
}

.view_btn:hover {
    background-color: #6da8b5;
    color: #fff !important;
}

a.view_btn {
    background-color: #f0f0f0;
    padding: 10px 20px;
    color: #333;
}


/*ERP Sales Purchase orders Qutes Invoices List pages Responsive*/

.erptablelist th {
    border-width: 1px 1px 0;
    border-style: solid;
    border-color: #e3e3e3;
    background-color: #f6f6f6 !important;
    padding: 10px;
    white-space: nowrap;
    font-weight: normal;
}

.erptablelist td {
    min-width: 150px;
    border: 1px solid #e3e3e3;
    /* border-width: 1px;
    border-style: solid;*/
    border-color: transparent #ddd #ddd;
    /*background-color: #fff;*/
    padding: 20px;
    color: #444;
}

.erptablelist a:hover {
    text-decoration: underline;
}


.erptablelist .ordernumber {
    text-align: center;
}

.erptablelist .leftstringfield {
    text-align: left;
}

.erptablelist .leftstringfield {
    text-align: left;
}



    .erptablelist .leftstringfield a {
        font-weight: normal;
        color: #4ab2f1;
    }


.erptablelist label {
    display: none;
}



.erpcomment-info {
    display: block;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #444;
    padding: 5px 0px;
}

    .erpcomment-info textarea {
        display: block;
        min-width: 100%;
    }

.order-details-page .erpcomment-info h4 {
    float: left;
    margin-top: inherit;
}

.attachents-title {
    margin: 10px;
    text-align: right;
}

    .attachents-title label {
        float: left;
        margin-top: inherit;
    }

.supplier-upload-file {
    min-height: 150px;
}

.comments-list, .attachment-list {
    overflow-y: auto;
    min-height: 150px;
    max-height: 200px;
}

.order-details-button {
    background-color: #e6e6e6;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px !important;
}

    .order-details-button:hover {
        background: #6da8b5;
        color: #fff;
    }

.browseWrap .custom-file-input:before {
    content: 'Select some files';
    display: inline-block;
    background: #32a8b5;
    border: 0px solid #999;
    border-radius: 6px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    /* text-shadow: 1px 1px #fff; */
    color: #fff;
    padding: 15px 35px;
    font: normal 15px 'Fjalla One', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    margin-right: -96px;
}

.browseWrap .custom-file-input {
    background: #ebe7e7;
    border-radius: 6px;
    padding: 4px;
    color: #7c7c7c;
    width: 100%;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    height: 58px;
}

input.button-2.order-details-button,
.card-body .custom_btn,
table.dataTable thead tr,
.profile-table thead tr {
    background: rgb(192 158 108);
}

.ordernumber a {
    color: #171796;
    font-weight: bold
}


@media all and (max-width: 1000px) {
    .erptablelist label {
        display: inline;
    }

    .erptablelist {
        display: block;
    }

        .erptablelist thead {
            display: none;
        }

        .erptablelist tbody {
            display: block;
            overflow: hidden;
        }

        .erptablelist td.ordernumber {
            margin: 0 0 15px;
            border-bottom: 1px solid #cbcaca;
            background-color: #eee;
            padding: 10px;
        }

        .erptablelist td.leftstringfield {
            margin: 0 0 15px;
            border-bottom: 1px solid #ddd;
            background-color: #eee;
            padding: 10px;
        }



        .erptablelist tbody {
            display: block;
            overflow: hidden;
        }

        .erptablelist tr {
            display: block;
            float: left;
            width: 100%;
            margin: 40px 0 0;
            border: 1px solid #ddd;
        }

        .erptablelist td {
            display: block;
            border: none;
            padding: 10px;
        }

            .erptablelist td.ordernumber {
                margin: 0 0 15px;
                border-bottom: 1px solid #ddd;
                background-color: #eee;
                padding: 10px;
            }


            .erptablelist td.leftstringfield {
                margin: 0 0 15px;
                border-bottom: 1px solid #ddd;
                background-color: #fff;
                padding: 10px;
            }


            .erptablelist td.createdon {
                border-top: 1px solid #ddd;
                padding: 15px 10px 5px;
            }

            .erptablelist td.ordertotal {
                border-top: 1px solid #ddd;
                padding: 15px 10px 5px;
            }
}

.erptablelist tr {
    width: 46%;
    margin: 40px 2% 0;
}

    .erptablelist tr:nth-child(2n+1) {
        clear: both;
    }

.erptablelist tr {
    width: 31.33333%;
    margin: 40px 1% 0;
}

    .erptablelist tr:nth-child(2n+1) {
        clear: none;
    }

.erptablelist tr {
    width: auto;
    margin: 0;
}

.erptablelist .ordernumber {
    text-align: center;
}

.erptablelist .leftstringfield {
    text-align: center;
}

.erptablelist td.ordernumber {
    margin: 0 0 15px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.erptablelist td.leftstringfield {
    margin: 0 0 15px;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}



.erptablelist .unit-price,
.erptablelist .sku,
.erptablelist .quantity {
    white-space: nowrap;
    color: #909090;
}

.erptablelist .qty-input {
    width: 50px;
    text-align: center;
}

.salescustomers-list-page .erptablelist {
    text-align: center;
    color: #fff;
}

.buttonsdisplay {
    margin: 0 0 30px;
}

.subbutton {
    cursor: pointer;
    border: none;
    padding: 0 0 0 18px;
}

.buttonimage {
    background: url(/Themes/DefaultClean/Content/images/details.png) left center no-repeat;
}

@media (max-width: 1000px) {
    .erptablelist tr {
        float: left;
        width: 100%;
        margin: 40px 0 0;
        border: 1px solid #ddd;
    }
}

@media (min-width: 481px) {
    .erptablelist tr:nth-child(2n+1) {
        clear: both;
    }
}

@media (min-width: 481px) {
    .erptablelist tr {
        width: 46%;
        margin: 40px 2% 0;
    }
}


/*Orders list search criteria*/

#dateerror, #dateerrors, #error {
    color: red;
}


@media screen and (min-width: 47.5em ) {
    .leftColumn {
        margin-right: 19.5em;
    }

    .rightColumn {
        position: absolute;
        top: 0;
        right: 0;
        width: 18.75em;
    }
}

.columnsContainer {
    position: relative;
    margin: 1em;
}



input[type="button"], input[type="submit"], button, .button-1, .button-2 {
    border: none;
    color: #323232;
    background: #f0f0f0;
    padding: 10px 20px 10px 20px;
}

@media screen and (min-width: 47.5em ) {
    .leftColumn {
        margin-right: 19.5em;
    }

    .rightColumn {
        position: absolute;
        top: 0;
        right: 0;
        width: 18.75em;
    }
}

.columnsContainer {
    position: relative;
    margin: 1em;
}



@media (max-width: 1000px) {
    .marginleft {
        /*margin-left: 15%;
        margin-right: 15%;*/
    }
}


@media (max-width: 330px) {
    input[type="text"], select {
        width: 100%;
    }
}

/*Search container*/

.searchcontainer {
    margin-top: 20px;
    position: relative;
    background-color: #fff;
    padding: 15px;
}

.salescustomers-list-page .erptablelist thead tr th {
    text-align: center;
    border-bottom: 1px solid #ddd;
    color: #fff;
}

.rightColumnsearch {
    margin-right: 20%;
    display: inline;
    padding-top: 20px;
}

.leftColumnsearch {
    padding-top: 20px;
}

@media screen and (min-width: 47.5em ) {
    .leftColumnsearch {
        margin-left: 20%;
    }

    .rightColumnsearch {
        position: absolute;
        top: 0;
        right: 0;
        /*width: 18.75em; 760 19.5 312*/
    }
}

@media (max-width: 430px) {
    .leftColumnsearch {
        margin-left: 0px;
    }
}


/*SS Dashboard CSS Start Here*/

.customer-dashboard-page {
    width: 100%;
    margin: auto;
}

.dashboard_block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px 10px;
}
    .dashboard_block .dashboard_bg {
        background: #171796;
    }

    .dashboard_block .small-box.bg-info {
        width: 100%;
        background: #171796 !important;
        height: 130px;
        border-radius: 4px;
        color: #fff;
        position: relative;
    }

        .dashboard_block .small-box.bg-info .inner {
            font-size: 24px;
            padding: 10px;
            font-weight: 500;
            color: #fff;
        }

        .dashboard_block .small-box.bg-info a .small-box-footer {
            position: absolute;
            bottom: 0px;
            left: 0px;
            right: 0px;
            margin: 0px auto;
            text-align: center;
            font-size: 14px;
            font-weight: 400;
            background: rgb(255 255 255 / 40%);
            padding: 5px 0px;
        }

      /*  .dashboard_block .small-box.bg-info:nth-child(1) {
            background: #546dfe url('../images/sales_quotes.svg') no-repeat right / 100px 80px;
        }

        .dashboard_block .small-box.bg-info:nth-child(2) {
            background: rgb(215 124 247) url('../images/open_orders.svg') no-repeat right / 100px 80px;
        }

        .dashboard_block .small-box.bg-info:nth-child(3) {
            background: rgb(12 215 177) url('../images/closed_orders.svg') no-repeat right / 100px 80px;
        }

        .dashboard_block .small-box.bg-info:nth-child(4) {
            background: rgb(254 124 88) url('../images/sales_return.svg') no-repeat right / 100px 80px;
        }

        .dashboard_block .small-box.bg-info:nth-child(5) {
            background: rgb(244 129 54) url('../images/sales_return.svg') no-repeat right / 100px 80px;
        }

        .dashboard_block .small-box.bg-info:nth-child(6) {
            background: rgb(28 108 173) url('../images/manage_payment.svg') no-repeat right / 100px 80px;
        }

        .dashboard_block .small-box.bg-info:nth-child(7) {
            background: rgb(0 121 155) url('../images/open_invoices.svg') no-repeat right / 100px 80px;
        }
*/
        .dashboard_block .small-box.bg-info .inner p {
            font-size: 20px;
        }

@media (max-width: 768px) {

    .dashboard_block {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px 10px;
    }
}

@media (max-width: 767px) {
    .dashboard_block {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
    }
}



@media only screen and (min-width:568px) and (max-width: 767px) {
    .dashboard_block {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px 10px;
    }
}


@media only screen and (min-width:320px) and (max-width: 567px) {
    .dashboard_block {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px 10px;
    }
}



/*SS Dashboard CSS End Here*/
