
/* Start Theme ------------------ */ 
:root {
    --primaryCustom: #71c05c;
}
/* $primaryColor: var(--primary);*/
.btn-primary {background: var(--primaryCustom) !important;} 
.btn-primary:focus {box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%), 0 0 0 2px rgb(211 239 204);}

input[type="checkbox"]:checked {background-color: var(--primaryCustom);
    background-image: url("data:image/svg+xml, <svg viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 4.00001L2.66667 5.80001L7 1.20001' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>"), linear-gradient(180deg, #71C05C -124.51%, #71C05C 100%);}
/* End Theme ------------------ */ 


/* Start Hide ------------------ */
.footer-powered{display: none!important;} /* Hide Powered Footer */

li.dropdown.dropdown.dropdown-help.dropdown-mobile {display: none!important;} /* Hide Help Button */

div[item-name="ERPNext Settings"] {display: none;} /* Hide ERPNext Settings */

div[item-name="Buying"] {display: none;} /* Hide Buying */

 /* .page-head .menu-btn-group {display: none;} */ /* Hide 3 dot Button */
[data-route="query-report/Stock Inventory"] .page-head .menu-btn-group {display: block;} /* Show 3 dot Button in Stock Inventory */

.page-head button[data-label="Customize"] {display: none;} /* Hide Customize button */
button[data-label="Status"] {display: none;}

/* .layout-main-section .filter-selector {display: none;} Hide Filter Button in list view */
/* End Hide ------------------ */


/* Table CSS ------------------ */
 .frappe-control[data-fieldtype="Table"] .grid-heading-row .grid-row .grid-static-col,
 .frappe-control[data-fieldtype="Table"] .grid-heading-row .grid-row .row-index,
 .frappe-control[data-fieldtype="Table"] .grid-body .grid-row .grid-static-col,
 .frappe-control[data-fieldtype="Table"] .grid-body .grid-row .row-index {height: auto;}

 .frappe-control[data-fieldtype="Table"] .grid-heading-row .grid-row .static-area.ellipsis,
 .frappe-control[data-fieldtype="Table"] .grid-body .grid-row .static-area.ellipsis {white-space: normal;}
/* End Table CSS -------------- */


/* List View Table CSS ------------------ */
 .layout-main-section-wrapper .frappe-list .list-row-col .ellipsis {white-space: normal; line-height: normal;}
.layout-main-section-wrapper .frappe-list .list-row-col span.ellipsis {height: auto;}
.layout-main-section-wrapper .frappe-list .list-row, 
.layout-main-section-wrapper .frappe-list .list-row-head {height: auto; padding: 5px 5px 5px 0;}

/* Like Button Hide-- */
.frappe-list input.list-check-all {margin-right: 22px !important;}
.frappe-list .list-row-like, .list-liked-by-me {display: none;}
/* .text-extra-muted .comment-count {display: none;} */
/* End List View Table CSS ------------------ */

/* Side menu icon ------------ */
.list-sidebar .sidebar-item-label {white-space: normal !important; line-height: normal;}
.list-sidebar .icon.icon-md {stroke: none;}
/* End Side menu icon-------------- */

/* Input Link Button Hide -- */
.awesomplete + .link-btn {display: none !important;}
/* Input Link Button Hide ------------- */

/* Start Print Page  ----------- */
.layout-side-section.print-preview-sidebar {display: none !important;} /* unnecessary sidebar Hide */

/* .no-breadcrumbs[data-route^="print/"] .custom-actions .btn {display: none;} Actions Button Hide */
/* End Print Page ------------- */


/* Start Add Multiple -------- */
.grid-buttons .grid-add-multiple-rows.btn {display: none !important;}
/* End Add Multiple --------- */

/* Start Hide List-view Sidebar -------- */
.no-breadcrumbs[data-route^="List/"] .col-lg-2.layout-side-section {display: none !important;}
/* End Hide List-view Sidebar -------- */

/* Hide child table last column and Gear icon */
.form-grid .grid-heading-row .col.grid-static-col:last-child {display: none !important;}
.form-grid .grid-body .data-row.row .col:last-child {display: none !important;}
.form-grid .grid-body .data-row.row, .form-grid .grid-heading-row .data-row.row {justify-content: space-between;}

/* Scrollbar size change */
.dt-scrollable {scrollbar-width: auto !important;}
.dt-scrollable::-webkit-scrollbar {width: 20px; height: 20px;}
