#login-container {
    background: #2d8a31ff;
    background: linear-gradient(186deg, #1c631e 0%, #68ad6b 100%);
}

#login-wrap {
    margin: 0 auto !important;
    width: 400px !important;
    background-color: #ffffff;
    padding: 30px !important;
    border-radius: 4px;
    color: #505e6c;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.loginLogo {
    margin: 0 0 20px 0;
}

#login-wrap h1 {
    text-align: center;
    font-size: 2rem;
    color: #237725;
    padding: 18px 0 34px 0;
    height: auto !important;
}

#login-wrap .input_box1 {
    border: 1px solid #e4e4e4;
    width: 100%;
    padding: 10px 8px;
    color: #000;
    font-family: "FranklinGothic-Medium";
    font-weight: normal;
    font-size: 1.125rem;
    height: auto !important
}

#login-wrap span.divMsg1 {
    height: auto !important;
}

#login-wrap .divMsg1 {
    padding-left: 0 !important;
    width: 100%;
}

#login-wrap .login_btn_img {
    background: #408642 !important;
    border: 0;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    padding: 10px 30px;
    margin: 10px 0 0 0;
    border-radius: 4px;
    height: auto !important;
    width: auto !important;
}

#login-wrap .login_btn_img:hover {
    background: #316933ff !important;
}

.login-footer {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    color: #fff;
    font-size: 1.25rem;
    padding: 5px 0;
    font-weight: 300 !important;
}

#login-wrap .divMsg1 {
    padding-left: 0 !important;
    width: 100%;
    height: auto !important;
}

#login-wrap label.error {
    font-size: 12px !important;
    padding: 4px 0 0 0 !important;
    display: block;
    text-align: left;
}

/* App viewport height: no full-page scrollbar; only main content scrolls */
.container-wrap {
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

.wrapper-table {
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    /* no table-layout: fixed - it collapsed the single body column to ~338px */
}

/* Body row: must not grow; height = viewport minus header (~114px) and footer (31px) = 145px */
.wrapper-table tr.body,
.wrapper-table tr#fullWidth {
    height: 1px !important;
    max-height: calc(100vh - 165px) !important;
}

.wrapper-table tr.body td,
.wrapper-table tr#fullWidth td {
    width: 100% !important;
    height: calc(100vh - 165px) !important;
    /* 114px header + 31px footer */
    max-height: calc(100vh - 165px) !important;
    min-height: 0 !important;
    position: relative;
    vertical-align: top;
    overflow: hidden !important;
}

.wrapper-table tr.body td .rhs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

/* Iframe container fills .rhs so inner content gets correct height and width */
.wrapper-table tr.body td .rhs #iframe_container {
    width: 100% !important;
    height: calc(100vh - 210px) !important;
    min-height: 0;
}

.wrapper-table tr.body td .rhs #iframe_container iframe.master_frame {
    width: 100% !important;
    height: calc(100vh - 210px) !important;
    min-height: 300px;
}

/* Iframe content: no document scrollbar; only .scrollable-wrap scrolls (fixes double scrollbar) */
html.iframe-html,
body.iframe-body {
    height: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
}

body.iframe-body {
    display: flex !important;
    flex-direction: column !important;
}

body.iframe-body>form {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

body.iframe-body .search_bar,
body.iframe-body .clrboth {
    flex-shrink: 0;
}

body.iframe-body .scrollable-wrap {
    flex: 0.96 1 0% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    height: auto !important;
    /* let flex control height so only this area scrolls */
}

.scrollDiv1,
.today-shipment,
#footer {
    width: 100% !important
}

.dashboard-open-pos {
    height: 400px;
    overflow-y: auto;
}

.dashboard-open-pos table thead tr th {
    padding: 6px;
    font-size: 14px;
    color: #46a049;
    background: #f2f2f2;
    border: 1px solid #d7d7d7 !important;
    font-weight: normal;
    vertical-align: middle;
}

.dashboard-open-pos table tr td {
    color: #5e5e5e;
    border: 1px solid #d7d7d7;
    border-top: none;
    padding: 6px 5px;
    font-size: 13px !important;
    vertical-align: middle;
}

.customer-head td {
    padding: 6px;
    font-size: 14px;
    color: #46a049;
    background: #f2f2f2;
    border: 1px solid #d7d7d7;
}

.market-price td {
    background: #999 !important;
    padding: 6px !important;
    border: 1px solid #FFF !important;
}

.market-price td .label {
    display: block;
    font-size: 15px;
    color: #FFF;
}

.market-price td .price {
    display: block;
    font-size: 12px;
    color: #FFF;
}

.market-price td {
    color: #FFF;
}

#footer {
    position: relative;
    width: 100%;
    height: auto !important;
    background: #46a049 !important;
    margin: 0 auto;
    /* line-height: 31px; */
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 5px 0px;
}

#header {
    padding-left: 0px;
}

.logo {
    width: auto !important;
    height: auto !important;
    margin-left: 10px;
}

#nav_bar a {
    color: #000 !important;
}

.welocme_user {
    color: #46a049 !important;
}

.search_bar {
    padding: 0 3px !important;
    height: auto !important;
    color: #000;
    border-bottom: 1px solid #e8e8e8;
}

.search_bar .input_box1 {
    padding: 5px 6px !important;
    width: 215px !important;
    font-size: 12px !important;
    border: 1px solid #d0caca;
    height: auto !important;
}

.new_btn {
    background: #46a049 !important;
    color: #fff !important;
    font-size: 15px !important;
    padding: 9px 16px !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    font-weight: 500 !important;
    border-radius: 3px !important;
    border: none;
    text-decoration: none !important;
}

.search_bar .btn_img,
.search_bar .btn_img_big,
input.btn_img_big[type="submit"],
.btn_img,
.add-btn {
    background: #46a049 !important;
    color: #fff !important;
    font-size: 15px !important;
    padding: 9px 16px !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    font-weight: 500 !important;
    border-radius: 3px !important;
    border: none;
    text-decoration: none !important;
    margin: 0 !important;
}

.search_bar .btn_img:hover,
.search_bar .btn_img_big:hover,
input.btn_img_big[type="submit"]:hover,
.btn_img:hover,
.add-btn:hover {
    background: #5fc762 !important;
}

.search_bar .inp {
    padding: 5px 6px !important;
}

.search_bar .input_boxvalue {
    height: auto !important;
    padding: 5px 6px !important;
    width: 180px;
    border: 1px solid #d0caca !important;
}

.search_bar label {
    color: #000;
}

table.item_table tr th,
table.item_table tr td {
    font-size: 13px !important;
    font-weight: normal !important;
    border-left: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8 !important;
    padding: 5px 15px;
    background: #f1f1f1 url(../images/table_row_bg.jpg) repeat-x;
}

.search_bar .styled-select {
    padding: 4px 0;
    height: auto;
    border: 1px solid #d0caca !important;
}

.search_bar .styled-select select {
    padding: 5px 5px;
    height: auto !important;
}

.styled-select select {
    height: 31px !important;
}

.new_input {
    border: 1px solid #e4e4e4;
    width: 95%;
    padding: 7px 8px;
    background: #f1f1f1;
    color: #000;
    font-size: 14px;
}

.text_box1 {
    border: 1px solid #e4e4e4 !important;
    height: auto !important;
    padding: 1px 3px !important;
    background: #f1f1f1 !important;
    color: #000 !important;
    font-size: 14px !important;
}

sup.text_small {
    font-size: 12px !important;
}

.text_small {
    color: #ff1e1e;
}

label {
    color: #000000;
    font-size: 14px;
}

.newSearchbox select {
    font-size: 12px !important;
    padding: 8px 25px 8px 6px !important;
    appearance: none;

    border: 1px solid #d0caca !important;
    background: url(../images/down_arrow_select.jpg) rgb(241, 241, 241) no-repeat 100% 90%;
    min-width: 150px !important;
}

.inp {
    padding: 7px 6px !important;
    width: 215px !important;
    font-size: 12px !important;
}

select {
    outline: none !important;
}

.spec-bank {
    overflow: auto !important;
}

.spec-bank .col-2 input[type="text"] {
    padding: 4px 8px !important;
    margin-right: 5px;
}

.spec-bank .styled-select {
    height: 30px !important;
}

.new_input {
    border: 1px solid #e4e4e4;
    width: 95%;
    padding: 7px 8px;
    background: #f1f1f1;
    color: #000;
    font-size: 14px;
}

.new-search-box {
    font-size: 12px;
    height: auto !important;
    padding: 8px 25px 8px 6px !important;
    background: rgb(241, 241, 241);
    border: 1px solid #d0caca;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background: url(../iconss/site-down-arrow.png) no-repeat #f9f9f9 97%;
    min-width: 150px;
}

.scrolable-head {
    width: 100% !important;
}

.item-wrapper {

    width: 100% !important;
}

#add-rec #purcahsemulitem .purchase-cat-list li {
    width: 33.3% !important;
}

.new-select .styled-select {
    background: none !important;
    width: auto !important;
    height: auto !important;
}

.new-select .styled-select select {
    font-size: 12px;
    height: auto !important;
    padding: 8px 25px 8px 6px !important;
    background: rgb(241, 241, 241) !important;
    border: 1px solid #d0caca !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-repeat: no-repeat;
    background: url(../iconss/site-down-arrow.png) no-repeat #f1f1f1 95% !important;
    min-width: 150px !important;
}

.item-clm #item-sct {
    width: 216px !important;

}

.styled-select {
    height: 30px !important;
}

.styled-select select {
    width: 99% !important;
    padding-right: 22px !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    padding-left: 3px !important;
    background-position: right center !important;
}

.item-clm #pack-sct {
    width: 175px !important;
}

.item-clm #pack-sct {
    width: 200px !important;

}

.btn_inactive {
    background: #a9a9a9 !important;
    color: #fff !important;
    font-size: 15px !important;
    padding: 9px 16px !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    font-weight: 500 !important;
    border-radius: 3px !important;
    border: none;
    text-decoration: none !important;
    margin: 0 !important;
}

.btn_img {
    margin-right: 3px !important;
}

table.matrixshipment td {
    padding: 10px 5px;
}

table.matrixshipment th {
    padding: 8px 0;
}

.deleteorderdb,
.deleteorder {
    background: #bb2323 !important;
}

.deleteorderdb:hover,
.deleteorder:hover {
    background: #da3030 !important;
}

.scrolable-head .save_btn_bar {
    display: flex;
    justify-content: end;
}

.error,
.divMsg1,
.divMsg1 p {
    color: #c00 !important;
}

.search_bar .newSearchbox select {
    background: url(../images/down_arrow_select.jpg) rgb(249 249 249) no-repeat 100% 90% !important;
}