﻿html, body {
    height: 100%;
    margin: 0;
}

.wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}
/*.header, .footer {
}*/
nav.navbar {
    border-radius: 0;
}

.content {
    flex: 1;
    overflow: auto;
    position: relative;
    margin: 10px 0 10px 0;
}

.navbar {
    margin-bottom: 0;
}

.header .panel {
    margin-bottom: 0;
}

.header h3 {
    vertical-align: bottom !important;
    display: inline-block;
    margin: 0;
    height: 100%;
}

input.validationError, select.validationError, textarea.validationError {
    border: 2px solid red;
}

.pagination {
    margin: 0;
}

/* 50px */
.column-50 {
    width: 50px;
}

td.input-50 {
    width: 50px;
}

    td.input-50 > input {
        width: 100%;
    }

td:last-child .input-50 {
    width: 50px;
}
/* ^^^50px^^^ */

/* 85px */
.column-85 {
    width: 85px;
}

td.input-85 {
    width: 85px;
}

    td.input-85 > input {
        width: 100%;
    }

td:last-child .input-85 {
    width: 85px;
}
/* ^^^85px^^^ */

/* 150px */
.column-150 {
    width: 150px;
}

td.input-150 {
    width: 150px;
}

    td.input-150 > input {
        width: 100%;
    }

td:last-child .input-150 {
    width: 150px;
}
/* ^^^150px^^^ */

/* 350px */
.column-350 {
    width: 350px;
}

td.input-350 {
    width: 350px;
}

    td.input-350 > input {
        width: 100%;
    }

td:last-child .input-350 {
    width: 350px;
}
/* ^^^350px^^^ */


.knockout-autocomplete.menu {
    background-color: white;
    padding: 3px 0;
}

.knockout-autocomplete.floating-menu {
    position: fixed;
    border: thin #aaa solid;
    margin: 0;
    margin-top: 3px;
    -webkit-box-shadow: 1px 1px 4px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 1px 1px 4px rgba(50, 50, 50, 0.75);
    box-shadow: 1px 1px 4px rgba(50, 50, 50, 0.75);
}

.knockout-autocomplete.after-menu {
    position: absolute;
}

.knockout-autocomplete.menu li {
    cursor: pointer;
    list-style: none;
    margin: 0px 0;
    padding: 3px 12px;
}

    .knockout-autocomplete.menu li.selected {
        background-color: #eee;
    }

.btn.ontop {
    position: relative;
    z-index: 9999;
}

.selectize-dropdown {
    z-index: 10000 !important;
}
/*.selectize-input .item {
    padding:0;
    margin:0;
    white-space:nowrap;
    overflow:hidden;
}*/


/*.selectize-control .selectize-input.items .item { white-space:nowrap !important; }
.selectize-control .selectize-input.items { max-height:34px;overflow:hidden; }*/

.c {
    padding: 0;
    margin: 0;
}

.cc {
    margin: 0;
    padding: 0;
}

    .cc .row {
        margin: 0;
        padding: 0;
    }

        .cc .row > div {
            margin: 0;
            padding: 0;
        }

            .cc .row > div > .row {
                margin: 0;
                padding: 0;
            }

.c.buttons button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/*.c.buttons button:first-child {
    border-bottom-left-radius:0;
}
.c.buttons button:last-child {
    border-top-left-radius:0;
}*/
/*#productlist > .row {
    background: #ff0000;
}*/

#productlist {
    border: 1px solid #d4d0d0;
    border-left: 0;
    border-top: 0;
}
/*.productrow {
    display:flex;
    flex-direction:row;
        flex:1;
}
.productrow > div.c {
    display:flex;
    flex-direction:column;
    flex:1;     
}

.productrow > div.c > div.c {
    display:flex;
    flex-direction:column;
    flex:1;
}
.productrow > div.c > div.c > div.c {
    display:flex;
    flex-direction:column;
    flex:1;
}
.productrow > div.c.col-md-4 > div.c.form-group.form-group-sm {
    display:flex;
    flex-direction:unset;
    flex:1;
}
.productrow > div.c > div.c > div.c > div.row {
    display:flex;
    flex-direction:row;
    flex:1;
}
.productrow > div.c > div.c > div.c > div.row > div.c {
    flex-direction:column;
    flex:1;
}*/
.productrow > div.c > div.c > div.c > div.row > div.c > .btn-group {
    height: 100%;
}

    .productrow > div.c > div.c > div.c > div.row > div.c > .btn-group button {
        height: 100%;
    }

        .productrow > div.c > div.c > div.c > div.row > div.c > .btn-group button:last-child {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            border-right: 1px solid black;
        }
/*.productrow > div:first-child {
    flex-direction:column;
    flex:1;
}
.productrow > div:first-child > .btn-group {
    height:100%;
}
.productrow > div:first-child > .btn-group > button {
    height:100%;
}
.productrow > div:first-child > .btn-group > button:last-child {
    border-top-right-radius:0;
    border-bottom-right-radius:0;
    border-right:1px solid black;
}*/

.productlist-header {
    /*border-top:1px solid black;
    border-left:1px solid black;
    border-right:1px solid black;*/
    background: #f0f0f0;
    border: 1px solid #dadada;
    border-bottom: 0;
}

#productlist > .row {
    border-bottom: 1px solid #d4d0d0;
    margin: 0px;
}

.productlist {
    padding: 0;
}

#productlist > .row:last-child {
    border-top: 0;
    border-bottom: 0;
}
/*#productlist > .row:nth-of-type(odd) {
    background: #337ab7;
    color:#ffffff !important;
}*/

#productlist input {
    /*padding:0;
    margin:0;
    height: 33px;*/
}

/*#productlist > .row:nth-of-type(odd) small {
    background: #337ab7;
    color:#ffffff !important;
}*/

.extrasm {
    font-size: 9px;
}

#productlist > .row.newitem {
    border: 3px solid #5cb85c;
}

#productlist > .row.changeditem {
    border: 3px solid #ec971f;
}

#productlist .c .form-group-sm {
    margin: 0;
    padding: 0;
}

/*div.form-horizontal div.row div.col-md-7 div.row div.col-md-1 div.form-group-sm div.col-sm-10.col-md-12 {
    padding:0;
    margin:0;
}
div.form-horizontal div.row div.col-md-7 div.row div.col-md-1 div.form-group-sm div.col-sm-10.col-md-12 input {
    padding:1px;
    margin:0;
    text-align:center;
}*/
#entryarea {
    padding: 20px 20px 0 20px;
}

.entrydeleting {
    text-decoration: line-through;
    color: red;
}

.c > label {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}


.form-group-sm.c > label {
    border: 1px solid black;
}

/*region for responsive*/
/*.productlist button {
    margin: 5px 0 5px 0px;
}*/

.footer .btn {
    margin-bottom: 5px;
}

.collapse-header {
    margin-left: -18px !important;
    margin-right: -16px !important;
    background-color: #d0cfcf;
    height: 30px;
    padding: 4px 0px 0 15px;
    border: 1px solid black;
}

.autoHeight {
    height: auto !important;
}

.login-Center {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 90%;
}

    .login-Center > .panel-info {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

.nopadding {
    padding: 0 !important;
}


.pt-0 {
    padding-top: 0px !important;
}

.overflow-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.selectdisabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}
/*endregion*/
.pt-0 {
    padding-top: 0px !important;
    padding: 5px;
}

.mt-2 {
    margin-top: 2px !important;
}

/**sorting icon css*/
.sort-by:before,
.sort-by:after {
    border: 4px solid transparent;
    content: "";
    display: block;
    height: 0;
    right: 5px;
    top: 50%;
    position: absolute;
    width: 0;
    font-size: 14px;
}

.sort-by {
    padding-right: 18px;
    position: relative;
}

    .sort-by:hover {
        cursor: pointer;
        text-decoration: underline;
    }

.sort-by-asc:before {
    border-bottom-color: #666;
    margin-top: -9px;
}

.sort-by-desc:after {
    border-top-color: #666;
    margin-top: 1px;
}

.m-l-10 {
    margin-left: 10px;
}

.grid-top-padding {
    padding-top: 10px;
}

#orderlists {
    width: 120% !important;
}

.search-lable {
    float: left;
}

.search-lable-display {
    display: block;
    font-size: 12px;
}

.order-title-top-margin {
    margin: 15px 0 0 0;
}

.login-Center > .login-validation-info {
    width: 100%;
    max-width: 450px;
    /*margin: 0 auto;*/
}

    .login-Center > .login-validation-info > p {
        color: red;
        background-color: #fbd2d2;
        padding: 10px;
        border-radius: 5px;
    }

.f-s-16 {
    font-size: 16px !important;
}

select.validationError + .selectize-control .selectize-input {
    border: 2px solid red;
}

.fa.fa-eye {
    cursor: pointer;
}

.btn-report {
    background-color: lightgray;
    border-color: lightgray;
}

    .btn-report:hover {
        background-color: gray;
        border-color: gray;
    }

.font-blue, .font-blue:hover {
    color: blue;
}

.font-green, .font-green:hover {
    color: green;
}

.font-burgundy, .font-burgundy:hover {
    color: #800000;
}

.font-orange, .font-orange:hover {
    color: orange;
}

.font-red, .font-red:hover {
    color: red;
}

.font-turquoise, .font-turquoise:hover {
    color: turquoise;
}

.font-black, .font-black:hover {
    color: black;
}

.alert {
    position: absolute;
    top: 4px;
    right: 10px;
}

    .alert i {
        cursor: pointer;
        margin-top: 3px;
        margin-left: 20px;
    }

.alert-danger {
    color: #a94442 !important;
    background-color: #f2dede !important;
    border-color: #ebccd1 !important;
}

.alert-success {
    color: #3c763d !important;
    background-color: #dff0d8 !important;
    border-color: #d6e9c6 !important;
}

.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5;
}

#loading {
    color: white;
}

.mail-header {
    padding: 10px;
    background-color: lightgray;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}

.mail-body {
    padding: 10px;
}

.Email-block {
    margin-top: 10px;
    position: fixed;
    top: 0px;
    width: 98%;
    background-color: white;
    border: 2px solid;
    z-index: 999;
}

.cm-text-break {
    word-break: break-all;
}

@media (min-width:1280px) {
    .cm-table {
        width: 60%;
    }

        .cm-table input {
            width: 80%;
        }
}

@media(max-width:992px) {
    .grid-top-padding {
        padding-top: 50px !important;
    }

    #orderlists {
        width: 100% !important;
    }
}

@media(max-width:768px) {
    .grid-top-padding {
        padding-top: 80px !important;
    }

    .search-p-t {
        padding-top: 50px;
    }

    .order-p-t {
        padding-top: 15px;
    }
}

.p-t-50 {
    padding-top: 0px !important;
    margin-top: 50px;
}

.p-t-85 {
    padding-top: 0px !important;
    margin-top: 85px;
}

.mb-4 {
    margin-bottom: 4px;
}


.order-grid-background {
    background: #ffffff;
}

.m-l-4 {
    margin-left: 4px;
}

.report-validation {
    padding-left: 10px;
    color: red;
}

@media(min-width:992px) {
    .nopadding .form-group.form-group-sm {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .fix-title {
        position: fixed;
        padding-right: 33px;
        z-index: 0;
    }

    .order-nopadding {
        padding: 0 !important;
    }

    .order-not-m8 {
        margin: 0 -8px !important;
    }

    .cm-pad-0-desktop {
        padding: 0;
    }
}

@media(max-width:480px) {
    .alert {
        top: 3px;
        right: 10px;
        left: 10px;
        padding: 5px 15px !important;
    }

    .alert-dismissable .close, .alert-dismissible .close {
        top: 50%;
        right: 0px;
    }
}

@media(max-width:320px) {
    .order-p-t {
        padding-top: 50px;
    }
}
