:root { 
    --sltec-blue: #0075bd;
    --table-header-color: #333;
    --footer-background: #333;
    --header-background: #0075bd;
}

body {
    margin: 0;
    padding: 0;
    color: #FFF;
    font-family: "Source Sans Pro", Tahoma, Arial, Verdana, sans-serif;
    font-size: small;
}

.sf-sub-indicator {
    display: none !important;
}

h1 {
    margin-bottom:15px;
}

#page {
    /* margin-top: 2px; */
    /* padding-top: 10px; */
    /* margin-bottom: 5px; */
    /* background: #499500; */
}

#header {
    margin: 0;
    padding: 0px 20px;
    padding-top:10px;
    background-color:var(--sltec-blue);
    width: 100%;
    /* width: 830px; */
}

#content {
    padding: 20px;
}

#main-content {
    font-size: 12px;
}

#sidebar {
    padding: 20px;
    height: 100%;
}

#footer {
    padding: 20px;
   /* margin: 10px 20px; */
    font-size: 0.9em;
    text-align: left;
    font-weight: normal;
    color: white;
    background-color:var(--footer-background);
}

#logo {
    /* padding: 2px 7px; */
    font-size: 100%;
    font-weight: bold;
    z-index: 99;
    position: relative;
    height:70px;
    width:640px;
}

#logo img {
    max-height:60px;
    width:auto;
}



#mainmenu {
    margin-bottom: 0px;
    z-index: 999;
    top: 50px;
    padding-left: 25px;
    background-color:#eee;
}

@media only screen and (max-width: 800px) {
    #mainmenu {
        right: 0;
        top: 3px;
    }
    #header{
        height: 33px;
    }
}

#mainmenu ul {
    /* padding: 7px 7px 7px 7px; */
    margin-bottom: 0px;
    margin-left: 0px;
}

#mainmenu ul li ul {
    /* padding: 7px 7px 7px 0px;
    background-color: #80BD26; */
    margin-top: 0px;
    border-top: 5px solid #333;
    border-left: 1px solid #1374bd;  
    border-radius:0;
    padding:0;
    /*width: 250px !important*/
}

#mainmenu ul li {
    /*display: inline;*/
    /* margin: 0px 3px; */
    background: url(../images/trans1x1.png);
}

#mainmenu ul li a {
    color: #333;
    background-color: #eee;
    font-size: 13px;
    text-decoration: none;
    border:none;
    padding:10px 20px;
}

#mainmenu ul li a.sf-with-ul::after {
    content: "►";
    margin-left: 5px;
}

#mainmenu ul li li a {
    background-color: #eee !important;
    width: 260px;
    font-size:12px;
    border-bottom:1px #ddd solid;
}

#mainmenu ul li a:hover {
    background-color: #ccc;
    color:var(--sltec-blue);
    text-decoration: none;
}

#mainmenu ul li li a:hover {
    color: #333;
    background-color: #ccc !important;
    text-decoration: none;
}

#mainmenu ul li li.active a {
    color: #FFF;
    background-color: #666 !important;
    text-decoration: none;
}

#mainmenu ul li.active a {
    color: #fff;
    background-color: #666;
    text-decoration: none;
}

#mainmenu ul li.active ul li a {
    color: #333;
    /* background-color: #666; */
    text-decoration: none;
}

#mainmenu ul li ul li ul {
    margin-left: 100px;
    margin-top: -5px;
    background-color: #f5f5f5 !important;
}

#mainmenu ul li ul li ul li a {
    background-color: #f5f5f5 !important;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

div.form .rememberMe label {
    display: inline;
}

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #80BD26;
}

div.breadcrumbs {
    font-size: 0.9em;
    padding: 5px 0px;
}

div.breadcrumbs span {
    font-weight: bold;
}

div.breadcrumbs a {
    color: #FFF;
}

div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet {}

.portlet-decoration {
    background-color: #004F79;
}

.portlet-title {
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #FFF;
}

.portlet-content {
    margin: 10px;
}

.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.portlet-content li {
    padding: 2px 0 4px 0px;
}

.operations {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.operations li {
    padding-bottom: 2px;
    margin: 5px 0;
    padding: 0 !important;
}

.operations li a {
    display: block;
    background-color: #80BD26;
    font: bold 12px Arial;
    color: #FFF;
    text-decoration: none;
}

.operations li a:visited {
    color: #FFF;
}

.operations li a:hover {
    background-color: #5EB520;
}

#page #main-content {
    margin: auto;
    margin-top: 40px;
    width: 100%;

}

#page .container {
    background-color: #FFFFFF;
    color: #555555;
    margin: 0px auto;
    width: 100%;
}

/* #page, #page .container, #page #main-content {
    border: 1px solid #6AAC2B;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 14px 0px;
} */

/* #mainmenu ul li a, .portlet-decoration, .operations li a {
    padding: 8px 15px 8px 15px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    color: white;
    text-align: left;
    border: 0px;
    text-shadow: rgba(0,0,0,0.5) 1px 0px 0px;
} */

.toggle-menu #mainmenu ul li a {
    padding: 5px 15px 5px 15px !important;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    color: white;
    text-align: left;
    border: 0px;
    /**text-shadow: rgba(0,0,0,0.5) 1px 0px 0px;*/
}
.toggle-menu a{
    text-align: center !important;
}
.toggle-menu a img{
    margin: 1px 0 0px 0px;
}

#page, #page .container, #page #main-content { 
    /* -moz-box-shadow: 0 0 3px #000000;
    -webkit-box-shadow: 0 0 3px #000000;
    box-shadow: 0 0 3px #000000; */
    margin: 0;
} 

input[type="text"] {
    border: 1px #ddd solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

select {
    border: 1px #ddd solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

#shortcutmenu {
    padding: 2px 20px 0px 20px;
    float: right;
    margin-top:20px;
}

/*.grid-view table.items .button-column {min-width:80px; max-width:150px; }*/

#skill-type-grid_c0 {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
}

#TimeSheet_taskId {
    width: 220px;
}

#footer a {
    color: white;
    text-decoration: none;
}

#footer a:hover {
    color: yellow;
    -moz-transition: color 0.1s ease-in;
    -webkit-transition: color 0.1s ease-in;
}

.grid-view {
    padding-top: 0px;
}

.grid-view {
    margin-top: -15px;
}

#sales-orders-grid th.button-column {
    min-width: 100px;
    width: 130px;
}

#footer-precontent {
    padding: 10px;
    margin: 10px 20px;
}

#footer-precontent ul {
    padding-left: 0px;
}

#footer-precontent li {
    float: left;
}

#footer-precontent ul, #footer-precontent li {
    list-style-type: none;
}

.editableField {
    background-color: rgb(214, 252, 209);
    border-width: 1px;
    border-color: green !important;
    border-style: solid;
    padding: 1px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

.readOnlyField {
    background-color: #EFEFEF;
    border: 1px lightgray solid !important;
    padding: 1px;
}

.autoCalcField {
    background-color: #f3d98e;
    border: 1px #e28906 solid !important;
    padding: 1px;
}

.autoField {
    background-color: #D6E4F7;
    border: 1px blue solid !important;
    padding: 1px;
}

.numberField {
    text-align: right;
}

.important {
    background-color: rgb(214, 252, 209);
    border-width: 2px !important;
    padding: 1px;
}

select.editableField {}

.button {
    padding: 5px 10px 5px 10px;
    min-width: 100px;
    min-height: 10px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    color: #FFF!important;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.green {
    background: url(background_green.gif) repeat-x;
    border: solid 1px #cccccc;
    color: #ffffff;
}

.red {
    background: url(background_red.png) repeat-x;
    border: solid 1px #cccccc;
    color: #ffffff;
}

.blue {
    background: url(background_blue.gif) repeat-x;
    border: solid 1px #cccccc;
    color: #ffffff;
}

.yellow {
    background: url(background_yellow.gif) repeat-x;
    border: solid 1px #cccccc;
    color: #ffffff;
}

.grey {
    background: url(background_grey.gif) repeat-x;
    border: solid 1px #cccccc;
    color: #ffffff;
}

.orange {
    background: url(background_orange.gif) repeat-x;
    border: solid 1px #cccccc;
    color: #ffffff;
}

.white {
    background: url(background_white.gif) repeat-x;
    border: solid 1px #cccccc;
    color: #000000 !important;
    text-shadow: none !important;
}

.transparent {
    border: solid 1px #cccccc;
    color: #000000 !important;
    text-shadow: none !important;
}

a.search-button {
    display: block;
    background: #fff url(advsearch.png) top left no-repeat;
    text-align: left;
    line-height: 15px;
    width: 125px;
    color: transparent;
    float: left;
    background-size: 125px 15px;
}

a.clr-filter-button {
    display: block;
    background: #fff url(clrfilters.png) top left no-repeat;
    text-align: left;
    line-height: 15px;
    width: 105px;
    color: transparent;
    float: left;
    background-size: 105px 15px;
    margin-left: 10px;
}

.lineOnTop {
    border-top: 1px solid #DDDDDD;
}

.detailedViewTable {
    border-spacing: 0px;
    border-color: gray;
    width: 960px;
    min-width: 960px;
    max-width: 960px;
    margin-bottom: 7px;
}

.detailedViewTable div.form input, .detailedViewTable div.form textarea, .detailedViewTable div.form select {
    margin: 0;
}

.dvtCellInfo input[type=text] {
    min-width: 50px;
}

.detailedViewHeader {
    border: 1px solid #DDDDDD;
    padding: 12px;
    background: #dddcdd url(inner.gif) bottom repeat-x;
    color: #000000;
    padding: 4px 10px 20px 5px !important;
}

.dvtCellLabel, .cellLabel {
    background: #F7F7F7 url(testsidebar.jpg) repeat-y scroll right center;
    color: #545454;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    text-align: right;
}

/*.dvtCellLabel label { white-space: -moz-pre-wrap !important;  Mozilla, since 1999  white-space: -pre-wrap;  Opera 4-6  white-space: -o-pre-wrap;  Opera 7  white-space: pre-wrap;  css-3  word-wrap: break-word;  Internet Explorer 5.5+  word-break: break-all; white-space: normal;  }*/

.detailedViewTable td, .detailedViewTable th {
    border-bottom: 1px solid #DEDEDE;
    border-left: 1px solid #DEDEDE;
    border-right: 1px solid #DEDEDE;
    padding: 0px 10px 0px 5px;
    width: 100px;
}

.detailedViewTable td.divider, .detailedViewTable td.divider {
    border: 0px;
}

.detailedViewTable .readOnlyField {
    padding: 5px;
    min-width: 200px;
    max-width: 200px;
    min-height: 24px;
    max-height: 24px;
    display: inline-block;
    color: black !important;
}

.detailedViewTextBox {
    color: #000000;
    border: 1px solid #bababa;
    padding-left: 5px;
    width: 90%;
    background-color: #ffffff;
}

.crmTableRow {
    border-bottom: 1px dotted #dadada;
    border-right: 1px dotted transparent;
}

#account-popup-grid, 
#account-contact-popup-grid, 
#agronomist-popup-grid, 
#grower-popup-grid, 
#products-popup-grid, 
#analysis-system-popup-grid, 
#tank-products-popup-grid, 
#tank-rental-popup-grid{
    font-size: 11px;
}

#sales_quote_products th, 
#sales_invoice_products th, 
#sales_order_products th {
    color: white;
    background: var(--table-header-color);
    text-align: left;
    padding: 2px;
}

#sales_quote_products th, 
#sales_quote_products td, 
#sales_quote_products_footer td {
    width: 10%;
}

#sales_quote_products th:nth-child(3), 
#sales_quote_products td:nth-child(3), 
#sales_quote_products_footer td:nth-child(3) {
    width: 20%;
}

table.batchRmtable {
    min-width: 777px;
    width: 100%;
}

table.batchRmtable th {
    color: white;
    background: var(--table-header-color);
    text-align: left;
    /*padding: 5px;*/
}

table.batchRmtable th {
    max-width: 30px;
}

table.batchRmtable th:nth-child(6) {
    max-width: 100px;
}

table.batchRmtable th:first-child, 
table.batchRmtable td:first-child {
    /*max-width: 10px;min-width: 10px;width: 10px;*/
}

#sales_quote_products th:first-child, 
#sales_quote_products td:first-child, 
#sales_quote_products_footer td:first-child {
    width: 2%;
}

#sales_quote_products th:last-child, 
#sales_quote_products td:last-child, 
#sales_quote_products_footer td:last-child {
    width: 3%;
    min-width: 20px;
}

.subsection, .subsection2 {
    /**background: white; background-image: url(layerPopupBg.gif);*/
    margin-top: 12px;
    border: 0px !important;
}

.subsection {
    margin-bottom: 12px;
    max-width: 960px;
    min-width: 960px;
    width: 960px;
}

#batchheader-form .subsection, 
#batchheader-form .formgrid {
    margin-bottom: 12px;
    max-width: 800px;
    min-width: 800px;
    width: 800px;
}

.priceperunitvalues, 
.quantityvalues, 
.rowtotal, 
.totalcost, 
.audpricepertonnevalue, 
.pricepertonnevalue, 
.currencyidvalue, 
.priceperpackaudvalue {
    text-align: right;
    width: 60px !important;
}

.numericalvalues {
    text-align: right;
    width: 80px;
}

.packsizeidvalue {
    text-align: right;
    max-width: 130px !important;
}

.packsizeunitvalues {
    width: 40px;
}

.exchangeratevalue {
    max-width: 53px;
}

.nofpacksvalue, 
.noftonnesvalue, 
.nofpalletsvalue {
    max-width: 35px;
}

#quoterawmaterial th {
    color: white;
    background:var(--table-header-color);
    text-align: left;
}

.PopupPanel {
    border: solid 1px #DDD;
    position: fixed;
    left: 50%;
    top: 50%;
    background-color: white;
    z-index: 1000;
    margin-top: -200px;
    margin-left: -300px;
}

fieldset.subsection legend, 
fieldset.subsection2 legend {
    font-family: 'Tahoma', cursive;
    font-size: 14px;
    color: black;
    line-height: 1;
    margin-top: 7px;
    margin-bottom: 7px;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
}

#userinfopanel {
    z-index: 50;
    position: absolute;
    float: right;
    width: 255px;
    height: 70px;
    padding: 10px;
    top: 5px;
    right: 2.5%;
    text-align: right;
}

#userinfopanel a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

#userinfopanel a:hover {
    color: yellow;
}

#userinfopanel marquee {
    color: greenyellow;
}

div.flash-error, 
div.flash-notice, 
div.flash-success, 
div.flash-warning {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
    padding-left: 2.5em;
    border-radius: 7px;
}

div.flash-error {
    color: #8a1f11;
    border: 1px solid #FBC2C4;
    background: url(exclamation.png) left center no-repeat #FBE3E4;
    background-position: 10px 10px;
}

div.flash-notice {
    color: #514721;
    border: 1px solid #FFED30;
    background: url(information.png) left center no-repeat #FDFDC7;
    background-position: 10px 10px;
}

div.flash-success {
    color: #264409;
    border: 1px solid #C6D880;
    background: url(tick.png) left center no-repeat #E6EFC2;
    background-position: 10px 10px;
}

div.flash-warning {
    color: #264409;
    border: 2px solid orangered;
    background: url(warning.png) left center no-repeat #FFC175;
    background-position: 10px 10px;
}

div.flash-error a {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

.grandtotaldiv {
    font-weight: bold;
    font-size: 18px;
    color: black;
}

.grandtotalvalue {
    font-weight: bold;
    font-size: 18px;
    color: black;
}

.hideme {
    display: none;
}

.idlabel {
    color: gray;
    font-size: 15px;
}

a img {
    padding-right: 3px;
    padding-left: 3px;
}

#raw-materials-grid table.items .button-column {
    width: 160px;
}

#goods-grid table.items .button-column {
    width: 120px;
}

.e404 .heading {
    font-family: 'Shermlock', cursive;
    font-size: 37px;
    color: gray;
}

.e404 .description {
    font-family: 'Shermlock', cursive;
    font-size: 21px;
    line-height: 1;
    margin-bottom: 0em;
    color: orange;
}

.e404 .error {
    font-family: 'Shermlock', cursive;
    font-size: 19px;
    line-height: 1;
    margin-bottom: 2em;
    color: red;
}

.e404 .info {
    font-family: 'Shermlock', cursive;
    font-size: 15px;
    line-height: 1;
    margin-bottom: 0em;
    color: cornflowerblue;
}

#movement_goods, 
#movement_rawmaterials {
    width: 640px;
}

#movement_products {
    width: 800px;
}

#movement_goods select, 
#movement_products select {
    width: 125px;
}

#movement_rawmaterials select {
    width: 325px;
    min-width: 325px;
}

#movement_rawmaterials td:nth-child(2) select {
    width: 125px;
    min-width: 125px;
}

#movement_goods td.goods-name {
    width: 200px;
}

#movement_products td.product-name {
    width: 200px;
}

#movement_goods input, 
#movement_products input, 
#movement_rawmaterials input {
    width: 50px;
}

#movement_goods th, 
#movement_products th, 
#movement_rawmaterials th, 
#movement_pallets th {
    color: white;
    background: var(--table-header-color);
    text-align: left;
    padding: 5px;
}

#movement_goods td:last-child, 
#movement_products td:last-child, 
#movement_rawmaterials td:last-child {
    text-align: center;
}

#rmreceivedrawmaterial th, #purchaserawmaterial th {
    color: white;
    background: var(--table-header-color);
    text-align: left;
    padding: 5px;
}

#goodsrawmaterial-multiple table th, #elementRatios table th, #manufacturingproc-multiple table th, #cleaningProcedure table th {
    color: white;
    background: var(--table-header-color);
    text-align: left;
    padding: 5px;
}

.goodsrawmaterial table tr:nth-child(odd), #elementRatios table tr:nth-child(odd) {
    background: #EBFFD6;
}

.goodsrawmaterial table tr:nth-child(even), #elementRatios table tr:nth-child(even) {
    background: lightyellow;
}

#elementRatios .numeric {
    text-align: right;
}

#goodsfields {
    width: 100%;
}

#goodsrawmaterial-multiple .goodsrawmaterial table td {
    padding: 5px;
}

#sales_products_dispatch_details th {
    color: white;
    background: var(--table-header-color);
    text-align: left;
    padding: 5px;
}

#sales_products_dispatch_details tr:nth-child(odd) {
    background: #EBFFD6;
}

#sales_products_dispatch_detailstr:nth-child(even) {
    background: #F8F8F8;
}

#goodsProductsGrid th {
    color: white;
    background: var(--table-header-color);
    text-align: center;
}

#goodsProductsGrid td a {
    text-decoration: none;
    color: #000;
}

#goodsProductsGrid td:first-child {
    background: lightgoldenrodyellow;
}

fieldset.subsection div.formgrid th, fieldset.subsection div.formgrid2 th, fieldset.subsection2 div.formgrid2 th {
    color: white;
    background: var(--table-header-color);
    text-align: left;
}

/*div.grid-view table.items td.button-column a.delete { display: none; }

div.grid-view table.items a.delete { display: none; }*/

#calculated {
    background: white;
    border: 1px solid #CCC;
    padding-left: 7px;
    padding-bottom: 7px;
}

#nutrientsTable {
    font-size: 11px;
}

table#product_dealers th {
    text-align: left;
}

table#product_salesregions th {
    text-align: left;
}

#rights #content {
    padding-top: 0px;
}

#rights #content #menu ul.actions a {
    color: #FFF;
    background-color: #80BD26;
    font-size: 12px;
    text-decoration: none;
    padding: 7px 15px 7px 15px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

#rights #content #menu ul.actions a:hover {
    color: #00F;
    background-color: green;
}

#rights #content #menu ul li {
    float: left;
    list-style: none;
    margin: 3px;
}

#rights a {
    color: darkgreen;
    text-decoration: none;
}

#rights #assignments, #rights #permissions, #rights #roles, #rights #tasks, #rights #operations {
    clear: both;
}

#rights #content #menu ul {
    padding-left: 0;
}

#rights #content #menu ul.actions li a:hover {
    color: yellow !important;
}

#rights a.add-role-link, #rights a.add-task-link, #rights a.add-operation-link, #rights a.generator-link {
    background: #f6b402;
    padding: 7px;
    color: black;
    border: 1px orange solid;
    border-radius: 7px;
}

.goodsrawmaterial .batchRmtable td, .manufacproc td {
    vertical-align: top;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

table.batchRmtable label {
    font-size: 12px;
}

table.batchRmtable th {
    background: #DDD;
}

.noborderwhitebkg {
    border: 0px;
    background: white;
}

.formgrid {
    max-width: 960px;
    width: 960px;
    min-width: 960px;
    padding: 0;
    margin: 0 !important;
}

#goods_rawmateriels-multiple table {
    width: 575px;
}

#goods_rawmateriels-multiple td {
    padding: 0px 3px 0px 3px;
}

#goods_rawmateriels-multiple input[type="text"] {
    width: auto;
}

#goods_rawmateriels-multiple select {
    max-width: 270px;
    margin-bottom: 0px;
}

#elementRatios table {
    width: 350px;
}

#batchheader-form #elementRatios table {
    width: 640px;
}

#batchheader-form #elementRatios td {
    width: 75px;
}

#batchheader-form #elementRatios td:first-child {
    width: 340px;
}

#calculated .cellhdr {
    text-align: right;
}

#calculated input[type="text"] {
    width: 50px;
    min-width: 50px;
    text-align: right;
}

#manufacturingproc-multiple table {
    width: 800px;
    background: white;
}

#manufacturingproc-multiple .manufacproc {
    border: 0px;
}

.groupBox {
    border: 1px #AAA double;
    background: #EEE;
    padding: 3px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.groupBox legend {
    font-weight: bold;
    color: black;
    background: white;
    padding-left: 3px;
    padding-right: 3px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.used4labels {
    background: rgb(181, 240, 141) !important;
}

.used4labels legend {
    background: rgb(181, 240, 141) !important;
    float: right;
    color: green;
}

.notused4labels {
    background: #EFEFEF;
    padding: 3px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

.notused4labels fieldset legend {
    float: right;
}

.toggle, .toggleAll {
    font-size: 10px;
    color: #AAA;
    cursor: pointer;
}

textArea.textfield, textArea.textfield-col2 {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px #CCC solid;
}

textArea.textfield {
    width: 800px;
    height: 60px;
}

textArea.textfield-col2 {
    width: 380px;
    height: 80px;
}

#pricing-list-form select {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px #CCC solid;
    width: 150px;
}

#nutrientsTable input[type=text] {
    width: 50px;
    min-width: 50px;
}

idInHeading {
    color: gray;
}

.sf-menu ul {
    width: unset !important;
}

input[type=checkbox].css-checkbox {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

#SalesQuotes_qt_account, #SalesQuotes_qt_contact, #accountname, #growername, #contactname {
    min-width: 100px;
    max-width: 200px;
    min-height: 10px;
    max-height: 10px;
    display: inline-block;
    padding: 5px;
}

.dgmpvalue {
    width: 35px;
}

.packSize {
    width: 70px;
}

.productName {
    width: 225px;
}

.productCode {
    width: 100px;
}

.quantityvalue {
    width: 40px;
}

.dealerpricevalue {
    width: 70px;
}

.priceperpackvalue {
    width: 70px;
}

.rowdealertotalvalue {
    width: 70px;
}

.rowtotalvalue {
    width: 70px;
}

.rowmargin-cell {
   /* background-color: #efefef !important;*/
    text-align: center;
    color: #333;
    font-weight:bold;
}

.standard-level{
    color: #4caf50;
     font-size: 12px;
    font-weight:bold;
}

.low-level{
    color: #ff0000;
     font-size: 12px;
    font-weight:bold;
}

.dealerpricevalue-org-cell {
 /*   background-color: #efefef !important;*/
    text-align: center;
    
}

.dealerpricevalue-org-cell input{
  /* background-color: #efefef !important;
    border: solid 1px #efefef !important;*/
    text-align: center;
    /*font-size: 12px;*/
    color: #333;
}

.gstexempt-cell {
    width:35px !important;    
}

.dgmp-cell{
    width:50px !important;    
}

/*th.sqp-dgmp {
    border-right: 1px solid #93d059;
}

td.sqp-dgmp {
    border-right: 1px solid #aaa;
}*/

.comment {
    min-width: 100px;
    max-width: 200px;
}

.retail_total_ex_gst-cell {
    width:70px !important;
}

/**Purchase Order create and update view file _form.php*/

.purchaseOrderDocs th, .purchaseOrder td {
    background: #ebebeb;
}

/**.purchaseOrderDocs table.detailedViewTable table tbody td { background: #f7f7f7;   }*/

.purchaseOrderDocs th.myheader {
    background: #ebebeb;
    color: #000;
    font-weight: bold;
    padding: 1px 5px 1px 5px !important;
}

.purchaseOrderDocs .filename a {
    text-decoration: none;
    color: #555;
    font-style: italic;
    font-weight: bold;
}

.purchaseOrderDocs .filename a:hover {
    color: #f00;
}

.purchaseOrderDocs .filename, .delete-icon {
    float: left;
    padding-left: 10px;
}

.purchaseOrderDocs .delete-icon {
    padding-left: 7px;
}

.purchaseOrderDocs .row.fileupload-buttonbar {
    height: 10px !important;
    margin: 3px 0px -3px !important;
}

.purchaseOrderDocs .row.fileupload-buttonbar .btn {
    padding: 0px 7px !important;
}

.purchaseOrderDocs table.detailedViewTable table {
    padding-bottom: 14px;
}

.purchaseOrderDocs table.detailedViewTable table.table-striped {
    padding-bottom: 0px;
    ;
}

.purchaseOrderDocs table.table-striped td {
    border: 0px;
}

.purchaseOrderDocs .fileimage {
    float: left;
    padding-left: 10px;
}

/*.purchaseOrderDocs table.table-striped td.name { width:200px; }

.purchaseOrderDocs table.table-striped td.preview { width:150px; }

.purchaseOrderDocs table.table-striped td.size { width:50px; }

.purchaseOrderDocs table.table-striped td.delete { width:50px; }

.purchaseOrderDocs table.table-striped td.cancel { width:70px; }*/

#batchheader-grid table th {
    background: var(--table-header-color);
    color: white;
}

ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
    left: 15em;
}

#pricing-products-grid thead th:first-child {
    width: 50px;
}

#pricing-products-grid thead th:nth-child(2) {
    width: 77px;
}

.nof, .nofusrs, .nofInv, .nofOrd, .nofQts, .nofDisp {
    color: #551CFD !important;
    padding: 4px 9px 4px 7px;
    height: 24px;
    line-height: 20px;
    width: 24px;
    display: inline;
    font-weight: bold;
}

.nof a, .nofusrs a, .nofInv a, .nofOrd a, .nofQts a, .nofDisp a{
    color: #000;
    text-decoration: none;
}

.nof {
    background: url(commentBubble.gif) no-repeat;
    background-size: 24px;
    cursor: pointer;
}

.nofusrs {
    background: url(contacts.jpg) no-repeat;
    background-size: 24px;
}

.nofOrd {
    background: url(order.png) no-repeat;
    background-size: 24px;
}

.nofInv {
    background: url(invoice.png) no-repeat;
    background-size: 24px;
}

.nofQts {
    background: url(quotes.png) no-repeat;
    background-size: 24px;
}

.nofDisp {
    background: url(dispatch.png) no-repeat;
    background-size: 24px;
}

#sales-orders-grid_c1 {
    width: 25px;
}

#sales-orders-grid_c2 {
    width: 30px;
}

#sales-orders-grid_c3 {
    min-width: 50px;
    max-width: 80px;
}

#sales-orders-grid_c4 {
    width: 65px;
}

#sales-orders-grid_c5 {
    min-width: 120px;
    max-width: 150px;
}

#sales-orders-grid_c6 {
    min-width: 35px;
    max-width: 50px;
}

#sales-orders-grid_c7 {
    width: 65px;
}

#sales-orders-grid_c8 {
    width: 65px;
}

#sales-orders-grid_c9 {
    width: 65px;
}

#sales-orders-grid_c10 {
    width: 65px;
}

#sales-orders-grid_c11 {}

#sales-orders-grid_c12 {}

th#sales-orders-grid_c23 {
    width: 100px;
}

th#stock-details-grid_c0 {
    width: 20px;
}

.selectColumn-sales-orders-grid_c13 {
    width: 80px;
}

.selectColumn-sales-invoices-grid_c11{
    width: 55px;
}

th#account-grid_c4 {
    min-width: 70px;
}

#sales-orders-grid_c14 {
    max-width: 65px;
    min-width: 65px;
    width: 65px;
}

.code {
    min-width: 30px;
    max-width: 35px;
}

.packsize, .dispqty {
    width: 30px;
}

.stock-type select {
    width: 55px;
    max-width: 55px;
}

.helptext {
    font-size: 10px;
    font-style: italic;
    vertical-align: top;
    color: #0D5AEA;
}

.helptext2 {
    font-size: 10px;
    font-style: italic;
    vertical-align: top;
    color: #dbd9d9;
}

.ico:after {
    content: '';
    display: block;
    height: 20px;
    /*height of icon */
    width: 20px;
    /*width of icon */
    position: relative;
    /*where to replace the icon */
    top: 0px;
    /*left: -20px;*/
    /*z-index: 6000;*/
    /*background */
    background: url("../../../images/comment-edit-icon.png") no-repeat 0px 0px;
}

.packededit{
    content: '';
    display: block;
    height: 20px;
    /*height of icon */
    /*width: 20px;*/
    /*width of icon */
    position: relative;
    /*where to replace the icon */
    top: 0px;
    /*left: -20px;*/
    /*z-index: 6000;*/
    /*background */
    background: url("../../../images/editpackage.png") no-repeat 0px 0px;
    background-position: right;
}

.dateedit{
    content: '';
    height: 10px;
    /*height of icon */
    width: 10px;
    /*width of icon */
    position: relative;
    /*where to replace the icon */
    top: 0px;
    /*left: -20px;*/
    /*z-index: 6000;*/
    /*background */
    background: url("../../../images/add-1-icon_small.png") no-repeat 0px 0px;
}

.pallet {
    -webkit-transition: all 0.5s; /* Safari */
    transition: all 0.5s;
    background-image: none !important;
    background-color: aliceblue;
}

.palletname {
    background-image: url(../images/palletico.png);
    background-size: 60px;
    background-repeat: no-repeat;
    padding-left: 62px;
    height: 42px !important;
    padding-top: 20px;
    background-color: #ffcc5c;
}

.palletname>.editableField {
    background: none;
}

.itemdrop {
    background-color: #bdeaff !important;
    opacity: 1 !important;
    border-radius: 8px;
    border: 2px #bab7b7 dashed;
    padding-top: 18px;
}
.palletitems > table > tbody > tr{
    cursor:move;
}
.palletitems > table > tbody > tr:hover{
    background-color: khaki;
}
.itemgrid > table > tbody > tr{
    cursor:move;
}
.itemgrid > table > tbody > tr:hover{
    background-color: khaki;
}
.palletitems > table > tbody > tr > td{
    border-bottom: white solid;
}
[title~="Pallet"] {
    cursor:pointer;
}
.itemgrid > table > tbody > tr > .remaining{
    font-weight: bold;
}

a img.eraser{
    padding: 0px !important;
    vertical-align: bottom;
    margin-left: -5px;
}

/*.so-summary-table td, .so-summary-table th {
    max-width: 35px !important;
    min-width: 35px !important;
}*/
.collapse{
    display: none;
    z-index: 9999;
    position: absolute;
    right: 0;
    background-color: #005f00;
    color: white;
    width: 36px;
    height: 23px;
    padding-top: 9px !important;
    font-family: monospace;
    text-align: center;
}
#sales-orders-grid #sales-orders-grid_c2{
    padding-right: 15px;
}
#sales-orders-grid tr>td:nth-child(3){
    color: blue;
}


.fixed{
    color: blue;
    font-size: 8px !important;
}
.not-fixed{
    color: rgb(61, 61, 61);
    font-size: 8px !important;
}
.fixed input[type="text"]{
    width: 50px;
    font-size: 8px;
}
.not-fixed input[type="text"]{
    width: 50px;
    font-size: 8px;
}
.dateedit input[type="text"]{
    width: 50px;
    font-size: 8px;
}
.duedatefixed{
    display: none;
    margin-left: -65px;
    margin-top: -10px;
    position: absolute;
}

.datelabel {
    display: none;
    margin-left: -75px;
    margin-top: 5px;
    position: absolute;
    font-size: 8px;
    color: grey;
}


/*.calculateFreight{margin-left: 500px}*/
    
.prodstaffnote{
    color: #3F51B5;
    font-style: italic;
}

.prodname, .productcode{
    color: #3F51B5;
}



/*.sortable-grid tbody.bundle-last-item td, 
.sortable-grid tbody:not(.bundled-product) td,*/

#sales_order_products tbody.bundle-last-item tr:last-child td, 
#sales_order_products tbody:not(.bundled-product) tr:last-child td,

#sales_quote_products tbody.bundle-last-item tr:last-child td, 
#sales_quote_products tbody:not(.bundled-product) tr:last-child td
{
    border-bottom: 1px solid #333;
}

.sortable-grid .ui-state-highlight,
#sales_quote_products .ui-state-highlight {
    height: 36px;
    background-color: #fdfd02;
    border: 1px solid #ffe18d;
    width: 100%;
}

.sortable-grid .ui-state-helper,
.sortable-grid .ui-state-helper td,
#sales_quote_products .ui-state-helper {
    background-color: yellow;
    border: 1px solid orange;
}

.sortable-grid .ui-state-disabled,
#sales_quote_products .ui-state-disabled {
    opacity: .99;
    filter: Alpha(Opacity=99);
    cursor: not-allowed !important;
}

.sortable-grid .ui-state-helper td,        
#sales_quote_products .ui-state-helper td{        
    background-color: #FDFDC7 !important;
}

.sortable-grid .productcode:hover,
#sales_quote_products .productcode:hover, #sales_quote_products .prodname:hover {
    cursor: move; 
}

.sortable-grid tbody.active,
#sales_quote_products tbody.active{
    border: 1px red solid;
}

.sortable-grid tbody.active td,
#sales_quote_products tbody.active td{
    /**background-color: pink !important;*/
    background-color: rgba(255, 192, 200, 0.60) !important;
    cursor: move;
}


#sales_order_products-grid .other-options .button-group, 
#sales_quote_products-grid .other-options .button-group {
    float: right;
}


#sales_order_products-grid .status-column { 
    width: 30px !important;
    max-width: 30px !important;
    text-align: center;
}


#mySqCommentBox .reload-user-comm, 
#user-comm-table .reload-user-comm{ 
    color: orange; 
    cursor: pointer; 
}   

#mySqCommentBox .posted-msg, 
#user-comm-table .posted-msg { 
    color: black; 
    font-style: italic;
}

#mySqCommentBox .posted-by,
#user-comm-table .posted-by { 
    color: #0c0b0b;
    border-radius: 5px;
    background-color: lightgray;
    padding: 5px;
}

#mySqCommentBox .posted-on,
#user-comm-table .posted-on { 
    color: rgb(46, 45, 45); 
}

#mySqCommentBox .posted-by, 
#mySqCommentBox .posted-on {
    font-size: 10px;
    line-height: 1em;
}

#mySqCommentBox .mth12, 
#mySqCommentBox .mth12-label {
    display: none
} 

#mySqCommentBox {
    padding: 0;
    line-height: 1em;
}

#mySqCommentBox .mth12-splabel{
    font-size: 11px;
    text-transform: uppercase;
    color: #ccc;
    font-weight: bold;
}

#mySqCommentBox .posted-msg { 
    font-style: normal;
    font-size: 12px;
    line-height: 20px;
}

.grid-view .nof {
    background: url(commentBubble.gif) no-repeat;
    background-size: 105% 24px;
    /*display: block;*/
    width:15px;
    /*margin-left: -40px;
    margin-top: 20px*/
}

.grid-view .action-1-icon-column { min-width:45px; width:45px; max-width:45px; } 
.grid-view .action-2-icon-column { min-width:65px; width:65px; max-width:65px; } 
.grid-view .id-column { min-width:35px; width:35px; max-width:35px; }
.grid-view .code-column { min-width:50px; width:50px; max-width:50px; }
.grid-view .long-text-column {}

#sess-msg-box, 
#sess-login-box { 
    position: fixed;
    width: 324px;
    left: calc( 50% - 207px );
    right: calc( 50% - 207px );
    top: calc( 50% - 50px );
    bottom: calc( 50% - 50px );
    background: #ffc0c0;
    display: inline-block;
    height: 48px;
    border: 2px solid #9d1010;
    margin: 0 auto;
    color: #000;
    text-align: center;
    vertical-align: middle;
    border-radius: 5px;
    padding: 50px 5px;
}

#sess-msg-box .sess-close-btn, 
#sess-login-box .sess-close-btn { 
    position: absolute;
    right: 3px;
    top: 3px;
    color: #9d1010;
    cursor: pointer;
}

#sess-msg-box .sess-exp-msg, 
#sess-login-box .sess-exp-msg {
    color: #9d1010;
    font-weight: bold;
}

#sess-login-box { 
    background: #f9b2be;
    border: 2px solid #9d1010;
    color: #9d1010;
    z-index: 99999;
}

#sess-login-box .sess-close-btn {
    color: #9d1010;
}

#sess-login-box .sess-exp-msg {
    color: #9d1010;
}

#credpass {
    font-family: 'Password';
    -moz-text-security: disc;
    -webkit-text-security: disc;
}

#credmsg {
    color: black;
}

#credmsg.error {
    color: #9d1010;
    font-weight: bold;
}