﻿
/*ERP Sales person Customers List pages Responsive*/

.salescustomers-list-page .page-title {
    border-bottom: none;
}

.salescustomers-list-page .page-title h1 {
    margin: 0 0 30px;
    border-bottom: 1px solid #ddd;
    padding: 0 0 10px;
}

.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;
}
 

/*ERP Sales Purchase orders Qutes Invoices List pages Responsive*/

.erptablelist th {
    border-width: 1px 1px 0;
    border-style: solid;
    border-color: #ddd;
    background-color: #f6f6f6;
    padding: 10px;
    white-space: nowrap;
    font-weight: normal;
}

.erptablelist td {
    min-width: 50px;
    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;
}


@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 #ddd;
            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;
}



.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: 0px 20px 20px 20px;
}

.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;
    }

    .left-rightColumn .form-group{
        min-width: 100%;
        width: 100%;
    }

    .left-rightColumn .form-group input[type="text"]{
        min-width: 100%;
        width: 100%;
    }

    .left-rightColumn .form-group select {
         min-width: 100%;
        width: 100%;
    }

}




/*SS CSS Start Here*/

.left-rightColumn .form-group {
    display: inline-block;
    float: left;
    padding: 0px 30px 10px 0px;
}

.left-rightColumn .form-group label {
    display: block;
    padding: 0px 0px 5px 0px;
}

.left-rightColumn {
    margin-bottom: 20px;
    display: inline-block;
    margin-left: -10px;
}

.left-rightColumn .form-group input[type="text"] {
    /*min-width: 250px;*/
    border: 1px solid #d4d4d4;
    background-color: #fff;
}

.left-rightColumn .form-group select {
    /*min-width: 250px;*/
    border: 1px solid #d4d4d4;
}

.left-rightColumn .form-group input[type="text"]:focus {
    border: 1px solid #9d9d9d;
}

.left-rightColumn .form-group select:focus {
    border: 1px solid #9d9d9d;
}