.lh-1 { line-height: 1 !important; }
.lh-xs { line-height: 0.5 !important; }
.lh-sm { line-height: 1.1428571 !important; }
.lh-md { line-height: 1.3 !important; }
.lh-lg { line-height: 1.8042857 !important; }
.lh-lg2 { line-height: 2.5 !important; }

.aligner { display: flex; align-items: center; justify-content: center; }
.aligner_left { display: flex; align-items: center; justify-content: start; }
.aligner_left_top { display: flex; align-items: flex-start; justify-content: flex-start; }
.aligner_right { display: flex; align-items: center; justify-content: flex-end; }
.aligner_right_top { display: flex; align-items: flex-start; justify-content: flex-end; }
.aligner_top { display: flex; align-items: flex-start; justify-content: center; }
.aligner_bottom { display: flex; align-items: flex-end; justify-content: flex-start; }

.pt-25 { padding-top: 0.8rem !important; }
.lh-md { line-height: 1.5 !important; }

.zindex_9999 {z-index:100000;}

.input-group-text-start {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    justify-content: left;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.input-group-text-end, .input-group-text-end2 {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    justify-content: right;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.input-group-text-end2 {
    -ms-flex-align: start !important;
    align-items: start !important;
    padding-top:0.65rem !important;
}

.posl { position: absolute !important; left:10%; top:0; }
.posr { position: absolute !important; right:10%; top:0; }

#table table, #tablem table, #result table, #plant table, #plants table, #npktb table, #machine table, #pricefert table, #pricefiller table, #orderslist table  {width:100% !important;margin-top:0;} 
#table table th, #result table th, #plant table th, #plants table, #npktb table th, #machine table th, #pricefert table th, #pricefiller table th, #orderslist table th {font-size:13px;font-weight:normal;padding:5px 10px;text-align:center;color:#444;border:none !important;white-space:nowrap;}
#table table td, #result table td, #plant table td, #npktb table td, #machine table td, #pricefert table td, #pricefiller table td, #orderslist table td {font-size:12px;padding:10px;line-height:16px;text-align:center;vertical-align:top;}
#table .toolbarb, #tablem .toolbarb, #plant .toolbarb, #npktb .toolbarb, #pricefert .toolbarb, #pricefiller .toolbarb, #orderslist .toolbarb {padding:5px 0 0 11px;}
#table .row div:nth-child(1), #tablem .row div:nth-child(1), #npktb .row div:nth-child(1), #orderslist .row div:nth-child(1) {margin-right:5px;padding-top:7px;}
.custom-file-label {padding-top:10px !important;}
#tablem table, #tablem table td {border:none !important;background:#fff !important;}
#tablem table thead {display:none;}
#table .stotb th {line-height:20px;padding-top:8px;}
#table .stotb td {text-align:center;font-size:12px !important;}
#table .stotb td div {display:inline-block;text-align:left;}

#result {padding:10px;}
#result table {margin-top:5px;}
#result table td {border: 1px solid rgba(0, 0, 0, 0.1);padding:5px;font-size:14px;}
#result table th {font-size:14px;background-color: #444;color:#fff;}

#plant table td {padding:5px 10px;}
#plant table td:nth-child(3) input {min-width:120px !important;}
#plant table td:nth-child(4) {max-width:200px !important;}
#plant table td:nth-child(4) .input-group {width:190px;}
#plant table td:nth-child(5) input, #plant table td:nth-child(6) input, #plant table td:nth-child(7) input, #plant table td:nth-child(8) input {min-width:60px !important;}
#plant table td:nth-child(9) {white-space:nowrap !important;min-width:200px !important;}
#plant img {width:50px;height:50px;}
#plant .upbtn {width:100%;}

#plants table th {background-color: #444;color:#fff;padding:10px 0;}
#plants table td:nth-child(3) input {width:100% !important;}
#plants table td:nth-child(4) {max-width:200px !important;}
#plants table td:nth-child(4) .input-group {width:190px;}
#plants table td:nth-child(8) {white-space:nowrap !important;width:230px !important;}
#plants table td:nth-child(9) {white-space:nowrap !important;min-width:100px !important;}
#plants img {width:60px;height:60px;}

#pricefert table td:nth-child(2) {min-width:180px !important;white-space:nowrap !important;}
#pricefert table td:nth-child(2) input {width:50px !important;}
#pricefert table td:nth-child(3) {width:100vw;}
#pricefert table td:nth-child(4) input,
#pricefert table td:nth-child(5) input {width:100% !important;}
#pricefert .select2-selection__rendered { text-align:left; }

#pricefiller table td:nth-child(2) {width:200px !important;}
#pricefiller table td:nth-child(2) select {width:200px !important;}
#pricefiller table td:nth-child(3) {width:100% !important;}
#pricefiller .select2-selection__rendered { text-align:left; }

.filter .select2-selection__rendered { text-align:left; font-size:0.8em !important; }
.fertilizer_form .select2-selection__rendered { font-size:1em !important; }
 
#home {background: #fff url('sources/img/bg.png') no-repeat top center / cover;}
#home .wel {font-size:15pt;} 
#home img{width:250px;} 
#home .footer img{width:150px;margin:0 3px 0 3px;}

#npktb table thead th {line-height:18px;padding:10px 10px;}
#npktb table td:nth-child(4) div, #npktb table td:nth-child(8) div {text-align:left;display: inline-block;}

#npk .overlay {background-color: #fff;display: block;height: 100%;left: 0;opacity: .7;position: absolute;top: 0;width: 100%;z-index: 1052;}
#npk .overlay i {margin-top:25%;margin-left:50%;}

@media (min-width: 768px) {
    #home .wel {font-size:20pt;} 
    #home img{width:300px;} 
    #home .footer img{width:180px;}
}

.inputdis {pointer-events: none;background-color:#f0f0f0;color:#525252;}

#machine table th:nth-child(2), #machine table th:nth-child(4), #machine table td:nth-child(5), #machine table td:nth-child(7) {white-space: nowrap;}
#machine table td {vertical-align:middle;padding:5px 10px !important;}
#machine table td:nth-child(3) {width:100%;text-align:left;}
#machine table td:nth-child(7) {padding:5px 5px !important;}

#def_fertilizer_result {overflow-x: auto;overflow-y: hidden;white-space: nowrap;}

#orderslist table td {vertical-align:middle;padding:10px 10px !important;font-size:14px;white-space: nowrap;}
#orderslist table td:nth-child(2) {width:100%;text-align:left;}

.bg-eggshell { background-color: #F3EAD8 !important; }
.bg-modal {background-color:#866C5A;}
.bg-modal2 {background-color:#e9cbb8;}
.order_box .form-control { line-height: 1.8; background-color: #FFF7DB !important; border-color: #ffe589 !important; opacity: 1; font-size: 0.85rem !important; height:auto; }
.order_box .form-2 { background-color: #FFFFFF !important; border-color: #FFFFFF !important; font-size: 1rem !important; padding:1px 0 !important; }
.order_box .info-box { margin-bottom: 0 !important; min-height: auto; }